2021-02-05 17:12:51 +00:00
|
|
|
|
{ lib
|
2021-01-09 10:05:03 +00:00
|
|
|
|
, buildPythonPackage
|
|
|
|
|
, fetchpatch
|
|
|
|
|
, fetchPypi
|
|
|
|
|
, pytestCheckHook
|
|
|
|
|
, cachetools
|
|
|
|
|
, flask
|
|
|
|
|
, freezegun
|
|
|
|
|
, mock
|
|
|
|
|
, oauth2client
|
|
|
|
|
, pyasn1-modules
|
|
|
|
|
, pytest-localserver
|
|
|
|
|
, responses
|
|
|
|
|
, rsa
|
2021-03-09 03:18:52 +00:00
|
|
|
|
, six
|
2021-04-05 15:23:46 +00:00
|
|
|
|
, pyopenssl
|
2021-01-09 10:05:03 +00:00
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "google-auth";
|
|
|
|
|
version = "1.24.0";
|
|
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
|
inherit pname version;
|
|
|
|
|
sha256 = "0bmdqkyv8k8n6s8dss4zpbcq1cdxwicpb42kwybd02ia85mh43hb";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
|
cachetools
|
|
|
|
|
pyasn1-modules
|
|
|
|
|
rsa
|
|
|
|
|
six
|
|
|
|
|
pyopenssl
|
|
|
|
|
];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
|
flask
|
|
|
|
|
freezegun
|
|
|
|
|
mock
|
|
|
|
|
oauth2client
|
|
|
|
|
pytestCheckHook
|
|
|
|
|
pytest-localserver
|
|
|
|
|
responses
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
|
"google.auth"
|
|
|
|
|
"google.oauth2"
|
|
|
|
|
];
|
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
|
meta = with lib; {
|
2021-01-09 10:05:03 +00:00
|
|
|
|
description = "Google Auth Python Library";
|
|
|
|
|
longDescription = ''
|
|
|
|
|
This library simplifies using Google’s various server-to-server
|
|
|
|
|
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";
|
|
|
|
|
license = licenses.asl20;
|
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
|
};
|
|
|
|
|
}
|