Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / google-cloud-bigquery-datatransfer / default.nix
blobd64bd1bf734025bfb4cb4a05fc3db65f57f7c597
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , google-api-core
5 , libcst
6 , mock
7 , proto-plus
8 , protobuf
9 , pytest-asyncio
10 , pytestCheckHook
11 , pythonOlder
12 , pytz
15 buildPythonPackage rec {
16   pname = "google-cloud-bigquery-datatransfer";
17   version = "3.12.1";
18   format = "setuptools";
20   disabled = pythonOlder "3.7";
22   src = fetchPypi {
23     inherit pname version;
24     hash = "sha256-uEWnQIGs4yybuukzgrAqaduFYKNW9h/WouX2MzSVgUg=";
25   };
27   propagatedBuildInputs = [
28     google-api-core
29     libcst
30     proto-plus
31     protobuf
32     pytz
33   ] ++ google-api-core.optional-dependencies.grpc;
35   nativeCheckInputs = [
36     mock
37     pytest-asyncio
38     pytestCheckHook
39   ];
41   pythonImportsCheck = [
42     "google.cloud.bigquery_datatransfer"
43     "google.cloud.bigquery_datatransfer_v1"
44   ];
46   disabledTests = [
47     # Tests require project ID
48     "test_list_data_sources"
49   ];
51   meta = with lib; {
52     description = "BigQuery Data Transfer API client library";
53     homepage = "https://github.com/googleapis/python-bigquery-datatransfer";
54     changelog = "https://github.com/googleapis/python-bigquery-datatransfer/blob/v${version}/CHANGELOG.md";
55     license = licenses.asl20;
56     maintainers = with maintainers; [ ];
57   };