mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
aaaed13077
Tesseract is now decoupled from the tessdata language corpus. This avoids recompilation when building Tesseract with a custom set of languages. Update k2pdfopt to use the new wrapper interface.
19 lines
391 B
Nix
19 lines
391 B
Nix
{ callPackage, lowPrio }:
|
|
|
|
let
|
|
base3 = callPackage ./tesseract3.nix {};
|
|
base4 = callPackage ./tesseract4.nix {};
|
|
languages = callPackage ./languages.nix {};
|
|
in
|
|
{
|
|
tesseract = callPackage ./wrapper.nix {
|
|
tesseractBase = base3;
|
|
languages = languages.v3;
|
|
};
|
|
|
|
tesseract_4 = lowPrio (callPackage ./wrapper.nix {
|
|
tesseractBase = base4;
|
|
languages = languages.v4;
|
|
});
|
|
}
|