qcachegrind: drop python profiling support

qcachegrind's hotshot2calltree script requires python2
This commit is contained in:
Armeen Mahdian 2022-04-22 16:58:07 -05:00
parent 187764481b
commit 187c58e74d

View file

@ -1,4 +1,4 @@
{ lib, stdenv, qmake, qtbase, perl, python2, php, kcachegrind, wrapQtAppsHook }:
{ lib, stdenv, qmake, qtbase, perl, php, kcachegrind, wrapQtAppsHook }:
stdenv.mkDerivation {
pname = "qcachegrind";
@ -6,7 +6,7 @@ stdenv.mkDerivation {
src = kcachegrind.src;
buildInputs = [ qtbase perl python2 php ];
buildInputs = [ qtbase perl php ];
nativeBuildInputs = [ qmake wrapQtAppsHook ];
@ -15,7 +15,6 @@ stdenv.mkDerivation {
postInstall = ''
mkdir -p $out/bin
cp -p converters/dprof2calltree $out/bin/dprof2calltree
cp -p converters/hotshot2calltree.in $out/bin/hotshot2calltree
cp -p converters/memprof2calltree $out/bin/memprof2calltree
cp -p converters/op2calltree $out/bin/op2calltree
cp -p converters/pprof2calltree $out/bin/pprof2calltree