1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 httpx,
6 poetry-core,
7 pydantic,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "llamaindex-py-client";
13 version = "0.1.19";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchPypi {
19 pname = "llamaindex_py_client";
20 inherit version;
21 hash = "sha256-c/dHkruMCSuubcYmYnoJrBOgmfqNEPj8yD4XorMyzKc=";
22 };
23
24 build-system = [ poetry-core ];
25
26 dependencies = [
27 httpx
28 pydantic
29 ];
30
31 # Module has no tests
32 doCheck = false;
33
34 pythonImportsCheck = [ "llama_index_client" ];
35
36 meta = with lib; {
37 description = "Client for LlamaIndex";
38 homepage = "https://pypi.org/project/llamaindex-py-client/";
39 license = licenses.mit;
40 maintainers = with maintainers; [ fab ];
41 };
42}