2019-03-15 21:26:53 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, click
|
|
|
|
, mock
|
2021-01-05 15:30:32 +00:00
|
|
|
, pytestCheckHook
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-auth
|
2019-03-15 21:26:53 +00:00
|
|
|
, requests_oauthlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-auth-oauthlib";
|
2020-11-04 14:04:22 +00:00
|
|
|
version = "0.4.2";
|
2019-03-15 21:26:53 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-05 15:30:32 +00:00
|
|
|
sha256 = "1nai9k86g7g7w1pxk105dllncgax8nc5hpmk758b3jnqkb1mpdk5";
|
2019-03-15 21:26:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-01-06 09:46:48 +00:00
|
|
|
google-auth
|
2021-01-05 15:30:32 +00:00
|
|
|
requests_oauthlib
|
2019-03-15 21:26:53 +00:00
|
|
|
];
|
|
|
|
|
2021-01-05 15:30:32 +00:00
|
|
|
checkInputs = [
|
|
|
|
click
|
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2019-03-15 21:26:53 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Google Authentication Library: oauthlib integration";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib";
|
2019-03-15 21:26:53 +00:00
|
|
|
license = licenses.asl20;
|
2021-01-05 15:30:32 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 terlar ];
|
2019-03-15 21:26:53 +00:00
|
|
|
};
|
|
|
|
}
|