python2Packages.cachetools: restore 3.1.1 for python2
This commit is contained in:
parent
dc911b165b
commit
444a6b8d9e
|
@ -3,7 +3,6 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cachetools";
|
pname = "cachetools";
|
||||||
version = "4.0.0";
|
version = "4.0.0";
|
||||||
disabled = isPy27;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
|
@ -4392,7 +4392,17 @@ in {
|
||||||
|
|
||||||
rfc3986 = callPackage ../development/python-modules/rfc3986 { };
|
rfc3986 = callPackage ../development/python-modules/rfc3986 { };
|
||||||
|
|
||||||
cachetools = callPackage ../development/python-modules/cachetools {};
|
cachetools = let
|
||||||
|
cachetools' = callPackage ../development/python-modules/cachetools {};
|
||||||
|
cachetools_2 = cachetools'.overridePythonAttrs(oldAttrs: rec {
|
||||||
|
version = "3.1.1";
|
||||||
|
src = oldAttrs.src.override {
|
||||||
|
inherit version;
|
||||||
|
sha256 = "16m69l6n6y1r1y7cklm92rr7v69ldig2n3lbl3j323w5jz7d78lf";
|
||||||
|
};
|
||||||
|
|
||||||
|
});
|
||||||
|
in if isPy3k then cachetools' else cachetools_2;
|
||||||
|
|
||||||
cma = callPackage ../development/python-modules/cma { };
|
cma = callPackage ../development/python-modules/cma { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue