depot/third_party/nixpkgs/pkgs/development/python-modules/google-cloud-securitycenter/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

39 lines
958 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, grpc_google_iam_v1
, google-api-core
, libcst
, mock
, proto-plus
, pytestCheckHook
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "google-cloud-securitycenter";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "872507adad97f452e0998730cd1993c0433c05a0757c268f5c02fbfabe7720d4";
};
propagatedBuildInputs = [ grpc_google_iam_v1 google-api-core libcst proto-plus ];
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
pythonImportsCheck = [
"google.cloud.securitycenter"
"google.cloud.securitycenter_v1"
"google.cloud.securitycenter_v1beta1"
"google.cloud.securitycenter_v1p1beta1"
];
meta = with lib; {
description = "Cloud Security Command Center API API client library";
homepage = "https://github.com/googleapis/python-securitycenter";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}