2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-11-02 20:15:17 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-08-16 11:54:23 +01:00
|
|
|
, grpc-google-iam-v1
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-api-core
|
2021-01-05 14:35:50 +00:00
|
|
|
, libcst
|
2019-02-03 10:56:30 +00:00
|
|
|
, mock
|
2021-01-05 14:35:50 +00:00
|
|
|
, proto-plus
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-asyncio
|
2018-11-02 20:15:17 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-securitycenter";
|
2021-08-09 22:39:01 +01:00
|
|
|
version = "1.5.0";
|
2018-11-02 20:15:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-09 22:39:01 +01:00
|
|
|
sha256 = "sha256-DrdzC7Oe/8cq41OLcN51Qm208L0zPa9cxscHqmYji04=";
|
2018-11-02 20:15:17 +00:00
|
|
|
};
|
|
|
|
|
2021-08-16 11:54:23 +01:00
|
|
|
propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ];
|
2018-11-02 20:15:17 +00:00
|
|
|
|
2021-01-05 14:35:50 +00:00
|
|
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.securitycenter"
|
|
|
|
"google.cloud.securitycenter_v1"
|
|
|
|
"google.cloud.securitycenter_v1beta1"
|
|
|
|
"google.cloud.securitycenter_v1p1beta1"
|
|
|
|
];
|
2018-11-02 20:15:17 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-02 20:15:17 +00:00
|
|
|
description = "Cloud Security Command Center API API client library";
|
2021-01-05 14:35:50 +00:00
|
|
|
homepage = "https://github.com/googleapis/python-securitycenter";
|
2018-11-02 20:15:17 +00:00
|
|
|
license = licenses.asl20;
|
2021-01-05 14:35:50 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2018-11-02 20:15:17 +00:00
|
|
|
};
|
|
|
|
}
|