pythonPackages.google-auth-oauthlib: init at 0.2.0

Fix #57022
This commit is contained in:
Terje Larsen 2019-03-15 22:26:53 +01:00
parent 683f02ecd2
commit 44fcb4aa13
No known key found for this signature in database
GPG key ID: A88B401A8DB3C7D6
2 changed files with 41 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -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