587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
25 lines
810 B
Nix
25 lines
810 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyprof2calltree";
|
|
version = "1.4.5";
|
|
format = "setuptools";
|
|
|
|
# Fetch from GitHub because the PyPi packaged version does not
|
|
# include all test files.
|
|
src = fetchFromGitHub {
|
|
owner = "pwaller";
|
|
repo = "pyprof2calltree";
|
|
rev = "v" + version;
|
|
sha256 = "0akighssiswfhi5285rrj37am6flg3ip17c34bayq3r8yyk1iciy";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Help visualize profiling data from cProfile with kcachegrind and qcachegrind";
|
|
mainProgram = "pyprof2calltree";
|
|
homepage = "https://github.com/pwaller/pyprof2calltree";
|
|
changelog = "https://github.com/pwaller/pyprof2calltree/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ sfrijters ];
|
|
};
|
|
}
|