diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2016-07-30 17:35:49 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2016-07-31 09:44:33 -0500 |
commit | 4805d008e4333f0e9348ce52a8867352b47a2690 (patch) | |
tree | 56abf9226472d670e8b0621f9e9e4f0bf0a59b42 /pkgs/desktops/kde-5 | |
parent | b93b617f181f0dc3b87c14e927c2af6bd94c2d24 (diff) | |
download | nixlib-4805d008e4333f0e9348ce52a8867352b47a2690.tar nixlib-4805d008e4333f0e9348ce52a8867352b47a2690.tar.gz nixlib-4805d008e4333f0e9348ce52a8867352b47a2690.tar.bz2 nixlib-4805d008e4333f0e9348ce52a8867352b47a2690.tar.lz nixlib-4805d008e4333f0e9348ce52a8867352b47a2690.tar.xz nixlib-4805d008e4333f0e9348ce52a8867352b47a2690.tar.zst nixlib-4805d008e4333f0e9348ce52a8867352b47a2690.zip |
kompare: use kdeWrapper
Diffstat (limited to 'pkgs/desktops/kde-5')
-rw-r--r-- | pkgs/desktops/kde-5/applications/kompare.nix | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/pkgs/desktops/kde-5/applications/kompare.nix b/pkgs/desktops/kde-5/applications/kompare.nix index de2dd9338a2e..3b2143af615c 100644 --- a/pkgs/desktops/kde-5/applications/kompare.nix +++ b/pkgs/desktops/kde-5/applications/kompare.nix @@ -1,19 +1,18 @@ { - kdeApp, lib, ecm, kdoctools, makeQtWrapper, + kdeApp, lib, kdeWrapper, + ecm, kdoctools, kparts, ktexteditor, kwidgetsaddons, libkomparediff2 }: -kdeApp { - name = "kompare"; - meta = { - license = with lib.licenses; [ gpl2 ]; - }; - - nativeBuildInputs = [ ecm kdoctools makeQtWrapper ]; - - propagatedBuildInputs = [ kparts ktexteditor kwidgetsaddons libkomparediff2 ]; - - postInstall = '' - wrapQtProgram "$out/bin/kompare" - ''; -} +let + unwrapped = + kdeApp { + name = "kompare"; + meta = { license = with lib.licenses; [ gpl2 ]; }; + nativeBuildInputs = [ ecm kdoctools ]; + propagatedBuildInputs = [ + kparts ktexteditor kwidgetsaddons libkomparediff2 + ]; + }; +in +kdeWrapper unwrapped { targets = [ "bin/kompare" ]; } |