python3Packages.google_auth: 1.20.1 -> 1.22.1

This commit is contained in:
Austin Butler 2020-11-02 17:14:43 -08:00 committed by Jonathan Ringer
parent b6421926db
commit 618da3917d

View File

@ -1,29 +1,19 @@
{ stdenv, buildPythonPackage, fetchpatch, fetchPypi
, cachetools
, flask
, freezegun
, mock
, oauth2client
, pyasn1-modules
, pytest
, pytest-localserver
, requests
, responses
, rsa
, setuptools
, six
, urllib3
}:
{ stdenv, buildPythonPackage, fetchpatch, fetchPypi, pythonOlder
, pytestCheckHook, cachetools, flask, freezegun, mock, oauth2client
, pyasn1-modules, pytest, pytest-localserver, requests, responses, rsa
, setuptools, six, urllib3 }:
buildPythonPackage rec {
pname = "google-auth";
version = "1.20.1";
version = "1.22.1";
src = fetchPypi {
inherit pname version;
sha256 = "2f34dd810090d0d4c9d5787c4ad7b4413d1fbfb941e13682c7a2298d3b6cdcc8";
sha256 = "1fs448jcx2cbpk0nq3picndfryjsakmd9allggvh7mrqjiw723ww";
};
disabled = pythonOlder "3.5";
propagatedBuildInputs = [ six pyasn1-modules cachetools rsa setuptools ];
checkInputs = [
@ -31,17 +21,13 @@ buildPythonPackage rec {
freezegun
mock
oauth2client
pytest
pytestCheckHook
pytest-localserver
requests
responses
urllib3
];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
description = "Google Auth Python Library";
longDescription = ''
@ -49,7 +35,8 @@ buildPythonPackage rec {
authentication mechanisms to access Google APIs.
'';
homepage = "https://github.com/googleapis/google-auth-library-python";
changelog = "https://github.com/googleapis/google-auth-library-python/blob/v${version}/CHANGELOG.md";
changelog =
"https://github.com/googleapis/google-auth-library-python/blob/v${version}/CHANGELOG.md";
# Documentation: https://googleapis.dev/python/google-auth/latest/index.html
license = licenses.asl20;
maintainers = with maintainers; [ ];