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

View file

@ -131,14 +131,17 @@ (define-public java-snappy
(define-public java-snappy-1 (define-public java-snappy-1
(package (package
(inherit java-snappy) (inherit java-snappy)
(name "java-snappy")
(version "1.0.3-rc3") (version "1.0.3-rc3")
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/xerial/snappy-java/archive/" (method git-fetch)
"snappy-java-" version ".tar.gz")) (uri (git-reference
(sha256 (url (string-append "https://github.com/xerial/snappy-java"))
(base32 (commit (string-append "snappy-java-" version))))
"08hsxlqidiqck0q57fshwyv3ynyxy18vmhrai9fyc8mz17m7gsa3")))) (sha256
(base32 "0gbg3xmhniyh5p6w5zqj16fr15fa8j4raswd8pj00l4ixf5qa6m4"))
(file-name (git-file-name name version))))
(arguments (arguments
`(#:jar-name "snappy.jar" `(#:jar-name "snappy.jar"
#:source-dir "src/main/java" #:source-dir "src/main/java"