python-google_auth: build this package with on older version of cachetools

Fixes https://github.com/NixOS/nixpkgs/issues/76978.
This commit is contained in:
Peter Simons 2020-01-05 14:47:56 +01:00
parent 7391a22a44
commit 177ab0e01e
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,17 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "cachetools";
version = "3.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "8ea2d3ce97850f31e4a08b0e2b5e6c34997d7216a9d2c98e0f3978630d4da69a";
};
meta = with stdenv.lib; {
description = "Extensible memoizing collections and decorators";
homepage = "https://github.com/tkem/cachetools";
license = licenses.mit;
};
}

View file

@ -3553,7 +3553,7 @@ in {
google_apputils = callPackage ../development/python-modules/google_apputils { };
google_auth = callPackage ../development/python-modules/google_auth { };
google_auth = callPackage ../development/python-modules/google_auth { cachetools = self.cachetools_3_1_1; };
google_cloud_asset = callPackage ../development/python-modules/google_cloud_asset { };
@ -4374,6 +4374,7 @@ in {
rfc3986 = callPackage ../development/python-modules/rfc3986 { };
cachetools = callPackage ../development/python-modules/cachetools {};
cachetools_3_1_1 = callPackage ../development/python-modules/cachetools/3.1.1.nix {};
cma = callPackage ../development/python-modules/cma { };