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