summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-29 22:15:45 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:50 +0300
commitc4b67ba3a804d94ea2b56a2d7c968a1e024f2ee1 (patch)
tree34badec97a7b6388dcb062b34aeffeea617dea48
parentc53badd4520252fc19c89820af0d569a2d809af2 (diff)
downloadguix-c4b67ba3a804d94ea2b56a2d7c968a1e024f2ee1.tar.gz
gnu: java-plexus-interpolation: Don't use unstable tarball.
* gnu/packages/java.scm (java-plexus-interpolation)[source]: Download
using git-fetch.
-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 ce5aee1f20..da778518fe 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3629,13 +3629,14 @@ more.")
     (name "java-plexus-interpolation")
     (version "1.23")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/codehaus-plexus/"
-                                  "plexus-interpolation/archive/"
-                                  "plexus-interpolation-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/codehaus-plexus/plexus-interpolation")
+                     (commit (string-append "plexus-interpolation-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "03377yzlx5q440m6sxxgv6a5qb8fl30zzcgxgc0hxk5qgl2z1jjn"))))
+                "005hxxg1adv71a96lz4vp65bk3v1pi76j4c45z29xzizclib16vl"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "plexus-interpolation.jar"