diff --git a/gnu/packages/glicid.scm b/gnu/packages/glicid.scm index d399907..caa80b4 100644 --- a/gnu/packages/glicid.scm +++ b/gnu/packages/glicid.scm @@ -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))) ) )