fflinuxprint: init at 1.1.3-4

authored by James Duff and committed by Pol Dellaiera 5cfd2d03 eeed0aa1

+54
+52
pkgs/misc/cups/drivers/fflinuxprint/default.nix
···
··· 1 + { autoPatchelfHook 2 + , cups 3 + , dpkg 4 + , fetchurl 5 + , lib 6 + , stdenv 7 + }: 8 + 9 + stdenv.mkDerivation (finalAttrs: { 10 + pname = "fflinuxprint"; 11 + version = "1.1.3-4"; 12 + 13 + src = fetchurl { 14 + url = "https://support-fb.fujifilm.com/driver_downloads/fflinuxprint_${finalAttrs.version}_amd64.deb"; 15 + hash = "sha256-Q0qB4gvEWa10KGt6SngVqraxFePxIQ62nTrFZ44vyrU="; 16 + curlOpts = "--user-agent Mozilla/5.0"; # HTTP 410 otherwise 17 + }; 18 + 19 + sourceRoot = "."; 20 + unpackCmd = "dpkg-deb -x $curSrc ."; 21 + 22 + nativeBuildInputs = [ 23 + autoPatchelfHook 24 + dpkg 25 + ]; 26 + 27 + buildInputs = [ 28 + cups 29 + ]; 30 + 31 + dontConfigure = true; 32 + dontBuild = true; 33 + 34 + installPhase = '' 35 + runHook preInstall 36 + 37 + mkdir -p $out/share/cups/model 38 + mv {etc,usr/lib} $out 39 + mv usr/share/ppd/fujifilm/* $out/share/cups/model 40 + 41 + runHook postInstall 42 + ''; 43 + 44 + meta = { 45 + description = "FujiFILM Linux Printer Driver"; 46 + homepage = "https://support-fb.fujifilm.com"; 47 + license = lib.licenses.unfree; 48 + maintainers = with lib.maintainers; [ jaduff ]; 49 + platforms = lib.platforms.linux; 50 + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 51 + }; 52 + })
+2
pkgs/top-level/all-packages.nix
··· 40600 40601 brlaser = callPackage ../misc/cups/drivers/brlaser { }; 40602 40603 fxlinuxprint = callPackage ../misc/cups/drivers/fxlinuxprint { }; 40604 40605 brscan4 = callPackage ../applications/graphics/sane/backends/brscan4 { };
··· 40600 40601 brlaser = callPackage ../misc/cups/drivers/brlaser { }; 40602 40603 + fflinuxprint = callPackage ../misc/cups/drivers/fflinuxprint { }; 40604 + 40605 fxlinuxprint = callPackage ../misc/cups/drivers/fxlinuxprint { }; 40606 40607 brscan4 = callPackage ../applications/graphics/sane/backends/brscan4 { };