Merge branch 'master' into core-updates
[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.32")
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 "0zyx4r2bxc6d48m70fhcq80nw0q9wnfz6qgn1g0r6bigqgdjq4dw"))))
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.17")
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 "1rnxmsd9dsqz4xc0g9ynafxi934jwp0nixbg92q3bc2h46xcccy8"))))
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-libwww" ,perl-libwww)
920 ("perl-moose" ,perl-moose)
921 ("perl-mro-compat" ,perl-mro-compat)
922 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
923 ("perl-params-validate" ,perl-params-validate)
924 ("perl-uri-find" ,perl-uri-find)))
925 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
926 (synopsis "Automated REST Method Dispatching")
927 (description "This Action handles doing automatic method dispatching for
928 REST requests. It takes a normal Catalyst action, and changes the dispatch to
929 append an underscore and method name. First it will try dispatching to an
930 action with the generated name, and failing that it will try to dispatch to a
931 regular method.")
932 (license (package-license perl))))
933
934 (define-public perl-catalyst-authentication-store-dbix-class
935 (package
936 (name "perl-catalyst-authentication-store-dbix-class")
937 (version "0.1506")
938 (source
939 (origin
940 (method url-fetch)
941 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
942 "Catalyst-Authentication-Store-DBIx-Class-"
943 version ".tar.gz"))
944 (sha256
945 (base32
946 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
947 (build-system perl-build-system)
948 (native-inputs
949 `(("perl-catalyst-plugin-authorization-roles"
950 ,perl-catalyst-plugin-authorization-roles)
951 ("perl-catalyst-plugin-session-state-cookie"
952 ,perl-catalyst-plugin-session-state-cookie)
953 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
954 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
955 (propagated-inputs
956 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
957 ("perl-catalyst-plugin-authentication"
958 ,perl-catalyst-plugin-authentication)
959 ("perl-dbix-class" ,perl-dbix-class)
960 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
961 (home-page
962 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
963 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
964 (description "The Catalyst::Authentication::Store::DBIx::Class class
965 provides access to authentication information stored in a database via
966 DBIx::Class.")
967 (license (package-license perl))))
968
969 (define-public perl-catalyst-component-instancepercontext
970 (package
971 (name "perl-catalyst-component-instancepercontext")
972 (version "0.001001")
973 (source
974 (origin
975 (method url-fetch)
976 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
977 "Catalyst-Component-InstancePerContext-"
978 version ".tar.gz"))
979 (sha256
980 (base32
981 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
982 (build-system perl-build-system)
983 (propagated-inputs
984 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
985 ("perl-moose" ,perl-moose)))
986 (home-page
987 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
988 (synopsis "Create only one instance of Moose component per context")
989 (description "Catalyst::Component::InstancePerContext returns a new
990 instance of a component on each request.")
991 (license (package-license perl))))
992
993 (define-public perl-catalyst-devel
994 (package
995 (name "perl-catalyst-devel")
996 (version "1.39")
997 (source
998 (origin
999 (method url-fetch)
1000 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1001 "Catalyst-Devel-" version ".tar.gz"))
1002 (sha256
1003 (base32
1004 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1005 (build-system perl-build-system)
1006 (native-inputs
1007 `(("perl-test-fatal" ,perl-test-fatal)))
1008 (propagated-inputs
1009 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1010 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1011 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1012 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1013 ("perl-config-general" ,perl-config-general)
1014 ("perl-file-changenotify" ,perl-file-changenotify)
1015 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1016 ("perl-file-sharedir" ,perl-file-sharedir)
1017 ("perl-module-install" ,perl-module-install)
1018 ("perl-moose" ,perl-moose)
1019 ("perl-moosex-emulate-class-accessor-fast"
1020 ,perl-moosex-emulate-class-accessor-fast)
1021 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1022 ("perl-namespace-clean" ,perl-namespace-clean)
1023 ("perl-path-class" ,perl-path-class)
1024 ("perl-template-toolkit" ,perl-template-toolkit)))
1025 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1026 (synopsis "Catalyst Development Tools")
1027 (description "The Catalyst-Devel distribution includes a variety of
1028 modules useful for the development of Catalyst applications, but not required
1029 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1030 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1031 extension for Catalyst; and requirements for a variety of development-related
1032 modules.")
1033 (license (package-license perl))))
1034
1035 (define-public perl-catalyst-dispatchtype-regex
1036 (package
1037 (name "perl-catalyst-dispatchtype-regex")
1038 (version "5.90035")
1039 (source
1040 (origin
1041 (method url-fetch)
1042 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1043 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1044 (sha256
1045 (base32
1046 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1047 (build-system perl-build-system)
1048 (native-inputs
1049 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1050 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1051 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1052 (propagated-inputs
1053 `(("perl-moose" ,perl-moose)
1054 ("perl-text-simpletable" ,perl-text-simpletable)))
1055 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1056 (synopsis "Regex DispatchType for Catalyst")
1057 (description "Dispatch type managing path-matching behaviour using
1058 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1059 core. It is recommend that you use Chained methods or other techniques
1060 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1061 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1062 when the dispatch type is first seen in your application.")
1063 (license (package-license perl))))
1064
1065 (define-public perl-catalyst-model-dbic-schema
1066 (package
1067 (name "perl-catalyst-model-dbic-schema")
1068 (version "0.65")
1069 (source
1070 (origin
1071 (method url-fetch)
1072 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1073 "Catalyst-Model-DBIC-Schema-"
1074 version ".tar.gz"))
1075 (sha256
1076 (base32
1077 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1078 (build-system perl-build-system)
1079 (native-inputs
1080 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1081 ("perl-test-exception" ,perl-test-exception)
1082 ("perl-test-requires" ,perl-test-requires)))
1083 (propagated-inputs
1084 `(("perl-carp-clan" ,perl-carp-clan)
1085 ("perl-catalyst-component-instancepercontext"
1086 ,perl-catalyst-component-instancepercontext)
1087 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1088 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1089 ("perl-dbix-class" ,perl-dbix-class)
1090 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1091 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1092 ("perl-hash-merge" ,perl-hash-merge)
1093 ("perl-list-moreutils" ,perl-list-moreutils)
1094 ("perl-module-runtime" ,perl-module-runtime)
1095 ("perl-moose" ,perl-moose)
1096 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1097 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1098 ("perl-moosex-types" ,perl-moosex-types)
1099 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1100 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1101 ("perl-namespace-clean" ,perl-namespace-clean)
1102 ("perl-tie-ixhash" ,perl-tie-ixhash)
1103 ("perl-try-tiny" ,perl-try-tiny)))
1104 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1105 (synopsis "DBIx::Class::Schema Model Class")
1106 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1107 Models.")
1108 (license (package-license perl))))
1109
1110 (define-public perl-catalyst-plugin-accesslog
1111 (package
1112 (name "perl-catalyst-plugin-accesslog")
1113 (version "1.05")
1114 (source
1115 (origin
1116 (method url-fetch)
1117 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1118 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1119 (sha256
1120 (base32
1121 "0hqvckaw91q5yc25a33bp0d4qqxlgkp7rxlvi8n8svxd1406r55s"))))
1122 (build-system perl-build-system)
1123 (propagated-inputs
1124 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1125 ("perl-datetime" ,perl-datetime)
1126 ("perl-moose" ,perl-moose)
1127 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1128 (arguments `(#:tests? #f)) ;Unexpected http responses
1129 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1130 (synopsis "Request logging from within Catalyst")
1131 (description "This Catalyst plugin enables you to create \"access logs\"
1132 from within a Catalyst application instead of requiring a webserver to do it
1133 for you. It will work even with Catalyst debug logging turned off.")
1134 (license (package-license perl))))
1135
1136 (define-public perl-catalyst-plugin-authentication
1137 (package
1138 (name "perl-catalyst-plugin-authentication")
1139 (version "0.10023")
1140 (source
1141 (origin
1142 (method url-fetch)
1143 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1144 "Catalyst-Plugin-Authentication-"
1145 version ".tar.gz"))
1146 (sha256
1147 (base32
1148 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1149 (build-system perl-build-system)
1150 (propagated-inputs
1151 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1152 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1153 ("perl-class-inspector" ,perl-class-inspector)
1154 ("perl-moose" ,perl-moose)
1155 ("perl-moosex-emulate-class-accessor-fast"
1156 ,perl-moosex-emulate-class-accessor-fast)
1157 ("perl-mro-compat" ,perl-mro-compat)
1158 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1159 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1160 ("perl-test-exception" ,perl-test-exception)
1161 ("perl-try-tiny" ,perl-try-tiny)))
1162 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1163 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1164 (description "The authentication plugin provides generic user support for
1165 Catalyst apps. It is the basis for both authentication (checking the user is
1166 who they claim to be), and authorization (allowing the user to do what the
1167 system authorises them to do).")
1168 (license (package-license perl))))
1169
1170 (define-public perl-catalyst-plugin-authorization-roles
1171 (package
1172 (name "perl-catalyst-plugin-authorization-roles")
1173 (version "0.09")
1174 (source
1175 (origin
1176 (method url-fetch)
1177 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1178 "Catalyst-Plugin-Authorization-Roles-"
1179 version ".tar.gz"))
1180 (sha256
1181 (base32
1182 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1183 (build-system perl-build-system)
1184 (native-inputs
1185 `(("perl-test-exception" ,perl-test-exception)))
1186 (propagated-inputs
1187 `(("perl-catalyst-plugin-authentication"
1188 ,perl-catalyst-plugin-authentication)
1189 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1190 ("perl-set-object" ,perl-set-object)
1191 ("perl-universal-isa" ,perl-universal-isa)))
1192 (home-page
1193 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1194 (synopsis "Role-based authorization for Catalyst")
1195 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1196 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1197 (license (package-license perl))))
1198
1199 (define-public perl-catalyst-plugin-captcha
1200 (package
1201 (name "perl-catalyst-plugin-captcha")
1202 (version "0.04")
1203 (source
1204 (origin
1205 (method url-fetch)
1206 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1207 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1208 (sha256
1209 (base32
1210 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1211 (build-system perl-build-system)
1212 (propagated-inputs
1213 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1214 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1215 ("perl-gd-securityimage" ,perl-gd-securityimage)
1216 ("perl-http-date" ,perl-http-date)))
1217 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1218 (synopsis "Captchas for Catalyst")
1219 (description "This plugin creates and validates Captcha images for
1220 Catalyst.")
1221 (license (package-license perl))))
1222
1223 (define-public perl-catalyst-plugin-configloader
1224 (package
1225 (name "perl-catalyst-plugin-configloader")
1226 (version "0.34")
1227 (source
1228 (origin
1229 (method url-fetch)
1230 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1231 "Catalyst-Plugin-ConfigLoader-"
1232 version ".tar.gz"))
1233 (sha256
1234 (base32
1235 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1236 (build-system perl-build-system)
1237 (native-inputs
1238 `(("perl-path-class" ,perl-path-class)))
1239 (propagated-inputs
1240 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1241 ("perl-config-any" ,perl-config-any)
1242 ("perl-data-visitor" ,perl-data-visitor)
1243 ("perl-mro-compat" ,perl-mro-compat)))
1244 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1245 (synopsis "Load config files of various types")
1246 (description "This module will attempt to load find and load configuration
1247 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1248 formats.")
1249 (license (package-license perl))))
1250
1251 (define-public perl-catalyst-plugin-session
1252 (package
1253 (name "perl-catalyst-plugin-session")
1254 (version "0.39")
1255 (source
1256 (origin
1257 (method url-fetch)
1258 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1259 "Catalyst-Plugin-Session-" version ".tar.gz"))
1260 (sha256
1261 (base32
1262 "0m4a003qgz7848iyckwbigg2vw3kmfxggh1razrnzxrbz3n6x5gi"))))
1263 (build-system perl-build-system)
1264 (native-inputs
1265 `(("perl-test-deep" ,perl-test-deep)
1266 ("perl-test-exception" ,perl-test-exception)))
1267 (propagated-inputs
1268 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1269 ("perl-moose" ,perl-moose)
1270 ("perl-moosex-emulate-class-accessor-fast"
1271 ,perl-moosex-emulate-class-accessor-fast)
1272 ("perl-namespace-clean" ,perl-namespace-clean)
1273 ("perl-object-signature" ,perl-object-signature)
1274 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1275 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1276 (synopsis "Catalyst generic session plugin")
1277 (description "This plugin links the two pieces required for session
1278 management in web applications together: the state, and the store.")
1279 (license (package-license perl))))
1280
1281 (define-public perl-catalyst-plugin-session-state-cookie
1282 (package
1283 (name "perl-catalyst-plugin-session-state-cookie")
1284 (version "0.17")
1285 (source
1286 (origin
1287 (method url-fetch)
1288 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1289 "Catalyst-Plugin-Session-State-Cookie-"
1290 version ".tar.gz"))
1291 (sha256
1292 (base32
1293 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1294 (build-system perl-build-system)
1295 (propagated-inputs
1296 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1297 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1298 ("perl-moose" ,perl-moose)
1299 ("perl-mro-compat" ,perl-mro-compat)
1300 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1301 (home-page
1302 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1303 (synopsis "Maintain session IDs using cookies")
1304 (description "In order for Catalyst::Plugin::Session to work, the session
1305 ID needs to be stored on the client, and the session data needs to be stored
1306 on the server. This plugin stores the session ID on the client using the
1307 cookie mechanism.")
1308 (license (package-license perl))))
1309
1310 (define-public perl-catalyst-plugin-session-store-fastmmap
1311 (package
1312 (name "perl-catalyst-plugin-session-store-fastmmap")
1313 (version "0.16")
1314 (source
1315 (origin
1316 (method url-fetch)
1317 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1318 "Catalyst-Plugin-Session-Store-FastMmap-"
1319 version ".tar.gz"))
1320 (sha256
1321 (base32
1322 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1323 (build-system perl-build-system)
1324 (propagated-inputs
1325 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1326 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1327 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1328 ("perl-moosex-emulate-class-accessor-fast"
1329 ,perl-moosex-emulate-class-accessor-fast)
1330 ("perl-mro-compat" ,perl-mro-compat)
1331 ("perl-path-class" ,perl-path-class)))
1332 (home-page
1333 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
1334 (synopsis "FastMmap session storage backend")
1335 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1336 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1337 memory interprocess cache. It is based on Cache::FastMmap.")
1338 (license (package-license perl))))
1339
1340 (define-public perl-catalyst-plugin-stacktrace
1341 (package
1342 (name "perl-catalyst-plugin-stacktrace")
1343 (version "0.12")
1344 (source
1345 (origin
1346 (method url-fetch)
1347 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1348 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1349 (sha256
1350 (base32
1351 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1352 (build-system perl-build-system)
1353 (propagated-inputs
1354 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1355 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1356 ("perl-mro-compat" ,perl-mro-compat)))
1357 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1358 (synopsis "Stack trace on the Catalyst debug screen")
1359 (description "This plugin enhances the standard Catalyst debug screen by
1360 including a stack trace of your application up to the point where the error
1361 occurred. Each stack frame is displayed along with the package name, line
1362 number, file name, and code context surrounding the line number.")
1363 (license (package-license perl))))
1364
1365 (define-public perl-catalyst-plugin-static-simple
1366 (package
1367 (name "perl-catalyst-plugin-static-simple")
1368 (version "0.33")
1369 (source
1370 (origin
1371 (method url-fetch)
1372 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1373 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1374 (sha256
1375 (base32
1376 "1h8f12bhzh0ssq9gs8r9g3hqn8zn2k0q944vc1vm8j81bns16msy"))))
1377 (build-system perl-build-system)
1378 (propagated-inputs
1379 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1380 ("perl-mime-types" ,perl-mime-types)
1381 ("perl-moose" ,perl-moose)
1382 ("perl-moosex-types" ,perl-moosex-types)
1383 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1384 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1385 (synopsis "Simple serving of static pages")
1386 (description "The Static::Simple plugin is designed to make serving static
1387 content in your application during development quick and easy, without
1388 requiring a single line of code from you. This plugin detects static files by
1389 looking at the file extension in the URL (such as .css or .png or .js). The
1390 plugin uses the lightweight MIME::Types module to map file extensions to
1391 IANA-registered MIME types, and will serve your static files with the correct
1392 MIME type directly to the browser, without being processed through Catalyst.")
1393 (license (package-license perl))))
1394
1395 (define-public perl-catalyst-runtime
1396 (package
1397 (name "perl-catalyst-runtime")
1398 (version "5.90082")
1399 (source
1400 (origin
1401 (method url-fetch)
1402 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1403 "Catalyst-Runtime-" version ".tar.gz"))
1404 (sha256
1405 (base32
1406 "1gs70nq4rikpq6siwds9disb1z03vwjzf979xi9kf7saa1drfncs"))))
1407 (build-system perl-build-system)
1408 (native-inputs
1409 `(("perl-test-fatal" ,perl-test-fatal)))
1410 (propagated-inputs
1411 `(("perl-cgi-simple" ,perl-cgi-simple)
1412 ("perl-cgi-struct" ,perl-cgi-struct)
1413 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1414 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1415 ("perl-class-date" ,perl-class-date)
1416 ("perl-class-load" ,perl-class-load)
1417 ("perl-data-dump" ,perl-data-dump)
1418 ("perl-http-body" ,perl-http-body)
1419 ("perl-http-message" ,perl-http-message)
1420 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1421 ("perl-io-stringy" ,perl-io-stringy)
1422 ("perl-json-maybexs" ,perl-json-maybexs)
1423 ("perl-libwww" ,perl-libwww)
1424 ("perl-module-pluggable" ,perl-module-pluggable)
1425 ("perl-moose" ,perl-moose)
1426 ("perl-moosex-emulate-class-accessor-fast"
1427 ,perl-moosex-emulate-class-accessor-fast)
1428 ("perl-moosex-getopt" ,perl-moosex-getopt)
1429 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1430 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1431 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1432 ("perl-namespace-clean" ,perl-namespace-clean)
1433 ("perl-path-class" ,perl-path-class)
1434 ("perl-plack" ,perl-plack)
1435 ("perl-plack-middleware-fixmissingbodyinredirect"
1436 ,perl-plack-middleware-fixmissingbodyinredirect)
1437 ("perl-plack-middleware-methodoverride"
1438 ,perl-plack-middleware-methodoverride)
1439 ("perl-plack-middleware-removeredundantbody"
1440 ,perl-plack-middleware-removeredundantbody)
1441 ("perl-plack-middleware-reverseproxy"
1442 ,perl-plack-middleware-reverseproxy)
1443 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1444 ("perl-safe-isa" ,perl-safe-isa)
1445 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1446 ("perl-text-simpletable" ,perl-text-simpletable)
1447 ("perl-tree-simple" ,perl-tree-simple)
1448 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1449 ("perl-try-tiny" ,perl-try-tiny)
1450 ("perl-uri" ,perl-uri)
1451 ("perl-uri-ws" ,perl-uri-ws)))
1452 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1453 (synopsis "The Catalyst Framework Runtime")
1454 (description "Catalyst is a modern framework for making web applications.
1455 It is designed to make it easy to manage the various tasks you need to do to
1456 run an application on the web, either by doing them itself, or by letting you
1457 \"plug in\" existing Perl modules that do what you need.")
1458 (license (package-license perl))))
1459
1460 (define-public perl-catalyst-traitfor-request-proxybase
1461 (package
1462 (name "perl-catalyst-traitfor-request-proxybase")
1463 (version "0.000005")
1464 (source
1465 (origin
1466 (method url-fetch)
1467 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1468 "Catalyst-TraitFor-Request-ProxyBase-"
1469 version ".tar.gz"))
1470 (sha256
1471 (base32
1472 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1473 (build-system perl-build-system)
1474 (native-inputs
1475 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1476 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1477 ("perl-http-message" ,perl-http-message)))
1478 (propagated-inputs
1479 `(("perl-moose" ,perl-moose)
1480 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1481 ("perl-uri" ,perl-uri)))
1482 (home-page
1483 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1484 (synopsis "Replace request base with value passed by HTTP proxy")
1485 (description "This module is a Moose::Role which allows you more
1486 flexibility in your application's deployment configurations when deployed
1487 behind a proxy. Using this module, the request base ($c->req->base) is
1488 replaced with the contents of the X-Request-Base header.")
1489 (license (package-license perl))))
1490
1491 (define-public perl-catalyst-view-download
1492 (package
1493 (name "perl-catalyst-view-download")
1494 (version "0.09")
1495 (source
1496 (origin
1497 (method url-fetch)
1498 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1499 "Catalyst-View-Download-" version ".tar.gz"))
1500 (sha256
1501 (base32
1502 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1503 (build-system perl-build-system)
1504 (native-inputs
1505 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1506 ("perl-test-simple" ,perl-test-simple)
1507 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1508 ("perl-text-csv" ,perl-text-csv)
1509 ("perl-xml-simple" ,perl-xml-simple)))
1510 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1511 (synopsis "Download data in many formats")
1512 (description "The purpose of this module is to provide a method for
1513 downloading data into many supportable formats. For example, downloading a
1514 table based report in a variety of formats (CSV, HTML, etc.).")
1515 (license (package-license perl))))
1516
1517 (define-public perl-catalyst-view-json
1518 (package
1519 (name "perl-catalyst-view-json")
1520 (version "0.35")
1521 (source
1522 (origin
1523 (method url-fetch)
1524 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1525 "Catalyst-View-JSON-" version ".tar.gz"))
1526 (sha256
1527 (base32
1528 "184pyghlrkl7p387bnyvswi2d9myvdg4v3lax6xrd59shskvpmkm"))))
1529 (build-system perl-build-system)
1530 (native-inputs
1531 `(("perl-yaml" ,perl-yaml)))
1532 (inputs
1533 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1534 ("perl-json-maybexs" ,perl-json-maybexs)
1535 ("perl-mro-compat" ,perl-mro-compat)))
1536 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1537 (synopsis "Catalyst JSON view")
1538 (description "Catalyst::View::JSON is a Catalyst View handler that returns
1539 stash data in JSON format.")
1540 (license (package-license perl))))
1541
1542 (define-public perl-catalyst-view-tt
1543 (package
1544 (name "perl-catalyst-view-tt")
1545 (version "0.42")
1546 (source
1547 (origin
1548 (method url-fetch)
1549 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1550 "Catalyst-View-TT-" version ".tar.gz"))
1551 (sha256
1552 (base32
1553 "18ciik9fqaqjfasa9wicbjrsl3gjhjc15xzaj3rif57an25cl178"))))
1554 (build-system perl-build-system)
1555 (propagated-inputs
1556 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1557 ("perl-class-accessor" ,perl-class-accessor)
1558 ("perl-mro-compat" ,perl-mro-compat)
1559 ("perl-path-class" ,perl-path-class)
1560 ("perl-template-timer" ,perl-template-timer)
1561 ("perl-template-toolkit" ,perl-template-toolkit)))
1562 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
1563 (synopsis "Template View Class")
1564 (description "This module is a Catalyst view class for the Template
1565 Toolkit.")
1566 (license (package-license perl))))
1567
1568 (define-public perl-catalystx-component-traits
1569 (package
1570 (name "perl-catalystx-component-traits")
1571 (version "0.19")
1572 (source
1573 (origin
1574 (method url-fetch)
1575 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
1576 "CatalystX-Component-Traits-" version ".tar.gz"))
1577 (sha256
1578 (base32
1579 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
1580 (build-system perl-build-system)
1581 (native-inputs
1582 `(("perl-moose" ,perl-moose)
1583 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1584 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
1585 (propagated-inputs
1586 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1587 ("perl-class-load" ,perl-class-load)
1588 ("perl-moose" ,perl-moose)
1589 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
1590 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1591 ("perl-list-moreutils" ,perl-list-moreutils)))
1592 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
1593 (synopsis "Trait Loading and Resolution for Catalyst Components")
1594 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
1595 Catalyst component base class that reads the optional \"traits\" parameter
1596 from app and component config and instantiates the component subclass with
1597 those traits using \"new_with_traits\" in MooseX::Traits from
1598 MooseX::Traits::Pluggable.")
1599 (license (package-license perl))))
1600
1601 (define-public perl-catalystx-roleapplicator
1602 (package
1603 (name "perl-catalystx-roleapplicator")
1604 (version "0.005")
1605 (source
1606 (origin
1607 (method url-fetch)
1608 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
1609 "CatalystX-RoleApplicator-" version ".tar.gz"))
1610 (sha256
1611 (base32
1612 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
1613 (build-system perl-build-system)
1614 (propagated-inputs
1615 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1616 ("perl-moose" ,perl-moose)
1617 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
1618 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
1619 (synopsis "Apply roles to Catalyst classes")
1620 (description "CatalystX::RoleApplicator applies roles to Catalyst
1621 application classes.")
1622 (license (package-license perl))))
1623
1624 (define-public perl-catalystx-script-server-starman
1625 (package
1626 (name "perl-catalystx-script-server-starman")
1627 (version "0.02")
1628 (source
1629 (origin
1630 (method url-fetch)
1631 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
1632 "CatalystX-Script-Server-Starman-"
1633 version ".tar.gz"))
1634 (sha256
1635 (base32
1636 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
1637 (build-system perl-build-system)
1638 (native-inputs
1639 `(("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1640 (propagated-inputs
1641 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1642 ("perl-moose" ,perl-moose)
1643 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1644 ("starman" ,starman)))
1645 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
1646 (synopsis "Catalyst development server with Starman")
1647 (description "This module provides a Catalyst extension to replace the
1648 development server with Starman.")
1649 (license (package-license perl))))
1650
1651 (define-public perl-cgi
1652 (package
1653 (name "perl-cgi")
1654 (version "4.25")
1655 (source
1656 (origin
1657 (method url-fetch)
1658 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
1659 "CGI-" version ".tar.gz"))
1660 (sha256
1661 (base32
1662 "06hk9zzvlix1yi95wlkb1ykdxgl6lscm7452gkwr2snsb8iybczg"))))
1663 (build-system perl-build-system)
1664 (native-inputs
1665 `(("perl-test-deep" ,perl-test-deep)
1666 ("perl-test-nowarnings" ,perl-test-nowarnings)
1667 ("perl-test-warn" ,perl-test-warn)))
1668 (propagated-inputs
1669 `(("perl-html-parser" ,perl-html-parser)))
1670 (home-page "http://search.cpan.org/dist/CGI")
1671 (synopsis "Handle Common Gateway Interface requests and responses")
1672 (description "CGI.pm is a stable, complete and mature solution for
1673 processing and preparing HTTP requests and responses. Major features include
1674 processing form submissions, file uploads, reading and writing cookies, query
1675 string generation and manipulation, and processing and preparing HTTP
1676 headers.")
1677 (license (package-license perl))))
1678
1679 (define-public perl-cgi-simple
1680 (package
1681 (name "perl-cgi-simple")
1682 (version "1.115")
1683 (source
1684 (origin
1685 (method url-fetch)
1686 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
1687 "CGI-Simple-" version ".tar.gz"))
1688 (sha256
1689 (base32
1690 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
1691 (build-system perl-build-system)
1692 (native-inputs
1693 `(("perl-module-build" ,perl-module-build)
1694 ("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
1695 (home-page "http://search.cpan.org/dist/CGI-Simple")
1696 (synopsis "CGI interface that is CGI.pm compliant")
1697 (description "CGI::Simple provides a relatively lightweight drop in
1698 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
1699 parameter parsing, file upload, cookie handling and header generation.")
1700 (license (package-license perl))))
1701
1702 (define-public perl-cgi-struct
1703 (package
1704 (name "perl-cgi-struct")
1705 (version "1.21")
1706 (source
1707 (origin
1708 (method url-fetch)
1709 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
1710 "CGI-Struct-" version ".tar.gz"))
1711 (sha256
1712 (base32
1713 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
1714 (build-system perl-build-system)
1715 (native-inputs
1716 `(("perl-test-deep" ,perl-test-deep)))
1717 (home-page "http://search.cpan.org/dist/CGI-Struct")
1718 (synopsis "Build structures from CGI data")
1719 (description "This is a module for building structured data from CGI
1720 inputs, in a manner reminiscent of how PHP does.")
1721 (license l:bsd-2)))
1722
1723 (define-public perl-datetime-format-http
1724 (package
1725 (name "perl-datetime-format-http")
1726 (version "0.42")
1727 (source
1728 (origin
1729 (method url-fetch)
1730 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
1731 "DateTime-Format-HTTP-" version ".tar.gz"))
1732 (sha256
1733 (base32
1734 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
1735 (build-system perl-build-system)
1736 (native-inputs
1737 `(("perl-module-build" ,perl-module-build)))
1738 (propagated-inputs
1739 `(("perl-datetime" ,perl-datetime)
1740 ("perl-http-date" ,perl-http-date)))
1741 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
1742 (synopsis "Date conversion routines")
1743 (description "This module provides functions that deal with the date
1744 formats used by the HTTP protocol.")
1745 (license (package-license perl))))
1746
1747 (define-public perl-digest-md5-file
1748 (package
1749 (name "perl-digest-md5-file")
1750 (version "0.08")
1751 (source
1752 (origin
1753 (method url-fetch)
1754 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
1755 "Digest-MD5-File-" version ".tar.gz"))
1756 (sha256
1757 (base32
1758 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
1759 (build-system perl-build-system)
1760 (propagated-inputs
1761 `(("perl-libwww" ,perl-libwww)))
1762 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
1763 (synopsis "MD5 sums for files and urls")
1764 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
1765 for files and urls.")
1766 (license (package-license perl))))
1767
1768 (define-public perl-encode-locale
1769 (package
1770 (name "perl-encode-locale")
1771 (version "1.03")
1772 (source (origin
1773 (method url-fetch)
1774 (uri (string-append
1775 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
1776 version ".tar.gz"))
1777 (sha256
1778 (base32
1779 "0m9d1vdphlyzybgmdanipwd9ndfvyjgk3hzw250r299jjgh3fqzp"))))
1780 (build-system perl-build-system)
1781 (license (package-license perl))
1782 (synopsis "Perl locale encoding determination")
1783 (description
1784 "The POSIX locale system is used to specify both the language
1785 conventions requested by the user and the preferred character set to
1786 consume and output. The Encode::Locale module looks up the charset and
1787 encoding (called a CODESET in the locale jargon) and arranges for the
1788 Encode module to know this encoding under the name \"locale\". It means
1789 bytes obtained from the environment can be converted to Unicode strings
1790 by calling Encode::encode(locale => $bytes) and converted back again
1791 with Encode::decode(locale => $string).")
1792 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
1793
1794 (define-public perl-feed-find
1795 (package
1796 (name "perl-feed-find")
1797 (version "0.07")
1798 (source (origin
1799 (method url-fetch)
1800 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
1801 "Feed-Find-" version ".tar.gz"))
1802 (sha256
1803 (base32
1804 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
1805 (build-system perl-build-system)
1806 (arguments
1807 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
1808 `(#:tests? #f))
1809 (inputs
1810 `(("perl-class-errorhandler" ,perl-class-errorhandler)
1811 ("perl-html-parser" ,perl-html-parser)
1812 ("perl-libwww" ,perl-libwww)
1813 ("perl-uri" ,perl-uri)))
1814 (home-page "http://search.cpan.org/dist/Feed-Find")
1815 (synopsis "Syndication feed auto-discovery")
1816 (description "@code{Feed::Find} implements feed auto-discovery for finding
1817 syndication feeds, given a URI. It will discover the following feed formats:
1818 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
1819 (license (package-license perl))))
1820
1821 (define-public perl-file-listing
1822 (package
1823 (name "perl-file-listing")
1824 (version "6.04")
1825 (source (origin
1826 (method url-fetch)
1827 (uri (string-append
1828 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
1829 version ".tar.gz"))
1830 (sha256
1831 (base32
1832 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
1833 (build-system perl-build-system)
1834 (propagated-inputs
1835 `(("perl-http-date" ,perl-http-date)))
1836 (license (package-license perl))
1837 (synopsis "Perl directory listing parser")
1838 (description
1839 "The File::Listing module exports a single function called parse_dir(),
1840 which can be used to parse directory listings.")
1841 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
1842
1843 (define-public perl-finance-quote
1844 (package
1845 (name "perl-finance-quote")
1846 (version "1.37")
1847 (source
1848 (origin
1849 (method url-fetch)
1850 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
1851 "Finance-Quote-" version ".tar.gz"))
1852 (sha256
1853 (base32
1854 "1b6pbh7f76fb5sa4f0lhx085xy55pprz5v7z7li7pqiyw7i4f4bf"))
1855 (patches (search-patches
1856 "perl-finance-quote-unuse-mozilla-ca.patch"))))
1857 (build-system perl-build-system)
1858 (propagated-inputs
1859 `(("perl-cgi" ,perl-cgi)
1860 ("perl-datetime" ,perl-datetime)
1861 ("perl-html-parser" ,perl-html-parser)
1862 ("perl-html-tableextract" ,perl-html-tableextract)
1863 ("perl-html-tree" ,perl-html-tree)
1864 ("perl-http-cookies" ,perl-http-cookies)
1865 ("perl-http-message" ,perl-http-message)
1866 ("perl-json" ,perl-json)
1867 ("perl-libwww" ,perl-libwww)
1868 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
1869 ("perl-uri" ,perl-uri)))
1870 (home-page "http://search.cpan.org/dist/Finance-Quote")
1871 (synopsis "Stock and mutual fund quotes")
1872 (description
1873 "Finance::Quote gets stock quotes from various internet sources, including
1874 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
1875 (license l:gpl2)))
1876
1877 (define-public perl-gssapi
1878 (package
1879 (name "perl-gssapi")
1880 (version "0.28")
1881 (source
1882 (origin
1883 (method url-fetch)
1884 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
1885 "GSSAPI-" version ".tar.gz"))
1886 (sha256
1887 (base32
1888 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
1889 (build-system perl-build-system)
1890 (inputs `(("gssapi" ,mit-krb5)))
1891 (arguments
1892 `(#:make-maker-flags
1893 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
1894 (home-page "http://search.cpan.org/dist/GSSAPI")
1895 (synopsis "Perl extension providing access to the GSSAPIv2 library")
1896 (description "This is a Perl extension for using GSSAPI C bindings as
1897 described in RFC 2744.")
1898 (license (package-license perl))))
1899
1900 (define-public perl-html-element-extended
1901 (package
1902 (name "perl-html-element-extended")
1903 (version "1.18")
1904 (source
1905 (origin
1906 (method url-fetch)
1907 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
1908 "HTML-Element-Extended-" version ".tar.gz"))
1909 (sha256
1910 (base32
1911 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
1912 (build-system perl-build-system)
1913 (propagated-inputs
1914 `(("perl-html-tree" ,perl-html-tree)))
1915 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
1916 (synopsis "Manipulate tables of HTML::Element")
1917 (description
1918 "HTML::Element::Extended is a Perl extension for manipulating a table
1919 composed of HTML::Element style components.")
1920 (license (package-license perl))))
1921
1922 (define-public perl-html-form
1923 (package
1924 (name "perl-html-form")
1925 (version "6.03")
1926 (source
1927 (origin
1928 (method url-fetch)
1929 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
1930 "HTML-Form-" version ".tar.gz"))
1931 (sha256
1932 (base32
1933 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
1934 (build-system perl-build-system)
1935 (propagated-inputs
1936 `(("perl-html-parser" ,perl-html-parser)
1937 ("perl-html-tagset" ,perl-html-tagset)
1938 ("perl-http-message" ,perl-http-message)
1939 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
1940 ("perl-uri" ,perl-uri)))
1941 (home-page "http://search.cpan.org/dist/HTML-Form")
1942 (synopsis "Perl class representing an HTML form element")
1943 (description "Objects of the HTML::Form class represents a single HTML
1944 <form> ... </form> instance.")
1945 (license (package-license perl))))
1946
1947 (define-public perl-html-lint
1948 (package
1949 (name "perl-html-lint")
1950 (version "2.20")
1951 (source
1952 (origin
1953 (method url-fetch)
1954 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
1955 "HTML-Lint-" version ".tar.gz"))
1956 (sha256
1957 (base32
1958 "15vrqjnlb0f8rib1kqdf4islqy6i33h08wy7b1bkgd550p7lfjwk"))))
1959 (build-system perl-build-system)
1960 (propagated-inputs
1961 `(("perl-html-parser" ,perl-html-parser)
1962 ("perl-html-tagset" ,perl-html-tagset)
1963 ("perl-libwww" ,perl-libwww)))
1964 (home-page "http://search.cpan.org/dist/HTML-Lint")
1965 (synopsis "Check for HTML errors in a string or file")
1966 (description "HTML::Lint is a pure-Perl HTML parser and checker for
1967 syntactic legitmacy.")
1968 (license l:artistic2.0)))
1969
1970 (define-public perl-html-tableextract
1971 (package
1972 (name "perl-html-tableextract")
1973 (version "2.13")
1974 (source
1975 (origin
1976 (method url-fetch)
1977 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
1978 "HTML-TableExtract-" version ".tar.gz"))
1979 (sha256
1980 (base32
1981 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
1982 (build-system perl-build-system)
1983 (propagated-inputs
1984 `(("perl-html-element-extended" ,perl-html-element-extended)
1985 ("perl-html-parser" ,perl-html-parser)))
1986 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
1987 (synopsis "Extract contents from HTML tables")
1988 (description
1989 "HTML::TableExtract is a Perl module for extracting the content contained
1990 in tables within an HTML document, either as text or encoded element trees.")
1991 (license (package-license perl))))
1992
1993 (define-public perl-html-tree
1994 (package
1995 (name "perl-html-tree")
1996 (version "5.03")
1997 (source
1998 (origin
1999 (method url-fetch)
2000 (uri (string-append "mirror://cpan/authors/id/C/CJ/CJM/"
2001 "HTML-Tree-" version ".tar.gz"))
2002 (sha256
2003 (base32
2004 "13qlqbpixw470gnck0xgny8hyjj576m8y24bba2p9ai2lvy76vbx"))))
2005 (build-system perl-build-system)
2006 (native-inputs
2007 `(("perl-module-build" ,perl-module-build)
2008 ("perl-test-fatal" ,perl-test-fatal)))
2009 (propagated-inputs
2010 `(("perl-html-parser" ,perl-html-parser)
2011 ("perl-html-tagset" ,perl-html-tagset)
2012 ("perl-libwww" ,perl-libwww)))
2013 (home-page "http://search.cpan.org/dist/HTML-Tree")
2014 (synopsis "Work with HTML in a DOM-like tree structure")
2015 (description "This distribution contains a suite of modules for
2016 representing, creating, and extracting information from HTML syntax trees.")
2017 (license (package-license perl))))
2018
2019 (define-public perl-html-parser
2020 (package
2021 (name "perl-html-parser")
2022 (version "3.71")
2023 (source (origin
2024 (method url-fetch)
2025 (uri (string-append
2026 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2027 version ".tar.gz"))
2028 (sha256
2029 (base32
2030 "00nqzdgl7c3jilx7mil19k5jwcw3as14pvkjgxi97zyk94vqp4dy"))))
2031 (build-system perl-build-system)
2032 (inputs
2033 `(("perl-html-tagset" ,perl-html-tagset)))
2034 (license (package-license perl))
2035 (synopsis "Perl HTML parser class")
2036 (description
2037 "Objects of the HTML::Parser class will recognize markup and separate
2038 it from plain text (alias data content) in HTML documents. As different
2039 kinds of markup and text are recognized, the corresponding event handlers
2040 are invoked.")
2041 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2042
2043 (define-public perl-html-tagset
2044 (package
2045 (name "perl-html-tagset")
2046 (version "3.20")
2047 (source (origin
2048 (method url-fetch)
2049 (uri (string-append
2050 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2051 version ".tar.gz"))
2052 (sha256
2053 (base32
2054 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2055 (build-system perl-build-system)
2056 (license (package-license perl))
2057 (synopsis "Perl data tables useful in parsing HTML")
2058 (description
2059 "The HTML::Tagset module contains several data tables useful in various
2060 kinds of HTML parsing operations.")
2061 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
2062
2063 (define-public perl-html-template
2064 (package
2065 (name "perl-html-template")
2066 (version "2.95")
2067 (source (origin
2068 (method url-fetch)
2069 (uri (string-append "mirror://cpan/authors/id/W/WO/WONKO/"
2070 "HTML-Template-" version ".tar.gz"))
2071 (sha256
2072 (base32
2073 "07ahpfgidxsw2yb7y8i7bbr8s64aq6qgq832h9jswmksxbd0l43q"))))
2074 (build-system perl-build-system)
2075 (propagated-inputs
2076 `(("perl-cgi" ,perl-cgi)))
2077 (home-page "http://search.cpan.org/dist/HTML-Template")
2078 (synopsis "HTML-like templates")
2079 (description
2080 "This module attempts to make using HTML templates simple and natural.
2081 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2082 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2083 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2084 these new tags is called a template. Using this module you fill in the values
2085 for the variables, loops and branches declared in the template. This allows
2086 you to separate design from the data.")
2087 (license (package-license perl))))
2088
2089 (define-public perl-http-body
2090 (package
2091 (name "perl-http-body")
2092 (version "1.19")
2093 (source
2094 (origin
2095 (method url-fetch)
2096 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2097 "HTTP-Body-" version ".tar.gz"))
2098 (sha256
2099 (base32
2100 "0ahhksj0zg6wq6glpjkxdr3byd5riwvq2f5aw21n1jcsl71nll01"))))
2101 (build-system perl-build-system)
2102 (native-inputs
2103 `(("perl-test-deep" ,perl-test-deep)))
2104 (propagated-inputs
2105 `(("perl-file-temp" ,perl-file-temp)
2106 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2107 (home-page "http://search.cpan.org/dist/HTTP-Body")
2108 (synopsis "HTTP Body Parser")
2109 (description "HTTP::Body parses chunks of HTTP POST data and supports
2110 application/octet-stream, application/json, application/x-www-form-urlencoded,
2111 and multipart/form-data.")
2112 (license (package-license perl))))
2113
2114 (define-public perl-http-cookiejar
2115 (package
2116 (name "perl-http-cookiejar")
2117 (version "0.006")
2118 (source
2119 (origin
2120 (method url-fetch)
2121 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2122 "HTTP-CookieJar-" version ".tar.gz"))
2123 (sha256
2124 (base32
2125 "0c7l29ak6ba2j006ca00vnkxpyc1fvpikydjvsb24s50zf1mv7b2"))))
2126 (build-system perl-build-system)
2127 (native-inputs
2128 `(("perl-test-deep" ,perl-test-deep)
2129 ("perl-test-requires" ,perl-test-requires)
2130 ("perl-time-mock" ,perl-time-mock)))
2131 (inputs
2132 `(("perl-time-local" ,perl-time-local)
2133 ("perl-http-date" ,perl-http-date)))
2134 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2135 (synopsis "Minimalist HTTP user agent cookie jar")
2136 (description "This module implements a minimalist HTTP user agent cookie
2137 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2138 (license l:asl2.0)))
2139
2140 (define-public perl-http-cookies
2141 (package
2142 (name "perl-http-cookies")
2143 (version "6.01")
2144 (source (origin
2145 (method url-fetch)
2146 (uri (string-append
2147 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-"
2148 version ".tar.gz"))
2149 (sha256
2150 (base32
2151 "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm"))))
2152 (build-system perl-build-system)
2153 (propagated-inputs
2154 `(("perl-http-message" ,perl-http-message)))
2155 (license (package-license perl))
2156 (synopsis "Perl HTTP cookie jars")
2157 (description
2158 "The HTTP::Cookies class is for objects that represent a cookie jar,
2159 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2160 object knows about.")
2161 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2162
2163 (define-public perl-http-daemon
2164 (package
2165 (name "perl-http-daemon")
2166 (version "6.01")
2167 (source (origin
2168 (method url-fetch)
2169 (uri (string-append
2170 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2171 version ".tar.gz"))
2172 (sha256
2173 (base32
2174 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2175 (build-system perl-build-system)
2176 (propagated-inputs
2177 `(("perl-http-message" ,perl-http-message)
2178 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2179 (license (package-license perl))
2180 (synopsis "Perl simple http server class")
2181 (description
2182 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2183 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2184 IO::Socket::INET, so you can perform socket operations directly on it too.")
2185 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2186
2187 (define-public perl-http-date
2188 (package
2189 (name "perl-http-date")
2190 (version "6.02")
2191 (source (origin
2192 (method url-fetch)
2193 (uri (string-append
2194 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2195 version ".tar.gz"))
2196 (sha256
2197 (base32
2198 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2199 (build-system perl-build-system)
2200 (license (package-license perl))
2201 (synopsis "Perl date conversion routines")
2202 (description
2203 "The HTTP::Date module provides functions that deal with date formats
2204 used by the HTTP protocol (and then some more).")
2205 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2206
2207 (define-public perl-http-message
2208 (package
2209 (name "perl-http-message")
2210 (version "6.06")
2211 (source (origin
2212 (method url-fetch)
2213 (uri (string-append
2214 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Message-"
2215 version ".tar.gz"))
2216 (sha256
2217 (base32
2218 "0qxdrcak97azjvqyx1anpb2ky6vp6vc37x0wcfjdqfajkh09fzh8"))))
2219 (build-system perl-build-system)
2220 (propagated-inputs
2221 `(("perl-http-date" ,perl-http-date)
2222 ("perl-io-html" ,perl-io-html)
2223 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2224 ("perl-uri" ,perl-uri)))
2225 (license (package-license perl))
2226 (synopsis "Perl HTTP style message")
2227 (description
2228 "An HTTP::Message object contains some headers and a content body.")
2229 (home-page "http://search.cpan.org/~gaas/HTTP-Message/")))
2230
2231 (define-public perl-http-negotiate
2232 (package
2233 (name "perl-http-negotiate")
2234 (version "6.01")
2235 (source (origin
2236 (method url-fetch)
2237 (uri (string-append
2238 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2239 version ".tar.gz"))
2240 (sha256
2241 (base32
2242 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2243 (build-system perl-build-system)
2244 (propagated-inputs
2245 `(("perl-http-message" ,perl-http-message)))
2246 (license (package-license perl))
2247 (synopsis "Perl http content negotiation")
2248 (description
2249 "The HTTP::Negotiate module provides a complete implementation of the
2250 HTTP content negotiation algorithm specified in
2251 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2252 the selection of a preferred content representation based upon attributes
2253 of the negotiable variants and the value of the various Accept* header
2254 fields in the request.")
2255 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2256
2257 (define-public perl-http-parser
2258 (package
2259 (name "perl-http-parser")
2260 (version "0.06")
2261 (source
2262 (origin
2263 (method url-fetch)
2264 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2265 "HTTP-Parser-" version ".tar.gz"))
2266 (sha256
2267 (base32
2268 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2269 (build-system perl-build-system)
2270 (propagated-inputs
2271 `(("perl-http-message" ,perl-http-message)
2272 ("perl-uri" ,perl-uri)))
2273 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2274 (synopsis "Parse HTTP/1.1 requests")
2275 (description "This is an HTTP request parser. It takes chunks of text as
2276 received and returns a 'hint' as to what is required, or returns the
2277 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2278 supported.")
2279 (license (package-license perl))))
2280
2281 (define-public perl-http-parser-xs
2282 (package
2283 (name "perl-http-parser-xs")
2284 (version "0.17")
2285 (source
2286 (origin
2287 (method url-fetch)
2288 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2289 "HTTP-Parser-XS-" version ".tar.gz"))
2290 (sha256
2291 (base32
2292 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2293 (build-system perl-build-system)
2294 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2295 (synopsis "Fast HTTP request parser")
2296 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2297 parser.")
2298 (license (package-license perl))))
2299
2300 (define-public perl-http-request-ascgi
2301 (package
2302 (name "perl-http-request-ascgi")
2303 (version "1.2")
2304 (source
2305 (origin
2306 (method url-fetch)
2307 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2308 "HTTP-Request-AsCGI-" version ".tar.gz"))
2309 (sha256
2310 (base32
2311 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2312 (build-system perl-build-system)
2313 (propagated-inputs
2314 `(("perl-class-accessor" ,perl-class-accessor)
2315 ("perl-http-message" ,perl-http-message)))
2316 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2317 (synopsis "Set up a CGI environment from an HTTP::Request")
2318 (description "This module provides a convenient way to set up a CGI
2319 environment from an HTTP::Request.")
2320 (license (package-license perl))))
2321
2322 (define-public perl-http-server-simple
2323 (package
2324 (name "perl-http-server-simple")
2325 (version "0.44")
2326 (source
2327 (origin
2328 (method url-fetch)
2329 (uri (string-append "mirror://cpan/authors/id/J/JE/JESSE/"
2330 "HTTP-Server-Simple-" version ".tar.gz"))
2331 (sha256
2332 (base32
2333 "05klpfkss2a6i5ihmvcm27fyar0f2v4ispg2f49agab3va1gix6g"))))
2334 (build-system perl-build-system)
2335 (propagated-inputs
2336 `(("perl-cgi" ,perl-cgi)))
2337 (arguments
2338 ;; See the discussion of a related tests issue at
2339 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2340 `(#:tests? #f))
2341 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2342 (synopsis "Lightweight HTTP server")
2343 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2344 no non-core module dependencies. It can be used for building a standalone
2345 http-based UI to your existing tools.")
2346 (license (package-license perl))))
2347
2348 (define-public perl-http-tiny
2349 (package
2350 (name "perl-http-tiny")
2351 (version "0.053")
2352 (source
2353 (origin
2354 (method url-fetch)
2355 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2356 "HTTP-Tiny-" version ".tar.gz"))
2357 (sha256
2358 (base32
2359 "1bwy31xrcz5zfx1n3vc50vj1aqvzn5ccr7lgacl8wmi03a6w2af2"))))
2360 (build-system perl-build-system)
2361 (inputs
2362 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2363 ("perl-io-socket-ip" ,perl-io-socket-ip)
2364 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2365 ("perl-net-ssleay" ,perl-net-ssleay)))
2366 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2367 (synopsis "HTTP/1.1 client")
2368 (description "This is a very simple HTTP/1.1 client, designed for doing
2369 simple requests without the overhead of a large framework like LWP::UserAgent.
2370 It supports proxies and redirection. It also correctly resumes after EINTR.")
2371 (license (package-license perl))))
2372
2373 (define-public perl-io-html
2374 (package
2375 (name "perl-io-html")
2376 (version "1.00")
2377 (source (origin
2378 (method url-fetch)
2379 (uri (string-append
2380 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2381 version ".tar.gz"))
2382 (sha256
2383 (base32
2384 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2385 (build-system perl-build-system)
2386 (license (package-license perl))
2387 (synopsis "Perl module to open an HTML file with automatic charset detection")
2388 (description
2389 "IO::HTML provides an easy way to open a file containing HTML while
2390 automatically determining its encoding. It uses the HTML5 encoding sniffing
2391 algorithm specified in section 8.2.2.1 of the draft standard.")
2392 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2393
2394 (define-public perl-io-socket-ip
2395 (package
2396 (name "perl-io-socket-ip")
2397 (version "0.36")
2398 (source
2399 (origin
2400 (method url-fetch)
2401 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2402 "IO-Socket-IP-" version ".tar.gz"))
2403 (sha256
2404 (base32
2405 "0ky20hmln6waipzqikizyw04vpszf70fgpshz7ib8zv8480ri456"))))
2406 (build-system perl-build-system)
2407 (native-inputs `(("perl-module-build" ,perl-module-build)))
2408 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2409 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2410 (description "This module provides a protocol-independent way to use IPv4
2411 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2412 (license (package-license perl))))
2413
2414 (define-public perl-io-socket-ssl
2415 (package
2416 (name "perl-io-socket-ssl")
2417 (version "2.038")
2418 (source (origin
2419 (method url-fetch)
2420 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2421 "IO-Socket-SSL-" version ".tar.gz"))
2422 (sha256
2423 (base32
2424 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2425 (patches (search-patches
2426 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2427 (build-system perl-build-system)
2428 (propagated-inputs
2429 `(("perl-net-ssleay" ,perl-net-ssleay)
2430 ;; for IDN support
2431 ("perl-uri" ,perl-uri)))
2432 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2433 (description
2434 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2435 necessary functionality into the familiar IO::Socket interface and providing
2436 secure defaults whenever possible. This way existing applications can be made
2437 SSL-aware without much effort, at least if you do blocking I/O and don't use
2438 select or poll.")
2439 (license (package-license perl))
2440 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2441
2442 (define-public perl-libwww
2443 (package
2444 (name "perl-libwww")
2445 (version "6.13")
2446 (source (origin
2447 (method url-fetch)
2448 (uri (string-append
2449 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
2450 version ".tar.gz"))
2451 (sha256
2452 (base32
2453 "1cpqjl59viw50bnbdyn8xzrwzg7g54b2rszw0fifacqrppp17gaz"))))
2454 (build-system perl-build-system)
2455 (propagated-inputs
2456 `(("perl-encode-locale" ,perl-encode-locale)
2457 ("perl-file-listing" ,perl-file-listing)
2458 ("perl-html-parser" ,perl-html-parser)
2459 ("perl-http-cookies" ,perl-http-cookies)
2460 ("perl-http-daemon" ,perl-http-daemon)
2461 ("perl-http-negotiate" ,perl-http-negotiate)
2462 ("perl-net-http" ,perl-net-http)
2463 ("perl-www-robotrules" ,perl-www-robotrules)))
2464 (license (package-license perl))
2465 (synopsis "Perl modules for the WWW")
2466 (description
2467 "The libwww-perl collection is a set of Perl modules which provides a
2468 simple and consistent application programming interface to the
2469 World-Wide Web. The main focus of the library is to provide classes
2470 and functions that allow you to write WWW clients. The library also
2471 contains modules that are of more general use and even classes that
2472 help you implement simple HTTP servers.")
2473 (home-page "http://search.cpan.org/dist/libwww-perl/")))
2474
2475 (define-public perl-lwp-mediatypes
2476 (package
2477 (name "perl-lwp-mediatypes")
2478 (version "6.02")
2479 (source (origin
2480 (method url-fetch)
2481 (uri (string-append
2482 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
2483 version ".tar.gz"))
2484 (sha256
2485 (base32
2486 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
2487 (build-system perl-build-system)
2488 (license (package-license perl))
2489 (synopsis "Perl module to guess the media type for a file or a URL")
2490 (description
2491 "The LWP::MediaTypes module provides functions for handling media (also
2492 known as MIME) types and encodings. The mapping from file extensions to
2493 media types is defined by the media.types file. If the ~/.media.types file
2494 exists it is used instead.")
2495 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
2496
2497 (define-public perl-lwp-protocol-https
2498 (package
2499 (name "perl-lwp-protocol-https")
2500 (version "6.06")
2501 (source
2502 (origin
2503 (method url-fetch)
2504 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
2505 "LWP-Protocol-https-" version ".tar.gz"))
2506 (sha256
2507 (base32
2508 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
2509 (build-system perl-build-system)
2510 (propagated-inputs
2511 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2512 ("perl-libwww" ,perl-libwww)
2513 ;; Users should instead make sure SSL_ca_path is set properly.
2514 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
2515 ("perl-net-http" ,perl-net-http)))
2516 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
2517 (synopsis "HTTPS support for LWP::UserAgent")
2518 (description "The LWP::Protocol::https module provides support for using
2519 https schemed URLs with LWP.")
2520 (license (package-license perl))))
2521
2522 (define-public perl-lwp-useragent-determined
2523 (package
2524 (name "perl-lwp-useragent-determined")
2525 (version "1.07")
2526 (source
2527 (origin
2528 (method url-fetch)
2529 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
2530 "LWP-UserAgent-Determined-" version ".tar.gz"))
2531 (sha256
2532 (base32
2533 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
2534 (build-system perl-build-system)
2535 (propagated-inputs
2536 `(("perl-libwww" ,perl-libwww)))
2537 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
2538 (synopsis "Virtual browser that retries errors")
2539 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
2540 except that when you use it to get a web page but run into a
2541 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
2542 and retry a few times.")
2543 (license (package-license perl))))
2544
2545 (define-public perl-net-amazon-s3
2546 (package
2547 (name "perl-net-amazon-s3")
2548 (version "0.60")
2549 (source
2550 (origin
2551 (method url-fetch)
2552 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
2553 "Net-Amazon-S3-" version ".tar.gz"))
2554 (sha256
2555 (base32
2556 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
2557 (patches (search-patches
2558 "perl-net-amazon-s3-moose-warning.patch"))))
2559 (build-system perl-build-system)
2560 (native-inputs
2561 `(("perl-libwww" ,perl-libwww)
2562 ("perl-test-exception" ,perl-test-exception)))
2563 (propagated-inputs
2564 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
2565 ("perl-datetime-format-http" ,perl-datetime-format-http)
2566 ("perl-digest-hmac" ,perl-digest-hmac)
2567 ("perl-digest-md5-file" ,perl-digest-md5-file)
2568 ("perl-file-find-rule" ,perl-file-find-rule)
2569 ("perl-http-date" ,perl-http-date)
2570 ("perl-http-message" ,perl-http-message)
2571 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
2572 ("perl-mime-types" ,perl-mime-types)
2573 ("perl-moose" ,perl-moose)
2574 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
2575 ("perl-moosex-types-datetime-morecoercions"
2576 ,perl-moosex-types-datetime-morecoercions)
2577 ("perl-path-class" ,perl-path-class)
2578 ("perl-regexp-common" ,perl-regexp-common)
2579 ("perl-term-encoding" ,perl-term-encoding)
2580 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
2581 ("perl-uri" ,perl-uri)
2582 ("perl-xml-libxml" ,perl-xml-libxml)))
2583 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
2584 (synopsis "Perl interface to Amazon S3")
2585 (description "This module provides a Perlish interface to Amazon S3.")
2586 (license (package-license perl))))
2587
2588 (define-public perl-net-http
2589 (package
2590 (name "perl-net-http")
2591 (version "6.07")
2592 (source (origin
2593 (method url-fetch)
2594 (uri (string-append
2595 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
2596 version ".tar.gz"))
2597 (sha256
2598 (base32
2599 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
2600 (build-system perl-build-system)
2601 (propagated-inputs
2602 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2603 ("perl-uri" ,perl-uri)))
2604 (license (package-license perl))
2605 (synopsis "Perl low-level HTTP connection (client)")
2606 (description
2607 "The Net::HTTP class is a low-level HTTP client. An instance of the
2608 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
2609 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
2610 HTTP/1.1.")
2611 (home-page "http://search.cpan.org/dist/Net-HTTP")))
2612
2613 (define-public perl-net-server
2614 (package
2615 (name "perl-net-server")
2616 (version "2.008")
2617 (source
2618 (origin
2619 (method url-fetch)
2620 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
2621 "Net-Server-" version ".tar.gz"))
2622 (sha256
2623 (base32
2624 "182gfikn7r40kmm3d35m2qc6r8g0y1j8gxbn9ffaawf8xmm0a889"))))
2625 (build-system perl-build-system)
2626 (home-page "http://search.cpan.org/dist/Net-Server")
2627 (synopsis "Extensible Perl server engine")
2628 (description "Net::Server is an extensible, generic Perl server engine.
2629 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
2630 It includes with it the ability to run as an inetd
2631 process (Net::Server::INET), a single connection server (Net::Server or
2632 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
2633 server which maintains a constant number of preforked
2634 children (Net::Server::PreForkSimple), or as a managed preforking server which
2635 maintains the number of children based on server load (Net::Server::PreFork).
2636 In all but the inetd type, the server provides the ability to connect to one
2637 or to multiple server ports.")
2638 (license (package-license perl))))
2639
2640 (define-public perl-net-smtp-ssl
2641 (package
2642 (name "perl-net-smtp-ssl")
2643 (version "1.03")
2644 (source
2645 (origin
2646 (method url-fetch)
2647 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
2648 "Net-SMTP-SSL-" version ".tar.gz"))
2649 (sha256
2650 (base32
2651 "05y94mb1vdw32mvwb0cp2h4ggh32f8j8nwwfjb8kjwxvfkfhyp9h"))))
2652 (build-system perl-build-system)
2653 (propagated-inputs
2654 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
2655 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
2656 (synopsis "SSL support for Net::SMTP")
2657 (description "SSL support for Net::SMTP.")
2658 (license (package-license perl))))
2659
2660 (define-public perl-plack
2661 (package
2662 (name "perl-plack")
2663 (version "1.0033")
2664 (source
2665 (origin
2666 (method url-fetch)
2667 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2668 "Plack-" version ".tar.gz"))
2669 (sha256
2670 (base32
2671 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
2672 (build-system perl-build-system)
2673 (native-inputs
2674 `(("perl-test-requires" ,perl-test-requires)
2675 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
2676 (propagated-inputs
2677 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
2678 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2679 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
2680 ("perl-file-sharedir" ,perl-file-sharedir)
2681 ("perl-hash-multivalue" ,perl-hash-multivalue)
2682 ("perl-http-body" ,perl-http-body)
2683 ("perl-http-message" ,perl-http-message)
2684 ("perl-http-tiny" ,perl-http-tiny)
2685 ("perl-libwww" ,perl-libwww)
2686 ("perl-stream-buffered" ,perl-stream-buffered)
2687 ("perl-test-tcp" ,perl-test-tcp)
2688 ("perl-try-tiny" ,perl-try-tiny)
2689 ("perl-uri" ,perl-uri)))
2690 (home-page "http://search.cpan.org/dist/Plack")
2691 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
2692 (description "Plack is a set of tools for using the PSGI stack. It
2693 contains middleware components, a reference server, and utilities for Web
2694 application frameworks. Plack is like Ruby's Rack or Python's Paste for
2695 WSGI.")
2696 (license (package-license perl))))
2697
2698 (define-public perl-plack-middleware-fixmissingbodyinredirect
2699 (package
2700 (name "perl-plack-middleware-fixmissingbodyinredirect")
2701 (version "0.12")
2702 (source
2703 (origin
2704 (method url-fetch)
2705 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2706 "Plack-Middleware-FixMissingBodyInRedirect-"
2707 version ".tar.gz"))
2708 (sha256
2709 (base32
2710 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
2711 (build-system perl-build-system)
2712 (native-inputs
2713 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
2714 ("perl-http-message" ,perl-http-message)
2715 ("perl-plack" ,perl-plack))) ;for Plack::Test
2716 (home-page
2717 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
2718 (synopsis "Plack::Middleware which sets body for redirect response")
2719 (description "This module sets the body in redirect response, if it's not
2720 already set.")
2721 (license (package-license perl))))
2722
2723 (define-public perl-plack-middleware-methodoverride
2724 (package
2725 (name "perl-plack-middleware-methodoverride")
2726 (version "0.11")
2727 (source
2728 (origin
2729 (method url-fetch)
2730 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
2731 "Plack-Middleware-MethodOverride-"
2732 version ".tar.gz"))
2733 (sha256
2734 (base32
2735 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
2736 (build-system perl-build-system)
2737 (native-inputs
2738 `(("perl-module-build" ,perl-module-build)))
2739 (propagated-inputs
2740 `(("perl-plack" ,perl-plack)))
2741 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
2742 (synopsis "Override REST methods to Plack apps via POST")
2743 (description "This middleware allows for POST requests that pretend to be
2744 something else: by adding either a header named X-HTTP-Method-Override to the
2745 request, or a query parameter named x-tunneled-method to the URI, the client
2746 can say what method it actually meant.")
2747 (license (package-license perl))))
2748
2749 (define-public perl-plack-middleware-removeredundantbody
2750 (package
2751 (name "perl-plack-middleware-removeredundantbody")
2752 (version "0.05")
2753 (source
2754 (origin
2755 (method url-fetch)
2756 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2757 "Plack-Middleware-RemoveRedundantBody-"
2758 version ".tar.gz"))
2759 (sha256
2760 (base32
2761 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
2762 (build-system perl-build-system)
2763 (propagated-inputs
2764 `(("perl-plack" ,perl-plack)))
2765 (home-page
2766 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
2767 (synopsis "Plack::Middleware which removes body for HTTP response")
2768 (description "This module removes the body in an HTTP response if it's not
2769 required.")
2770 (license (package-license perl))))
2771
2772 (define-public perl-plack-middleware-reverseproxy
2773 (package
2774 (name "perl-plack-middleware-reverseproxy")
2775 (version "0.15")
2776 (source
2777 (origin
2778 (method url-fetch)
2779 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2780 "Plack-Middleware-ReverseProxy-"
2781 version ".tar.gz"))
2782 (sha256
2783 (base32
2784 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
2785 (build-system perl-build-system)
2786 (propagated-inputs
2787 `(("perl-plack" ,perl-plack)))
2788 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
2789 (synopsis "Supports app to run as a reverse proxy backend")
2790 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
2791 which are changed by reverse-proxy. You can specify the reverse proxy address
2792 and stop fake requests using 'enable_if' directive in your app.psgi.")
2793 (license (package-license perl))))
2794
2795 (define-public perl-plack-test-externalserver
2796 (package
2797 (name "perl-plack-test-externalserver")
2798 (version "0.01")
2799 (source
2800 (origin
2801 (method url-fetch)
2802 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2803 "Plack-Test-ExternalServer-" version ".tar.gz"))
2804 (sha256
2805 (base32
2806 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
2807 (build-system perl-build-system)
2808 (propagated-inputs
2809 `(("perl-plack" ,perl-plack)))
2810 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
2811 (synopsis "Run HTTP tests on external live servers")
2812 (description "This module allows your to run your Plack::Test tests
2813 against an external server instead of just against a local application through
2814 either mocked HTTP or a locally spawned server.")
2815 (license (package-license perl))))
2816
2817 (define-public perl-test-tcp
2818 (package
2819 (name "perl-test-tcp")
2820 (version "2.06")
2821 (source
2822 (origin
2823 (method url-fetch)
2824 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
2825 "Test-TCP-" version ".tar.gz"))
2826 (sha256
2827 (base32
2828 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
2829 (build-system perl-build-system)
2830 (propagated-inputs
2831 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
2832 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
2833 (home-page "http://search.cpan.org/dist/Test-TCP")
2834 (synopsis "Testing TCP programs")
2835 (description "Test::TCP is test utilities for TCP/IP programs.")
2836 (license (package-license perl))))
2837
2838 (define-public perl-test-www-mechanize
2839 (package
2840 (name "perl-test-www-mechanize")
2841 (version "1.44")
2842 (source
2843 (origin
2844 (method url-fetch)
2845 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2846 "Test-WWW-Mechanize-" version ".tar.gz"))
2847 (sha256
2848 (base32
2849 "062pj242vsc73bw11jqpap92ax9wzc9f2m4xhyp1wzrwkfchpl2q"))))
2850 (build-system perl-build-system)
2851 (native-inputs
2852 `(("perl-test-exception" ,perl-test-exception)))
2853 (propagated-inputs
2854 `(("perl-carp-assert-more" ,perl-carp-assert-more)
2855 ("perl-html-form" ,perl-html-form)
2856 ("perl-html-lint" ,perl-html-lint)
2857 ("perl-html-tree" ,perl-html-tree)
2858 ("perl-http-server-simple" ,perl-http-server-simple)
2859 ("perl-libwww" ,perl-libwww)
2860 ("perl-test-longstring" ,perl-test-longstring)
2861 ("perl-www-mechanize" ,perl-www-mechanize)))
2862 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
2863 (synopsis "Testing-specific WWW::Mechanize subclass")
2864 (description "Test::WWW::Mechanize is a subclass of the Perl module
2865 WWW::Mechanize that incorporates features for web application testing.")
2866 (license l:artistic2.0)))
2867
2868 (define-public perl-test-www-mechanize-catalyst
2869 (package
2870 (name "perl-test-www-mechanize-catalyst")
2871 (version "0.60")
2872 (source
2873 (origin
2874 (method url-fetch)
2875 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2876 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
2877 (sha256
2878 (base32
2879 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
2880 (build-system perl-build-system)
2881 (native-inputs
2882 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2883 ("perl-catalyst-plugin-session-state-cookie"
2884 ,perl-catalyst-plugin-session-state-cookie)
2885 ("perl-test-exception" ,perl-test-exception)
2886 ("perl-test-pod" ,perl-test-pod)
2887 ("perl-test-utf8" ,perl-test-utf8)))
2888 (propagated-inputs
2889 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2890 ("perl-class-load" ,perl-class-load)
2891 ("perl-libwww" ,perl-libwww)
2892 ("perl-moose" ,perl-moose)
2893 ("perl-namespace-clean" ,perl-namespace-clean)
2894 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
2895 ("perl-www-mechanize" ,perl-www-mechanize)))
2896 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
2897 (synopsis "Test::WWW::Mechanize for Catalyst")
2898 (description "The Test::WWW::Mechanize::Catalyst module meshes the
2899 Test::WWW:Mechanize module and the Catalyst web application framework to allow
2900 testing of Catalyst applications without needing to start up a web server.")
2901 (license (package-license perl))))
2902
2903 (define-public perl-test-www-mechanize-psgi
2904 (package
2905 (name "perl-test-www-mechanize-psgi")
2906 (version "0.35")
2907 (source
2908 (origin
2909 (method url-fetch)
2910 (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
2911 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
2912 (sha256
2913 (base32
2914 "1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
2915 (build-system perl-build-system)
2916 (native-inputs
2917 `(("perl-test-pod" ,perl-test-pod)))
2918 (propagated-inputs
2919 `(("perl-plack" ,perl-plack)
2920 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
2921 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
2922 (synopsis "Test PSGI programs using WWW::Mechanize")
2923 (description "PSGI is a specification to decouple web server environments
2924 from web application framework code. Test::WWW::Mechanize is a subclass of
2925 WWW::Mechanize that incorporates features for web application testing. The
2926 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
2927 applications.")
2928 (license (package-license perl))))
2929
2930 (define-public perl-uri
2931 (package
2932 (name "perl-uri")
2933 (version "1.71")
2934 (source (origin
2935 (method url-fetch)
2936 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2937 "URI-" version ".tar.gz"))
2938 (sha256
2939 (base32
2940 "05a1ck1bhvqkkk690xhsxf7276dnagk96qkh2jy4prrrgw6wm3lw"))))
2941 (build-system perl-build-system)
2942 (license (package-license perl))
2943 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
2944 (description
2945 "The URI module implements the URI class. Objects of this class
2946 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
2947 and updated by RFC 2732.")
2948 (home-page "http://search.cpan.org/dist/URI/")))
2949
2950 (define-public perl-uri-fetch
2951 (package
2952 (name "perl-uri-fetch")
2953 (version "0.13")
2954 (source (origin
2955 (method url-fetch)
2956 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
2957 "URI-Fetch-" version ".tar.gz"))
2958 (sha256
2959 (base32
2960 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
2961 (build-system perl-build-system)
2962 (arguments
2963 `(#:tests? #f)) ; Tests require internet connection to succeed
2964 (inputs
2965 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2966 ("perl-libwww" ,perl-libwww)
2967 ("perl-uri" ,perl-uri)))
2968 (home-page "http://search.cpan.org/dist/URI-Fetch")
2969 (synopsis "Smart URI fetching/caching")
2970 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
2971 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
2972 and time-saving way.")
2973 (license (package-license perl))))
2974
2975 (define-public perl-uri-find
2976 (package
2977 (name "perl-uri-find")
2978 (version "20140709")
2979 (source
2980 (origin
2981 (method url-fetch)
2982 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
2983 "URI-Find-" version ".tar.gz"))
2984 (sha256
2985 (base32
2986 "0czc4h182s7sx3k123m7qlg7yybnwxgh369hap3c3b6xgrglrhy0"))))
2987 (build-system perl-build-system)
2988 (native-inputs
2989 `(("perl-module-build" ,perl-module-build)))
2990 (propagated-inputs
2991 `(("perl-uri" ,perl-uri)))
2992 (home-page "http://search.cpan.org/dist/URI-Find")
2993 (synopsis "Find URIs in arbitrary text")
2994 (description "This module finds URIs and URLs (according to what URI.pm
2995 considers a URI) in plain text. It only finds URIs which include a
2996 scheme (http:// or the like), for something a bit less strict, consider
2997 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
2998 (license (package-license perl))))
2999
3000 (define-public perl-uri-ws
3001 (package
3002 (name "perl-uri-ws")
3003 (version "0.03")
3004 (source
3005 (origin
3006 (method url-fetch)
3007 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3008 "URI-ws-" version ".tar.gz"))
3009 (sha256
3010 (base32
3011 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3012 (build-system perl-build-system)
3013 (propagated-inputs
3014 `(("perl-uri" ,perl-uri)))
3015 (home-page "http://search.cpan.org/dist/URI-ws")
3016 (synopsis "WebSocket support for URI package")
3017 (description "With this module, the URI package provides the same set of
3018 methods for WebSocket URIs as it does for HTTP URIs.")
3019 (license (package-license perl))))
3020
3021 (define-public perl-uri-template
3022 (package
3023 (name "perl-uri-template")
3024 (version "0.22")
3025 (source (origin
3026 (method url-fetch)
3027 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3028 version ".tar.gz"))
3029 (sha256
3030 (base32
3031 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3032 (build-system perl-build-system)
3033 (inputs
3034 `(("perl-uri" ,perl-uri)))
3035 (native-inputs
3036 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3037 ("perl-test-pod" ,perl-test-pod)
3038 ("perl-json" ,perl-json)))
3039 (home-page "http://search.cpan.org/dist/URI-Template")
3040 (synopsis "Object for handling URI templates")
3041 (description "This perl module provides a wrapper around URI templates as described in
3042 RFC 6570.")
3043 (license (package-license perl))))
3044
3045 (define-public perl-www-curl
3046 (package
3047 (name "perl-www-curl")
3048 (version "4.17")
3049 (source (origin
3050 (method url-fetch)
3051 (uri (string-append
3052 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3053 version".tar.gz"))
3054 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3055 (sha256
3056 (base32
3057 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3058 (build-system perl-build-system)
3059 (arguments
3060 '(#:tests? #f)) ;XXX: tests require network access
3061 (inputs `(("curl" ,curl)))
3062 (synopsis "Perl extension interface for libcurl")
3063 (description
3064 "This is a Perl extension interface for the libcurl file downloading
3065 library.")
3066 (license (package-license perl))
3067 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3068
3069 (define-public perl-www-mechanize
3070 (package
3071 (name "perl-www-mechanize")
3072 (version "1.73")
3073 (source
3074 (origin
3075 (method url-fetch)
3076 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3077 "WWW-Mechanize-" version ".tar.gz"))
3078 (sha256
3079 (base32
3080 "1zrw8aadhwy48q51x2z2rqlkwf17bya4j4h3hy89mw783j96rmg9"))))
3081 (build-system perl-build-system)
3082 (native-inputs ;only for tests
3083 `(("perl-cgi" ,perl-cgi)))
3084 (propagated-inputs
3085 `(("perl-html-form" ,perl-html-form)
3086 ("perl-html-parser" ,perl-html-parser)
3087 ("perl-http-message" ,perl-http-message)
3088 ("perl-http-server-simple" ,perl-http-server-simple)
3089 ("perl-libwww" ,perl-libwww)
3090 ("perl-test-warn" ,perl-test-warn)
3091 ("perl-uri" ,perl-uri)))
3092 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3093 (synopsis "Web browsing in a Perl object")
3094 (description "WWW::Mechanize is a Perl module for stateful programmatic
3095 web browsing, used for automating interaction with websites.")
3096 (license (package-license perl))))
3097
3098 (define-public perl-www-opensearch
3099 (package
3100 (name "perl-www-opensearch")
3101 (version "0.17")
3102 (source (origin
3103 (method url-fetch)
3104 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3105 "WWW-OpenSearch-" version ".tar.gz"))
3106 (sha256
3107 (base32
3108 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3109 (build-system perl-build-system)
3110 (arguments
3111 `(#:tests? #f)) ; Tests require further modules to be packaged
3112 (inputs
3113 `(("perl-data-page" ,perl-data-page)
3114 ("perl-libwww" ,perl-libwww)
3115 ("perl-uri" ,perl-uri)
3116 ("perl-uri-template" ,perl-uri-template)
3117 ("perl-xml-feed" ,perl-xml-feed)
3118 ("perl-xml-libxml" ,perl-xml-libxml)))
3119 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3120 (synopsis "Search A9 OpenSearch compatible engines")
3121 (description
3122 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3123 http://opensearch.a9.com} compatible search engines.")
3124 (license (package-license perl))))
3125
3126 (define-public perl-www-robotrules
3127 (package
3128 (name "perl-www-robotrules")
3129 (version "6.02")
3130 (source (origin
3131 (method url-fetch)
3132 (uri (string-append
3133 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3134 version ".tar.gz"))
3135 (sha256
3136 (base32
3137 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3138 (build-system perl-build-system)
3139 (propagated-inputs
3140 `(("perl-uri" ,perl-uri)))
3141 (license (package-license perl))
3142 (synopsis "Perl database of robots.txt-derived permissions")
3143 (description
3144 "The WWW::RobotRules module parses /robots.txt files as specified in
3145 \"A Standard for Robot Exclusion\", at
3146 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3147 /robots.txt file to forbid conforming robots from accessing parts of
3148 their web site.")
3149 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3150
3151 (define-public python-feedparser
3152 (package
3153 (name "python-feedparser")
3154 (version "5.2.1")
3155 (source
3156 (origin
3157 (method url-fetch)
3158 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3159 (sha256
3160 (base32
3161 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3162 (build-system python-build-system)
3163 (arguments
3164 '(#:tests? #f))
3165 (home-page
3166 "https://github.com/kurtmckee/feedparser")
3167 (synopsis "Parse feeds in Python")
3168 (description
3169 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3170 CDF, Atom 0.3, and Atom 1.0 feeds.")
3171 (license (list l:bsd-2 ; source code
3172 l:freebsd-doc)))) ; documentation
3173
3174 (define-public python2-feedparser
3175 (let ((base (package-with-python2
3176 (strip-python2-variant python-feedparser))))
3177 (package (inherit base)
3178 (native-inputs
3179 `(("python2-setuptools" ,python2-setuptools))))))
3180
3181 (define-public r-httpuv
3182 (package
3183 (name "r-httpuv")
3184 (version "1.3.3")
3185 (source (origin
3186 (method url-fetch)
3187 (uri (cran-uri "httpuv" version))
3188 (sha256
3189 (base32
3190 "0aibs0hf38n8f6xxx4g2i2lzd6l5h92m5pscx2z834sdvhnladxv"))))
3191 (build-system r-build-system)
3192 (native-inputs `(("r-rcpp" ,r-rcpp)))
3193 (home-page "https://github.com/rstudio/httpuv")
3194 (synopsis "HTTP and WebSocket server library for R")
3195 (description
3196 "The httpuv package provides low-level socket and protocol support for
3197 handling HTTP and WebSocket requests directly from within R. It is primarily
3198 intended as a building block for other packages, rather than making it
3199 particularly easy to create complete web applications using httpuv alone.")
3200 ;; This package includes third-party code that was originally released
3201 ;; under various non-copyleft licenses. Full licensing information can be
3202 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3203 (license l:gpl3+)))
3204
3205 (define-public r-jsonlite
3206 (package
3207 (name "r-jsonlite")
3208 (version "1.1")
3209 (source (origin
3210 (method url-fetch)
3211 (uri (cran-uri "jsonlite" version))
3212 (sha256
3213 (base32
3214 "0mrfzh0mxxrhqdmxai434wvyd7skkw28vxr7pyls19yrg941g6r3"))))
3215 (build-system r-build-system)
3216 (home-page "http://arxiv.org/abs/1403.2805")
3217 (synopsis "Robust, high performance JSON parser and generator for R")
3218 (description
3219 "The jsonlite package provides a fast JSON parser and generator optimized
3220 for statistical data and the web. It offers flexible, robust, high
3221 performance tools for working with JSON in R and is particularly powerful for
3222 building pipelines and interacting with a web API. In addition to converting
3223 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3224 and prettify JSON data. The unit tests included with the package verify that
3225 all edge cases are encoded and decoded consistently for use with dynamic data
3226 in systems and applications.")
3227 (license l:expat)))
3228
3229 (define-public r-servr
3230 (package
3231 (name "r-servr")
3232 (version "0.4")
3233 (source (origin
3234 (method url-fetch)
3235 (uri (cran-uri "servr" version))
3236 (sha256
3237 (base32
3238 "1fkqf5ynd1g0932qwv5nr70bw42m8vxpc9rhi0qxmdamwqcw8qjn"))))
3239 (build-system r-build-system)
3240 (propagated-inputs
3241 `(("r-httpuv" ,r-httpuv)
3242 ("r-jsonlite" ,r-jsonlite)
3243 ("r-mime" ,r-mime)))
3244 (native-inputs
3245 `(("r-rcpp" ,r-rcpp)))
3246 (home-page "https://github.com/yihui/servr")
3247 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3248 (description
3249 "Servr provides an HTTP server in R to serve static files, or dynamic
3250 documents that can be converted to HTML files (e.g., R Markdown) under a given
3251 directory.")
3252 (license l:expat)))
3253
3254 (define-public r-htmltools
3255 (package
3256 (name "r-htmltools")
3257 (version "0.3.5")
3258 (source (origin
3259 (method url-fetch)
3260 (uri (cran-uri "htmltools" version))
3261 (sha256
3262 (base32
3263 "0j9bf80grd6gwh7116m575pycv87c0wcwkxsz3gzzfs4aw3pxyr9"))))
3264 (build-system r-build-system)
3265 (arguments
3266 `(#:phases
3267 (modify-phases %standard-phases
3268 ;; See https://github.com/rstudio/htmltools/pull/68
3269 ;; The resource files are in the store and have mode 444. After
3270 ;; copying the files R fails to remove them again because it doesn't
3271 ;; have write access to them.
3272 (add-after 'unpack 'copy-files-without-mode
3273 (lambda _
3274 (substitute* "R/html_dependency.R"
3275 (("file.copy\\(from, to, " prefix)
3276 (string-append prefix
3277 "copy.mode = FALSE, ")))
3278 #t)))))
3279 (propagated-inputs
3280 `(("r-digest" ,r-digest)
3281 ("r-rcpp" ,r-rcpp)))
3282 (home-page "http://cran.r-project.org/web/packages/htmltools")
3283 (synopsis "R tools for HTML")
3284 (description
3285 "This package provides tools for HTML generation and output in R.")
3286 (license l:expat)))
3287
3288 (define-public r-htmlwidgets
3289 (package
3290 (name "r-htmlwidgets")
3291 (version "0.7")
3292 (source (origin
3293 (method url-fetch)
3294 (uri (cran-uri "htmlwidgets" version))
3295 (sha256
3296 (base32
3297 "1xh8aiaci5hi3r67ym7r37hm89m9vzywk292avnmaj125kq7w1d0"))))
3298 (build-system r-build-system)
3299 (propagated-inputs
3300 `(("r-htmltools" ,r-htmltools)
3301 ("r-jsonlite" ,r-jsonlite)
3302 ("r-yaml" ,r-yaml)))
3303 (home-page "https://github.com/ramnathv/htmlwidgets")
3304 (synopsis "HTML Widgets for R")
3305 (description
3306 "HTML widgets is a framework for creating HTML widgets that render in
3307 various contexts including the R console, R Markdown documents, and Shiny web
3308 applications.")
3309 (license l:expat)))
3310
3311 (define-public r-htmltable
3312 (package
3313 (name "r-htmltable")
3314 (version "1.7")
3315 (source
3316 (origin
3317 (method url-fetch)
3318 (uri (cran-uri "htmlTable" version))
3319 (sha256
3320 (base32
3321 "0x2f2hrbhvm53zqwn0ny9wxbk34nwf6zww8cx4bjy5ax15asdllm"))))
3322 (properties `((upstream-name . "htmlTable")))
3323 (build-system r-build-system)
3324 (propagated-inputs
3325 `(("r-knitr" ,r-knitr)
3326 ("r-magrittr" ,r-magrittr)
3327 ("r-stringr" ,r-stringr)))
3328 (home-page "http://gforge.se/packages/")
3329 (synopsis "Advanced tables for Markdown/HTML")
3330 (description
3331 "This package provides functions to build tables with advanced layout
3332 elements such as row spanners, column spanners, table spanners, zebra
3333 striping, and more. While allowing advanced layout, the underlying
3334 CSS-structure is simple in order to maximize compatibility with word
3335 processors such as LibreOffice. The package also contains a few text
3336 formatting functions that help outputting text compatible with HTML or
3337 LaTeX.")
3338 (license l:gpl3+)))
3339
3340 (define-public r-curl
3341 (package
3342 (name "r-curl")
3343 (version "2.2")
3344 (source (origin
3345 (method url-fetch)
3346 (uri (cran-uri "curl" version))
3347 (sha256
3348 (base32
3349 "0hyvyjzf5ja7kfhzmlfgp86hg1lxrriiwbnr6pxabwwslswj3cmj"))))
3350 (build-system r-build-system)
3351 (arguments
3352 `(#:phases
3353 (modify-phases %standard-phases
3354 ;; The environment variable CURL_CA_BUNDLE is only respected when
3355 ;; running Windows, so we disable the platform checks.
3356 ;; This can be removed once the libcurl has been patched.
3357 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3358 (lambda _
3359 (substitute* "R/onload.R"
3360 (("if \\(!grepl\\(\"mingw\".*")
3361 "if (FALSE)\n"))
3362 (substitute* "src/handle.c"
3363 (("#ifdef _WIN32") "#if 1"))
3364 #t)))))
3365 (inputs
3366 `(("libcurl" ,curl)))
3367 (home-page "https://github.com/jeroenooms/curl")
3368 (synopsis "HTTP client for R")
3369 (description
3370 "The @code{curl()} and @code{curl_download()} functions provide highly
3371 configurable drop-in replacements for base @code{url()} and
3372 @code{download.file()} with better performance, support for encryption, gzip
3373 compression, authentication, and other @code{libcurl} goodies. The core of
3374 the package implements a framework for performing fully customized requests
3375 where data can be processed either in memory, on disk, or streaming via the
3376 callback or connection interfaces.")
3377 (license l:expat)))
3378
3379 (define-public r-hwriter
3380 (package
3381 (name "r-hwriter")
3382 (version "1.3.2")
3383 (source
3384 (origin
3385 (method url-fetch)
3386 (uri (cran-uri "hwriter" version))
3387 (sha256
3388 (base32
3389 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
3390 (build-system r-build-system)
3391 (home-page "http://cran.r-project.org/web/packages/hwriter")
3392 (synopsis "Output R objects in HTML format")
3393 (description
3394 "This package provides easy-to-use and versatile functions to output R
3395 objects in HTML format.")
3396 (license l:lgpl2.1+)))
3397
3398 (define-public r-rjson
3399 (package
3400 (name "r-rjson")
3401 (version "0.2.15")
3402 (source
3403 (origin
3404 (method url-fetch)
3405 (uri (cran-uri "rjson" version))
3406 (sha256
3407 (base32
3408 "1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
3409 (build-system r-build-system)
3410 (home-page "http://cran.r-project.org/web/packages/rjson")
3411 (synopsis "JSON library for R")
3412 (description
3413 "This package provides functions to convert R objects into JSON objects
3414 and vice-versa.")
3415 (license l:gpl2+)))
3416
3417 (define-public gumbo-parser
3418 (package
3419 (name "gumbo-parser")
3420 (version "0.10.1")
3421 (source (origin
3422 (method url-fetch)
3423 (uri (string-append "https://github.com/google/"
3424 "gumbo-parser/archive/v" version ".tar.gz"))
3425 (file-name (string-append name "-" version ".tar.gz"))
3426 (sha256
3427 (base32
3428 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
3429 (build-system gnu-build-system)
3430 (arguments
3431 `(#:tests? #f ; tests require bundling googletest sources
3432 #:phases
3433 (modify-phases %standard-phases
3434 (add-after 'unpack 'bootstrap
3435 (lambda _ (zero? (system* "sh" "autogen.sh")))))))
3436 ;; The release tarball lacks the generated files.
3437 (native-inputs
3438 `(("autoconf" ,autoconf)
3439 ("automake" ,automake)
3440 ("libtool" ,libtool)))
3441 (home-page "https://github.com/google/gumbo-parser")
3442 (synopsis "HTML5 parsing library")
3443 (description
3444 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
3445 a pure C99 library.")
3446 (license l:asl2.0)))
3447
3448 (define-public uwsgi
3449 (package
3450 (name "uwsgi")
3451 (version "2.0.12")
3452 (source (origin
3453 (method url-fetch)
3454 (uri (string-append "http://projects.unbit.it/downloads/uwsgi-"
3455 version ".tar.gz"))
3456 (sha256
3457 (base32
3458 "02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh"))))
3459 (build-system gnu-build-system)
3460 (outputs '("out" "python"))
3461 (arguments
3462 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
3463 ;; But there is no obvious way to run the real tests.
3464 #:tests? #f
3465 #:phases
3466 (modify-phases %standard-phases
3467 (replace 'configure
3468 ;; Configuration is done by writing an ini file.
3469 (lambda* (#:key outputs #:allow-other-keys)
3470 (let* ((out (assoc-ref outputs "out"))
3471 (bindir (string-append out "/bin"))
3472 (plugindir (string-append out "/lib/uwsgi")))
3473 ;; The build phase outputs files to these directories directly.
3474 (mkdir-p bindir)
3475 (mkdir-p plugindir)
3476 ;; XXX: Enable other plugins.
3477 (call-with-output-file "buildconf/guix.ini"
3478 (lambda (port)
3479 (format port "[uwsgi]
3480 yaml = libyaml
3481 bin_name = ~a/uwsgi
3482 plugin_dir = ~a
3483
3484 inherit = base
3485 plugins = cgi,python
3486 embedded_plugins =
3487 " bindir plugindir))))
3488 (setenv "PROFILE" "guix")
3489 #t))
3490 (replace 'install
3491 ;; Move plugins into their own output.
3492 (lambda* (#:key outputs #:allow-other-keys)
3493 (let* ((out (assoc-ref outputs "out"))
3494 (plugindir (string-append out "/lib/uwsgi"))
3495 (python-plugin (string-append
3496 plugindir "/python_plugin.so")))
3497 (install-file python-plugin
3498 (string-append
3499 (assoc-ref outputs "python") "/lib/uwsgi"))
3500 (delete-file python-plugin)
3501 #t))))))
3502 (native-inputs
3503 `(("pkg-config" ,pkg-config)
3504 ("python" ,python-wrapper)))
3505 (inputs
3506 `(("jansson" ,jansson)
3507 ("libxml2" ,libxml2)
3508 ("libyaml" ,libyaml)
3509 ("openssl" ,openssl)
3510 ("pcre" ,pcre)
3511 ("zlib" ,zlib)
3512 ;; For plugins.
3513 ("python" ,python)))
3514 (home-page "https://uwsgi-docs.readthedocs.org/")
3515 (synopsis "Application container server")
3516 (description
3517 "uWSGI presents a complete stack for networked/clustered web applications,
3518 implementing message/object passing, caching, RPC and process management.
3519 It uses the uwsgi protocol for all the networking/interprocess communications.")
3520 (license l:gpl2+))) ; with linking exception
3521
3522 (define-public jq
3523 (package
3524 (name "jq")
3525 (version "1.5")
3526 (source (origin
3527 (method url-fetch)
3528 (uri (string-append "https://github.com/stedolan/" name
3529 "/releases/download/" name "-" version
3530 "/" name "-" version ".tar.gz"))
3531 (sha256
3532 (base32
3533 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
3534 ;; This patch has been pushed and the vulnerability will be
3535 ;; fixed in the next release after 1.5.
3536 ;; https://github.com/stedolan/jq/issues/995
3537 (patches (search-patches "jq-CVE-2015-8863.patch"))))
3538 (inputs
3539 `(("oniguruma" ,oniguruma)))
3540 (native-inputs
3541 `(;; TODO fix gems to generate documentation
3542 ;;("ruby" ,ruby)
3543 ;;("bundler" ,bundler)
3544 ("valgrind" ,valgrind)))
3545 (build-system gnu-build-system)
3546 (home-page "http://stedolan.github.io/jq/")
3547 (synopsis "Command-line JSON processor")
3548 (description "jq is like sed for JSON data – you can use it to slice and
3549 filter and map and transform structured data with the same ease that sed, awk,
3550 grep and friends let you play with text. It is written in portable C. jq can
3551 mangle the data format that you have into the one that you want with very
3552 little effort, and the program to do so is often shorter and simpler than
3553 you'd expect.")
3554 (license (list l:expat l:cc-by3.0))))
3555
3556 (define-public uhttpmock
3557 (package
3558 (name "uhttpmock")
3559 (version "0.5.0")
3560 (source
3561 (origin
3562 (method url-fetch)
3563 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
3564 name "-" version ".tar.xz"))
3565 (sha256
3566 (base32
3567 "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"))))
3568 (build-system glib-or-gtk-build-system)
3569 (arguments
3570 `(#:phases
3571 (modify-phases %standard-phases
3572 (add-before 'check 'use-empty-ssl-cert-file
3573 (lambda _
3574 ;; Search for ca-certificates.crt files
3575 ;; during the check phase.
3576 (setenv "SSL_CERT_FILE" "/dev/null")
3577 #t)))))
3578 (native-inputs
3579 `(("gobject-introspection" ,gobject-introspection)
3580 ;; For check phase.
3581 ("glib-networking" ,glib-networking)
3582 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3583 ("pkg-config" ,pkg-config)))
3584 (inputs
3585 `(("libsoup" ,libsoup)))
3586 (home-page "https://gitlab.com/groups/uhttpmock")
3587 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
3588 (description
3589 "Uhttpmock is a project for mocking web service APIs which use HTTP or
3590 HTTPS. It provides a library, libuhttpmock, which implements recording and
3591 playback of HTTP request/response traces.")
3592 (license l:lgpl2.1+)))
3593
3594 (define-public woof
3595 (package
3596 (name "woof")
3597 (version "2012-05-31")
3598 (source (origin
3599 (method url-fetch)
3600 (uri (string-append
3601 "http://www.home.unix-ag.org/simon/woof-"
3602 version ".py"))
3603 (sha256
3604 (base32
3605 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
3606 (build-system trivial-build-system)
3607 (arguments
3608 '(#:modules ((guix build utils))
3609 #:builder
3610 (begin
3611 (use-modules (guix build utils))
3612 (let* ((source (assoc-ref %build-inputs "source"))
3613 (out (assoc-ref %outputs "out"))
3614 (bin (string-append out "/bin"))
3615 (python (assoc-ref %build-inputs "python")))
3616 (mkdir-p bin)
3617 (with-directory-excursion bin
3618 (copy-file source "woof")
3619 (patch-shebang "woof" (list (string-append python "/bin")))
3620 (chmod "woof" #o555))
3621 #t))))
3622 (inputs `(("python" ,python-2)))
3623 (home-page "http://www.home.unix-ag.org/simon/woof.html")
3624 (synopsis "Single file web server")
3625 (description "Woof (Web Offer One File) is a small simple web server that
3626 can easily be invoked on a single file. Your partner can access the file with
3627 tools they trust (e.g. wget).")
3628 (license l:gpl2+)))
3629
3630 (define-public netsurf
3631 (package
3632 (name "netsurf")
3633 (version "3.5")
3634 (source
3635 (origin
3636 (method url-fetch)
3637 (uri (string-append "https://download.netsurf-browser.org/"
3638 "netsurf/releases/source-full/netsurf-all-"
3639 version ".tar.gz"))
3640 (sha256
3641 (base32
3642 "1vdldzcv42wykajmw8vbql0f1yd44gbx30kywfrrh2x3064ly609"))
3643 (modules '((guix build utils)))
3644 (snippet
3645 '(begin
3646 (substitute* "Makefile"
3647 ;; Do not clobber PKG_CONFIG_PATH from the environment
3648 (("PKG_CONFIG_PATH = \\$")
3649 "PKG_CONFIG_PATH := $(PKG_CONFIG_PATH):$")
3650 ;; Honor make variables
3651 (("shell cc") "shell $(CC)"))))
3652 (patches (search-patches "netsurf-about.patch"))))
3653 (build-system glib-or-gtk-build-system)
3654 (native-inputs
3655 `(("pkg-config" ,pkg-config)
3656 ("perl" ,perl)
3657 ("perl-html-parser" ,perl-html-parser)
3658 ("flex" ,flex)
3659 ("bison" ,bison)))
3660 (inputs
3661 `(("gtk+" ,gtk+-2)
3662 ("gperf" ,gperf)
3663 ("curl" ,curl)
3664 ("openssl" ,openssl)
3665 ("libpng" ,libpng)
3666 ("libjpeg" ,libjpeg)
3667 ("expat" ,expat)))
3668 (arguments
3669 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
3670 ,(string-append "PREFIX=" %output))
3671 #:parallel-build? #f ;parallel builds not supported
3672 #:tests? #f ;no way to easily run from release tarball
3673 #:modules ((ice-9 rdelim)
3674 (ice-9 match)
3675 (srfi srfi-1)
3676 (sxml simple)
3677 ,@%glib-or-gtk-build-system-modules)
3678 #:phases
3679 (modify-phases %standard-phases
3680 (replace 'configure
3681 (lambda _
3682 (call-with-output-file "netsurf/Makefile.config"
3683 (lambda (port)
3684 (format port "~
3685 NETSURF_GTK_RESOURCES := $(PREFIX)/share/netsurf/~@
3686 ")))
3687 #t))
3688 (add-after 'build 'adjust-welcome
3689 (lambda _
3690 ;; First, fix some unended tags and simple substitutions
3691 (substitute* "netsurf/gtk/res/welcome.html"
3692 (("<(img|input)([^>]*)>" _ tag contents)
3693 (string-append "<" tag contents " />"))
3694 (("Licence") "License") ;prefer GNU spelling
3695 ((" open source") ", free software")
3696 (("web&nbsp;site") "website")
3697 ;; Prefer privacy-respecting default search engine
3698 (("www.google.co.uk") "www.duckduckgo.com/html")
3699 (("Google Search") "DuckDuckGo Search")
3700 (("name=\"btnG\"") ""))
3701 ;; Remove default links so it doesn't seem we're endorsing them
3702 (with-atomic-file-replacement "netsurf/gtk/res/welcome.html"
3703 (lambda (in out)
3704 ;; Leave the DOCTYPE header as is
3705 (display (read-line in 'concat) out)
3706 (sxml->xml
3707 (let rec ((sxml (xml->sxml in)))
3708 ;; We'd like to use sxml-match here, but it can't
3709 ;; match against generic tag symbols...
3710 (match sxml
3711 (`(div (@ (class "links")) . ,rest)
3712 '())
3713 ((x ...)
3714 (map rec x))
3715 (x x)))
3716 out)))
3717 #t))
3718 (add-after 'install 'install-more
3719 (lambda* (#:key outputs #:allow-other-keys)
3720 (let* ((out (assoc-ref outputs "out"))
3721 (desktop (string-append out "/share/applications/"
3722 "netsurf.desktop")))
3723 (mkdir-p (dirname desktop))
3724 (copy-file "netsurf/gtk/res/netsurf-gtk.desktop"
3725 desktop)
3726 (substitute* desktop
3727 (("netsurf-gtk") (string-append out "/bin/netsurf"))
3728 (("netsurf.png") (string-append out "/share/netsurf/"
3729 "netsurf.xpm")))
3730 (install-file "netsurf/Docs/netsurf-gtk.1"
3731 (string-append out "/share/man/man1/"))
3732 #t))))))
3733 (home-page "https://www.netsurf-browser.org")
3734 (synopsis "Web browser")
3735 (description
3736 "NetSurf is a lightweight web browser that has its own layout and
3737 rendering engine entirely written from scratch. It is small and capable of
3738 handling many of the web standards in use today.")
3739 (license l:gpl2+)))
3740
3741 (define-public surfraw
3742 (package
3743 (name "surfraw")
3744 (version "2.2.9")
3745 (source (origin
3746 (method url-fetch)
3747 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
3748 name "-" version ".tar.gz"))
3749 (sha256
3750 (base32
3751 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
3752 (build-system gnu-build-system)
3753 (inputs
3754 `(("perl" ,perl)
3755 ("perl-www-opensearch" ,perl-www-opensearch)
3756 ("perl-html-parser" ,perl-html-parser)
3757 ("perl-libwww" ,perl-libwww)))
3758 (synopsis "Unix command line interface to the www")
3759 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
3760 provides a unix command line interface to a variety of popular www search engines
3761 and similar services.")
3762 (home-page "https://surfraw.alioth.debian.org/")
3763 (license l:public-domain)))
3764
3765 (define-public darkhttpd
3766 (package
3767 (name "darkhttpd")
3768 (version "1.12")
3769 (source
3770 (origin
3771 ;; The darkhttpd release tarball URL fails to download with a
3772 ;; 'TLS warning alert'. Download from the darkhttpd git repo
3773 ;; until the problem has been fixed upstream.
3774 (method git-fetch)
3775 (uri (git-reference
3776 (url (string-append "https://unix4lyfe.org/git/darkhttpd"))
3777 (commit "41b68476c35270f47dcd2ddebe27cbcd87e43d41")))
3778 (sha256
3779 (base32
3780 "0wi8dfgj4ic0fsy4dszl69xgxdxlwxz4c30vsw2i2dpnczgjm04k"))
3781 (file-name (string-append name "-" version "-checkout"))))
3782 (build-system gnu-build-system)
3783 (arguments
3784 `(#:make-flags '("CC=gcc")
3785 #:tests? #f ; No test suite
3786 #:phases
3787 (modify-phases %standard-phases
3788 (delete 'configure)
3789 (replace 'install
3790 (lambda* (#:key outputs #:allow-other-keys)
3791 (install-file "darkhttpd"
3792 (string-append (assoc-ref outputs "out")
3793 "/bin"))
3794 #t)))))
3795 (synopsis "Simple static web server")
3796 (description "darkhttpd is a simple static web server. It is
3797 standalone and does not need inetd or ucspi-tcp. It does not need any
3798 config files---you only have to specify the www root.")
3799 (home-page "https://unix4lyfe.org/darkhttpd/")
3800 (license l:isc)))
3801
3802 (define-public goaccess
3803 (package
3804 (name "goaccess")
3805 (version "1.0.2")
3806 (source (origin
3807 (method url-fetch)
3808 (uri (string-append "http://tar.goaccess.io/goaccess-"
3809 version ".tar.gz"))
3810 (sha256
3811 (base32
3812 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
3813 (modules '((guix build utils)))
3814 (snippet
3815 '(substitute* "src/error.h"
3816 (("__DATE__") "\"1970-01-01\"")
3817 (("__TIME__") "\"00:00:00\"")))))
3818 (build-system gnu-build-system)
3819 (inputs
3820 ;; TODO: Add dependency on geoip-tools.
3821 `(("glib" ,glib)
3822 ("ncurses" ,ncurses)))
3823 (native-inputs
3824 `(("pkg-config" ,pkg-config)))
3825 (home-page "https://goaccess.io")
3826 (synopsis "Analyze Web server logs in real time")
3827 (description
3828 "GoAccess is a real-time web log analyzer and interactive viewer that
3829 runs in a terminal or through your browser. It provides fast and valuable
3830 HTTP statistics for system administrators that require a visual server report
3831 on the fly.")
3832 (license l:x11)))
3833
3834 (define-public httptunnel
3835 (package
3836 (name "httptunnel")
3837 (version "3.3")
3838 (source
3839 (origin
3840 (method url-fetch)
3841 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
3842 name "-" version ".tar.gz"))
3843 (sha256
3844 (base32
3845 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
3846 (modules '((guix build utils)))
3847 (snippet
3848 ;; Remove non-free IETF RFC documentation.
3849 '(delete-file-recursively "doc"))))
3850 (build-system gnu-build-system)
3851 (arguments
3852 `(#:phases
3853 (modify-phases %standard-phases
3854 ;; The default configure phase tries to pass environment variables as
3855 ;; command-line arguments, which confuses the ./configure script.
3856 (replace 'configure
3857 (lambda* (#:key outputs #:allow-other-keys)
3858 (let* ((out (assoc-ref outputs "out")))
3859 (setenv "CONFIG_SHELL" (which "bash"))
3860 (zero? (system* "./configure"
3861 (string-append "--prefix=" out)))))))))
3862 (home-page "http://www.nocrew.org/software/httptunnel.html")
3863 (synopsis "Tunnel data connections through HTTP requests")
3864 (description "httptunnel creates a bidirectional virtual data connection
3865 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
3866 useful for users behind restrictive firewalls. As long as Web traffic is
3867 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
3868 tools like SSH (Secure Shell) to reach the outside world.")
3869 (license l:gpl2+)))