@@ -1,46 +1,41 @@
11{ stdenv, fetchurl, cups }:
22
3−let
4− version = "1.6.12";
5−in
6− stdenv.mkDerivation {
7−
8− name = "epson-escpr-${version}";
9−
10− src = fetchurl {
11−
12− url = "https://download3.ebz.epson.net/dsc/f/03/00/05/46/21/01534966894f35247dac8c8ef0a0a9c94d1c8b40/epson-inkjet-printer-escpr-1.6.12-1lsb3.2.tar.gz";
13− sha256 = "3773e74a0c4debf202eb9ad0aa31c6614a93d6170484ff660c14e99f8698cfda";
14− };
15−
16− patches = [ ./cups-filter-ppd-dirs.patch ];
17−
18− buildInputs = [ cups ];
19−
20− meta = with stdenv.lib; {
21− homepage = http://download.ebz.epson.net/dsc/search/01/search/;
22− description = "ESC/P-R Driver (generic driver)";
23− longDescription = ''
24− Epson Inkjet Printer Driver (ESC/P-R) for Linux and the
25− corresponding PPD files. The list of supported printers
26− can be found at http://www.openprinting.org/driver/epson-escpr/ .
27−
28− To use the driver adjust your configuration.nix file:
29− services.printing = {
30− enable = true;
31− drivers = [ pkgs.epson-escpr ];
32− };
33−
34− To setup a wireless printer, enable Avahi which provides
35− printer's hostname to CUPS and nss-mdns to make this
36− hostname resolvable:
37− services.avahi = {
38− enable = true;
39− nssmdns = true;
40− };'';
41− license = licenses.gpl3Plus;
42− maintainers = with maintainers; [ artuuge ];
43− platforms = platforms.linux;
44− };
45−
46− }
3+stdenv.mkDerivation rec {
4+ name = "epson-escpr-${version}";
5+ version = "1.6.16";
6+
7+ src = fetchurl {
8+ url = "https://download3.ebz.epson.net/dsc/f/03/00/06/41/54/29588ed107f800e5bc3f91706661567efb369c1c/epson-inkjet-printer-escpr-1.6.16-1lsb3.2.tar.gz";
9+ sha256 = "0v9mcih3dg3ws18hdcgm014k97hv6imga39hy2a84gnc6badp6n6";
10+ };
11+
12+ patches = [ ./cups-filter-ppd-dirs.patch ];
13+
14+ buildInputs = [ cups ];
15+
16+ meta = with stdenv.lib; {
17+ homepage = "http://download.ebz.epson.net/dsc/search/01/search/";
18+ description = "ESC/P-R Driver (generic driver)";
19+ longDescription = ''
20+ Epson Inkjet Printer Driver (ESC/P-R) for Linux and the
21+ corresponding PPD files. The list of supported printers
22+ can be found at http://www.openprinting.org/driver/epson-escpr/ .
23+
24+ To use the driver adjust your configuration.nix file:
25+ services.printing = {
26+ enable = true;
27+ drivers = [ pkgs.epson-escpr ];
28+ };
29+
30+ To setup a wireless printer, enable Avahi which provides
31+ printer's hostname to CUPS and nss-mdns to make this
32+ hostname resolvable:
33+ services.avahi = {
34+ enable = true;
35+ nssmdns = true;
36+ };'';
37+ license = licenses.gpl3Plus;
38+ maintainers = with maintainers; [ artuuge ];
39+ platforms = platforms.linux;
40+ };
41+}