pythonPackages:google*: Noramlize names by replacing _ with -

This commit is contained in:
Sandro Jäckel
2021-01-06 10:46:48 +01:00
parent 692345a570
commit ac391fdc0b
57 changed files with 209 additions and 209 deletions

View File

@@ -0,0 +1,39 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, grpc_google_iam_v1
, google-api-core
, libcst
, mock
, proto-plus
, pytestCheckHook
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "google-cloud-securitycenter";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1lgz6qpsfv4b7p5ff4sdpjpaddxpbazdvlcrqr1i0c0qil2lkm2i";
};
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 stdenv.lib; {
description = "Cloud Security Command Center API API client library";
homepage = "https://github.com/googleapis/python-securitycenter";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}