@@ -1,31 +0,0 @@
1−{ stdenv, buildPythonPackage, fetchPypi
2−, google_auth, ply, protobuf, grpcio, requests
3−, googleapis_common_protos, dill, future, pytest, mock, unittest2 }:
4−
5−buildPythonPackage rec {
6− pname = "google-gax";
7− version = "0.16.0";
8−
9− src = fetchPypi {
10− inherit pname version;
11− sha256 = "1d844c56f942d98f12a1b0ecabe8a17d69bef41ff513edd97253bcde02ffd929";
12− };
13−
14− propagatedBuildInputs = [ google_auth ply protobuf grpcio requests googleapis_common_protos dill future ];
15− checkInputs = [ pytest mock unittest2 ];
16−
17− # Importing test__grpc_google_auth fails with "ModuleNotFoundError: No module named 'google_auth_httplib2'", where
18− # that file would be is unclear to me so I just remove the test.
19− postPatch = ''rm tests/test__grpc_google_auth.py'';
20−
21− checkPhase = ''
22− py.test
23− '';
24−
25− meta = with stdenv.lib; {
26− description = "Google API Extensions for Python (gax-python) tools based on gRPC and Google API conventions.";
27− homepage = "http://gax-python.readthedocs.io/en/latest/";
28− license = licenses.bsd3;
29− maintainers = with maintainers; [ vanschelven ];
30− };
31−}