nixpkgs/pkgs/development/python-modules/networkx/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
739 B
Nix
Raw Normal View History

2018-01-01 15:11:22 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
, pytestCheckHook
2018-01-01 15:11:22 +00:00
, decorator
, setuptools
, pythonOlder
2018-01-01 15:11:22 +00:00
}:
buildPythonPackage rec {
pname = "networkx";
2018-10-24 13:34:13 +00:00
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
2023-02-27 01:14:32 +00:00
version = "3.0";
disabled = pythonOlder "3.8";
2018-01-01 15:11:22 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-mpmSNFNTYYrpgznCtj2CAcOBwpRPOKKrSctFpMZn5BI=";
2018-01-01 15:11:22 +00:00
};
propagatedBuildInputs = [ decorator setuptools ];
nativeCheckInputs = [ nose pytestCheckHook ];
2018-01-01 15:11:22 +00:00
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
}