pythonPackages.google_cloud_securitycenter: 1.0.0 -> 1.1.0

This commit is contained in:
Sandro Jäckel 2021-01-05 15:35:50 +01:00
parent 93085779d9
commit 61b7747992
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,33 +1,39 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, enum34
, grpc_google_iam_v1 , grpc_google_iam_v1
, google_api_core , google_api_core
, pytest , libcst
, mock , mock
, proto-plus
, pytestCheckHook
, pytest-asyncio
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-securitycenter"; pname = "google-cloud-securitycenter";
version = "1.0.0"; version = "1.1.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "45d47a4389f2f19958a9db8e5c2f169c9b9385e74338fef0a4e49160153df7f7"; sha256 = "1lgz6qpsfv4b7p5ff4sdpjpaddxpbazdvlcrqr1i0c0qil2lkm2i";
}; };
checkInputs = [ pytest mock ]; propagatedBuildInputs = [ grpc_google_iam_v1 google_api_core libcst proto-plus ];
propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ];
checkPhase = '' checkInputs = [ mock pytestCheckHook pytest-asyncio ];
pytest tests/unit
''; pythonImportsCheck = [
"google.cloud.securitycenter"
"google.cloud.securitycenter_v1"
"google.cloud.securitycenter_v1beta1"
"google.cloud.securitycenter_v1p1beta1"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Cloud Security Command Center API API client library"; description = "Cloud Security Command Center API API client library";
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"; homepage = "https://github.com/googleapis/python-securitycenter";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.costrouc ]; maintainers = with maintainers; [ SuperSandro2000 ];
}; };
} }