1{ stdenv, buildPythonPackage, fetchPypi
2, google_api_core, grpcio, pytest, mock }:
3
4buildPythonPackage rec {
5 pname = "google-cloud-core";
6 version = "0.28.1";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "89e8140a288acec20c5e56159461d3afa4073570c9758c05d4e6cb7f2f8cc440";
11 };
12
13 propagatedBuildInputs = [ google_api_core grpcio ];
14 checkInputs = [ pytest mock ];
15
16 checkPhase = ''
17 py.test
18 '';
19
20 meta = with stdenv.lib; {
21 description = "API Client library for Google Cloud: Core Helpers";
22 homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
23 license = licenses.asl20;
24 maintainers = with maintainers; [ vanschelven ];
25 };
26}