diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-03-13 03:18:23 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-03-13 05:36:09 +0100 |
commit | 287e3d312440a103e8ca1e14b5b09a0ce0124e5e (patch) | |
tree | 652c35395b28fe4f1001c8a6cabcda6763806f58 | |
parent | e2528a3cc1819d3fe24880c5cfec74f075d5f820 (diff) | |
download | patches-287e3d312440a103e8ca1e14b5b09a0ce0124e5e.tar patches-287e3d312440a103e8ca1e14b5b09a0ce0124e5e.tar.gz |
gnu: java-iq80-snappy: Don't use unstable tarball.
* gnu/packages/java-compression.scm (java-iq80-snappy)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
-rw-r--r-- | gnu/packages/java-compression.scm | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/packages/java-compression.scm b/gnu/packages/java-compression.scm index 2dd65da305..536e1e6530 100644 --- a/gnu/packages/java-compression.scm +++ b/gnu/packages/java-compression.scm @@ -193,13 +193,15 @@ compressor/decompressor.") (package (name "java-iq80-snappy") (version "0.4") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/dain/snappy/archive/snappy-" - version ".tar.gz")) - (sha256 - (base32 - "0rb3zhci7w9wzd65lfnk7p3ip0n6gb58a9qpx8n7r0231gahyamf")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dain/snappy") + (commit (string-append "snappy-" version)))) + (sha256 + (base32 "1mswh207065rdzbxk6rxaqlxhbg1ngxa0vjc20knsn31kqbq1bcz")) + (file-name (git-file-name name version)))) (build-system ant-build-system) (arguments `(#:jar-name "iq80-snappy.jar" |