unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Craven <david@craven.ch>
To: guix-devel@gnu.org
Cc: David Craven <david@craven.ch>
Subject: [PATCH 07/24] gnu: compression: Add snappy.
Date: Tue, 16 Aug 2016 20:39:21 +0200	[thread overview]
Message-ID: <20160816183938.22794-7-david@craven.ch> (raw)
In-Reply-To: <20160816183938.22794-1-david@craven.ch>

* gnu/packages/compression.scm (snappy): New variable.
---
 gnu/packages/compression.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index e63c1af..cd1866b 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
 ;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2016 David Craven <david@craven.ch>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -871,3 +872,38 @@ even LZMA can provide, or a higher speed than gzip while compressing as
 well as bzip2.")
     (license (list license:gpl3+
                    license:public-domain)))) ; most files in lzma/
+
+(define-public snappy
+  (package
+    (name "snappy")
+    (version "1.1.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                "https://github.com/google/snappy/archive/"
+                version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "04lc9n1fr4kak8yd68v61w561zcbykfyj9f745smva8hcn0hyk7r"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'autoconf
+           (lambda _
+             (zero? (system* "autoreconf" "-vfi")))))))
+    (home-page "https://github.com/open-source-parsers/jsoncpp")
+    (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)))
-- 
2.9.0

  parent reply	other threads:[~2016-08-16 18:40 UTC|newest]

Thread overview: 112+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-16 18:39 [PATCH 01/24] gnu: qt: Add qtquickcontrols David Craven
2016-08-16 18:39 ` [PATCH 02/24] gnu: qt: Add qtquickcontrols2 David Craven
2016-08-16 18:39 ` [PATCH 03/24] gnu: qt: Add qtgraphicaleffects David Craven
2016-08-16 19:29   ` Danny Milosavljevic
2016-08-16 18:39 ` [PATCH 04/24] gnu: databases: Add lmdb David Craven
2016-08-16 18:39 ` [PATCH 05/24] gnu: xml: Add yaml-cpp David Craven
2016-08-16 19:58   ` Alex Kost
2016-08-16 18:39 ` [PATCH 06/24] gnu: xml: Add jsoncpp David Craven
2016-08-16 19:28   ` Danny Milosavljevic
2016-08-16 19:59     ` Danny Milosavljevic
2016-08-16 20:00   ` Alex Kost
2016-08-16 18:39 ` David Craven [this message]
2016-08-16 19:45   ` [PATCH 07/24] gnu: compression: Add snappy Alex Kost
2016-08-16 18:39 ` [PATCH 08/24] gnu: xorg: Add lndir David Craven
2016-08-16 19:53   ` Alex Kost
2016-08-16 18:39 ` [PATCH 09/24] gnu: freedesktop: Add wayland-protocols David Craven
2016-08-16 19:51   ` Danny Milosavljevic
2016-08-16 20:02   ` Alex Kost
2016-08-16 18:39 ` [PATCH 10/24] gnu: networkmanager-qt: Propagate network-manager David Craven
2016-08-16 20:07   ` Alex Kost
2016-08-16 18:39 ` [PATCH 11/24] gnu: modemmanager-qt: Propagate modem-manager David Craven
2016-08-16 18:39 ` [PATCH 12/24] gnu: gnome: Add mobile-broadband-provider-info David Craven
2016-08-16 19:53   ` Danny Milosavljevic
2016-08-17  9:33   ` Mark H Weaver
2016-08-17  9:37     ` David Craven
2016-08-16 18:39 ` [PATCH 13/24] gnu: polkit-qt: Use modular qt David Craven
2016-08-16 19:17   ` Danny Milosavljevic
2016-08-16 21:00     ` Leo Famulari
2016-08-16 18:39 ` [PATCH 14/24] gnu: gstreamer: Use license: prefix David Craven
2016-08-16 19:18   ` Danny Milosavljevic
2016-08-16 20:15   ` Alex Kost
2016-08-16 20:29     ` David Craven
2016-08-16 22:38     ` Eric Bavier
2016-08-17  8:02       ` David Craven
2016-08-17  8:47         ` Danny Milosavljevic
2016-08-17  8:53           ` David Craven
2016-08-17  9:17             ` Danny Milosavljevic
2016-08-17  9:20               ` David Craven
2016-08-16 18:39 ` [PATCH 15/24] gnu: gstreamer: Symlink gstconfig.h into include directory David Craven
2016-08-17  9:28   ` Mark H Weaver
2016-08-17  9:35     ` David Craven
2016-08-17  9:57       ` Mark H Weaver
2016-08-17 10:10         ` David Craven
2016-08-16 18:39 ` [PATCH 16/24] gnu: gstreamer: Add qt-gstreamer David Craven
2016-08-16 21:08   ` Leo Famulari
2016-08-16 22:28   ` Eric Bavier
2016-08-16 18:39 ` [PATCH 17/24] gnu: kwidgetsaddons: Fix test failure David Craven
2016-08-16 19:22   ` Danny Milosavljevic
2016-08-16 18:39 ` [PATCH 18/24] gnu: qsynth: Use modular qt David Craven
2016-08-16 19:16   ` Danny Milosavljevic
2016-08-16 18:39 ` [PATCH 19/24] gnu: fritzing: " David Craven
2016-08-16 19:17   ` Danny Milosavljevic
2016-08-16 18:39 ` [PATCH 20/24] gnu: bitcoin-core: " David Craven
2016-08-16 19:23   ` Danny Milosavljevic
2016-08-16 18:39 ` [PATCH 21/24] gnu: gst-plugins-bad: " David Craven
2016-08-16 19:23   ` Danny Milosavljevic
2016-08-16 18:39 ` [PATCH 22/24] gnu: poppler-qt5: " David Craven
2016-08-16 19:24   ` Danny Milosavljevic
2016-08-16 18:39 ` [PATCH 23/24] gnu: qtkeychain: " David Craven
2016-08-16 19:25   ` Danny Milosavljevic
2016-08-16 18:39 ` [PATCH 24/24] gnu: qt: Update qt to 5.7.0 David Craven
2016-08-16 19:41   ` Danny Milosavljevic
2016-08-19  0:28   ` Mark H Weaver
2016-08-19  8:56     ` David Craven
2016-08-19 18:41       ` Mark H Weaver
2016-08-19 18:45         ` David Craven
2016-08-20 15:40           ` David Craven
2016-08-20 18:50             ` Mark H Weaver
2016-08-20 19:50               ` David Craven
2016-08-20 20:06                 ` Efraim Flashner
2016-08-20 21:59                 ` Leo Famulari
2016-08-21 14:08                   ` [PATCH 01/13] gnu: kguiaddons: Fix regression caused by update to qt 5.7 David Craven
2016-08-21 14:08                     ` [PATCH 02/13] gnu: kwidgetsaddons: " David Craven
2016-08-21 19:48                       ` Mark H Weaver
2016-08-21 14:08                     ` [PATCH 03/13] gnu: pinentry-qt: Fix regression David Craven
2016-08-21 20:16                       ` Mark H Weaver
2016-08-21 22:37                         ` David Craven
2016-08-21 14:08                     ` [PATCH 04/13] gnu: poppler: Update to 0.47.0 David Craven
2016-08-21 19:52                       ` Mark H Weaver
2016-08-21 22:40                         ` David Craven
2016-08-21 14:08                     ` [PATCH 05/13] gnu: alsa-modular-synth: Fix regression caused by update to qt 5.7 David Craven
2016-08-21 19:53                       ` Mark H Weaver
2016-08-21 14:08                     ` [PATCH 06/13] gnu: qsynth: " David Craven
2016-08-21 19:55                       ` Mark H Weaver
2016-08-21 14:08                     ` [PATCH 07/13] gnu: gpsbabel: " David Craven
2016-08-21 19:59                       ` Mark H Weaver
2016-08-21 22:55                         ` David Craven
2016-08-21 14:08                     ` [PATCH 08/13] gnu: synthv1: " David Craven
2016-08-21 20:01                       ` Mark H Weaver
2016-08-21 14:08                     ` [PATCH 09/13] gnu: scribus: " David Craven
2016-08-21 20:02                       ` Mark H Weaver
2016-08-21 14:08                     ` [PATCH 10/13] gnu: v4l-utils: " David Craven
2016-08-21 20:04                       ` Mark H Weaver
2016-08-21 14:08                     ` [PATCH 11/13] gnu: vlc: " David Craven
2016-08-21 20:10                       ` Mark H Weaver
2016-08-21 23:06                         ` David Craven
2016-08-21 23:16                           ` Leo Famulari
2016-08-21 23:19                             ` David Craven
2016-08-21 23:24                               ` Leo Famulari
2016-08-21 23:24                               ` David Craven
2016-08-22 12:21                                 ` Mark H Weaver
2016-08-21 14:08                     ` [PATCH 12/13] gnu: avidemux: " David Craven
2016-08-21 20:13                       ` Mark H Weaver
2016-08-21 21:08                         ` David Craven
2016-08-21 19:44                     ` [PATCH 01/13] gnu: kguiaddons: " Mark H Weaver
  -- strict thread matches above, loose matches on Subject: below --
2016-08-17  8:30 [PATCH 07/24] gnu: compression: Add snappy David Craven
2016-08-17 19:02 ` Alex Kost
2016-08-17 19:20   ` David Craven
2016-08-17 19:27     ` David Craven
2016-08-18  7:21       ` Alex Kost
2016-08-18 12:41         ` David Craven
2016-08-18  1:25     ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160816183938.22794-7-david@craven.ch \
    --to=david@craven.ch \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).