biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / weaviate-client / default.nix
blob506aa956bda609aae0242421c03243fedab4cfee
2   lib,
3   authlib,
4   buildPythonPackage,
5   fetchFromGitHub,
6   grpcio,
7   grpcio-health-checking,
8   grpcio-tools,
9   httpx,
10   pydantic,
11   pythonOlder,
12   requests,
13   setuptools-scm,
14   validators,
17 buildPythonPackage rec {
18   pname = "weaviate-client";
19   version = "4.8.0";
20   pyproject = true;
22   disabled = pythonOlder "3.8";
24   src = fetchFromGitHub {
25     owner = "weaviate";
26     repo = "weaviate-python-client";
27     rev = "refs/tags/v${version}";
28     hash = "sha256-JVn9Xhq7MJD+o6DA/EaW1NNnvsjjqyW+pmFctuQStgo=";
29   };
31   pythonRelaxDeps = [
32     "httpx"
33     "validators"
34   ];
36   build-system = [ setuptools-scm ];
39   dependencies = [
40     authlib
41     grpcio
42     grpcio-health-checking
43     grpcio-tools
44     httpx
45     pydantic
46     requests
47     validators
48   ];
50   doCheck = false;
52   pythonImportsCheck = [ "weaviate" ];
54   meta = with lib; {
55     description = "Python native client for easy interaction with a Weaviate instance";
56     homepage = "https://github.com/weaviate/weaviate-python-client";
57     changelog = "https://github.com/weaviate/weaviate-python-client/releases/tag/v${version}";
58     license = licenses.mit;
59     maintainers = with maintainers; [ happysalada ];
60   };