1{
2 lib,
3 buildPythonPackage,
4 docling-core,
5 docling,
6 fetchPypi,
7 hatchling,
8 llama-index-core,
9 numpy,
10}:
11
12buildPythonPackage rec {
13 pname = "llama-index-readers-docling";
14 version = "0.4.1";
15 pyproject = true;
16
17 src = fetchPypi {
18 pname = "llama_index_readers_docling";
19 inherit version;
20 hash = "sha256-Et17yfWK+SSeWZymN26J4PjKx4FimGaJmMZaXazq5B0=";
21 };
22
23 build-system = [ hatchling ];
24
25 dependencies = [
26 docling
27 docling-core
28 llama-index-core
29 numpy
30 ];
31
32 pythonImportsCheck = [ "llama_index.readers.docling" ];
33
34 # Module has no tests
35 doCheck = false;
36
37 meta = {
38 description = "Llama-index readers docling integration";
39 homepage = "https://pypi.org/project/llama-index-readers-docling/";
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [ fab ];
42 };
43}