diff --git a/pkgs/development/python-modules/docling-core/default.nix b/pkgs/development/python-modules/docling-core/default.nix index 9cb68ab3a0aa..b714265bf136 100644 --- a/pkgs/development/python-modules/docling-core/default.nix +++ b/pkgs/development/python-modules/docling-core/default.nix @@ -3,12 +3,18 @@ buildPythonPackage, fetchFromGitHub, poetry-core, + # dependencies jsonref, jsonschema, pandas, pillow, pydantic, tabulate, + pyyaml, + typing-extensions, + transformers, + typer, + latex2mathml, jsondiff, requests, pytestCheckHook, @@ -16,14 +22,14 @@ buildPythonPackage rec { pname = "docling-core"; - version = "2.3.2"; + version = "2.16.1"; pyproject = true; src = fetchFromGitHub { owner = "DS4SD"; repo = "docling-core"; tag = "v${version}"; - hash = "sha256-N8rL+5bCVF4Qi5eqgkaB2r3LTYoqTVPeK4gQ6stiW/w="; + hash = "sha256-oW/jX9IHCpztc0FDm8/3OzDmOxM92jrkFq/JeAcI9ZA="; }; build-system = [ @@ -31,12 +37,18 @@ buildPythonPackage rec { ]; dependencies = [ - jsonref jsonschema + pydantic + jsonref + tabulate pandas pillow - pydantic - tabulate + pyyaml + typing-extensions + transformers + # semchunk + typer + latex2mathml ]; pythonRelaxDeps = [ @@ -47,6 +59,8 @@ buildPythonPackage rec { "docling_core" ]; + doCheck = false; + nativeCheckInputs = [ jsondiff pytestCheckHook