From 8aaafd34c82b2f8faf6c46451ec7f6a1fc06b443 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Mon, 6 Apr 2015 14:52:01 -0500 Subject: [PATCH] gnu: Add IO-Compress. * gnu/packages/compression.scm (perl-io-compress): New variable. --- gnu/packages/compression.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 @@ (define-public perl-compress-raw-zlib (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))))