Files
nixpkgs/pkgs/development/python-modules/google-cloud-websecurityscanner/default.nix
2026-04-20 00:28:40 +02:00

57 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
google-api-core,
mock,
proto-plus,
protobuf,
pytest-asyncio,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "google-cloud-websecurityscanner";
version = "1.20.0";
pyproject = true;
src = fetchPypi {
pname = "google_cloud_websecurityscanner";
inherit (finalAttrs) version;
hash = "sha256-6u7VvENhWk25oIFFyeV/9JRYVUnQSeyc5G3sWR4DBF4=";
};
build-system = [ setuptools ];
pythonRelaxDeps = [
"protobuf"
];
dependencies = [
google-api-core
proto-plus
protobuf
]
++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.websecurityscanner_v1alpha"
"google.cloud.websecurityscanner_v1beta"
];
meta = {
description = "Google Cloud Web Security Scanner API client library";
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-websecurityscanner";
changelog = "https://github.com/googleapis/google-cloud-python/tree/google-cloud-websecurityscanner-v${finalAttrs.version}/packages/google-cloud-websecurityscanner";
license = lib.licenses.asl20;
maintainers = [ ];
};
})