From mboxrd@z Thu Jan 1 00:00:00 1970 From: john@darrington.wattle.id.au Subject: [PATCH 2/2] gnu: Add perl-zip Date: Tue, 26 Aug 2014 21:04:34 +0200 Message-ID: <1409079874-4084-2-git-send-email-john@darrington.wattle.id.au> References: <1409079874-4084-1-git-send-email-john@darrington.wattle.id.au> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMM3H-000479-3c for guix-devel@gnu.org; Tue, 26 Aug 2014 15:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMM3C-0006Cy-P5 for guix-devel@gnu.org; Tue, 26 Aug 2014 15:05:06 -0400 In-Reply-To: <1409079874-4084-1-git-send-email-john@darrington.wattle.id.au> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Cc: John Darrington From: John Darrington * gnu/packages/zip.scm (perl-zip): New variable. --- gnu/packages/zip.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/zip.scm b/gnu/packages/zip.scm index 1e1d29e..2a98913 100644 --- a/gnu/packages/zip.scm +++ b/gnu/packages/zip.scm @@ -25,6 +25,7 @@ #:use-module (guix build-system gnu) #:use-module (gnu packages compression) #:use-module (gnu packages perl) + #:use-module (guix build-system perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python)) @@ -135,3 +136,23 @@ UnZip recreates the stored directory structure by default.") (description "zziplib is a library based on zlib for accessing zip files.") (license license:lgpl2.0+))) + +(define-public perl-zip + (package + (name "perl-zip") + (version "1.30") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/A/AD/ADAMK/Archive-Zip-" + version ".tar.gz")) + (sha256 + (base32 + "0633zah5z9njiqnvy3vh42fjymncmil1jdfb7d18w8xpfzzp5d7q")))) + (build-system perl-build-system) + (synopsis "Perl API to zip files") + (description "The Archive::Zip module allows a Perl program to create, +manipulate, read, and write Zip archive files.") + (home-page "http://search.cpan.org/~phred/Archive-Zip-1.37/lib/Archive/Zip.pm") + (license (package-license perl)))) -- 1.7.10.4