about summary refs log tree commit diff
path: root/pkgs/applications/kde/filelight.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/filelight.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/filelight.nix')
-rw-r--r--pkgs/applications/kde/filelight.nix31
1 files changed, 12 insertions, 19 deletions
diff --git a/pkgs/applications/kde/filelight.nix b/pkgs/applications/kde/filelight.nix
index c09b5f5106ab..d3925d54988c 100644
--- a/pkgs/applications/kde/filelight.nix
+++ b/pkgs/applications/kde/filelight.nix
@@ -1,24 +1,17 @@
 {
-  mkDerivation, lib, kdeWrapper,
-  extra-cmake-modules, kdoctools,
+  mkDerivation, lib,
+  extra-cmake-modules, kdoctools, wrapGAppsHook,
   kio, kparts, kxmlgui, qtscript, solid
 }:
 
-let
-  unwrapped =
-    mkDerivation {
-      name = "filelight";
-      meta = {
-        license = with lib.licenses; [ gpl2 ];
-        maintainers = with lib.maintainers; [ fridh vcunat ];
-      };
-      nativeBuildInputs = [ extra-cmake-modules kdoctools ];
-      propagatedBuildInputs = [
-        kio kparts kxmlgui qtscript solid
-      ];
-    };
-in
-kdeWrapper {
-  inherit unwrapped;
-  targets = [ "bin/filelight" ];
+mkDerivation {
+  name = "filelight";
+  meta = {
+    license = with lib.licenses; [ gpl2 ];
+    maintainers = with lib.maintainers; [ fridh vcunat ];
+  };
+  nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
+  propagatedBuildInputs = [
+    kio kparts kxmlgui qtscript solid
+  ];
 }