37 lines
847 B
Nix
37 lines
847 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, google-api-core
|
|
, libcst
|
|
, mock
|
|
, proto-plus
|
|
, pytest-asyncio
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-websecurityscanner";
|
|
version = "1.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-lrMnp9jVndz0C8VdreVudYdwh7zSdRniPHYm9BNdjak=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ google-api-core libcst 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 ];
|
|
};
|
|
}
|