pythonPackages.google_cloud_bigquery_datatransfer: init at 0.1.1

This commit is contained in:
Chris Ostrouchov 2018-11-02 14:54:03 -04:00
parent fd46217757
commit 7e852bf739
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_api_core
, pytest
}:
buildPythonPackage rec {
pname = "google-cloud-bigquery-datatransfer";
version = "0.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "f5b5d0de43805fa9ebb620c58e1d27e6d32d2fc8e9a2f954ee170f7a026c8757";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ google_api_core ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "BigQuery Data Transfer API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -2444,6 +2444,8 @@ in {
google_cloud_bigquery = callPackage ../development/python-modules/google_cloud_bigquery { };
google_cloud_bigquery_datatransfer = callPackage ../development/python-modules/google_cloud_bigquery_datatransfer { };
google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { };
google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { };