From a972e002a8cb43582756d246bc8268b84710ccee Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Thu, 2 Jun 2022 18:05:58 +0300 Subject: [PATCH] =?UTF-8?q?python3Packages.networkx:=202.7.1=20=E2=86=92?= =?UTF-8?q?=202.8.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../development/python-modules/networkx/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/networkx/default.nix b/pkgs/development/python-modules/networkx/default.nix index 140eb9bb24c9..3fb08348c7ff 100644 --- a/pkgs/development/python-modules/networkx/default.nix +++ b/pkgs/development/python-modules/networkx/default.nix @@ -2,26 +2,25 @@ , buildPythonPackage , fetchPypi , nose -, pytest +, pytestCheckHook , decorator , setuptools +, pythonOlder }: buildPythonPackage rec { pname = "networkx"; # upgrade may break sage, please test the sage build or ping @timokau on upgrade - version = "2.7.1"; + version = "2.8.2"; + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - sha256 = "sha256-0RlLp1Pl7tB83s0dI8XNejx3IJm9jb0v6jZniM9N57o="; + sha256 = "sha256-rpnJsNNeW0pizxz+oB5bNjPY0C9KDq1paFtufeW4Xqs="; }; propagatedBuildInputs = [ decorator setuptools ]; - checkInputs = [ nose pytest]; - checkPhase = '' - pytest - ''; + checkInputs = [ nose pytestCheckHook ]; meta = { homepage = "https://networkx.github.io/";