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.
This commit is contained in:
Tobias Geerinckx-Rice 2020-03-13 03:18:23 +01:00
parent e2528a3cc1
commit 287e3d3124
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -193,13 +193,15 @@ (define-public java-iq80-snappy
(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"