python3Packages.networkx: 2.2 -> 2.4

This commit is contained in:
Jonathan Ringer 2019-10-16 23:53:19 -07:00 committed by Frederik Rietdijk
parent fa3287ec79
commit 5725366c88

View File

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, nose
, pytest
, decorator
, setuptools
}:
@ -9,16 +10,18 @@
buildPythonPackage rec {
pname = "networkx";
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
version = "2.2";
version = "2.4";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "12swxb15299v9vqjsq4z8rgh5sdhvpx497xwnhpnb0gynrx6zra5";
sha256 = "0r2wr7aqay9fwjrgk35fkjzk8lvvb4i4df7ndaqzkr4ndw5zzx7q";
};
checkInputs = [ nose ];
propagatedBuildInputs = [ decorator setuptools ];
checkInputs = [ nose pytest];
checkPhase = ''
pytest
'';
meta = {
homepage = "https://networkx.github.io/";