Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 64 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, buildPythonPackage, fetchFromGitHub, google-api-core, grpc-google-iam-v1, libcst, mock, nix-update-script, proto-plus, protobuf, pytest-asyncio, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "google-cloud-datacatalog"; version = "3.31.3"; pyproject = true;
src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; tag = "google-cloud-build-v${version}"; hash = "sha256-qQ+8X6I8lt4OTgbvODsbdab2dYUk0wxWsbaVT2T651U="; };
sourceRoot = "${src.name}/packages/google-cloud-datacatalog";
build-system = [ setuptools ];
dependencies = [ google-api-core grpc-google-iam-v1 libcst proto-plus protobuf ] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [ mock pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "google.cloud.datacatalog" ];
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex" "google-cloud-datacatalog-v([0-9.]+)" ]; };
meta = { description = "Google Cloud Data Catalog API API client library"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-datacatalog"; changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-datacatalog-${src.tag}/packages/google-cloud-datacatalog/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.sarahec ]; };}