|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{ stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php, kcachegrind }: |
|
|
|
|
{ stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php, kcachegrind, fetchpatch }: |
|
|
|
|
|
|
|
|
|
let |
|
|
|
|
name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name; |
|
|
|
@ -12,6 +12,14 @@ in stdenv.mkDerivation rec { |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake ]; |
|
|
|
|
|
|
|
|
|
patches = [ |
|
|
|
|
(fetchpatch { |
|
|
|
|
name = "fix-qt5_10-build.patch"; |
|
|
|
|
url = https://github.com/KDE/kcachegrind/commit/c41607a.patch; |
|
|
|
|
sha256 = "00kh5im3hpcarch8rc2dsgxsajfmd8vd7rry9x6mxrbkgr4ifq8y"; |
|
|
|
|
}) |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
postInstall = '' |
|
|
|
|
mkdir -p $out/bin |
|
|
|
|
cp -p converters/dprof2calltree $out/bin/dprof2calltree |
|
|
|
|