nixpkgs/pkgs/applications/kde/kcachegrind.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
742 B
Nix
Raw Normal View History

2017-03-11 21:56:44 +00:00
{
2017-05-16 15:56:41 +00:00
mkDerivation,
lib,
2017-05-17 19:26:11 +00:00
extra-cmake-modules,
kdoctools,
2021-05-03 15:22:00 +00:00
karchive,
ki18n,
kio,
perl,
python3,
php,
qttools,
kdbusaddons,
makeBinaryWrapper,
graphviz,
2017-03-11 21:56:44 +00:00
}:
2017-05-16 15:56:41 +00:00
mkDerivation {
2020-12-24 23:05:07 +00:00
pname = "kcachegrind";
2017-05-16 15:56:41 +00:00
meta = {
homepage = "https://apps.kde.org/kcachegrind/";
description = "Profiler frontend";
2017-05-16 15:56:41 +00:00
license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ orivej ];
2017-03-11 21:56:44 +00:00
};
nativeBuildInputs = [
extra-cmake-modules
kdoctools
makeBinaryWrapper
];
2021-03-26 10:01:35 +00:00
buildInputs = [
karchive
ki18n
kio
perl
python3
php
qttools
kdbusaddons
];
postInstall = ''
wrapProgram $out/bin/kcachegrind \
--suffix PATH : "${lib.makeBinPath [ graphviz ]}"
'';
2017-03-11 21:56:44 +00:00
}