1{ lib, buildPythonPackage, fetchFromGitHub }: 2 3buildPythonPackage rec { 4 pname = "pyprof2calltree"; 5 version = "1.4.5"; 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 = "0akighssiswfhi5285rrj37am6flg3ip17c34bayq3r8yyk1iciy"; 14 }; 15 16 meta = with lib; { 17 description = "Help visualize profiling data from cProfile with kcachegrind and qcachegrind"; 18 homepage = "https://github.com/pwaller/pyprof2calltree"; 19 changelog = "https://github.com/pwaller/pyprof2calltree/releases/tag/v${version}"; 20 license = licenses.mit; 21 maintainers = with maintainers; [ sfrijters ]; 22 }; 23}