nixpkgs/pkgs/applications/kde/kcachegrind.nix
2024-02-05 19:29:39 +01:00

23 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 ]}"
'';
}