summaryrefslogtreecommitdiff
path: root/distro/packages/compression.scm
diff options
context:
space:
mode:
authorNikita Karetnikov <nikita@karetnikov.org>2012-12-14 15:14:04 +0000
committerLudovic Courtès <ludo@gnu.org>2012-12-14 23:37:24 +0100
commit4a44e743a0dfaa8fcaaa804b8c93a89ff68f2a97 (patch)
tree5a0ffc910a872516bcbda316a1670b23cea6e971 /distro/packages/compression.scm
parent0d12bea3067da11ba3e2b9edf54d83cfc6b7b478 (diff)
distro: Use (guix licenses) instead of strings.
* distro/packages/acl.scm, distro/packages/attr.scm, distro/packages/autotools.scm, distro/packages/base.scm, distro/packages/bash.scm, distro/packages/bdw-gc.scm, distro/packages/bison.scm, distro/packages/bootstrap.scm, distro/packages/compression.scm, distro/packages/cpio.scm, distro/packages/ddrescue.scm, distro/packages/ed.scm, distro/packages/flex.scm, distro/packages/gawk.scm, distro/packages/gdbm.scm, distro/packages/gettext.scm, distro/packages/gnupg.scm, distro/packages/gnutls.scm, distro/packages/gperf.scm, distro/packages/guile.scm, distro/packages/help2man.scm, distro/packages/less.scm, distro/packages/libffi.scm, distro/packages/libsigsegv.scm, distro/packages/libunistring.scm, distro/packages/linux.scm, distro/packages/lout.scm, distro/packages/lsh.scm, distro/packages/m4.scm, distro/packages/multiprecision.scm, distro/packages/nano.scm, distro/packages/ncurses.scm, distro/packages/nettle.scm, distro/packages/perl.scm, distro/packages/pkg-config.scm, distro/packages/pth.scm, distro/packages/readline.scm, distro/packages/recutils.scm, distro/packages/shishi.scm, distro/packages/system.scm, distro/packages/texinfo.scm, distro/packages/time.scm, distro/packages/wget.scm, distro/packages/which.scm, distro/packages/zile.scm: Use (guix licenses).
Diffstat (limited to 'distro/packages/compression.scm')
-rw-r--r--distro/packages/compression.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/distro/packages/compression.scm b/distro/packages/compression.scm
index 8eed5b601b..fdc3d6081f 100644
--- a/distro/packages/compression.scm
+++ b/distro/packages/compression.scm
@@ -17,6 +17,8 @@
;;; along with Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (distro packages compression)
+ #:use-module ((guix licenses)
+ #:renamer (symbol-prefix-proc 'license:))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu))
@@ -57,9 +59,7 @@ currently used in zlib essentially never expands the data. (LZW can double or
triple the file size in extreme cases.) zlib's memory footprint is also
independent of the input data and can be reduced, if necessary, at some cost
in compression.")
-
- ;; See <http://zlib.net/zlib_license.html>.
- (license "permissive")))
+ (license license:zlib)))
(define-public gzip
(package
@@ -85,7 +85,7 @@ 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+")
+ (license license:gpl3+)
(home-page "http://www.gnu.org/software/gzip/")))
(define-public bzip2
@@ -142,7 +142,8 @@ compressor. It typically compresses files to within 10% to 15% of the best
available techniques (the PPM family of statistical compressors), whilst
being around twice as fast at compression and six times faster at
decompression.")
- (license "BSD-style")
+ (license (license:bsd-style "file://LICENSE"
+ "See LICENSE in the distribution."))
(home-page "http://www.bzip.org/"))))
(define-public xz
@@ -169,7 +170,7 @@ been modified quite a lot to be suitable for XZ Utils. The primary
compression algorithm is currently LZMA2, which is used inside the .xz
container format. With typical files, XZ Utils create 30 % smaller output
than gzip and 15 % smaller output than bzip2.")
- (license '("GPLv2+" "LGPLv2.1+")) ; bits of both
+ (license '(license:gpl2+ license:lgpl2.1+)) ; bits of both
(home-page "http://tukaani.org/xz/")))
(define-public lzo
@@ -195,4 +196,4 @@ compression ratio.
LZO is written in ANSI C. Both the source code and the compressed data
format are designed to be portable across platforms.")
- (license "GPLv2+")))
+ (license license:gpl2+)))