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,
|
2024-02-05 18:29:39 +00:00
|
|
|
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 = {
|
2021-09-18 09:48:23 +00:00
|
|
|
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
|
|
|
};
|
2024-02-05 18:29:39 +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 ];
|
2024-02-05 18:29:39 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/kcachegrind \
|
|
|
|
--suffix PATH : "${lib.makeBinPath [ graphviz ]}"
|
|
|
|
'';
|
2017-03-11 21:56:44 +00:00
|
|
|
}
|