mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00

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" ];
|
|
}
|