1{ lib
2, buildPythonPackage
3, fetchPypi
4, google-api-core
5, libcst
6, proto-plus
7, pytestCheckHook
8, pytest-asyncio
9, pytz
10, mock
11, pythonOlder
12}:
13
14buildPythonPackage rec {
15 pname = "google-cloud-bigquery-datatransfer";
16 version = "3.7.3";
17 format = "setuptools";
18
19 disabled = pythonOlder "3.6";
20
21 src = fetchPypi {
22 inherit pname version;
23 hash = "sha256-oPgbgaq5RQM4C2qmf36i+qXDQA9sV16abCleNkdGYC0=";
24 };
25
26 propagatedBuildInputs = [
27 google-api-core
28 libcst
29 proto-plus
30 pytz
31 ];
32
33 checkInputs = [
34 mock
35 pytestCheckHook
36 pytest-asyncio
37 ];
38
39 pythonImportsCheck = [
40 "google.cloud.bigquery_datatransfer"
41 "google.cloud.bigquery_datatransfer_v1"
42 ];
43
44 meta = with lib; {
45 description = "BigQuery Data Transfer API client library";
46 homepage = "https://github.com/googleapis/python-bigquery-datatransfer";
47 license = licenses.asl20;
48 maintainers = with maintainers; [ SuperSandro2000 ];
49 };
50}