From 614f0d0edbd75eabe92d64ca722cf7ba4bbd8f37 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 1 Jan 2023 15:06:58 +0000 Subject: [PATCH] libsForQt5.prison: enable PrisonScanner functionality Prison supports a GStreamer-based live barcode scanner, which requires qtmultimedia and zxing-cpp as optional dependencies. --- pkgs/development/libraries/kde-frameworks/prison.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/kde-frameworks/prison.nix b/pkgs/development/libraries/kde-frameworks/prison.nix index c2063e22bba7..d2a7b5c1a408 100644 --- a/pkgs/development/libraries/kde-frameworks/prison.nix +++ b/pkgs/development/libraries/kde-frameworks/prison.nix @@ -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" ]; }