summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 22:42:37 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:49 +0100
commit5bc593dfb7df4927461f257acfc3601a28b3fbe8 (patch)
treea4041968470ad8b5f14d4251aac5b538ab2fec21 /gnu/packages
parent743600e9db44e83819e3212646ad6deaa21453ec (diff)
downloadpatches-5bc593dfb7df4927461f257acfc3601a28b3fbe8.tar
patches-5bc593dfb7df4927461f257acfc3601a28b3fbe8.tar.gz
gnu: jp2a: Fetch sources from git.
* gnu/packages/image.scm (jp2a)[source]: Fetch from git.
Diffstat (limited to 'gnu/packages')
-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 33587bf01b..7b72737504 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1567,13 +1567,14 @@ identical visual appearance.")
(version "1.0.7")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/cslarsen/jp2a/archive/v"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cslarsen/jp2a.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0nahpjvrahixcfqqrjj2k4fscc8qs4hqnmj2qgjzsjj3z6xxh2g5"))
- (file-name (string-append name "-" version ".tar.gz"))))
+ "12a1z9ba2j16y67f41y8ax5sgv1wdjd71pg7circdxkj263n78ql"))))
(build-system gnu-build-system)
(inputs
`(("libjpeg" ,libjpeg)