summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-29 22:38:18 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-29 22:41:28 +0300
commit3e51f9eb3a82db4a327eb707896010917e03112c (patch)
tree0a327c8cd32ccf84e5087401c354ab443853cbf7
parent4e257acf48a2fc3df183d3f1837e9f4f653fee31 (diff)
downloadguix-3e51f9eb3a82db4a327eb707896010917e03112c.tar.gz
gnu: java-bsh: Don't use unstable tarball.
* gnu/packages/java.scm (java-bsh)[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 7e017d0d69..4dbf27034d 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9230,13 +9230,14 @@ annotations.")
     (name "java-bsh")
     (version "2.0b6")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/beanshell/beanshell/archive/"
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/beanshell/beanshell")
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1bawkxk6jyc75hxvzkpz689h73cn3f222m0ar3nvb0dal2b85kfv"))))
+                "0kz3f0xjack6c9syssi4qjw1rbd3q5963sk5pmr143hiibxa9csw"))))
     (build-system ant-build-system)
     (arguments
      `(#:build-target "jarall"