1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, google_api_core
5, grpc_google_iam_v1
6, pytest
7, mock
8}:
9
10buildPythonPackage rec {
11 pname = "google-cloud-container";
12 version = "2.0.1";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "6f714e3d427e2b36d1365fc400f4d379972529fb40f798d9c0e06c7c3418fc89";
17 };
18
19 checkInputs = [ pytest mock ];
20 propagatedBuildInputs = [ google_api_core grpc_google_iam_v1 ];
21
22 checkPhase = ''
23 pytest tests/unit
24 '';
25
26 meta = with stdenv.lib; {
27 broken = true;
28 description = "Google Container Engine API client library";
29 homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
30 license = licenses.asl20;
31 maintainers = [ maintainers.costrouc ];
32 };
33}