summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-11 13:00:35 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-11 13:00:35 +0100
commit2b2ab39cfc694e3c0cb37c0136bb606b20d41661 (patch)
tree8be020f0e01af31719980b244b08dbc267f3f72f
parentbc74e9e4cd409ec31a227ad3c6ddd1c45a3e5d36 (diff)
gnu: libharu: Fetch sources from git.
* gnu/packages/pdf.scm (libharu)[source]: Fetch from git.
-rw-r--r--gnu/packages/pdf.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 1d37de70d7..1ecd49215b 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -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/"
- "RELEASE_"
- (string-join (string-split version #\.) "_")
- ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libharu/libharu.git")
+ (commit (string-append
+ "RELEASE_"
+ (string-join (string-split version #\.) "_")))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1lm4v539y9cb1lvbq387j57sy7yxda3yv8b1pk8m6zazbp66i7lg"))))
+ "15s9hswnl3qqi7yh29jyrg0hma2n99haxznvcywmsp8kjqlyg75q"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags