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