gnu: libharu: Fetch sources from git.

* gnu/packages/pdf.scm (libharu)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-11 13:00:35 +01:00
parent bc74e9e4cd
commit 2b2ab39cfc
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 8 additions and 7 deletions

View File

@ -223,15 +223,16 @@ Poppler PDF rendering library.")
(name "libharu") (name "libharu")
(version "2.3.0") (version "2.3.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/libharu/libharu/archive/" (uri (git-reference
"RELEASE_" (url "https://github.com/libharu/libharu.git")
(string-join (string-split version #\.) "_") (commit (string-append
".tar.gz")) "RELEASE_"
(file-name (string-append name "-" version ".tar.gz")) (string-join (string-split version #\.) "_")))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1lm4v539y9cb1lvbq387j57sy7yxda3yv8b1pk8m6zazbp66i7lg")))) "15s9hswnl3qqi7yh29jyrg0hma2n99haxznvcywmsp8kjqlyg75q"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags