Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 81 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies google-api-core, google-cloud-core, google-crc32c, grpc-google-iam-v1, proto-plus, protobuf,
# optional dependencies libcst,
# testing grpcio, mock, pytestCheckHook,}:
buildPythonPackage rec { pname = "google-cloud-bigtable"; version = "2.31.0";
src = fetchFromGitHub { owner = "googleapis"; repo = "python-bigtable"; tag = "v${version}"; hash = "sha256-ihS58yuLnxT9h4TilejP+WImzSZTWO7tOyjIRenmvpA="; };
pyproject = true;
build-system = [ setuptools ];
dependencies = [ google-api-core google-cloud-core google-crc32c grpc-google-iam-v1 proto-plus protobuf ] ++ google-api-core.optional-dependencies.grpc;
optional-dependencies = { libcst = [ libcst ]; };
nativeCheckInputs = [ grpcio mock pytestCheckHook ];
checkPhase = '' # Prevent google directory from shadowing google imports rm -r google '';
disabledTests = [ "policy" ];
pythonImportsCheck = [ "google.cloud.bigtable_admin_v2" "google.cloud.bigtable_v2" "google.cloud.bigtable" ];
meta = { description = "Google Cloud Bigtable API client library"; homepage = "https://github.com/googleapis/python-bigtable"; changelog = "https://github.com/googleapis/python-bigtable/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; };}