nixpkgs/pkgs/applications/maui/booth.nix
Robert Schütz ea9e8f8344 libsForQt5.mauiPackages.booth: depends on prison
Otherwise it fails to launch with

    qrc:/views/CameraPage.qml:15:1: module "org.kde.prison.scanner" is not installed
2023-09-30 10:40:43 -07:00

54 lines
898 B
Nix

{ lib
, mkDerivation
, cmake
, extra-cmake-modules
, kcoreaddons
, ki18n
, kirigami2
, mauikit
, mauikit-filebrowsing
, prison
, qtgraphicaleffects
, qtmultimedia
, qtquickcontrols2
, gst_all_1
}:
mkDerivation {
pname = "booth";
nativeBuildInputs = [
cmake
extra-cmake-modules
];
buildInputs = [
kcoreaddons
ki18n
kirigami2
mauikit
mauikit-filebrowsing
prison
qtgraphicaleffects
qtmultimedia
qtquickcontrols2
] ++ (with gst_all_1; [
gst-plugins-bad
gst-plugins-base
gst-plugins-good
gstreamer
]);
preFixup = ''
qtWrapperArgs+=(
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
)
'';
meta = with lib; {
description = "Camera application";
homepage = "https://invent.kde.org/maui/booth";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ milahu ];
};
}