Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: docling-serve 1.5.1 -> 1.12.0 https://github.com/docling-project/docling-serve/releases attrpath: docling-serve Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/2k5biyacf7r44sf4g4vrb5p060gs7la5-packages.json.drv building '/nix/store/2k5biyacf7r44sf4g4vrb5p060gs7la5-packages.json.drv'... Going to be running update for following packages: - docling-serve-1.5.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - docling-serve-1.5.1: UPDATING ... - docling-serve-1.5.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/docling-serve/default.nix b/pkgs/development/python-modules/docling-serve/default.nix index b81c15a62747..001e3ad74493 100644 --- a/pkgs/development/python-modules/docling-serve/default.nix +++ b/pkgs/development/python-modules/docling-serve/default.nix @@ -32,14 +32,14 @@ buildPythonPackage rec { pname = "docling-serve"; - version = "1.5.1"; + version = "1.12.0"; pyproject = true; src = fetchFromGitHub { owner = "docling-project"; repo = "docling-serve"; tag = "v${version}"; - hash = "sha256-JUHXrvsZBF/WHxsMT1xkPzpuX483RxF3ZlO+/NUMZ/8="; + hash = "sha256-S0mqRl+lCPyw73l03QzvkByC4Vmct5vKj2Q99yD3Hbk="; }; build-system = [ No auto update branch exists Old version 1.5.1" not present in staging derivation file with contents: { lib, buildPythonPackage, fetchFromGitHub, hatchling, setuptools-scm, # python dependencies docling, docling-jobkit, docling-mcp, fastapi, httpx, pydantic-settings, python-multipart, scalar-fastapi, uvicorn, websockets, tesserocr, typer, rapidocr, onnxruntime, torch, torchvision, gradio, nodejs, which, withUI ? false, withTesserocr ? false, withRapidocr ? false, withCPU ? false, }: buildPythonPackage rec { pname = "docling-serve"; version = "1.10.0"; pyproject = true; src = fetchFromGitHub { owner = "docling-project"; repo = "docling-serve"; tag = "v${version}"; hash = "sha256-g0ATehTRtrqgTjvMTs+yvFdFwXTZ8AWsO+Hljwlcbto="; }; build-system = [ hatchling setuptools-scm ]; pythonRelaxDeps = [ "websockets" ]; pythonRemoveDeps = [ "mlx-vlm" # not yet available on nixpkgs ]; dependencies = [ docling docling-jobkit docling-mcp fastapi httpx pydantic-settings python-multipart scalar-fastapi typer uvicorn websockets ] ++ lib.optionals withUI optional-dependencies.ui ++ lib.optionals withTesserocr optional-dependencies.tesserocr ++ lib.optionals withRapidocr optional-dependencies.rapidocr ++ lib.optionals withCPU optional-dependencies.cpu; optional-dependencies = { ui = [ gradio nodejs which ]; tesserocr = [ tesserocr ]; rapidocr = [ rapidocr onnxruntime ]; cpu = [ torch torchvision ]; }; pythonImportsCheck = [ "docling_serve" ]; # Require network doCheck = false; meta = { changelog = "https://github.com/docling-project/docling-serve/blob/${src.tag}/CHANGELOG.md"; description = "Running Docling as an API service"; homepage = "https://github.com/docling-project/docling-serve"; license = lib.licenses.mit; mainProgram = "docling-serve"; maintainers = [ ]; }; }