diff options
author | Vi Po <pi@homedir.eu> | 2017-02-26 23:52:21 +0200 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2017-03-06 08:31:36 -0500 |
commit | 133245f961d7c8f216d1448eae868d889a574131 (patch) | |
tree | 882933ba083d929fe3926d099339c30ab124255b /pkgs/misc | |
parent | d8ee4ea69985fcc7c6c4ca132b3422cff6e1f133 (diff) |
epson-escpr: 1.6.8 -> 1.6.12
Improve documentation
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/drivers/epson-escpr/default.nix | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/pkgs/misc/drivers/epson-escpr/default.nix b/pkgs/misc/drivers/epson-escpr/default.nix index 3f86d4e725df..0ed6f5dfe190 100644 --- a/pkgs/misc/drivers/epson-escpr/default.nix +++ b/pkgs/misc/drivers/epson-escpr/default.nix @@ -1,15 +1,16 @@ { stdenv, fetchurl, cups }: let - version = "1.6.8"; + version = "1.6.12"; in stdenv.mkDerivation { name = "epson-escpr-${version}"; src = fetchurl { - url = "https://download3.ebz.epson.net/dsc/f/03/00/05/10/61/125006df4ffc84861395c1158a02f1f73e6f1753/epson-inkjet-printer-escpr-1.6.8-1lsb3.2.tar.gz"; - sha256 = "02v8ljzw6xhfkz1x8m50mblcckgfbpa89fc902wcmi2sy8fihgh4"; + + 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"; + sha256 = "3773e74a0c4debf202eb9ad0aa31c6614a93d6170484ff660c14e99f8698cfda"; }; patches = [ ./cups-filter-ppd-dirs.patch ]; @@ -29,7 +30,14 @@ in enable = true; drivers = [ pkgs.epson-escpr ]; }; - ''; + + To setup a wireless printer, enable Avahi which provides + printer's hostname to CUPS and nss-mdns to make this + hostname resolvable: + services.avahi = { + enable = true; + nssmdns = true; + };''; license = licenses.gpl3Plus; maintainers = with maintainers; [ artuuge ]; platforms = platforms.linux; |