summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-29 22:18:15 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:50 +0300
commit9520b2b16e242728ab9340047197389d6d2bc2fc (patch)
treea1b1e1ef989b446b69ad6954bd47ad8b3b15e848 /gnu/packages
parentc4b67ba3a804d94ea2b56a2d7c968a1e024f2ee1 (diff)
downloadguix-9520b2b16e242728ab9340047197389d6d2bc2fc.tar.gz
gnu: java-plexus-classworlds: Don't use unstable tarball.
* gnu/packages/java.scm (java-plexus-classworlds)[source]: Download
using git-fetch.
Diffstat (limited to 'gnu/packages')
-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 da778518fe..5ee7109ab8 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3660,13 +3660,14 @@ these two libraries to vary independently of one another.")
     (name "java-plexus-classworlds")
     (version "2.5.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/codehaus-plexus/"
-                                  "plexus-classworlds/archive/plexus-classworlds-"
-                                  version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/codehaus-plexus/plexus-classworlds")
+                     (commit (string-append "plexus-classworlds-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1qm4p0rl8d82lzhsiwnviw11jnq44s0gflg78zq152xyyr2xmh8g"))))
+                "1iv8x55fbni2hg4l7pdpbwfq75xmvq1f25g6nxma8rcdpihsh13r"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "plexus-classworlds.jar"