cups-kyocera-ecosys-m552x-p502x: init at 8.1602

This commit is contained in:
Marius Bergmann 2021-06-11 11:25:33 +02:00
parent fbfb79400a
commit 838ff97b19
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv
, lib
, fetchzip
# can either be "EU" or "Global"; it's unclear what the difference is
, region ? "Global"
}:
stdenv.mkDerivation rec {
pname = "cups-kyocera-ecosys-m552x-p502x";
version = "8.1602";
src = fetchzip {
url = "https://www.kyoceradocumentsolutions.de/content/download-center/de/drivers/all/Linux_8_1602_ECOSYS_M5521_5526_P5021_5026_zip.download.zip";
sha256 = "sha256-XDH5deZmWNghfoO7JaYYvnVq++mbQ8RwLY57L2CKYaY=";
};
installPhase = ''
mkdir -p $out/share/cups/model/Kyocera
cp ${region}/English/*.PPD $out/share/cups/model/Kyocera/
'';
meta = with lib; {
description = "PPD files for Kyocera ECOSYS M5521cdn/M5521cdw/M5526cdn/M5526cdw/P5021cdn/P5021cdw/P5026cdn/P5026cdw";
homepage = "https://www.kyoceradocumentsolutions.com";
license = licenses.unfree;
maintainers = [ maintainers.mbrgm ];
platforms = platforms.linux;
};
}

View file

@ -30298,6 +30298,8 @@ in
cups-kyocera = callPackage ../misc/cups/drivers/kyocera {};
cups-kyocera-ecosys-m552x-p502x = callPackage ../misc/cups/drivers/kyocera-ecosys-m552x-p502x {};
cups-kyodialog3 = callPackage ../misc/cups/drivers/kyodialog3 {};
cups-dymo = callPackage ../misc/cups/drivers/dymo {};