diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix index fff0df35d05..46aa6473f0c 100644 --- a/pkgs/applications/kde/default.nix +++ b/pkgs/applications/kde/default.nix @@ -62,6 +62,7 @@ let kate = callPackage ./kate.nix {}; kdenlive = callPackage ./kdenlive.nix {}; kcalc = callPackage ./kcalc.nix {}; + kcachegrind = callPackage ./kcachegrind.nix {}; kcolorchooser = callPackage ./kcolorchooser.nix {}; kcontacts = callPackage ./kcontacts.nix {}; kdegraphics-mobipocket = callPackage ./kdegraphics-mobipocket.nix {}; diff --git a/pkgs/applications/kde/kcachegrind.nix b/pkgs/applications/kde/kcachegrind.nix new file mode 100644 index 00000000000..2f270d24224 --- /dev/null +++ b/pkgs/applications/kde/kcachegrind.nix @@ -0,0 +1,27 @@ +{ + kdeApp, lib, kdeWrapper, + cmake, automoc4, + kdelibs, perl, python, php +}: + +kdeWrapper { + unwrapped = kdeApp { + name = "kcachegrind"; + meta = { + license = with lib.licenses; [ gpl2 ]; + maintainers = with lib.maintainers; [ orivej ]; + }; + nativeBuildInputs = [ cmake automoc4 ]; + buildInputs = [ kdelibs perl python php ]; + enableParallelBuilding = true; + }; + + targets = [ + "bin/kcachegrind" + "bin/dprof2calltree" # perl + "bin/hotshot2calltree" # python + "bin/memprof2calltree" # perl + "bin/op2calltree" # perl + "bin/pprof2calltree" # php + ]; +}