summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyprof2calltree/default.nix
blob: 7244438c6e0814b9130acdf19bec9e73b1d3653f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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://pypi.python.org/pypi/pyprof2calltree/";
    license = licenses.mit;
    maintainers = with maintainers; [ sfrijters ];
  };
}