blob: fd8eb816784e3fcc5909135e8226f6159a4e3a6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 ];
};
}
|