nixpkgs/pkgs/applications/kde/kcachegrind.nix
2017-06-18 08:43:39 -05:00

21 lines
513 B
Nix

{
mkDerivation, lib,
extra-cmake-modules, kdoctools, wrapGAppsHook,
kio, ki18n,
perl, python, php
}:
mkDerivation {
name = "kcachegrind";
meta = {
license = with lib.licenses; [ gpl2 ];
maintainers = with lib.maintainers; [ orivej ];
};
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [ kio ];
buildInputs = [ perl python php ki18n ];
preFixup = ''
gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ perl php python]}")
'';
}