lprint: Add enableExperimental parameter and adopt (#317213)

This commit is contained in:
Yohann Boniface 2025-08-14 07:53:25 +02:00 committed by GitHub
commit 9093c2da36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,8 @@
pappl,
cups,
pkg-config,
# Enables support for untested printers. It makes sense to default this to true, as it's unlikely to result in any issues
enableExperimental ? true,
}:
stdenv.mkDerivation rec {
@ -32,6 +34,8 @@ stdenv.mkDerivation rec {
cups
];
configureFlags = lib.optional enableExperimental "--enable-experimental";
doInstallCheck = true;
installCheckPhase = ''
$out/bin/lprint --help
@ -45,6 +49,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/michaelrsweet/lprint";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = [ ];
maintainers = with lib.maintainers; [ pandapip1 ];
};
}