1{ lib
2, buildPythonPackage
3, fetchPypi
4, flask
5, google-auth
6, httplib2
7, mock
8, pytest-localserver
9, pytestCheckHook
10, pythonOlder
11}:
12
13buildPythonPackage rec {
14 pname = "google-auth-httplib2";
15 version = "0.1.1";
16 format = "setuptools";
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-xkvFVf3G3XiOpi7Pe8z/z0l793JEiHo/PXpaAvjj/Ck=";
23 };
24
25 propagatedBuildInputs = [
26 google-auth
27 httplib2
28 ];
29
30 __darwinAllowLocalNetworking = true;
31
32 nativeCheckInputs = [
33 flask
34 mock
35 pytestCheckHook
36 pytest-localserver
37 ];
38
39 meta = with lib; {
40 description = "Google Authentication Library: httplib2 transport";
41 homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2";
42 changelog = "https://github.com/googleapis/google-auth-library-python-httplib2/blob/v${version}/CHANGELOG.md";
43 license = licenses.asl20;
44 maintainers = with maintainers; [ ];
45 };
46}