Commit e1be7722 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files
parent f1dc2357
Loading
Loading
Loading
Loading
+11 −10
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  setuptools,

  # dependencies
  defusedxml,
  jsonref,
  jsonschema,
  latex2mathml,
@@ -31,14 +32,14 @@

buildPythonPackage (finalAttrs: {
  pname = "docling-core";
  version = "2.64.0";
  version = "2.70.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "docling-project";
    repo = "docling-core";
    tag = "v${finalAttrs.version}";
    hash = "sha256-22UJuHKUKyaIXcFOJvBWZibxBpibENZqVVFmZalWGx0=";
    hash = "sha256-YRvvizPwc3sJ6FgZfhadixDayMIGS1zTo+bnHBS7FMg=";
  };

  build-system = [
@@ -46,7 +47,13 @@ buildPythonPackage (finalAttrs: {
    setuptools
  ];

  pythonRelaxDeps = [
    "defusedxml"
    "pillow"
    "typer"
  ];
  dependencies = [
    defusedxml
    jsonref
    jsonschema
    latex2mathml
@@ -62,14 +69,7 @@ buildPythonPackage (finalAttrs: {
    typing-extensions
  ];

  pythonRelaxDeps = [
    "pillow"
    "typer"
  ];

  pythonImportsCheck = [
    "docling_core"
  ];
  pythonImportsCheck = [ "docling_core" ];

  nativeCheckInputs = [
    gitpython
@@ -83,6 +83,7 @@ buildPythonPackage (finalAttrs: {
    "test/test_code_chunker.py"
    "test/test_code_chunking_strategy.py"
    "test/test_hybrid_chunker.py"
    "test/test_line_chunker.py"
  ];

  meta = {