1{ stdenv, buildPythonPackage, fetchPypi
2, google_auth, protobuf, googleapis_common_protos, requests, grpcio, setuptools, mock, pytest }:
3
4buildPythonPackage rec {
5 pname = "google-api-core";
6 version = "0.1.4";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "0144d467083ed54d2e8ccb4212d42c3724fe0b844b7d3a0ff85aea54b7ae8347";
11 };
12
13 propagatedBuildInputs = [ google_auth protobuf googleapis_common_protos requests grpcio ];
14 checkInputs = [ setuptools mock pytest ];
15
16 checkPhase = ''
17 py.test
18 '';
19
20 meta = with stdenv.lib; {
21 description = "This library is not meant to stand-alone. Instead it defines common helpers used by all Google API clients.";
22 homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
23 license = licenses.asl20;
24 maintainers = with maintainers; [ vanschelven ];
25 };
26}