1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/development/python-modules/google_cloud_bigquery/default.nix
2019-02-17 14:40:22 +01:00

37 lines
802 B
Nix

{ 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.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "169ffdb1b677f69f1f9d032bd38f724aed73e0565153ac17199472c083a3852f";
};
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 ];
};
}