2021-06-28 23:13:55 +00:00
|
|
|
{ lib, stdenv, fetchurl, cups }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "epson-inkjet-printer-escpr2";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.1.34";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
# To find new versions, visit
|
|
|
|
# http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX and search for
|
|
|
|
# some printer like for instance "WF-7210" to get to the most recent
|
2021-02-05 17:12:51 +00:00
|
|
|
# version.
|
2020-04-24 23:36:52 +00:00
|
|
|
# NOTE: Don't forget to update the webarchive link too!
|
2020-07-18 16:06:22 +00:00
|
|
|
urls = [
|
2021-06-28 23:13:55 +00:00
|
|
|
"https://download3.ebz.epson.net/dsc/f/03/00/12/85/48/fd5de1ecd7270b0398399355e265c99dfd1dbafb/epson-inkjet-printer-escpr2-1.1.34.tar.gz"
|
|
|
|
"https://web.archive.org/web/20210627160654/https://download3.ebz.epson.net/dsc/f/03/00/12/85/48/fd5de1ecd7270b0398399355e265c99dfd1dbafb/epson-inkjet-printer-escpr2-1.1.34.tar.gz"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "sha256-sHBGWbkZ+zolHehyXQR8U2AyKSrgDSPmrkrcfcx/bAs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./cups-filter-ppd-dirs.patch ];
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
buildInputs = [ cups ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://download.ebz.epson.net/dsc/search/01/search/";
|
|
|
|
description = "ESC/P-R 2 Driver (generic driver)";
|
|
|
|
longDescription = ''
|
|
|
|
Epson Inkjet Printer Driver 2 (ESC/P-R 2) for Linux and the
|
|
|
|
corresponding PPD files.
|
|
|
|
|
|
|
|
Refer to the description of epson-escpr for usage.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl2;
|
2020-05-03 17:38:23 +00:00
|
|
|
maintainers = with maintainers; [ ma9e ma27 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|