summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-04-19 22:11:55 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-04-20 08:42:06 +0300
commite9917c696bec193e6e6527ca62000a716b8277c2 (patch)
tree3ca4a1f81621c70c2d2c6777e0b4a582ebd0c205 /gnu
parent79e74008831d7978a925875104ca1f1f02ac7878 (diff)
downloadguix-e9917c696bec193e6e6527ca62000a716b8277c2.tar.gz
gnu: java-fest-assert: Don't use unstable tarball.
* gnu/packages/java.scm (java-fest-assert)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu')
-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 5ed708d66a..1ad188b256 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9167,12 +9167,14 @@ those in Perl and JavaScript.")
     (name "java-fest-assert")
     (version "2.0M10")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/alexruiz/fest-assert-2.x/"
-                                  "archive/fest-assert-core-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/alexruiz/fest-assert-2.x/")
+                     (commit (string-append "fest-assert-core-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1bi0iqavikzww6rxvz5jyg7y6bflv95s6ibryxx0xfcxrrw6i5lw"))))
+                "1cp8zzyag3s85fz2w68sda9zzaal1y5f9wl8g72wkm12an40w6by"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "java-fest-assert.jar"