diff options
Diffstat (limited to 'pkgs/development/python-modules/google-auth/default.nix')
-rw-r--r-- | pkgs/development/python-modules/google-auth/default.nix | 95 |
1 files changed, 46 insertions, 49 deletions
diff --git a/pkgs/development/python-modules/google-auth/default.nix b/pkgs/development/python-modules/google-auth/default.nix index efe5dcd33541d..807cf745f788b 100644 --- a/pkgs/development/python-modules/google-auth/default.nix +++ b/pkgs/development/python-modules/google-auth/default.nix @@ -1,44 +1,43 @@ -{ lib -, stdenv -, aiohttp -, aioresponses -, buildPythonPackage -, cachetools -, cryptography -, fetchPypi -, flask -, freezegun -, grpcio -, mock -, oauth2client -, pyasn1-modules -, pyopenssl -, pytest-asyncio -, pytest-localserver -, pytestCheckHook -, pythonOlder -, pyu2f -, requests -, responses -, rsa -, setuptools +{ + lib, + stdenv, + aiohttp, + aioresponses, + buildPythonPackage, + cachetools, + cryptography, + fetchPypi, + flask, + freezegun, + grpcio, + mock, + oauth2client, + pyasn1-modules, + pyopenssl, + pytest-asyncio, + pytest-localserver, + pytestCheckHook, + pythonOlder, + pyu2f, + requests, + responses, + rsa, + setuptools, }: buildPythonPackage rec { pname = "google-auth"; - version = "2.28.1"; + version = "2.29.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-NPwwRsJXztzxYi/Esx/Cvnkj2bTUSXPUgRJezFDYOIU="; + hash = "sha256-Zy3/My0HMidVD/x0V4aKxCGNbFALFV/mzBfSsTYCw2A="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ cachetools @@ -59,28 +58,26 @@ buildPythonPackage rec { cryptography pyopenssl ]; - reauth = [ - pyu2f - ]; - requests = [ - requests - ]; + reauth = [ pyu2f ]; + requests = [ requests ]; }; - nativeCheckInputs = [ - aioresponses - flask - freezegun - grpcio - mock - oauth2client - pytest-asyncio - pytest-localserver - pytestCheckHook - responses - ] ++ passthru.optional-dependencies.aiohttp - ++ passthru.optional-dependencies.enterprise_cert - ++ passthru.optional-dependencies.reauth; + nativeCheckInputs = + [ + aioresponses + flask + freezegun + grpcio + mock + oauth2client + pytest-asyncio + pytest-localserver + pytestCheckHook + responses + ] + ++ passthru.optional-dependencies.aiohttp + ++ passthru.optional-dependencies.enterprise_cert + ++ passthru.optional-dependencies.reauth; pythonImportsCheck = [ "google.auth" |