diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2018-01-02 19:10:45 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-01-02 19:10:45 +0100 |
commit | 804285f589ded484b530750dd1ec03b9052bcdac (patch) | |
tree | 8b20955e293215e1b8d672a3fd38867c39484609 /pkgs/development/python-modules/networkx | |
parent | 63c1a54257a5cef15b926c0843b3c7557c6f9a24 (diff) | |
parent | 4cc2a38854338ba783fb867ff924200b59867773 (diff) | |
download | nixlib-804285f589ded484b530750dd1ec03b9052bcdac.tar nixlib-804285f589ded484b530750dd1ec03b9052bcdac.tar.gz nixlib-804285f589ded484b530750dd1ec03b9052bcdac.tar.bz2 nixlib-804285f589ded484b530750dd1ec03b9052bcdac.tar.lz nixlib-804285f589ded484b530750dd1ec03b9052bcdac.tar.xz nixlib-804285f589ded484b530750dd1ec03b9052bcdac.tar.zst nixlib-804285f589ded484b530750dd1ec03b9052bcdac.zip |
Merge remote-tracking branch 'upstream/staging' into HEAD
Diffstat (limited to 'pkgs/development/python-modules/networkx')
-rw-r--r-- | pkgs/development/python-modules/networkx/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/networkx/default.nix b/pkgs/development/python-modules/networkx/default.nix new file mode 100644 index 000000000000..f6fc4139c858 --- /dev/null +++ b/pkgs/development/python-modules/networkx/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, 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; + + src = fetchPypi { + inherit pname version; + sha256 = "1f74s56xb4ggixiq0vxyfxsfk8p20c7a099lpcf60izv1php03hd"; + }; + + 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 |