aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:39 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:53 +0300
commit043ee597a7f82c6ea0dd6de07a69bb0bdb523a64 (patch)
treed7fed3c40a4ff5c6bfa31097627b3d684c28c51c
parent2876b23345916fdfd1468c55312aab84f46de80e (diff)
downloadpatches-043ee597a7f82c6ea0dd6de07a69bb0bdb523a64.tar
patches-043ee597a7f82c6ea0dd6de07a69bb0bdb523a64.tar.gz
gnu: antlr3: Don't use unstable tarball.
* gnu/packages/java.scm (antlr3)[source]: Download using git-fetch.
-rw-r--r--gnu/packages/java.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index e1e071573d..9c0974a602 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -7051,13 +7051,14 @@ StringTemplate also powers ANTLR.")
(name "antlr3")
(version "3.5.2")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/antlr/antlr3/archive/"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/antlr/antlr3")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0218v683081lg54z9hvjxinhxd4dqp870jx6n39gslm0bkyi4vd6"))))
+ "0cafavrjmzqhklghrk8c2jqxkdwxgzskm20pbrfd3r41cn00dpnf"))))
(build-system ant-build-system)
(arguments
`(#:jar-name (string-append ,name "-" ,version ".jar")