1{ lib
2, buildPythonPackage
3, fetchPypi
4, flask
5, mock
6, six
7, pytest
8, pytest-localserver
9, google_auth
10, httplib2
11
12}:
13
14buildPythonPackage rec {
15 pname = "google-auth-httplib2";
16 version = "0.0.3";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "098fade613c25b4527b2c08fa42d11f3c2037dda8995d86de0745228e965d445";
21 };
22
23 checkInputs = [
24 flask mock six pytest pytest-localserver
25 ];
26
27 propagatedBuildInputs = [
28 google_auth httplib2
29 ];
30
31 checkPhase = ''
32 py.test
33 '';
34
35 meta = {
36 description = "Google Authentication Library: httplib2 transport";
37 homepage = https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2;
38 license = lib.licenses.asl20;
39 };
40
41}