[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: Add plzip.
From: |
Tobias Geerinckx-Rice |
Subject: |
06/06: gnu: Add plzip. |
Date: |
Thu, 21 Dec 2017 20:25:11 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 8c4ca853e03cedb49b66a652b2c2129e3dd3f8aa
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Thu Dec 14 19:36:04 2017 +0100
gnu: Add plzip.
* gnu/packages/compression.scm (plzip): New public variable.
---
gnu/packages/compression.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index c279631..be9c634 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -2023,3 +2023,33 @@ all functions are thread-safe. The library should never
crash, even in case of
corrupted input.")
(license (list license:bsd-2 ; the library itself
license:gpl2+)))) ; main.c (i.e. minilzip used by tests)
+
+(define-public plzip
+ (package
+ (name "plzip")
+ (version "1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://download.savannah.gnu.org/releases/lzip/"
+ name "/" name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0z2cs6vn4xl65wakd013xl3sdfpg8dr0cvcjwc2slh8y9bz7j7ax"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("lzlib" ,lzlib)))
+ (home-page "http://www.nongnu.org/lzip/plzip.html")
+ (synopsis "Parallel lossless data compressor for the lzip format")
+ (description
+ "Plzip is a massively parallel (multi-threaded) lossless data compressor
+and decompressor that uses the lzip file format (.lz). Files produced by plzip
+are fully compatible with lzip and can be rescued with lziprecover.
+On multiprocessor machines, plzip can compress and decompress large files much
+faster than lzip, at the cost of a slightly reduced compression ratio (0.4% to
+2%). The number of usable threads is limited by file size: on files of only a
+few MiB, plzip is no faster than lzip.
+Files that were compressed with regular lzip will also not be decompressed
+faster by plzip, unless the @code{-b} option was used: lzip usually produces
+single-member files which can't be decompressed in parallel.")
+ (license (list license:bsd-2 ; arg_parser.{cc,h}
+ license:gpl2+)))) ; everything else
- branch master updated (47ebb1a -> 8c4ca85), Tobias Geerinckx-Rice, 2017/12/21
- 01/06: gnu: zstd: Use default ‘check’ target., Tobias Geerinckx-Rice, 2017/12/21
- 03/06: gnu: Add lunzip., Tobias Geerinckx-Rice, 2017/12/21
- 05/06: gnu: Add lzlib., Tobias Geerinckx-Rice, 2017/12/21
- 02/06: gnu: Add hungrycat., Tobias Geerinckx-Rice, 2017/12/21
- 06/06: gnu: Add plzip.,
Tobias Geerinckx-Rice <=
- 04/06: gnu: Add clzip., Tobias Geerinckx-Rice, 2017/12/21