emacs: 'display-search-paths' now takes a list of profiles.
[jackhill/guix/guix.git] / gnu / packages / web.scm
CommitLineData
29a2ccd3 1;;; GNU Guix --- Functional package management for GNU
be6bfa7d 2;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
29a2ccd3 3;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
3246cc91 4;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
722ec722 5;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
2b0bba49 6;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
38012ed5 7;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
8142aff3 8;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
d8f1c074 9;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
29a2ccd3
AP
10;;;
11;;; This file is part of GNU Guix.
12;;;
13;;; GNU Guix is free software; you can redistribute it and/or modify it
14;;; under the terms of the GNU General Public License as published by
15;;; the Free Software Foundation; either version 3 of the License, or (at
16;;; your option) any later version.
17;;;
18;;; GNU Guix is distributed in the hope that it will be useful, but
19;;; WITHOUT ANY WARRANTY; without even the implied warranty of
20;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21;;; GNU General Public License for more details.
22;;;
23;;; You should have received a copy of the GNU General Public License
24;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
25
26(define-module (gnu packages web)
c9d512fa 27 #:use-module (ice-9 match)
b5b73a82 28 #:use-module ((guix licenses) #:prefix l:)
29a2ccd3
AP
29 #:use-module (guix packages)
30 #:use-module (guix download)
833efa0d 31 #:use-module (guix git-download)
18cb3df8 32 #:use-module (guix cvs-download)
29a2ccd3 33 #:use-module (guix build-system gnu)
c2337213
LC
34 #:use-module (guix build-system perl)
35 #:use-module (guix build-system cmake)
a359c9c1 36 #:use-module (guix build-system r)
38e62c81 37 #:use-module (gnu packages)
29a2ccd3 38 #:use-module (gnu packages apr)
b777d784
JD
39 #:use-module (gnu packages asciidoc)
40 #:use-module (gnu packages docbook)
833efa0d 41 #:use-module (gnu packages autotools)
ce0614dd 42 #:use-module (gnu packages compression)
bb470bd3 43 #:use-module (gnu packages cyrus-sasl)
f643a6e9 44 #:use-module (gnu packages databases)
9fe938c1 45 #:use-module (gnu packages mit-krb5)
57c2680e 46 #:use-module (gnu packages gd)
488e8863
EB
47 #:use-module (gnu packages gettext)
48 #:use-module (gnu packages icu4c)
bb470bd3 49 #:use-module (gnu packages lua)
ce0614dd 50 #:use-module (gnu packages base)
ed865936 51 #:use-module (gnu packages python)
c9ea41ff 52 #:use-module (gnu packages pcre)
bb470bd3 53 #:use-module (gnu packages pkg-config)
b777d784 54 #:use-module (gnu packages xml)
d22d72fc 55 #:use-module (gnu packages curl)
38012ed5 56 #:use-module (gnu packages perl)
cc2b77df 57 #:use-module (gnu packages texinfo)
a359c9c1
RW
58 #:use-module (gnu packages tls)
59 #:use-module (gnu packages statistics))
29a2ccd3
AP
60
61(define-public httpd
62 (package
63 (name "httpd")
e4e905ac 64 (version "2.4.16")
29a2ccd3
AP
65 (source (origin
66 (method url-fetch)
67 (uri (string-append "mirror://apache/httpd/httpd-"
68 version ".tar.bz2"))
69 (sha256
70 (base32
e4e905ac 71 "0hrpy6gjwma0kba7p7m61vwh82qcnkf08123lrwpg257m93hnrmc"))))
29a2ccd3
AP
72 (build-system gnu-build-system)
73 (inputs `(("apr" ,apr)
74 ("apr-util" ,apr-util)
75 ("openssl" ,openssl)
50b7a6a0
DT
76 ("pcre" ,pcre)
77 ("perl" ,perl))) ; needed to run bin/apxs
29a2ccd3
AP
78 (arguments
79 `(#:test-target "test"
80 #:configure-flags (list "--enable-rewrite"
81 "--enable-userdir"
82 "--enable-vhost-alias"
83 "--enable-ssl"
84 "--enable-mime-magic"
85 (string-append "--sysconfdir="
86 (assoc-ref %outputs "out")
87 "/etc/httpd"))))
88 (synopsis "Featureful HTTP server")
89 (description
90 "The Apache HTTP Server Project is a collaborative software development
91effort aimed at creating a robust, commercial-grade, featureful, and
35b9e423
EB
92freely-available source code implementation of an HTTP (Web) server. The
93project is jointly managed by a group of volunteers located around the world,
94using the Internet and the Web to communicate, plan, and develop the server
95and its related documentation.")
29a2ccd3
AP
96 (license l:asl2.0)
97 (home-page "https://httpd.apache.org/")))
c9ea41ff 98
c9d512fa
MW
99(define-public nginx
100 (package
101 (name "nginx")
f93b916c 102 (version "1.8.0")
c9d512fa
MW
103 (source (origin
104 (method url-fetch)
105 (uri (string-append "http://nginx.org/download/nginx-"
106 version ".tar.gz"))
107 (sha256
108 (base32
f93b916c 109 "1mgkkmmwkhmpn68sdvbd73ssv6lpqhh864fsyvc1ij4hk4is3k13"))))
c9d512fa
MW
110 (build-system gnu-build-system)
111 (inputs `(("pcre" ,pcre)
112 ("openssl" ,openssl)
113 ("zlib" ,zlib)))
114 (arguments
115 `(#:tests? #f ; no test target
116 #:phases
a71c315b 117 (modify-phases %standard-phases
3a4de6b2 118 (add-before 'configure 'patch-/bin/sh
a71c315b
DT
119 (lambda _
120 (substitute* "auto/feature"
121 (("/bin/sh") (which "bash")))))
3a4de6b2 122 (replace 'configure
a71c315b
DT
123 (lambda* (#:key outputs #:allow-other-keys)
124 (let ((flags
125 (list (string-append "--prefix=" (assoc-ref outputs "out"))
126 "--with-http_ssl_module"
127 "--with-pcre-jit"
128 "--with-ipv6"
129 "--with-debug"
130 ;; Even when not cross-building, we pass the
131 ;; --crossbuild option to avoid customizing for the
132 ;; kernel version on the build machine.
133 ,(let ((system "Linux") ; uname -s
134 (release "2.6.32") ; uname -r
135 ;; uname -m
136 (machine (match (or (%current-target-system)
137 (%current-system))
138 ("x86_64-linux" "x86_64")
139 ("i686-linux" "i686")
4788deea
MW
140 ("mips64el-linux" "mips64")
141 ;; Prevent errors when querying
142 ;; this package on unsupported
143 ;; platforms, e.g. when running
144 ;; "guix package --search="
145 (_ "UNSUPPORTED"))))
a71c315b
DT
146 (string-append "--crossbuild="
147 system ":" release ":" machine)))))
148 (setenv "CC" "gcc")
149 (format #t "environment variable `CC' set to `gcc'~%")
150 (format #t "configure flags: ~s~%" flags)
59446b20 151 (zero? (apply system* "./configure" flags)))))
3a4de6b2 152 (add-after 'install 'fix-root-dirs
59446b20
DT
153 (lambda* (#:key outputs #:allow-other-keys)
154 ;; 'make install' puts things in strange places, so we need to
155 ;; clean it up ourselves.
156 (let* ((out (assoc-ref outputs "out"))
157 (share (string-append out "/share/nginx")))
158 ;; This directory is empty, so get rid of it.
159 (rmdir (string-append out "/logs"))
160 ;; Example configuration and HTML files belong in
161 ;; /share.
162 (mkdir-p share)
163 (rename-file (string-append out "/conf")
164 (string-append share "/conf"))
165 (rename-file (string-append out "/html")
166 (string-append share "/html"))))))))
c9d512fa
MW
167 (home-page "http://nginx.org")
168 (synopsis "HTTP and reverse proxy server")
169 (description
170 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
171created by Igor Sysoev. It can be used both as a standalone web server
172and as a proxy to reduce the load on back-end HTTP or mail servers.")
173 ;; Almost all of nginx is distributed under the bsd-2 license.
174 ;; The exceptions are:
175 ;; * The 'nginx-http-push' module is covered by the expat license.
176 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
177 ;; except for two source files which are bsd-4 licensed.
178 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
179
a641b579
EB
180(define-public starman
181 (package
182 (name "starman")
183 (version "0.4011")
184 (source
185 (origin
186 (method url-fetch)
187 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
188 "Starman-" version ".tar.gz"))
189 (sha256
190 (base32
191 "1337zhi6v1sg4gd9rs3giybc7g1ysw8ak2da0vy098k4dacxyb57"))))
192 (build-system perl-build-system)
193 (native-inputs
194 `(("perl-libwww" ,perl-libwww)
195 ("perl-module-build-tiny" ,perl-module-build-tiny)
196 ("perl-test-requires" ,perl-test-requires)))
197 (propagated-inputs
198 `(("perl-data-dump" ,perl-data-dump)
199 ("perl-http-date" ,perl-http-date)
200 ("perl-http-message" ,perl-http-message)
201 ("perl-http-parser-xs" ,perl-http-parser-xs)
202 ("perl-net-server" ,perl-net-server)
203 ("perl-plack" ,perl-plack)
204 ("perl-test-tcp" ,perl-test-tcp)))
205 (home-page "http://search.cpan.org/dist/Starman")
206 (synopsis "PSGI/Plack web server")
207 (description "Starman is a PSGI perl web server that has unique features
208such as high performance, preforking, signal support, superdaemon awareness,
209and UNIX socket support.")
210 (license (package-license perl))))
211
2b0bba49
RW
212(define-public jansson
213 (package
214 (name "jansson")
215 (version "2.7")
216 (source (origin
217 (method url-fetch)
218 (uri
219 (string-append "http://www.digip.org/jansson/releases/jansson-"
220 version ".tar.gz"))
221 (sha256
222 (base32
223 "1mvq9p85khsl818i4vbszyfab0fd45mdrwrxjkzw05mk1xcyc1br"))))
224 (build-system gnu-build-system)
225 (home-page "http://www.digip.org/jansson/")
226 (synopsis "JSON C library")
227 (description
228 "Jansson is a C library for encoding, decoding and manipulating JSON
229data.")
230 (license l:expat)))
231
f6ad09ae
LC
232(define-public json-c
233 (package
234 (name "json-c")
235 (version "0.12")
236 (source (origin
237 (method url-fetch)
a124bbd2
SB
238 (uri (string-append
239 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
240 version ".tar.gz"))
f6ad09ae
LC
241 (sha256
242 (base32
243 "0gwzic3ifg2d0w32ya3agpxh8i083cgvf7kmc51cnbgqnfr02300"))
244 (modules '((guix build utils)))
245 (snippet
246 '(begin
247 ;; Somehow 'config.h.in' is older than
248 ;; 'aclocal.m4', which would trigger a rule to
249 ;; run 'autoheader'.
250 (set-file-time "config.h.in"
251 (stat "aclocal.m4"))
252
253 ;; Don't try to build with -Werror.
254 (substitute* (find-files "." "Makefile\\.in")
255 (("-Werror") ""))))))
256 (build-system gnu-build-system)
257 (arguments '(#:parallel-build? #f
258 #:parallel-tests? #f))
259 (home-page "https://github.com/json-c/json-c/wiki")
260 (synopsis "JSON implementation in C")
261 (description
262 "JSON-C implements a reference counting object model that allows you to
263easily construct JSON objects in C, output them as JSON formatted strings and
264parse JSON formatted strings back into the C representation of JSON objects.")
265 (license l:x11)))
266
ccb8da26
RW
267(define-public rapidjson
268 (package
269 (name "rapidjson")
270 (version "1.0.2")
271 (source (origin
272 (method url-fetch)
273 (uri (string-append
274 "https://github.com/miloyip/rapidjson/archive/v"
275 version ".tar.gz"))
276 (file-name (string-append name "-" version ".tar.gz"))
277 (sha256
278 (base32
c5c4c4b4
LC
279 "0rl6s0vg5y1dhh9vfl1lqay3sxf69sxjh0czxrjmasn7ng91wwf3"))
280 (modules '((guix build utils)))
281 (snippet
282 ;; Building with GCC 4.8 with -Werror was fine, but 4.9.3
283 ;; complains in new ways, so turn of -Werror.
284 '(substitute* (find-files "." "^CMakeLists\\.txt$")
285 (("-Werror") "")))))
ccb8da26
RW
286 (build-system cmake-build-system)
287 (home-page "https://github.com/miloyip/rapidjson")
288 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
289 (description
290 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
291style API.")
292 (license l:expat)))
293
d8f1c074
ED
294(define-public libyajl
295 (package
296 (name "libyajl")
297 (version "2.1.0")
298 (source (origin
299 (method url-fetch)
300 (uri (string-append "https://github.com/lloyd/yajl/"
301 "archive/" version ".tar.gz"))
302 (file-name (string-append name "-" version ".tar.gz"))
303 (sha256
304 (base32
305 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
306 (build-system cmake-build-system)
307 (home-page "https://lloyd.github.io/yajl/")
308 (synopsis "C library for parsing JSON")
309 (description
310 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
311parser written in ANSI C and a small validating JSON generator.")
312 (license l:isc)))
313
833efa0d
LC
314(define-public libwebsockets
315 (package
316 (name "libwebsockets")
c2337213 317 (version "1.3")
833efa0d
LC
318 (source (origin
319 ;; The project does not publish tarballs, so we have to take
320 ;; things from Git.
321 (method git-fetch)
322 (uri (git-reference
323 (url "git://git.libwebsockets.org/libwebsockets")
324 (commit (string-append "v" version
c2337213 325 "-chrome37-firefox30"))))
833efa0d
LC
326 (sha256
327 (base32
c2337213 328 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
833efa0d
LC
329 (file-name (string-append name "-" version))))
330
c2337213 331 (build-system cmake-build-system)
833efa0d 332 (arguments
c2337213
LC
333 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
334 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
335 '(#:tests? #f))
833efa0d 336
c2337213 337 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
833efa0d
LC
338 (inputs `(("zlib" ,zlib)
339 ("openssl" ,openssl)))
340 (synopsis "WebSockets library written in C")
341 (description
35b9e423 342 "Libwebsockets is a library that allows C programs to establish client
833efa0d
LC
343and server WebSockets connections---a protocol layered above HTTP that allows
344for efficient socket-like bidirectional reliable communication channels.")
345 (home-page "http://libwebsockets.org/")
346
347 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
348 (license l:lgpl2.1)))
349
488e8863
EB
350(define-public libpsl
351 (package
352 (name "libpsl")
e4d80162 353 (version "0.7.1")
488e8863
EB
354 (source (origin
355 (method url-fetch)
356 (uri (string-append "https://github.com/rockdaboot/libpsl/"
b7e147ff 357 "archive/libpsl-" version ".tar.gz"))
488e8863
EB
358 (sha256
359 (base32
b7e147ff 360 "1k0klj668c9v0r4993vfs3kq773mzdz61vsigqw6v1mjcwnf1si3"))))
488e8863
EB
361 (build-system gnu-build-system)
362 (inputs `(("icu4c" ,icu4c)))
363 ;; The release tarball lacks the generated files.
364 (native-inputs `(("autoconf" ,autoconf)
365 ("automake" ,automake)
366 ("gettext" ,gnu-gettext)
367 ("which" ,which)
e4d80162
LC
368 ("libtool" ,libtool)
369 ("pkg-config" ,pkg-config)))
488e8863 370 (arguments
722ec722
MW
371 `(#:phases (alist-cons-after
372 'unpack 'bootstrap
488e8863 373 (lambda _
722ec722
MW
374 (zero? (system* "sh" "autogen.sh")))
375 %standard-phases)))
488e8863
EB
376 (home-page "https://github.com/rockdaboot/libpsl")
377 (synopsis "C library for the Publix Suffix List")
378 (description
379 "A \"public suffix\" is a domain name under which Internet users can
380directly register own names.
381
382Browsers and other web clients can use it to avoid privacy-leaking
383\"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
384highlighting parts of the domain in a user interface, and sorting domain lists
385by site.
386
387Libpsl has built-in PSL data for fast access, allows to load PSL data from
388files, checks if a given domain is a public suffix, provides immediate cookie
389domain verification, finds the longest public part of a given domain, finds
390the shortest private part of a given domain, works with international
391domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
e881752c 392UTS#46.")
488e8863
EB
393 (license l:x11)))
394
18cb3df8
DT
395(define-public tidy
396 (package
397 (name "tidy")
398 (version "20091223")
399 (source (origin
400 (method cvs-fetch)
401 (uri (cvs-reference
402 (root-directory
403 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
404 (module "tidy")
405 (revision "2009-12-23")))
406 (sha256
407 (base32
4d853910
MW
408 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
409 (patches (list (search-patch "tidy-CVE-2015-5522+5523.patch")))))
18cb3df8
DT
410 (build-system gnu-build-system)
411 (arguments
5294768c
DT
412 '(#:phases (alist-cons-after
413 'unpack 'bootstrap
18cb3df8
DT
414 (lambda* (#:key inputs #:allow-other-keys)
415 ;; configure.in and Makefile.am aren't in the root of the
416 ;; source tree.
417 (copy-recursively "build/gnuauto" ".")
418 (setenv "AUTOMAKE" "automake --foreign")
419 (zero? (system* "autoreconf" "-vfi")))
420 %standard-phases)))
421 (native-inputs
422 `(("automake" ,automake)
423 ("autoconf" ,autoconf)
424 ("libtool" ,libtool)))
425 (synopsis "HTML validator and tidier")
426 (description "HTML Tidy is a command-line tool and C library that can be
427used to validate and fix HTML data.")
428 (home-page "http://tidy.sourceforge.net/")
429 (license (l:x11-style "file:///include/tidy.h"))))
430
8142aff3 431(define-public tinyproxy
c9ea41ff 432 (package
8142aff3
EB
433 (name "tinyproxy")
434 (version "1.8.3")
435 (source (origin
436 (method url-fetch)
437 (uri (string-append
438 "http://www.samba.org/~obnox/" name "/download/"
439 name "-" version ".tar.bz2"))
440 (sha256
441 (base32
442 "0vl9igw7vm924rs6d6bkib7zfclxnlf9s8rmml1sfwj7xda9nmdy"))))
443 (build-system gnu-build-system)
444 (arguments
445 `(#:configure-flags
446 (list
447 ;; For the log file, etc.
448 "--localstatedir=/var")
449 #:phases
450 (alist-cons-before
451 'build 'pre-build
452 (lambda* (#:key inputs #:allow-other-keys #:rest args)
453 ;; Uncommenting the next two lines may assist in debugging
454 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
455 ;; (setenv "XML_DEBUG_CATALOG" "1")
456 #t)
457 %standard-phases)))
458 ;; All of the below are used to generate the documentation
459 ;; (Should they be propagated inputs of asciidoc ??)
460 (native-inputs `(("asciidoc" ,asciidoc)
e881752c 461 ("libxml2" ,libxml2)
8142aff3
EB
462 ("docbook-xml" ,docbook-xml)
463 ("docbook-xsl" ,docbook-xsl)
464 ("libxslt" ,libxslt)))
465 (home-page "https://banu.com/tinyproxy/")
466 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
467 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
468daemon. Designed from the ground up to be fast and yet small, it is an ideal
469solution for use cases such as embedded deployments where a full featured HTTP
470proxy is required, but the system resources for a larger proxy are
471unavailable.")
472 (license l:gpl2+)))
473
474(define-public polipo
475 (package
476 (name "polipo")
477 (version "1.1.1")
478 (source
479 (origin
480 (method url-fetch)
481 (uri (string-append
482 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
483 version ".tar.gz"))
484 (sha256
485 (base32
486 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
487 (native-inputs `(("texinfo" ,texinfo)))
488 (build-system gnu-build-system)
489 (arguments
490 `(#:phases
491 (alist-delete 'configure %standard-phases)
492 #:make-flags (let ((out (assoc-ref %outputs "out")))
493 (list (string-append "PREFIX=" out)
494 (string-append "LOCAL_ROOT="
495 out "/share/polipo/www")
496 "CC=gcc"))
497 ;; No 'check' target.
498 #:tests? #f))
499 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
500 (synopsis "Small caching web proxy")
501 (description
502 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
503server). It was primarily designed to be used by one person or a small group
504of people.")
505 (license l:expat)))
506
507(define-public libyaml
508 (package
509 (name "libyaml")
510 (version "0.1.5")
511 (source
512 (origin
513 (method url-fetch)
514 (uri (string-append
515 "http://pyyaml.org/download/libyaml/yaml-"
516 version ".tar.gz"))
517 (sha256
518 (base32
519 "1vrv5ly58bkmcyc049ad180f2m8iav6l9h3v8l2fqdmrny7yx1zs"))))
520 (build-system gnu-build-system)
521 (home-page "http://pyyaml.org/wiki/LibYAML")
522 (synopsis "YAML 1.1 parser and emitter written in C")
523 (description
524 "LibYAML is a YAML 1.1 parser and emitter written in C.")
525 (license l:expat)))
526
527(define-public libquvi-scripts
528 (package
529 (name "libquvi-scripts")
530 (version "0.4.21")
531 (source
532 (origin
533 (method url-fetch)
534 (uri (string-append
535 "mirror://sourceforge/quvi/libquvi-scripts-" version ".tar.xz"))
536 (sha256
537 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
538 (build-system gnu-build-system)
539 (home-page "http://quvi.sourceforge.net/")
540 (synopsis "Media stream URL parser")
541 (description "This package contains support scripts called by libquvi to
542parse media stream properties.")
543 (license l:lgpl2.1+)))
544
545(define-public libquvi
546 (package
547 (name "libquvi")
548 (version "0.4.1")
549 (source
550 (origin
551 (method url-fetch)
552 (uri (string-append
553 "mirror://sourceforge/quvi/libquvi-" version ".tar.xz"))
554 (sha256
555 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
556 (build-system gnu-build-system)
557 (native-inputs `(("pkg-config" ,pkg-config)))
558 (inputs
559 `(("curl" ,curl)
560 ("cyrus-sasl" ,cyrus-sasl)
561 ("libquvi-scripts" ,libquvi-scripts)
562 ("lua" ,lua-5.1)
563 ("openssl" ,openssl)
564 ("zlib" ,zlib)))
565 (arguments
566 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
567 '(#:configure-flags
568 (let ((lua (assoc-ref %build-inputs "lua")))
569 (list
570 (string-append "liblua_CFLAGS=-I" lua "/include")
571 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
572 (home-page "http://quvi.sourceforge.net/")
573 (synopsis "Media stream URL parser")
574 (description "libquvi is a library with a C API for parsing media stream
575URLs and extracting their actual media files.")
576 (license l:lgpl2.1+)))
577
578(define-public quvi
579 (package
580 (name "quvi")
581 (version "0.4.2")
582 (source
583 (origin
584 (method url-fetch)
585 (uri (string-append
586 "mirror://sourceforge/quvi/quvi-" version ".tar.xz"))
587 (sha256
588 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
589 (build-system gnu-build-system)
590 (native-inputs `(("pkg-config" ,pkg-config)))
591 (inputs
592 `(("curl" ,curl)
593 ("libquvi" ,libquvi)))
594 (home-page "http://quvi.sourceforge.net/")
595 (synopsis "Media stream URL parser")
596 (description "quvi is a command-line-tool suite to extract media files
597from streaming URLs. It is a command-line wrapper for the libquvi library.")
598 (license l:lgpl2.1+)))
599
ed865936
MW
600(define-public serf
601 (package
602 (name "serf")
603 (version "1.3.8")
604 (source
605 (origin
606 (method url-fetch)
607 (uri (string-append "http://serf.googlecode.com/svn/src_releases/serf-"
608 version ".tar.bz2"))
609 (sha256
88b6b125
MW
610 (base32 "14155g48gamcv5s0828bzij6vr14nqmbndwq8j8f9g6vcph0nl70"))
611 (patches (map search-patch '("serf-comment-style-fix.patch"
612 "serf-deflate-buckets-test-fix.patch")))
613 (patch-flags '("-p0"))))
ed865936
MW
614 (build-system gnu-build-system)
615 (native-inputs
616 `(("scons" ,scons)
617 ("python" ,python-2)))
618 (propagated-inputs
619 `(("apr" ,apr)
620 ("apr-util" ,apr-util)
621 ("openssl" ,openssl)))
622 (inputs
623 `(;; TODO: Fix build with gss.
624 ;;("gss" ,gss)
625 ("zlib" ,zlib)))
626 (arguments
627 `(#:phases
628 ;; TODO: Add scons-build-system and use it here.
629 (modify-phases %standard-phases
630 (delete 'configure)
631 (add-after 'unpack 'scons-propagate-environment
632 (lambda _
633 ;; By design, SCons does not, by default, propagate
634 ;; environment variables to subprocesses. See:
635 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
636 ;; Here, we modify the SConstruct file to arrange for
637 ;; environment variables to be propagated.
638 (substitute* "SConstruct"
639 (("^env = Environment\\(")
640 "env = Environment(ENV=os.environ, "))))
ed865936
MW
641 (replace 'build
642 (lambda* (#:key inputs outputs #:allow-other-keys)
643 (let ((out (assoc-ref outputs "out"))
644 (apr (assoc-ref inputs "apr"))
645 (apr-util (assoc-ref inputs "apr-util"))
646 (openssl (assoc-ref inputs "openssl"))
647 ;;(gss (assoc-ref inputs "gss"))
648 (zlib (assoc-ref inputs "zlib")))
649 (zero? (system* "scons"
650 (string-append "APR=" apr)
651 (string-append "APU=" apr-util)
652 (string-append "OPENSSL=" openssl)
653 ;;(string-append "GSSAPI=" gss)
654 (string-append "ZLIB=" zlib)
655 (string-append "PREFIX=" out))))))
656 (replace 'check (lambda _ (zero? (system* "scons" "check"))))
657 (replace 'install (lambda _ (zero? (system* "scons" "install")))))))
658 (home-page "https://code.google.com/p/serf/")
659 (synopsis "High-performance asynchronous HTTP client library")
660 (description
661 "serf is a C-based HTTP client library built upon the Apache Portable
662Runtime (APR) library. It multiplexes connections, running the read/write
663communication asynchronously. Memory copies and transformations are kept to a
664minimum to provide high performance operation.")
665 ;; Most of the code is covered by the Apache License, Version 2.0, but the
666 ;; bundled CuTest framework uses a different non-copyleft license.
667 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
668
385a44be
DT
669(define-public sassc
670 ;; libsass must be statically linked and it isn't included in the sassc
671 ;; release tarballs, hence this odd package recipe.
672 (let* ((version "3.2.5")
673 (libsass
674 (origin
675 (method url-fetch)
676 (uri (string-append
677 "https://github.com/sass/libsass/archive/"
678 version ".tar.gz"))
679 (file-name (string-append "libsass-" version ".tar.gz"))
680 (sha256
681 (base32
682 "1x25k6p1s1yzsdpzb7bzh8japilmi1mk3z96q66pycbinj9z9is4")))))
683 (package
684 (name "sassc")
685 (version version)
686 (source (origin
687 (method url-fetch)
688 (uri (string-append "https://github.com/sass/sassc/archive/"
689 version ".tar.gz"))
690 (file-name (string-append "sassc-" version ".tar.gz"))
691 (sha256
692 (base32
693 "1xf3w75w840rj0nx375rxi7mcv1ngqqq8p3zrzjlyx8jfpnldmv5"))))
694 (build-system gnu-build-system)
695 (arguments
696 `(#:make-flags '("CC=gcc")
697 #:test-target "test"
698 #:phases
699 (modify-phases %standard-phases
700 (delete 'configure)
701 (add-after 'unpack 'unpack-libsass-and-set-path
702 (lambda* (#:key inputs #:allow-other-keys)
703 (and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass")))
704 (begin
705 (setenv "SASS_LIBSASS_PATH"
706 (string-append (getcwd) "/libsass-" ,version))
707 #t))))
708 (replace 'install ; no install target
709 (lambda* (#:key outputs #:allow-other-keys)
710 (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
711 (mkdir-p bin)
712 (copy-file "bin/sassc" (string-append bin "/sassc"))
713 #t))))))
714 (inputs
715 `(("libsass" ,libsass)))
716 (synopsis "CSS pre-processor")
717 (description "SassC is a compiler written in C for the CSS pre-processor
718language known as SASS.")
719 (home-page "http://sass-lang.com/libsass")
720 (license l:expat))))
721
8142aff3 722\f
dc1c804a
EB
723(define-public perl-apache-logformat-compiler
724 (package
725 (name "perl-apache-logformat-compiler")
726 (version "0.32")
727 (source
728 (origin
729 (method url-fetch)
730 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
731 "Apache-LogFormat-Compiler-" version ".tar.gz"))
732 (sha256
733 (base32
734 "0zyx4r2bxc6d48m70fhcq80nw0q9wnfz6qgn1g0r6bigqgdjq4dw"))))
735 (build-system perl-build-system)
736 (native-inputs
737 `(("perl-http-message" ,perl-http-message)
738 ("perl-test-mocktime" ,perl-test-mocktime)
739 ("perl-try-tiny" ,perl-try-tiny)
740 ("perl-uri" ,perl-uri)))
741 (propagated-inputs
742 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
743 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
744 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
745 (synopsis "Compile a log format string to perl-code")
746 (description "This module provides methods to compile a log format string
747to perl-code, for faster generation of access_log lines.")
748 (license (package-license perl))))
749
c6ee18ab
EB
750(define-public perl-authen-sasl
751 (package
752 (name "perl-authen-sasl")
753 (version "2.16")
754 (source
755 (origin
756 (method url-fetch)
757 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
758 "Authen-SASL-" version ".tar.gz"))
759 (sha256
760 (base32
761 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
762 (build-system perl-build-system)
763 (propagated-inputs
764 `(("perl-digest-hmac" ,perl-digest-hmac)
765 ("perl-gssapi" ,perl-gssapi)))
766 (home-page "http://search.cpan.org/dist/Authen-SASL")
767 (synopsis "SASL authentication framework")
768 (description "Authen::SASL provides an SASL authentication framework.")
769 (license (package-license perl))))
770
cd39d814
EB
771(define-public perl-catalyst-action-renderview
772 (package
773 (name "perl-catalyst-action-renderview")
774 (version "0.16")
775 (source
776 (origin
777 (method url-fetch)
778 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
779 "Catalyst-Action-RenderView-"
780 version ".tar.gz"))
781 (sha256
782 (base32
783 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
784 (build-system perl-build-system)
785 (native-inputs
786 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)))
787 (propagated-inputs
788 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
789 ("perl-data-visitor" ,perl-data-visitor)
790 ("perl-mro-compat" ,perl-mro-compat)))
791 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
792 (synopsis "Sensible default Catalyst action")
793 (description "This Catalyst action implements a sensible default end
794action, which will forward to the first available view.")
795 (license (package-license perl))))
796
aaef00bf
EB
797(define-public perl-catalyst-action-rest
798 (package
799 (name "perl-catalyst-action-rest")
800 (version "1.17")
801 (source (origin
802 (method url-fetch)
803 (uri (string-append "mirror://cpan/authors/id/F/FR/FREW/"
804 "Catalyst-Action-REST-" version ".tar.gz"))
805 (sha256
806 (base32
807 "1rnxmsd9dsqz4xc0g9ynafxi934jwp0nixbg92q3bc2h46xcccy8"))))
808 (build-system perl-build-system)
809 (native-inputs
810 `(("perl-test-requires" ,perl-test-requires)))
811 (propagated-inputs
812 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
813 ("perl-class-inspector" ,perl-class-inspector)
814 ("perl-libwww" ,perl-libwww)
815 ("perl-moose" ,perl-moose)
816 ("perl-mro-compat" ,perl-mro-compat)
817 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
818 ("perl-params-validate" ,perl-params-validate)
819 ("perl-uri-find" ,perl-uri-find)))
820 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
821 (synopsis "Automated REST Method Dispatching")
822 (description "This Action handles doing automatic method dispatching for
823REST requests. It takes a normal Catalyst action, and changes the dispatch to
824append an underscore and method name. First it will try dispatching to an
825action with the generated name, and failing that it will try to dispatch to a
826regular method.")
827 (license (package-license perl))))
828
6e545bbf
EB
829(define-public perl-catalyst-authentication-store-dbix-class
830 (package
831 (name "perl-catalyst-authentication-store-dbix-class")
832 (version "0.1506")
833 (source
834 (origin
835 (method url-fetch)
836 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
837 "Catalyst-Authentication-Store-DBIx-Class-"
838 version ".tar.gz"))
839 (sha256
840 (base32
841 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
842 (build-system perl-build-system)
843 (native-inputs
844 `(("perl-catalyst-plugin-authorization-roles"
845 ,perl-catalyst-plugin-authorization-roles)
846 ("perl-catalyst-plugin-session-state-cookie"
847 ,perl-catalyst-plugin-session-state-cookie)
848 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
849 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
850 (propagated-inputs
851 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
852 ("perl-catalyst-plugin-authentication"
853 ,perl-catalyst-plugin-authentication)
854 ("perl-dbix-class" ,perl-dbix-class)
855 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
856 (home-page
857 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
858 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
859 (description "The Catalyst::Authentication::Store::DBIx::Class class
860provides access to authentication information stored in a database via
861DBIx::Class.")
862 (license (package-license perl))))
863
040a52fd
EB
864(define-public perl-catalyst-component-instancepercontext
865 (package
866 (name "perl-catalyst-component-instancepercontext")
867 (version "0.001001")
868 (source
869 (origin
870 (method url-fetch)
871 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
872 "Catalyst-Component-InstancePerContext-"
873 version ".tar.gz"))
874 (sha256
875 (base32
876 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
877 (build-system perl-build-system)
878 (propagated-inputs
879 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
880 ("perl-moose" ,perl-moose)))
881 (home-page
882 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
883 (synopsis "Create only one instance of Moose component per context")
884 (description "Catalyst::Component::InstancePerContext returns a new
885instance of a component on each request.")
886 (license (package-license perl))))
887
bdec3223
EB
888(define-public perl-catalyst-devel
889 (package
890 (name "perl-catalyst-devel")
891 (version "1.39")
892 (source
893 (origin
894 (method url-fetch)
895 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
896 "Catalyst-Devel-" version ".tar.gz"))
897 (sha256
898 (base32
899 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
900 (build-system perl-build-system)
901 (native-inputs
902 `(("perl-test-fatal" ,perl-test-fatal)))
903 (propagated-inputs
904 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
905 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
906 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
907 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
908 ("perl-config-general" ,perl-config-general)
909 ("perl-file-changenotify" ,perl-file-changenotify)
910 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
911 ("perl-file-sharedir" ,perl-file-sharedir)
912 ("perl-module-install" ,perl-module-install)
913 ("perl-moose" ,perl-moose)
914 ("perl-moosex-emulate-class-accessor-fast"
915 ,perl-moosex-emulate-class-accessor-fast)
916 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
917 ("perl-namespace-clean" ,perl-namespace-clean)
918 ("perl-path-class" ,perl-path-class)
919 ("perl-template-toolkit" ,perl-template-toolkit)))
920 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
921 (synopsis "Catalyst Development Tools")
922 (description "The Catalyst-Devel distribution includes a variety of
923modules useful for the development of Catalyst applications, but not required
924to run them. Catalyst-Devel includes the Catalyst::Helper system, which
925autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
926extension for Catalyst; and requirements for a variety of development-related
927modules.")
928 (license (package-license perl))))
929
9473af1d
EB
930(define-public perl-catalyst-dispatchtype-regex
931 (package
932 (name "perl-catalyst-dispatchtype-regex")
933 (version "5.90035")
934 (source
935 (origin
936 (method url-fetch)
937 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
938 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
939 (sha256
940 (base32
941 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
942 (build-system perl-build-system)
943 (native-inputs
944 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
945 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
946 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
947 (propagated-inputs
948 `(("perl-moose" ,perl-moose)
949 ("perl-text-simpletable" ,perl-text-simpletable)))
950 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
951 (synopsis "Regex DispatchType for Catalyst")
952 (description "Dispatch type managing path-matching behaviour using
953regexes. Regex dispatch types have been deprecated and removed from Catalyst
954core. It is recommend that you use Chained methods or other techniques
955instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
956vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
957when the dispatch type is first seen in your application.")
958 (license (package-license perl))))
959
f643a6e9
EB
960(define-public perl-catalyst-model-dbic-schema
961 (package
962 (name "perl-catalyst-model-dbic-schema")
963 (version "0.65")
964 (source
965 (origin
966 (method url-fetch)
967 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
968 "Catalyst-Model-DBIC-Schema-"
969 version ".tar.gz"))
970 (sha256
971 (base32
972 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
973 (build-system perl-build-system)
974 (native-inputs
975 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
976 ("perl-test-exception" ,perl-test-exception)
977 ("perl-test-requires" ,perl-test-requires)))
978 (propagated-inputs
979 `(("perl-carp-clan" ,perl-carp-clan)
980 ("perl-catalyst-component-instancepercontext"
981 ,perl-catalyst-component-instancepercontext)
982 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
983 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
984 ("perl-dbix-class" ,perl-dbix-class)
985 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
986 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
987 ("perl-hash-merge" ,perl-hash-merge)
988 ("perl-list-moreutils" ,perl-list-moreutils)
989 ("perl-module-runtime" ,perl-module-runtime)
990 ("perl-moose" ,perl-moose)
991 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
992 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
993 ("perl-moosex-types" ,perl-moosex-types)
994 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
995 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
996 ("perl-namespace-clean" ,perl-namespace-clean)
997 ("perl-tie-ixhash" ,perl-tie-ixhash)
998 ("perl-try-tiny" ,perl-try-tiny)))
999 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1000 (synopsis "DBIx::Class::Schema Model Class")
1001 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1002Models.")
1003 (license (package-license perl))))
1004
0a74d78d
EB
1005(define-public perl-catalyst-plugin-accesslog
1006 (package
1007 (name "perl-catalyst-plugin-accesslog")
1008 (version "1.05")
1009 (source
1010 (origin
1011 (method url-fetch)
1012 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1013 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1014 (sha256
1015 (base32
1016 "0hqvckaw91q5yc25a33bp0d4qqxlgkp7rxlvi8n8svxd1406r55s"))))
1017 (build-system perl-build-system)
1018 (propagated-inputs
1019 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1020 ("perl-datetime" ,perl-datetime)
1021 ("perl-moose" ,perl-moose)
1022 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1023 (arguments `(#:tests? #f)) ;Unexpected http responses
1024 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1025 (synopsis "Request logging from within Catalyst")
1026 (description "This Catalyst plugin enables you to create \"access logs\"
1027from within a Catalyst application instead of requiring a webserver to do it
1028for you. It will work even with Catalyst debug logging turned off.")
1029 (license (package-license perl))))
1030
4b4fe57d
EB
1031(define-public perl-catalyst-plugin-authentication
1032 (package
1033 (name "perl-catalyst-plugin-authentication")
1034 (version "0.10023")
1035 (source
1036 (origin
1037 (method url-fetch)
1038 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1039 "Catalyst-Plugin-Authentication-"
1040 version ".tar.gz"))
1041 (sha256
1042 (base32
1043 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1044 (build-system perl-build-system)
1045 (propagated-inputs
1046 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1047 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1048 ("perl-class-inspector" ,perl-class-inspector)
1049 ("perl-moose" ,perl-moose)
1050 ("perl-moosex-emulate-class-accessor-fast"
1051 ,perl-moosex-emulate-class-accessor-fast)
1052 ("perl-mro-compat" ,perl-mro-compat)
1053 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1054 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1055 ("perl-test-exception" ,perl-test-exception)
1056 ("perl-try-tiny" ,perl-try-tiny)))
1057 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1058 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1059 (description "The authentication plugin provides generic user support for
e881752c 1060Catalyst apps. It is the basis for both authentication (checking the user is
4b4fe57d
EB
1061who they claim to be), and authorization (allowing the user to do what the
1062system authorises them to do).")
1063 (license (package-license perl))))
1064
514214cb
EB
1065(define-public perl-catalyst-plugin-authorization-roles
1066 (package
1067 (name "perl-catalyst-plugin-authorization-roles")
1068 (version "0.09")
1069 (source
1070 (origin
1071 (method url-fetch)
1072 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1073 "Catalyst-Plugin-Authorization-Roles-"
1074 version ".tar.gz"))
1075 (sha256
1076 (base32
1077 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1078 (build-system perl-build-system)
1079 (native-inputs
1080 `(("perl-test-exception" ,perl-test-exception)))
1081 (propagated-inputs
1082 `(("perl-catalyst-plugin-authentication"
1083 ,perl-catalyst-plugin-authentication)
1084 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1085 ("perl-set-object" ,perl-set-object)
1086 ("perl-universal-isa" ,perl-universal-isa)))
1087 (home-page
1088 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1089 (synopsis "Role-based authorization for Catalyst")
1090 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1091authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1092 (license (package-license perl))))
1093
57c2680e
EB
1094(define-public perl-catalyst-plugin-captcha
1095 (package
1096 (name "perl-catalyst-plugin-captcha")
1097 (version "0.04")
1098 (source
1099 (origin
1100 (method url-fetch)
1101 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1102 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1103 (sha256
1104 (base32
1105 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1106 (build-system perl-build-system)
1107 (propagated-inputs
1108 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1109 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1110 ("perl-gd-securityimage" ,perl-gd-securityimage)
1111 ("perl-http-date" ,perl-http-date)))
1112 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1113 (synopsis "Captchas for Catalyst")
1114 (description "This plugin creates and validates Captcha images for
1115Catalyst.")
1116 (license (package-license perl))))
1117
7c4eaa56
EB
1118(define-public perl-catalyst-plugin-configloader
1119 (package
1120 (name "perl-catalyst-plugin-configloader")
1121 (version "0.34")
1122 (source
1123 (origin
1124 (method url-fetch)
1125 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1126 "Catalyst-Plugin-ConfigLoader-"
1127 version ".tar.gz"))
1128 (sha256
1129 (base32
1130 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1131 (build-system perl-build-system)
1132 (native-inputs
1133 `(("perl-path-class" ,perl-path-class)))
1134 (propagated-inputs
1135 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1136 ("perl-config-any" ,perl-config-any)
1137 ("perl-data-visitor" ,perl-data-visitor)
1138 ("perl-mro-compat" ,perl-mro-compat)))
1139 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1140 (synopsis "Load config files of various types")
1141 (description "This module will attempt to load find and load configuration
1142files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1143formats.")
1144 (license (package-license perl))))
1145
3d4644e4
EB
1146(define-public perl-catalyst-plugin-session
1147 (package
1148 (name "perl-catalyst-plugin-session")
1149 (version "0.39")
1150 (source
1151 (origin
1152 (method url-fetch)
1153 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1154 "Catalyst-Plugin-Session-" version ".tar.gz"))
1155 (sha256
1156 (base32
1157 "0m4a003qgz7848iyckwbigg2vw3kmfxggh1razrnzxrbz3n6x5gi"))))
1158 (build-system perl-build-system)
1159 (native-inputs
1160 `(("perl-test-deep" ,perl-test-deep)
1161 ("perl-test-exception" ,perl-test-exception)))
1162 (propagated-inputs
1163 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1164 ("perl-moose" ,perl-moose)
1165 ("perl-moosex-emulate-class-accessor-fast"
1166 ,perl-moosex-emulate-class-accessor-fast)
1167 ("perl-namespace-clean" ,perl-namespace-clean)
1168 ("perl-object-signature" ,perl-object-signature)
1169 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1170 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1171 (synopsis "Catalyst generic session plugin")
1172 (description "This plugin links the two pieces required for session
1173management in web applications together: the state, and the store.")
1174 (license (package-license perl))))
1175
be734479
EB
1176(define-public perl-catalyst-plugin-session-state-cookie
1177 (package
1178 (name "perl-catalyst-plugin-session-state-cookie")
1179 (version "0.17")
1180 (source
1181 (origin
1182 (method url-fetch)
1183 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1184 "Catalyst-Plugin-Session-State-Cookie-"
1185 version ".tar.gz"))
1186 (sha256
1187 (base32
1188 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1189 (build-system perl-build-system)
1190 (propagated-inputs
1191 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1192 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1193 ("perl-moose" ,perl-moose)
1194 ("perl-mro-compat" ,perl-mro-compat)
1195 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1196 (home-page
1197 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1198 (synopsis "Maintain session IDs using cookies")
1199 (description "In order for Catalyst::Plugin::Session to work, the session
1200ID needs to be stored on the client, and the session data needs to be stored
1201on the server. This plugin stores the session ID on the client using the
1202cookie mechanism.")
1203 (license (package-license perl))))
1204
47533b6f
EB
1205(define-public perl-catalyst-plugin-session-store-fastmmap
1206 (package
1207 (name "perl-catalyst-plugin-session-store-fastmmap")
1208 (version "0.16")
1209 (source
1210 (origin
1211 (method url-fetch)
1212 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1213 "Catalyst-Plugin-Session-Store-FastMmap-"
1214 version ".tar.gz"))
1215 (sha256
1216 (base32
1217 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1218 (build-system perl-build-system)
1219 (propagated-inputs
1220 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1221 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1222 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1223 ("perl-moosex-emulate-class-accessor-fast"
1224 ,perl-moosex-emulate-class-accessor-fast)
1225 ("perl-mro-compat" ,perl-mro-compat)
1226 ("perl-path-class" ,perl-path-class)))
1227 (home-page
1228 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
e881752c 1229 (synopsis "FastMmap session storage backend")
47533b6f
EB
1230 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1231storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1232memory interprocess cache. It is based on Cache::FastMmap.")
1233 (license (package-license perl))))
1234
996f4110
EB
1235(define-public perl-catalyst-plugin-stacktrace
1236 (package
1237 (name "perl-catalyst-plugin-stacktrace")
1238 (version "0.12")
1239 (source
1240 (origin
1241 (method url-fetch)
1242 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1243 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1244 (sha256
1245 (base32
1246 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1247 (build-system perl-build-system)
1248 (propagated-inputs
1249 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1250 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1251 ("perl-mro-compat" ,perl-mro-compat)))
1252 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1253 (synopsis "Stack trace on the Catalyst debug screen")
1254 (description "This plugin enhances the standard Catalyst debug screen by
69b4ffcf 1255including a stack trace of your application up to the point where the error
996f4110
EB
1256occurred. Each stack frame is displayed along with the package name, line
1257number, file name, and code context surrounding the line number.")
1258 (license (package-license perl))))
1259
4cb5426c
EB
1260(define-public perl-catalyst-plugin-static-simple
1261 (package
1262 (name "perl-catalyst-plugin-static-simple")
1263 (version "0.33")
1264 (source
1265 (origin
1266 (method url-fetch)
1267 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1268 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1269 (sha256
1270 (base32
1271 "1h8f12bhzh0ssq9gs8r9g3hqn8zn2k0q944vc1vm8j81bns16msy"))))
1272 (build-system perl-build-system)
1273 (propagated-inputs
1274 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1275 ("perl-mime-types" ,perl-mime-types)
1276 ("perl-moose" ,perl-moose)
1277 ("perl-moosex-types" ,perl-moosex-types)
1278 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1279 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1280 (synopsis "Simple serving of static pages")
1281 (description "The Static::Simple plugin is designed to make serving static
1282content in your application during development quick and easy, without
1283requiring a single line of code from you. This plugin detects static files by
1284looking at the file extension in the URL (such as .css or .png or .js). The
1285plugin uses the lightweight MIME::Types module to map file extensions to
1286IANA-registered MIME types, and will serve your static files with the correct
1287MIME type directly to the browser, without being processed through Catalyst.")
1288 (license (package-license perl))))
1289
91f06299
EB
1290(define-public perl-catalyst-runtime
1291 (package
1292 (name "perl-catalyst-runtime")
1293 (version "5.90082")
1294 (source
1295 (origin
1296 (method url-fetch)
1297 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1298 "Catalyst-Runtime-" version ".tar.gz"))
1299 (sha256
1300 (base32
1301 "1gs70nq4rikpq6siwds9disb1z03vwjzf979xi9kf7saa1drfncs"))))
1302 (build-system perl-build-system)
1303 (native-inputs
1304 `(("perl-test-fatal" ,perl-test-fatal)))
1305 (propagated-inputs
1306 `(("perl-cgi-simple" ,perl-cgi-simple)
1307 ("perl-cgi-struct" ,perl-cgi-struct)
1308 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1309 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1310 ("perl-class-date" ,perl-class-date)
1311 ("perl-class-load" ,perl-class-load)
1312 ("perl-data-dump" ,perl-data-dump)
1313 ("perl-http-body" ,perl-http-body)
1314 ("perl-http-message" ,perl-http-message)
1315 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1316 ("perl-io-stringy" ,perl-io-stringy)
1317 ("perl-json-maybexs" ,perl-json-maybexs)
1318 ("perl-libwww" ,perl-libwww)
1319 ("perl-moose" ,perl-moose)
1320 ("perl-moosex-emulate-class-accessor-fast"
1321 ,perl-moosex-emulate-class-accessor-fast)
1322 ("perl-moosex-getopt" ,perl-moosex-getopt)
1323 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1324 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1325 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1326 ("perl-namespace-clean" ,perl-namespace-clean)
1327 ("perl-path-class" ,perl-path-class)
1328 ("perl-plack" ,perl-plack)
1329 ("perl-plack-middleware-fixmissingbodyinredirect"
1330 ,perl-plack-middleware-fixmissingbodyinredirect)
1331 ("perl-plack-middleware-methodoverride"
1332 ,perl-plack-middleware-methodoverride)
1333 ("perl-plack-middleware-removeredundantbody"
1334 ,perl-plack-middleware-removeredundantbody)
1335 ("perl-plack-middleware-reverseproxy"
1336 ,perl-plack-middleware-reverseproxy)
1337 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1338 ("perl-safe-isa" ,perl-safe-isa)
1339 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1340 ("perl-text-simpletable" ,perl-text-simpletable)
1341 ("perl-tree-simple" ,perl-tree-simple)
1342 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1343 ("perl-try-tiny" ,perl-try-tiny)
1344 ("perl-uri" ,perl-uri)
1345 ("perl-uri-ws" ,perl-uri-ws)))
1346 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1347 (synopsis "The Catalyst Framework Runtime")
1348 (description "Catalyst is a modern framework for making web applications.
1349It is designed to make it easy to manage the various tasks you need to do to
1350run an application on the web, either by doing them itself, or by letting you
1351\"plug in\" existing Perl modules that do what you need.")
1352 (license (package-license perl))))
1353
b902eb1c
EB
1354(define-public perl-catalyst-traitfor-request-proxybase
1355 (package
1356 (name "perl-catalyst-traitfor-request-proxybase")
1357 (version "0.000005")
1358 (source
1359 (origin
1360 (method url-fetch)
1361 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1362 "Catalyst-TraitFor-Request-ProxyBase-"
1363 version ".tar.gz"))
1364 (sha256
1365 (base32
1366 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1367 (build-system perl-build-system)
1368 (native-inputs
1369 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1370 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1371 ("perl-http-message" ,perl-http-message)))
1372 (propagated-inputs
1373 `(("perl-moose" ,perl-moose)
1374 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1375 ("perl-uri" ,perl-uri)))
1376 (home-page
1377 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1378 (synopsis "Replace request base with value passed by HTTP proxy")
1379 (description "This module is a Moose::Role which allows you more
1380flexibility in your application's deployment configurations when deployed
1381behind a proxy. Using this module, the request base ($c->req->base) is
1382replaced with the contents of the X-Request-Base header.")
1383 (license (package-license perl))))
1384
83261658
EB
1385(define-public perl-catalyst-view-download
1386 (package
1387 (name "perl-catalyst-view-download")
1388 (version "0.09")
1389 (source
1390 (origin
1391 (method url-fetch)
1392 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1393 "Catalyst-View-Download-" version ".tar.gz"))
1394 (sha256
1395 (base32
1396 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1397 (build-system perl-build-system)
1398 (native-inputs
1399 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1400 ("perl-test-simple" ,perl-test-simple)
1401 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1402 ("perl-text-csv" ,perl-text-csv)
1403 ("perl-xml-simple" ,perl-xml-simple)))
1404 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1405 (synopsis "Download data in many formats")
1406 (description "The purpose of this module is to provide a method for
1407downloading data into many supportable formats. For example, downloading a
e881752c 1408table based report in a variety of formats (CSV, HTML, etc.).")
83261658
EB
1409 (license (package-license perl))))
1410
c985cfe6
EB
1411(define-public perl-catalyst-view-json
1412 (package
1413 (name "perl-catalyst-view-json")
1414 (version "0.35")
1415 (source
1416 (origin
1417 (method url-fetch)
1418 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1419 "Catalyst-View-JSON-" version ".tar.gz"))
1420 (sha256
1421 (base32
1422 "184pyghlrkl7p387bnyvswi2d9myvdg4v3lax6xrd59shskvpmkm"))))
1423 (build-system perl-build-system)
1424 (native-inputs
1425 `(("perl-yaml" ,perl-yaml)))
1426 (inputs
1427 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1428 ("perl-json-maybexs" ,perl-json-maybexs)
1429 ("perl-mro-compat" ,perl-mro-compat)))
1430 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1431 (synopsis "Catalyst JSON view")
1432 (description "Catalyst::View::JSON is a Catalyst View handler that returns
1433stash data in JSON format.")
1434 (license (package-license perl))))
1435
5c2c9ab2
EB
1436(define-public perl-catalyst-view-tt
1437 (package
1438 (name "perl-catalyst-view-tt")
1439 (version "0.42")
1440 (source
1441 (origin
1442 (method url-fetch)
1443 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1444 "Catalyst-View-TT-" version ".tar.gz"))
1445 (sha256
1446 (base32
1447 "18ciik9fqaqjfasa9wicbjrsl3gjhjc15xzaj3rif57an25cl178"))))
1448 (build-system perl-build-system)
1449 (propagated-inputs
1450 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1451 ("perl-class-accessor" ,perl-class-accessor)
1452 ("perl-mro-compat" ,perl-mro-compat)
1453 ("perl-path-class" ,perl-path-class)
1454 ("perl-template-timer" ,perl-template-timer)
1455 ("perl-template-toolkit" ,perl-template-toolkit)))
1456 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
1457 (synopsis "Template View Class")
1458 (description "This module is a Catalyst view class for the Template
1459Toolkit.")
1460 (license (package-license perl))))
1461
89a2aa36
EB
1462(define-public perl-catalystx-component-traits
1463 (package
1464 (name "perl-catalystx-component-traits")
1465 (version "0.19")
1466 (source
1467 (origin
1468 (method url-fetch)
1469 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
1470 "CatalystX-Component-Traits-" version ".tar.gz"))
1471 (sha256
1472 (base32
1473 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
1474 (build-system perl-build-system)
1475 (native-inputs
1476 `(("perl-moose" ,perl-moose)
1477 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1478 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
1479 (propagated-inputs
1480 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1481 ("perl-class-load" ,perl-class-load)
1482 ("perl-moose" ,perl-moose)
1483 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
1484 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1485 ("perl-list-moreutils" ,perl-list-moreutils)))
1486 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
1487 (synopsis "Trait Loading and Resolution for Catalyst Components")
1488 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
1489Catalyst component base class that reads the optional \"traits\" parameter
1490from app and component config and instantiates the component subclass with
1491those traits using \"new_with_traits\" in MooseX::Traits from
1492MooseX::Traits::Pluggable.")
1493 (license (package-license perl))))
1494
227687ae
EB
1495(define-public perl-catalystx-roleapplicator
1496 (package
1497 (name "perl-catalystx-roleapplicator")
1498 (version "0.005")
1499 (source
1500 (origin
1501 (method url-fetch)
1502 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
1503 "CatalystX-RoleApplicator-" version ".tar.gz"))
1504 (sha256
1505 (base32
1506 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
1507 (build-system perl-build-system)
1508 (propagated-inputs
1509 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1510 ("perl-moose" ,perl-moose)
1511 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
1512 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
1513 (synopsis "Apply roles to Catalyst classes")
1514 (description "CatalystX::RoleApplicator applies roles to Catalyst
1515application classes.")
1516 (license (package-license perl))))
1517
ca8e6196
EB
1518(define-public perl-catalystx-script-server-starman
1519 (package
1520 (name "perl-catalystx-script-server-starman")
1521 (version "0.02")
1522 (source
1523 (origin
1524 (method url-fetch)
1525 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
1526 "CatalystX-Script-Server-Starman-"
1527 version ".tar.gz"))
1528 (sha256
1529 (base32
1530 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
1531 (build-system perl-build-system)
1532 (native-inputs
1533 `(("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1534 (propagated-inputs
1535 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1536 ("perl-moose" ,perl-moose)
1537 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1538 ("starman" ,starman)))
1539 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
1540 (synopsis "Catalyst development server with Starman")
1541 (description "This module provides a Catalyst extension to replace the
1542development server with Starman.")
1543 (license (package-license perl))))
1544
0148aa55
EB
1545(define-public perl-cgi-simple
1546 (package
1547 (name "perl-cgi-simple")
1548 (version "1.115")
1549 (source
1550 (origin
1551 (method url-fetch)
1552 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
1553 "CGI-Simple-" version ".tar.gz"))
1554 (sha256
1555 (base32
1556 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
1557 (build-system perl-build-system)
1558 (native-inputs
1559 `(("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
1560 (home-page "http://search.cpan.org/dist/CGI-Simple")
1561 (synopsis "CGI interface that is CGI.pm compliant")
1562 (description "CGI::Simple provides a relatively lightweight drop in
1563replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
1564parameter parsing, file upload, cookie handling and header generation.")
1565 (license (package-license perl))))
1566
76b8b86c
EB
1567(define-public perl-cgi-struct
1568 (package
1569 (name "perl-cgi-struct")
1570 (version "1.21")
1571 (source
1572 (origin
1573 (method url-fetch)
1574 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
1575 "CGI-Struct-" version ".tar.gz"))
1576 (sha256
1577 (base32
1578 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
1579 (build-system perl-build-system)
1580 (native-inputs
1581 `(("perl-test-deep" ,perl-test-deep)))
1582 (home-page "http://search.cpan.org/dist/CGI-Struct")
1583 (synopsis "Build structures from CGI data")
1584 (description "This is a module for building structured data from CGI
1585inputs, in a manner reminiscent of how PHP does.")
1586 (license l:bsd-2)))
1587
9151712c
EB
1588(define-public perl-datetime-format-http
1589 (package
1590 (name "perl-datetime-format-http")
1591 (version "0.42")
1592 (source
1593 (origin
1594 (method url-fetch)
1595 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
1596 "DateTime-Format-HTTP-" version ".tar.gz"))
1597 (sha256
1598 (base32
1599 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
1600 (build-system perl-build-system)
1601 (propagated-inputs
1602 `(("perl-datetime" ,perl-datetime)
1603 ("perl-http-date" ,perl-http-date)))
1604 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
1605 (synopsis "Date conversion routines")
1606 (description "This module provides functions that deal with the date
1607formats used by the HTTP protocol.")
1608 (license (package-license perl))))
1609
0a24e9b8
EB
1610(define-public perl-digest-md5-file
1611 (package
1612 (name "perl-digest-md5-file")
1613 (version "0.08")
1614 (source
1615 (origin
1616 (method url-fetch)
1617 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
1618 "Digest-MD5-File-" version ".tar.gz"))
1619 (sha256
1620 (base32
1621 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
1622 (build-system perl-build-system)
1623 (propagated-inputs
1624 `(("perl-libwww" ,perl-libwww)))
1625 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
1626 (synopsis "MD5 sums for files and urls")
1627 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
1628for files and urls.")
1629 (license (package-license perl))))
1630
8142aff3
EB
1631(define-public perl-encode-locale
1632 (package
1633 (name "perl-encode-locale")
1634 (version "1.03")
c9ea41ff
AE
1635 (source (origin
1636 (method url-fetch)
1637 (uri (string-append
8142aff3 1638 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
c9ea41ff
AE
1639 version ".tar.gz"))
1640 (sha256
1641 (base32
8142aff3 1642 "0m9d1vdphlyzybgmdanipwd9ndfvyjgk3hzw250r299jjgh3fqzp"))))
c9ea41ff
AE
1643 (build-system perl-build-system)
1644 (license (package-license perl))
8142aff3 1645 (synopsis "Perl locale encoding determination")
c9ea41ff 1646 (description
8142aff3 1647 "The POSIX locale system is used to specify both the language
7c125ce0
AK
1648conventions requested by the user and the preferred character set to
1649consume and output. The Encode::Locale module looks up the charset and
1650encoding (called a CODESET in the locale jargon) and arranges for the
1651Encode module to know this encoding under the name \"locale\". It means
1652bytes obtained from the environment can be converted to Unicode strings
1653by calling Encode::encode(locale => $bytes) and converted back again
1654with Encode::decode(locale => $string).")
8142aff3
EB
1655 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
1656
1657(define-public perl-file-listing
1658 (package
1659 (name "perl-file-listing")
1660 (version "6.04")
1661 (source (origin
1662 (method url-fetch)
1663 (uri (string-append
1664 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
1665 version ".tar.gz"))
1666 (sha256
1667 (base32
1668 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
1669 (build-system perl-build-system)
1670 (propagated-inputs
1671 `(("perl-http-date" ,perl-http-date)))
1672 (license (package-license perl))
1673 (synopsis "Perl directory listing parser")
1674 (description
1675 "The File::Listing module exports a single function called parse_dir(),
1676which can be used to parse directory listings.")
1677 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
c9ea41ff 1678
8b459932
EB
1679(define-public perl-finance-quote
1680 (package
1681 (name "perl-finance-quote")
1682 (version "1.37")
1683 (source
1684 (origin
1685 (method url-fetch)
1686 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
1687 "Finance-Quote-" version ".tar.gz"))
1688 (sha256
1689 (base32
1690 "1b6pbh7f76fb5sa4f0lhx085xy55pprz5v7z7li7pqiyw7i4f4bf"))
1691 (patches (list
1692 (search-patch "perl-finance-quote-unuse-mozilla-ca.patch")))))
1693 (build-system perl-build-system)
1694 (propagated-inputs
1695 `(("perl-datetime" ,perl-datetime)
1696 ("perl-html-parser" ,perl-html-parser)
1697 ("perl-html-tableextract" ,perl-html-tableextract)
1698 ("perl-html-tree" ,perl-html-tree)
1699 ("perl-http-cookies" ,perl-http-cookies)
1700 ("perl-http-message" ,perl-http-message)
1701 ("perl-json" ,perl-json)
1702 ("perl-libwww" ,perl-libwww)
1703 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
1704 ("perl-uri" ,perl-uri)))
1705 (home-page "http://search.cpan.org/dist/Finance-Quote")
1706 (synopsis "Stock and mutual fund quotes")
1707 (description
1708 "Finance::Quote gets stock quotes from various internet sources, including
1709Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
1710 (license l:gpl2)))
1711
9fe938c1
EB
1712(define-public perl-gssapi
1713 (package
1714 (name "perl-gssapi")
1715 (version "0.28")
1716 (source
1717 (origin
1718 (method url-fetch)
1719 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
1720 "GSSAPI-" version ".tar.gz"))
1721 (sha256
1722 (base32
1723 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
1724 (build-system perl-build-system)
1725 (inputs `(("gssapi" ,mit-krb5)))
1726 (arguments
1727 `(#:make-maker-flags
1728 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
1729 (home-page "http://search.cpan.org/dist/GSSAPI")
1730 (synopsis "Perl extension providing access to the GSSAPIv2 library")
1731 (description "This is a Perl extension for using GSSAPI C bindings as
1732described in RFC 2744.")
1733 (license (package-license perl))))
1734
c1b9e7e7
EB
1735(define-public perl-html-element-extended
1736 (package
1737 (name "perl-html-element-extended")
1738 (version "1.18")
1739 (source
1740 (origin
1741 (method url-fetch)
1742 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
1743 "HTML-Element-Extended-" version ".tar.gz"))
1744 (sha256
1745 (base32
1746 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
1747 (build-system perl-build-system)
1748 (propagated-inputs
1749 `(("perl-html-tree" ,perl-html-tree)))
1750 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
1751 (synopsis "Manipulate tables of HTML::Element")
1752 (description
1753 "HTML::Element::Extended is a Perl extension for manipulating a table
1754composed of HTML::Element style components.")
1755 (license (package-license perl))))
1756
bab57fcd
EB
1757(define-public perl-html-form
1758 (package
1759 (name "perl-html-form")
1760 (version "6.03")
1761 (source
1762 (origin
1763 (method url-fetch)
1764 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
1765 "HTML-Form-" version ".tar.gz"))
1766 (sha256
1767 (base32
1768 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
1769 (build-system perl-build-system)
1770 (propagated-inputs
1771 `(("perl-html-parser" ,perl-html-parser)
1772 ("perl-html-tagset" ,perl-html-tagset)
1773 ("perl-http-message" ,perl-http-message)
1774 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
1775 ("perl-uri" ,perl-uri)))
1776 (home-page "http://search.cpan.org/dist/HTML-Form")
1777 (synopsis "Perl class representing an HTML form element")
1778 (description "Objects of the HTML::Form class represents a single HTML
1779<form> ... </form> instance.")
1780 (license (package-license perl))))
1781
0cd2ab30
EB
1782(define-public perl-html-lint
1783 (package
1784 (name "perl-html-lint")
1785 (version "2.20")
1786 (source
1787 (origin
1788 (method url-fetch)
1789 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
1790 "HTML-Lint-" version ".tar.gz"))
1791 (sha256
1792 (base32
1793 "15vrqjnlb0f8rib1kqdf4islqy6i33h08wy7b1bkgd550p7lfjwk"))))
1794 (build-system perl-build-system)
1795 (propagated-inputs
1796 `(("perl-html-parser" ,perl-html-parser)
1797 ("perl-html-tagset" ,perl-html-tagset)
1798 ("perl-libwww" ,perl-libwww)))
1799 (home-page "http://search.cpan.org/dist/HTML-Lint")
1800 (synopsis "Check for HTML errors in a string or file")
1801 (description "HTML::Lint is a pure-Perl HTML parser and checker for
1802syntactic legitmacy.")
1803 (license l:artistic2.0)))
1804
9cf6c9fc
EB
1805(define-public perl-html-tableextract
1806 (package
1807 (name "perl-html-tableextract")
1808 (version "2.13")
1809 (source
1810 (origin
1811 (method url-fetch)
1812 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
1813 "HTML-TableExtract-" version ".tar.gz"))
1814 (sha256
1815 (base32
1816 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
1817 (build-system perl-build-system)
1818 (propagated-inputs
1819 `(("perl-html-element-extended" ,perl-html-element-extended)
1820 ("perl-html-parser" ,perl-html-parser)))
1821 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
1822 (synopsis "Extract contents from HTML tables")
1823 (description
1824 "HTML::TableExtract is a Perl module for extracting the content contained
1825in tables within an HTML document, either as text or encoded element trees.")
1826 (license (package-license perl))))
1827
ddc36cd8
EB
1828(define-public perl-html-tree
1829 (package
1830 (name "perl-html-tree")
1831 (version "5.03")
1832 (source
1833 (origin
1834 (method url-fetch)
1835 (uri (string-append "mirror://cpan/authors/id/C/CJ/CJM/"
1836 "HTML-Tree-" version ".tar.gz"))
1837 (sha256
1838 (base32
1839 "13qlqbpixw470gnck0xgny8hyjj576m8y24bba2p9ai2lvy76vbx"))))
1840 (build-system perl-build-system)
1841 (native-inputs
1842 `(("perl-test-fatal" ,perl-test-fatal)))
1843 (propagated-inputs
1844 `(("perl-html-parser" ,perl-html-parser)
1845 ("perl-html-tagset" ,perl-html-tagset)
1846 ("perl-libwww" ,perl-libwww)))
1847 (home-page "http://search.cpan.org/dist/HTML-Tree")
1848 (synopsis "Work with HTML in a DOM-like tree structure")
1849 (description "This distribution contains a suite of modules for
1850representing, creating, and extracting information from HTML syntax trees.")
1851 (license (package-license perl))))
1852
8ec0d3fb
AE
1853(define-public perl-html-parser
1854 (package
1855 (name "perl-html-parser")
1856 (version "3.71")
1857 (source (origin
1858 (method url-fetch)
1859 (uri (string-append
1860 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
1861 version ".tar.gz"))
1862 (sha256
1863 (base32
1864 "00nqzdgl7c3jilx7mil19k5jwcw3as14pvkjgxi97zyk94vqp4dy"))))
1865 (build-system perl-build-system)
1866 (inputs
1867 `(("perl-html-tagset" ,perl-html-tagset)))
1868 (license (package-license perl))
1869 (synopsis "Perl HTML parser class")
1870 (description
1871 "Objects of the HTML::Parser class will recognize markup and separate
1872it from plain text (alias data content) in HTML documents. As different
1873kinds of markup and text are recognized, the corresponding event handlers
1874are invoked.")
1875 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
ae2aa18d 1876
8142aff3 1877(define-public perl-html-tagset
ae2aa18d 1878 (package
8142aff3
EB
1879 (name "perl-html-tagset")
1880 (version "3.20")
ae2aa18d
AE
1881 (source (origin
1882 (method url-fetch)
1883 (uri (string-append
8142aff3 1884 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
ae2aa18d
AE
1885 version ".tar.gz"))
1886 (sha256
1887 (base32
8142aff3 1888 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
ae2aa18d
AE
1889 (build-system perl-build-system)
1890 (license (package-license perl))
8142aff3 1891 (synopsis "Perl data tables useful in parsing HTML")
ae2aa18d 1892 (description
8142aff3
EB
1893 "The HTML::Tagset module contains several data tables useful in various
1894kinds of HTML parsing operations.")
1895 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
fea5ebb1 1896
5ec8ec83
EB
1897(define-public perl-http-body
1898 (package
1899 (name "perl-http-body")
1900 (version "1.19")
1901 (source
1902 (origin
1903 (method url-fetch)
1904 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
1905 "HTTP-Body-" version ".tar.gz"))
1906 (sha256
1907 (base32
1908 "0ahhksj0zg6wq6glpjkxdr3byd5riwvq2f5aw21n1jcsl71nll01"))))
1909 (build-system perl-build-system)
1910 (native-inputs
1911 `(("perl-test-deep" ,perl-test-deep)))
1912 (propagated-inputs
1913 `(("perl-file-temp" ,perl-file-temp)
1914 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
1915 (home-page "http://search.cpan.org/dist/HTTP-Body")
1916 (synopsis "HTTP Body Parser")
1917 (description "HTTP::Body parses chunks of HTTP POST data and supports
1918application/octet-stream, application/json, application/x-www-form-urlencoded,
1919and multipart/form-data.")
1920 (license (package-license perl))))
1921
c8a316a3
EB
1922(define-public perl-http-cookiejar
1923 (package
1924 (name "perl-http-cookiejar")
1925 (version "0.006")
1926 (source
1927 (origin
1928 (method url-fetch)
1929 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
1930 "HTTP-CookieJar-" version ".tar.gz"))
1931 (sha256
1932 (base32
1933 "0c7l29ak6ba2j006ca00vnkxpyc1fvpikydjvsb24s50zf1mv7b2"))))
1934 (build-system perl-build-system)
1935 (native-inputs
1936 `(("perl-test-deep" ,perl-test-deep)
1937 ("perl-test-requires" ,perl-test-requires)
1938 ("perl-time-mock" ,perl-time-mock)))
1939 (inputs
1940 `(("perl-time-local" ,perl-time-local)
1941 ("perl-http-date" ,perl-http-date)))
1942 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
1943 (synopsis "Minimalist HTTP user agent cookie jar")
1944 (description "This module implements a minimalist HTTP user agent cookie
1945jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
1946 (license l:asl2.0)))
1947
8142aff3 1948(define-public perl-http-cookies
fea5ebb1 1949 (package
8142aff3
EB
1950 (name "perl-http-cookies")
1951 (version "6.01")
fea5ebb1
AE
1952 (source (origin
1953 (method url-fetch)
1954 (uri (string-append
8142aff3 1955 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-"
fea5ebb1
AE
1956 version ".tar.gz"))
1957 (sha256
1958 (base32
8142aff3 1959 "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm"))))
fea5ebb1 1960 (build-system perl-build-system)
8142aff3
EB
1961 (propagated-inputs
1962 `(("perl-http-message" ,perl-http-message)))
fea5ebb1 1963 (license (package-license perl))
8142aff3 1964 (synopsis "Perl HTTP cookie jars")
fea5ebb1 1965 (description
8142aff3
EB
1966 "The HTTP::Cookies class is for objects that represent a cookie jar,
1967that is, a database of all the HTTP cookies that a given LWP::UserAgent
1968object knows about.")
1969 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
24b3c053 1970
8142aff3 1971(define-public perl-http-daemon
24b3c053 1972 (package
8142aff3
EB
1973 (name "perl-http-daemon")
1974 (version "6.01")
24b3c053
AE
1975 (source (origin
1976 (method url-fetch)
1977 (uri (string-append
8142aff3 1978 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
24b3c053
AE
1979 version ".tar.gz"))
1980 (sha256
1981 (base32
8142aff3 1982 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
24b3c053 1983 (build-system perl-build-system)
8142aff3
EB
1984 (propagated-inputs
1985 `(("perl-http-message" ,perl-http-message)
1986 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
24b3c053 1987 (license (package-license perl))
8142aff3 1988 (synopsis "Perl simple http server class")
24b3c053 1989 (description
8142aff3
EB
1990 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
1991on a socket for incoming requests. The HTTP::Daemon is a subclass of
1992IO::Socket::INET, so you can perform socket operations directly on it too.")
1993 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
e426106b 1994
8142aff3 1995(define-public perl-http-date
e426106b 1996 (package
8142aff3
EB
1997 (name "perl-http-date")
1998 (version "6.02")
e426106b
AE
1999 (source (origin
2000 (method url-fetch)
2001 (uri (string-append
8142aff3 2002 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
e426106b
AE
2003 version ".tar.gz"))
2004 (sha256
2005 (base32
8142aff3 2006 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
e426106b
AE
2007 (build-system perl-build-system)
2008 (license (package-license perl))
8142aff3 2009 (synopsis "Perl date conversion routines")
e426106b 2010 (description
8142aff3
EB
2011 "The HTTP::Date module provides functions that deal with date formats
2012used by the HTTP protocol (and then some more).")
2013 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
91318a9e
AE
2014
2015(define-public perl-http-message
2016 (package
2017 (name "perl-http-message")
2018 (version "6.06")
2019 (source (origin
2020 (method url-fetch)
2021 (uri (string-append
2022 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Message-"
2023 version ".tar.gz"))
2024 (sha256
2025 (base32
2026 "0qxdrcak97azjvqyx1anpb2ky6vp6vc37x0wcfjdqfajkh09fzh8"))))
2027 (build-system perl-build-system)
daee66fc 2028 (propagated-inputs
91318a9e 2029 `(("perl-http-date" ,perl-http-date)
d8450272
EB
2030 ("perl-io-html" ,perl-io-html)
2031 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
f852114e 2032 ("perl-uri" ,perl-uri)))
91318a9e
AE
2033 (license (package-license perl))
2034 (synopsis "Perl HTTP style message")
2035 (description
2036 "An HTTP::Message object contains some headers and a content body.")
2037 (home-page "http://search.cpan.org/~gaas/HTTP-Message/")))
b3d18aff 2038
8142aff3 2039(define-public perl-http-negotiate
b3d18aff 2040 (package
8142aff3 2041 (name "perl-http-negotiate")
b3d18aff
AE
2042 (version "6.01")
2043 (source (origin
2044 (method url-fetch)
2045 (uri (string-append
8142aff3 2046 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
b3d18aff
AE
2047 version ".tar.gz"))
2048 (sha256
2049 (base32
8142aff3 2050 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
b3d18aff 2051 (build-system perl-build-system)
800de8da 2052 (propagated-inputs
f852114e 2053 `(("perl-http-message" ,perl-http-message)))
b3d18aff 2054 (license (package-license perl))
8142aff3 2055 (synopsis "Perl http content negotiation")
b3d18aff 2056 (description
8142aff3
EB
2057 "The HTTP::Negotiate module provides a complete implementation of the
2058HTTP content negotiation algorithm specified in
2059draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2060the selection of a preferred content representation based upon attributes
2061of the negotiable variants and the value of the various Accept* header
2062fields in the request.")
2063 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
3f41e6b3 2064
d3182b42
EB
2065(define-public perl-http-parser
2066 (package
2067 (name "perl-http-parser")
2068 (version "0.06")
2069 (source
2070 (origin
2071 (method url-fetch)
2072 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2073 "HTTP-Parser-" version ".tar.gz"))
2074 (sha256
2075 (base32
2076 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2077 (build-system perl-build-system)
2078 (propagated-inputs
2079 `(("perl-http-message" ,perl-http-message)
2080 ("perl-uri" ,perl-uri)))
2081 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2082 (synopsis "Parse HTTP/1.1 requests")
2083 (description "This is an HTTP request parser. It takes chunks of text as
2084received and returns a 'hint' as to what is required, or returns the
2085HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2086supported.")
2087 (license (package-license perl))))
2088
8ab39c2d
EB
2089(define-public perl-http-parser-xs
2090 (package
2091 (name "perl-http-parser-xs")
2092 (version "0.17")
2093 (source
2094 (origin
2095 (method url-fetch)
2096 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2097 "HTTP-Parser-XS-" version ".tar.gz"))
2098 (sha256
2099 (base32
2100 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2101 (build-system perl-build-system)
2102 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2103 (synopsis "Fast HTTP request parser")
2104 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2105parser.")
2106 (license (package-license perl))))
2107
724d2227
EB
2108(define-public perl-http-request-ascgi
2109 (package
2110 (name "perl-http-request-ascgi")
2111 (version "1.2")
2112 (source
2113 (origin
2114 (method url-fetch)
2115 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2116 "HTTP-Request-AsCGI-" version ".tar.gz"))
2117 (sha256
2118 (base32
2119 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2120 (build-system perl-build-system)
2121 (propagated-inputs
2122 `(("perl-class-accessor" ,perl-class-accessor)
2123 ("perl-http-message" ,perl-http-message)))
2124 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2125 (synopsis "Set up a CGI environment from an HTTP::Request")
2126 (description "This module provides a convenient way to set up a CGI
2127environment from an HTTP::Request.")
2128 (license (package-license perl))))
2129
c94c7eef
EB
2130(define-public perl-http-server-simple
2131 (package
2132 (name "perl-http-server-simple")
2133 (version "0.44")
2134 (source
2135 (origin
2136 (method url-fetch)
2137 (uri (string-append "mirror://cpan/authors/id/J/JE/JESSE/"
2138 "HTTP-Server-Simple-" version ".tar.gz"))
2139 (sha256
2140 (base32
2141 "05klpfkss2a6i5ihmvcm27fyar0f2v4ispg2f49agab3va1gix6g"))))
2142 (build-system perl-build-system)
2143 (arguments
2144 ;; See the discussion of a related tests issue at
2145 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2146 `(#:tests? #f))
2147 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2148 (synopsis "Lightweight HTTP server")
2149 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2150no non-core module dependencies. It can be used for building a standalone
2151http-based UI to your existing tools.")
2152 (license (package-license perl))))
2153
c3c03beb
EB
2154(define-public perl-http-tiny
2155 (package
2156 (name "perl-http-tiny")
2157 (version "0.053")
2158 (source
2159 (origin
2160 (method url-fetch)
2161 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2162 "HTTP-Tiny-" version ".tar.gz"))
2163 (sha256
2164 (base32
2165 "1bwy31xrcz5zfx1n3vc50vj1aqvzn5ccr7lgacl8wmi03a6w2af2"))))
2166 (build-system perl-build-system)
2167 (inputs
2168 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2169 ("perl-io-socket-ip" ,perl-io-socket-ip)
2170 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2171 ("perl-net-ssleay" ,perl-net-ssleay)))
2172 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2173 (synopsis "HTTP/1.1 client")
2174 (description "This is a very simple HTTP/1.1 client, designed for doing
2175simple requests without the overhead of a large framework like LWP::UserAgent.
2176It supports proxies and redirection. It also correctly resumes after EINTR.")
2177 (license (package-license perl))))
2178
8142aff3 2179(define-public perl-io-html
3f41e6b3 2180 (package
8142aff3
EB
2181 (name "perl-io-html")
2182 (version "1.00")
3f41e6b3
AE
2183 (source (origin
2184 (method url-fetch)
2185 (uri (string-append
8142aff3 2186 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3f41e6b3
AE
2187 version ".tar.gz"))
2188 (sha256
2189 (base32
8142aff3 2190 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3f41e6b3 2191 (build-system perl-build-system)
3f41e6b3 2192 (license (package-license perl))
8142aff3 2193 (synopsis "Perl module to open an HTML file with automatic charset detection")
3f41e6b3 2194 (description
8142aff3
EB
2195 "IO::HTML provides an easy way to open a file containing HTML while
2196automatically determining its encoding. It uses the HTML5 encoding sniffing
2197algorithm specified in section 8.2.2.1 of the draft standard.")
2198 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
e7444ee2 2199
2b63ebc1
EB
2200(define-public perl-io-socket-ip
2201 (package
2202 (name "perl-io-socket-ip")
2203 (version "0.36")
2204 (source
2205 (origin
2206 (method url-fetch)
2207 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2208 "IO-Socket-IP-" version ".tar.gz"))
2209 (sha256
2210 (base32
2211 "0ky20hmln6waipzqikizyw04vpszf70fgpshz7ib8zv8480ri456"))))
2212 (build-system perl-build-system)
2213 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2214 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2215 (description "This module provides a protocol-independent way to use IPv4
2216and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2217 (license (package-license perl))))
2218
8142aff3 2219(define-public perl-io-socket-ssl
e7444ee2 2220 (package
8142aff3
EB
2221 (name "perl-io-socket-ssl")
2222 (version "2.002")
2223 (source (origin
2224 (method url-fetch)
2225 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2226 "IO-Socket-SSL-" version ".tar.gz"))
2227 (sha256
2228 (base32
2229 "1mph52lw6x5v44wf8mw00llzi8pp6k5c4jnrnrvlacrlfv260jb8"))))
2230 (build-system perl-build-system)
2231 (propagated-inputs `(("perl-net-ssleay" ,perl-net-ssleay)))
2232 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2233 (description
2234 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2235necessary functionality into the familiar IO::Socket interface and providing
2236secure defaults whenever possible. This way existing applications can be made
2237SSL-aware without much effort, at least if you do blocking I/O and don't use
2238select or poll.")
2239 (license (package-license perl))
2240 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2241
2242(define-public perl-libwww
2243 (package
2244 (name "perl-libwww")
bec820d9 2245 (version "6.13")
e7444ee2
AE
2246 (source (origin
2247 (method url-fetch)
2248 (uri (string-append
bec820d9 2249 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
e7444ee2
AE
2250 version ".tar.gz"))
2251 (sha256
2252 (base32
bec820d9 2253 "1cpqjl59viw50bnbdyn8xzrwzg7g54b2rszw0fifacqrppp17gaz"))))
e7444ee2 2254 (build-system perl-build-system)
d0bb5f77 2255 (propagated-inputs
8142aff3
EB
2256 `(("perl-encode-locale" ,perl-encode-locale)
2257 ("perl-file-listing" ,perl-file-listing)
2258 ("perl-html-parser" ,perl-html-parser)
2259 ("perl-http-cookies" ,perl-http-cookies)
2260 ("perl-http-daemon" ,perl-http-daemon)
2261 ("perl-http-negotiate" ,perl-http-negotiate)
2262 ("perl-net-http" ,perl-net-http)
2263 ("perl-www-robotrules" ,perl-www-robotrules)))
e7444ee2 2264 (license (package-license perl))
8142aff3 2265 (synopsis "Perl modules for the WWW")
e7444ee2 2266 (description
8142aff3
EB
2267 "The libwww-perl collection is a set of Perl modules which provides a
2268simple and consistent application programming interface to the
2269World-Wide Web. The main focus of the library is to provide classes
2270and functions that allow you to write WWW clients. The library also
2271contains modules that are of more general use and even classes that
2272help you implement simple HTTP servers.")
bec820d9 2273 (home-page "http://search.cpan.org/dist/libwww-perl/")))
a3eb919f 2274
8142aff3 2275(define-public perl-lwp-mediatypes
a3eb919f 2276 (package
8142aff3 2277 (name "perl-lwp-mediatypes")
a3eb919f
AE
2278 (version "6.02")
2279 (source (origin
2280 (method url-fetch)
2281 (uri (string-append
8142aff3 2282 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
a3eb919f
AE
2283 version ".tar.gz"))
2284 (sha256
2285 (base32
8142aff3 2286 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
a3eb919f 2287 (build-system perl-build-system)
a3eb919f 2288 (license (package-license perl))
8142aff3 2289 (synopsis "Perl module to guess the media type for a file or a URL")
a3eb919f 2290 (description
8142aff3
EB
2291 "The LWP::MediaTypes module provides functions for handling media (also
2292known as MIME) types and encodings. The mapping from file extensions to
2293media types is defined by the media.types file. If the ~/.media.types file
2294exists it is used instead.")
2295 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
677078b4 2296
bdcfd18e
EB
2297(define-public perl-lwp-protocol-https
2298 (package
2299 (name "perl-lwp-protocol-https")
2300 (version "6.06")
2301 (source
2302 (origin
2303 (method url-fetch)
2304 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
2305 "LWP-Protocol-https-" version ".tar.gz"))
2306 (sha256
2307 (base32
2308 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
2309 (build-system perl-build-system)
2310 (propagated-inputs
2311 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2312 ("perl-libwww" ,perl-libwww)
2313 ;; Users should instead make sure SSL_ca_path is set properly.
2314 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
2315 ("perl-net-http" ,perl-net-http)))
2316 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
2317 (synopsis "HTTPS support for LWP::UserAgent")
2318 (description "The LWP::Protocol::https module provides support for using
2319https schemed URLs with LWP.")
2320 (license (package-license perl))))
2321
6a58b092
EB
2322(define-public perl-lwp-useragent-determined
2323 (package
2324 (name "perl-lwp-useragent-determined")
2325 (version "1.07")
2326 (source
2327 (origin
2328 (method url-fetch)
2329 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
2330 "LWP-UserAgent-Determined-" version ".tar.gz"))
2331 (sha256
2332 (base32
2333 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
2334 (build-system perl-build-system)
2335 (propagated-inputs
2336 `(("perl-libwww" ,perl-libwww)))
2337 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
2338 (synopsis "Virtual browser that retries errors")
2339 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
2340except that when you use it to get a web page but run into a
2341possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
2342and retry a few times.")
2343 (license (package-license perl))))
2344
38e62c81
EB
2345(define-public perl-net-amazon-s3
2346 (package
2347 (name "perl-net-amazon-s3")
2348 (version "0.60")
2349 (source
2350 (origin
2351 (method url-fetch)
2352 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
2353 "Net-Amazon-S3-" version ".tar.gz"))
2354 (sha256
2355 (base32
2356 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
2357 (patches (list
2358 (search-patch "perl-net-amazon-s3-moose-warning.patch")))))
2359 (build-system perl-build-system)
2360 (native-inputs
2361 `(("perl-libwww" ,perl-libwww)
2362 ("perl-test-exception" ,perl-test-exception)))
2363 (propagated-inputs
2364 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
2365 ("perl-datetime-format-http" ,perl-datetime-format-http)
2366 ("perl-digest-hmac" ,perl-digest-hmac)
2367 ("perl-digest-md5-file" ,perl-digest-md5-file)
2368 ("perl-file-find-rule" ,perl-file-find-rule)
2369 ("perl-http-date" ,perl-http-date)
2370 ("perl-http-message" ,perl-http-message)
2371 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
2372 ("perl-mime-types" ,perl-mime-types)
2373 ("perl-moose" ,perl-moose)
2374 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
2375 ("perl-moosex-types-datetime-morecoercions"
2376 ,perl-moosex-types-datetime-morecoercions)
2377 ("perl-path-class" ,perl-path-class)
2378 ("perl-regexp-common" ,perl-regexp-common)
2379 ("perl-term-encoding" ,perl-term-encoding)
2380 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
2381 ("perl-uri" ,perl-uri)
2382 ("perl-xml-libxml" ,perl-xml-libxml)))
2383 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
2384 (synopsis "Perl interface to Amazon S3")
2385 (description "This module provides a Perlish interface to Amazon S3.")
2386 (license (package-license perl))))
2387
677078b4
AE
2388(define-public perl-net-http
2389 (package
2390 (name "perl-net-http")
0eb3b5bd 2391 (version "6.07")
677078b4
AE
2392 (source (origin
2393 (method url-fetch)
2394 (uri (string-append
0eb3b5bd 2395 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
677078b4
AE
2396 version ".tar.gz"))
2397 (sha256
2398 (base32
0eb3b5bd 2399 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
677078b4 2400 (build-system perl-build-system)
0eb3b5bd
EB
2401 (propagated-inputs
2402 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2403 ("perl-uri" ,perl-uri)))
677078b4
AE
2404 (license (package-license perl))
2405 (synopsis "Perl low-level HTTP connection (client)")
2406 (description
2407 "The Net::HTTP class is a low-level HTTP client. An instance of the
2408Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
2409is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
2410HTTP/1.1.")
0eb3b5bd 2411 (home-page "http://search.cpan.org/dist/Net-HTTP")))
56aa03b0 2412
be22d5fc
EB
2413(define-public perl-net-server
2414 (package
2415 (name "perl-net-server")
2416 (version "2.008")
2417 (source
2418 (origin
2419 (method url-fetch)
2420 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
2421 "Net-Server-" version ".tar.gz"))
2422 (sha256
2423 (base32
2424 "182gfikn7r40kmm3d35m2qc6r8g0y1j8gxbn9ffaawf8xmm0a889"))))
2425 (build-system perl-build-system)
2426 (home-page "http://search.cpan.org/dist/Net-Server")
2427 (synopsis "Extensible Perl server engine")
2428 (description "Net::Server is an extensible, generic Perl server engine.
2429It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
2430It includes with it the ability to run as an inetd
2431process (Net::Server::INET), a single connection server (Net::Server or
2432Net::Server::Single), a forking server (Net::Server::Fork), a preforking
2433server which maintains a constant number of preforked
2434children (Net::Server::PreForkSimple), or as a managed preforking server which
2435maintains the number of children based on server load (Net::Server::PreFork).
2436In all but the inetd type, the server provides the ability to connect to one
2437or to multiple server ports.")
2438 (license (package-license perl))))
2439
b1096f3d
EB
2440(define-public perl-net-smtp-ssl
2441 (package
2442 (name "perl-net-smtp-ssl")
2443 (version "1.03")
2444 (source
2445 (origin
2446 (method url-fetch)
2447 (uri (string-append "https://cpan.metacpan.org/authors/id/R/RJ/RJBS/"
2448 "Net-SMTP-SSL-" version ".tar.gz"))
2449 (sha256
2450 (base32
2451 "05y94mb1vdw32mvwb0cp2h4ggh32f8j8nwwfjb8kjwxvfkfhyp9h"))))
2452 (build-system perl-build-system)
2453 (propagated-inputs
2454 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
2455 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
2456 (synopsis "SSL support for Net::SMTP")
e881752c 2457 (description "SSL support for Net::SMTP.")
b1096f3d
EB
2458 (license (package-license perl))))
2459
5933549d
EB
2460(define-public perl-plack
2461 (package
2462 (name "perl-plack")
2463 (version "1.0033")
2464 (source
2465 (origin
2466 (method url-fetch)
2467 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2468 "Plack-" version ".tar.gz"))
2469 (sha256
2470 (base32
2471 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
2472 (build-system perl-build-system)
2473 (native-inputs
2474 `(("perl-test-requires" ,perl-test-requires)
2475 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
2476 (propagated-inputs
2477 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
2478 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2479 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
2480 ("perl-file-sharedir" ,perl-file-sharedir)
2481 ("perl-hash-multivalue" ,perl-hash-multivalue)
2482 ("perl-http-body" ,perl-http-body)
2483 ("perl-http-message" ,perl-http-message)
2484 ("perl-http-tiny" ,perl-http-tiny)
2485 ("perl-libwww" ,perl-libwww)
2486 ("perl-stream-buffered" ,perl-stream-buffered)
2487 ("perl-test-tcp" ,perl-test-tcp)
2488 ("perl-try-tiny" ,perl-try-tiny)
2489 ("perl-uri" ,perl-uri)))
2490 (home-page "http://search.cpan.org/dist/Plack")
2491 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
2492 (description "Plack is a set of tools for using the PSGI stack. It
2493contains middleware components, a reference server, and utilities for Web
2494application frameworks. Plack is like Ruby's Rack or Python's Paste for
2495WSGI.")
2496 (license (package-license perl))))
2497
acd1f73a
EB
2498(define-public perl-plack-middleware-fixmissingbodyinredirect
2499 (package
2500 (name "perl-plack-middleware-fixmissingbodyinredirect")
2501 (version "0.12")
2502 (source
2503 (origin
2504 (method url-fetch)
2505 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2506 "Plack-Middleware-FixMissingBodyInRedirect-"
2507 version ".tar.gz"))
2508 (sha256
2509 (base32
2510 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
2511 (build-system perl-build-system)
2512 (native-inputs
2513 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
2514 ("perl-http-message" ,perl-http-message)
2515 ("perl-plack" ,perl-plack))) ;for Plack::Test
2516 (home-page
2517 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
2518 (synopsis "Plack::Middleware which sets body for redirect response")
2519 (description "This module sets the body in redirect response, if it's not
2520already set.")
2521 (license (package-license perl))))
2522
03d874d0
EB
2523(define-public perl-plack-middleware-methodoverride
2524 (package
2525 (name "perl-plack-middleware-methodoverride")
2526 (version "0.11")
2527 (source
2528 (origin
2529 (method url-fetch)
2530 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
2531 "Plack-Middleware-MethodOverride-"
2532 version ".tar.gz"))
2533 (sha256
2534 (base32
2535 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
2536 (build-system perl-build-system)
2537 (propagated-inputs
2538 `(("perl-plack" ,perl-plack)))
2539 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
2540 (synopsis "Override REST methods to Plack apps via POST")
2541 (description "This middleware allows for POST requests that pretend to be
2542something else: by adding either a header named X-HTTP-Method-Override to the
2543request, or a query parameter named x-tunneled-method to the URI, the client
2544can say what method it actually meant.")
2545 (license (package-license perl))))
2546
13e330be
EB
2547(define-public perl-plack-middleware-removeredundantbody
2548 (package
2549 (name "perl-plack-middleware-removeredundantbody")
2550 (version "0.05")
2551 (source
2552 (origin
2553 (method url-fetch)
2554 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2555 "Plack-Middleware-RemoveRedundantBody-"
2556 version ".tar.gz"))
2557 (sha256
2558 (base32
2559 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
2560 (build-system perl-build-system)
2561 (propagated-inputs
2562 `(("perl-plack" ,perl-plack)))
2563 (home-page
2564 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
2565 (synopsis "Plack::Middleware which removes body for HTTP response")
2566 (description "This module removes the body in an HTTP response if it's not
2567required.")
2568 (license (package-license perl))))
2569
ca157ba9
EB
2570(define-public perl-plack-middleware-reverseproxy
2571 (package
2572 (name "perl-plack-middleware-reverseproxy")
2573 (version "0.15")
2574 (source
2575 (origin
2576 (method url-fetch)
2577 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2578 "Plack-Middleware-ReverseProxy-"
2579 version ".tar.gz"))
2580 (sha256
2581 (base32
2582 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
2583 (build-system perl-build-system)
2584 (propagated-inputs
2585 `(("perl-plack" ,perl-plack)))
2586 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
2587 (synopsis "Supports app to run as a reverse proxy backend")
2588 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
2589which are changed by reverse-proxy. You can specify the reverse proxy address
2590and stop fake requests using 'enable_if' directive in your app.psgi.")
2591 (license (package-license perl))))
2592
64b16bf7
EB
2593(define-public perl-plack-test-externalserver
2594 (package
2595 (name "perl-plack-test-externalserver")
2596 (version "0.01")
2597 (source
2598 (origin
2599 (method url-fetch)
2600 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2601 "Plack-Test-ExternalServer-" version ".tar.gz"))
2602 (sha256
2603 (base32
2604 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
2605 (build-system perl-build-system)
2606 (propagated-inputs
2607 `(("perl-plack" ,perl-plack)))
2608 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
2609 (synopsis "Run HTTP tests on external live servers")
2610 (description "This module allows your to run your Plack::Test tests
2611against an external server instead of just against a local application through
2612either mocked HTTP or a locally spawned server.")
2613 (license (package-license perl))))
2614
bb8bfe5e
EB
2615(define-public perl-test-tcp
2616 (package
2617 (name "perl-test-tcp")
2618 (version "2.06")
2619 (source
2620 (origin
2621 (method url-fetch)
2622 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
2623 "Test-TCP-" version ".tar.gz"))
2624 (sha256
2625 (base32
2626 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
2627 (build-system perl-build-system)
2628 (propagated-inputs
2629 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
2630 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
2631 (home-page "http://search.cpan.org/dist/Test-TCP")
2632 (synopsis "Testing TCP programs")
2633 (description "Test::TCP is test utilities for TCP/IP programs.")
2634 (license (package-license perl))))
2635
0d991d2c
EB
2636(define-public perl-test-www-mechanize
2637 (package
2638 (name "perl-test-www-mechanize")
2639 (version "1.44")
2640 (source
2641 (origin
2642 (method url-fetch)
2643 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2644 "Test-WWW-Mechanize-" version ".tar.gz"))
2645 (sha256
2646 (base32
2647 "062pj242vsc73bw11jqpap92ax9wzc9f2m4xhyp1wzrwkfchpl2q"))))
2648 (build-system perl-build-system)
2649 (native-inputs
2650 `(("perl-test-exception" ,perl-test-exception)))
2651 (propagated-inputs
2652 `(("perl-carp-assert-more" ,perl-carp-assert-more)
2653 ("perl-html-form" ,perl-html-form)
2654 ("perl-html-lint" ,perl-html-lint)
2655 ("perl-html-tree" ,perl-html-tree)
2656 ("perl-http-server-simple" ,perl-http-server-simple)
2657 ("perl-libwww" ,perl-libwww)
2658 ("perl-test-longstring" ,perl-test-longstring)
2659 ("perl-www-mechanize" ,perl-www-mechanize)))
2660 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
2661 (synopsis "Testing-specific WWW::Mechanize subclass")
2662 (description "Test::WWW::Mechanize is a subclass of the Perl module
2663WWW::Mechanize that incorporates features for web application testing.")
2664 (license l:artistic2.0)))
2665
13b2552c
EB
2666(define-public perl-test-www-mechanize-catalyst
2667 (package
2668 (name "perl-test-www-mechanize-catalyst")
2669 (version "0.60")
2670 (source
2671 (origin
2672 (method url-fetch)
2673 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2674 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
2675 (sha256
2676 (base32
2677 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
2678 (build-system perl-build-system)
2679 (native-inputs
2680 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2681 ("perl-catalyst-plugin-session-state-cookie"
2682 ,perl-catalyst-plugin-session-state-cookie)
2683 ("perl-test-exception" ,perl-test-exception)
2684 ("perl-test-pod" ,perl-test-pod)
2685 ("perl-test-utf8" ,perl-test-utf8)))
2686 (propagated-inputs
2687 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2688 ("perl-class-load" ,perl-class-load)
2689 ("perl-libwww" ,perl-libwww)
2690 ("perl-moose" ,perl-moose)
2691 ("perl-namespace-clean" ,perl-namespace-clean)
2692 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
2693 ("perl-www-mechanize" ,perl-www-mechanize)))
2694 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
2695 (synopsis "Test::WWW::Mechanize for Catalyst")
2696 (description "The Test::WWW::Mechanize::Catalyst module meshes the
2697Test::WWW:Mechanize module and the Catalyst web application framework to allow
2698testing of Catalyst applications without needing to start up a web server.")
2699 (license (package-license perl))))
2700
715a0c51
EB
2701(define-public perl-test-www-mechanize-psgi
2702 (package
2703 (name "perl-test-www-mechanize-psgi")
2704 (version "0.35")
2705 (source
2706 (origin
2707 (method url-fetch)
2708 (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
2709 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
2710 (sha256
2711 (base32
2712 "1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
2713 (build-system perl-build-system)
2714 (native-inputs
2715 `(("perl-test-pod" ,perl-test-pod)))
2716 (propagated-inputs
2717 `(("perl-plack" ,perl-plack)
2718 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
2719 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
2720 (synopsis "Test PSGI programs using WWW::Mechanize")
2721 (description "PSGI is a specification to decouple web server environments
2722from web application framework code. Test::WWW::Mechanize is a subclass of
2723WWW::Mechanize that incorporates features for web application testing. The
2724Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
2725applications.")
2726 (license (package-license perl))))
2727
8142aff3 2728(define-public perl-uri
374a9a85 2729 (package
8142aff3 2730 (name "perl-uri")
9acf97f2 2731 (version "1.67")
374a9a85
AE
2732 (source (origin
2733 (method url-fetch)
9acf97f2
EB
2734 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2735 "URI-" version ".tar.gz"))
374a9a85
AE
2736 (sha256
2737 (base32
9acf97f2 2738 "0ki7i830gs0cwwwjsyv3s6yy1l76ym8pfqp0lp7vw0j9bwyx923h"))))
374a9a85 2739 (build-system perl-build-system)
374a9a85 2740 (license (package-license perl))
8142aff3 2741 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
374a9a85 2742 (description
8142aff3
EB
2743 "The URI module implements the URI class. Objects of this class
2744represent \"Uniform Resource Identifier references\" as specified in RFC 2396
2745and updated by RFC 2732.")
9acf97f2 2746 (home-page "http://search.cpan.org/dist/URI/")))
d22d72fc 2747
5bb82fd0
EB
2748(define-public perl-uri-find
2749 (package
2750 (name "perl-uri-find")
2751 (version "20140709")
2752 (source
2753 (origin
2754 (method url-fetch)
2755 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
2756 "URI-Find-" version ".tar.gz"))
2757 (sha256
2758 (base32
2759 "0czc4h182s7sx3k123m7qlg7yybnwxgh369hap3c3b6xgrglrhy0"))))
2760 (build-system perl-build-system)
2761 (propagated-inputs
2762 `(("perl-uri" ,perl-uri)))
2763 (home-page "http://search.cpan.org/dist/URI-Find")
2764 (synopsis "Find URIs in arbitrary text")
2765 (description "This module finds URIs and URLs (according to what URI.pm
2766considers a URI) in plain text. It only finds URIs which include a
2767scheme (http:// or the like), for something a bit less strict, consider
2768URI::Find::Schemeless. For a command-line interface, urifind is provided.")
2769 (license (package-license perl))))
2770
36a100a1
EB
2771(define-public perl-uri-ws
2772 (package
2773 (name "perl-uri-ws")
2774 (version "0.03")
2775 (source
2776 (origin
2777 (method url-fetch)
2778 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
2779 "URI-ws-" version ".tar.gz"))
2780 (sha256
2781 (base32
2782 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
2783 (build-system perl-build-system)
2784 (propagated-inputs
2785 `(("perl-uri" ,perl-uri)))
2786 (home-page "http://search.cpan.org/dist/URI-ws")
2787 (synopsis "WebSocket support for URI package")
2788 (description "With this module, the URI package provides the same set of
2789methods for WebSocket URIs as it does for HTTP URIs.")
2790 (license (package-license perl))))
2791
d22d72fc
LC
2792(define-public perl-www-curl
2793 (package
2794 (name "perl-www-curl")
2795 (version "4.17")
2796 (source (origin
2797 (method url-fetch)
2798 (uri (string-append
2799 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
2800 version".tar.gz"))
2801 (sha256
2802 (base32
2803 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
2804 (build-system perl-build-system)
2805 (arguments
2806 '(#:tests? #f)) ;XXX: tests require network access
2807 (inputs `(("curl" ,curl)))
2808 (synopsis "Perl extension interface for libcurl")
2809 (description
2810 "This is a Perl extension interface for the libcurl file downloading
2811library.")
2812 (license (package-license perl))
2813 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3484d052 2814
0b1ed725
EB
2815(define-public perl-www-mechanize
2816 (package
2817 (name "perl-www-mechanize")
2818 (version "1.73")
2819 (source
2820 (origin
2821 (method url-fetch)
2822 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2823 "WWW-Mechanize-" version ".tar.gz"))
2824 (sha256
2825 (base32
2826 "1zrw8aadhwy48q51x2z2rqlkwf17bya4j4h3hy89mw783j96rmg9"))))
2827 (build-system perl-build-system)
2828 (propagated-inputs
2829 `(("perl-html-form" ,perl-html-form)
2830 ("perl-html-parser" ,perl-html-parser)
2831 ("perl-http-message" ,perl-http-message)
2832 ("perl-http-server-simple" ,perl-http-server-simple)
2833 ("perl-libwww" ,perl-libwww)
2834 ("perl-test-warn" ,perl-test-warn)
2835 ("perl-uri" ,perl-uri)))
2836 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
2837 (synopsis "Web browsing in a Perl object")
2838 (description "WWW::Mechanize is a Perl module for stateful programmatic
2839web browsing, used for automating interaction with websites.")
2840 (license (package-license perl))))
2841
8142aff3 2842(define-public perl-www-robotrules
3484d052 2843 (package
8142aff3
EB
2844 (name "perl-www-robotrules")
2845 (version "6.02")
3484d052 2846 (source (origin
8142aff3
EB
2847 (method url-fetch)
2848 (uri (string-append
2849 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
2850 version ".tar.gz"))
2851 (sha256
2852 (base32
2853 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3484d052 2854 (build-system perl-build-system)
8142aff3
EB
2855 (propagated-inputs
2856 `(("perl-uri" ,perl-uri)))
3484d052 2857 (license (package-license perl))
8142aff3 2858 (synopsis "Perl database of robots.txt-derived permissions")
5eb86b64 2859 (description
8142aff3
EB
2860 "The WWW::RobotRules module parses /robots.txt files as specified in
2861\"A Standard for Robot Exclusion\", at
2862<http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
2863/robots.txt file to forbid conforming robots from accessing parts of
2864their web site.")
2865 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
a359c9c1
RW
2866
2867(define-public r-httpuv
2868 (package
2869 (name "r-httpuv")
2870 (version "1.3.3")
2871 (source (origin
2872 (method url-fetch)
2873 (uri (cran-uri "httpuv" version))
2874 (sha256
2875 (base32
2876 "0aibs0hf38n8f6xxx4g2i2lzd6l5h92m5pscx2z834sdvhnladxv"))))
2877 (build-system r-build-system)
2878 (native-inputs `(("r-rcpp" ,r-rcpp)))
2879 (home-page "https://github.com/rstudio/httpuv")
2880 (synopsis "HTTP and WebSocket server library for R")
2881 (description
2882 "The httpuv package provides low-level socket and protocol support for
2883handling HTTP and WebSocket requests directly from within R. It is primarily
2884intended as a building block for other packages, rather than making it
2885particularly easy to create complete web applications using httpuv alone.")
2886 ;; This package includes third-party code that was originally released
2887 ;; under various non-copyleft licenses. Full licensing information can be
2888 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
2889 (license l:gpl3+)))
21d3770e
RW
2890
2891(define-public r-jsonlite
2892 (package
2893 (name "r-jsonlite")
2894 (version "0.9.17")
2895 (source (origin
2896 (method url-fetch)
2897 (uri (cran-uri "jsonlite" version))
2898 (sha256
2899 (base32
2900 "07s11m8z43dh5pyci5rpjqj5js69q8prjar42qhhxbvdmcrjk4z7"))))
2901 (build-system r-build-system)
2902 (home-page "http://arxiv.org/abs/1403.2805")
2903 (synopsis "Robust, high performance JSON parser and generator for R")
2904 (description
2905 "The jsonlite package provides a fast JSON parser and generator optimized
2906for statistical data and the web. It offers flexible, robust, high
2907performance tools for working with JSON in R and is particularly powerful for
2908building pipelines and interacting with a web API. In addition to converting
2909JSON data from/to R objects, jsonlite contains functions to stream, validate,
2910and prettify JSON data. The unit tests included with the package verify that
2911all edge cases are encoded and decoded consistently for use with dynamic data
2912in systems and applications.")
2913 (license l:expat)))
ea5616e0
RW
2914
2915(define-public r-servr
2916 (package
2917 (name "r-servr")
2918 (version "0.2")
2919 (source (origin
2920 (method url-fetch)
2921 (uri (cran-uri "servr" version))
2922 (sha256
2923 (base32
2924 "0gah99snaj8lk5zfzbxi3jwvpnlff9diz9gqv4qalfxpmb7fp6lc"))))
2925 (build-system r-build-system)
2926 (propagated-inputs
2927 `(("r-httpuv" ,r-httpuv)
2928 ("r-jsonlite" ,r-jsonlite)
2929 ("r-mime" ,r-mime)))
2930 (native-inputs
2931 `(("r-rcpp" ,r-rcpp)))
2932 (home-page "https://github.com/yihui/servr")
2933 (synopsis "Simple HTTP server to serve static files or dynamic documents")
2934 (description
2935 "Servr provides an HTTP server in R to serve static files, or dynamic
2936documents that can be converted to HTML files (e.g., R Markdown) under a given
2937directory.")
2938 (license l:expat)))
f1a045e2
RW
2939
2940(define-public r-htmltools
2941 (package
2942 (name "r-htmltools")
2943 (version "0.2.6")
2944 (source (origin
2945 (method url-fetch)
2946 (uri (cran-uri "htmltools" version))
2947 (sha256
2948 (base32
2949 "1gp6f6388xy3cvnb08q08vraidjp740gfxlafdd19m2s04v5hncz"))))
2950 (build-system r-build-system)
2951 (propagated-inputs
2952 `(("r-digest" ,r-digest)))
2953 (home-page "http://cran.r-project.org/web/packages/htmltools")
2954 (synopsis "R tools for HTML")
2955 (description
2956 "This package provides tools for HTML generation and output in R.")
2957 (license l:expat)))
b1006576
RW
2958
2959(define-public r-htmlwidgets
2960 (package
2961 (name "r-htmlwidgets")
2962 (version "0.5")
2963 (source (origin
2964 (method url-fetch)
2965 (uri (cran-uri "htmlwidgets" version))
2966 (sha256
2967 (base32
2968 "1d583kk7g29r4sq0y1scri7fs48z6q17c051nyjywcvnpy4lvi8j"))))
2969 (build-system r-build-system)
2970 (propagated-inputs
2971 `(("r-htmltools" ,r-htmltools)
2972 ("r-jsonlite" ,r-jsonlite)
2973 ("r-yaml" ,r-yaml)))
2974 (home-page "https://github.com/ramnathv/htmlwidgets")
2975 (synopsis "HTML Widgets for R")
2976 (description
2977 "HTML widgets is a framework for creating HTML widgets that render in
2978various contexts including the R console, R Markdown documents, and Shiny web
2979applications.")
2980 (license l:expat)))