My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/development/python-modules/google-cloud-bigquery/default.nix

59 lines
1.0 KiB

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, freezegun
, google-cloud-core
, google-cloud-testutils
, google-resumable-media
, grpcio
, ipython
, mock
, pandas
, proto-plus
, pyarrow
}:
buildPythonPackage rec {
pname = "google-cloud-bigquery";
version = "2.6.2";
src = fetchPypi {
inherit pname version;
sha256 = "1c940bf190a681d80b6f6cd7541924ad411de5f0585b2c8c5e420ab750e2024d";
};
propagatedBuildInputs = [
google-resumable-media
google-cloud-core
proto-plus
pyarrow
];
checkInputs = [
freezegun
google-cloud-testutils
ipython
mock
pandas
pytestCheckHook
];
# prevent google directory from shadowing google imports
preCheck = ''
rm -r google
'';
pythonImportsCheck = [
"google.cloud.bigquery"
"google.cloud.bigquery_v2"
];
meta = with lib; {
description = "Google BigQuery API client library";
homepage = "https://github.com/googleapis/python-bigquery";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}