@@ -0,0 +1,22 @@
1+{ lib, buildPythonApplication, fetchFromGitHub }:
2+
3+buildPythonApplication rec {
4+ pname = "pyprof2calltree";
5+ version = "1.4.3";
6+
7+ # Fetch from GitHub because the PyPi packaged version does not
8+ # include all test files.
9+ src = fetchFromGitHub {
10+ owner = "pwaller";
11+ repo = "pyprof2calltree";
12+ rev = "v" + version;
13+ sha256 = "0i0a895zal193cpvzbv68fch606g4ik27rvzbby3vxk61zlxfqy5";
14+ };
15+
16+ meta = with lib; {
17+ description = "Help visualize profiling data from cProfile with kcachegrind and qcachegrind";
18+ homepage = https://pypi.python.org/pypi/pyprof2calltree/;
19+ license = licenses.mit;
20+ maintainers = with maintainers; [ sfrijters ];
21+ };
22+}