Merge pull request #245727 from jaduff/fflinuxprint

fflinuxprint: init at 1.1.3-4
This commit is contained in:
Pol Dellaiera 2023-08-16 17:04:52 +02:00 committed by GitHub
commit ec6398fc2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 60 additions and 0 deletions

View file

@ -7522,6 +7522,12 @@
githubId = 7558482;
name = "Jack Gerrits";
};
jaduff = {
email = "jdduffpublic@proton.me";
github = "jaduff";
githubId = 10690970;
name = "James Duff";
};
jagajaga = {
email = "ars.seroka@gmail.com";
github = "jagajaga";

View file

@ -0,0 +1,52 @@
{ autoPatchelfHook
, cups
, dpkg
, fetchurl
, lib
, stdenv
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fflinuxprint";
version = "1.1.3-4";
src = fetchurl {
url = "https://support-fb.fujifilm.com/driver_downloads/fflinuxprint_${finalAttrs.version}_amd64.deb";
hash = "sha256-Q0qB4gvEWa10KGt6SngVqraxFePxIQ62nTrFZ44vyrU=";
curlOpts = "--user-agent Mozilla/5.0"; # HTTP 410 otherwise
};
sourceRoot = ".";
unpackCmd = "dpkg-deb -x $curSrc .";
nativeBuildInputs = [
autoPatchelfHook
dpkg
];
buildInputs = [
cups
];
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/cups/model
mv {etc,usr/lib} $out
mv usr/share/ppd/fujifilm/* $out/share/cups/model
runHook postInstall
'';
meta = {
description = "FujiFILM Linux Printer Driver";
homepage = "https://support-fb.fujifilm.com";
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ jaduff ];
platforms = lib.platforms.linux;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
})

View file

@ -40830,6 +40830,8 @@ with pkgs;
brlaser = callPackage ../misc/cups/drivers/brlaser { };
fflinuxprint = callPackage ../misc/cups/drivers/fflinuxprint { };
fxlinuxprint = callPackage ../misc/cups/drivers/fxlinuxprint { };
brscan4 = callPackage ../applications/graphics/sane/backends/brscan4 { };