From patchwork Wed Jul 20 22:54:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 13897 Received: (qmail 23683 invoked by uid 89); 20 Jul 2016 22:54:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy= X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 20 Jul 2016 22:54:35 +0000 Received: from localhost ([::1]:37407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQ0Nt-0003e6-DO for patchwork@sourceware.org; Wed, 20 Jul 2016 18:54:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQ0Nn-0003e0-Kx for guix-devel@gnu.org; Wed, 20 Jul 2016 18:54:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQ0Nl-00017y-F8 for guix-devel@gnu.org; Wed, 20 Jul 2016 18:54:26 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:44039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQ0Nl-00016W-8X for guix-devel@gnu.org; Wed, 20 Jul 2016 18:54:25 -0400 Received: from localhost.localdomain (ptr-2hj4tbifd5uicx7of4hgfi6g4.ip6.access.telenet.be [IPv6:2a02:1810:3919:8200:ee9a:74ff:fe3f:b024]) (Authenticated sender: me@tobias.gr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id AD8C517209C for ; Thu, 21 Jul 2016 00:54:22 +0200 (CEST) From: Tobias Geerinckx-Rice To: guix-devel@gnu.org Subject: [PATCH] gnu: Add lrzip. Date: Thu, 21 Jul 2016 00:54:13 +0200 Message-Id: <20160720225413.2903-1-me@tobias.gr> X-Mailer: git-send-email 2.9.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4b98:c:538::196 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/compression.scm (lrzip): New variable. --- gnu/packages/compression.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 6a17003..26467a4 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -36,6 +36,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system perl) #:use-module (gnu packages) + #:use-module (gnu packages assembly) #:use-module (gnu packages autotools) #:use-module (gnu packages backup) #:use-module (gnu packages base) @@ -833,3 +834,34 @@ also be used to apply such patches. xdelta is similar to @command{diff} and @command{patch}, but is not limited to plain text and does not generate human-readable output.") (license license:asl2.0))) + +(define-public lrzip + (package + (name "lrzip") + (version "0.630") + (source + (origin + (method url-fetch) + (uri (string-append + "http://ck.kolivas.org/apps/lrzip/lrzip-" version ".tar.bz2")) + (sha256 + (base32 + "01ykxliqw4cavx9f2gawxfa9wf52cjy1qx28cnkrh6i3lfzzcq94")))) + (build-system gnu-build-system) + (native-inputs + `(("nasm" ,nasm) + ("perl" ,perl))) + (inputs + `(("bzip2" ,bzip2) + ("lzo" ,lzo) + ("zlib" ,zlib))) + (home-page "http://ck.kolivas.org/apps/lrzip/") + (synopsis "Large file compressor with a very high compression ratio") + (description "lrzip is a compression utility that uses long-range +redundancy reduction to improve the subsequent compression ratio of +larger files. It can then further compress the result with the ZPAQ or +LZMA algorithms for maximum compression, or LZO for maximum speed. This +choice between size or speed allows for either better compression than +even LZMA can provide, or a higher speed than gzip while compressing as +well as bzip2.") + (license license:gpl2+)))