guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/08: gnu: snappy: Update to 1.1.7.


From: Marius Bakke
Subject: 02/08: gnu: snappy: Update to 1.1.7.
Date: Sun, 4 Mar 2018 11:57:04 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 5a4373572232a017a3579c164d37b981a370fc6f
Author: Marius Bakke <address@hidden>
Date:   Wed Feb 21 03:14:52 2018 +0100

    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.
---
 gnu/packages/compression.scm | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 54c5928..f55f0c2 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1071,21 +1071,23 @@ algorithm within the Numpy framework.")
 (define-public snappy
   (package
     (name "snappy")
-    (version "1.1.3")
+    (version "1.1.7")
     (source (origin
               (method url-fetch)
-              (uri (string-append
-                    "https://github.com/google/snappy/releases/download/";
-                    version "/" name "-" version ".tar.gz"))
+              (uri (string-append "https://github.com/google/snappy/archive/";
+                                  version ".tar.gz"))
+              (file-name (string-append "snappy-" version ".tar.gz"))
               (sha256
                (base32
-                "1wzf8yif5ym2gj52db6v5m1pxnmn258i38x7llk9x346y2nq47ig"))))
-    (build-system gnu-build-system)
+                "1m7rcdqzkys5lspj8jcsaah8w33zh28s771bw0ga2lgzfgl05yix"))))
+    (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
+    (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,
+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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]