summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-29 22:37:44 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-29 22:41:28 +0300
commit4e257acf48a2fc3df183d3f1837e9f4f653fee31 (patch)
tree15149240e8069bc6160696e50c059ede293db03b /gnu/packages
parent87ce1fc59690eb925cb9c15652b6a080a35ef915 (diff)
downloadguix-4e257acf48a2fc3df183d3f1837e9f4f653fee31.tar.gz
gnu: java-jcommander: Don't use unstable tarball.
* gnu/packages/java.scm (java-jcommander)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu/packages')
-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 a7317af273..7e017d0d69 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9204,13 +9204,14 @@ file when the JVM loads it.")
     (name "java-jcommander")
     (version "1.71")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/cbeust/jcommander/archive/"
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/cbeust/jcommander")
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1f5k2ckay6qjc3d3w3d7bc0p3cx3c7n6p6zxvw1kibqdr0q98wlx"))))
+                "12vcpc19sd7jhvjgp7xz1qjanfix162xb3x2q5zah93rjklj1h57"))))
     (build-system ant-build-system)
     (arguments
      `(#:jar-name "java-jcommander.jar"