forked from mirrors/nixpkgs
37 lines
860 B
Nix
37 lines
860 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, google-api-core
|
|
, libcst
|
|
, proto-plus
|
|
, pytestCheckHook
|
|
, pytest-asyncio
|
|
, pytz
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-bigquery-datatransfer";
|
|
version = "3.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "6e93c134669bbb7b79be4bd73329842c5e5f071f1fde624fc82233da42677021";
|
|
};
|
|
|
|
propagatedBuildInputs = [ google-api-core libcst proto-plus pytz ];
|
|
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
|
|
|
|
pythonImportsCheck = [
|
|
"google.cloud.bigquery_datatransfer"
|
|
"google.cloud.bigquery_datatransfer_v1"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "BigQuery Data Transfer API client library";
|
|
homepage = "https://github.com/googleapis/python-bigquery-datatransfer";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|