pythonPackages.networkx: 1.11 -> 2.1

This commit is contained in:
Robert Schütz 2018-02-19 19:48:32 +01:00
parent 276fb96532
commit 46d7d069ef

View File

@ -3,32 +3,24 @@
, fetchPypi , fetchPypi
, nose , nose
, decorator , decorator
, isPy36
, isPyPy
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "networkx"; pname = "networkx";
version = "1.11"; version = "2.1";
# Currently broken on PyPy.
# https://github.com/networkx/networkx/pull/1361
disabled = isPyPy;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1f74s56xb4ggixiq0vxyfxsfk8p20c7a099lpcf60izv1php03hd"; extension = "zip";
sha256 = "64272ca418972b70a196cb15d9c85a5a6041f09a2f32e0d30c0255f25d458bb1";
}; };
checkInputs = [ nose ]; checkInputs = [ nose ];
propagatedBuildInputs = [ decorator ]; propagatedBuildInputs = [ decorator ];
# 17 failures with 3.6 https://github.com/networkx/networkx/issues/2396#issuecomment-304437299
doCheck = !(isPy36);
meta = { meta = {
homepage = "https://networkx.github.io/"; homepage = "https://networkx.github.io/";
description = "Library for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks"; description = "Library for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
}; };
} }