Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-bigquery-datatransfer / default.nix
blobe7eaf3bd595e5a985ad884ebf5081d19110f4ab0
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   google-api-core,
6   libcst,
7   mock,
8   proto-plus,
9   protobuf,
10   pytest-asyncio,
11   pytestCheckHook,
12   pythonOlder,
13   pytz,
14   setuptools,
17 buildPythonPackage rec {
18   pname = "google-cloud-bigquery-datatransfer";
19   version = "3.15.2";
20   pyproject = true;
22   disabled = pythonOlder "3.7";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-oX4E3G3PB9qqCo5ZWt+p702oV5KUzlIdXNczthJ73Q0=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [
32     google-api-core
33     libcst
34     proto-plus
35     protobuf
36     pytz
37   ] ++ google-api-core.optional-dependencies.grpc;
39   nativeCheckInputs = [
40     mock
41     pytest-asyncio
42     pytestCheckHook
43   ];
45   pythonImportsCheck = [
46     "google.cloud.bigquery_datatransfer"
47     "google.cloud.bigquery_datatransfer_v1"
48   ];
50   disabledTests = [
51     # Tests require project ID
52     "test_list_data_sources"
53   ];
55   meta = with lib; {
56     description = "BigQuery Data Transfer API client library";
57     homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-bigquery-datatransfer";
58     changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-bigquery-datatransfer-v${version}/packages/google-cloud-bigquery-datatransfer/CHANGELOG.md";
59     license = licenses.asl20;
60     maintainers = with maintainers; [ ];
61   };