aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-29 22:02:44 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:49 +0300
commit2703d5734382e0ceac9febb1f77d654693f76417 (patch)
tree17b66e85d5e1498e3dbf99ac8129287288b647fe
parent3e3364fc526e1a54ea7744361ffcf6a59a6610a8 (diff)
downloadguix-2703d5734382e0ceac9febb1f77d654693f76417.tar
guix-2703d5734382e0ceac9febb1f77d654693f76417.tar.gz
gnu: java-hamcrest-core: Don't use unstable tarball.
* gnu/packages/java.scm (java-hamcrest-core)[source]: Download using git-fetch.
-rw-r--r--gnu/packages/java.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 5154dc124e..8c97f6bba0 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2019 Gábor Boskovits <boskovits@gmail.com>
;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
-;;; Copyright © 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019, 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;;
;;; This file is part of GNU Guix.
@@ -3435,12 +3435,14 @@ an Ant task that extends the built-in @code{jar} task.")
(name "java-hamcrest-core")
(version "1.3")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/hamcrest/JavaHamcrest/"
- "archive/hamcrest-java-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hamcrest/JavaHamcrest/")
+ (commit (string-append "hamcrest-java-" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "11g0s105fmwzijbv08lx8jlb521yravjmxnpgdx08fvg1kjivhva"))
+ "16fxxkrd31ahqvcaby30jgh3z1i0zxh51m24hxgz0z2agxj6bc63"))
(modules '((guix build utils)))
(snippet
'(begin