This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 00799525e7 gnu: Add r-tesseract.
00799525e7 is described below

commit 00799525e712f51c9d5871bf641088ed5ba4edb0
Author: Simon Tournier <zimon.touto...@gmail.com>
AuthorDate: Wed Sep 24 18:19:20 2025 +0200

    gnu: Add r-tesseract.
    
    * gnu/packages/cran.scm (r-tesseract): New variable.
    
    Change-Id: Ia4227bee7f02de4901c5a6542b6a3b8c2d880cd8
    Signed-off-by: Andreas Enge <andr...@enge.fr>
---
 gnu/packages/cran.scm | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index a24588f2ad..c0a13082af 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -31,7 +31,7 @@
 ;;; Copyright © 2020 Antoine Côté <antoine.c...@posteo.net>
 ;;; Copyright © 2020 Arun Isaac <arunis...@systemreboot.net>
 ;;; Copyright © 2020 Magali Lemes <magalileme...@gmail.com>
-;;; Copyright © 2020, 2021, 2022, 2023 Simon Tournier 
<zimon.touto...@gmail.com>
+;;; Copyright © 2020-2023, 2025 Simon Tournier <zimon.touto...@gmail.com>
 ;;; Copyright © 2020 Aniket Patil <aniket112.pa...@gmail.com>
 ;;; Copyright © 2021 Marcel Schilling <marcel.schill...@uni-luebeck.de>
 ;;; Copyright © 2021 Guillaume Le Vaillant <g...@posteo.net>
@@ -103,6 +103,7 @@
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages networking)
   #:use-module (gnu packages node)
+  #:use-module (gnu packages ocr)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages perl)
@@ -55433,6 +55434,36 @@ or animation) or multiple time series; methods for 
spatial and temporal
 matching or aggregation, retrieving coordinates, print, summary, etc.")
     (license license:gpl2+)))
 
+(define-public r-tesseract
+  (package
+    (name "r-tesseract")
+    (version "5.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "tesseract" version))
+       (sha256
+        (base32 "181fbv1qhqxljr67phkrxahbfgsxa73gzq30zq0wvi38gzbfbnv8"))))
+    (properties `((upstream-name . "tesseract")))
+    (build-system r-build-system)
+    (inputs (list tesseract-ocr
+                  zlib))
+    (propagated-inputs (list r-curl
+                             r-digest
+                             r-pdftools
+                             r-rappdirs
+                             r-rcpp))
+    (native-inputs (list pkg-config
+                         r-knitr
+                         r-spelling))
+    (home-page "https://github.com/ropensci/tesseract";)
+    (synopsis "Open Source OCR Engine")
+    (description
+     "Bindings to @code{tesseract}: an optical character recognition (OCR) 
engine
+that supports over 100 languages.  The engine is highly configurable in order
+to tune the detection algorithms and obtain the best possible results.")
+    (license license:asl2.0)))
+
 (define-public r-gstat
   (package
     (name "r-gstat")

Reply via email to