libsForQt5.prison: enable PrisonScanner functionality

Prison supports a GStreamer-based live barcode scanner, which requires
qtmultimedia and zxing-cpp as optional dependencies.
This commit is contained in:
Luke Granger-Brown 2023-01-01 15:06:58 +00:00
parent 3d7270abd5
commit 614f0d0edb

View file

@ -1,13 +1,13 @@
{
mkDerivation,
extra-cmake-modules,
libdmtx, qrencode, qtbase,
libdmtx, qrencode, qtbase, qtmultimedia, zxing-cpp
}:
mkDerivation {
pname = "prison";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ libdmtx qrencode ];
propagatedBuildInputs = [ qtbase ];
buildInputs = [ libdmtx qrencode zxing-cpp ];
propagatedBuildInputs = [ qtbase qtmultimedia ];
outputs = [ "out" "dev" ];
}