[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] gnu: Add perl-zip
From: |
john |
Subject: |
[PATCH 2/2] gnu: Add perl-zip |
Date: |
Tue, 26 Aug 2014 21:04:34 +0200 |
From: John Darrington <address@hidden>
* 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