Something went wrong. Try again.
lol
Something went wrong. Try again.
1.5 kB · 72 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{ lib, buildPythonPackage, fastavro, fetchPypi, google-api-core, google-auth, google-cloud-bigquery, pandas, protobuf, pyarrow, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "google-cloud-bigquery-storage"; version = "2.36.0"; pyproject = true;
src = fetchPypi { pname = "google_cloud_bigquery_storage"; inherit version; hash = "sha256-08HOnS06TXEWJZiJ3L48fHBQb3H2zmu+VKoKaLu6j48="; };
build-system = [ setuptools ];
pythonRelaxDeps = [ "protobuf" ];
dependencies = [ google-api-core protobuf ] ++ google-api-core.optional-dependencies.grpc;
optional-dependencies = { fastavro = [ fastavro ]; pandas = [ pandas ]; pyarrow = [ pyarrow ]; };
nativeCheckInputs = [ google-auth google-cloud-bigquery pytestCheckHook ];
# Dependency loop with google-cloud-bigquery doCheck = false;
preCheck = '' rm -r google '';
pythonImportsCheck = [ "google.cloud.bigquery_storage" "google.cloud.bigquery_storage_v1" "google.cloud.bigquery_storage_v1beta2" ];
meta = { description = "BigQuery Storage API API client library"; homepage = "https://github.com/googleapis/python-bigquery-storage"; changelog = "https://github.com/googleapis/python-bigquery-storage/blob/v${version}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ ]; mainProgram = "fixup_bigquery_storage_v1_keywords.py"; };}