tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python.pkgs.google_gax: remove unused expression
Robert Schütz
7 years ago
5cc97704
6a8f7e40
-31
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
google_gax
default.nix
-31
pkgs/development/python-modules/google_gax/default.nix
···
1
1
-
{ stdenv, buildPythonPackage, fetchPypi
2
2
-
, google_auth, ply, protobuf, grpcio, requests
3
3
-
, googleapis_common_protos, dill, future, pytest, mock, unittest2 }:
4
4
-
5
5
-
buildPythonPackage rec {
6
6
-
pname = "google-gax";
7
7
-
version = "0.16.0";
8
8
-
9
9
-
src = fetchPypi {
10
10
-
inherit pname version;
11
11
-
sha256 = "1d844c56f942d98f12a1b0ecabe8a17d69bef41ff513edd97253bcde02ffd929";
12
12
-
};
13
13
-
14
14
-
propagatedBuildInputs = [ google_auth ply protobuf grpcio requests googleapis_common_protos dill future ];
15
15
-
checkInputs = [ pytest mock unittest2 ];
16
16
-
17
17
-
# Importing test__grpc_google_auth fails with "ModuleNotFoundError: No module named 'google_auth_httplib2'", where
18
18
-
# that file would be is unclear to me so I just remove the test.
19
19
-
postPatch = ''rm tests/test__grpc_google_auth.py'';
20
20
-
21
21
-
checkPhase = ''
22
22
-
py.test
23
23
-
'';
24
24
-
25
25
-
meta = with stdenv.lib; {
26
26
-
description = "Google API Extensions for Python (gax-python) tools based on gRPC and Google API conventions.";
27
27
-
homepage = "http://gax-python.readthedocs.io/en/latest/";
28
28
-
license = licenses.bsd3;
29
29
-
maintainers = with maintainers; [ vanschelven ];
30
30
-
};
31
31
-
}