pythonPackages.google_cloud_bigquery: init at 1.6.0

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

View file

@ -0,0 +1,36 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, google_resumable_media
, google_api_core
, google_cloud_core
, pandas
, pyarrow
, pytest
, mock
, ipython
}:
buildPythonPackage rec {
pname = "google-cloud-bigquery";
version = "1.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "d559ba1e05cf6a960e09bb5aab3aeb4d50ad9e08c77a20a17c01c9b2bd8d6cb7";
};
checkInputs = [ pytest mock ipython ];
propagatedBuildInputs = [ google_resumable_media google_api_core google_cloud_core pandas pyarrow ];
checkPhase = ''
pytest tests/unit
'';
meta = with stdenv.lib; {
description = "Google BigQuery API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
license = licenses.asl20;
maintainers = [ maintainers.costrouc ];
};
}

View file

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