1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 google-api-core, 6 mock, 7 proto-plus, 8 protobuf, 9 pytest-asyncio, 10 pytestCheckHook, 11 pythonOlder, 12 setuptools, 13}: 14 15buildPythonPackage rec { 16 pname = "google-cloud-websecurityscanner"; 17 version = "1.14.3"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-Wp88cJqlAaAkaemHzkgKuhU4v4dFpgn5Sf+uqGKTeWQ="; 25 }; 26 27 nativeBuildInputs = [ setuptools ]; 28 29 propagatedBuildInputs = [ 30 google-api-core 31 proto-plus 32 protobuf 33 ] ++ google-api-core.optional-dependencies.grpc; 34 35 nativeCheckInputs = [ 36 mock 37 pytest-asyncio 38 pytestCheckHook 39 ]; 40 41 pythonImportsCheck = [ 42 "google.cloud.websecurityscanner_v1alpha" 43 "google.cloud.websecurityscanner_v1beta" 44 ]; 45 46 meta = with lib; { 47 description = "Google Cloud Web Security Scanner API client library"; 48 homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-websecurityscanner"; 49 changelog = "https://github.com/googleapis/google-cloud-python/tree/google-cloud-websecurityscanner-v${version}/packages/google-cloud-websecurityscanner"; 50 license = licenses.asl20; 51 maintainers = with maintainers; [ ]; 52 }; 53}