nixpkgs/pkgs/misc/drivers/epson-escpr/default.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

2016-02-08 14:21:39 +01:00
{ stdenv, fetchurl, cups }:
let
2016-03-02 14:49:23 +01:00
version = "1.6.4";
2016-02-08 14:21:39 +01:00
in
stdenv.mkDerivation {
name = "epson-escpr-${version}";
src = fetchurl {
2016-03-02 14:49:23 +01: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 14:21:39 +01:00
};
patches = [ ./cups-filter-ppd-dirs.patch ];
buildInputs = [ cups ];
2016-03-03 14:59:40 +01:00
meta = with stdenv.lib; {
2016-02-08 14:21:39 +01: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 14:59:40 +01:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ artuuge ];
platforms = platforms.linux;
2016-02-08 14:21:39 +01:00
};
}