depot/third_party/nixpkgs/pkgs/development/python-modules/pyprof2calltree/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

23 lines
748 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub }:
buildPythonPackage rec {
pname = "pyprof2calltree";
version = "1.4.5";
# 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";
homepage = "https://github.com/pwaller/pyprof2calltree";
changelog = "https://github.com/pwaller/pyprof2calltree/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ sfrijters ];
};
}