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