python3Packages.networkx: 2.7.1 → 2.8.2

This commit is contained in:
Nikolay Korotkiy 2022-06-02 18:05:58 +03:00 committed by Jonathan Ringer
parent 00f527c923
commit a972e002a8
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -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/";