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