2016-02-08 13:21:39 +00:00
|
|
|
{ stdenv, fetchurl, cups }:
|
|
|
|
|
|
|
|
let
|
2016-03-02 13:49:23 +00:00
|
|
|
version = "1.6.4";
|
2016-02-08 13:21:39 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
|
|
|
name = "epson-escpr-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-03-02 13:49:23 +00:00
|
|
|
url = "https://download3.ebz.epson.net/dsc/f/03/00/04/37/97/88177bc0dc7025905eae4a0da1e841408f82e33c/epson-inkjet-printer-escpr-1.6.4-1lsb3.2.tar.gz";
|
|
|
|
sha256 = "76c66461a30be82b9cc37d663147a72f488fe060ef54578120602bb87a3f7754";
|
2016-02-08 13:21:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./cups-filter-ppd-dirs.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ cups ];
|
|
|
|
|
2016-03-03 13:59:40 +00:00
|
|
|
meta = with stdenv.lib; {
|
2016-02-08 13:21:39 +00:00
|
|
|
homepage = https://github.com/artuuge/NixOS-files/;
|
|
|
|
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/ .
|
|
|
|
|
|
|
|
To use the driver adjust your configuration.nix file:
|
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
|
|
|
drivers = [ pkgs.epson-escpr ];
|
|
|
|
};
|
|
|
|
'';
|
2016-03-03 13:59:40 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ artuuge ];
|
|
|
|
platforms = platforms.linux;
|
2016-02-08 13:21:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|