summary refs log tree commit diff
path: root/gnu/packages/zip.scm
diff options
context:
space:
mode:
authorJohn Darrington <jmd@gnu.org>2014-10-10 05:50:36 +0200
committerJohn Darrington <jmd@gnu.org>2014-10-11 17:00:15 +0200
commitfddbf35bf50b74b11138c3eeeffe2a1047cdf706 (patch)
tree53b8de5a7472f4542adee402ae35839cfb367e8c /gnu/packages/zip.scm
parentd8b85b7d42d340572f3f09dc0065ee91381ec565 (diff)
downloadguix-fddbf35bf50b74b11138c3eeeffe2a1047cdf706.tar.gz
gnu: Add perl-zip.
* gnu/packages/zip.scm (perl-zip): New variable.
Diffstat (limited to 'gnu/packages/zip.scm')
-rw-r--r--gnu/packages/zip.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/zip.scm b/gnu/packages/zip.scm
index 13dc62c212..e8de7b3a32 100644
--- a/gnu/packages/zip.scm
+++ b/gnu/packages/zip.scm
@@ -24,6 +24,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))
 
@@ -134,3 +135,24 @@ 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  "Provides an interface to ZIP archive 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/~adamk/Archive-Zip-1.30/")
+    (license (package-license perl))))