4 # can either be "EU" or "Global"; it's unclear what the difference is
6 # can be either "English", "French", "German", "Italian", "Portguese" or "Spanish"
10 stdenv.mkDerivation rec {
11 pname = "cups-kyocera-ecosys-m2x35-40-p2x35-40dnw";
15 urlVersion = builtins.replaceStrings [ "." ] [ "_" ] version;
17 url = "https://www.kyoceradocumentsolutions.de/content/download-center/de/drivers/all/Linux_${urlVersion}_ECOSYS_M2x35_40_P2x35_40dnw_zip.download.zip";
18 sha256 = "10crxdfj62ini70vv471445zi6q0l9fmg2jsd74sp6fr0qa0kvr7";
22 mkdir -p $out/share/cups/model/Kyocera
23 cp ${region}/${language}/*.PPD $out/share/cups/model/Kyocera/
27 description = "PPD files for Kyocera ECOSYS M2040dn/M2135dn/M2540dn/M2540dw/M2635dn/M2635dw/M2640idw/M2735dw/P2040dn/M2040dw/P2235dn/P2235dw";
28 homepage = "https://www.kyoceradocumentsolutions.com";
29 license = licenses.unfree;
30 maintainers = with maintainers; [ hexa ];
31 platforms = platforms.linux;