epson-escpr: 1.6.12 -> 1.6.16

This commit is contained in:
Nikolay Amiantov 2017-10-13 23:14:36 +03:00
parent 3e93e3d245
commit d5492433af

View File

@ -1,46 +1,41 @@
{ stdenv, fetchurl, cups }: { stdenv, fetchurl, cups }:
let stdenv.mkDerivation rec {
version = "1.6.12"; name = "epson-escpr-${version}";
in version = "1.6.16";
stdenv.mkDerivation {
name = "epson-escpr-${version}"; src = fetchurl {
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";
src = fetchurl { sha256 = "0v9mcih3dg3ws18hdcgm014k97hv6imga39hy2a84gnc6badp6n6";
};
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"; patches = [ ./cups-filter-ppd-dirs.patch ];
sha256 = "3773e74a0c4debf202eb9ad0aa31c6614a93d6170484ff660c14e99f8698cfda";
};
patches = [ ./cups-filter-ppd-dirs.patch ]; buildInputs = [ cups ];
buildInputs = [ cups ]; meta = with stdenv.lib; {
homepage = "http://download.ebz.epson.net/dsc/search/01/search/";
description = "ESC/P-R Driver (generic driver)";
longDescription = ''
Epson Inkjet Printer Driver (ESC/P-R) for Linux and the
corresponding PPD files. The list of supported printers
can be found at http://www.openprinting.org/driver/epson-escpr/ .
meta = with stdenv.lib; { To use the driver adjust your configuration.nix file:
homepage = http://download.ebz.epson.net/dsc/search/01/search/; services.printing = {
description = "ESC/P-R Driver (generic driver)"; enable = true;
longDescription = '' drivers = [ pkgs.epson-escpr ];
Epson Inkjet Printer Driver (ESC/P-R) for Linux and the };
corresponding PPD files. The list of supported printers
can be found at http://www.openprinting.org/driver/epson-escpr/ .
To use the driver adjust your configuration.nix file: To setup a wireless printer, enable Avahi which provides
services.printing = { printer's hostname to CUPS and nss-mdns to make this
enable = true; hostname resolvable:
drivers = [ pkgs.epson-escpr ]; services.avahi = {
}; enable = true;
nssmdns = true;
To setup a wireless printer, enable Avahi which provides };'';
printer's hostname to CUPS and nss-mdns to make this license = licenses.gpl3Plus;
hostname resolvable: maintainers = with maintainers; [ artuuge ];
services.avahi = { platforms = platforms.linux;
enable = true; };
nssmdns = true; }
};'';
license = licenses.gpl3Plus;
maintainers = with maintainers; [ artuuge ];
platforms = platforms.linux;
};
}