Merge sublime4: 4189 -> 4192; sublime4-dev: 4188 -> 4191 (#378651)
[NixPkgs.git] / pkgs / development / python-modules / pyprof2calltree / default.nix
blobbcc3f5e82dfb1238434238a4c4c1b993c66b703c
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6 }:
8 buildPythonPackage rec {
9   pname = "pyprof2calltree";
10   version = "1.4.5";
11   pyproject = true;
13   # Fetch from GitHub because the PyPi packaged version does not
14   # include all test files.
15   src = fetchFromGitHub {
16     owner = "pwaller";
17     repo = "pyprof2calltree";
18     tag = "v${version}";
19     hash = "sha256-PrIYpvcoD+zVIoOdcON41JmqzpA5FyRKhI7rqDV8cSo=";
20   };
22   build-system = [ setuptools ];
24   meta = with lib; {
25     description = "Help visualize profiling data from cProfile with kcachegrind and qcachegrind";
26     mainProgram = "pyprof2calltree";
27     homepage = "https://github.com/pwaller/pyprof2calltree";
28     changelog = "https://github.com/pwaller/pyprof2calltree/releases/tag/v${version}";
29     license = licenses.mit;
30     maintainers = with maintainers; [ sfrijters ];
31   };