1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, google-api-core
6, libcst
7, mock
8, proto-plus
9, pytest-asyncio
10}:
11
12buildPythonPackage rec {
13 pname = "google-cloud-websecurityscanner";
14 version = "1.6.1";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "392a21dd238958eb7f480d056ed24110be22808cf4474939db40df0ade2910f3";
19 };
20
21 propagatedBuildInputs = [ google-api-core libcst proto-plus ];
22
23 checkInputs = [ mock pytest-asyncio pytestCheckHook ];
24
25 pythonImportsCheck = [
26 "google.cloud.websecurityscanner_v1alpha"
27 "google.cloud.websecurityscanner_v1beta"
28 ];
29
30 meta = with lib; {
31 description = "Google Cloud Web Security Scanner API client library";
32 homepage = "https://github.com/googleapis/python-websecurityscanner";
33 license = licenses.asl20;
34 maintainers = with maintainers; [ SuperSandro2000 ];
35 };
36}