From 6b0a1dfd4ce13e4f336fec0e7488986fc080edb5 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 27 Jun 2021 20:02:31 +0200 Subject: [PATCH] epson-escpr2: 1.1.25 -> 1.1.34 --- pkgs/misc/drivers/epson-escpr2/default.nix | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/pkgs/misc/drivers/epson-escpr2/default.nix b/pkgs/misc/drivers/epson-escpr2/default.nix index 04cf6c3d96c2..130be517bb84 100644 --- a/pkgs/misc/drivers/epson-escpr2/default.nix +++ b/pkgs/misc/drivers/epson-escpr2/default.nix @@ -1,8 +1,8 @@ -{ lib, stdenv, fetchurl, cups, busybox }: +{ lib, stdenv, fetchurl, cups }: stdenv.mkDerivation rec { pname = "epson-inkjet-printer-escpr2"; - version = "1.1.25"; + version = "1.1.34"; src = fetchurl { # To find new versions, visit @@ -11,22 +11,15 @@ stdenv.mkDerivation rec { # version. # NOTE: Don't forget to update the webarchive link too! urls = [ - "https://download3.ebz.epson.net/dsc/f/03/00/12/46/43/e233a3fefeb49723ba4b0a2f357527e3b45bf53a/epson-inkjet-printer-escpr2-1.1.25-1lsb3.2.src.rpm" - "https://web.archive.org/web/20210212220538if_/https://download3.ebz.epson.net/dsc/f/03/00/12/46/43/e233a3fefeb49723ba4b0a2f357527e3b45bf53a/epson-inkjet-printer-escpr2-1.1.25-1lsb3.2.src.rpm" + "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" ]; - sha256 = "sha256-8hgafO/1qOTVdfAdx7FpOOSLqfTl0sBFunuN/2q7KHw="; + sha256 = "sha256-sHBGWbkZ+zolHehyXQR8U2AyKSrgDSPmrkrcfcx/bAs="; }; patches = [ ./cups-filter-ppd-dirs.patch ]; - buildInputs = [ cups busybox ]; - - unpackPhase = '' - rpm2cpio $src | cpio -idmv - - tar xvf ${pname}-${version}-1lsb3.2.tar.gz - cd ${pname}-${version} - ''; + buildInputs = [ cups ]; meta = with lib; { homepage = "http://download.ebz.epson.net/dsc/search/01/search/";