8 , gobject-introspection
16 , extraOcrEngines ? [] # other supported engines are: ocrad gocr cuneiform
19 stdenv.mkDerivation (finalAttrs: {
24 url = "mirror://gnome/sources/${finalAttrs.pname}/${lib.versions.majorMinor finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
25 sha256 = "sha256-sD0qWUndguJzTw0uy0FIqupFf4OX6dTFvcd+Mz+8Su0=";
42 (python3.withPackages(ps: with ps; [
52 # Compiles, but doesn't launch without this, see:
53 # https://gitlab.gnome.org/GNOME/ocrfeeder/-/issues/83
57 enginesPath = lib.makeBinPath ([
59 ] ++ extraOcrEngines);
62 gappsWrapperArgs+=(--prefix PATH : "${finalAttrs.enginesPath}")
63 gappsWrapperArgs+=(--set ISO_CODES_DIR "${isocodes}/share/xml/iso-codes")
67 homepage = "https://wiki.gnome.org/Apps/OCRFeeder";
68 description = "Complete Optical Character Recognition and Document Analysis and Recognition program";
69 maintainers = with maintainers; [ doronbehar ];
70 license = licenses.gpl3Plus;
71 platforms = platforms.linux;