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