Merge pull request #117054 from dotlambda/google-auth-fix

This commit is contained in:
Sandro 2021-03-20 20:24:42 +01:00 committed by GitHub
commit 8191fbba81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, isPy27
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
}: }:
@ -8,6 +9,8 @@ buildPythonPackage rec {
pname = "cachetools"; pname = "cachetools";
version = "4.2.1"; version = "4.2.1";
disabled = isPy27;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tkem"; owner = "tkem";
repo = pname; repo = pname;

View File

@ -13,6 +13,7 @@
, responses , responses
, rsa , rsa
, six , six
, pyopenssl
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -24,7 +25,13 @@ buildPythonPackage rec {
sha256 = "0bmdqkyv8k8n6s8dss4zpbcq1cdxwicpb42kwybd02ia85mh43hb"; sha256 = "0bmdqkyv8k8n6s8dss4zpbcq1cdxwicpb42kwybd02ia85mh43hb";
}; };
propagatedBuildInputs = [ pyasn1-modules cachetools rsa six ]; propagatedBuildInputs = [
cachetools
pyasn1-modules
rsa
six
pyopenssl
];
checkInputs = [ checkInputs = [
flask flask