xdot: needs graphviz in PATH
This commit is contained in:
parent
d6a4500f88
commit
80f8607721
2 changed files with 7 additions and 1 deletions
|
@ -15,6 +15,10 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gtk3 numpy ];
|
propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gtk3 numpy ];
|
||||||
checkInputs = [ xvfb-run ];
|
checkInputs = [ xvfb-run ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram "$out/bin/xdot" --prefix PATH : "${lib.makeBinPath [ graphviz ]}"
|
||||||
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
xvfb-run -s '-screen 0 800x600x24' ${python3.interpreter} nix_run_setup test
|
xvfb-run -s '-screen 0 800x600x24' ${python3.interpreter} nix_run_setup test
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -10141,7 +10141,9 @@ in {
|
||||||
|
|
||||||
xdis = callPackage ../development/python-modules/xdis { };
|
xdis = callPackage ../development/python-modules/xdis { };
|
||||||
|
|
||||||
xdot = callPackage ../development/python-modules/xdot { };
|
xdot = callPackage ../development/python-modules/xdot {
|
||||||
|
inherit (pkgs) graphviz;
|
||||||
|
};
|
||||||
|
|
||||||
xenomapper = callPackage ../applications/science/biology/xenomapper { };
|
xenomapper = callPackage ../applications/science/biology/xenomapper { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue