1{ lib
2, buildPythonPackage
3, fetchPypi
4, grpc-google-iam-v1
5, google-api-core
6, libcst
7, mock
8, proto-plus
9, pytestCheckHook
10, pytest-asyncio
11}:
12
13buildPythonPackage rec {
14 pname = "google-cloud-securitycenter";
15 version = "1.7.0";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "7321a88191d61ca0cc720b7ad07d9693e07726728492739930562bcd33ec1494";
20 };
21
22 propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ];
23
24 checkInputs = [ mock pytestCheckHook pytest-asyncio ];
25
26 pythonImportsCheck = [
27 "google.cloud.securitycenter"
28 "google.cloud.securitycenter_v1"
29 "google.cloud.securitycenter_v1beta1"
30 "google.cloud.securitycenter_v1p1beta1"
31 ];
32
33 meta = with lib; {
34 description = "Cloud Security Command Center API API client library";
35 homepage = "https://github.com/googleapis/python-securitycenter";
36 license = licenses.asl20;
37 maintainers = with maintainers; [ SuperSandro2000 ];
38 };
39}