mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
40 lines
945 B
Nix
40 lines
945 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.9.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-qtaZs6mgcYeEEdf6KGQNx7c+RP8SqSNyTCZuhTVAq38=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|