gnu: leptonica: Fetch sources from git.

* gnu/packages/image.scm (leptonica)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-29 21:44:49 +01:00
parent 45b2eff0aa
commit 69f7d3f424
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -510,13 +510,13 @@ collection of tools for doing simple manipulations of TIFF images.")
(version "1.74.4") (version "1.74.4")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://github.com/DanBloomberg/leptonica/archive/" version (url "https://github.com/DanBloomberg/leptonica.git")
".tar.gz")) (commit version)))
(file-name (string-append "leptonica-" version ".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "10pw7pwccd0m0fc9rlrr2m41s7j1qvba2wcrav17pw1gclkf34i0")))) (base32 "0sfg1ky0lghlq7xx0qii5167bim0wwfnnr83dl4skbj9awyvjiwi"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("gnuplot" ,gnuplot) ;needed for test suite `(("gnuplot" ,gnuplot) ;needed for test suite