1{ lib
2, buildPythonPackage
3, fetchPypi
4, google-api-core
5, grpc-google-iam-v1
6, libcst
7, mock
8, proto-plus
9, pytestCheckHook
10, pytest-asyncio
11}:
12
13buildPythonPackage rec {
14 pname = "google-cloud-container";
15 version = "2.10.1";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "939970cd09384dde6d6f6758b03648fd8f52fe5c2f83f73300575f7e4e3b2ee0";
20 };
21
22 propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ];
23
24 checkInputs = [ mock pytestCheckHook pytest-asyncio ];
25
26 disabledTests = [
27 # requires credentials
28 "test_list_clusters"
29 ];
30
31 pythonImportsCheck = [
32 "google.cloud.container"
33 "google.cloud.container_v1"
34 "google.cloud.container_v1beta1"
35 ];
36
37 meta = with lib; {
38 description = "Google Container Engine API client library";
39 homepage = "https://github.com/googleapis/python-container";
40 license = licenses.asl20;
41 maintainers = with maintainers; [ SuperSandro2000 ];
42 };
43}