evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-container / default.nix
blob218d0fe52c0ca845dbc09bb7211752ecec014918
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   google-api-core,
6   libcst,
7   mock,
8   proto-plus,
9   protobuf,
10   pytest-asyncio,
11   pytestCheckHook,
12   pythonOlder,
13   setuptools,
16 buildPythonPackage rec {
17   pname = "google-cloud-container";
18   version = "2.53.0";
19   pyproject = true;
21   disabled = pythonOlder "3.7";
23   src = fetchPypi {
24     pname = "google_cloud_container";
25     inherit version;
26     hash = "sha256-vgvcpw8DrBwRbpVkywpNYZGXagpNhV2BO9+CSt1LFVA=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [
32     google-api-core
33     libcst
34     proto-plus
35     protobuf
36   ] ++ google-api-core.optional-dependencies.grpc;
38   nativeCheckInputs = [
39     mock
40     pytest-asyncio
41     pytestCheckHook
42   ];
44   disabledTests = [
45     # Test requires credentials
46     "test_list_clusters"
47   ];
49   pythonImportsCheck = [
50     "google.cloud.container"
51     "google.cloud.container_v1"
52     "google.cloud.container_v1beta1"
53   ];
55   meta = with lib; {
56     description = "Google Container Engine API client library";
57     homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-container";
58     changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-container-v${version}/packages/google-cloud-container/CHANGELOG.md";
59     license = licenses.asl20;
60     maintainers = [ ];
61   };