From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: [PATCH]: Add pixz. Date: Mon, 25 Jan 2016 08:40:42 +1000 Message-ID: <56A552EA.2040703@uq.edu.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050802080803030303090802" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNTL1-0001f4-VP for guix-devel@gnu.org; Sun, 24 Jan 2016 17:40:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNTKx-0004Ex-S2 for guix-devel@gnu.org; Sun, 24 Jan 2016 17:40:51 -0500 Received: from mailhub2.soe.uq.edu.au ([130.102.132.209]:58156 helo=newmailhub.uq.edu.au) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNTKx-0004D5-6x for guix-devel@gnu.org; Sun, 24 Jan 2016 17:40:47 -0500 Received: from smtp1.soe.uq.edu.au (smtp1.soe.uq.edu.au [10.138.113.40]) by newmailhub.uq.edu.au (8.14.5/8.14.5) with ESMTP id u0OMejq4008660 for ; Mon, 25 Jan 2016 08:40:45 +1000 Received: from [192.168.1.105] (static.customers.nuskope.com.au [103.25.181.216] (may be forged)) (authenticated bits=0) by smtp1.soe.uq.edu.au (8.14.5/8.14.5) with ESMTP id u0OMehAh014756 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 25 Jan 2016 08:40:44 +1000 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: "guix-devel@gnu.org" This is a multi-part message in MIME format. --------------050802080803030303090802 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Ta. --------------050802080803030303090802 Content-Type: text/x-patch; name="0001-gnu-Add-pixz.patch" Content-Disposition: attachment; filename="0001-gnu-Add-pixz.patch" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by newmailhub.uq.edu.au id u0OMejq4008660 >From 1546ab1d5f48871a23521f7629aed1493a3dcbf6 Mon Sep 17 00:00:00 2001 From: Ben Woodcroft Date: Mon, 25 Jan 2016 08:31:14 +1000 Subject: [PATCH] gnu: Add pixz. * gnu/packages/compression.scm (pixz): New variable. --- gnu/packages/compression.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index fd3a9ce..0f27fa9 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -8,6 +8,7 @@ ;;; Copyright =C2=A9 2015 Leo Famulari ;;; Copyright =C2=A9 2015 Jeff Mickey ;;; Copyright =C2=A9 2015 Efraim Flashner +;;; Copyright =C2=A9 2016 Ben Woodcroft ;;; ;;; This file is part of GNU Guix. ;;; @@ -32,8 +33,10 @@ #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) + #:use-module (gnu packages backup) #:use-module (gnu packages base) #:use-module (gnu packages perl) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages valgrind) #:use-module ((srfi srfi-1) #:select (last))) =20 @@ -659,3 +662,29 @@ multiple processors and multiple cores when compress= ing data.") ;; Things under zopfli/ are under ASL2.0, but 4 files at the top-lev= el, ;; written by Mark Adler, are under another non-copyleft license. (license license:asl2.0))) + +(define-public pixz + (package + (name "pixz") + (version "1.0.6") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/vasi/pixz/releases/download/v" v= ersion + "/pixz-" version ".tar.xz")) + (sha256 + (base32 + "1s3j7zw6j5zi3fhdxg287ndr3wf6swac7z21mqd1pyiln530gi82"))= )) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("libarchive" ,libarchive))) + (home-page "https://github.com/vasi/pixz") + (synopsis "Parallel indexing implementation of LZMA") + (description + "The existing XZ Utils provide great compression in the .xz file fo= rmat, +but they produce just one big block of compressed data. Pixz instead pr= oduces +a collection of smaller blocks which makes random access to the original= data +possible and can compress in parallel. This is especially useful for la= rge +tarballs.") + (license license:bsd-2))) --=20 2.6.3 --------------050802080803030303090802--