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")
(version "2.3.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/libharu/libharu/archive/"
(method git-fetch)
(uri (git-reference
(url "https://github.com/libharu/libharu.git")
(commit (string-append
"RELEASE_"
(string-join (string-split version #\.) "_")
".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(string-join (string-split version #\.) "_")))))
(file-name (git-file-name name version))
(sha256
(base32
"1lm4v539y9cb1lvbq387j57sy7yxda3yv8b1pk8m6zazbp66i7lg"))))
"15s9hswnl3qqi7yh29jyrg0hma2n99haxznvcywmsp8kjqlyg75q"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags