2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyprof2calltree";
|
2020-05-03 17:38:23 +00:00
|
|
|
version = "1.4.5";
|
2020-04-24 23:36:52 +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;
|
2020-05-03 17:38:23 +00:00
|
|
|
sha256 = "0akighssiswfhi5285rrj37am6flg3ip17c34bayq3r8yyk1iciy";
|
2020-04-24 23:36:52 +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 ];
|
|
|
|
};
|
|
|
|
}
|