aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-30 09:43:17 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:52 +0300
commit3dc7a8ce73943f8bd0a34e39440356b0f2a75e5b (patch)
treee50572918d1fbb999924a678b0fb9ac952852dbb /gnu/packages
parent654f997d98fd96c0a2eaa36e0dda1518eb40fb90 (diff)
downloadpatches-3dc7a8ce73943f8bd0a34e39440356b0f2a75e5b.tar
patches-3dc7a8ce73943f8bd0a34e39440356b0f2a75e5b.tar.gz
gnu: java-objenesis: Don't use unstable tarball.
* gnu/packages/java.scm (java-objenesis)[source]: Download using git-fetch.
Diffstat (limited to 'gnu/packages')
-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 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"