about summary refs log tree commit diff
path: root/pkgs/development/python-modules/networkx
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-02-19 19:48:32 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-02-22 01:46:10 +0100
commit46d7d069efb99445cc0b81d344cd36cf1d76d1f5 (patch)
tree5a982dc59815632a01ede8df4db3527e3253826e /pkgs/development/python-modules/networkx
parent276fb965324d724fb012774401f4d15bce3bfea9 (diff)
downloadnixlib-46d7d069efb99445cc0b81d344cd36cf1d76d1f5.tar
nixlib-46d7d069efb99445cc0b81d344cd36cf1d76d1f5.tar.gz
nixlib-46d7d069efb99445cc0b81d344cd36cf1d76d1f5.tar.bz2
nixlib-46d7d069efb99445cc0b81d344cd36cf1d76d1f5.tar.lz
nixlib-46d7d069efb99445cc0b81d344cd36cf1d76d1f5.tar.xz
nixlib-46d7d069efb99445cc0b81d344cd36cf1d76d1f5.tar.zst
nixlib-46d7d069efb99445cc0b81d344cd36cf1d76d1f5.zip
pythonPackages.networkx: 1.11 -> 2.1
Diffstat (limited to 'pkgs/development/python-modules/networkx')
-rw-r--r--pkgs/development/python-modules/networkx/default.nix16
1 files changed, 4 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/networkx/default.nix b/pkgs/development/python-modules/networkx/default.nix
index f6fc4139c858..3388aef9cef1 100644
--- a/pkgs/development/python-modules/networkx/default.nix
+++ b/pkgs/development/python-modules/networkx/default.nix
@@ -3,32 +3,24 @@
 , fetchPypi
 , nose
 , decorator
-, isPy36
-, isPyPy
 }:
 
 buildPythonPackage rec {
   pname = "networkx";
-  version = "1.11";
-
-  # Currently broken on PyPy.
-  # https://github.com/networkx/networkx/pull/1361
-  disabled = isPyPy;
+  version = "2.1";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "1f74s56xb4ggixiq0vxyfxsfk8p20c7a099lpcf60izv1php03hd";
+    extension = "zip";
+    sha256 = "64272ca418972b70a196cb15d9c85a5a6041f09a2f32e0d30c0255f25d458bb1";
   };
 
   checkInputs = [ nose ];
   propagatedBuildInputs = [ decorator ];
 
-  # 17 failures with 3.6 https://github.com/networkx/networkx/issues/2396#issuecomment-304437299
-  doCheck = !(isPy36);
-
   meta = {
     homepage = "https://networkx.github.io/";
     description = "Library for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks";
     license = lib.licenses.bsd3;
   };
-}
\ No newline at end of file
+}