2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-11-02 18:54:03 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-01-06 09:46:48 +00:00
|
|
|
, google-api-core
|
2021-01-05 10:05:34 +00:00
|
|
|
, libcst
|
|
|
|
, proto-plus
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-asyncio
|
2019-02-03 10:56:30 +00:00
|
|
|
, mock
|
2018-11-02 18:54:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-bigquery-datatransfer";
|
2021-01-05 10:05:34 +00:00
|
|
|
version = "3.0.0";
|
2018-11-02 18:54:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-05 10:05:34 +00:00
|
|
|
sha256 = "0hmsqvs2srmqcwmli48vd5vw829zax3pwj63fsxig6sdhjlf6j7j";
|
2018-11-02 18:54:03 +00:00
|
|
|
};
|
|
|
|
|
2021-01-06 09:46:48 +00:00
|
|
|
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
|
2021-01-05 10:05:34 +00:00
|
|
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
2018-11-02 18:54:03 +00:00
|
|
|
|
2021-01-05 10:05:34 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"google.cloud.bigquery_datatransfer"
|
|
|
|
"google.cloud.bigquery_datatransfer_v1"
|
|
|
|
];
|
2018-11-02 18:54:03 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-02 18:54:03 +00:00
|
|
|
description = "BigQuery Data Transfer API client library";
|
2021-01-05 10:05:34 +00:00
|
|
|
homepage = "https://github.com/googleapis/python-bigquery-datatransfer";
|
2018-11-02 18:54:03 +00:00
|
|
|
license = licenses.asl20;
|
2021-01-05 10:05:34 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2018-11-02 18:54:03 +00:00
|
|
|
};
|
|
|
|
}
|