diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-03-13 02:45:00 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-03-13 05:36:09 +0100 |
commit | e2528a3cc1819d3fe24880c5cfec74f075d5f820 (patch) | |
tree | 0c0b38c04952f20ced1536cd931b81dcd874e6cd | |
parent | 2eed6813b6a447524fad8c29412a1efc8c135456 (diff) | |
download | gnu-guix-e2528a3cc1819d3fe24880c5cfec74f075d5f820.tar gnu-guix-e2528a3cc1819d3fe24880c5cfec74f075d5f820.tar.gz |
gnu: java-snappy@1.0: Don't use unstable tarball.
* gnu/packages/java-compression.scm (java-snappy-1)[name]: Restate.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
-rw-r--r-- | gnu/packages/java-compression.scm | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/java-compression.scm b/gnu/packages/java-compression.scm index 3a9082641c..2dd65da305 100644 --- a/gnu/packages/java-compression.scm +++ b/gnu/packages/java-compression.scm @@ -131,14 +131,17 @@ compressor/decompressor.") (define-public java-snappy-1 (package (inherit java-snappy) + (name "java-snappy") (version "1.0.3-rc3") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/xerial/snappy-java/archive/" - "snappy-java-" version ".tar.gz")) - (sha256 - (base32 - "08hsxlqidiqck0q57fshwyv3ynyxy18vmhrai9fyc8mz17m7gsa3")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://github.com/xerial/snappy-java")) + (commit (string-append "snappy-java-" version)))) + (sha256 + (base32 "0gbg3xmhniyh5p6w5zqj16fr15fa8j4raswd8pj00l4ixf5qa6m4")) + (file-name (git-file-name name version)))) (arguments `(#:jar-name "snappy.jar" #:source-dir "src/main/java" |