Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: epson-escpr2 0 -> 1 attrpath: epson-escpr2 Checking auto update branch... No auto update branch exists Old version 0" not present in master derivation file with contents: { lib, stdenv, fetchurl, autoreconfHook, cups, }: stdenv.mkDerivation { pname = "epson-inkjet-printer-escpr2"; version = "1.2.42"; src = fetchurl { # To find the most recent version go to # https://support.epson.net/linux/Printer/LSB_distribution_pages/en/escpr2.php # and retrieve the download link for source package for arm CPU for the tar.gz (the x86 link targets to rpm source files) # or check https://download-center.epson.com/api/v1/modules/?device_id=XP-970%20Series&os=DEBARM32®ion=US&language=en curlOpts = "--user-agent ''"; url = "https://download-center.epson.com/f/module/4d70b84a-1686-4134-8ce0-4ac8a838f31c/epson-inkjet-printer-escpr2-1.2.42-1.tar.gz"; hash = "sha256-/gj4K6VPouXwS6p0Bc7dgF/j9Vl6YRVqH8pym1E/Tf4="; }; buildInputs = [ cups ]; nativeBuildInputs = [ autoreconfHook ]; patches = [ # Fixes "implicit declaration of function" errors # source of patch: https://aur.archlinux.org/packages/epson-inkjet-printer-escpr2 (fetchurl { url = "https://aur.archlinux.org/cgit/aur.git/plain/bug_x86_64.patch?h=epson-inkjet-printer-escpr2&id=8fbca325d6d39fa3ffe001f90a432380bdeacc2f"; sha256 = "sha256-V8ejK33qyHPX4x8EOgR+XWW44KR8DQwHx2w+O71gQwo="; }) ]; configureFlags = [ "--with-cupsfilterdir=${placeholder "out"}/lib/cups/filter" "--with-cupsppddir=${placeholder "out"}/share/cups/model" ]; meta = { 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 = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ ma9e ma27 ]; platforms = lib.platforms.linux; }; }