summary refs log tree commit diff
path: root/pkgs/desktops/kde-5/frameworks-5.21/kdeclarative.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/kde-5/frameworks-5.21/kdeclarative.nix')
-rw-r--r--pkgs/desktops/kde-5/frameworks-5.21/kdeclarative.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/desktops/kde-5/frameworks-5.21/kdeclarative.nix b/pkgs/desktops/kde-5/frameworks-5.21/kdeclarative.nix
new file mode 100644
index 00000000000..74d107466cf
--- /dev/null
+++ b/pkgs/desktops/kde-5/frameworks-5.21/kdeclarative.nix
@@ -0,0 +1,22 @@
+{ kdeFramework, lib, extra-cmake-modules, epoxy, kconfig
+, kglobalaccel, kguiaddons, ki18n, kiconthemes, kio, kpackage
+, kwidgetsaddons, kwindowsystem, makeQtWrapper, pkgconfig
+, qtdeclarative
+}:
+
+kdeFramework {
+  name = "kdeclarative";
+  nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
+  buildInputs = [
+    epoxy kguiaddons kiconthemes kwidgetsaddons
+  ];
+  propagatedBuildInputs = [
+    kconfig kglobalaccel ki18n kio kpackage kwindowsystem qtdeclarative
+  ];
+  postInstall = ''
+    wrapQtProgram "$out/bin/kpackagelauncherqml"
+  '';
+  meta = {
+    maintainers = [ lib.maintainers.ttuegel ];
+  };
+}