Merge pull request #156114 from dotlambda/pygraphviz-1.8

python3Packages.pygraphviz: 1.7 -> 1.8
This commit is contained in:
Robert Scott 2022-01-23 11:19:54 +00:00 committed by GitHub
commit c4bb9084aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,13 +11,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pygraphviz"; pname = "pygraphviz";
version = "1.7"; version = "1.8";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "a7bec6609f37cf1e64898c59f075afd659106cf9356c5f387cecaa2e0cdb2304"; hash = "sha256-6y4losZHBE57ZrWhWb5k2q7yS1Sfz1NcJBNp1ubgnEU=";
extension = "zip"; extension = "zip";
}; };
@ -36,9 +36,13 @@ buildPythonPackage rec {
checkInputs = [ pytest ]; checkInputs = [ pytest ];
checkPhase = '' checkPhase = ''
runHook preCheck
pytest --pyargs pygraphviz pytest --pyargs pygraphviz
runHook postCheck
''; '';
pythonImportsCheck = [ "pygraphviz" ];
meta = with lib; { meta = with lib; {
description = "Python interface to Graphviz graph drawing package"; description = "Python interface to Graphviz graph drawing package";
homepage = "https://github.com/pygraphviz/pygraphviz"; homepage = "https://github.com/pygraphviz/pygraphviz";