parent
683f02ecd2
commit
44fcb4aa13
|
@ -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-oauthlib = callPackage ../development/python-modules/google-auth-oauthlib { };
|
||||
|
||||
google_api_core = callPackage ../development/python-modules/google_api_core { };
|
||||
|
||||
google_api_python_client = let
|
||||
|
|
Loading…
Reference in a new issue