Merge pull request #57705 from terlar/add-python-package-google-auth-oauthlib
pythonPackages.google-auth-oauthlib: init at 0.2.0
This commit is contained in:
commit
0866dd09e9
@ -4683,6 +4683,11 @@
|
|||||||
github = "teozkr";
|
github = "teozkr";
|
||||||
name = "Teo Klestrup Röijezon";
|
name = "Teo Klestrup Röijezon";
|
||||||
};
|
};
|
||||||
|
terlar = {
|
||||||
|
email = "terlar@gmail.com";
|
||||||
|
github = "terlar";
|
||||||
|
name = "Terje Larsen";
|
||||||
|
};
|
||||||
teto = {
|
teto = {
|
||||||
email = "mcoudron@hotmail.com";
|
email = "mcoudron@hotmail.com";
|
||||||
github = "teto";
|
github = "teto";
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, click
|
||||||
|
, mock
|
||||||
|
, pytest
|
||||||
|
, futures
|
||||||
|
, google_auth
|
||||||
|
, requests_oauthlib
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "google-auth-oauthlib";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "226d1d0960f86ba5d9efd426a70b291eaba96f47d071657e0254ea969025728a";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
click mock pytest futures
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
google_auth requests_oauthlib
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Google Authentication Library: oauthlib integration";
|
||||||
|
homepage = https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib;
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ terlar ];
|
||||||
|
};
|
||||||
|
}
|
@ -2697,6 +2697,8 @@ in {
|
|||||||
|
|
||||||
google-auth-httplib2 = callPackage ../development/python-modules/google-auth-httplib2 { };
|
google-auth-httplib2 = callPackage ../development/python-modules/google-auth-httplib2 { };
|
||||||
|
|
||||||
|
google-auth-oauthlib = callPackage ../development/python-modules/google-auth-oauthlib { };
|
||||||
|
|
||||||
google_api_core = callPackage ../development/python-modules/google_api_core { };
|
google_api_core = callPackage ../development/python-modules/google_api_core { };
|
||||||
|
|
||||||
google_api_python_client = let
|
google_api_python_client = let
|
||||||
|
Loading…
x
Reference in New Issue
Block a user