{ lib, authlib, buildPythonPackage, fetchFromGitHub, grpcio, grpcio-health-checking, grpcio-tools, httpx, pydantic, pythonOlder, pythonRelaxDepsHook, setuptools-scm, tqdm, validators, }: buildPythonPackage rec { pname = "weaviate-client"; version = "4.5.7"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "weaviate"; repo = "weaviate-python-client"; rev = "refs/tags/v${version}"; hash = "sha256-VIGcfAzU/0nrVqhny2Ix6rU0DkDhRvX9UkfK8k412QU="; }; pythonRelaxDeps = [ "httpx" "validators" ]; build-system = [ setuptools-scm ]; nativeBuildInputs = [ pythonRelaxDepsHook ]; dependencies = [ authlib grpcio grpcio-health-checking grpcio-tools httpx pydantic tqdm validators ]; doCheck = false; pythonImportsCheck = [ "weaviate" ]; meta = with lib; { description = "Python native client for easy interaction with a Weaviate instance"; homepage = "https://github.com/weaviate/weaviate-python-client"; changelog = "https://github.com/weaviate/weaviate-python-client/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ happysalada ]; }; }