lprint: Add enableExperimental parameter and adopt (#317213)
This commit is contained in:
commit
9093c2da36
@ -5,6 +5,8 @@
|
|||||||
pappl,
|
pappl,
|
||||||
cups,
|
cups,
|
||||||
pkg-config,
|
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 {
|
stdenv.mkDerivation rec {
|
||||||
@ -32,6 +34,8 @@ stdenv.mkDerivation rec {
|
|||||||
cups
|
cups
|
||||||
];
|
];
|
||||||
|
|
||||||
|
configureFlags = lib.optional enableExperimental "--enable-experimental";
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
$out/bin/lprint --help
|
$out/bin/lprint --help
|
||||||
@ -45,6 +49,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://github.com/michaelrsweet/lprint";
|
homepage = "https://github.com/michaelrsweet/lprint";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ ];
|
maintainers = with lib.maintainers; [ pandapip1 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user