2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
google-api-core,
|
|
|
|
grpc-google-iam-v1,
|
|
|
|
mock,
|
|
|
|
proto-plus,
|
|
|
|
protobuf,
|
|
|
|
pytest-asyncio,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2021-06-28 23:13:55 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-bigquery-logging";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.4.3";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
2022-10-06 18:32:54 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-7RqwaSthQcwGebhi5F/V//WxBIp5upVS0ToDDsjyURY=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
google-api-core
|
2021-08-18 13:19:15 +00:00
|
|
|
grpc-google-iam-v1
|
2021-06-28 23:13:55 +00:00
|
|
|
proto-plus
|
2023-01-11 07:51:40 +00:00
|
|
|
protobuf
|
|
|
|
] ++ google-api-core.optional-dependencies.grpc;
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-06-28 23:13:55 +00:00
|
|
|
mock
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-asyncio
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.bigquery_logging"
|
|
|
|
"google.cloud.bigquery_logging_v1"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Bigquery logging client library";
|
2024-01-02 11:29:13 +00:00
|
|
|
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-bigquery-logging";
|
|
|
|
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-bigquery-logging-v${version}/packages/google-cloud-bigquery-logging/CHANGELOG.md";
|
2021-06-28 23:13:55 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|