2019-06-02 14:10:42 -07:00
|
|
|
{ lib, fetchFromGitHub, buildPythonApplication, python, graphviz }:
|
2015-04-28 11:54:01 -07:00
|
|
|
|
2019-01-25 07:18:41 -08:00
|
|
|
buildPythonApplication {
|
2019-12-25 01:29:25 -08:00
|
|
|
name = "gprof2dot-2019-11-30";
|
2015-04-28 11:54:01 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jrfonseca";
|
|
|
|
repo = "gprof2dot";
|
2019-12-25 01:29:25 -08:00
|
|
|
rev = "2019.11.30";
|
|
|
|
sha256 = "1nw4cfwimd0djarw4wc756q095xir78js8flmycg6g7sl3l6p27s";
|
2015-04-28 11:54:01 -07:00
|
|
|
};
|
|
|
|
|
2019-06-02 14:10:42 -07:00
|
|
|
checkInputs = [ graphviz ];
|
|
|
|
checkPhase = "${python.interpreter} tests/test.py";
|
|
|
|
|
2019-01-25 07:18:41 -08:00
|
|
|
meta = with lib; {
|
2019-12-25 01:29:25 -08:00
|
|
|
homepage = "https://github.com/jrfonseca/gprof2dot";
|
2015-04-28 11:54:01 -07:00
|
|
|
description = "Python script to convert the output from many profilers into a dot graph";
|
|
|
|
license = licenses.lgpl3Plus;
|
2019-01-25 07:18:41 -08:00
|
|
|
maintainers = [ maintainers.pmiddend ];
|
2015-04-28 11:54:01 -07:00
|
|
|
};
|
|
|
|
}
|