aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 22:37:43 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:49 +0100
commitd57b017ccc25d3c46b8fe4076f5e9bedb0eeda47 (patch)
tree9d6890365241a236f8096b7d59b718be24bc4f01
parent94be94cfda780374524e227184efcc88b83f5d5f (diff)
downloadguix-d57b017ccc25d3c46b8fe4076f5e9bedb0eeda47.tar
guix-d57b017ccc25d3c46b8fe4076f5e9bedb0eeda47.tar.gz
gnu: jasper: Fetch sources from git.
* gnu/packages/image.scm (jasper)[source]: Fetch from git.
-rw-r--r--gnu/packages/image.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 11755a7b86..e7a7121f15 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1121,13 +1121,14 @@ convert, manipulate, filter and display a wide variety of image formats.")
(name "jasper")
(version "2.0.14")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/mdadams/jasper/archive/"
- "version-" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mdadams/jasper.git")
+ (commit (string-append "version-" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0yx9y5y0g6jv142vnqp50j3k8k5yqznz3smrblv192wgfbm6w9l5"))))
+ "0aarg8nbik9wrm7fx0451sbm5ypfdfr6i169pxzi354mpdp8gg7f"))))
(build-system cmake-build-system)
(inputs `(("libjpeg" ,libjpeg)))
(synopsis "JPEG-2000 library")