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, pythonOlder
12}:
13
14buildPythonPackage rec {
15 pname = "google-cloud-container";
16 version = "2.13.0";
17 format = "setuptools";
18
19 disabled = pythonOlder "3.7";
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-Rq4DuCbXX4DSIr01AFYo0O4+wQv4B5yzrrX9a2ecAFI=";
24 };
25
26 propagatedBuildInputs = [
27 google-api-core
28 grpc-google-iam-v1
29 libcst
30 proto-plus
31 ];
32
33 checkInputs = [
34 mock
35 pytestCheckHook
36 pytest-asyncio
37 ];
38
39 disabledTests = [
40 # requires credentials
41 "test_list_clusters"
42 ];
43
44 pythonImportsCheck = [
45 "google.cloud.container"
46 "google.cloud.container_v1"
47 "google.cloud.container_v1beta1"
48 ];
49
50 meta = with lib; {
51 description = "Google Container Engine API client library";
52 homepage = "https://github.com/googleapis/python-container";
53 license = licenses.asl20;
54 maintainers = with maintainers; [ SuperSandro2000 ];
55 };
56}