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

* gnu/packages/java.scm (java-jcommander)[source]: Download using
git-fetch.
This commit is contained in:
Efraim Flashner 2020-06-29 22:37:44 +03:00
parent 87ce1fc596
commit 4e257acf48
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -9204,13 +9204,14 @@ (define-public java-jcommander
(name "java-jcommander")
(version "1.71")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/cbeust/jcommander/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/cbeust/jcommander")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1f5k2ckay6qjc3d3w3d7bc0p3cx3c7n6p6zxvw1kibqdr0q98wlx"))))
"12vcpc19sd7jhvjgp7xz1qjanfix162xb3x2q5zah93rjklj1h57"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "java-jcommander.jar"