c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
48 lines
974 B
Nix
48 lines
974 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, google-api-core
|
|
, google-auth
|
|
, google-cloud-bigquery
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-cloud-bigquery-storage";
|
|
version = "2.16.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-5qyk97b06tuH+FEJBhd1Y1GOFYfIt7FivPjhyede9BY=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|