From 04ca89d8ad58393343700d56448239482a88d930 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 29 Jun 2020 22:25:35 +0300 Subject: [PATCH] gnu: java-assertj: Don't use unstable tarball. * gnu/packages/java.scm (java-asssertj)[source]: Download using git-fetch. --- gnu/packages/java.scm | 11 ++++++----- 1 file 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 @@ (define-public java-assertj (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"