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