From 3dc7a8ce73943f8bd0a34e39440356b0f2a75e5b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 30 Mar 2020 09:43:17 +0300 Subject: gnu: java-objenesis: Don't use unstable tarball. * gnu/packages/java.scm (java-objenesis)[source]: Download using git-fetch. --- gnu/packages/java.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index f124eb6278..5a124b5115 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -4435,13 +4435,14 @@ to generate and transform Java byte code.") (name "java-objenesis") (version "2.5.1") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/easymock/objenesis/" - "archive/" version ".tar.gz")) - (file-name (string-append "objenesis-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/easymock/objenesis") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1va5qz1i2wawwavhnxfzxnfgrcaflz9p1pg03irrjh4nd3rz8wh6")))) + "054yi200wj00x6dp1sxfrwgndwywadsbn8d8ij1j0v45j9g2vdya")))) (build-system ant-build-system) (arguments `(#:jar-name "objenesis.jar" -- cgit v1.2.3