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

* gnu/packages/xml.scm (java-jdom2)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-02-10 11:59:31 +01:00
parent 00fc938983
commit 951bdf5adf
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 5 deletions

View File

@ -1960,16 +1960,18 @@ implements @code{XMLStreamWriter} and @code{XMLStreamReader} and supports
(name "java-jdom") (name "java-jdom")
(version "2.0.6") (version "2.0.6")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/hunterhacker/jdom/archive/JDOM-" (uri (git-reference
version ".tar.gz")) (url "https://github.com/hunterhacker/jdom.git")
(commit (string-append "JDOM-" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0p8n7inqq2a25wk9ljinl3ixlx1x2la9qaman8ngd75xxjb02yc1")))) "14vv1kxrsdvwi4cz3rx6r48w5y6fvk9cymil8qhvxwp56xxrgxiq"))))
(build-system ant-build-system) (build-system ant-build-system)
(arguments (arguments
`(#:build-target "package" `(#:build-target "package"
#:tests? #f; tests are run as part of the build process #:tests? #f ; tests are run as part of the build process
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'install (replace 'install