Archived
1
0
Fork 0

gnu: java-jmock-1: Don't use unstable tarball.

* gnu/packages/java.scm (java-jmock-1)[source]: Download using git-fetch.
[home-page]: Update home-page.
This commit is contained in:
Efraim Flashner 2020-03-30 09:51:25 +03:00
parent 7cf90f6419
commit 7cf26f249a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4528,13 +4528,14 @@ mock objects in unit testing.")
(name "java-jmock") (name "java-jmock")
(version "1.2.0") (version "1.2.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/jmock-developers/" (uri (git-reference
"jmock-library/archive/" version ".tar.gz")) (url "https://github.com/jmock-developers/jmock-library")
(file-name (string-append "jmock-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0xmrlhq0fszldkbv281k9463mv496143vvmqwpxp62yzjvdkx9w0")))) "0lkga995xd9b9mmzxmcd301hlw83p1h78nibh7djlx7wydscr85z"))))
(build-system ant-build-system) (build-system ant-build-system)
(arguments (arguments
`(#:build-target "jars" `(#:build-target "jars"
@ -4542,7 +4543,7 @@ mock objects in unit testing.")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'install (install-jars "build"))))) (replace 'install (install-jars "build")))))
(home-page "http://www.jmock.org") (home-page "http://jmock.org/")
(synopsis "Mock object library for test-driven development") (synopsis "Mock object library for test-driven development")
(description "JMock is a library that supports test-driven development of (description "JMock is a library that supports test-driven development of
Java code with mock objects. Mock objects help you design and test the Java code with mock objects. Mock objects help you design and test the