2018-11-02 11:54:03 -07:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, google_api_core
|
|
|
|
, pytest
|
2019-02-03 02:56:30 -08:00
|
|
|
, mock
|
2018-11-02 11:54:03 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "google-cloud-bigquery-datatransfer";
|
2020-08-16 10:31:00 -07:00
|
|
|
version = "1.1.0";
|
2018-11-02 11:54:03 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 10:31:00 -07:00
|
|
|
sha256 = "71791a38a0ec535fdd4970d3403aa4cb2d9ca5c2729f80730858be2776b3c518";
|
2018-11-02 11:54:03 -07:00
|
|
|
};
|
|
|
|
|
2019-02-03 02:56:30 -08:00
|
|
|
checkInputs = [ pytest mock ];
|
2018-11-02 11:54:03 -07:00
|
|
|
propagatedBuildInputs = [ google_api_core ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest tests/unit
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "BigQuery Data Transfer API client library";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
2018-11-02 11:54:03 -07:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|