diff mbox

gnu: Add lbzip2.

Message ID 20160617144309.4028-1-ricardo.wurmus@mdc-berlin.de
State New
Headers show

Commit Message

Ricardo Wurmus June 17, 2016, 2:43 p.m. UTC
* gnu/packages/compression.scm (lbzip2): New variable.
---
 gnu/packages/compression.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

Comments

Leo Famulari June 17, 2016, 6:42 p.m. UTC | #1
On Fri, Jun 17, 2016 at 04:43:09PM +0200, Ricardo Wurmus wrote:

> +(define-public lbzip2

> +    (description
> +     "lbzip2 is a multi-threaded compression utility with support for bzip2

                                                             support for the bzip2

Otherwise LGTM
Ricardo Wurmus June 18, 2016, 6:46 p.m. UTC | #2
Leo Famulari <leo@famulari.name> writes:

> On Fri, Jun 17, 2016 at 04:43:09PM +0200, Ricardo Wurmus wrote:
>
>> +(define-public lbzip2
>
>> +    (description
>> +     "lbzip2 is a multi-threaded compression utility with support for bzip2
>
>                                                              support for the bzip2
>
> Otherwise LGTM

Fixed it and pushed.  Thanks for the review!

~~ Ricardo
diff mbox

Patch

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index dd10748..d1152c7 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -4,7 +4,7 @@ 
 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
 ;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
-;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2015 Jeff Mickey <j@codemac.net>
 ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
@@ -249,6 +249,29 @@  decompression.")
                                   "See LICENSE in the distribution."))
       (home-page "http://www.bzip.org/"))))
 
+(define-public lbzip2
+  (package
+    (name "lbzip2")
+    (version "2.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://archive.lbzip2.org/lbzip2-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1sahaqc5bw4i0iyri05syfza4ncf5cml89an033fspn97klmxis6"))))
+    (build-system gnu-build-system)
+    (synopsis "Parallel bzip2 compression utility")
+    (description
+     "lbzip2 is a multi-threaded compression utility with support for bzip2
+compressed file format.  lbzip2 can process standard bz2 files in parallel.
+It uses POSIX threading model (pthreads), which allows it to take full
+advantage of symmetric multiprocessing (SMP) systems.  It has been proven to
+scale linearly, even to over one hundred processor cores.  lbzip2 is fully
+compatible with bzip2 – both at file format and command line level.")
+    (home-page "http://www.lbzip2.org/")
+    (license license:gpl3+)))
+
 (define-public pbzip2
   (package
     (name "pbzip2")