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

27 lines
584 B
Nix
Raw Normal View History

2018-01-01 16:11:22 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, nose
, decorator
}:
buildPythonPackage rec {
pname = "networkx";
2018-02-19 19:48:32 +01:00
version = "2.1";
2018-01-01 16:11:22 +01:00
src = fetchPypi {
inherit pname version;
2018-02-19 19:48:32 +01:00
extension = "zip";
sha256 = "64272ca418972b70a196cb15d9c85a5a6041f09a2f32e0d30c0255f25d458bb1";
2018-01-01 16:11:22 +01:00
};
checkInputs = [ nose ];
propagatedBuildInputs = [ decorator ];
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 19:48:32 +01:00
}