need old snappy

This commit is contained in:
Yann Dupont 2021-08-03 14:18:53 +02:00
parent 598d568c04
commit ad74bb58ad

View file

@ -1186,6 +1186,35 @@ in the @code{debug} output), and binutils.")))
)
(define-public snappy-1.1.8
(package
(name "snappy")
(version "1.1.8")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/google/snappy")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1j0kslq2dvxgkcxl1gakhvsa731yrcvcaipcp5k8k7ayicvkv9jv"))
(patches (search-patches "snappy-add-O2-flag-in-CmakeLists.txt.patch"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
(home-page "https://github.com/google/snappy")
(synopsis "Fast compressor/decompressor")
(description "Snappy is a compression/decompression library. It does not
aim for maximum compression, or compatibility with any other compression library;
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
for most inputs, but the resulting compressed files are anywhere from 20% to
100% bigger.")
(license license:asl2.0)))
(define-public glicid-ceph-14
@ -1212,8 +1241,8 @@ in the @code{debug} output), and binutils.")))
; (inputs `(("snappy",snappy-1.1.8)
; ,@(package-inputs glicid-ceph)))
(inputs `(("snappy",snappy-1.1.8)
,@(package-inputs glicid-ceph)))
)
)