Unverified Commit 9093c2da authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

lprint: Add enableExperimental parameter and adopt (#317213)

parents 0934d965 e550600c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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 ];
  };
}