about summary refs log tree commit diff
path: root/pkgs/desktops/kde-5/applications
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2016-07-30 17:25:46 -0500
committerThomas Tuegel <ttuegel@gmail.com>2016-07-30 17:26:59 -0500
commit425f9be1c8c56f7f9bc4beff067f492940eafa4e (patch)
tree8a5b9d07f8fb2f277cd5afce1e13d9c2cab7cf9b /pkgs/desktops/kde-5/applications
parentab58794838d33b4426b81f2887d64f40e31fdf49 (diff)
downloadnixlib-425f9be1c8c56f7f9bc4beff067f492940eafa4e.tar
nixlib-425f9be1c8c56f7f9bc4beff067f492940eafa4e.tar.gz
nixlib-425f9be1c8c56f7f9bc4beff067f492940eafa4e.tar.bz2
nixlib-425f9be1c8c56f7f9bc4beff067f492940eafa4e.tar.lz
nixlib-425f9be1c8c56f7f9bc4beff067f492940eafa4e.tar.xz
nixlib-425f9be1c8c56f7f9bc4beff067f492940eafa4e.tar.zst
nixlib-425f9be1c8c56f7f9bc4beff067f492940eafa4e.zip
ark: use kdeWrapper
Diffstat (limited to 'pkgs/desktops/kde-5/applications')
-rw-r--r--pkgs/desktops/kde-5/applications/ark/default.nix53
1 files changed, 30 insertions, 23 deletions
diff --git a/pkgs/desktops/kde-5/applications/ark/default.nix b/pkgs/desktops/kde-5/applications/ark/default.nix
index 503ea6d8cfcf..249027570663 100644
--- a/pkgs/desktops/kde-5/applications/ark/default.nix
+++ b/pkgs/desktops/kde-5/applications/ark/default.nix
@@ -1,7 +1,7 @@
 {
-  kdeApp, lib,
+  kdeApp, lib, kdeWrapper,
 
-  ecm, kdoctools, makeQtWrapper,
+  ecm, kdoctools, makeWrapper,
 
   karchive, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, khtml, kio,
   kservice, kpty, kwidgetsaddons, libarchive,
@@ -10,26 +10,33 @@
   p7zip, unrar, unzipNLS, zip
 }:
 
-kdeApp {
-  name = "ark";
-  nativeBuildInputs = [
-    ecm kdoctools makeQtWrapper
-  ];
-  propagatedBuildInputs = [
-    khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice
-    kpty kwidgetsaddons libarchive
-  ];
-  postInstall =
-    let
-      PATH = lib.makeBinPath [
-        p7zip unrar unzipNLS zip
+let
+  unwrapped =
+    kdeApp {
+      name = "ark";
+      nativeBuildInputs = [
+        ecm kdoctools makeWrapper
       ];
-    in ''
-      wrapQtProgram "$out/bin/ark" \
-          --prefix PATH : "${PATH}"
-    '';
-  meta = {
-    license = with lib.licenses; [ gpl2 lgpl3 ];
-    maintainers = [ lib.maintainers.ttuegel ];
-  };
+      propagatedBuildInputs = [
+        khtml ki18n kio karchive kconfig kcrash kdbusaddons kiconthemes kservice
+        kpty kwidgetsaddons libarchive
+      ];
+      postInstall =
+        let
+          PATH = lib.makeBinPath [
+            p7zip unrar unzipNLS zip
+          ];
+        in ''
+          wrapProgram "$out/bin/ark" \
+              --prefix PATH : "${PATH}"
+        '';
+      meta = {
+        license = with lib.licenses; [ gpl2 lgpl3 ];
+        maintainers = [ lib.maintainers.ttuegel ];
+      };
+    };
+in
+kdeWrapper unwrapped
+{
+  targets = [ "bin/ark" ];
 }