Commit 37174596 authored by happysalada's avatar happysalada
Browse files

python3Modules.docling-core: 2.3.2 -> 2.16.1

parent c8cef28d
Loading
Loading
Loading
Loading
+19 −5
Original line number Diff line number Diff line
@@ -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
    pandas
    pillow
    pydantic
    jsonref
    tabulate
    pandas
    pillow
    pyyaml
    typing-extensions
    transformers
    # semchunk
    typer
    latex2mathml
  ];

  pythonRelaxDeps = [
@@ -47,6 +59,8 @@ buildPythonPackage rec {
    "docling_core"
  ];

  doCheck = false;

  nativeCheckInputs = [
    jsondiff
    pytestCheckHook