python3Packages.cachetools: remove cachetools_2

This commit is contained in:
Fabian Affolter 2021-02-01 11:08:48 +01:00
parent a3cdaa5ec6
commit bcc3ab1d37

View File

@ -1119,16 +1119,7 @@ in {
cachelib = callPackage ../development/python-modules/cachelib { };
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;
cachetools = callPackage ../development/python-modules/cachetools { };
cachy = callPackage ../development/python-modules/cachy { };