mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: tesseract-ocr: Don't use unstable tarball.
* gnu/packages/ocr.scm (tesseract-ocr)[source]: Download using git-fetch. [home-page]: Use full URL.
This commit is contained in:
parent
4eb40497b6
commit
04950d1ff6
1 changed files with 8 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2016, 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2019 Alex Vong <alexvong1995@gmail.com>
|
;;; Copyright © 2019 Alex Vong <alexvong1995@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
|
@ -57,13 +57,13 @@ (define-public tesseract-ocr
|
||||||
(version "3.04.01")
|
(version "3.04.01")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append
|
(uri (git-reference
|
||||||
"https://github.com/tesseract-ocr/tesseract/archive/"
|
(url "https://github.com/tesseract-ocr/tesseract")
|
||||||
version ".tar.gz"))
|
(commit version)))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0snwd8as5i8vx7zkimpd2yg898jl96zf90r65a9w615f2hdkxxjp"))))
|
(base32 "0h1x4z1h86n2gwknd0wck6gykkp99bmm02lg4a47a698g4az6ybv"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("leptonica" ,leptonica)))
|
`(("leptonica" ,leptonica)))
|
||||||
|
@ -71,7 +71,7 @@ (define-public tesseract-ocr
|
||||||
'(#:configure-flags
|
'(#:configure-flags
|
||||||
(let ((leptonica (assoc-ref %build-inputs "leptonica")))
|
(let ((leptonica (assoc-ref %build-inputs "leptonica")))
|
||||||
(list (string-append "LIBLEPT_HEADERSDIR=" leptonica "/include")))))
|
(list (string-append "LIBLEPT_HEADERSDIR=" leptonica "/include")))))
|
||||||
(home-page "https://github.com/tesseract-ocr")
|
(home-page "https://github.com/tesseract-ocr/tesseract")
|
||||||
(synopsis "Optical character recognition engine")
|
(synopsis "Optical character recognition engine")
|
||||||
(description
|
(description
|
||||||
"Tesseract is an optical character recognition (OCR) engine with very
|
"Tesseract is an optical character recognition (OCR) engine with very
|
||||||
|
|
Loading…
Reference in a new issue