614f0d0edb
Prison supports a GStreamer-based live barcode scanner, which requires qtmultimedia and zxing-cpp as optional dependencies.
13 lines
310 B
Nix
13 lines
310 B
Nix
{
|
|
mkDerivation,
|
|
extra-cmake-modules,
|
|
libdmtx, qrencode, qtbase, qtmultimedia, zxing-cpp
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "prison";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ libdmtx qrencode zxing-cpp ];
|
|
propagatedBuildInputs = [ qtbase qtmultimedia ];
|
|
outputs = [ "out" "dev" ];
|
|
}
|