1 { lib, stdenv, fetchurl, perl }:
4 pname = "cups-toshiba-estudio";
8 url = "http://business.toshiba.com/downloads/KB/f1Ulds/15178/TOSHIBA_ColorMFP_CUPS.tar";
9 sha256 = "0qz4r7q55i0adf4fv3aqnfqgi2pz3jb1jixkqm9x6nk4vanyjf4r";
12 buildInputs = [ perl ];
16 gunzip share/cups/model/Toshiba/TOSHIBA_ColorMFP_CUPS.gz
17 sed -i "s+/usr+$out+" share/cups/model/Toshiba/TOSHIBA_ColorMFP_CUPS
18 gzip share/cups/model/Toshiba/TOSHIBA_ColorMFP_CUPS
22 mkdir -p $out/lib/cups/filter
23 mkdir -p $out/share/cups/model/Toshiba
24 cp {.,$out}/lib/cups/filter/est6550_Authentication
25 chmod 755 $out/lib/cups/filter/est6550_Authentication
26 cp {.,$out}/share/cups/model/Toshiba/TOSHIBA_ColorMFP_CUPS.gz
27 chmod 755 $out/share/cups/model/Toshiba/TOSHIBA_ColorMFP_CUPS.gz
31 description = "Printer only driver for the Toshiba e-STUDIO class of printers";
33 This driver supports the following printers: TOSHIBA e-STUDIO2000AC,
34 TOSHIBA e-STUDIO2005AC, TOSHIBA e-STUDIO2040C, TOSHIBA e-STUDIO2050C,
35 TOSHIBA e-STUDIO2055C, TOSHIBA e-STUDIO2500AC, TOSHIBA e-STUDIO2505AC,
36 TOSHIBA e-STUDIO2540C, TOSHIBA e-STUDIO2550C, TOSHIBA e-STUDIO2555C,
37 TOSHIBA e-STUDIO287CS, TOSHIBA e-STUDIO3005AC, TOSHIBA e-STUDIO3040C,
38 TOSHIBA e-STUDIO3055C, TOSHIBA e-STUDIO347CS, TOSHIBA e-STUDIO3505AC,
39 TOSHIBA e-STUDIO3540C, TOSHIBA e-STUDIO3555C, TOSHIBA e-STUDIO407CS,
40 TOSHIBA e-STUDIO4505AC, TOSHIBA e-STUDIO4540C, TOSHIBA e-STUDIO4555C,
41 TOSHIBA e-STUDIO5005AC, TOSHIBA e-STUDIO5055C, TOSHIBA e-STUDIO5506AC,
42 TOSHIBA e-STUDIO5540C, TOSHIBA e-STUDIO5560C, TOSHIBA e-STUDIO6506AC,
43 TOSHIBA e-STUDIO6540C, TOSHIBA e-STUDIO6550C, TOSHIBA e-STUDIO6560C,
44 TOSHIBA e-STUDIO6570C and TOSHIBA e-STUDIO7506AC.
46 homepage = "https://business.toshiba.com/support/downloads/index.html";
47 license = licenses.unfree;
48 maintainers = [ maintainers.jpotier ];