summaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-30 09:53:46 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-03-30 10:05:52 +0300
commit242af2954e86e2b640c0cf3947514a22a812335f (patch)
tree7aec3c9925684a64eec7a10b4e0b7bf69348497c /gnu/packages/java.scm
parent7cf26f249a40b67319cf624869e37828d9e322e5 (diff)
gnu: java-jmock: Don't use unstable tarball.
* gnu/packages/java.scm (java-jmock)[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 1a36268da7..e8cab46a7c 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4566,13 +4566,14 @@ The jMock library
(name "java-jmock")
(version "2.8.2")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/jmock-developers/"
- "jmock-library/archive/" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jmock-developers/jmock-library")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "18650a9g8xffcsdb6w91pbswa7f40fp2sh6s3nclkclz5dbzq8f0"))))
+ "12b7l22g3nrjvf2dzcw3z03fpd2chrgp0d8xkvn8w55rwb57pax6"))))
(inputs
`(("java-hamcrest-all" ,java-hamcrest-all)
("java-asm" ,java-asm)