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:26:23 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:51 +0300
commit16c62763995ccdb3165a9d5760df4097aca822fb (patch)
treeae6fd4773477330085b682126438de206f74afbc /gnu/packages/java.scm
parentd9e356a893fd57da939a068d9ca6911c79169009 (diff)
downloadguix-16c62763995ccdb3165a9d5760df4097aca822fb.tar.gz
gnu: java-sisu-build-api: Don't use unstable tarball.
* gnu/packages/java.scm (java-sisu-build-api)[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 81a17c040e..fe9a8998ba 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4102,12 +4102,14 @@ Plexus components.")
     (name "java-sisu-build-api")
     (version "0.0.7")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/sonatype/sisu-build-api/"
-                                  "archive/plexus-build-api-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/sonatype/sisu-build-api")
+                     (commit (string-append "plexus-build-api-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1c3rrpma3x634xp2rm2p5iskfhzdyc7qfbhjzr70agrl1jwghgy2"))))
+                "1d5w6c58gkx30d51v7qwv1xrhc0ly76848gihmgshj19yf6yhca0"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "sisu-build-api.jar"