~ruther/guix-local

00799525e712f51c9d5871bf641088ed5ba4edb0 — Simon Tournier 8 months ago fff8271
gnu: Add r-tesseract.

* gnu/packages/cran.scm (r-tesseract): New variable.

Change-Id: Ia4227bee7f02de4901c5a6542b6a3b8c2d880cd8
Signed-off-by: Andreas Enge <andreas@enge.fr>
1 files changed, 32 insertions(+), 1 deletions(-)

M gnu/packages/cran.scm
M gnu/packages/cran.scm => gnu/packages/cran.scm +32 -1
@@ 31,7 31,7 @@
;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Magali Lemes <magalilemes00@gmail.com>
;;; Copyright © 2020, 2021, 2022, 2023 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2020-2023, 2025 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2020 Aniket Patil <aniket112.patil@gmail.com>
;;; Copyright © 2021 Marcel Schilling <marcel.schilling@uni-luebeck.de>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@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")