summaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-29 22:25:35 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-29 22:41:28 +0300
commit04ca89d8ad58393343700d56448239482a88d930 (patch)
treecb300479ff6d1bcca4b13c1aff4e69d639f8b2ed /gnu/packages/java.scm
parentb176f69fba492d36a0e0f86f8f1e6e55a7c22376 (diff)
gnu: java-assertj: Don't use unstable tarball.
* gnu/packages/java.scm (java-asssertj)[source]: Download using git-fetch.
Diffstat (limited to 'gnu/packages/java.scm')
-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 1bec3fe6a8..2cbf99ca1b 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9129,13 +9129,14 @@ Java 6 and above.")
(name "java-assertj")
(version "3.8.0")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/joel-costigliola/"
- "assertj-core/archive/"
- "assertj-core-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/joel-costigliola/assertj-core")
+ (commit (string-append "assertj-core-" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1kf124fxskf548rklkg86294w2x6ajqrff94rrhyqns31danqkfz"))))
+ "1k35cg2in7pzk4pbdjryr0pll5lgk1r6ngrn0j8cdlgi7w8zh2d1"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "java-assertj.jar"