mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 16:34:27 +00:00
0215034f25
when they already rely on SRI hashes.
31 lines
739 B
Nix
31 lines
739 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 = "3.0";
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-mpmSNFNTYYrpgznCtj2CAcOBwpRPOKKrSctFpMZn5BI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ decorator setuptools ];
|
|
nativeCheckInputs = [ 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;
|
|
};
|
|
}
|