1{ lib
2, buildPythonPackage
3, fetchPypi
4, google-api-core
5, libcst
6, proto-plus
7, pytestCheckHook
8, pytest-asyncio
9, mock
10}:
11
12buildPythonPackage rec {
13 pname = "google-cloud-bigquery-datatransfer";
14 version = "3.1.0";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "98065257189388b6cc797478c4b2bdf86e9e8cdcaca5d170ded027646444a586";
19 };
20
21 propagatedBuildInputs = [ google-api-core libcst proto-plus ];
22 checkInputs = [ mock pytestCheckHook pytest-asyncio ];
23
24 pythonImportsCheck = [
25 "google.cloud.bigquery_datatransfer"
26 "google.cloud.bigquery_datatransfer_v1"
27 ];
28
29 meta = with lib; {
30 description = "BigQuery Data Transfer API client library";
31 homepage = "https://github.com/googleapis/python-bigquery-datatransfer";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ SuperSandro2000 ];
34 };
35}