gnu: java-bsh: Don't use unstable tarball.
authorEfraim Flashner <efraim@flashner.co.il>
Mon, 29 Jun 2020 19:38:18 +0000 (22:38 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Mon, 29 Jun 2020 19:41:28 +0000 (22:41 +0300)
* gnu/packages/java.scm (java-bsh)[source]: Download using git-fetch.

gnu/packages/java.scm

index 7e017d0..4dbf270 100644 (file)
@@ -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"