diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-03-11 16:28:29 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-03-12 15:55:56 -0500 |
commit | 76b8b86c91929bbcd2d1d98977cfe50532223ffa (patch) | |
tree | b61847978bb7c5a9de46d0c13ea8e4ada5647b51 /gnu | |
parent | 0148aa55cf05bbdbd9146fea4483d06cffaae533 (diff) | |
download | patches-76b8b86c91929bbcd2d1d98977cfe50532223ffa.tar patches-76b8b86c91929bbcd2d1d98977cfe50532223ffa.tar.gz |
gnu: Add CGI-Struct.
* gnu/packages/web.scm (perl-cgi-struct): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | 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 698380e337..dc8269a240 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") |