diff options
author | Thomas Tuegel <ttuegel@mailbox.org> | 2017-05-16 10:56:41 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@mailbox.org> | 2017-06-18 08:43:39 -0500 |
commit | be7b7d908f82e8ab16c43ffd0e240addd6f4018a (patch) | |
tree | 81d875bcec94de6d94ce20725393d9c35f1c165a /pkgs/applications/kde/kcachegrind.nix | |
parent | 945758f96030ee7762ccdab32a3ffddd028b37b6 (diff) | |
download | nixpkgs-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar nixpkgs-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar.gz nixpkgs-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar.bz2 nixpkgs-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar.lz nixpkgs-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar.xz nixpkgs-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.tar.zst nixpkgs-be7b7d908f82e8ab16c43ffd0e240addd6f4018a.zip |
Remove kdeWrapper
Diffstat (limited to 'pkgs/applications/kde/kcachegrind.nix')
-rw-r--r-- | pkgs/applications/kde/kcachegrind.nix | 34 |
1 files changed, 13 insertions, 21 deletions
diff --git a/pkgs/applications/kde/kcachegrind.nix b/pkgs/applications/kde/kcachegrind.nix index fd5c4502c9d..c45edc87f89 100644 --- a/pkgs/applications/kde/kcachegrind.nix +++ b/pkgs/applications/kde/kcachegrind.nix @@ -1,28 +1,20 @@ { - mkDerivation, lib, kdeWrapper, - extra-cmake-modules, kdoctools, + mkDerivation, lib, + extra-cmake-modules, kdoctools, wrapGAppsHook, kio, ki18n, perl, python, php }: -kdeWrapper { - unwrapped = mkDerivation { - name = "kcachegrind"; - meta = { - license = with lib.licenses; [ gpl2 ]; - maintainers = with lib.maintainers; [ orivej ]; - }; - nativeBuildInputs = [ extra-cmake-modules kdoctools ]; - buildInputs = [ perl python php kio ki18n ]; - enableParallelBuilding = true; +mkDerivation { + name = "kcachegrind"; + meta = { + license = with lib.licenses; [ gpl2 ]; + maintainers = with lib.maintainers; [ orivej ]; }; - - targets = [ - "bin/kcachegrind" - "bin/dprof2calltree" # perl - "bin/hotshot2calltree" # python - "bin/memprof2calltree" # perl - "bin/op2calltree" # perl - "bin/pprof2calltree" # php - ]; + nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; + propagatedBuildInputs = [ kio ]; + buildInputs = [ perl python php ki18n ]; + preFixup = '' + gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ perl php python]}") + ''; } |