1 { lib, stdenv, fetchurl, cups }:
3 let version = "1.7.20";
4 in stdenv.mkDerivation {
9 # To find new versions, visit
10 # http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX and search for
11 # some printer like for instance "WF-7110" to get to the most recent
13 # NOTE: Don't forget to update the webarchive link too!
15 "https://download3.ebz.epson.net/dsc/f/03/00/13/76/45/5ac2ea8f9cf94a48abd64afd0f967f98c4fc24aa/epson-inkjet-printer-escpr-${version}-1lsb3.2.tar.gz"
17 "https://web.archive.org/web/https://download3.ebz.epson.net/dsc/f/03/00/13/76/45/5ac2ea8f9cf94a48abd64afd0f967f98c4fc24aa/epson-inkjet-printer-escpr-${version}-1lsb3.2.tar.gz"
19 sha256 = "sha256:09rscpm557dgaflylr93wcwmyn6fnvr8nc77abwnq97r6hxwrkhk";
22 patches = [ ./cups-filter-ppd-dirs.patch ];
24 buildInputs = [ cups ];
27 homepage = "http://download.ebz.epson.net/dsc/search/01/search/";
28 description = "ESC/P-R Driver (generic driver)";
30 Epson Inkjet Printer Driver (ESC/P-R) for Linux and the
31 corresponding PPD files. The list of supported printers
32 can be found at http://www.openprinting.org/driver/epson-escpr/ .
34 To use the driver adjust your configuration.nix file:
37 drivers = [ pkgs.epson-escpr ];
40 To setup a wireless printer, enable Avahi which provides
41 printer's hostname to CUPS and nss-mdns to make this
47 license = licenses.gpl3Plus;
48 maintainers = with maintainers; [ artuuge ];
49 platforms = platforms.linux;