me
/
guix
Archived
1
0
Fork 0

gnu: java-junit: Don't use unstable tarball.

* gnu/packages/java.scm (java-junit)[source]: Download using git-fetch.
[home-page]: Update home-page.
master
Efraim Flashner 2020-03-29 22:05:31 +03:00
parent 2703d57343
commit 42c1c59ea1
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 7 additions and 6 deletions

View File

@ -3542,13 +3542,14 @@ testing frameworks, mocking libraries and UI validation rules.")
(name "java-junit") (name "java-junit")
(version "4.12") (version "4.12")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/junit-team/junit/" (uri (git-reference
"archive/r" version ".tar.gz")) (url "https://github.com/junit-team/junit/")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "r" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"090dn5v1vs0b3acyaqc0gjf6p8lmd2h24wfzsbq7sly6b214anws")) "1j8avi91px1z8rjc89cfikwrvfifdmmsarwiyrcnr59ynvpz0v8h"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -3561,7 +3562,7 @@ testing frameworks, mocking libraries and UI validation rules.")
#:jar-name "junit.jar")) #:jar-name "junit.jar"))
(inputs (inputs
`(("java-hamcrest-core" ,java-hamcrest-core))) `(("java-hamcrest-core" ,java-hamcrest-core)))
(home-page "https://junit.org/") (home-page "https://junit.org/junit4/")
(synopsis "Test framework for Java") (synopsis "Test framework for Java")
(description (description
"JUnit is a simple framework to write repeatable tests for Java projects. "JUnit is a simple framework to write repeatable tests for Java projects.