pythonPackages.gprof2dot: enable tests
This commit is contained in:
parent
d56d324f38
commit
f24efd30fa
@ -1,4 +1,4 @@
|
|||||||
{ lib, fetchFromGitHub, buildPythonApplication }:
|
{ lib, fetchFromGitHub, buildPythonApplication, python, graphviz }:
|
||||||
|
|
||||||
buildPythonApplication {
|
buildPythonApplication {
|
||||||
name = "gprof2dot-2017-09-19";
|
name = "gprof2dot-2017-09-19";
|
||||||
@ -10,6 +10,9 @@ buildPythonApplication {
|
|||||||
sha256 = "1b5wvjv5ykbhz7aix7l3y7mg1hxi0vgak4a49gr92sdlz8blj51v";
|
sha256 = "1b5wvjv5ykbhz7aix7l3y7mg1hxi0vgak4a49gr92sdlz8blj51v";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
checkInputs = [ graphviz ];
|
||||||
|
checkPhase = "${python.interpreter} tests/test.py";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/jrfonseca/gprof2dot;
|
homepage = https://github.com/jrfonseca/gprof2dot;
|
||||||
description = "Python script to convert the output from many profilers into a dot graph";
|
description = "Python script to convert the output from many profilers into a dot graph";
|
||||||
|
@ -445,7 +445,9 @@ in {
|
|||||||
|
|
||||||
grandalf = callPackage ../development/python-modules/grandalf { };
|
grandalf = callPackage ../development/python-modules/grandalf { };
|
||||||
|
|
||||||
gprof2dot = callPackage ../development/python-modules/gprof2dot { };
|
gprof2dot = callPackage ../development/python-modules/gprof2dot {
|
||||||
|
inherit (pkgs) graphviz;
|
||||||
|
};
|
||||||
|
|
||||||
gsd = callPackage ../development/python-modules/gsd { };
|
gsd = callPackage ../development/python-modules/gsd { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user