summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 14:52:01 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:48 -0500
commit8aaafd34c82b2f8faf6c46451ec7f6a1fc06b443 (patch)
tree3ad661963404cd4635c16e21593c9015b08a6c1c
parent8e18514a69f670d8817842a76cfaa3d404b66c3f (diff)
downloadguix-8aaafd34c82b2f8faf6c46451ec7f6a1fc06b443.tar.gz
gnu: Add IO-Compress.
* gnu/packages/compression.scm (perl-io-compress): New variable.
-rw-r--r--gnu/packages/compression.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 7dc62c7c12..234ea338a1 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -401,3 +401,25 @@ GZIP_OS_CODE = AUTO_DETECT"
     (description "This module provides a Perl interface to the zlib
 compression library.")
     (license (package-license perl))))
+
+(define-public perl-io-compress
+  (package
+    (name "perl-io-compress")
+    (version "2.068")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
+                           "IO-Compress-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0dy0apjp7j9dfkzfjspjd3z9gh26srx5vac72g59bkkz1jf8s1gs"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-compress-raw-zlib" ,perl-compress-raw-zlib)     ; >=2.068
+       ("perl-compress-raw-bzip2" ,perl-compress-raw-bzip2))) ; >=2.068
+    (home-page "http://search.cpan.org/dist/IO-Compress")
+    (synopsis "IO Interface to compressed files/buffers")
+    (description "IO-Compress provides a Perl interface to allow reading and
+writing of compressed data created with the zlib and bzip2 libraries.")
+    (license (package-license perl))))