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