summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-04 12:53:59 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-04 15:30:34 +0200
commit3d67269ee787c8624bafdd68df9fbf7eedd8eb1e (patch)
tree8c2a2ef3debc4fcf09fac1e51b8e2b58d10198ae /gnu/packages/java.scm
parente98fd9fe3fa11d57040735214c3af5a0eee5ed11 (diff)
downloadguix-3d67269ee787c8624bafdd68df9fbf7eedd8eb1e.tar.gz
gnu: java-fasterxml-jackson-dataformat-xml: Don't use unstable tarball.
* gnu/packages/java.scm (java-fasterxml-jackson-dataformat-xml)[source]:
Download using git-fetch.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index b1b60a3dac..70141a5f05 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9710,13 +9710,14 @@ interface and high-performance Typed Access API.")
     (name "java-fasterxml-jackson-dataformat-xml")
     (version "2.9.4")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/FasterXML/"
-                                  "jackson-dataformat-xml/archive/"
-                                  "jackson-dataformat-xml-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/FasterXML/jackson-dataformat-xml")
+                     (commit (string-append "jackson-dataformat-xml-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "111fkkl90w31jbf30kgj82qdcxlw4sxppki7i198liw0ck1jcavq"))))
+                "0s1wl65mbs57c2hz2v8rnh8i04y5lpyyvnjz562j5j6b83vwwpfx"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "jackson-dataformat-xml.jar"