c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
22 lines
673 B
Nix
22 lines
673 B
Nix
{
|
|
mkDerivation, lib,
|
|
extra-cmake-modules, kdoctools,
|
|
karchive, ki18n, kio, perl, python3, php, qttools,
|
|
kdbusaddons, makeBinaryWrapper, graphviz
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "kcachegrind";
|
|
meta = {
|
|
homepage = "https://apps.kde.org/kcachegrind/";
|
|
description = "Profiler frontend";
|
|
license = with lib.licenses; [ gpl2 ];
|
|
maintainers = with lib.maintainers; [ orivej ];
|
|
};
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools makeBinaryWrapper ];
|
|
buildInputs = [ karchive ki18n kio perl python3 php qttools kdbusaddons ];
|
|
postInstall = ''
|
|
wrapProgram $out/bin/kcachegrind \
|
|
--suffix PATH : "${lib.makeBinPath [ graphviz ]}"
|
|
'';
|
|
}
|