guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/40: gnu: Add CGI-Struct.


From: Eric Bavier
Subject: 05/40: gnu: Add CGI-Struct.
Date: Thu, 12 Mar 2015 20:55:57 +0000

bavier pushed a commit to branch master
in repository guix.

commit 76b8b86c91929bbcd2d1d98977cfe50532223ffa
Author: Eric Bavier <address@hidden>
Date:   Wed Mar 11 16:28:29 2015 -0500

    gnu: Add CGI-Struct.
    
    * gnu/packages/web.scm (perl-cgi-struct): New variable.
---
 gnu/packages/web.scm |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 698380e..dc8269a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -545,6 +545,27 @@ replacement for CGI.pm.  It shares an identical OO 
interface to CGI.pm for
 parameter parsing, file upload, cookie handling and header generation.")
     (license (package-license perl))))
 
+(define-public perl-cgi-struct
+  (package
+    (name "perl-cgi-struct")
+    (version "1.21")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
+                           "CGI-Struct-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-deep" ,perl-test-deep)))
+    (home-page "http://search.cpan.org/dist/CGI-Struct";)
+    (synopsis "Build structures from CGI data")
+    (description "This is a module for building structured data from CGI
+inputs, in a manner reminiscent of how PHP does.")
+    (license l:bsd-2)))
+
 (define-public perl-encode-locale
   (package
     (name "perl-encode-locale")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]