Merge pull request #148607 from Kha/xdot-graphviz-dep

This commit is contained in:
Sandro 2021-12-05 01:49:01 +01:00 committed by GitHub
commit ebbb79929f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -15,6 +15,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gtk3 numpy ];
checkInputs = [ xvfb-run ];
postInstall = ''
wrapProgram "$out/bin/xdot" --prefix PATH : "${lib.makeBinPath [ graphviz ]}"
'';
checkPhase = ''
xvfb-run -s '-screen 0 800x600x24' ${python3.interpreter} nix_run_setup test
'';

View file

@ -10143,7 +10143,9 @@ in {
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 { };