mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
gnu: snappy: Update to 1.1.7.
* gnu/packages/compression.scm (snappy): Update to 1.1.7. [source]: Change to git archive. Set file-name. [build-system]: Change to CMAKE-BUILD-SYSTEM. [arguments]: Add #:configure-flags. [description]: Fix infractions.
This commit is contained in:
parent
7fa9cca84a
commit
5a43735722
1 changed files with 10 additions and 8 deletions
|
@ -1071,21 +1071,23 @@ (define-public bitshuffle
|
||||||
(define-public snappy
|
(define-public snappy
|
||||||
(package
|
(package
|
||||||
(name "snappy")
|
(name "snappy")
|
||||||
(version "1.1.3")
|
(version "1.1.7")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append "https://github.com/google/snappy/archive/"
|
||||||
"https://github.com/google/snappy/releases/download/"
|
version ".tar.gz"))
|
||||||
version "/" name "-" version ".tar.gz"))
|
(file-name (string-append "snappy-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1wzf8yif5ym2gj52db6v5m1pxnmn258i38x7llk9x346y2nq47ig"))))
|
"1m7rcdqzkys5lspj8jcsaah8w33zh28s771bw0ga2lgzfgl05yix"))))
|
||||||
(build-system gnu-build-system)
|
(build-system cmake-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
|
||||||
(home-page "https://github.com/google/snappy")
|
(home-page "https://github.com/google/snappy")
|
||||||
(synopsis "Fast compressor/decompressor")
|
(synopsis "Fast compressor/decompressor")
|
||||||
(description "Snappy is a compression/decompression library. It does not
|
(description "Snappy is a compression/decompression library. It does not
|
||||||
aim for maximum compression, or compatibility with any other compression library;
|
aim for maximum compression, or compatibility with any other compression library;
|
||||||
instead, it aims for very high speeds and reasonable compression. For instance,
|
instead, it aims for very high speeds and reasonable compression. For instance,
|
||||||
compared to the fastest mode of zlib, Snappy is an order of magnitude faster
|
compared to the fastest mode of zlib, Snappy is an order of magnitude faster
|
||||||
for most inputs, but the resulting compressed files are anywhere from 20% to
|
for most inputs, but the resulting compressed files are anywhere from 20% to
|
||||||
100% bigger.")
|
100% bigger.")
|
||||||
|
|
Loading…
Reference in a new issue