pythonPackages.google_cloud_bigquery: init at 1.6.0

wip/yesman
Chris Ostrouchov 6 years ago
parent 9cb04c0799
commit fd46217757
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
  1. 36
      pkgs/development/python-modules/google_cloud_bigquery/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -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 ];
};
}

@ -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 { };

Loading…
Cancel
Save