mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
614f0d0edb
Prison supports a GStreamer-based live barcode scanner, which requires qtmultimedia and zxing-cpp as optional dependencies.
14 lines
310 B
Nix
14 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" ];
|
|
}
|