summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-29 22:12:31 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:50 +0300
commitc53badd4520252fc19c89820af0d569a2d809af2 (patch)
tree09c0901d24b7f96eefafecac9965aa41dca49544
parent42c1c59ea19ecdae04fa88858a261b4101a62709 (diff)
downloadguix-c53badd4520252fc19c89820af0d569a2d809af2.tar.gz
gnu: java-plexus-utils: Don't use unstable tarball.
* gnu/packages/java.scm (java-plexus-utils)[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 db28805929..ce5aee1f20 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3575,13 +3575,14 @@ sharing common test data, and test runners for running tests.")
     (name "java-plexus-utils")
     (version "3.2.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/codehaus-plexus/"
-                                  "plexus-utils/archive/plexus-utils-"
-                                  version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/codehaus-plexus/plexus-utils")
+                     (commit (string-append "plexus-utils-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1ihfigar20lvk4pinii7dq05i173xphhw4iyrk6gjfy04m01j2lz"))))
+                "1mlx7xrq7lgqjqcpg7y4hi1ghavf28vvk3har82037dqx61n0f15"))))
     (build-system ant-build-system)
     ;; FIXME: The default build.xml does not include a target to install
     ;; javadoc files.