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, pythonOlder
12}:
13
14buildPythonPackage rec {
15 pname = "google-cloud-securitycenter";
16 version = "1.16.2";
17 format = "setuptools";
18
19 disabled = pythonOlder "3.6";
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-DU+0gpnWqmtm5nkLoHbEq5k3pnybsEag+aKEp7+HFmo=";
24 };
25
26 propagatedBuildInputs = [
27 grpc-google-iam-v1
28 google-api-core
29 libcst
30 proto-plus
31 ];
32
33 checkInputs = [
34 mock
35 pytestCheckHook
36 pytest-asyncio
37 ];
38
39 pythonImportsCheck = [
40 "google.cloud.securitycenter"
41 "google.cloud.securitycenter_v1"
42 "google.cloud.securitycenter_v1beta1"
43 "google.cloud.securitycenter_v1p1beta1"
44 ];
45
46 meta = with lib; {
47 description = "Cloud Security Command Center API API client library";
48 homepage = "https://github.com/googleapis/python-securitycenter";
49 license = licenses.asl20;
50 maintainers = with maintainers; [ SuperSandro2000 ];
51 };
52}