1{ lib
2, buildPythonPackage
3, fetchPypi
4, google-api-core
5, grpc-google-iam-v1
6, proto-plus
7, protobuf
8, pytest-asyncio
9, pytestCheckHook
10, pythonOlder
11}:
12
13buildPythonPackage rec {
14 pname = "google-cloud-securitycenter";
15 version = "1.24.0";
16 format = "setuptools";
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-KsXsWGEUwD0UFRD7V4rfqEuRjyWeU/PmPdh8X6djhG0=";
23 };
24
25 propagatedBuildInputs = [
26 grpc-google-iam-v1
27 google-api-core
28 proto-plus
29 protobuf
30 ] ++ google-api-core.optional-dependencies.grpc;
31
32 nativeCheckInputs = [
33 pytestCheckHook
34 pytest-asyncio
35 ];
36
37 pythonImportsCheck = [
38 "google.cloud.securitycenter"
39 "google.cloud.securitycenter_v1"
40 "google.cloud.securitycenter_v1beta1"
41 "google.cloud.securitycenter_v1p1beta1"
42 ];
43
44 meta = with lib; {
45 description = "Cloud Security Command Center API API client library";
46 homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-securitycenter";
47 changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-securitycenter-v${version}/packages/google-cloud-securitycenter/CHANGELOG.md";
48 license = licenses.asl20;
49 maintainers = with maintainers; [ ];
50 };
51}