49 lines
987 B
Nix
49 lines
987 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, google-api-core
|
||
|
, google-auth
|
||
|
, google-cloud-bigquery
|
||
|
, pytestCheckHook
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "google-cloud-bigquery-storage";
|
||
|
version = "2.13.1";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "7a25148f635a04ca9ff568d47e64be275d3a4a3c90772524879e8f88f270d92d";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
google-api-core
|
||
|
];
|
||
|
|
||
|
checkInputs = [
|
||
|
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 = with lib; {
|
||
|
description = "BigQuery Storage API API client library";
|
||
|
homepage = "https://github.com/googleapis/python-bigquery-storage";
|
||
|
license = licenses.asl20;
|
||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||
|
};
|
||
|
}
|