gnu: java-objenesis: Don't use unstable tarball.

* gnu/packages/java.scm (java-objenesis)[source]: Download using
git-fetch.
This commit is contained in:
Efraim Flashner 2020-03-30 09:43:17 +03:00
parent 654f997d98
commit 3dc7a8ce73
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4435,13 +4435,14 @@ (define-public java-objenesis
(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"