1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, decorator
6, setuptools
7}:
8
9buildPythonPackage rec {
10 pname = "networkx";
11 # upgrade may break sage, please test the sage build or ping @timokau on upgrade
12 version = "2.2";
13
14 src = fetchPypi {
15 inherit pname version;
16 extension = "zip";
17 sha256 = "12swxb15299v9vqjsq4z8rgh5sdhvpx497xwnhpnb0gynrx6zra5";
18 };
19
20 checkInputs = [ nose ];
21 propagatedBuildInputs = [ decorator setuptools ];
22
23 meta = {
24 homepage = "https://networkx.github.io/";
25 description = "Library for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks";
26 license = lib.licenses.bsd3;
27 };
28}