Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
972 B
Nix
39 lines
972 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchurl,
|
|
cups,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "rastertoezpl";
|
|
version = "1.1.12";
|
|
|
|
src = fetchurl {
|
|
url = "https://godex.s3-accelerate.amazonaws.com/tWHDYruxWFM98frjWNTE,g.file?v01";
|
|
name = "${finalAttrs.pname}-${finalAttrs.version}-source.tar.gz";
|
|
hash = "sha256-iBhM8Mht/XncWU75cd485WK5GZtJNv78yMsFsD0eKWQ=";
|
|
};
|
|
|
|
buildInputs = [ cups ];
|
|
|
|
configureFlags = [
|
|
"--datarootdir=${placeholder "out"}/share"
|
|
"PPDDIR=${placeholder "out"}/share/cups/model"
|
|
];
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/lib/cups/filter
|
|
ln -s $out/libexec/rastertoezpl/rastertoezpl $out/lib/cups/filter/rastertoezpl
|
|
gzip -9n $out/share/cups/model/godex/*.ppd
|
|
'';
|
|
|
|
meta = {
|
|
description = "CUPS driver for GODEX printers";
|
|
homepage = "https://www.godexintl.com/downloads";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ stargate01 ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|