gnu: snappy: Don't use unstable tarball.

* gnu/packages/compression.scm (snappy)[source]: Download using
git-fetch.
This commit is contained in:
Efraim Flashner 2019-11-24 19:27:33 +02:00
parent d40362f425
commit 898ac8e732
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1107,12 +1107,13 @@ (define-public snappy
(version "1.1.7")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/google/snappy/archive/"
version ".tar.gz"))
(file-name (string-append "snappy-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/google/snappy.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1m7rcdqzkys5lspj8jcsaah8w33zh28s771bw0ga2lgzfgl05yix"))
(base32 "1x7r8sjmdqlqjz0xfiwdyrqpgaj5yrvrgb28ivgpvnxgar5qv6m2"))
(patches (search-patches "snappy-add-O2-flag-in-CmakeLists.txt.patch"))))
(build-system cmake-build-system)
(arguments