summary refs log tree commit diff
path: root/pkgs/development/tools/profiling/pyprof2calltree/default.nix
blob: b2497633a6801d380fd55883ebd53c899654359a (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, buildPythonApplication, fetchFromGitHub }:

buildPythonApplication rec {
  pname = "pyprof2calltree";
  version = "1.4.3";

  # Fetch from GitHub because the PyPi packaged version does not
  # include all test files.
  src = fetchFromGitHub {
    owner = "pwaller";
    repo = "pyprof2calltree";
    rev = "v" + version;
    sha256 = "0i0a895zal193cpvzbv68fch606g4ik27rvzbby3vxk61zlxfqy5";
  };

  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 ];
  };
}