ca5ab3a501
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
50 lines
969 B
Nix
50 lines
969 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, google-api-core
|
|
, libcst
|
|
, mock
|
|
, protobuf
|
|
, proto-plus
|
|
, pytest-asyncio
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-websecurityscanner";
|
|
version = "1.8.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-sjw31xRPrLYF/kslmWn/UIYX95RZ+cSCz23AGToRbGc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
google-api-core
|
|
libcst
|
|
protobuf
|
|
proto-plus
|
|
];
|
|
|
|
checkInputs = [
|
|
mock
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"google.cloud.websecurityscanner_v1alpha"
|
|
"google.cloud.websecurityscanner_v1beta"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Google Cloud Web Security Scanner API client library";
|
|
homepage = "https://github.com/googleapis/python-websecurityscanner";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|