From a4b96726b510979c0784dab81ffd68349788554b Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 10 Feb 2019 13:30:02 +0100 Subject: gnu: java-jettison: Don't use unstable tarball. * gnu/packages/xml.scm (java-jettison)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/xml.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 19391ea8aa..461c021967 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1930,12 +1930,14 @@ (define-public java-jettison (name "java-jettison") (version "1.3.7") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/codehaus/jettison/archive/" - "jettison-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/codehaus/jettison.git") + (commit (string-append "jettison-" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "0rdhfyxywvga5wiwasc04iqnxyixn3rd8wj01c9ymhvwc3h6dpqg")))) + "15sydmi5chdh4126qc7v8bsrp7fp4ldaya8a05iby4pq2324q0qw")))) (build-system ant-build-system) (arguments `(#:jar-name "jettison.jar" -- cgit v1.2.3