diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-03-30 09:53:46 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-03-30 10:05:52 +0300 |
commit | 242af2954e86e2b640c0cf3947514a22a812335f (patch) | |
tree | 7aec3c9925684a64eec7a10b4e0b7bf69348497c /gnu/packages/java.scm | |
parent | 7cf26f249a40b67319cf624869e37828d9e322e5 (diff) | |
download | guix-242af2954e86e2b640c0cf3947514a22a812335f.tar.gz |
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.scm | 11 |
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) |