depot/third_party/nixpkgs/pkgs/development/python-modules/networkx/2.2.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
679 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, decorator
, setuptools
}:
buildPythonPackage rec {
pname = "networkx";
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
version = "2.2";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "12swxb15299v9vqjsq4z8rgh5sdhvpx497xwnhpnb0gynrx6zra5";
};
checkInputs = [ nose ];
propagatedBuildInputs = [ decorator setuptools ];
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;
};
}