python312Packages.google-cloud-bigquery: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-19 08:38:55 +02:00
parent 545aaee07d
commit ca78e3d77f

View File

@ -1,30 +1,31 @@
{ lib {
, buildPythonPackage lib,
, db-dtypes buildPythonPackage,
, fetchPypi db-dtypes,
, freezegun fetchPypi,
, google-api-core freezegun,
, google-cloud-bigquery-storage google-api-core,
, google-cloud-core google-cloud-bigquery-storage,
, google-cloud-datacatalog google-cloud-core,
, google-cloud-storage google-cloud-datacatalog,
, google-cloud-testutils google-cloud-storage,
, google-resumable-media google-cloud-testutils,
, grpcio google-resumable-media,
, ipython grpcio,
, mock ipython,
, pandas mock,
, proto-plus pandas,
, protobuf proto-plus,
, psutil protobuf,
, pyarrow psutil,
, pytest-xdist pyarrow,
, pytestCheckHook pytest-xdist,
, python-dateutil pytestCheckHook,
, pythonOlder python-dateutil,
, requests pythonOlder,
, setuptools requests,
, tqdm setuptools,
tqdm,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -39,9 +40,7 @@ buildPythonPackage rec {
hash = "sha256-YmXDn51b31DxHLganCoGBdKF3zSsE53g0jM7ElCt0P8="; hash = "sha256-YmXDn51b31DxHLganCoGBdKF3zSsE53g0jM7ElCt0P8=";
}; };
build-system = [ build-system = [ setuptools ];
setuptools
];
dependencies = [ dependencies = [
grpcio grpcio
@ -66,12 +65,8 @@ buildPythonPackage rec {
pandas pandas
pyarrow pyarrow
]; ];
tqdm = [ tqdm = [ tqdm ];
tqdm ipython = [ ipython ];
];
ipython = [
ipython
];
}; };
nativeCheckInputs = [ nativeCheckInputs = [
@ -83,8 +78,7 @@ buildPythonPackage rec {
google-cloud-storage google-cloud-storage
pytestCheckHook pytestCheckHook
pytest-xdist pytest-xdist
] ++ passthru.optional-dependencies.pandas ] ++ passthru.optional-dependencies.pandas ++ passthru.optional-dependencies.ipython;
++ passthru.optional-dependencies.ipython;
# prevent google directory from shadowing google imports # prevent google directory from shadowing google imports
preCheck = '' preCheck = ''