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

* gnu/packages/xml.scm (java-jettison)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-02-10 13:30:02 +01:00
parent 4bad4fbdf8
commit a4b96726b5
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 4 deletions

View File

@ -1930,12 +1930,14 @@ and from a Java application. It provides a standard pull parser interface.")
(name "java-jettison") (name "java-jettison")
(version "1.3.7") (version "1.3.7")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/codehaus/jettison/archive/" (uri (git-reference
"jettison-" version ".tar.gz")) (url "https://github.com/codehaus/jettison.git")
(commit (string-append "jettison-" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0rdhfyxywvga5wiwasc04iqnxyixn3rd8wj01c9ymhvwc3h6dpqg")))) "15sydmi5chdh4126qc7v8bsrp7fp4ldaya8a05iby4pq2324q0qw"))))
(build-system ant-build-system) (build-system ant-build-system)
(arguments (arguments
`(#:jar-name "jettison.jar" `(#:jar-name "jettison.jar"