python3Packages.docling-serve: 0.11.0 -> 0.14.0

This commit is contained in:
codgician 2025-07-16 17:32:43 +08:00
parent f22b522642
commit 42e21ee3fe
No known key found for this signature in database

View File

@ -13,6 +13,7 @@
uvicorn, uvicorn,
websockets, websockets,
tesserocr, tesserocr,
typer,
rapidocr-onnxruntime, rapidocr-onnxruntime,
onnxruntime, onnxruntime,
torch, torch,
@ -28,14 +29,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "docling-serve"; pname = "docling-serve";
version = "0.11.0"; version = "0.14.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "docling-project"; owner = "docling-project";
repo = "docling-serve"; repo = "docling-serve";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-dPCD7Ovc6Xiga+gYOwg0mJIIhHywVOyxKIAFF5XUsYw="; hash = "sha256-R8W/FXKj2wLJOcjwIsna/2wFOLGM80Qr3WlYPJTTSNU=";
}; };
postPatch = '' postPatch = ''
@ -53,7 +54,7 @@ buildPythonPackage rec {
]; ];
pythonRemoveDeps = [ pythonRemoveDeps = [
"mlx-vlm" # not yet avainable on nixpkgs "mlx-vlm" # not yet available on nixpkgs
]; ];
dependencies = dependencies =
@ -63,6 +64,7 @@ buildPythonPackage rec {
httpx httpx
pydantic-settings pydantic-settings
python-multipart python-multipart
typer
uvicorn uvicorn
websockets websockets
] ]