From 3717459637694848fe677768c6cb649fe7b64ce5 Mon Sep 17 00:00:00 2001 From: happysalada Date: Sat, 1 Feb 2025 07:58:24 -0500 Subject: [PATCH] python3Modules.docling-core: 2.3.2 -> 2.16.1 --- .../python-modules/docling-core/default.nix | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) 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