gnu: perl-http-body: Update to 1.22.
[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.006")
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 "0c7l29ak6ba2j006ca00vnkxpyc1fvpikydjvsb24s50zf1mv7b2"))))
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 (inputs
2137 `(("perl-time-local" ,perl-time-local)
2138 ("perl-http-date" ,perl-http-date)))
2139 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2140 (synopsis "Minimalist HTTP user agent cookie jar")
2141 (description "This module implements a minimalist HTTP user agent cookie
2142 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2143 (license l:asl2.0)))
2144
2145 (define-public perl-http-cookies
2146 (package
2147 (name "perl-http-cookies")
2148 (version "6.01")
2149 (source (origin
2150 (method url-fetch)
2151 (uri (string-append
2152 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-"
2153 version ".tar.gz"))
2154 (sha256
2155 (base32
2156 "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm"))))
2157 (build-system perl-build-system)
2158 (propagated-inputs
2159 `(("perl-http-message" ,perl-http-message)))
2160 (license (package-license perl))
2161 (synopsis "Perl HTTP cookie jars")
2162 (description
2163 "The HTTP::Cookies class is for objects that represent a cookie jar,
2164 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2165 object knows about.")
2166 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2167
2168 (define-public perl-http-daemon
2169 (package
2170 (name "perl-http-daemon")
2171 (version "6.01")
2172 (source (origin
2173 (method url-fetch)
2174 (uri (string-append
2175 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2176 version ".tar.gz"))
2177 (sha256
2178 (base32
2179 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2180 (build-system perl-build-system)
2181 (propagated-inputs
2182 `(("perl-http-message" ,perl-http-message)
2183 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2184 (license (package-license perl))
2185 (synopsis "Perl simple http server class")
2186 (description
2187 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2188 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2189 IO::Socket::INET, so you can perform socket operations directly on it too.")
2190 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2191
2192 (define-public perl-http-date
2193 (package
2194 (name "perl-http-date")
2195 (version "6.02")
2196 (source (origin
2197 (method url-fetch)
2198 (uri (string-append
2199 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2200 version ".tar.gz"))
2201 (sha256
2202 (base32
2203 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2204 (build-system perl-build-system)
2205 (license (package-license perl))
2206 (synopsis "Perl date conversion routines")
2207 (description
2208 "The HTTP::Date module provides functions that deal with date formats
2209 used by the HTTP protocol (and then some more).")
2210 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2211
2212 (define-public perl-http-message
2213 (package
2214 (name "perl-http-message")
2215 (version "6.06")
2216 (source (origin
2217 (method url-fetch)
2218 (uri (string-append
2219 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Message-"
2220 version ".tar.gz"))
2221 (sha256
2222 (base32
2223 "0qxdrcak97azjvqyx1anpb2ky6vp6vc37x0wcfjdqfajkh09fzh8"))))
2224 (build-system perl-build-system)
2225 (propagated-inputs
2226 `(("perl-http-date" ,perl-http-date)
2227 ("perl-io-html" ,perl-io-html)
2228 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2229 ("perl-uri" ,perl-uri)))
2230 (license (package-license perl))
2231 (synopsis "Perl HTTP style message")
2232 (description
2233 "An HTTP::Message object contains some headers and a content body.")
2234 (home-page "http://search.cpan.org/~gaas/HTTP-Message/")))
2235
2236 (define-public perl-http-negotiate
2237 (package
2238 (name "perl-http-negotiate")
2239 (version "6.01")
2240 (source (origin
2241 (method url-fetch)
2242 (uri (string-append
2243 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2244 version ".tar.gz"))
2245 (sha256
2246 (base32
2247 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2248 (build-system perl-build-system)
2249 (propagated-inputs
2250 `(("perl-http-message" ,perl-http-message)))
2251 (license (package-license perl))
2252 (synopsis "Perl http content negotiation")
2253 (description
2254 "The HTTP::Negotiate module provides a complete implementation of the
2255 HTTP content negotiation algorithm specified in
2256 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2257 the selection of a preferred content representation based upon attributes
2258 of the negotiable variants and the value of the various Accept* header
2259 fields in the request.")
2260 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2261
2262 (define-public perl-http-parser
2263 (package
2264 (name "perl-http-parser")
2265 (version "0.06")
2266 (source
2267 (origin
2268 (method url-fetch)
2269 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2270 "HTTP-Parser-" version ".tar.gz"))
2271 (sha256
2272 (base32
2273 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2274 (build-system perl-build-system)
2275 (propagated-inputs
2276 `(("perl-http-message" ,perl-http-message)
2277 ("perl-uri" ,perl-uri)))
2278 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2279 (synopsis "Parse HTTP/1.1 requests")
2280 (description "This is an HTTP request parser. It takes chunks of text as
2281 received and returns a 'hint' as to what is required, or returns the
2282 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2283 supported.")
2284 (license (package-license perl))))
2285
2286 (define-public perl-http-parser-xs
2287 (package
2288 (name "perl-http-parser-xs")
2289 (version "0.17")
2290 (source
2291 (origin
2292 (method url-fetch)
2293 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2294 "HTTP-Parser-XS-" version ".tar.gz"))
2295 (sha256
2296 (base32
2297 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2298 (build-system perl-build-system)
2299 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2300 (synopsis "Fast HTTP request parser")
2301 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2302 parser.")
2303 (license (package-license perl))))
2304
2305 (define-public perl-http-request-ascgi
2306 (package
2307 (name "perl-http-request-ascgi")
2308 (version "1.2")
2309 (source
2310 (origin
2311 (method url-fetch)
2312 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2313 "HTTP-Request-AsCGI-" version ".tar.gz"))
2314 (sha256
2315 (base32
2316 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2317 (build-system perl-build-system)
2318 (propagated-inputs
2319 `(("perl-class-accessor" ,perl-class-accessor)
2320 ("perl-http-message" ,perl-http-message)))
2321 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2322 (synopsis "Set up a CGI environment from an HTTP::Request")
2323 (description "This module provides a convenient way to set up a CGI
2324 environment from an HTTP::Request.")
2325 (license (package-license perl))))
2326
2327 (define-public perl-http-server-simple
2328 (package
2329 (name "perl-http-server-simple")
2330 (version "0.44")
2331 (source
2332 (origin
2333 (method url-fetch)
2334 (uri (string-append "mirror://cpan/authors/id/J/JE/JESSE/"
2335 "HTTP-Server-Simple-" version ".tar.gz"))
2336 (sha256
2337 (base32
2338 "05klpfkss2a6i5ihmvcm27fyar0f2v4ispg2f49agab3va1gix6g"))))
2339 (build-system perl-build-system)
2340 (propagated-inputs
2341 `(("perl-cgi" ,perl-cgi)))
2342 (arguments
2343 ;; See the discussion of a related tests issue at
2344 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2345 `(#:tests? #f))
2346 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2347 (synopsis "Lightweight HTTP server")
2348 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2349 no non-core module dependencies. It can be used for building a standalone
2350 http-based UI to your existing tools.")
2351 (license (package-license perl))))
2352
2353 (define-public perl-http-tiny
2354 (package
2355 (name "perl-http-tiny")
2356 (version "0.053")
2357 (source
2358 (origin
2359 (method url-fetch)
2360 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2361 "HTTP-Tiny-" version ".tar.gz"))
2362 (sha256
2363 (base32
2364 "1bwy31xrcz5zfx1n3vc50vj1aqvzn5ccr7lgacl8wmi03a6w2af2"))))
2365 (build-system perl-build-system)
2366 (inputs
2367 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2368 ("perl-io-socket-ip" ,perl-io-socket-ip)
2369 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2370 ("perl-net-ssleay" ,perl-net-ssleay)))
2371 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2372 (synopsis "HTTP/1.1 client")
2373 (description "This is a very simple HTTP/1.1 client, designed for doing
2374 simple requests without the overhead of a large framework like LWP::UserAgent.
2375 It supports proxies and redirection. It also correctly resumes after EINTR.")
2376 (license (package-license perl))))
2377
2378 (define-public perl-io-html
2379 (package
2380 (name "perl-io-html")
2381 (version "1.00")
2382 (source (origin
2383 (method url-fetch)
2384 (uri (string-append
2385 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2386 version ".tar.gz"))
2387 (sha256
2388 (base32
2389 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2390 (build-system perl-build-system)
2391 (license (package-license perl))
2392 (synopsis "Perl module to open an HTML file with automatic charset detection")
2393 (description
2394 "IO::HTML provides an easy way to open a file containing HTML while
2395 automatically determining its encoding. It uses the HTML5 encoding sniffing
2396 algorithm specified in section 8.2.2.1 of the draft standard.")
2397 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2398
2399 (define-public perl-io-socket-ip
2400 (package
2401 (name "perl-io-socket-ip")
2402 (version "0.36")
2403 (source
2404 (origin
2405 (method url-fetch)
2406 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2407 "IO-Socket-IP-" version ".tar.gz"))
2408 (sha256
2409 (base32
2410 "0ky20hmln6waipzqikizyw04vpszf70fgpshz7ib8zv8480ri456"))))
2411 (build-system perl-build-system)
2412 (native-inputs `(("perl-module-build" ,perl-module-build)))
2413 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2414 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2415 (description "This module provides a protocol-independent way to use IPv4
2416 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2417 (license (package-license perl))))
2418
2419 (define-public perl-io-socket-ssl
2420 (package
2421 (name "perl-io-socket-ssl")
2422 (version "2.038")
2423 (source (origin
2424 (method url-fetch)
2425 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2426 "IO-Socket-SSL-" version ".tar.gz"))
2427 (sha256
2428 (base32
2429 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2430 (patches (search-patches
2431 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2432 (build-system perl-build-system)
2433 (propagated-inputs
2434 `(("perl-net-ssleay" ,perl-net-ssleay)
2435 ;; for IDN support
2436 ("perl-uri" ,perl-uri)))
2437 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2438 (description
2439 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2440 necessary functionality into the familiar IO::Socket interface and providing
2441 secure defaults whenever possible. This way existing applications can be made
2442 SSL-aware without much effort, at least if you do blocking I/O and don't use
2443 select or poll.")
2444 (license (package-license perl))
2445 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2446
2447 (define-public perl-libwww
2448 (package
2449 (name "perl-libwww")
2450 (version "6.13")
2451 (source (origin
2452 (method url-fetch)
2453 (uri (string-append
2454 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
2455 version ".tar.gz"))
2456 (sha256
2457 (base32
2458 "1cpqjl59viw50bnbdyn8xzrwzg7g54b2rszw0fifacqrppp17gaz"))))
2459 (build-system perl-build-system)
2460 (propagated-inputs
2461 `(("perl-encode-locale" ,perl-encode-locale)
2462 ("perl-file-listing" ,perl-file-listing)
2463 ("perl-html-parser" ,perl-html-parser)
2464 ("perl-http-cookies" ,perl-http-cookies)
2465 ("perl-http-daemon" ,perl-http-daemon)
2466 ("perl-http-negotiate" ,perl-http-negotiate)
2467 ("perl-net-http" ,perl-net-http)
2468 ("perl-www-robotrules" ,perl-www-robotrules)))
2469 (license (package-license perl))
2470 (synopsis "Perl modules for the WWW")
2471 (description
2472 "The libwww-perl collection is a set of Perl modules which provides a
2473 simple and consistent application programming interface to the
2474 World-Wide Web. The main focus of the library is to provide classes
2475 and functions that allow you to write WWW clients. The library also
2476 contains modules that are of more general use and even classes that
2477 help you implement simple HTTP servers.")
2478 (home-page "http://search.cpan.org/dist/libwww-perl/")))
2479
2480 (define-public perl-lwp-mediatypes
2481 (package
2482 (name "perl-lwp-mediatypes")
2483 (version "6.02")
2484 (source (origin
2485 (method url-fetch)
2486 (uri (string-append
2487 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
2488 version ".tar.gz"))
2489 (sha256
2490 (base32
2491 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
2492 (build-system perl-build-system)
2493 (license (package-license perl))
2494 (synopsis "Perl module to guess the media type for a file or a URL")
2495 (description
2496 "The LWP::MediaTypes module provides functions for handling media (also
2497 known as MIME) types and encodings. The mapping from file extensions to
2498 media types is defined by the media.types file. If the ~/.media.types file
2499 exists it is used instead.")
2500 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
2501
2502 (define-public perl-lwp-protocol-https
2503 (package
2504 (name "perl-lwp-protocol-https")
2505 (version "6.06")
2506 (source
2507 (origin
2508 (method url-fetch)
2509 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
2510 "LWP-Protocol-https-" version ".tar.gz"))
2511 (sha256
2512 (base32
2513 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
2514 (build-system perl-build-system)
2515 (propagated-inputs
2516 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2517 ("perl-libwww" ,perl-libwww)
2518 ;; Users should instead make sure SSL_ca_path is set properly.
2519 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
2520 ("perl-net-http" ,perl-net-http)))
2521 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
2522 (synopsis "HTTPS support for LWP::UserAgent")
2523 (description "The LWP::Protocol::https module provides support for using
2524 https schemed URLs with LWP.")
2525 (license (package-license perl))))
2526
2527 (define-public perl-lwp-useragent-determined
2528 (package
2529 (name "perl-lwp-useragent-determined")
2530 (version "1.07")
2531 (source
2532 (origin
2533 (method url-fetch)
2534 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
2535 "LWP-UserAgent-Determined-" version ".tar.gz"))
2536 (sha256
2537 (base32
2538 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
2539 (build-system perl-build-system)
2540 (propagated-inputs
2541 `(("perl-libwww" ,perl-libwww)))
2542 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
2543 (synopsis "Virtual browser that retries errors")
2544 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
2545 except that when you use it to get a web page but run into a
2546 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
2547 and retry a few times.")
2548 (license (package-license perl))))
2549
2550 (define-public perl-net-amazon-s3
2551 (package
2552 (name "perl-net-amazon-s3")
2553 (version "0.60")
2554 (source
2555 (origin
2556 (method url-fetch)
2557 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
2558 "Net-Amazon-S3-" version ".tar.gz"))
2559 (sha256
2560 (base32
2561 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
2562 (patches (search-patches
2563 "perl-net-amazon-s3-moose-warning.patch"))))
2564 (build-system perl-build-system)
2565 (native-inputs
2566 `(("perl-libwww" ,perl-libwww)
2567 ("perl-test-exception" ,perl-test-exception)))
2568 (propagated-inputs
2569 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
2570 ("perl-datetime-format-http" ,perl-datetime-format-http)
2571 ("perl-digest-hmac" ,perl-digest-hmac)
2572 ("perl-digest-md5-file" ,perl-digest-md5-file)
2573 ("perl-file-find-rule" ,perl-file-find-rule)
2574 ("perl-http-date" ,perl-http-date)
2575 ("perl-http-message" ,perl-http-message)
2576 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
2577 ("perl-mime-types" ,perl-mime-types)
2578 ("perl-moose" ,perl-moose)
2579 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
2580 ("perl-moosex-types-datetime-morecoercions"
2581 ,perl-moosex-types-datetime-morecoercions)
2582 ("perl-path-class" ,perl-path-class)
2583 ("perl-regexp-common" ,perl-regexp-common)
2584 ("perl-term-encoding" ,perl-term-encoding)
2585 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
2586 ("perl-uri" ,perl-uri)
2587 ("perl-xml-libxml" ,perl-xml-libxml)))
2588 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
2589 (synopsis "Perl interface to Amazon S3")
2590 (description "This module provides a Perlish interface to Amazon S3.")
2591 (license (package-license perl))))
2592
2593 (define-public perl-net-http
2594 (package
2595 (name "perl-net-http")
2596 (version "6.07")
2597 (source (origin
2598 (method url-fetch)
2599 (uri (string-append
2600 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
2601 version ".tar.gz"))
2602 (sha256
2603 (base32
2604 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
2605 (build-system perl-build-system)
2606 (propagated-inputs
2607 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2608 ("perl-uri" ,perl-uri)))
2609 (license (package-license perl))
2610 (synopsis "Perl low-level HTTP connection (client)")
2611 (description
2612 "The Net::HTTP class is a low-level HTTP client. An instance of the
2613 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
2614 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
2615 HTTP/1.1.")
2616 (home-page "http://search.cpan.org/dist/Net-HTTP")))
2617
2618 (define-public perl-net-server
2619 (package
2620 (name "perl-net-server")
2621 (version "2.008")
2622 (source
2623 (origin
2624 (method url-fetch)
2625 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
2626 "Net-Server-" version ".tar.gz"))
2627 (sha256
2628 (base32
2629 "182gfikn7r40kmm3d35m2qc6r8g0y1j8gxbn9ffaawf8xmm0a889"))))
2630 (build-system perl-build-system)
2631 (home-page "http://search.cpan.org/dist/Net-Server")
2632 (synopsis "Extensible Perl server engine")
2633 (description "Net::Server is an extensible, generic Perl server engine.
2634 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
2635 It includes with it the ability to run as an inetd
2636 process (Net::Server::INET), a single connection server (Net::Server or
2637 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
2638 server which maintains a constant number of preforked
2639 children (Net::Server::PreForkSimple), or as a managed preforking server which
2640 maintains the number of children based on server load (Net::Server::PreFork).
2641 In all but the inetd type, the server provides the ability to connect to one
2642 or to multiple server ports.")
2643 (license (package-license perl))))
2644
2645 (define-public perl-net-smtp-ssl
2646 (package
2647 (name "perl-net-smtp-ssl")
2648 (version "1.03")
2649 (source
2650 (origin
2651 (method url-fetch)
2652 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
2653 "Net-SMTP-SSL-" version ".tar.gz"))
2654 (sha256
2655 (base32
2656 "05y94mb1vdw32mvwb0cp2h4ggh32f8j8nwwfjb8kjwxvfkfhyp9h"))))
2657 (build-system perl-build-system)
2658 (propagated-inputs
2659 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
2660 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
2661 (synopsis "SSL support for Net::SMTP")
2662 (description "SSL support for Net::SMTP.")
2663 (license (package-license perl))))
2664
2665 (define-public perl-plack
2666 (package
2667 (name "perl-plack")
2668 (version "1.0033")
2669 (source
2670 (origin
2671 (method url-fetch)
2672 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2673 "Plack-" version ".tar.gz"))
2674 (sha256
2675 (base32
2676 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
2677 (build-system perl-build-system)
2678 (native-inputs
2679 `(("perl-test-requires" ,perl-test-requires)
2680 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
2681 (propagated-inputs
2682 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
2683 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2684 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
2685 ("perl-file-sharedir" ,perl-file-sharedir)
2686 ("perl-hash-multivalue" ,perl-hash-multivalue)
2687 ("perl-http-body" ,perl-http-body)
2688 ("perl-http-message" ,perl-http-message)
2689 ("perl-http-tiny" ,perl-http-tiny)
2690 ("perl-libwww" ,perl-libwww)
2691 ("perl-stream-buffered" ,perl-stream-buffered)
2692 ("perl-test-tcp" ,perl-test-tcp)
2693 ("perl-try-tiny" ,perl-try-tiny)
2694 ("perl-uri" ,perl-uri)))
2695 (home-page "http://search.cpan.org/dist/Plack")
2696 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
2697 (description "Plack is a set of tools for using the PSGI stack. It
2698 contains middleware components, a reference server, and utilities for Web
2699 application frameworks. Plack is like Ruby's Rack or Python's Paste for
2700 WSGI.")
2701 (license (package-license perl))))
2702
2703 (define-public perl-plack-middleware-fixmissingbodyinredirect
2704 (package
2705 (name "perl-plack-middleware-fixmissingbodyinredirect")
2706 (version "0.12")
2707 (source
2708 (origin
2709 (method url-fetch)
2710 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2711 "Plack-Middleware-FixMissingBodyInRedirect-"
2712 version ".tar.gz"))
2713 (sha256
2714 (base32
2715 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
2716 (build-system perl-build-system)
2717 (native-inputs
2718 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
2719 ("perl-http-message" ,perl-http-message)
2720 ("perl-plack" ,perl-plack))) ;for Plack::Test
2721 (home-page
2722 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
2723 (synopsis "Plack::Middleware which sets body for redirect response")
2724 (description "This module sets the body in redirect response, if it's not
2725 already set.")
2726 (license (package-license perl))))
2727
2728 (define-public perl-plack-middleware-methodoverride
2729 (package
2730 (name "perl-plack-middleware-methodoverride")
2731 (version "0.11")
2732 (source
2733 (origin
2734 (method url-fetch)
2735 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
2736 "Plack-Middleware-MethodOverride-"
2737 version ".tar.gz"))
2738 (sha256
2739 (base32
2740 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
2741 (build-system perl-build-system)
2742 (native-inputs
2743 `(("perl-module-build" ,perl-module-build)))
2744 (propagated-inputs
2745 `(("perl-plack" ,perl-plack)))
2746 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
2747 (synopsis "Override REST methods to Plack apps via POST")
2748 (description "This middleware allows for POST requests that pretend to be
2749 something else: by adding either a header named X-HTTP-Method-Override to the
2750 request, or a query parameter named x-tunneled-method to the URI, the client
2751 can say what method it actually meant.")
2752 (license (package-license perl))))
2753
2754 (define-public perl-plack-middleware-removeredundantbody
2755 (package
2756 (name "perl-plack-middleware-removeredundantbody")
2757 (version "0.05")
2758 (source
2759 (origin
2760 (method url-fetch)
2761 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2762 "Plack-Middleware-RemoveRedundantBody-"
2763 version ".tar.gz"))
2764 (sha256
2765 (base32
2766 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
2767 (build-system perl-build-system)
2768 (propagated-inputs
2769 `(("perl-plack" ,perl-plack)))
2770 (home-page
2771 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
2772 (synopsis "Plack::Middleware which removes body for HTTP response")
2773 (description "This module removes the body in an HTTP response if it's not
2774 required.")
2775 (license (package-license perl))))
2776
2777 (define-public perl-plack-middleware-reverseproxy
2778 (package
2779 (name "perl-plack-middleware-reverseproxy")
2780 (version "0.15")
2781 (source
2782 (origin
2783 (method url-fetch)
2784 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2785 "Plack-Middleware-ReverseProxy-"
2786 version ".tar.gz"))
2787 (sha256
2788 (base32
2789 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
2790 (build-system perl-build-system)
2791 (propagated-inputs
2792 `(("perl-plack" ,perl-plack)))
2793 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
2794 (synopsis "Supports app to run as a reverse proxy backend")
2795 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
2796 which are changed by reverse-proxy. You can specify the reverse proxy address
2797 and stop fake requests using 'enable_if' directive in your app.psgi.")
2798 (license (package-license perl))))
2799
2800 (define-public perl-plack-test-externalserver
2801 (package
2802 (name "perl-plack-test-externalserver")
2803 (version "0.01")
2804 (source
2805 (origin
2806 (method url-fetch)
2807 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2808 "Plack-Test-ExternalServer-" version ".tar.gz"))
2809 (sha256
2810 (base32
2811 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
2812 (build-system perl-build-system)
2813 (propagated-inputs
2814 `(("perl-plack" ,perl-plack)))
2815 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
2816 (synopsis "Run HTTP tests on external live servers")
2817 (description "This module allows your to run your Plack::Test tests
2818 against an external server instead of just against a local application through
2819 either mocked HTTP or a locally spawned server.")
2820 (license (package-license perl))))
2821
2822 (define-public perl-test-tcp
2823 (package
2824 (name "perl-test-tcp")
2825 (version "2.06")
2826 (source
2827 (origin
2828 (method url-fetch)
2829 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
2830 "Test-TCP-" version ".tar.gz"))
2831 (sha256
2832 (base32
2833 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
2834 (build-system perl-build-system)
2835 (propagated-inputs
2836 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
2837 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
2838 (home-page "http://search.cpan.org/dist/Test-TCP")
2839 (synopsis "Testing TCP programs")
2840 (description "Test::TCP is test utilities for TCP/IP programs.")
2841 (license (package-license perl))))
2842
2843 (define-public perl-test-www-mechanize
2844 (package
2845 (name "perl-test-www-mechanize")
2846 (version "1.44")
2847 (source
2848 (origin
2849 (method url-fetch)
2850 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2851 "Test-WWW-Mechanize-" version ".tar.gz"))
2852 (sha256
2853 (base32
2854 "062pj242vsc73bw11jqpap92ax9wzc9f2m4xhyp1wzrwkfchpl2q"))))
2855 (build-system perl-build-system)
2856 (native-inputs
2857 `(("perl-test-exception" ,perl-test-exception)))
2858 (propagated-inputs
2859 `(("perl-carp-assert-more" ,perl-carp-assert-more)
2860 ("perl-html-form" ,perl-html-form)
2861 ("perl-html-lint" ,perl-html-lint)
2862 ("perl-html-tree" ,perl-html-tree)
2863 ("perl-http-server-simple" ,perl-http-server-simple)
2864 ("perl-libwww" ,perl-libwww)
2865 ("perl-test-longstring" ,perl-test-longstring)
2866 ("perl-www-mechanize" ,perl-www-mechanize)))
2867 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
2868 (synopsis "Testing-specific WWW::Mechanize subclass")
2869 (description "Test::WWW::Mechanize is a subclass of the Perl module
2870 WWW::Mechanize that incorporates features for web application testing.")
2871 (license l:artistic2.0)))
2872
2873 (define-public perl-test-www-mechanize-catalyst
2874 (package
2875 (name "perl-test-www-mechanize-catalyst")
2876 (version "0.60")
2877 (source
2878 (origin
2879 (method url-fetch)
2880 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2881 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
2882 (sha256
2883 (base32
2884 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
2885 (build-system perl-build-system)
2886 (native-inputs
2887 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2888 ("perl-catalyst-plugin-session-state-cookie"
2889 ,perl-catalyst-plugin-session-state-cookie)
2890 ("perl-test-exception" ,perl-test-exception)
2891 ("perl-test-pod" ,perl-test-pod)
2892 ("perl-test-utf8" ,perl-test-utf8)))
2893 (propagated-inputs
2894 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2895 ("perl-class-load" ,perl-class-load)
2896 ("perl-libwww" ,perl-libwww)
2897 ("perl-moose" ,perl-moose)
2898 ("perl-namespace-clean" ,perl-namespace-clean)
2899 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
2900 ("perl-www-mechanize" ,perl-www-mechanize)))
2901 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
2902 (synopsis "Test::WWW::Mechanize for Catalyst")
2903 (description "The Test::WWW::Mechanize::Catalyst module meshes the
2904 Test::WWW:Mechanize module and the Catalyst web application framework to allow
2905 testing of Catalyst applications without needing to start up a web server.")
2906 (license (package-license perl))))
2907
2908 (define-public perl-test-www-mechanize-psgi
2909 (package
2910 (name "perl-test-www-mechanize-psgi")
2911 (version "0.35")
2912 (source
2913 (origin
2914 (method url-fetch)
2915 (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
2916 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
2917 (sha256
2918 (base32
2919 "1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
2920 (build-system perl-build-system)
2921 (native-inputs
2922 `(("perl-test-pod" ,perl-test-pod)))
2923 (propagated-inputs
2924 `(("perl-plack" ,perl-plack)
2925 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
2926 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
2927 (synopsis "Test PSGI programs using WWW::Mechanize")
2928 (description "PSGI is a specification to decouple web server environments
2929 from web application framework code. Test::WWW::Mechanize is a subclass of
2930 WWW::Mechanize that incorporates features for web application testing. The
2931 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
2932 applications.")
2933 (license (package-license perl))))
2934
2935 (define-public perl-uri
2936 (package
2937 (name "perl-uri")
2938 (version "1.71")
2939 (source (origin
2940 (method url-fetch)
2941 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2942 "URI-" version ".tar.gz"))
2943 (sha256
2944 (base32
2945 "05a1ck1bhvqkkk690xhsxf7276dnagk96qkh2jy4prrrgw6wm3lw"))))
2946 (build-system perl-build-system)
2947 (license (package-license perl))
2948 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
2949 (description
2950 "The URI module implements the URI class. Objects of this class
2951 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
2952 and updated by RFC 2732.")
2953 (home-page "http://search.cpan.org/dist/URI/")))
2954
2955 (define-public perl-uri-fetch
2956 (package
2957 (name "perl-uri-fetch")
2958 (version "0.13")
2959 (source (origin
2960 (method url-fetch)
2961 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
2962 "URI-Fetch-" version ".tar.gz"))
2963 (sha256
2964 (base32
2965 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
2966 (build-system perl-build-system)
2967 (arguments
2968 `(#:tests? #f)) ; Tests require internet connection to succeed
2969 (inputs
2970 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2971 ("perl-libwww" ,perl-libwww)
2972 ("perl-uri" ,perl-uri)))
2973 (home-page "http://search.cpan.org/dist/URI-Fetch")
2974 (synopsis "Smart URI fetching/caching")
2975 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
2976 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
2977 and time-saving way.")
2978 (license (package-license perl))))
2979
2980 (define-public perl-uri-find
2981 (package
2982 (name "perl-uri-find")
2983 (version "20140709")
2984 (source
2985 (origin
2986 (method url-fetch)
2987 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
2988 "URI-Find-" version ".tar.gz"))
2989 (sha256
2990 (base32
2991 "0czc4h182s7sx3k123m7qlg7yybnwxgh369hap3c3b6xgrglrhy0"))))
2992 (build-system perl-build-system)
2993 (native-inputs
2994 `(("perl-module-build" ,perl-module-build)))
2995 (propagated-inputs
2996 `(("perl-uri" ,perl-uri)))
2997 (home-page "http://search.cpan.org/dist/URI-Find")
2998 (synopsis "Find URIs in arbitrary text")
2999 (description "This module finds URIs and URLs (according to what URI.pm
3000 considers a URI) in plain text. It only finds URIs which include a
3001 scheme (http:// or the like), for something a bit less strict, consider
3002 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3003 (license (package-license perl))))
3004
3005 (define-public perl-uri-ws
3006 (package
3007 (name "perl-uri-ws")
3008 (version "0.03")
3009 (source
3010 (origin
3011 (method url-fetch)
3012 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3013 "URI-ws-" version ".tar.gz"))
3014 (sha256
3015 (base32
3016 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3017 (build-system perl-build-system)
3018 (propagated-inputs
3019 `(("perl-uri" ,perl-uri)))
3020 (home-page "http://search.cpan.org/dist/URI-ws")
3021 (synopsis "WebSocket support for URI package")
3022 (description "With this module, the URI package provides the same set of
3023 methods for WebSocket URIs as it does for HTTP URIs.")
3024 (license (package-license perl))))
3025
3026 (define-public perl-uri-template
3027 (package
3028 (name "perl-uri-template")
3029 (version "0.22")
3030 (source (origin
3031 (method url-fetch)
3032 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3033 version ".tar.gz"))
3034 (sha256
3035 (base32
3036 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3037 (build-system perl-build-system)
3038 (inputs
3039 `(("perl-uri" ,perl-uri)))
3040 (native-inputs
3041 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3042 ("perl-test-pod" ,perl-test-pod)
3043 ("perl-json" ,perl-json)))
3044 (home-page "http://search.cpan.org/dist/URI-Template")
3045 (synopsis "Object for handling URI templates")
3046 (description "This perl module provides a wrapper around URI templates as described in
3047 RFC 6570.")
3048 (license (package-license perl))))
3049
3050 (define-public perl-www-curl
3051 (package
3052 (name "perl-www-curl")
3053 (version "4.17")
3054 (source (origin
3055 (method url-fetch)
3056 (uri (string-append
3057 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3058 version".tar.gz"))
3059 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3060 (sha256
3061 (base32
3062 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3063 (build-system perl-build-system)
3064 (arguments
3065 '(#:tests? #f)) ;XXX: tests require network access
3066 (inputs `(("curl" ,curl)))
3067 (synopsis "Perl extension interface for libcurl")
3068 (description
3069 "This is a Perl extension interface for the libcurl file downloading
3070 library.")
3071 (license (package-license perl))
3072 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3073
3074 (define-public perl-www-mechanize
3075 (package
3076 (name "perl-www-mechanize")
3077 (version "1.73")
3078 (source
3079 (origin
3080 (method url-fetch)
3081 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3082 "WWW-Mechanize-" version ".tar.gz"))
3083 (sha256
3084 (base32
3085 "1zrw8aadhwy48q51x2z2rqlkwf17bya4j4h3hy89mw783j96rmg9"))))
3086 (build-system perl-build-system)
3087 (native-inputs ;only for tests
3088 `(("perl-cgi" ,perl-cgi)))
3089 (propagated-inputs
3090 `(("perl-html-form" ,perl-html-form)
3091 ("perl-html-parser" ,perl-html-parser)
3092 ("perl-http-message" ,perl-http-message)
3093 ("perl-http-server-simple" ,perl-http-server-simple)
3094 ("perl-libwww" ,perl-libwww)
3095 ("perl-test-warn" ,perl-test-warn)
3096 ("perl-uri" ,perl-uri)))
3097 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3098 (synopsis "Web browsing in a Perl object")
3099 (description "WWW::Mechanize is a Perl module for stateful programmatic
3100 web browsing, used for automating interaction with websites.")
3101 (license (package-license perl))))
3102
3103 (define-public perl-www-opensearch
3104 (package
3105 (name "perl-www-opensearch")
3106 (version "0.17")
3107 (source (origin
3108 (method url-fetch)
3109 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3110 "WWW-OpenSearch-" version ".tar.gz"))
3111 (sha256
3112 (base32
3113 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3114 (build-system perl-build-system)
3115 (arguments
3116 `(#:tests? #f)) ; Tests require further modules to be packaged
3117 (inputs
3118 `(("perl-data-page" ,perl-data-page)
3119 ("perl-libwww" ,perl-libwww)
3120 ("perl-uri" ,perl-uri)
3121 ("perl-uri-template" ,perl-uri-template)
3122 ("perl-xml-feed" ,perl-xml-feed)
3123 ("perl-xml-libxml" ,perl-xml-libxml)))
3124 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3125 (synopsis "Search A9 OpenSearch compatible engines")
3126 (description
3127 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3128 http://opensearch.a9.com} compatible search engines.")
3129 (license (package-license perl))))
3130
3131 (define-public perl-www-robotrules
3132 (package
3133 (name "perl-www-robotrules")
3134 (version "6.02")
3135 (source (origin
3136 (method url-fetch)
3137 (uri (string-append
3138 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3139 version ".tar.gz"))
3140 (sha256
3141 (base32
3142 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3143 (build-system perl-build-system)
3144 (propagated-inputs
3145 `(("perl-uri" ,perl-uri)))
3146 (license (package-license perl))
3147 (synopsis "Perl database of robots.txt-derived permissions")
3148 (description
3149 "The WWW::RobotRules module parses /robots.txt files as specified in
3150 \"A Standard for Robot Exclusion\", at
3151 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3152 /robots.txt file to forbid conforming robots from accessing parts of
3153 their web site.")
3154 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3155
3156 (define-public python-feedparser
3157 (package
3158 (name "python-feedparser")
3159 (version "5.2.1")
3160 (source
3161 (origin
3162 (method url-fetch)
3163 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3164 (sha256
3165 (base32
3166 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3167 (build-system python-build-system)
3168 (arguments
3169 '(#:tests? #f))
3170 (home-page
3171 "https://github.com/kurtmckee/feedparser")
3172 (synopsis "Parse feeds in Python")
3173 (description
3174 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3175 CDF, Atom 0.3, and Atom 1.0 feeds.")
3176 (license (list l:bsd-2 ; source code
3177 l:freebsd-doc)))) ; documentation
3178
3179 (define-public python2-feedparser
3180 (package-with-python2 python-feedparser))
3181
3182 (define-public r-httpuv
3183 (package
3184 (name "r-httpuv")
3185 (version "1.3.3")
3186 (source (origin
3187 (method url-fetch)
3188 (uri (cran-uri "httpuv" version))
3189 (sha256
3190 (base32
3191 "0aibs0hf38n8f6xxx4g2i2lzd6l5h92m5pscx2z834sdvhnladxv"))))
3192 (build-system r-build-system)
3193 (native-inputs `(("r-rcpp" ,r-rcpp)))
3194 (home-page "https://github.com/rstudio/httpuv")
3195 (synopsis "HTTP and WebSocket server library for R")
3196 (description
3197 "The httpuv package provides low-level socket and protocol support for
3198 handling HTTP and WebSocket requests directly from within R. It is primarily
3199 intended as a building block for other packages, rather than making it
3200 particularly easy to create complete web applications using httpuv alone.")
3201 ;; This package includes third-party code that was originally released
3202 ;; under various non-copyleft licenses. Full licensing information can be
3203 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3204 (license l:gpl3+)))
3205
3206 (define-public r-jsonlite
3207 (package
3208 (name "r-jsonlite")
3209 (version "1.1")
3210 (source (origin
3211 (method url-fetch)
3212 (uri (cran-uri "jsonlite" version))
3213 (sha256
3214 (base32
3215 "0mrfzh0mxxrhqdmxai434wvyd7skkw28vxr7pyls19yrg941g6r3"))))
3216 (build-system r-build-system)
3217 (home-page "http://arxiv.org/abs/1403.2805")
3218 (synopsis "Robust, high performance JSON parser and generator for R")
3219 (description
3220 "The jsonlite package provides a fast JSON parser and generator optimized
3221 for statistical data and the web. It offers flexible, robust, high
3222 performance tools for working with JSON in R and is particularly powerful for
3223 building pipelines and interacting with a web API. In addition to converting
3224 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3225 and prettify JSON data. The unit tests included with the package verify that
3226 all edge cases are encoded and decoded consistently for use with dynamic data
3227 in systems and applications.")
3228 (license l:expat)))
3229
3230 (define-public r-servr
3231 (package
3232 (name "r-servr")
3233 (version "0.4")
3234 (source (origin
3235 (method url-fetch)
3236 (uri (cran-uri "servr" version))
3237 (sha256
3238 (base32
3239 "1fkqf5ynd1g0932qwv5nr70bw42m8vxpc9rhi0qxmdamwqcw8qjn"))))
3240 (build-system r-build-system)
3241 (propagated-inputs
3242 `(("r-httpuv" ,r-httpuv)
3243 ("r-jsonlite" ,r-jsonlite)
3244 ("r-mime" ,r-mime)))
3245 (native-inputs
3246 `(("r-rcpp" ,r-rcpp)))
3247 (home-page "https://github.com/yihui/servr")
3248 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3249 (description
3250 "Servr provides an HTTP server in R to serve static files, or dynamic
3251 documents that can be converted to HTML files (e.g., R Markdown) under a given
3252 directory.")
3253 (license l:expat)))
3254
3255 (define-public r-htmltools
3256 (package
3257 (name "r-htmltools")
3258 (version "0.3.5")
3259 (source (origin
3260 (method url-fetch)
3261 (uri (cran-uri "htmltools" version))
3262 (sha256
3263 (base32
3264 "0j9bf80grd6gwh7116m575pycv87c0wcwkxsz3gzzfs4aw3pxyr9"))))
3265 (build-system r-build-system)
3266 (arguments
3267 `(#:phases
3268 (modify-phases %standard-phases
3269 ;; See https://github.com/rstudio/htmltools/pull/68
3270 ;; The resource files are in the store and have mode 444. After
3271 ;; copying the files R fails to remove them again because it doesn't
3272 ;; have write access to them.
3273 (add-after 'unpack 'copy-files-without-mode
3274 (lambda _
3275 (substitute* "R/html_dependency.R"
3276 (("file.copy\\(from, to, " prefix)
3277 (string-append prefix
3278 "copy.mode = FALSE, ")))
3279 #t)))))
3280 (propagated-inputs
3281 `(("r-digest" ,r-digest)
3282 ("r-rcpp" ,r-rcpp)))
3283 (home-page "http://cran.r-project.org/web/packages/htmltools")
3284 (synopsis "R tools for HTML")
3285 (description
3286 "This package provides tools for HTML generation and output in R.")
3287 (license l:expat)))
3288
3289 (define-public r-htmlwidgets
3290 (package
3291 (name "r-htmlwidgets")
3292 (version "0.7")
3293 (source (origin
3294 (method url-fetch)
3295 (uri (cran-uri "htmlwidgets" version))
3296 (sha256
3297 (base32
3298 "1xh8aiaci5hi3r67ym7r37hm89m9vzywk292avnmaj125kq7w1d0"))))
3299 (build-system r-build-system)
3300 (propagated-inputs
3301 `(("r-htmltools" ,r-htmltools)
3302 ("r-jsonlite" ,r-jsonlite)
3303 ("r-yaml" ,r-yaml)))
3304 (home-page "https://github.com/ramnathv/htmlwidgets")
3305 (synopsis "HTML Widgets for R")
3306 (description
3307 "HTML widgets is a framework for creating HTML widgets that render in
3308 various contexts including the R console, R Markdown documents, and Shiny web
3309 applications.")
3310 (license l:expat)))
3311
3312 (define-public r-htmltable
3313 (package
3314 (name "r-htmltable")
3315 (version "1.7")
3316 (source
3317 (origin
3318 (method url-fetch)
3319 (uri (cran-uri "htmlTable" version))
3320 (sha256
3321 (base32
3322 "0x2f2hrbhvm53zqwn0ny9wxbk34nwf6zww8cx4bjy5ax15asdllm"))))
3323 (properties `((upstream-name . "htmlTable")))
3324 (build-system r-build-system)
3325 (propagated-inputs
3326 `(("r-knitr" ,r-knitr)
3327 ("r-magrittr" ,r-magrittr)
3328 ("r-stringr" ,r-stringr)))
3329 (home-page "http://gforge.se/packages/")
3330 (synopsis "Advanced tables for Markdown/HTML")
3331 (description
3332 "This package provides functions to build tables with advanced layout
3333 elements such as row spanners, column spanners, table spanners, zebra
3334 striping, and more. While allowing advanced layout, the underlying
3335 CSS-structure is simple in order to maximize compatibility with word
3336 processors such as LibreOffice. The package also contains a few text
3337 formatting functions that help outputting text compatible with HTML or
3338 LaTeX.")
3339 (license l:gpl3+)))
3340
3341 (define-public r-curl
3342 (package
3343 (name "r-curl")
3344 (version "2.2")
3345 (source (origin
3346 (method url-fetch)
3347 (uri (cran-uri "curl" version))
3348 (sha256
3349 (base32
3350 "0hyvyjzf5ja7kfhzmlfgp86hg1lxrriiwbnr6pxabwwslswj3cmj"))))
3351 (build-system r-build-system)
3352 (arguments
3353 `(#:phases
3354 (modify-phases %standard-phases
3355 ;; The environment variable CURL_CA_BUNDLE is only respected when
3356 ;; running Windows, so we disable the platform checks.
3357 ;; This can be removed once the libcurl has been patched.
3358 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3359 (lambda _
3360 (substitute* "R/onload.R"
3361 (("if \\(!grepl\\(\"mingw\".*")
3362 "if (FALSE)\n"))
3363 (substitute* "src/handle.c"
3364 (("#ifdef _WIN32") "#if 1"))
3365 #t)))))
3366 (inputs
3367 `(("libcurl" ,curl)))
3368 (home-page "https://github.com/jeroenooms/curl")
3369 (synopsis "HTTP client for R")
3370 (description
3371 "The @code{curl()} and @code{curl_download()} functions provide highly
3372 configurable drop-in replacements for base @code{url()} and
3373 @code{download.file()} with better performance, support for encryption, gzip
3374 compression, authentication, and other @code{libcurl} goodies. The core of
3375 the package implements a framework for performing fully customized requests
3376 where data can be processed either in memory, on disk, or streaming via the
3377 callback or connection interfaces.")
3378 (license l:expat)))
3379
3380 (define-public r-hwriter
3381 (package
3382 (name "r-hwriter")
3383 (version "1.3.2")
3384 (source
3385 (origin
3386 (method url-fetch)
3387 (uri (cran-uri "hwriter" version))
3388 (sha256
3389 (base32
3390 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
3391 (build-system r-build-system)
3392 (home-page "http://cran.r-project.org/web/packages/hwriter")
3393 (synopsis "Output R objects in HTML format")
3394 (description
3395 "This package provides easy-to-use and versatile functions to output R
3396 objects in HTML format.")
3397 (license l:lgpl2.1+)))
3398
3399 (define-public r-rjson
3400 (package
3401 (name "r-rjson")
3402 (version "0.2.15")
3403 (source
3404 (origin
3405 (method url-fetch)
3406 (uri (cran-uri "rjson" version))
3407 (sha256
3408 (base32
3409 "1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
3410 (build-system r-build-system)
3411 (home-page "http://cran.r-project.org/web/packages/rjson")
3412 (synopsis "JSON library for R")
3413 (description
3414 "This package provides functions to convert R objects into JSON objects
3415 and vice-versa.")
3416 (license l:gpl2+)))
3417
3418 (define-public gumbo-parser
3419 (package
3420 (name "gumbo-parser")
3421 (version "0.10.1")
3422 (source (origin
3423 (method url-fetch)
3424 (uri (string-append "https://github.com/google/"
3425 "gumbo-parser/archive/v" version ".tar.gz"))
3426 (file-name (string-append name "-" version ".tar.gz"))
3427 (sha256
3428 (base32
3429 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
3430 (build-system gnu-build-system)
3431 (arguments
3432 `(#:tests? #f ; tests require bundling googletest sources
3433 #:phases
3434 (modify-phases %standard-phases
3435 (add-after 'unpack 'bootstrap
3436 (lambda _ (zero? (system* "sh" "autogen.sh")))))))
3437 ;; The release tarball lacks the generated files.
3438 (native-inputs
3439 `(("autoconf" ,autoconf)
3440 ("automake" ,automake)
3441 ("libtool" ,libtool)))
3442 (home-page "https://github.com/google/gumbo-parser")
3443 (synopsis "HTML5 parsing library")
3444 (description
3445 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
3446 a pure C99 library.")
3447 (license l:asl2.0)))
3448
3449 (define-public uwsgi
3450 (package
3451 (name "uwsgi")
3452 (version "2.0.12")
3453 (source (origin
3454 (method url-fetch)
3455 (uri (string-append "http://projects.unbit.it/downloads/uwsgi-"
3456 version ".tar.gz"))
3457 (sha256
3458 (base32
3459 "02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh"))))
3460 (build-system gnu-build-system)
3461 (outputs '("out" "python"))
3462 (arguments
3463 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
3464 ;; But there is no obvious way to run the real tests.
3465 #:tests? #f
3466 #:phases
3467 (modify-phases %standard-phases
3468 (replace 'configure
3469 ;; Configuration is done by writing an ini file.
3470 (lambda* (#:key outputs #:allow-other-keys)
3471 (let* ((out (assoc-ref outputs "out"))
3472 (bindir (string-append out "/bin"))
3473 (plugindir (string-append out "/lib/uwsgi")))
3474 ;; The build phase outputs files to these directories directly.
3475 (mkdir-p bindir)
3476 (mkdir-p plugindir)
3477 ;; XXX: Enable other plugins.
3478 (call-with-output-file "buildconf/guix.ini"
3479 (lambda (port)
3480 (format port "[uwsgi]
3481 yaml = libyaml
3482 bin_name = ~a/uwsgi
3483 plugin_dir = ~a
3484
3485 inherit = base
3486 plugins = cgi,python
3487 embedded_plugins =
3488 " bindir plugindir))))
3489 (setenv "PROFILE" "guix")
3490 #t))
3491 (replace 'install
3492 ;; Move plugins into their own output.
3493 (lambda* (#:key outputs #:allow-other-keys)
3494 (let* ((out (assoc-ref outputs "out"))
3495 (plugindir (string-append out "/lib/uwsgi"))
3496 (python-plugin (string-append
3497 plugindir "/python_plugin.so")))
3498 (install-file python-plugin
3499 (string-append
3500 (assoc-ref outputs "python") "/lib/uwsgi"))
3501 (delete-file python-plugin)
3502 #t))))))
3503 (native-inputs
3504 `(("pkg-config" ,pkg-config)
3505 ("python" ,python-wrapper)))
3506 (inputs
3507 `(("jansson" ,jansson)
3508 ("libxml2" ,libxml2)
3509 ("libyaml" ,libyaml)
3510 ("openssl" ,openssl)
3511 ("pcre" ,pcre)
3512 ("zlib" ,zlib)
3513 ;; For plugins.
3514 ("python" ,python)))
3515 (home-page "https://uwsgi-docs.readthedocs.org/")
3516 (synopsis "Application container server")
3517 (description
3518 "uWSGI presents a complete stack for networked/clustered web applications,
3519 implementing message/object passing, caching, RPC and process management.
3520 It uses the uwsgi protocol for all the networking/interprocess communications.")
3521 (license l:gpl2+))) ; with linking exception
3522
3523 (define-public jq
3524 (package
3525 (name "jq")
3526 (version "1.5")
3527 (source (origin
3528 (method url-fetch)
3529 (uri (string-append "https://github.com/stedolan/" name
3530 "/releases/download/" name "-" version
3531 "/" name "-" version ".tar.gz"))
3532 (sha256
3533 (base32
3534 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
3535 ;; This patch has been pushed and the vulnerability will be
3536 ;; fixed in the next release after 1.5.
3537 ;; https://github.com/stedolan/jq/issues/995
3538 (patches (search-patches "jq-CVE-2015-8863.patch"))))
3539 (inputs
3540 `(("oniguruma" ,oniguruma)))
3541 (native-inputs
3542 `(;; TODO fix gems to generate documentation
3543 ;;("ruby" ,ruby)
3544 ;;("bundler" ,bundler)
3545 ("valgrind" ,valgrind)))
3546 (build-system gnu-build-system)
3547 (home-page "http://stedolan.github.io/jq/")
3548 (synopsis "Command-line JSON processor")
3549 (description "jq is like sed for JSON data – you can use it to slice and
3550 filter and map and transform structured data with the same ease that sed, awk,
3551 grep and friends let you play with text. It is written in portable C. jq can
3552 mangle the data format that you have into the one that you want with very
3553 little effort, and the program to do so is often shorter and simpler than
3554 you'd expect.")
3555 (license (list l:expat l:cc-by3.0))))
3556
3557 (define-public uhttpmock
3558 (package
3559 (name "uhttpmock")
3560 (version "0.5.0")
3561 (source
3562 (origin
3563 (method url-fetch)
3564 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
3565 name "-" version ".tar.xz"))
3566 (sha256
3567 (base32
3568 "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"))))
3569 (build-system glib-or-gtk-build-system)
3570 (arguments
3571 `(#:phases
3572 (modify-phases %standard-phases
3573 (add-before 'check 'use-empty-ssl-cert-file
3574 (lambda _
3575 ;; Search for ca-certificates.crt files
3576 ;; during the check phase.
3577 (setenv "SSL_CERT_FILE" "/dev/null")
3578 #t)))))
3579 (native-inputs
3580 `(("gobject-introspection" ,gobject-introspection)
3581 ;; For check phase.
3582 ("glib-networking" ,glib-networking)
3583 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3584 ("pkg-config" ,pkg-config)))
3585 (inputs
3586 `(("libsoup" ,libsoup)))
3587 (home-page "https://gitlab.com/groups/uhttpmock")
3588 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
3589 (description
3590 "Uhttpmock is a project for mocking web service APIs which use HTTP or
3591 HTTPS. It provides a library, libuhttpmock, which implements recording and
3592 playback of HTTP request/response traces.")
3593 (license l:lgpl2.1+)))
3594
3595 (define-public woof
3596 (package
3597 (name "woof")
3598 (version "2012-05-31")
3599 (source (origin
3600 (method url-fetch)
3601 (uri (string-append
3602 "http://www.home.unix-ag.org/simon/woof-"
3603 version ".py"))
3604 (sha256
3605 (base32
3606 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
3607 (build-system trivial-build-system)
3608 (arguments
3609 '(#:modules ((guix build utils))
3610 #:builder
3611 (begin
3612 (use-modules (guix build utils))
3613 (let* ((source (assoc-ref %build-inputs "source"))
3614 (out (assoc-ref %outputs "out"))
3615 (bin (string-append out "/bin"))
3616 (python (assoc-ref %build-inputs "python")))
3617 (mkdir-p bin)
3618 (with-directory-excursion bin
3619 (copy-file source "woof")
3620 (patch-shebang "woof" (list (string-append python "/bin")))
3621 (chmod "woof" #o555))
3622 #t))))
3623 (inputs `(("python" ,python-2)))
3624 (home-page "http://www.home.unix-ag.org/simon/woof.html")
3625 (synopsis "Single file web server")
3626 (description "Woof (Web Offer One File) is a small simple web server that
3627 can easily be invoked on a single file. Your partner can access the file with
3628 tools they trust (e.g. wget).")
3629 (license l:gpl2+)))
3630
3631 (define-public netsurf
3632 (package
3633 (name "netsurf")
3634 (version "3.5")
3635 (source
3636 (origin
3637 (method url-fetch)
3638 (uri (string-append "https://download.netsurf-browser.org/"
3639 "netsurf/releases/source-full/netsurf-all-"
3640 version ".tar.gz"))
3641 (sha256
3642 (base32
3643 "1vdldzcv42wykajmw8vbql0f1yd44gbx30kywfrrh2x3064ly609"))
3644 (modules '((guix build utils)))
3645 (snippet
3646 '(begin
3647 (substitute* "Makefile"
3648 ;; Do not clobber PKG_CONFIG_PATH from the environment
3649 (("PKG_CONFIG_PATH = \\$")
3650 "PKG_CONFIG_PATH := $(PKG_CONFIG_PATH):$")
3651 ;; Honor make variables
3652 (("shell cc") "shell $(CC)"))))
3653 (patches (search-patches "netsurf-about.patch"))))
3654 (build-system glib-or-gtk-build-system)
3655 (native-inputs
3656 `(("pkg-config" ,pkg-config)
3657 ("perl" ,perl)
3658 ("perl-html-parser" ,perl-html-parser)
3659 ("flex" ,flex)
3660 ("bison" ,bison)))
3661 (inputs
3662 `(("gtk+" ,gtk+-2)
3663 ("gperf" ,gperf)
3664 ("curl" ,curl)
3665 ("openssl" ,openssl)
3666 ("libpng" ,libpng)
3667 ("libjpeg" ,libjpeg)
3668 ("expat" ,expat)))
3669 (arguments
3670 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
3671 ,(string-append "PREFIX=" %output))
3672 #:parallel-build? #f ;parallel builds not supported
3673 #:tests? #f ;no way to easily run from release tarball
3674 #:modules ((ice-9 rdelim)
3675 (ice-9 match)
3676 (srfi srfi-1)
3677 (sxml simple)
3678 ,@%glib-or-gtk-build-system-modules)
3679 #:phases
3680 (modify-phases %standard-phases
3681 (replace 'configure
3682 (lambda _
3683 (call-with-output-file "netsurf/Makefile.config"
3684 (lambda (port)
3685 (format port "~
3686 NETSURF_GTK_RESOURCES := $(PREFIX)/share/netsurf/~@
3687 ")))
3688 #t))
3689 (add-after 'build 'adjust-welcome
3690 (lambda _
3691 ;; First, fix some unended tags and simple substitutions
3692 (substitute* "netsurf/gtk/res/welcome.html"
3693 (("<(img|input)([^>]*)>" _ tag contents)
3694 (string-append "<" tag contents " />"))
3695 (("Licence") "License") ;prefer GNU spelling
3696 ((" open source") ", free software")
3697 (("web&nbsp;site") "website")
3698 ;; Prefer privacy-respecting default search engine
3699 (("www.google.co.uk") "www.duckduckgo.com/html")
3700 (("Google Search") "DuckDuckGo Search")
3701 (("name=\"btnG\"") ""))
3702 ;; Remove default links so it doesn't seem we're endorsing them
3703 (with-atomic-file-replacement "netsurf/gtk/res/welcome.html"
3704 (lambda (in out)
3705 ;; Leave the DOCTYPE header as is
3706 (display (read-line in 'concat) out)
3707 (sxml->xml
3708 (let rec ((sxml (xml->sxml in)))
3709 ;; We'd like to use sxml-match here, but it can't
3710 ;; match against generic tag symbols...
3711 (match sxml
3712 (`(div (@ (class "links")) . ,rest)
3713 '())
3714 ((x ...)
3715 (map rec x))
3716 (x x)))
3717 out)))
3718 #t))
3719 (add-after 'install 'install-more
3720 (lambda* (#:key outputs #:allow-other-keys)
3721 (let* ((out (assoc-ref outputs "out"))
3722 (desktop (string-append out "/share/applications/"
3723 "netsurf.desktop")))
3724 (mkdir-p (dirname desktop))
3725 (copy-file "netsurf/gtk/res/netsurf-gtk.desktop"
3726 desktop)
3727 (substitute* desktop
3728 (("netsurf-gtk") (string-append out "/bin/netsurf"))
3729 (("netsurf.png") (string-append out "/share/netsurf/"
3730 "netsurf.xpm")))
3731 (install-file "netsurf/Docs/netsurf-gtk.1"
3732 (string-append out "/share/man/man1/"))
3733 #t))))))
3734 (home-page "https://www.netsurf-browser.org")
3735 (synopsis "Web browser")
3736 (description
3737 "NetSurf is a lightweight web browser that has its own layout and
3738 rendering engine entirely written from scratch. It is small and capable of
3739 handling many of the web standards in use today.")
3740 (license l:gpl2+)))
3741
3742 (define-public surfraw
3743 (package
3744 (name "surfraw")
3745 (version "2.2.9")
3746 (source (origin
3747 (method url-fetch)
3748 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
3749 name "-" version ".tar.gz"))
3750 (sha256
3751 (base32
3752 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
3753 (build-system gnu-build-system)
3754 (inputs
3755 `(("perl" ,perl)
3756 ("perl-www-opensearch" ,perl-www-opensearch)
3757 ("perl-html-parser" ,perl-html-parser)
3758 ("perl-libwww" ,perl-libwww)))
3759 (synopsis "Unix command line interface to the www")
3760 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
3761 provides a unix command line interface to a variety of popular www search engines
3762 and similar services.")
3763 (home-page "https://surfraw.alioth.debian.org/")
3764 (license l:public-domain)))
3765
3766 (define-public darkhttpd
3767 (package
3768 (name "darkhttpd")
3769 (version "1.12")
3770 (source
3771 (origin
3772 ;; The darkhttpd release tarball URL fails to download with a
3773 ;; 'TLS warning alert'. Download from the darkhttpd git repo
3774 ;; until the problem has been fixed upstream.
3775 (method git-fetch)
3776 (uri (git-reference
3777 (url (string-append "https://unix4lyfe.org/git/darkhttpd"))
3778 (commit "41b68476c35270f47dcd2ddebe27cbcd87e43d41")))
3779 (sha256
3780 (base32
3781 "0wi8dfgj4ic0fsy4dszl69xgxdxlwxz4c30vsw2i2dpnczgjm04k"))
3782 (file-name (string-append name "-" version "-checkout"))))
3783 (build-system gnu-build-system)
3784 (arguments
3785 `(#:make-flags '("CC=gcc")
3786 #:tests? #f ; No test suite
3787 #:phases
3788 (modify-phases %standard-phases
3789 (delete 'configure)
3790 (replace 'install
3791 (lambda* (#:key outputs #:allow-other-keys)
3792 (install-file "darkhttpd"
3793 (string-append (assoc-ref outputs "out")
3794 "/bin"))
3795 #t)))))
3796 (synopsis "Simple static web server")
3797 (description "darkhttpd is a simple static web server. It is
3798 standalone and does not need inetd or ucspi-tcp. It does not need any
3799 config files---you only have to specify the www root.")
3800 (home-page "https://unix4lyfe.org/darkhttpd/")
3801 (license l:isc)))
3802
3803 (define-public goaccess
3804 (package
3805 (name "goaccess")
3806 (version "1.0.2")
3807 (source (origin
3808 (method url-fetch)
3809 (uri (string-append "http://tar.goaccess.io/goaccess-"
3810 version ".tar.gz"))
3811 (sha256
3812 (base32
3813 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
3814 (modules '((guix build utils)))
3815 (snippet
3816 '(substitute* "src/error.h"
3817 (("__DATE__") "\"1970-01-01\"")
3818 (("__TIME__") "\"00:00:00\"")))))
3819 (build-system gnu-build-system)
3820 (inputs
3821 ;; TODO: Add dependency on geoip-tools.
3822 `(("glib" ,glib)
3823 ("ncurses" ,ncurses)))
3824 (native-inputs
3825 `(("pkg-config" ,pkg-config)))
3826 (home-page "https://goaccess.io")
3827 (synopsis "Analyze Web server logs in real time")
3828 (description
3829 "GoAccess is a real-time web log analyzer and interactive viewer that
3830 runs in a terminal or through your browser. It provides fast and valuable
3831 HTTP statistics for system administrators that require a visual server report
3832 on the fly.")
3833 (license l:x11)))
3834
3835 (define-public httptunnel
3836 (package
3837 (name "httptunnel")
3838 (version "3.3")
3839 (source
3840 (origin
3841 (method url-fetch)
3842 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
3843 name "-" version ".tar.gz"))
3844 (sha256
3845 (base32
3846 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
3847 (modules '((guix build utils)))
3848 (snippet
3849 ;; Remove non-free IETF RFC documentation.
3850 '(delete-file-recursively "doc"))))
3851 (build-system gnu-build-system)
3852 (arguments
3853 `(#:phases
3854 (modify-phases %standard-phases
3855 ;; The default configure phase tries to pass environment variables as
3856 ;; command-line arguments, which confuses the ./configure script.
3857 (replace 'configure
3858 (lambda* (#:key outputs #:allow-other-keys)
3859 (let* ((out (assoc-ref outputs "out")))
3860 (setenv "CONFIG_SHELL" (which "bash"))
3861 (zero? (system* "./configure"
3862 (string-append "--prefix=" out)))))))))
3863 (home-page "http://www.nocrew.org/software/httptunnel.html")
3864 (synopsis "Tunnel data connections through HTTP requests")
3865 (description "httptunnel creates a bidirectional virtual data connection
3866 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
3867 useful for users behind restrictive firewalls. As long as Web traffic is
3868 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
3869 tools like SSH (Secure Shell) to reach the outside world.")
3870 (license l:gpl2+)))