python310Packages.google-cloud-bigquery-storage: init at 2.13.1

main
Sandro Jäckel 2 years ago
parent 5fa2c38a48
commit 4320942d19
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
  1. 48
      pkgs/development/python-modules/google-cloud-bigquery-storage/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -0,0 +1,48 @@
{ 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 ];
};
}

@ -3443,6 +3443,8 @@ in {
google-cloud-bigquery-logging = callPackage ../development/python-modules/google-cloud-bigquery-logging { };
google-cloud-bigquery-storage = callPackage ../development/python-modules/google-cloud-bigquery-storage { };
google-cloud-bigtable = callPackage ../development/python-modules/google-cloud-bigtable { };
google-cloud-container = callPackage ../development/python-modules/google-cloud-container { };

Loading…
Cancel
Save