pythonPackages.networkx: freeze at 2.2
This commit is contained in:
parent
36119423e2
commit
fa3287ec79
2 changed files with 31 additions and 1 deletions
28
pkgs/development/python-modules/networkx/2.2.nix
Normal file
28
pkgs/development/python-modules/networkx/2.2.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
|
@ -5732,7 +5732,9 @@ in {
|
|||
|
||||
parsimonious = callPackage ../development/python-modules/parsimonious { };
|
||||
|
||||
networkx = callPackage ../development/python-modules/networkx { };
|
||||
networkx = if isPy3k then callPackage ../development/python-modules/networkx { }
|
||||
else
|
||||
callPackage ../development/python-modules/networkx/2.2.nix { };
|
||||
|
||||
ofxclient = callPackage ../development/python-modules/ofxclient {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue