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