2025-04-03 13:40:15 +02:00
|
|
|
{
|
|
|
|
python3Packages,
|
|
|
|
nixosTests,
|
|
|
|
withUI ? false,
|
2025-05-07 12:54:29 +02:00
|
|
|
withTesserocr ? false,
|
|
|
|
withRapidocr ? false,
|
|
|
|
withCPU ? false,
|
2025-04-03 13:40:15 +02:00
|
|
|
}:
|
2025-04-01 09:25:33 +02:00
|
|
|
|
2025-05-07 12:54:29 +02:00
|
|
|
(python3Packages.toPythonApplication (
|
|
|
|
python3Packages.docling-serve.override {
|
|
|
|
inherit
|
|
|
|
withUI
|
|
|
|
withTesserocr
|
|
|
|
withRapidocr
|
|
|
|
withCPU
|
|
|
|
;
|
|
|
|
}
|
|
|
|
))
|
2025-04-01 09:26:12 +02:00
|
|
|
// {
|
|
|
|
passthru.tests = {
|
|
|
|
docling-serve = nixosTests.docling-serve;
|
|
|
|
};
|
|
|
|
}
|