2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
setuptools,
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyprof2calltree";
|
2020-05-03 17:38:23 +00:00
|
|
|
version = "1.4.5";
|
2024-06-05 15:53:02 +00:00
|
|
|
pyproject = true;
|
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";
|
2024-06-05 15:53:02 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-PrIYpvcoD+zVIoOdcON41JmqzpA5FyRKhI7rqDV8cSo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Help visualize profiling data from cProfile with kcachegrind and qcachegrind";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pyprof2calltree";
|
2022-11-27 09:42:12 +00:00
|
|
|
homepage = "https://github.com/pwaller/pyprof2calltree";
|
|
|
|
changelog = "https://github.com/pwaller/pyprof2calltree/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sfrijters ];
|
|
|
|
};
|
|
|
|
}
|