mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
ea9e8f8344
Otherwise it fails to launch with qrc:/views/CameraPage.qml:15:1: module "org.kde.prison.scanner" is not installed
55 lines
898 B
Nix
55 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 ];
|
|
};
|
|
}
|