2024-04-21 15:54:59 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
google-api-core,
|
|
|
|
libcst,
|
|
|
|
mock,
|
|
|
|
proto-plus,
|
|
|
|
protobuf,
|
|
|
|
pytest-asyncio,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
pytz,
|
|
|
|
setuptools,
|
2021-01-09 10:05:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-bigquery-datatransfer";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "3.15.4";
|
2024-04-21 15:54:59 +00:00
|
|
|
pyproject = true;
|
2021-01-09 10:05:03 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-rjVTnrJIUMJsnh/vdpiiL9e4g0iZP9ftYksVQd6cG4M=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
|
|
|
dependencies = [
|
2022-03-10 19:12:11 +00:00
|
|
|
google-api-core
|
|
|
|
libcst
|
|
|
|
proto-plus
|
2023-01-11 07:51:40 +00:00
|
|
|
protobuf
|
2022-03-10 19:12:11 +00:00
|
|
|
pytz
|
2023-01-11 07:51:40 +00:00
|
|
|
] ++ google-api-core.optional-dependencies.grpc;
|
2022-03-10 19:12:11 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-03-10 19:12:11 +00:00
|
|
|
mock
|
|
|
|
pytest-asyncio
|
2023-01-11 07:51:40 +00:00
|
|
|
pytestCheckHook
|
2022-03-10 19:12:11 +00:00
|
|
|
];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.bigquery_datatransfer"
|
|
|
|
"google.cloud.bigquery_datatransfer_v1"
|
|
|
|
];
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
disabledTests = [
|
|
|
|
# Tests require project ID
|
|
|
|
"test_list_data_sources"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-09 10:05:03 +00:00
|
|
|
description = "BigQuery Data Transfer API client library";
|
2024-01-02 11:29:13 +00:00
|
|
|
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-bigquery-datatransfer";
|
|
|
|
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-bigquery-datatransfer-v${version}/packages/google-cloud-bigquery-datatransfer/CHANGELOG.md";
|
2021-01-09 10:05:03 +00:00
|
|
|
license = licenses.asl20;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
}
|