guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 12/14: gnu: java-jettison: Don't use unstable tarball.
Date: Sun, 10 Feb 2019 11:48:57 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit a4b96726b510979c0784dab81ffd68349788554b
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Feb 10 13:30:02 2019 +0100

    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(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 19391ea..461c021 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1930,12 +1930,14 @@ and from a Java application.  It provides a standard 
pull parser interface.")
     (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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]