From e23e5db39b5c917b182610db4610c8c35fad4581 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 9 May 2020 21:57:59 -0400 Subject: gnu: Add perl-perlio-gzip. * gnu/packages/perl-compression.scm (perl-perlio-gzip): New variable. --- gnu/packages/perl-compression.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/perl-compression.scm b/gnu/packages/perl-compression.scm index 6bb67bcb59..bb47a90f8f 100644 --- a/gnu/packages/perl-compression.scm +++ b/gnu/packages/perl-compression.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2017 Petter ;;; Copyright © 2017, 2019 Efraim Flashner +;;; Copyright © 2020 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -107,6 +108,31 @@ (define-public perl-io-compress writing of compressed data created with the zlib and bzip2 libraries.") (license license:perl-license))) +(define-public perl-perlio-gzip + (package + (name "perl-perlio-gzip") + (version "0.20") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/N/NW/NWCLARK/PerlIO-gzip-" + version ".tar.gz")) + (sha256 + (base32 + "1idxsdmpinsp6qm1lizs7y955bq2wqk9avsz1hxky7i07yd6fj28")))) + (build-system perl-build-system) + (arguments + `(#:make-maker-flags + ;; MakeMaker doesn't honor LIBRARY_PATH. + (let ((zlib (assoc-ref %build-inputs "zlib"))) + (list (format #f "LIBS=-L~a/lib/ -lz" zlib))))) + (inputs `(("zlib" ,zlib))) + (home-page "https://metacpan.org/pod/PerlIO::gzip") + (synopsis "Perl extension to provide a PerlIO layer to gzip/gunzip") + (description "PerlIO::gzip provides a PerlIO layer that manipulates files +in the format used by the @command{gzip} program.") + (license license:perl-license))) + (define-public perl-archive-extract (package (name "perl-archive-extract") -- cgit v1.2.3