summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-30 09:01:18 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:50 +0300
commit48fe942c8578f52ed584691d3b581f789282a409 (patch)
tree95d4269d5db146a26b37a7d5bb1dacb1bc7b0a42 /gnu/packages/java.scm
parent3a26ea3a58b9f2cf52563f24473cfa72b924e838 (diff)
downloadguix-48fe942c8578f52ed584691d3b581f789282a409.tar.gz
gnu: java-plexus-io: Don't use unstable tarball.
* gnu/packages/java.scm (java-plexus-io)[source]: Download using git-fetch.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index a3ea0847cf..f04dfe0b9d 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3728,12 +3728,14 @@ implementation.")
     (name "java-plexus-io")
     (version "3.0.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/codehaus-plexus/plexus-io"
-                                  "/archive/plexus-io-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/codehaus-plexus/plexus-io")
+                     (commit (string-append "plexus-io-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0f2j41kihaymxkpbm55smpxjja235vad8cgz94frfy3ppcp021dw"))))
+                "1h4q9l2j9sfbscvxpnyy2hazi0r83h3am86y4r959wrl1b24xxwd"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "plexus-io.jar"