git.iko.soy/typeable/nixpkgs
on master help sign in
cups-toshiba-estudio: init at 7.51 (#24676)
commit09b1414acd7af2775414cbddd183db7b25697841 authorJean Potier <jpotier@users.noreply.github.com> dateThu 6 Apr 2017, 16:00 (10 years ago) parentbd94839
3 files changed+57
lib/maintainers.nix+1 pkgs/misc/cups/drivers/estudio/default.nix+54 pkgs/top-level/all-packages.nix+2
lib/maintainers.nix+1
@@ -243,6 +243,7 @@
243243 jonafato = "Jon Banafato <jon@jonafato.com>";
244244 jpbernardy = "Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>";
245245 jpierre03 = "Jean-Pierre PRUNARET <nix@prunetwork.fr>";
246+ jpotier = "Martin Potier <jpo.contributes.to.nixos@marvid.fr>";
246247 jraygauthier = "Raymond Gauthier <jraygauthier@gmail.com>";
247248 juliendehos = "Julien Dehos <dehos@lisic.univ-littoral.fr>";
248249 jwiegley = "John Wiegley <johnw@newartisans.com>";
pkgs/misc/cups/drivers/estudio/default.nixnew file+54
@@ -0,0 +1,54 @@
1+{ stdenv, fetchurl, perl }:
2+
3+stdenv.mkDerivation {
4+ name = "cups-toshiba-estudio";
5+ version = "7.51";
6+
7+ src = fetchurl {
8+ url = http://business.toshiba.com/downloads/KB/f1Ulds/14079/TOSHIBA_ColorMFP_CUPS.tar;
9+ sha256 = "3741bb79723495da5cb5a3971ae8c6042b6c71a6264af8f25aecf721f1f0752f";
10+ };
11+
12+ buildInputs = [ perl ];
13+
14+ phases = [ "unpackPhase"
15+ "patchPhase"
16+ "installPhase" ];
17+
18+ patchPhase = ''
19+ patchShebangs lib/
20+ gunzip share/cups/model/Toshiba/TOSHIBA_ColorMFP_CUPS.gz
21+ sed -i "s+/usr+$out+" share/cups/model/Toshiba/TOSHIBA_ColorMFP_CUPS
22+ gzip share/cups/model/Toshiba/TOSHIBA_ColorMFP_CUPS
23+ '';
24+
25+ installPhase = ''
26+ mkdir -p $out/lib/cups/filter
27+ mkdir -p $out/share/cups/model/Toshiba
28+ cp {.,$out}/lib/cups/filter/est6550_Authentication
29+ chmod 755 $out/lib/cups/filter/est6550_Authentication
30+ cp {.,$out}/share/cups/model/Toshiba/TOSHIBA_ColorMFP_CUPS.gz
31+ chmod 755 $out/share/cups/model/Toshiba/TOSHIBA_ColorMFP_CUPS.gz
32+ '';
33+
34+ meta = with stdenv.lib; {
35+ description = "Printer only driver for the Toshiba e-STUDIO class of printers";
36+ longDescription = ''
37+ This driver supports the following printers: TOSHIBA e-STUDIO2000AC,
38+ TOSHIBA e-STUDIO2005AC, TOSHIBA e-STUDIO2040C, TOSHIBA e-STUDIO2050C,
39+ TOSHIBA e-STUDIO2055C, TOSHIBA e-STUDIO2500AC, TOSHIBA e-STUDIO2505AC,
40+ TOSHIBA e-STUDIO2540C, TOSHIBA e-STUDIO2550C, TOSHIBA e-STUDIO2555C,
41+ TOSHIBA e-STUDIO287CS, TOSHIBA e-STUDIO3005AC, TOSHIBA e-STUDIO3040C,
42+ TOSHIBA e-STUDIO3055C, TOSHIBA e-STUDIO347CS, TOSHIBA e-STUDIO3505AC,
43+ TOSHIBA e-STUDIO3540C, TOSHIBA e-STUDIO3555C, TOSHIBA e-STUDIO407CS,
44+ TOSHIBA e-STUDIO4505AC, TOSHIBA e-STUDIO4540C, TOSHIBA e-STUDIO4555C,
45+ TOSHIBA e-STUDIO5005AC, TOSHIBA e-STUDIO5055C, TOSHIBA e-STUDIO5506AC,
46+ TOSHIBA e-STUDIO5540C, TOSHIBA e-STUDIO5560C, TOSHIBA e-STUDIO6506AC,
47+ TOSHIBA e-STUDIO6540C, TOSHIBA e-STUDIO6550C, TOSHIBA e-STUDIO6560C,
48+ TOSHIBA e-STUDIO6570C and TOSHIBA e-STUDIO7506AC.
49+ '';
50+ homepage = https://www.toshiba-business.com.au/support/drivers;
51+ license = licenses.unfree;
52+ maintainers = [ maintainers.jpotier ];
53+ };
54+}
pkgs/top-level/all-packages.nix+2
@@ -17768,6 +17768,8 @@ with pkgs;
1776817768
1776917769 cups-dymo = callPackage ../misc/cups/drivers/dymo {};
1777017770
17771+ cups-toshiba-estudio = callPackage ../misc/cups/drivers/estudio {};
17772+
1777117773 crashplan = callPackage ../applications/backup/crashplan { };
1777217774
1777317775 colort = callPackage ../applications/misc/colort { };