2018-01-30 09:09:36 +00:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "pyprof2calltree";
|
2018-10-26 21:32:41 +01:00
|
|
|
version = "1.4.4";
|
2018-01-30 09:09:36 +00:00
|
|
|
|
|
|
|
# Fetch from GitHub because the PyPi packaged version does not
|
|
|
|
# include all test files.
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pwaller";
|
|
|
|
repo = "pyprof2calltree";
|
|
|
|
rev = "v" + version;
|
2018-10-26 21:32:41 +01:00
|
|
|
sha256 = "1vrip41ib7nmkwa8rjny1na1wyp7nvvgvm0h9bd21i262kbm4nqx";
|
2018-01-30 09:09:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Help visualize profiling data from cProfile with kcachegrind and qcachegrind";
|
|
|
|
homepage = https://pypi.python.org/pypi/pyprof2calltree/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sfrijters ];
|
|
|
|
};
|
|
|
|
}
|