2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2021-01-05 12:45:42 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-api-core
|
2021-01-05 12:45:42 +00:00
|
|
|
, libcst
|
|
|
|
, mock
|
|
|
|
, proto-plus
|
|
|
|
, pytest-asyncio
|
|
|
|
}:
|
2018-11-02 20:43:05 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-websecurityscanner";
|
2020-08-16 18:31:02 +01:00
|
|
|
version = "1.0.0";
|
2018-11-02 20:43:05 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-05 12:45:42 +00:00
|
|
|
sha256 = "14sky9bkl00n65ksig3f6psm31pkmkvlcprlk6s9if470j40zrhx";
|
2018-11-02 20:43:05 +00:00
|
|
|
};
|
|
|
|
|
2021-01-06 09:46:48 +00:00
|
|
|
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
2018-11-02 20:43:05 +00:00
|
|
|
|
2020-11-03 01:19:58 +00:00
|
|
|
checkInputs = [ mock pytest-asyncio pytestCheckHook ];
|
2021-01-05 12:45:42 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.websecurityscanner_v1alpha"
|
|
|
|
"google.cloud.websecurityscanner_v1beta"
|
|
|
|
];
|
2018-11-02 20:43:05 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-02 20:43:05 +00:00
|
|
|
description = "Google Cloud Web Security Scanner API client library";
|
2020-11-03 01:19:58 +00:00
|
|
|
homepage = "https://github.com/googleapis/python-websecurityscanner";
|
2018-11-02 20:43:05 +00:00
|
|
|
license = licenses.asl20;
|
2021-01-05 12:45:42 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2018-11-02 20:43:05 +00:00
|
|
|
};
|
|
|
|
}
|