pyprof2calltree: move to python-packages

pyprof2calltree is hard-coded to pythonPackages and fails for Python 3 profile results. See #66511.
Since it can also be used as a library it makes sense to move it into pythonPackages.
This commit is contained in:
Stefan Frijters 2019-08-16 11:14:03 +02:00
parent 75e34adda5
commit 7d38a6281e
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ lib, buildPythonApplication, fetchFromGitHub }:
{ lib, buildPythonPackage, fetchFromGitHub }:
buildPythonApplication rec {
buildPythonPackage rec {
pname = "pyprof2calltree";
version = "1.4.4";

View File

@ -9780,7 +9780,7 @@ in
pprof = callPackage ../development/tools/profiling/pprof { };
pyprof2calltree = pythonPackages.callPackage ../development/tools/profiling/pyprof2calltree { };
pyprof2calltree = with python3Packages; toPythonApplication pyprof2calltree;
prelink = callPackage ../development/tools/misc/prelink { };

View File

@ -6158,6 +6158,8 @@ in {
wget = callPackage ../development/python-modules/wget { };
runway-python = callPackage ../development/python-modules/runway-python { };
pyprof2calltree = callPackage ../development/python-modules/pyprof2calltree { };
});
in fix' (extends overrides packages)