From 043ee597a7f82c6ea0dd6de07a69bb0bdb523a64 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 30 Mar 2020 10:05:39 +0300 Subject: gnu: antlr3: Don't use unstable tarball. * gnu/packages/java.scm (antlr3)[source]: Download using git-fetch. --- gnu/packages/java.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gnu/packages/java.scm') 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 @@ (define-public antlr3 (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") -- cgit v1.2.3