From 43610e23cc7e8a44f6688b46d9f2efa5ea90cc66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 22 Jan 2022 01:09:46 +0000 Subject: [PATCH] python3Packages.pygraphviz: 1.7 -> 1.8 https://github.com/pygraphviz/pygraphviz/releases/tag/pygraphviz-1.8 --- pkgs/development/python-modules/pygraphviz/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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";