about summary refs log tree commit diff
path: root/pkgs/applications/kde/spectacle.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/kde/spectacle.nix')
-rw-r--r--pkgs/applications/kde/spectacle.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/kde/spectacle.nix b/pkgs/applications/kde/spectacle.nix
new file mode 100644
index 0000000000000..4c3a5246b2e73
--- /dev/null
+++ b/pkgs/applications/kde/spectacle.nix
@@ -0,0 +1,25 @@
+{
+  kdeApp, lib, kdeWrapper,
+  ecm, kdoctools,
+  kconfig, kcoreaddons, kdbusaddons, kdeclarative, ki18n, kio, kipi-plugins,
+  knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi,
+  xcb-util-cursor
+}:
+
+let
+  unwrapped =
+    kdeApp {
+      name = "spectacle";
+      meta = with lib; { maintainers = with maintainers; [ ttuegel ]; };
+      nativeBuildInputs = [ ecm kdoctools ];
+      propagatedBuildInputs = [
+        kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications
+        kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi xcb-util-cursor
+      ];
+    };
+in
+kdeWrapper {
+  inherit unwrapped;
+  targets = [ "bin/spectacle" ];
+  paths = [ kipi-plugins ];
+}