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