summary refs log tree commit diff
path: root/pkgs/applications/kde/okteta.nix
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-05-16 10:56:41 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2017-06-18 08:43:39 -0500
commitbe7b7d908f82e8ab16c43ffd0e240addd6f4018a (patch)
tree81d875bcec94de6d94ce20725393d9c35f1c165a /pkgs/applications/kde/okteta.nix
parent945758f96030ee7762ccdab32a3ffddd028b37b6 (diff)
downloadnixlib-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar
nixlib-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar.gz
nixlib-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar.bz2
nixlib-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar.lz
nixlib-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar.xz
nixlib-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar.zst
nixlib-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.zip
Remove kdeWrapper
Diffstat (limited to 'pkgs/applications/kde/okteta.nix')
-rw-r--r--pkgs/applications/kde/okteta.nix33
1 files changed, 13 insertions, 20 deletions
diff --git a/pkgs/applications/kde/okteta.nix b/pkgs/applications/kde/okteta.nix
index 7fb4ffb7693a..350630664d92 100644
--- a/pkgs/applications/kde/okteta.nix
+++ b/pkgs/applications/kde/okteta.nix
@@ -1,26 +1,19 @@
 {
-  mkDerivation, lib, kdeWrapper,
-  extra-cmake-modules, kdoctools,
+  mkDerivation, lib,
+  extra-cmake-modules, kdoctools, wrapGAppsHook,
   kconfig, kinit,
   kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5
 }:
 
-let
-  unwrapped =
-    mkDerivation {
-      name = "okteta";
-      meta = {
-        license = with lib.licenses; [ gpl2 ];
-        maintainers = with lib.maintainers; [ peterhoeg ];
-      };
-      nativeBuildInputs = [ extra-cmake-modules kdoctools ];
-      propagatedBuildInputs = [
-        kconfig kinit
-        kcmutils kconfigwidgets knewstuff kparts qca-qt5
-      ];
-    };
-
-in kdeWrapper {
-  inherit unwrapped;
-  targets = [ "bin/okteta" ];
+mkDerivation {
+  name = "okteta";
+  meta = {
+    license = with lib.licenses; [ gpl2 ];
+    maintainers = with lib.maintainers; [ peterhoeg ];
+  };
+  nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
+  propagatedBuildInputs = [
+    kconfig kinit
+    kcmutils kconfigwidgets knewstuff kparts qca-qt5
+  ];
 }