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