Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, buildPythonPackage, fetchPypi, google-api-core, proto-plus, protobuf, pytest-asyncio, pytestCheckHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "google-cloud-language"; version = "2.22.0"; pyproject = true;
src = fetchPypi { pname = "google_cloud_language"; inherit (finalAttrs) version; hash = "sha256-g5IRZQz65+cIfFOnA7gfdTq3C61HyR47jJbKMAwa7kU="; };
build-system = [ setuptools ];
pythonRelaxDeps = [ "protobuf" ];
dependencies = [ google-api-core proto-plus protobuf ] ++ google-api-core.optional-dependencies.grpc;
nativeCheckInputs = [ pytestCheckHook pytest-asyncio ];
pythonImportsCheck = [ "google.cloud.language" "google.cloud.language_v1" "google.cloud.language_v1beta2" ];
meta = { description = "Google Cloud Natural Language API client library"; homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-language"; changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-language-v${finalAttrs.version}/packages/google-cloud-language/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ ]; };})