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