1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, decorator
6}:
7
8buildPythonPackage rec {
9 pname = "networkx";
10 version = "2.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 extension = "zip";
15 sha256 = "64272ca418972b70a196cb15d9c85a5a6041f09a2f32e0d30c0255f25d458bb1";
16 };
17
18 checkInputs = [ nose ];
19 propagatedBuildInputs = [ decorator ];
20
21 meta = {
22 homepage = "https://networkx.github.io/";
23 description = "Library for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks";
24 license = lib.licenses.bsd3;
25 };
26}