@@ -0,0 +1,39 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, click
5+, mock
6+, pytest
7+, futures
8+, google_auth
9+, requests_oauthlib
10+}:
11+
12+buildPythonPackage rec {
13+ pname = "google-auth-oauthlib";
14+ version = "0.2.0";
15+
16+ src = fetchPypi {
17+ inherit pname version;
18+ sha256 = "226d1d0960f86ba5d9efd426a70b291eaba96f47d071657e0254ea969025728a";
19+ };
20+
21+ checkInputs = [
22+ click mock pytest futures
23+ ];
24+
25+ propagatedBuildInputs = [
26+ google_auth requests_oauthlib
27+ ];
28+
29+ checkPhase = ''
30+ py.test
31+ '';
32+
33+ meta = with lib; {
34+ description = "Google Authentication Library: oauthlib integration";
35+ homepage = https://github.com/GoogleCloudPlatform/google-auth-library-python-oauthlib;
36+ license = licenses.asl20;
37+ maintainers = with maintainers; [ terlar ];
38+ };
39+}