1{ lib, fetchFromGitHub, buildPythonApplication, python, graphviz }:
2
3buildPythonApplication {
4 name = "gprof2dot-2017-09-19";
5
6 src = fetchFromGitHub {
7 owner = "jrfonseca";
8 repo = "gprof2dot";
9 rev = "2017.09.19";
10 sha256 = "1b5wvjv5ykbhz7aix7l3y7mg1hxi0vgak4a49gr92sdlz8blj51v";
11 };
12
13 checkInputs = [ graphviz ];
14 checkPhase = "${python.interpreter} tests/test.py";
15
16 meta = with lib; {
17 homepage = https://github.com/jrfonseca/gprof2dot;
18 description = "Python script to convert the output from many profilers into a dot graph";
19 license = licenses.lgpl3Plus;
20 maintainers = [ maintainers.pmiddend ];
21 };
22}