2018-01-01 15:11:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, decorator
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "networkx";
|
2018-10-24 14:34:13 +01:00
|
|
|
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
|
|
|
|
version = "2.2";
|
2018-01-01 15:11:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-19 18:48:32 +00:00
|
|
|
extension = "zip";
|
2018-10-24 14:34:13 +01:00
|
|
|
sha256 = "12swxb15299v9vqjsq4z8rgh5sdhvpx497xwnhpnb0gynrx6zra5";
|
2018-01-01 15:11:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ decorator ];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
2018-02-19 18:48:32 +00:00
|
|
|
}
|