depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-websecurityscanner/default.nix
Default email aa526eb20f Project import generated by Copybara.
GitOrigin-RevId: fcd48a5a0693f016a5c370460d0c2a8243b882dc
2022-03-10 11:12:11 -08:00

36 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.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-yK4xEu9rfFkA6RDNDjul0V+Xjc8TehJ6f8lv1k2WULc=";
};
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 ];
};
}