From 3cd3f5eb5669fe1b18a55c5d7bd745b958c78776 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 17 Feb 2025 18:23:20 +0100 Subject: [PATCH] python312Packages.docling-core: 2.18.1 -> 2.19.1 Diff: https://github.com/DS4SD/docling-core/compare/refs/tags/v2.18.1...v2.19.1 Changelog: https://github.com/DS4SD/docling-core/blob/v2.19.1/CHANGELOG.md --- .../python-modules/docling-core/default.nix | 31 +++++++++++-------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/docling-core/default.nix b/pkgs/development/python-modules/docling-core/default.nix index b5d80274de60..4733371c982f 100644 --- a/pkgs/development/python-modules/docling-core/default.nix +++ b/pkgs/development/python-modules/docling-core/default.nix @@ -2,35 +2,40 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system poetry-core, + # dependencies jsonref, jsonschema, + latex2mathml, pandas, pillow, pydantic, - tabulate, pyyaml, semchunk, - typing-extensions, + tabulate, transformers, typer, - latex2mathml, + typing-extensions, + + # tests jsondiff, - requests, pytestCheckHook, + requests, }: buildPythonPackage rec { pname = "docling-core"; - version = "2.18.1"; + version = "2.19.1"; pyproject = true; src = fetchFromGitHub { owner = "DS4SD"; repo = "docling-core"; tag = "v${version}"; - hash = "sha256-ymFBR+nz/zq6EFgCbSQPfZDQ/Gk8QeJrkeVQ7KZ9bmo="; + hash = "sha256-SBPk9DF9M1rY6YOqO1FOfnAcaGLQrJnMaBUG1JLWYFU="; }; build-system = [ @@ -38,18 +43,18 @@ buildPythonPackage rec { ]; dependencies = [ - jsonschema - pydantic jsonref - tabulate + jsonschema + latex2mathml pandas pillow + pydantic pyyaml - typing-extensions - transformers semchunk + tabulate + transformers typer - latex2mathml + typing-extensions ]; pythonRelaxDeps = [ @@ -73,7 +78,7 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/DS4SD/docling-core/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/DS4SD/docling-core/blob/v${version}/CHANGELOG.md"; description = "Python library to define and validate data types in Docling"; homepage = "https://github.com/DS4SD/docling-core"; license = lib.licenses.mit;