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