10 buildPythonPackage rec {
12 version = "2024.06.06";
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/${version}";
21 hash = "sha256-6TTshVbfYh/2Ss1uysGW0nxmNQdIiAhe4LldMS7hpCo=";
24 makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ graphviz ]}" ];
26 # Needed so dot is on path of the test script
27 nativeCheckInputs = [ graphviz ];
32 # if options not specified, will use unwrapped gprof2dot from original source
33 ${python.interpreter} tests/test.py --python bash --gprof2dot $out/bin/gprof2dot
39 description = "Python script to convert the output from many profilers into a dot graph";
40 mainProgram = "gprof2dot";
41 homepage = "https://github.com/jrfonseca/gprof2dot";
42 changelog = "https://github.com/jrfonseca/gprof2dot/releases/tag/${version}";
43 license = licenses.lgpl3Plus;
44 maintainers = with maintainers; [ pmiddend ];