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