2020-04-24 23:36:52 +00:00
|
|
|
{
|
|
|
|
mkDerivation, lib,
|
|
|
|
extra-cmake-modules, kdoctools,
|
2021-05-28 09:39:13 +00:00
|
|
|
karchive, ki18n, kio, perl, python3, php, qttools,
|
2024-02-29 20:09:43 +00:00
|
|
|
kdbusaddons, makeBinaryWrapper, graphviz
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
2021-01-05 17:05:55 +00:00
|
|
|
pname = "kcachegrind";
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
2021-09-28 08:13:01 +00:00
|
|
|
homepage = "https://apps.kde.org/kcachegrind/";
|
|
|
|
description = "Profiler frontend";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = with lib.licenses; [ gpl2 ];
|
|
|
|
maintainers = with lib.maintainers; [ orivej ];
|
|
|
|
};
|
2024-02-29 20:09:43 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools makeBinaryWrapper ];
|
2021-04-05 15:23:46 +00:00
|
|
|
buildInputs = [ karchive ki18n kio perl python3 php qttools kdbusaddons ];
|
2024-02-29 20:09:43 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/kcachegrind \
|
|
|
|
--suffix PATH : "${lib.makeBinPath [ graphviz ]}"
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|