depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-websecurityscanner/default.nix
Default email f61cd259d4 Project import generated by Copybara.
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
2021-10-01 17:20:50 +08:00

36 lines
860 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google-api-core
, libcst
, mock
, proto-plus
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "google-cloud-websecurityscanner";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "593e73edb31ecb8e079c83c65dca29a593208f81a7506e6ef20aeecf611f2a9d";
};
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 ];
};
}