aboutsummaryrefslogtreecommitdiff
path: root/distro/base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-08-22 17:24:38 +0200
committerLudovic Courtès <ludo@gnu.org>2012-08-22 23:29:53 +0200
commite0fb536aaf314ae67d09f2698fe174bd69878827 (patch)
tree743c2293ee702510f583e804e61636a54c45cba2 /distro/base.scm
parentfbeec3d9bd9b88300f6a0d8b01362ce322d0fd22 (diff)
downloadguix-e0fb536aaf314ae67d09f2698fe174bd69878827.tar
guix-e0fb536aaf314ae67d09f2698fe174bd69878827.tar.gz
distro: Add GNU gzip.
* distro/base.scm (gzip): New variable.
Diffstat (limited to 'distro/base.scm')
-rw-r--r--distro/base.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/distro/base.scm b/distro/base.scm
index 7c8d7b64ae..62a934a79d 100644
--- a/distro/base.scm
+++ b/distro/base.scm
@@ -178,6 +178,33 @@ files (as archives).")
(license "GPLv3+")
(home-page "http://www.gnu.org/software/tar/")))
+(define-public gzip
+ (package
+ (name "gzip")
+ (version "1.5")
+ (source (origin
+ (method http-fetch)
+ (uri (string-append "http://ftp.gnu.org/gnu/gzip/gzip-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "18rm80kar7n016g8bsyy1a3zk50i2826xdgs874yh64rzj7nxmdm"))))
+ (build-system gnu-build-system)
+ (description "Gzip, the GNU zip compression program")
+ (arguments
+ ;; FIXME: The test suite wants `less', and optionally Perl.
+ '(#:tests? #f))
+ (long-description
+ "gzip (GNU zip) is a popular data compression program written by Jean-loup
+Gailly for the GNU project. Mark Adler wrote the decompression part.
+
+We developed this program as a replacement for compress because of the Unisys
+and IBM patents covering the LZW algorithm used by compress. These patents
+made it impossible for us to use compress, and we needed a replacement. The
+superior compression ratio of gzip is just a bonus.")
+ (license "GPLv3+")
+ (home-page "http://www.gnu.org/software/gzip/")))
+
(define-public patch
(package
(name "patch")