diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-03-29 22:05:31 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-03-30 10:05:49 +0300 |
commit | 42c1c59ea19ecdae04fa88858a261b4101a62709 (patch) | |
tree | 0c9aa86268cbf6ed476f7630209303c09bfa8bdb | |
parent | 2703d5734382e0ceac9febb1f77d654693f76417 (diff) | |
download | patches-42c1c59ea19ecdae04fa88858a261b4101a62709.tar patches-42c1c59ea19ecdae04fa88858a261b4101a62709.tar.gz |
gnu: java-junit: Don't use unstable tarball.
* gnu/packages/java.scm (java-junit)[source]: Download using git-fetch.
[home-page]: Update home-page.
-rw-r--r-- | gnu/packages/java.scm | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 8c97f6bba0..db28805929 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -3542,13 +3542,14 @@ testing frameworks, mocking libraries and UI validation rules.") (name "java-junit") (version "4.12") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/junit-team/junit/" - "archive/r" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/junit-team/junit/") + (commit (string-append "r" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "090dn5v1vs0b3acyaqc0gjf6p8lmd2h24wfzsbq7sly6b214anws")) + "1j8avi91px1z8rjc89cfikwrvfifdmmsarwiyrcnr59ynvpz0v8h")) (modules '((guix build utils))) (snippet '(begin @@ -3561,7 +3562,7 @@ testing frameworks, mocking libraries and UI validation rules.") #:jar-name "junit.jar")) (inputs `(("java-hamcrest-core" ,java-hamcrest-core))) - (home-page "https://junit.org/") + (home-page "https://junit.org/junit4/") (synopsis "Test framework for Java") (description "JUnit is a simple framework to write repeatable tests for Java projects. |