02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
30 lines
737 B
Nix
30 lines
737 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, pytestCheckHook
|
|
, decorator
|
|
, setuptools
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "networkx";
|
|
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
|
|
version = "2.8.4";
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-XlPwJ8DVZ88fiE27KDIk31JWROQ6/RFF1kydiKNYR2I=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ decorator setuptools ];
|
|
checkInputs = [ nose pytestCheckHook ];
|
|
|
|
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;
|
|
};
|
|
}
|