gnu: Add java-eclipse-jetty-xml.
[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, 2018 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
7 ;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
8 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
9 ;;; Copyright © 2015, 2016, 2017 Eric Bavier <bavier@member.fsf.org>
10 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
11 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
12 ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
13 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
14 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
15 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
16 ;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
17 ;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
18 ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
20 ;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
21 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
22 ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
23 ;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
24 ;;; Copyright © 2017 Petter <petter@mykolab.ch>
25 ;;; Copyright © 2017 Pierre Langlois <pierre.langlois@gmx.com>
26 ;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
27 ;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
28 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
29 ;;;
30 ;;; This file is part of GNU Guix.
31 ;;;
32 ;;; GNU Guix is free software; you can redistribute it and/or modify it
33 ;;; under the terms of the GNU General Public License as published by
34 ;;; the Free Software Foundation; either version 3 of the License, or (at
35 ;;; your option) any later version.
36 ;;;
37 ;;; GNU Guix is distributed in the hope that it will be useful, but
38 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
39 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40 ;;; GNU General Public License for more details.
41 ;;;
42 ;;; You should have received a copy of the GNU General Public License
43 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
44
45 (define-module (gnu packages web)
46 #:use-module (ice-9 match)
47 #:use-module ((guix licenses) #:prefix l:)
48 #:use-module (guix packages)
49 #:use-module (guix download)
50 #:use-module (guix git-download)
51 #:use-module (guix cvs-download)
52 #:use-module (guix hg-download)
53 #:use-module (guix utils)
54 #:use-module (guix build-system gnu)
55 #:use-module (guix build-system glib-or-gtk)
56 #:use-module (guix build-system perl)
57 #:use-module (guix build-system cmake)
58 #:use-module (guix build-system r)
59 #:use-module (guix build-system trivial)
60 #:use-module (guix build-system python)
61 #:use-module (guix build-system ant)
62 #:use-module (guix build-system scons)
63 #:use-module (gnu packages)
64 #:use-module (gnu packages adns)
65 #:use-module (gnu packages apr)
66 #:use-module (gnu packages check)
67 #:use-module (gnu packages cran)
68 #:use-module (gnu packages documentation)
69 #:use-module (gnu packages docbook)
70 #:use-module (gnu packages autotools)
71 #:use-module (gnu packages compression)
72 #:use-module (gnu packages cyrus-sasl)
73 #:use-module (gnu packages databases)
74 #:use-module (gnu packages bison)
75 #:use-module (gnu packages flex)
76 #:use-module (gnu packages freedesktop)
77 #:use-module (gnu packages kerberos)
78 #:use-module (gnu packages gd)
79 #:use-module (gnu packages gettext)
80 #:use-module (gnu packages glib)
81 #:use-module (gnu packages gnome)
82 #:use-module (gnu packages gnu-doc)
83 #:use-module (gnu packages gnupg)
84 #:use-module (gnu packages gnuzilla)
85 #:use-module (gnu packages gperf)
86 #:use-module (gnu packages gtk)
87 #:use-module (gnu packages guile)
88 #:use-module (gnu packages java)
89 #:use-module (gnu packages javascript)
90 #:use-module (gnu packages jemalloc)
91 #:use-module (gnu packages image)
92 #:use-module (gnu packages imagemagick)
93 #:use-module (gnu packages libevent)
94 #:use-module (gnu packages libidn)
95 #:use-module (gnu packages libunistring)
96 #:use-module (gnu packages lisp)
97 #:use-module (gnu packages lua)
98 #:use-module (gnu packages markup)
99 #:use-module (gnu packages ncurses)
100 #:use-module (gnu packages openstack)
101 #:use-module (gnu packages base)
102 #:use-module (gnu packages package-management)
103 #:use-module (gnu packages perl)
104 #:use-module (gnu packages perl-check)
105 #:use-module (gnu packages python)
106 #:use-module (gnu packages python-web)
107 #:use-module (gnu packages pcre)
108 #:use-module (gnu packages pkg-config)
109 #:use-module (gnu packages qt)
110 #:use-module (gnu packages valgrind)
111 #:use-module (gnu packages xml)
112 #:use-module (gnu packages curl)
113 #:use-module (gnu packages texinfo)
114 #:use-module (gnu packages textutils)
115 #:use-module (gnu packages tls)
116 #:use-module (gnu packages statistics)
117 #:use-module (gnu packages version-control))
118
119 (define-public httpd
120 (package
121 (name "httpd")
122 (version "2.4.33")
123 (source (origin
124 (method url-fetch)
125 (uri (string-append "mirror://apache/httpd/httpd-"
126 version ".tar.bz2"))
127 (sha256
128 (base32
129 "01bghiq4pbgjbgd6gic0nb8bbk6mfpwx3gcsbf21f3dhb4c520ny"))))
130 (build-system gnu-build-system)
131 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
132 (inputs `(("apr" ,apr)
133 ("apr-util" ,apr-util)
134 ("openssl" ,openssl)
135 ("perl" ,perl))) ; needed to run bin/apxs
136 (arguments
137 `(#:test-target "test"
138 #:configure-flags (list "--enable-rewrite"
139 "--enable-userdir"
140 "--enable-vhost-alias"
141 "--enable-ssl"
142 "--enable-mime-magic"
143 (string-append "--sysconfdir="
144 (assoc-ref %outputs "out")
145 "/etc/httpd"))))
146 (synopsis "Featureful HTTP server")
147 (description
148 "The Apache HTTP Server Project is a collaborative software development
149 effort aimed at creating a robust, commercial-grade, featureful, and
150 freely-available source code implementation of an HTTP (Web) server. The
151 project is jointly managed by a group of volunteers located around the world,
152 using the Internet and the Web to communicate, plan, and develop the server
153 and its related documentation.")
154 (license l:asl2.0)
155 (home-page "https://httpd.apache.org/")))
156
157 (define-public mod-wsgi
158 (package
159 (name "mod-wsgi")
160 (version "4.5.22")
161 (source (origin
162 (method url-fetch)
163 (uri (string-append
164 "https://github.com/GrahamDumpleton/mod_wsgi/archive/"
165 version ".tar.gz"))
166 (file-name (string-append name "-" version ".tar.gz"))
167 (sha256
168 (base32
169 "0n1yhmrfp8mjbsngmyjl937c6rc0069p6wdi1lknrbn1q42hzw6q"))))
170 (build-system gnu-build-system)
171 (arguments
172 '(#:tests? #f ;; TODO: Can't figure out if there are tests
173 #:make-flags (list
174 (string-append "DESTDIR="
175 (assoc-ref %outputs "out"))
176 "LIBEXECDIR=/modules")))
177 (inputs
178 `(("httpd" ,httpd)
179 ("python" ,python-wrapper)))
180 (synopsis "Apache HTTPD module for Python WSGI applications")
181 (description
182 "The mod_wsgi module for the Apache HTTPD Server adds support for running
183 applications that support the Python @acronym{WSGI, Web Server Gateway
184 Interface} specification.")
185 (license l:asl2.0)
186 (home-page "https://modwsgi.readthedocs.io/")))
187
188 (define-public nginx
189 (package
190 (name "nginx")
191 ;; Consider updating the nginx-documentation package if the nginx package is
192 ;; updated.
193 (version "1.14.0")
194 (source (origin
195 (method url-fetch)
196 (uri (string-append "https://nginx.org/download/nginx-"
197 version ".tar.gz"))
198 (sha256
199 (base32
200 "1d9c0avfpbwvzyg53b59ks8shpnrxnbnshcd7ziizflsyv5vw5ax"))))
201 (build-system gnu-build-system)
202 (inputs `(("openssl" ,openssl)
203 ("pcre" ,pcre)
204 ("zlib" ,zlib)))
205 (arguments
206 `(#:tests? #f ; no test target
207 #:phases
208 (modify-phases %standard-phases
209 (add-before 'configure 'patch-/bin/sh
210 (lambda _
211 (substitute* "auto/feature"
212 (("/bin/sh") (which "sh")))
213 #t))
214 (replace 'configure
215 ;; The configure script is hand-written, not from GNU autotools.
216 (lambda* (#:key outputs #:allow-other-keys)
217 (let ((flags
218 (list (string-append "--prefix=" (assoc-ref outputs "out"))
219 "--with-http_ssl_module"
220 "--with-http_v2_module"
221 "--with-pcre-jit"
222 "--with-debug"
223 ;; Even when not cross-building, we pass the
224 ;; --crossbuild option to avoid customizing for the
225 ;; kernel version on the build machine.
226 ,(let ((system "Linux") ; uname -s
227 (release "3.2.0") ; uname -r
228 ;; uname -m
229 (machine (match (or (%current-target-system)
230 (%current-system))
231 ("x86_64-linux" "x86_64")
232 ("i686-linux" "i686")
233 ("mips64el-linux" "mips64")
234 ;; Prevent errors when querying
235 ;; this package on unsupported
236 ;; platforms, e.g. when running
237 ;; "guix package --search="
238 (_ "UNSUPPORTED"))))
239 (string-append "--crossbuild="
240 system ":" release ":" machine)))))
241 (setenv "CC" "gcc")
242 (format #t "environment variable `CC' set to `gcc'~%")
243 (format #t "configure flags: ~s~%" flags)
244 (apply invoke "./configure" flags)
245 #t)))
246 (add-after 'install 'install-man-page
247 (lambda* (#:key outputs #:allow-other-keys)
248 (let* ((out (assoc-ref outputs "out"))
249 (man (string-append out "/share/man")))
250 (install-file "objs/nginx.8" (string-append man "/man8"))
251 #t)))
252 (add-after 'install 'fix-root-dirs
253 (lambda* (#:key outputs #:allow-other-keys)
254 ;; 'make install' puts things in strange places, so we need to
255 ;; clean it up ourselves.
256 (let* ((out (assoc-ref outputs "out"))
257 (share (string-append out "/share/nginx")))
258 ;; This directory is empty, so get rid of it.
259 (rmdir (string-append out "/logs"))
260 ;; Example configuration and HTML files belong in
261 ;; /share.
262 (mkdir-p share)
263 (rename-file (string-append out "/conf")
264 (string-append share "/conf"))
265 (rename-file (string-append out "/html")
266 (string-append share "/html"))
267 #t))))))
268 (home-page "https://nginx.org")
269 (synopsis "HTTP and reverse proxy server")
270 (description
271 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
272 created by Igor Sysoev. It can be used both as a stand-alone web server
273 and as a proxy to reduce the load on back-end HTTP or mail servers.")
274 ;; Almost all of nginx is distributed under the bsd-2 license.
275 ;; The exceptions are:
276 ;; * The 'nginx-http-push' module is covered by the expat license.
277 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
278 ;; except for two source files which are bsd-4 licensed.
279 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
280
281 (define nginx-xslscript
282 (let ((revision 11)
283 (changeset "01dc9ba12e1b"))
284 (package
285 (name "nginx-xslscript")
286 (version
287 (simple-format #f "2014-03-31-~A-~A" revision changeset))
288 (source (origin
289 (method hg-fetch)
290 (uri (hg-reference
291 (url "http://hg.nginx.org/xslscript")
292 (changeset changeset)))
293 (file-name (string-append name "-" version))
294 (sha256
295 (base32
296 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
297 (build-system gnu-build-system)
298 (arguments
299 '(#:tests? #f ; No test suite
300 #:phases
301 (modify-phases %standard-phases
302 (delete 'configure)
303 (delete 'build)
304 (replace 'install
305 (lambda* (#:key outputs #:allow-other-keys)
306 (let ((out-bin (string-append
307 (assoc-ref outputs "out")
308 "/bin")))
309 (mkdir-p out-bin)
310 (copy-file "xslscript.pl"
311 (string-append
312 out-bin
313 "/xslscript.pl"))
314 #t))))))
315 (home-page "http://hg.nginx.org/xslscript")
316 (synopsis "XSLScript with NGinx specific modifications")
317 (description
318 "XSLScript is a terse notation for writing complex XSLT stylesheets.
319 This is modified version, specifically intended for use with the NGinx
320 documentation.")
321 (license l:bsd-2))))
322
323 (define-public nginx-documentation
324 ;; This documentation should be relevant for nginx@1.13.11.
325 (let ((revision 2131)
326 (changeset "dbaf3950f8e9"))
327 (package
328 (name "nginx-documentation")
329 (version
330 (simple-format #f "2018-04-04-~A-~A" revision changeset))
331 (source
332 (origin (method hg-fetch)
333 (uri (hg-reference
334 (url "http://hg.nginx.org/nginx.org")
335 (changeset changeset)))
336 (file-name (string-append name "-" version))
337 (sha256
338 (base32
339 "0acdjsdaqixzh9g9s6db552v4pan4nqrllyqapay9ns9yzh1hrp7"))))
340 (build-system gnu-build-system)
341 (arguments
342 '(#:tests? #f ; no test suite
343 #:phases
344 (modify-phases %standard-phases
345 (delete 'configure) ; no configure script
346 (replace 'build
347 (lambda* (#:key outputs #:allow-other-keys)
348 (let ((output (assoc-ref outputs "out")))
349 (substitute* "umasked.sh"
350 ((" /bin/sh") (string-append " " (which "sh"))))
351 ;; The documentation includes a banner, which makes sense on
352 ;; the NGinx website, but doesn't make much sense when
353 ;; viewing locally. Therefore, modify the CSS to remove the
354 ;; banner.
355 (substitute* "xslt/style.xslt"
356 (("#banner \\{ background: black;")
357 "#banner { background: black;
358 display: none;"))
359 (invoke "make")
360 #t)))
361 (replace 'install
362 (lambda* (#:key outputs #:allow-other-keys)
363 (let ((output (assoc-ref outputs "out")))
364 (mkdir-p output)
365 (copy-recursively "libxslt" output)
366 #t))))))
367 (native-inputs
368 `(("libxml2" ,libxml2)
369 ("libxslt" ,libxslt)
370 ("nginx-xslscript" ,nginx-xslscript)))
371 (home-page "https://nginx.org")
372 (synopsis "Documentation for the nginx web server")
373 (description
374 "This package provides HTML documentation for the nginx web server.")
375 (license l:bsd-2))))
376
377 (define-public fcgi
378 (package
379 (name "fcgi")
380 (version "2.4.0")
381 (source
382 (origin
383 (method url-fetch)
384 ;; Upstream has disappeared.
385 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
386 "fcgi-" version ".tar.gz"))
387 (sha256
388 (base32
389 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
390 (patches (search-patches "fcgi-2.4.0-poll.patch"
391 "fcgi-2.4.0-gcc44-fixes.patch"))))
392 (build-system gnu-build-system)
393 ;; Parallel building is not supported.
394 (arguments `(#:parallel-build? #f))
395 ;; This is an archived fork of the original home page, www.fastcgi.com.
396 (home-page "https://fastcgi-archives.github.io/")
397 (synopsis "Language-independent, high-performant extension to CGI")
398 (description "FastCGI is a language-independent, scalable extension to CGI
399 that provides high performance without the limitations of server specific
400 APIs.")
401 ;; This package is released under the Open Market License, a variant of
402 ;; the Expat license, incompatible with the GPL.
403 (license (l:non-copyleft "file://LICENSE.TERMS"))))
404
405 (define-public fcgiwrap
406 (package
407 (name "fcgiwrap")
408 (version "1.1.0")
409 (source
410 (origin
411 (method url-fetch)
412 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
413 "archive/" version ".tar.gz"))
414 (file-name (string-append name "-" version ".tar.gz"))
415 (sha256
416 (base32
417 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
418 (build-system gnu-build-system)
419 (arguments
420 `(#:tests? #f ; no tests included
421 #:make-flags (list "CC=gcc")))
422 (native-inputs
423 `(("autoconf" ,autoconf)
424 ("automake" ,automake)
425 ("pkg-config" ,pkg-config)))
426 (inputs
427 `(("fcgi" ,fcgi)))
428 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
429 (synopsis "Simple server for running CGI applications over FastCGI")
430 (description "Fcgiwrap is a simple server for running CGI applications
431 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
432 servers that may need it).")
433 (license l:expat)))
434
435 (define-public starman
436 (package
437 (name "starman")
438 (version "0.4014")
439 (source
440 (origin
441 (method url-fetch)
442 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
443 "Starman-" version ".tar.gz"))
444 (sha256
445 (base32
446 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
447 (build-system perl-build-system)
448 (native-inputs
449 `(("perl-libwww" ,perl-libwww)
450 ("perl-module-build-tiny" ,perl-module-build-tiny)
451 ("perl-test-requires" ,perl-test-requires)))
452 (propagated-inputs
453 `(("perl-data-dump" ,perl-data-dump)
454 ("perl-http-date" ,perl-http-date)
455 ("perl-http-message" ,perl-http-message)
456 ("perl-http-parser-xs" ,perl-http-parser-xs)
457 ("perl-net-server" ,perl-net-server)
458 ("perl-plack" ,perl-plack)
459 ("perl-test-tcp" ,perl-test-tcp)))
460 (home-page "http://search.cpan.org/dist/Starman")
461 (synopsis "PSGI/Plack web server")
462 (description "Starman is a PSGI perl web server that has unique features
463 such as high performance, preforking, signal support, superdaemon awareness,
464 and UNIX socket support.")
465 (license l:perl-license)))
466
467 (define-public icedtea-web
468 (package
469 (name "icedtea-web")
470 (version "1.6.2")
471 (source (origin
472 (method url-fetch)
473 (uri (string-append
474 "http://icedtea.wildebeest.org/download/source/"
475 name "-" version ".tar.gz"))
476 (sha256
477 (base32
478 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
479 (build-system gnu-build-system)
480 (arguments
481 `(#:configure-flags
482 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
483 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
484 "/bin/bash")
485 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
486 (outputs '("out" "doc"))
487 (native-inputs
488 `(("pkg-config" ,pkg-config)
489 ("zip" ,zip)))
490 (inputs
491 `(("gtk+" ,gtk+)
492 ("jdk" ,icedtea "jdk")))
493 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
494 (synopsis "Java Web Start")
495 (description
496 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
497 Protocol}, also known as Java Web Start. This package provides tools and
498 libraries for working with JNLP applets.")
499 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
500 ;; or dual licenses.
501 (license l:gpl2+)))
502
503 (define-public jansson
504 (package
505 (name "jansson")
506 (version "2.10")
507 (source (origin
508 (method url-fetch)
509 (uri
510 (string-append "http://www.digip.org/jansson/releases/jansson-"
511 version ".tar.gz"))
512 (sha256
513 (base32
514 "0iv4rxsnamqm3ldpg7dyhjq0x9cp023nc7ac820jdd3pwb8ml8bq"))))
515 (build-system gnu-build-system)
516 (home-page "http://www.digip.org/jansson/")
517 (synopsis "JSON C library")
518 (description
519 "Jansson is a C library for encoding, decoding and manipulating JSON
520 data.")
521 (license l:expat)))
522
523 (define-public json-c
524 (package
525 (name "json-c")
526 (version "0.13.1")
527 (source (origin
528 (method url-fetch)
529 (uri (string-append
530 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
531 version ".tar.gz"))
532 (sha256
533 (base32
534 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
535 (modules '((guix build utils)))
536 (snippet
537 '(begin
538 ;; Somehow 'config.h.in' is older than
539 ;; 'aclocal.m4', which would trigger a rule to
540 ;; run 'autoheader'.
541 (set-file-time "config.h.in"
542 (stat "aclocal.m4"))
543 #t))))
544 (build-system gnu-build-system)
545 (home-page "https://github.com/json-c/json-c/wiki")
546 (synopsis "JSON implementation in C")
547 (description
548 "JSON-C implements a reference counting object model that allows you to
549 easily construct JSON objects in C, output them as JSON-formatted strings and
550 parse JSON-formatted strings back into the C representation of JSON objects.
551 It aims to conform to RFC 7159.")
552 (license l:x11)))
553
554 ;; TODO: remove this old version when all dependents have been updated.
555 (define-public json-c-0.12
556 (package
557 (inherit json-c)
558 (version "0.12.1")
559 (source (origin
560 (method url-fetch)
561 (uri (string-append
562 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
563 version ".tar.gz"))
564 (sha256
565 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
566 (modules '((guix build utils)))
567 (snippet
568 '(begin
569 ;; Somehow 'config.h.in' is older than
570 ;; 'aclocal.m4', which would trigger a rule to
571 ;; run 'autoheader'.
572 (set-file-time "config.h.in"
573 (stat "aclocal.m4"))
574
575 ;; Don't try to build with -Werror.
576 (substitute* (find-files "." "Makefile\\.in")
577 (("-Werror") ""))
578 #t))))))
579
580 (define-public qjson
581 (package
582 (name "qjson")
583 (version "0.9.0")
584 (source (origin
585 (method url-fetch)
586 (uri (string-append
587 "https://github.com/flavio/qjson/archive/"
588 version ".tar.gz"))
589 (file-name (string-append name "-" version ".tar.gz"))
590 (sha256
591 (base32
592 "1m0h4rajj99hv9w4i381a8x81lxiv167lxk10ncvphpkfxs624p8"))))
593 (build-system cmake-build-system)
594 (arguments
595 ;; The tests require a X server
596 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
597 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
598 #:phases
599 (modify-phases %standard-phases
600 (add-after 'unpack 'disable-broken-test
601 (lambda _
602 ;; FIXME: One test fails. See
603 ;; https://github.com/flavio/qjson/issues/105
604 (substitute* "tests/scanner/testscanner.cpp"
605 (("QTest::newRow\\(\"too large exponential\"\\)" line)
606 (string-append "//" line)))
607 #t))
608 (add-before 'check 'render-offscreen
609 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
610 (inputs
611 `(("qtbase" ,qtbase)))
612 (home-page "http://qjson.sourceforge.net")
613 (synopsis "Library that maps JSON data to QVariant objects")
614 (description "QJson is a Qt-based library that maps JSON data to
615 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
616 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
617 ;; Only version 2.1 of the license
618 (license l:lgpl2.1)))
619
620 (define-public krona-tools
621 (package
622 (name "krona-tools")
623 (version "2.7")
624 (source (origin
625 (method url-fetch)
626 (uri (string-append
627 "https://github.com/marbl/Krona/releases/download/v"
628 version "/KronaTools-" version ".tar"))
629 (sha256
630 (base32
631 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
632 (build-system perl-build-system)
633 (arguments
634 `(#:phases
635 (modify-phases %standard-phases
636 ;; There is no configure or build steps.
637 (delete 'configure)
638 (delete 'build)
639 ;; Install script "install.pl" expects the build directory to remain
640 ;; after installation, creating symlinks etc., so re-implement it
641 ;; here.
642 (replace 'install
643 (lambda* (#:key outputs #:allow-other-keys)
644 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
645 (perl (string-append (assoc-ref outputs "out")
646 "/lib/perl5/site_perl/krona-tools/lib")))
647 (mkdir-p bin)
648 (for-each
649 (lambda (script)
650 (let* ((executable (string-append "scripts/" script ".pl")))
651 ;; Prefix executables with 'kt' as install script does.
652 (copy-file executable (string-append bin "/kt" script))))
653 '("ClassifyBLAST"
654 "GetContigMagnitudes"
655 "GetLCA"
656 "GetTaxIDFromAcc"
657 "GetTaxInfo"
658 "ImportBLAST"
659 "ImportDiskUsage"
660 "ImportEC"
661 "ImportFCP"
662 "ImportGalaxy"
663 "ImportKrona"
664 "ImportMETAREP-BLAST"
665 "ImportMETAREP-EC"
666 "ImportMGRAST"
667 "ImportPhymmBL"
668 "ImportRDP"
669 "ImportRDPComparison"
670 "ImportTaxonomy"
671 "ImportText"
672 "ImportXML"))
673 (for-each
674 (lambda (directory)
675 (copy-recursively directory
676 (string-append perl "/../" directory)))
677 (list "data" "img" "taxonomy" "src"))
678 (install-file "lib/KronaTools.pm" perl))))
679 (add-after 'install 'wrap-program
680 (lambda* (#:key inputs outputs #:allow-other-keys)
681 (let* ((out (assoc-ref outputs "out"))
682 (path (getenv "PERL5LIB")))
683 (for-each
684 (lambda (executable)
685 (wrap-program executable
686 `("PERL5LIB" ":" prefix
687 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
688 (find-files (string-append out "/bin/") ".*")))))
689 (delete 'check)
690 (add-after 'wrap-program 'check
691 (lambda* (#:key inputs outputs #:allow-other-keys)
692 (with-directory-excursion "data"
693 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
694 "ec.tsv")))))))
695 (inputs
696 `(("perl" ,perl)))
697 (home-page "https://github.com/marbl/Krona/wiki")
698 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
699 (description
700 "Krona is a flexible tool for exploring the relative proportions of
701 hierarchical data, such as metagenomic classifications, using a radial,
702 space-filling display. It is implemented using HTML5 and JavaScript, allowing
703 charts to be explored locally or served over the Internet, requiring only a
704 current version of any major web browser.")
705 (license l:bsd-3)))
706
707 (define-public rapidjson
708 (package
709 (name "rapidjson")
710 (version "1.1.0")
711 (source (origin
712 (method url-fetch)
713 (uri (string-append
714 "https://github.com/miloyip/rapidjson/archive/v"
715 version ".tar.gz"))
716 (file-name (string-append name "-" version ".tar.gz"))
717 (sha256
718 (base32
719 "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))))
720 (build-system cmake-build-system)
721 (arguments
722 `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
723 (%current-system)))
724 '(#:phases
725 (modify-phases %standard-phases
726 (add-after 'unpack 'patch-aarch-march-detection
727 (lambda _
728 (substitute* (find-files "." "^CMakeLists\\.txt$")
729 (("native") "armv8-a"))
730 #t))))
731 '())))
732 (home-page "https://github.com/miloyip/rapidjson")
733 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
734 (description
735 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
736 style API.")
737 (license l:expat)))
738
739 (define-public libyajl
740 (package
741 (name "libyajl")
742 (version "2.1.0")
743 (source (origin
744 (method url-fetch)
745 (uri (string-append "https://github.com/lloyd/yajl/"
746 "archive/" version ".tar.gz"))
747 (file-name (string-append name "-" version ".tar.gz"))
748 (sha256
749 (base32
750 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
751 (build-system cmake-build-system)
752 (home-page "https://lloyd.github.io/yajl/")
753 (synopsis "C library for parsing JSON")
754 (description
755 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
756 parser written in ANSI C and a small validating JSON generator.")
757 (license l:isc)))
758
759 (define-public libwebsockets
760 (package
761 (name "libwebsockets")
762 (version "1.3")
763 (source (origin
764 ;; The project does not publish tarballs, so we have to take
765 ;; things from Git.
766 (method git-fetch)
767 (uri (git-reference
768 (url "https://github.com/warmcat/libwebsockets.git")
769 (commit (string-append "v" version
770 "-chrome37-firefox30"))))
771 (sha256
772 (base32
773 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
774 (file-name (string-append name "-" version))))
775
776 (build-system cmake-build-system)
777 (arguments
778 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
779 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
780 '(#:tests? #f))
781
782 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
783 (inputs `(("zlib" ,zlib)
784 ("openssl" ,openssl)))
785 (synopsis "WebSockets library written in C")
786 (description
787 "Libwebsockets is a library that allows C programs to establish client
788 and server WebSockets connections---a protocol layered above HTTP that allows
789 for efficient socket-like bidirectional reliable communication channels.")
790 (home-page "http://libwebsockets.org/")
791
792 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
793 (license l:lgpl2.1)))
794
795 (define-public libpsl
796 (package
797 (name "libpsl")
798 (version "0.20.1")
799 (source (origin
800 (method url-fetch)
801 (uri (string-append "https://github.com/rockdaboot/libpsl/"
802 "releases/download/libpsl-" version
803 "/libpsl-" version ".tar.gz"))
804 (sha256
805 (base32
806 "17r18y25ka2ck2ykfidbg4a7jpyzmkqwrzplgqjp7mwd2l9rc6cm"))))
807 (build-system gnu-build-system)
808 (native-inputs
809 `(("pkg-config" ,pkg-config)))
810 (inputs
811 `(("libidn2" ,libidn2)
812 ("libunistring" ,libunistring)
813 ("python-2" ,python-2)))
814 (home-page "https://github.com/rockdaboot/libpsl")
815 (synopsis "C library for the Publix Suffix List")
816 (description
817 "A \"public suffix\" is a domain name under which Internet users can
818 directly register own names.
819
820 Browsers and other web clients can use it to avoid privacy-leaking
821 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
822 highlighting parts of the domain in a user interface, and sorting domain lists
823 by site.
824
825 Libpsl has built-in PSL data for fast access, allows to load PSL data from
826 files, checks if a given domain is a public suffix, provides immediate cookie
827 domain verification, finds the longest public part of a given domain, finds
828 the shortest private part of a given domain, works with international
829 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
830 UTS#46.")
831 (license l:x11)))
832
833 (define-public tidy
834 (package
835 (name "tidy")
836 (version "20091223")
837 (source (origin
838 (method cvs-fetch)
839 (uri (cvs-reference
840 (root-directory
841 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
842 (module "tidy")
843 (revision "2009-12-23")))
844 (file-name (string-append name "-" version "-checkout"))
845 (sha256
846 (base32
847 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
848 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
849 (build-system gnu-build-system)
850 (arguments
851 '(#:phases (modify-phases %standard-phases
852 (replace 'bootstrap
853 (lambda* (#:key inputs #:allow-other-keys)
854 ;; configure.in and Makefile.am aren't in the root of the
855 ;; source tree.
856 (copy-recursively "build/gnuauto" ".")
857 (setenv "AUTOMAKE" "automake --foreign")
858 (invoke "autoreconf" "-vfi"))))))
859 (native-inputs
860 `(("automake" ,automake)
861 ("autoconf" ,autoconf)
862 ("libtool" ,libtool)))
863 (synopsis "HTML validator and tidier")
864 (description "HTML Tidy is a command-line tool and C library that can be
865 used to validate and fix HTML data.")
866 (home-page "http://tidy.sourceforge.net/")
867 (license (l:x11-style "file:///include/tidy.h"))))
868
869 (define-public tinyproxy
870 (package
871 (name "tinyproxy")
872 (version "1.8.4")
873 (source (origin
874 (method url-fetch)
875 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
876 "releases/download/" version "/tinyproxy-"
877 version ".tar.xz"))
878 (sha256
879 (base32
880 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
881 (build-system gnu-build-system)
882 (arguments
883 `(#:configure-flags
884 (list
885 ;; For the log file, etc.
886 "--localstatedir=/var")
887 #:phases
888 (modify-phases %standard-phases
889 (add-before 'build 'pre-build
890 (lambda* (#:key inputs #:allow-other-keys #:rest args)
891 ;; Uncommenting the next two lines may assist in debugging
892 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
893 ;; (setenv "XML_DEBUG_CATALOG" "1")
894 #t)))))
895 ;; All of the below are used to generate the documentation
896 ;; (Should they be propagated inputs of asciidoc ??)
897 (native-inputs `(("asciidoc" ,asciidoc)))
898 (home-page "https://tinyproxy.github.io/")
899 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
900 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
901 daemon. Designed from the ground up to be fast and yet small, it is an ideal
902 solution for use cases such as embedded deployments where a full featured HTTP
903 proxy is required, but the system resources for a larger proxy are
904 unavailable.")
905 (license l:gpl2+)))
906
907 (define-public polipo
908 (package
909 (name "polipo")
910 (version "1.1.1")
911 (source
912 (origin
913 (method url-fetch)
914 (uri (string-append
915 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
916 version ".tar.gz"))
917 (sha256
918 (base32
919 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
920 (native-inputs `(("texinfo" ,texinfo)))
921 (build-system gnu-build-system)
922 (arguments
923 `(#:phases (modify-phases %standard-phases
924 (delete 'configure))
925 #:make-flags (let ((out (assoc-ref %outputs "out")))
926 (list (string-append "PREFIX=" out)
927 (string-append "LOCAL_ROOT="
928 out "/share/polipo/www")
929 "CC=gcc"))
930 ;; No 'check' target.
931 #:tests? #f))
932 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
933 (synopsis "Small caching web proxy")
934 (description
935 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
936 server). It was primarily designed to be used by one person or a small group
937 of people.")
938 (license l:expat)))
939
940 (define-public websockify
941 (package
942 (name "websockify")
943 (version "0.8.0")
944 (source (origin
945 (method url-fetch)
946 (uri (string-append "https://github.com/novnc/websockify/archive/v"
947 version "/archive.tar.gz"))
948 (file-name (string-append name "-" version ".tar.gz"))
949 (sha256
950 (base32
951 "1kjq6gibsvbb6zx5gi8hgh7110x62pbwcqkwapf3k7s27w5y907h"))))
952 (build-system python-build-system)
953 (arguments
954 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
955 ; named 'stubout'". The tests can be run by replacing the check phase with
956 ; the command "python setup.py nosetests --verbosity=3".
957 (native-inputs `(; Required for tests:
958 ("python-mox3" ,python-mox3)
959 ("python-nose" ,python-nose)))
960 (propagated-inputs `(("python-numpy" ,python-numpy)))
961 (home-page "https://github.com/novnc/websockify")
962 (synopsis "WebSockets support for any application/server")
963 (description "Websockify translates WebSockets traffic to normal socket
964 traffic. Websockify accepts the WebSockets handshake, parses it, and then
965 begins forwarding traffic between the client and the target in both
966 directions.")
967 (license l:lgpl3)))
968
969 (define-public wwwoffle
970 (package
971 (name "wwwoffle")
972 (version "2.9j")
973 (source (origin
974 (method url-fetch)
975 (uri (string-append "https://www.gedanken.org.uk/software/"
976 "wwwoffle/download/wwwoffle-"
977 version ".tgz"))
978 (sha256
979 (base32
980 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
981 (build-system gnu-build-system)
982 (arguments
983 `(#:configure-flags '("--with-gnutls")
984 #:tests? #f)) ; no test target
985 (native-inputs `(("flex" ,flex)))
986 (inputs `(("gnutls" ,gnutls)
987 ("libcrypt" ,libgcrypt)))
988 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
989 (synopsis "Caching web proxy optimized for intermittent internet links")
990 (description "WWWOFFLE is a proxy web server that is especially good for
991 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
992 protocols, and supports browsing and requesting pages while offline, indexing,
993 modifying pages and incoming and outgoing headers, monitoring pages for
994 changes, and much more.")
995 (license l:gpl2+)))
996
997 (define-public liboauth
998 (package
999 (name "liboauth")
1000 (version "1.0.3")
1001 (source (origin
1002 (method url-fetch)
1003 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1004 version ".tar.gz"))
1005 (sha256
1006 (base32
1007 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1008 (build-system gnu-build-system)
1009 (arguments '(#:configure-flags '("--enable-nss")))
1010 (native-inputs `(("pkg-config" ,pkg-config)))
1011 (propagated-inputs
1012 `(("curl" ,curl)
1013 ("nss" ,nss)))
1014 (home-page "https://sourceforge.net/projects/liboauth")
1015 (synopsis "C library implementing the OAuth API")
1016 (description
1017 "liboauth is a collection of C functions implementing the OAuth API.
1018 liboauth provides functions to escape and encode strings according to OAuth
1019 specifications and offers high-level functionality built on top to sign
1020 requests or verify signatures using either NSS or OpenSSL for calculating the
1021 hash/signatures.")
1022 ;; Source code may be distributed under either license.
1023 (license (list l:expat l:gpl2+))))
1024
1025 (define-public libyaml
1026 (package
1027 (name "libyaml")
1028 (version "0.1.6")
1029 (source
1030 (origin
1031 (method url-fetch)
1032 (uri (string-append
1033 "http://pyyaml.org/download/libyaml/yaml-"
1034 version ".tar.gz"))
1035 (patches (search-patches "libyaml-CVE-2014-9130.patch"))
1036 (sha256
1037 (base32
1038 "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx"))))
1039 (build-system gnu-build-system)
1040 (home-page "http://pyyaml.org/wiki/LibYAML")
1041 (synopsis "YAML 1.1 parser and emitter written in C")
1042 (description
1043 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1044 (license l:expat)))
1045
1046 (define-public libquvi-scripts
1047 (package
1048 (name "libquvi-scripts")
1049 (version "0.4.21")
1050 (source
1051 (origin
1052 (method url-fetch)
1053 (uri (string-append
1054 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1055 name "/" name "-" version ".tar.xz"))
1056 (sha256
1057 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1058 (build-system gnu-build-system)
1059 (home-page "http://quvi.sourceforge.net/")
1060 (synopsis "Media stream URL parser")
1061 (description "This package contains support scripts called by libquvi to
1062 parse media stream properties.")
1063 (license l:lgpl2.1+)))
1064
1065 (define-public libquvi
1066 (package
1067 (name "libquvi")
1068 (version "0.4.1")
1069 (source
1070 (origin
1071 (method url-fetch)
1072 (uri (string-append
1073 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1074 name "-" version ".tar.xz"))
1075 (sha256
1076 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1077 (build-system gnu-build-system)
1078 (native-inputs `(("pkg-config" ,pkg-config)))
1079 (inputs
1080 `(("curl" ,curl)
1081 ("cyrus-sasl" ,cyrus-sasl)
1082 ("libquvi-scripts" ,libquvi-scripts)
1083 ("lua" ,lua-5.1)
1084 ("openssl" ,openssl)
1085 ("zlib" ,zlib)))
1086 (arguments
1087 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1088 '(#:configure-flags
1089 (let ((lua (assoc-ref %build-inputs "lua")))
1090 (list
1091 (string-append "liblua_CFLAGS=-I" lua "/include")
1092 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1093 (home-page "http://quvi.sourceforge.net/")
1094 (synopsis "Media stream URL parser")
1095 (description "libquvi is a library with a C API for parsing media stream
1096 URLs and extracting their actual media files.")
1097 (license l:lgpl2.1+)))
1098
1099 (define-public quvi
1100 (package
1101 (name "quvi")
1102 (version "0.4.2")
1103 (source
1104 (origin
1105 (method url-fetch)
1106 (uri (string-append
1107 "mirror://sourceforge/" name "/" (version-major+minor version)
1108 "/" name "/" name "-" version ".tar.xz"))
1109 (sha256
1110 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1111 (build-system gnu-build-system)
1112 (native-inputs `(("pkg-config" ,pkg-config)))
1113 (inputs
1114 `(("curl" ,curl)
1115 ("libquvi" ,libquvi)))
1116 (home-page "http://quvi.sourceforge.net/")
1117 (synopsis "Media stream URL parser")
1118 (description "quvi is a command-line-tool suite to extract media files
1119 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1120 (license l:lgpl2.1+)))
1121
1122 (define-public serf
1123 (package
1124 (name "serf")
1125 (version "1.3.9")
1126 (source
1127 (origin
1128 (method url-fetch)
1129 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
1130 version ".tar.bz2"))
1131 (sha256
1132 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1133 (build-system scons-build-system)
1134 (propagated-inputs
1135 `(("apr" ,apr)
1136 ("apr-util" ,apr-util)
1137 ("openssl" ,openssl)))
1138 (inputs
1139 `(;; TODO: Fix build with gss.
1140 ;;("gss" ,gss)
1141 ("zlib" ,zlib)))
1142 (arguments
1143 `(#:scons ,scons-python2
1144 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1145 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1146 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1147 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1148 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1149 (string-append "PREFIX=" %output))
1150 #:phases
1151 (modify-phases %standard-phases
1152 (add-after 'unpack 'scons-propagate-environment
1153 (lambda _
1154 ;; By design, SCons does not, by default, propagate
1155 ;; environment variables to subprocesses. See:
1156 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1157 ;; Here, we modify the SConstruct file to arrange for
1158 ;; environment variables to be propagated.
1159 (substitute* "SConstruct"
1160 (("^env = Environment\\(")
1161 "env = Environment(ENV=os.environ, "))))
1162 (add-before 'check 'disable-broken-tests
1163 (lambda _
1164 ;; These tests rely on SSL certificates that expired 2017-04-18.
1165 ;; While there are newer certs available upstream, we don't want
1166 ;; this package to suddenly "expire" some time in the future.
1167 ;; https://bugs.gnu.org/26671
1168 (let ((broken-tests
1169 '("test_ssl_trust_rootca"
1170 "test_ssl_certificate_chain_with_anchor"
1171 "test_ssl_certificate_chain_all_from_server"
1172 "test_ssl_no_servercert_callback_allok"
1173 "test_ssl_large_response"
1174 "test_ssl_large_request"
1175 "test_ssl_client_certificate"
1176 "test_ssl_future_server_cert"
1177 "test_setup_ssltunnel"
1178 "test_ssltunnel_basic_auth"
1179 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1180 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1181 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1182 "test_ssltunnel_digest_auth")))
1183 (for-each
1184 (lambda (test)
1185 (substitute* "test/test_context.c"
1186 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1187 broken-tests)
1188 #t))))))
1189 (home-page "https://serf.apache.org/")
1190 (synopsis "High-performance asynchronous HTTP client library")
1191 (description
1192 "serf is a C-based HTTP client library built upon the Apache Portable
1193 Runtime (APR) library. It multiplexes connections, running the read/write
1194 communication asynchronously. Memory copies and transformations are kept to a
1195 minimum to provide high performance operation.")
1196 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1197 ;; bundled CuTest framework uses a different non-copyleft license.
1198 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
1199
1200 (define-public sassc
1201 ;; libsass must be statically linked and it isn't included in the sassc
1202 ;; release tarballs, hence this odd package recipe.
1203 (let* ((version "3.4.5")
1204 (libsass
1205 (origin
1206 (method url-fetch)
1207 (uri (string-append
1208 "https://github.com/sass/libsass/archive/"
1209 version ".tar.gz"))
1210 (file-name (string-append "libsass-" version ".tar.gz"))
1211 (sha256
1212 (base32
1213 "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x")))))
1214 (package
1215 (name "sassc")
1216 (version version)
1217 (source (origin
1218 (method url-fetch)
1219 (uri (string-append "https://github.com/sass/sassc/archive/"
1220 version ".tar.gz"))
1221 (file-name (string-append "sassc-" version ".tar.gz"))
1222 (sha256
1223 (base32
1224 "1xk4kmmvziz9sal3swpqa10q0s289xjpcz8aggmly8mvxvmngsi9"))))
1225 (build-system gnu-build-system)
1226 (arguments
1227 `(#:make-flags
1228 (list "CC=gcc"
1229 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1230 #:test-target "test"
1231 ;; FIXME: "make test" rebuilds the application and gets lost in a
1232 ;; non-existing directory.
1233 #:tests? #f
1234 #:phases
1235 (modify-phases %standard-phases
1236 (delete 'configure)
1237 (add-after 'unpack 'unpack-libsass-and-set-path
1238 (lambda* (#:key inputs #:allow-other-keys)
1239 (invoke "tar" "xvf" (assoc-ref inputs "libsass"))
1240 (setenv "SASS_LIBSASS_PATH"
1241 (string-append (getcwd) "/libsass-" ,version)))))))
1242 (inputs
1243 `(("libsass" ,libsass)))
1244 (synopsis "CSS pre-processor")
1245 (description "SassC is a compiler written in C for the CSS pre-processor
1246 language known as SASS.")
1247 (home-page "http://sass-lang.com/libsass")
1248 (license l:expat))))
1249
1250 \f
1251 (define-public perl-apache-logformat-compiler
1252 (package
1253 (name "perl-apache-logformat-compiler")
1254 (version "0.33")
1255 (source
1256 (origin
1257 (method url-fetch)
1258 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1259 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1260 (sha256
1261 (base32
1262 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
1263 (build-system perl-build-system)
1264 (native-inputs
1265 `(("perl-http-message" ,perl-http-message)
1266 ("perl-module-build" ,perl-module-build)
1267 ("perl-test-mocktime" ,perl-test-mocktime)
1268 ("perl-try-tiny" ,perl-try-tiny)
1269 ("perl-uri" ,perl-uri)))
1270 (propagated-inputs
1271 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1272 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
1273 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
1274 (synopsis "Compile a log format string to perl-code")
1275 (description "This module provides methods to compile a log format string
1276 to perl-code, for faster generation of access_log lines.")
1277 (license l:perl-license)))
1278
1279 (define-public perl-authen-sasl
1280 (package
1281 (name "perl-authen-sasl")
1282 (version "2.16")
1283 (source
1284 (origin
1285 (method url-fetch)
1286 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1287 "Authen-SASL-" version ".tar.gz"))
1288 (sha256
1289 (base32
1290 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1291 (build-system perl-build-system)
1292 (arguments
1293 '(#:phases
1294 (modify-phases %standard-phases
1295 (add-after 'unpack 'set-env
1296 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1297 ;; versions of perl-authen-sasl.
1298 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1299 (propagated-inputs
1300 `(("perl-digest-hmac" ,perl-digest-hmac)
1301 ("perl-gssapi" ,perl-gssapi)))
1302 (home-page "http://search.cpan.org/dist/Authen-SASL")
1303 (synopsis "SASL authentication framework")
1304 (description "Authen::SASL provides an SASL authentication framework.")
1305 (license l:perl-license)))
1306
1307 (define-public perl-catalyst-action-renderview
1308 (package
1309 (name "perl-catalyst-action-renderview")
1310 (version "0.16")
1311 (source
1312 (origin
1313 (method url-fetch)
1314 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1315 "Catalyst-Action-RenderView-"
1316 version ".tar.gz"))
1317 (sha256
1318 (base32
1319 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1320 (build-system perl-build-system)
1321 (native-inputs
1322 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1323 ("perl-module-install" ,perl-module-install)))
1324 (propagated-inputs
1325 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1326 ("perl-data-visitor" ,perl-data-visitor)
1327 ("perl-mro-compat" ,perl-mro-compat)))
1328 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
1329 (synopsis "Sensible default Catalyst action")
1330 (description "This Catalyst action implements a sensible default end
1331 action, which will forward to the first available view.")
1332 (license l:perl-license)))
1333
1334 (define-public perl-catalyst-action-rest
1335 (package
1336 (name "perl-catalyst-action-rest")
1337 (version "1.20")
1338 (source (origin
1339 (method url-fetch)
1340 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1341 "Catalyst-Action-REST-" version ".tar.gz"))
1342 (sha256
1343 (base32
1344 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
1345 (build-system perl-build-system)
1346 (native-inputs
1347 `(("perl-test-requires" ,perl-test-requires)
1348 ("perl-module-install" ,perl-module-install)))
1349 (propagated-inputs
1350 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1351 ("perl-class-inspector" ,perl-class-inspector)
1352 ("perl-config-general" ,perl-config-general)
1353 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1354 ("perl-libwww" ,perl-libwww)
1355 ("perl-moose" ,perl-moose)
1356 ("perl-mro-compat" ,perl-mro-compat)
1357 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1358 ("perl-params-validate" ,perl-params-validate)
1359 ("perl-uri-find" ,perl-uri-find)
1360 ("perl-xml-simple" ,perl-xml-simple)))
1361 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
1362 (synopsis "Automated REST Method Dispatching")
1363 (description "This Action handles doing automatic method dispatching for
1364 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1365 append an underscore and method name. First it will try dispatching to an
1366 action with the generated name, and failing that it will try to dispatch to a
1367 regular method.")
1368 (license l:perl-license)))
1369
1370 (define-public perl-catalyst-authentication-store-dbix-class
1371 (package
1372 (name "perl-catalyst-authentication-store-dbix-class")
1373 (version "0.1506")
1374 (source
1375 (origin
1376 (method url-fetch)
1377 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1378 "Catalyst-Authentication-Store-DBIx-Class-"
1379 version ".tar.gz"))
1380 (sha256
1381 (base32
1382 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1383 (build-system perl-build-system)
1384 (native-inputs
1385 `(("perl-catalyst-plugin-authorization-roles"
1386 ,perl-catalyst-plugin-authorization-roles)
1387 ("perl-catalyst-plugin-session-state-cookie"
1388 ,perl-catalyst-plugin-session-state-cookie)
1389 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1390 ("perl-module-install" ,perl-module-install)
1391 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1392 (propagated-inputs
1393 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1394 ("perl-catalyst-plugin-authentication"
1395 ,perl-catalyst-plugin-authentication)
1396 ("perl-dbix-class" ,perl-dbix-class)
1397 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1398 (home-page
1399 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
1400 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1401 (description "The Catalyst::Authentication::Store::DBIx::Class class
1402 provides access to authentication information stored in a database via
1403 DBIx::Class.")
1404 (license l:perl-license)))
1405
1406 (define-public perl-catalyst-component-instancepercontext
1407 (package
1408 (name "perl-catalyst-component-instancepercontext")
1409 (version "0.001001")
1410 (source
1411 (origin
1412 (method url-fetch)
1413 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1414 "Catalyst-Component-InstancePerContext-"
1415 version ".tar.gz"))
1416 (sha256
1417 (base32
1418 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1419 (build-system perl-build-system)
1420 (native-inputs
1421 `(("perl-module-install" ,perl-module-install)))
1422 (propagated-inputs
1423 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1424 ("perl-moose" ,perl-moose)))
1425 (home-page
1426 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
1427 (synopsis "Create only one instance of Moose component per context")
1428 (description "Catalyst::Component::InstancePerContext returns a new
1429 instance of a component on each request.")
1430 (license l:perl-license)))
1431
1432 (define-public perl-catalyst-devel
1433 (package
1434 (name "perl-catalyst-devel")
1435 (version "1.39")
1436 (source
1437 (origin
1438 (method url-fetch)
1439 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1440 "Catalyst-Devel-" version ".tar.gz"))
1441 (sha256
1442 (base32
1443 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1444 (build-system perl-build-system)
1445 (native-inputs
1446 `(("perl-test-fatal" ,perl-test-fatal)))
1447 (propagated-inputs
1448 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1449 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1450 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1451 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1452 ("perl-config-general" ,perl-config-general)
1453 ("perl-file-changenotify" ,perl-file-changenotify)
1454 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1455 ("perl-file-sharedir" ,perl-file-sharedir)
1456 ("perl-module-install" ,perl-module-install)
1457 ("perl-moose" ,perl-moose)
1458 ("perl-moosex-emulate-class-accessor-fast"
1459 ,perl-moosex-emulate-class-accessor-fast)
1460 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1461 ("perl-namespace-clean" ,perl-namespace-clean)
1462 ("perl-path-class" ,perl-path-class)
1463 ("perl-template-toolkit" ,perl-template-toolkit)))
1464 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1465 (synopsis "Catalyst Development Tools")
1466 (description "The Catalyst-Devel distribution includes a variety of
1467 modules useful for the development of Catalyst applications, but not required
1468 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1469 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1470 extension for Catalyst; and requirements for a variety of development-related
1471 modules.")
1472 (license l:perl-license)))
1473
1474 (define-public perl-catalyst-dispatchtype-regex
1475 (package
1476 (name "perl-catalyst-dispatchtype-regex")
1477 (version "5.90035")
1478 (source
1479 (origin
1480 (method url-fetch)
1481 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1482 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1483 (sha256
1484 (base32
1485 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1486 (build-system perl-build-system)
1487 (native-inputs
1488 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1489 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1490 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1491 (propagated-inputs
1492 `(("perl-moose" ,perl-moose)
1493 ("perl-text-simpletable" ,perl-text-simpletable)))
1494 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1495 (synopsis "Regex DispatchType for Catalyst")
1496 (description "Dispatch type managing path-matching behaviour using
1497 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1498 core. It is recommend that you use Chained methods or other techniques
1499 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1500 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1501 when the dispatch type is first seen in your application.")
1502 (license l:perl-license)))
1503
1504 (define-public perl-catalyst-model-dbic-schema
1505 (package
1506 (name "perl-catalyst-model-dbic-schema")
1507 (version "0.65")
1508 (source
1509 (origin
1510 (method url-fetch)
1511 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1512 "Catalyst-Model-DBIC-Schema-"
1513 version ".tar.gz"))
1514 (sha256
1515 (base32
1516 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1517 (build-system perl-build-system)
1518 (native-inputs
1519 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1520 ("perl-module-install" ,perl-module-install)
1521 ("perl-test-exception" ,perl-test-exception)
1522 ("perl-test-requires" ,perl-test-requires)))
1523 (propagated-inputs
1524 `(("perl-carp-clan" ,perl-carp-clan)
1525 ("perl-catalyst-component-instancepercontext"
1526 ,perl-catalyst-component-instancepercontext)
1527 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1528 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1529 ("perl-dbix-class" ,perl-dbix-class)
1530 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1531 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1532 ("perl-hash-merge" ,perl-hash-merge)
1533 ("perl-list-moreutils" ,perl-list-moreutils)
1534 ("perl-module-runtime" ,perl-module-runtime)
1535 ("perl-moose" ,perl-moose)
1536 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1537 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1538 ("perl-moosex-types" ,perl-moosex-types)
1539 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1540 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1541 ("perl-namespace-clean" ,perl-namespace-clean)
1542 ("perl-tie-ixhash" ,perl-tie-ixhash)
1543 ("perl-try-tiny" ,perl-try-tiny)))
1544 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1545 (synopsis "DBIx::Class::Schema Model Class")
1546 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1547 Models.")
1548 (license l:perl-license)))
1549
1550 (define-public perl-catalyst-plugin-accesslog
1551 (package
1552 (name "perl-catalyst-plugin-accesslog")
1553 (version "1.10")
1554 (source
1555 (origin
1556 (method url-fetch)
1557 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1558 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1559 (sha256
1560 (base32
1561 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1562 (build-system perl-build-system)
1563 (propagated-inputs
1564 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1565 ("perl-datetime" ,perl-datetime)
1566 ("perl-moose" ,perl-moose)
1567 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1568 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1569 (synopsis "Request logging from within Catalyst")
1570 (description "This Catalyst plugin enables you to create \"access logs\"
1571 from within a Catalyst application instead of requiring a webserver to do it
1572 for you. It will work even with Catalyst debug logging turned off.")
1573 (license l:perl-license)))
1574
1575 (define-public perl-catalyst-plugin-authentication
1576 (package
1577 (name "perl-catalyst-plugin-authentication")
1578 (version "0.10023")
1579 (source
1580 (origin
1581 (method url-fetch)
1582 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1583 "Catalyst-Plugin-Authentication-"
1584 version ".tar.gz"))
1585 (sha256
1586 (base32
1587 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1588 (build-system perl-build-system)
1589 (native-inputs
1590 `(("perl-module-install" ,perl-module-install)))
1591 (propagated-inputs
1592 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1593 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1594 ("perl-class-inspector" ,perl-class-inspector)
1595 ("perl-moose" ,perl-moose)
1596 ("perl-moosex-emulate-class-accessor-fast"
1597 ,perl-moosex-emulate-class-accessor-fast)
1598 ("perl-mro-compat" ,perl-mro-compat)
1599 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1600 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1601 ("perl-test-exception" ,perl-test-exception)
1602 ("perl-try-tiny" ,perl-try-tiny)))
1603 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1604 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1605 (description "The authentication plugin provides generic user support for
1606 Catalyst apps. It is the basis for both authentication (checking the user is
1607 who they claim to be), and authorization (allowing the user to do what the
1608 system authorises them to do).")
1609 (license l:perl-license)))
1610
1611 (define-public perl-catalyst-plugin-authorization-roles
1612 (package
1613 (name "perl-catalyst-plugin-authorization-roles")
1614 (version "0.09")
1615 (source
1616 (origin
1617 (method url-fetch)
1618 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1619 "Catalyst-Plugin-Authorization-Roles-"
1620 version ".tar.gz"))
1621 (sha256
1622 (base32
1623 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1624 (build-system perl-build-system)
1625 (native-inputs
1626 `(("perl-module-install" ,perl-module-install)
1627 ("perl-test-exception" ,perl-test-exception)))
1628 (propagated-inputs
1629 `(("perl-catalyst-plugin-authentication"
1630 ,perl-catalyst-plugin-authentication)
1631 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1632 ("perl-set-object" ,perl-set-object)
1633 ("perl-universal-isa" ,perl-universal-isa)))
1634 (home-page
1635 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1636 (synopsis "Role-based authorization for Catalyst")
1637 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1638 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1639 (license l:perl-license)))
1640
1641 (define-public perl-catalyst-plugin-captcha
1642 (package
1643 (name "perl-catalyst-plugin-captcha")
1644 (version "0.04")
1645 (source
1646 (origin
1647 (method url-fetch)
1648 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1649 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1650 (sha256
1651 (base32
1652 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1653 (build-system perl-build-system)
1654 (propagated-inputs
1655 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1656 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1657 ("perl-gd-securityimage" ,perl-gd-securityimage)
1658 ("perl-http-date" ,perl-http-date)))
1659 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1660 (synopsis "Captchas for Catalyst")
1661 (description "This plugin creates and validates Captcha images for
1662 Catalyst.")
1663 (license l:perl-license)))
1664
1665 (define-public perl-catalyst-plugin-configloader
1666 (package
1667 (name "perl-catalyst-plugin-configloader")
1668 (version "0.34")
1669 (source
1670 (origin
1671 (method url-fetch)
1672 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1673 "Catalyst-Plugin-ConfigLoader-"
1674 version ".tar.gz"))
1675 (sha256
1676 (base32
1677 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1678 (build-system perl-build-system)
1679 (native-inputs
1680 `(("perl-path-class" ,perl-path-class)
1681 ("perl-module-install" ,perl-module-install)))
1682 (propagated-inputs
1683 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1684 ("perl-config-any" ,perl-config-any)
1685 ("perl-data-visitor" ,perl-data-visitor)
1686 ("perl-mro-compat" ,perl-mro-compat)))
1687 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1688 (synopsis "Load config files of various types")
1689 (description "This module will attempt to load find and load configuration
1690 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1691 formats.")
1692 (license l:perl-license)))
1693
1694 (define-public perl-catalyst-plugin-session
1695 (package
1696 (name "perl-catalyst-plugin-session")
1697 (version "0.40")
1698 (source
1699 (origin
1700 (method url-fetch)
1701 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1702 "Catalyst-Plugin-Session-" version ".tar.gz"))
1703 (sha256
1704 (base32
1705 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
1706 (build-system perl-build-system)
1707 (native-inputs
1708 `(("perl-module-install" ,perl-module-install)
1709 ("perl-test-deep" ,perl-test-deep)
1710 ("perl-test-exception" ,perl-test-exception)))
1711 (propagated-inputs
1712 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1713 ("perl-moose" ,perl-moose)
1714 ("perl-moosex-emulate-class-accessor-fast"
1715 ,perl-moosex-emulate-class-accessor-fast)
1716 ("perl-mro-compat" ,perl-mro-compat)
1717 ("perl-namespace-clean" ,perl-namespace-clean)
1718 ("perl-object-signature" ,perl-object-signature)
1719 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1720 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1721 (synopsis "Catalyst generic session plugin")
1722 (description "This plugin links the two pieces required for session
1723 management in web applications together: the state, and the store.")
1724 (license l:perl-license)))
1725
1726 (define-public perl-catalyst-plugin-session-state-cookie
1727 (package
1728 (name "perl-catalyst-plugin-session-state-cookie")
1729 (version "0.17")
1730 (source
1731 (origin
1732 (method url-fetch)
1733 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1734 "Catalyst-Plugin-Session-State-Cookie-"
1735 version ".tar.gz"))
1736 (sha256
1737 (base32
1738 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1739 (build-system perl-build-system)
1740 (native-inputs
1741 `(("perl-module-install" ,perl-module-install)))
1742 (propagated-inputs
1743 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1744 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1745 ("perl-moose" ,perl-moose)
1746 ("perl-mro-compat" ,perl-mro-compat)
1747 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1748 (home-page
1749 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1750 (synopsis "Maintain session IDs using cookies")
1751 (description "In order for Catalyst::Plugin::Session to work, the session
1752 ID needs to be stored on the client, and the session data needs to be stored
1753 on the server. This plugin stores the session ID on the client using the
1754 cookie mechanism.")
1755 (license l:perl-license)))
1756
1757 (define-public perl-catalyst-plugin-session-store-fastmmap
1758 (package
1759 (name "perl-catalyst-plugin-session-store-fastmmap")
1760 (version "0.16")
1761 (source
1762 (origin
1763 (method url-fetch)
1764 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1765 "Catalyst-Plugin-Session-Store-FastMmap-"
1766 version ".tar.gz"))
1767 (sha256
1768 (base32
1769 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1770 (build-system perl-build-system)
1771 (propagated-inputs
1772 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1773 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1774 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1775 ("perl-moosex-emulate-class-accessor-fast"
1776 ,perl-moosex-emulate-class-accessor-fast)
1777 ("perl-mro-compat" ,perl-mro-compat)
1778 ("perl-path-class" ,perl-path-class)))
1779 (home-page
1780 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
1781 (synopsis "FastMmap session storage backend")
1782 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1783 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1784 memory interprocess cache. It is based on Cache::FastMmap.")
1785 (license l:perl-license)))
1786
1787 (define-public perl-catalyst-plugin-stacktrace
1788 (package
1789 (name "perl-catalyst-plugin-stacktrace")
1790 (version "0.12")
1791 (source
1792 (origin
1793 (method url-fetch)
1794 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1795 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1796 (sha256
1797 (base32
1798 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1799 (build-system perl-build-system)
1800 (native-inputs
1801 `(("perl-module-install" ,perl-module-install)))
1802 (propagated-inputs
1803 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1804 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1805 ("perl-mro-compat" ,perl-mro-compat)))
1806 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1807 (synopsis "Stack trace on the Catalyst debug screen")
1808 (description "This plugin enhances the standard Catalyst debug screen by
1809 including a stack trace of your application up to the point where the error
1810 occurred. Each stack frame is displayed along with the package name, line
1811 number, file name, and code context surrounding the line number.")
1812 (license l:perl-license)))
1813
1814 (define-public perl-catalyst-plugin-static-simple
1815 (package
1816 (name "perl-catalyst-plugin-static-simple")
1817 (version "0.36")
1818 (source
1819 (origin
1820 (method url-fetch)
1821 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1822 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1823 (sha256
1824 (base32
1825 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
1826 (build-system perl-build-system)
1827 (native-inputs
1828 `(("perl-module-install" ,perl-module-install)))
1829 (propagated-inputs
1830 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1831 ("perl-mime-types" ,perl-mime-types)
1832 ("perl-moose" ,perl-moose)
1833 ("perl-moosex-types" ,perl-moosex-types)
1834 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1835 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1836 (synopsis "Simple serving of static pages")
1837 (description "The Static::Simple plugin is designed to make serving static
1838 content in your application during development quick and easy, without
1839 requiring a single line of code from you. This plugin detects static files by
1840 looking at the file extension in the URL (such as .css or .png or .js). The
1841 plugin uses the lightweight MIME::Types module to map file extensions to
1842 IANA-registered MIME types, and will serve your static files with the correct
1843 MIME type directly to the browser, without being processed through Catalyst.")
1844 (license l:perl-license)))
1845
1846 (define-public perl-catalyst-runtime
1847 (package
1848 (name "perl-catalyst-runtime")
1849 (version "5.90115")
1850 (source
1851 (origin
1852 (method url-fetch)
1853 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1854 "Catalyst-Runtime-" version ".tar.gz"))
1855 (sha256
1856 (base32
1857 "0kh3ng6pjpxmndq9vrn515f70x7h44ish5bsgjwj4pjvchcyivzm"))))
1858 (build-system perl-build-system)
1859 (native-inputs
1860 `(("perl-module-install" ,perl-module-install)
1861 ("perl-test-fatal" ,perl-test-fatal)))
1862 (propagated-inputs
1863 `(("perl-cgi-simple" ,perl-cgi-simple)
1864 ("perl-cgi-struct" ,perl-cgi-struct)
1865 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1866 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1867 ("perl-class-date" ,perl-class-date)
1868 ("perl-class-load" ,perl-class-load)
1869 ("perl-data-dump" ,perl-data-dump)
1870 ("perl-http-body" ,perl-http-body)
1871 ("perl-http-message" ,perl-http-message)
1872 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1873 ("perl-io-stringy" ,perl-io-stringy)
1874 ("perl-json-maybexs" ,perl-json-maybexs)
1875 ("perl-libwww" ,perl-libwww)
1876 ("perl-module-pluggable" ,perl-module-pluggable)
1877 ("perl-moose" ,perl-moose)
1878 ("perl-moosex-emulate-class-accessor-fast"
1879 ,perl-moosex-emulate-class-accessor-fast)
1880 ("perl-moosex-getopt" ,perl-moosex-getopt)
1881 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1882 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1883 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1884 ("perl-namespace-clean" ,perl-namespace-clean)
1885 ("perl-path-class" ,perl-path-class)
1886 ("perl-plack" ,perl-plack)
1887 ("perl-plack-middleware-fixmissingbodyinredirect"
1888 ,perl-plack-middleware-fixmissingbodyinredirect)
1889 ("perl-plack-middleware-methodoverride"
1890 ,perl-plack-middleware-methodoverride)
1891 ("perl-plack-middleware-removeredundantbody"
1892 ,perl-plack-middleware-removeredundantbody)
1893 ("perl-plack-middleware-reverseproxy"
1894 ,perl-plack-middleware-reverseproxy)
1895 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1896 ("perl-safe-isa" ,perl-safe-isa)
1897 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1898 ("perl-text-simpletable" ,perl-text-simpletable)
1899 ("perl-tree-simple" ,perl-tree-simple)
1900 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1901 ("perl-try-tiny" ,perl-try-tiny)
1902 ("perl-uri" ,perl-uri)
1903 ("perl-uri-ws" ,perl-uri-ws)))
1904 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1905 (synopsis "The Catalyst Framework Runtime")
1906 (description "Catalyst is a modern framework for making web applications.
1907 It is designed to make it easy to manage the various tasks you need to do to
1908 run an application on the web, either by doing them itself, or by letting you
1909 \"plug in\" existing Perl modules that do what you need.")
1910 (license l:perl-license)))
1911
1912 (define-public perl-catalyst-traitfor-request-proxybase
1913 (package
1914 (name "perl-catalyst-traitfor-request-proxybase")
1915 (version "0.000005")
1916 (source
1917 (origin
1918 (method url-fetch)
1919 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1920 "Catalyst-TraitFor-Request-ProxyBase-"
1921 version ".tar.gz"))
1922 (sha256
1923 (base32
1924 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1925 (build-system perl-build-system)
1926 (native-inputs
1927 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1928 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1929 ("perl-http-message" ,perl-http-message)
1930 ("perl-module-install" ,perl-module-install)))
1931 (propagated-inputs
1932 `(("perl-moose" ,perl-moose)
1933 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1934 ("perl-uri" ,perl-uri)))
1935 (home-page
1936 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1937 (synopsis "Replace request base with value passed by HTTP proxy")
1938 (description "This module is a Moose::Role which allows you more
1939 flexibility in your application's deployment configurations when deployed
1940 behind a proxy. Using this module, the request base ($c->req->base) is
1941 replaced with the contents of the X-Request-Base header.")
1942 (license l:perl-license)))
1943
1944 (define-public perl-catalyst-view-download
1945 (package
1946 (name "perl-catalyst-view-download")
1947 (version "0.09")
1948 (source
1949 (origin
1950 (method url-fetch)
1951 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1952 "Catalyst-View-Download-" version ".tar.gz"))
1953 (sha256
1954 (base32
1955 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1956 (build-system perl-build-system)
1957 (native-inputs
1958 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1959 ("perl-module-install" ,perl-module-install)
1960 ("perl-test-simple" ,perl-test-simple)
1961 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1962 ("perl-text-csv" ,perl-text-csv)
1963 ("perl-xml-simple" ,perl-xml-simple)))
1964 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1965 (synopsis "Download data in many formats")
1966 (description "The purpose of this module is to provide a method for
1967 downloading data into many supportable formats. For example, downloading a
1968 table based report in a variety of formats (CSV, HTML, etc.).")
1969 (license l:perl-license)))
1970
1971 (define-public perl-catalyst-view-json
1972 (package
1973 (name "perl-catalyst-view-json")
1974 (version "0.36")
1975 (source
1976 (origin
1977 (method url-fetch)
1978 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1979 "Catalyst-View-JSON-" version ".tar.gz"))
1980 (sha256
1981 (base32
1982 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
1983 (build-system perl-build-system)
1984 (native-inputs
1985 `(("perl-module-install" ,perl-module-install)
1986 ("perl-yaml" ,perl-yaml)))
1987 (inputs
1988 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1989 ("perl-json-maybexs" ,perl-json-maybexs)
1990 ("perl-mro-compat" ,perl-mro-compat)))
1991 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1992 (synopsis "Catalyst JSON view")
1993 (description "Catalyst::View::JSON is a Catalyst View handler that returns
1994 stash data in JSON format.")
1995 (license l:perl-license)))
1996
1997 (define-public perl-catalyst-view-tt
1998 (package
1999 (name "perl-catalyst-view-tt")
2000 (version "0.44")
2001 (source
2002 (origin
2003 (method url-fetch)
2004 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2005 "Catalyst-View-TT-" version ".tar.gz"))
2006 (sha256
2007 (base32
2008 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2009 (build-system perl-build-system)
2010 (propagated-inputs
2011 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2012 ("perl-class-accessor" ,perl-class-accessor)
2013 ("perl-data-dump" ,perl-data-dump)
2014 ("perl-mro-compat" ,perl-mro-compat)
2015 ("perl-path-class" ,perl-path-class)
2016 ("perl-template-timer" ,perl-template-timer)
2017 ("perl-template-toolkit" ,perl-template-toolkit)))
2018 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
2019 (synopsis "Template View Class")
2020 (description "This module is a Catalyst view class for the Template
2021 Toolkit.")
2022 (license l:perl-license)))
2023
2024 (define-public perl-catalystx-component-traits
2025 (package
2026 (name "perl-catalystx-component-traits")
2027 (version "0.19")
2028 (source
2029 (origin
2030 (method url-fetch)
2031 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2032 "CatalystX-Component-Traits-" version ".tar.gz"))
2033 (sha256
2034 (base32
2035 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2036 (build-system perl-build-system)
2037 (native-inputs
2038 `(("perl-moose" ,perl-moose)
2039 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2040 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2041 (propagated-inputs
2042 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2043 ("perl-class-load" ,perl-class-load)
2044 ("perl-moose" ,perl-moose)
2045 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2046 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2047 ("perl-list-moreutils" ,perl-list-moreutils)))
2048 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
2049 (synopsis "Trait Loading and Resolution for Catalyst Components")
2050 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2051 Catalyst component base class that reads the optional \"traits\" parameter
2052 from app and component config and instantiates the component subclass with
2053 those traits using \"new_with_traits\" in MooseX::Traits from
2054 MooseX::Traits::Pluggable.")
2055 (license l:perl-license)))
2056
2057 (define-public perl-catalystx-roleapplicator
2058 (package
2059 (name "perl-catalystx-roleapplicator")
2060 (version "0.005")
2061 (source
2062 (origin
2063 (method url-fetch)
2064 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2065 "CatalystX-RoleApplicator-" version ".tar.gz"))
2066 (sha256
2067 (base32
2068 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2069 (build-system perl-build-system)
2070 (propagated-inputs
2071 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2072 ("perl-moose" ,perl-moose)
2073 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2074 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
2075 (synopsis "Apply roles to Catalyst classes")
2076 (description "CatalystX::RoleApplicator applies roles to Catalyst
2077 application classes.")
2078 (license l:perl-license)))
2079
2080 (define-public perl-catalystx-script-server-starman
2081 (package
2082 (name "perl-catalystx-script-server-starman")
2083 (version "0.02")
2084 (source
2085 (origin
2086 (method url-fetch)
2087 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2088 "CatalystX-Script-Server-Starman-"
2089 version ".tar.gz"))
2090 (sha256
2091 (base32
2092 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
2093 (build-system perl-build-system)
2094 (native-inputs
2095 `(("perl-module-install" ,perl-module-install)
2096 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2097 (propagated-inputs
2098 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2099 ("perl-moose" ,perl-moose)
2100 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2101 ("starman" ,starman)))
2102 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
2103 (synopsis "Catalyst development server with Starman")
2104 (description "This module provides a Catalyst extension to replace the
2105 development server with Starman.")
2106 (license l:perl-license)))
2107
2108 (define-public perl-cgi
2109 (package
2110 (name "perl-cgi")
2111 (version "4.38")
2112 (source
2113 (origin
2114 (method url-fetch)
2115 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2116 "CGI-" version ".tar.gz"))
2117 (sha256
2118 (base32
2119 "1m779315rzj4mpgscw209a2wk18iwg2n8zibn8aak4mv56jz8n4c"))))
2120 (build-system perl-build-system)
2121 (native-inputs
2122 `(("perl-test-deep" ,perl-test-deep)
2123 ("perl-test-nowarnings" ,perl-test-nowarnings)
2124 ("perl-test-warn" ,perl-test-warn)))
2125 (propagated-inputs
2126 `(("perl-html-parser" ,perl-html-parser)))
2127 (home-page "http://search.cpan.org/dist/CGI")
2128 (synopsis "Handle Common Gateway Interface requests and responses")
2129 (description "CGI.pm is a stable, complete and mature solution for
2130 processing and preparing HTTP requests and responses. Major features include
2131 processing form submissions, file uploads, reading and writing cookies, query
2132 string generation and manipulation, and processing and preparing HTTP
2133 headers.")
2134 (license l:perl-license)))
2135
2136 (define-public perl-cgi-formbuilder
2137 (package
2138 (name "perl-cgi-formbuilder")
2139 (version "3.10")
2140 (source
2141 (origin
2142 (method url-fetch)
2143 (uri (string-append
2144 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2145 "CGI-FormBuilder-" version ".tar.gz"))
2146 (sha256
2147 (base32
2148 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2149 (build-system perl-build-system)
2150 (inputs `(("perl-cgi" ,perl-cgi)))
2151 (home-page
2152 "https://metacpan.org/release/CGI-FormBuilder")
2153 (synopsis
2154 "Generate and process stateful forms")
2155 (description
2156 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2157 form-based applications.")
2158 (license l:perl-license)))
2159
2160 (define-public perl-cgi-session
2161 (package
2162 (name "perl-cgi-session")
2163 (version "4.48")
2164 (source
2165 (origin
2166 (method url-fetch)
2167 (uri (string-append
2168 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2169 version
2170 ".tar.gz"))
2171 (sha256
2172 (base32
2173 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2174 (build-system perl-build-system)
2175 (native-inputs
2176 `(("perl-module-build" ,perl-module-build)))
2177 (inputs `(("perl-cgi" ,perl-cgi)))
2178 (home-page
2179 "http://search.cpan.org/dist/CGI-Session")
2180 (synopsis
2181 "Persistent session data in CGI applications")
2182 (description
2183 "@code{CGI::Session} provides modular session management system across
2184 HTTP requests.")
2185 (license l:perl-license)))
2186
2187 (define-public perl-cgi-simple
2188 (package
2189 (name "perl-cgi-simple")
2190 (version "1.115")
2191 (source
2192 (origin
2193 (method url-fetch)
2194 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
2195 "CGI-Simple-" version ".tar.gz"))
2196 (sha256
2197 (base32
2198 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
2199 (build-system perl-build-system)
2200 (native-inputs
2201 `(("perl-module-build" ,perl-module-build)
2202 ("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
2203 (home-page "http://search.cpan.org/dist/CGI-Simple")
2204 (synopsis "CGI interface that is CGI.pm compliant")
2205 (description "CGI::Simple provides a relatively lightweight drop in
2206 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2207 parameter parsing, file upload, cookie handling and header generation.")
2208 (license l:perl-license)))
2209
2210 (define-public perl-cgi-struct
2211 (package
2212 (name "perl-cgi-struct")
2213 (version "1.21")
2214 (source
2215 (origin
2216 (method url-fetch)
2217 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2218 "CGI-Struct-" version ".tar.gz"))
2219 (sha256
2220 (base32
2221 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2222 (build-system perl-build-system)
2223 (native-inputs
2224 `(("perl-test-deep" ,perl-test-deep)))
2225 (home-page "http://search.cpan.org/dist/CGI-Struct")
2226 (synopsis "Build structures from CGI data")
2227 (description "This is a module for building structured data from CGI
2228 inputs, in a manner reminiscent of how PHP does.")
2229 (license l:bsd-2)))
2230
2231 (define-public perl-datetime-format-http
2232 (package
2233 (name "perl-datetime-format-http")
2234 (version "0.42")
2235 (source
2236 (origin
2237 (method url-fetch)
2238 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2239 "DateTime-Format-HTTP-" version ".tar.gz"))
2240 (sha256
2241 (base32
2242 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2243 (build-system perl-build-system)
2244 (native-inputs
2245 `(("perl-module-build" ,perl-module-build)))
2246 (propagated-inputs
2247 `(("perl-datetime" ,perl-datetime)
2248 ("perl-http-date" ,perl-http-date)))
2249 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
2250 (synopsis "Date conversion routines")
2251 (description "This module provides functions that deal with the date
2252 formats used by the HTTP protocol.")
2253 (license l:perl-license)))
2254
2255 (define-public perl-digest-md5-file
2256 (package
2257 (name "perl-digest-md5-file")
2258 (version "0.08")
2259 (source
2260 (origin
2261 (method url-fetch)
2262 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2263 "Digest-MD5-File-" version ".tar.gz"))
2264 (sha256
2265 (base32
2266 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2267 (build-system perl-build-system)
2268 (propagated-inputs
2269 `(("perl-libwww" ,perl-libwww)))
2270 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
2271 (synopsis "MD5 sums for files and urls")
2272 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2273 for files and urls.")
2274 (license l:perl-license)))
2275
2276 (define-public perl-encode-locale
2277 (package
2278 (name "perl-encode-locale")
2279 (version "1.05")
2280 (source (origin
2281 (method url-fetch)
2282 (uri (string-append
2283 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2284 version ".tar.gz"))
2285 (sha256
2286 (base32
2287 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2288 (build-system perl-build-system)
2289 (license l:perl-license)
2290 (synopsis "Perl locale encoding determination")
2291 (description
2292 "The POSIX locale system is used to specify both the language
2293 conventions requested by the user and the preferred character set to
2294 consume and output. The Encode::Locale module looks up the charset and
2295 encoding (called a CODESET in the locale jargon) and arranges for the
2296 Encode module to know this encoding under the name \"locale\". It means
2297 bytes obtained from the environment can be converted to Unicode strings
2298 by calling Encode::encode(locale => $bytes) and converted back again
2299 with Encode::decode(locale => $string).")
2300 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
2301
2302 (define-public perl-feed-find
2303 (package
2304 (name "perl-feed-find")
2305 (version "0.07")
2306 (source (origin
2307 (method url-fetch)
2308 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2309 "Feed-Find-" version ".tar.gz"))
2310 (sha256
2311 (base32
2312 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2313 (build-system perl-build-system)
2314 (arguments
2315 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2316 `(#:tests? #f
2317 #:phases
2318 (modify-phases %standard-phases
2319 (add-after 'unpack 'set-env
2320 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2321 (inputs
2322 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2323 ("perl-html-parser" ,perl-html-parser)
2324 ("perl-libwww" ,perl-libwww)
2325 ("perl-uri" ,perl-uri)))
2326 (home-page "http://search.cpan.org/dist/Feed-Find")
2327 (synopsis "Syndication feed auto-discovery")
2328 (description "@code{Feed::Find} implements feed auto-discovery for finding
2329 syndication feeds, given a URI. It will discover the following feed formats:
2330 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2331 (license l:perl-license)))
2332
2333 (define-public perl-file-listing
2334 (package
2335 (name "perl-file-listing")
2336 (version "6.04")
2337 (source (origin
2338 (method url-fetch)
2339 (uri (string-append
2340 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2341 version ".tar.gz"))
2342 (sha256
2343 (base32
2344 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2345 (build-system perl-build-system)
2346 (propagated-inputs
2347 `(("perl-http-date" ,perl-http-date)))
2348 (license l:perl-license)
2349 (synopsis "Perl directory listing parser")
2350 (description
2351 "The File::Listing module exports a single function called parse_dir(),
2352 which can be used to parse directory listings.")
2353 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
2354
2355 (define-public perl-finance-quote
2356 (package
2357 (name "perl-finance-quote")
2358 (version "1.38")
2359 (source
2360 (origin
2361 (method url-fetch)
2362 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2363 "Finance-Quote-" version ".tar.gz"))
2364 (sha256
2365 (base32
2366 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
2367 (patches (search-patches
2368 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2369 (build-system perl-build-system)
2370 (propagated-inputs
2371 `(("perl-cgi" ,perl-cgi)
2372 ("perl-datetime" ,perl-datetime)
2373 ("perl-html-parser" ,perl-html-parser)
2374 ("perl-html-tableextract" ,perl-html-tableextract)
2375 ("perl-html-tree" ,perl-html-tree)
2376 ("perl-http-cookies" ,perl-http-cookies)
2377 ("perl-http-message" ,perl-http-message)
2378 ("perl-json" ,perl-json)
2379 ("perl-libwww" ,perl-libwww)
2380 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2381 ("perl-uri" ,perl-uri)))
2382 (home-page "http://search.cpan.org/dist/Finance-Quote")
2383 (synopsis "Stock and mutual fund quotes")
2384 (description
2385 "Finance::Quote gets stock quotes from various internet sources, including
2386 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2387 (license l:gpl2)))
2388
2389 (define-public perl-gssapi
2390 (package
2391 (name "perl-gssapi")
2392 (version "0.28")
2393 (source
2394 (origin
2395 (method url-fetch)
2396 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2397 "GSSAPI-" version ".tar.gz"))
2398 (sha256
2399 (base32
2400 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2401 (build-system perl-build-system)
2402 (inputs `(("gssapi" ,mit-krb5)))
2403 (arguments
2404 `(#:make-maker-flags
2405 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2406 (home-page "http://search.cpan.org/dist/GSSAPI")
2407 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2408 (description "This is a Perl extension for using GSSAPI C bindings as
2409 described in RFC 2744.")
2410 (license l:perl-license)))
2411
2412 (define-public perl-html-element-extended
2413 (package
2414 (name "perl-html-element-extended")
2415 (version "1.18")
2416 (source
2417 (origin
2418 (method url-fetch)
2419 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2420 "HTML-Element-Extended-" version ".tar.gz"))
2421 (sha256
2422 (base32
2423 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2424 (build-system perl-build-system)
2425 (propagated-inputs
2426 `(("perl-html-tree" ,perl-html-tree)))
2427 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
2428 (synopsis "Manipulate tables of HTML::Element")
2429 (description
2430 "HTML::Element::Extended is a Perl extension for manipulating a table
2431 composed of HTML::Element style components.")
2432 (license l:perl-license)))
2433
2434 (define-public perl-html-form
2435 (package
2436 (name "perl-html-form")
2437 (version "6.03")
2438 (source
2439 (origin
2440 (method url-fetch)
2441 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2442 "HTML-Form-" version ".tar.gz"))
2443 (sha256
2444 (base32
2445 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2446 (build-system perl-build-system)
2447 (propagated-inputs
2448 `(("perl-html-parser" ,perl-html-parser)
2449 ("perl-html-tagset" ,perl-html-tagset)
2450 ("perl-http-message" ,perl-http-message)
2451 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2452 ("perl-uri" ,perl-uri)))
2453 (home-page "http://search.cpan.org/dist/HTML-Form")
2454 (synopsis "Perl class representing an HTML form element")
2455 (description "Objects of the HTML::Form class represents a single HTML
2456 <form> ... </form> instance.")
2457 (license l:perl-license)))
2458
2459 (define-public perl-html-scrubber
2460 (package
2461 (name "perl-html-scrubber")
2462 (version "0.17")
2463 (source
2464 (origin
2465 (method url-fetch)
2466 (uri (string-append
2467 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2468 version
2469 ".tar.gz"))
2470 (sha256
2471 (base32
2472 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
2473 (build-system perl-build-system)
2474 (native-inputs
2475 `(("perl-module-build" ,perl-module-build)
2476 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2477 ("perl-test-differences" ,perl-test-differences)
2478 ("perl-test-eol" ,perl-test-eol)
2479 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2480 ("perl-test-notabs" ,perl-test-notabs)))
2481 (inputs
2482 `(("perl-html-parser" ,perl-html-parser)))
2483 (home-page
2484 "http://search.cpan.org/dist/HTML-Scrubber")
2485 (synopsis
2486 "Perl extension for scrubbing/sanitizing html")
2487 (description
2488 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2489 (license l:perl-license)))
2490
2491 (define-public perl-html-lint
2492 (package
2493 (name "perl-html-lint")
2494 (version "2.26")
2495 (source
2496 (origin
2497 (method url-fetch)
2498 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2499 "HTML-Lint-" version ".tar.gz"))
2500 (sha256
2501 (base32
2502 "02vi1s4sw3hjnndxd6s91cp54iw5pg8n5kl9v0109dfxzn1n9bnl"))))
2503 (build-system perl-build-system)
2504 (propagated-inputs
2505 `(("perl-html-parser" ,perl-html-parser)
2506 ("perl-html-tagset" ,perl-html-tagset)
2507 ("perl-libwww" ,perl-libwww)))
2508 (home-page "http://search.cpan.org/dist/HTML-Lint")
2509 (synopsis "Check for HTML errors in a string or file")
2510 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2511 syntactic legitmacy.")
2512 (license l:artistic2.0)))
2513
2514 (define-public perl-html-tableextract
2515 (package
2516 (name "perl-html-tableextract")
2517 (version "2.13")
2518 (source
2519 (origin
2520 (method url-fetch)
2521 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2522 "HTML-TableExtract-" version ".tar.gz"))
2523 (sha256
2524 (base32
2525 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2526 (build-system perl-build-system)
2527 (propagated-inputs
2528 `(("perl-html-element-extended" ,perl-html-element-extended)
2529 ("perl-html-parser" ,perl-html-parser)))
2530 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
2531 (synopsis "Extract contents from HTML tables")
2532 (description
2533 "HTML::TableExtract is a Perl module for extracting the content contained
2534 in tables within an HTML document, either as text or encoded element trees.")
2535 (license l:perl-license)))
2536
2537 (define-public perl-html-tree
2538 (package
2539 (name "perl-html-tree")
2540 (version "5.07")
2541 (source
2542 (origin
2543 (method url-fetch)
2544 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2545 "HTML-Tree-" version ".tar.gz"))
2546 (sha256
2547 (base32
2548 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
2549 (build-system perl-build-system)
2550 (native-inputs
2551 `(("perl-module-build" ,perl-module-build)
2552 ("perl-test-fatal" ,perl-test-fatal)))
2553 (propagated-inputs
2554 `(("perl-html-parser" ,perl-html-parser)
2555 ("perl-html-tagset" ,perl-html-tagset)
2556 ("perl-libwww" ,perl-libwww)))
2557 (home-page "http://search.cpan.org/dist/HTML-Tree")
2558 (synopsis "Work with HTML in a DOM-like tree structure")
2559 (description "This distribution contains a suite of modules for
2560 representing, creating, and extracting information from HTML syntax trees.")
2561 (license l:perl-license)))
2562
2563 (define-public perl-html-parser
2564 (package
2565 (name "perl-html-parser")
2566 (version "3.72")
2567 (source (origin
2568 (method url-fetch)
2569 (uri (string-append
2570 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2571 version ".tar.gz"))
2572 (sha256
2573 (base32
2574 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2575 (build-system perl-build-system)
2576 (inputs
2577 `(("perl-html-tagset" ,perl-html-tagset)
2578 ("perl-http-message" ,perl-http-message)))
2579 (license l:perl-license)
2580 (synopsis "Perl HTML parser class")
2581 (description
2582 "Objects of the HTML::Parser class will recognize markup and separate
2583 it from plain text (alias data content) in HTML documents. As different
2584 kinds of markup and text are recognized, the corresponding event handlers
2585 are invoked.")
2586 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2587
2588 (define-public perl-html-tagset
2589 (package
2590 (name "perl-html-tagset")
2591 (version "3.20")
2592 (source (origin
2593 (method url-fetch)
2594 (uri (string-append
2595 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2596 version ".tar.gz"))
2597 (sha256
2598 (base32
2599 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2600 (build-system perl-build-system)
2601 (license l:perl-license)
2602 (synopsis "Perl data tables useful in parsing HTML")
2603 (description
2604 "The HTML::Tagset module contains several data tables useful in various
2605 kinds of HTML parsing operations.")
2606 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
2607
2608 (define-public perl-html-template
2609 (package
2610 (name "perl-html-template")
2611 (version "2.97")
2612 (source (origin
2613 (method url-fetch)
2614 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2615 "HTML-Template-" version ".tar.gz"))
2616 (sha256
2617 (base32
2618 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2619 (build-system perl-build-system)
2620 (propagated-inputs
2621 `(("perl-cgi" ,perl-cgi)))
2622 (home-page "http://search.cpan.org/dist/HTML-Template")
2623 (synopsis "HTML-like templates")
2624 (description
2625 "This module attempts to make using HTML templates simple and natural.
2626 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2627 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2628 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2629 these new tags is called a template. Using this module you fill in the values
2630 for the variables, loops and branches declared in the template. This allows
2631 you to separate design from the data.")
2632 (license l:perl-license)))
2633
2634 (define-public perl-http-body
2635 (package
2636 (name "perl-http-body")
2637 (version "1.22")
2638 (source
2639 (origin
2640 (method url-fetch)
2641 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2642 "HTTP-Body-" version ".tar.gz"))
2643 (sha256
2644 (base32
2645 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2646 (build-system perl-build-system)
2647 (native-inputs
2648 `(("perl-test-deep" ,perl-test-deep)))
2649 (propagated-inputs
2650 `(("perl-file-temp" ,perl-file-temp)
2651 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2652 (home-page "http://search.cpan.org/dist/HTTP-Body")
2653 (synopsis "HTTP Body Parser")
2654 (description "HTTP::Body parses chunks of HTTP POST data and supports
2655 application/octet-stream, application/json, application/x-www-form-urlencoded,
2656 and multipart/form-data.")
2657 (license l:perl-license)))
2658
2659 (define-public perl-http-cookiejar
2660 (package
2661 (name "perl-http-cookiejar")
2662 (version "0.008")
2663 (source
2664 (origin
2665 (method url-fetch)
2666 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2667 "HTTP-CookieJar-" version ".tar.gz"))
2668 (sha256
2669 (base32
2670 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2671 (build-system perl-build-system)
2672 (native-inputs
2673 `(("perl-test-deep" ,perl-test-deep)
2674 ("perl-test-requires" ,perl-test-requires)
2675 ("perl-time-mock" ,perl-time-mock)
2676 ("perl-uri" ,perl-uri)))
2677 (inputs
2678 `(("perl-time-local" ,perl-time-local)
2679 ("perl-http-date" ,perl-http-date)))
2680 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2681 (synopsis "Minimalist HTTP user agent cookie jar")
2682 (description "This module implements a minimalist HTTP user agent cookie
2683 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2684 (license l:asl2.0)))
2685
2686 (define-public perl-http-cookies
2687 (package
2688 (name "perl-http-cookies")
2689 (version "6.04")
2690 (source (origin
2691 (method url-fetch)
2692 (uri (string-append
2693 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
2694 version ".tar.gz"))
2695 (sha256
2696 (base32
2697 "1m0kxcirbvbkrm2c59p1bkbvzlcdymg8fdpa7wlxijlx0xwz1iqc"))))
2698 (build-system perl-build-system)
2699 (propagated-inputs
2700 `(("perl-http-message" ,perl-http-message)))
2701 (license l:perl-license)
2702 (synopsis "Perl HTTP cookie jars")
2703 (description
2704 "The HTTP::Cookies class is for objects that represent a cookie jar,
2705 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2706 object knows about.")
2707 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2708
2709 (define-public perl-http-daemon
2710 (package
2711 (name "perl-http-daemon")
2712 (version "6.01")
2713 (source (origin
2714 (method url-fetch)
2715 (uri (string-append
2716 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2717 version ".tar.gz"))
2718 (sha256
2719 (base32
2720 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2721 (build-system perl-build-system)
2722 (propagated-inputs
2723 `(("perl-http-message" ,perl-http-message)
2724 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2725 (license l:perl-license)
2726 (synopsis "Perl simple http server class")
2727 (description
2728 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2729 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2730 IO::Socket::INET, so you can perform socket operations directly on it too.")
2731 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2732
2733 (define-public perl-http-date
2734 (package
2735 (name "perl-http-date")
2736 (version "6.02")
2737 (source (origin
2738 (method url-fetch)
2739 (uri (string-append
2740 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2741 version ".tar.gz"))
2742 (sha256
2743 (base32
2744 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2745 (build-system perl-build-system)
2746 (license l:perl-license)
2747 (synopsis "Perl date conversion routines")
2748 (description
2749 "The HTTP::Date module provides functions that deal with date formats
2750 used by the HTTP protocol (and then some more).")
2751 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2752
2753 (define-public perl-http-message
2754 (package
2755 (name "perl-http-message")
2756 (version "6.15")
2757 (source (origin
2758 (method url-fetch)
2759 (uri (string-append
2760 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
2761 version ".tar.gz"))
2762 (sha256
2763 (base32
2764 "11fbvisyvi6bw8z9iq9fm9mraf69qyds09fblhl9gyvg7ccll93v"))))
2765 (build-system perl-build-system)
2766 (native-inputs
2767 `(("perl-try-tiny" ,perl-try-tiny)))
2768 (propagated-inputs
2769 `(("perl-encode-locale" ,perl-encode-locale)
2770 ("perl-http-date" ,perl-http-date)
2771 ("perl-io-html" ,perl-io-html)
2772 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2773 ("perl-uri" ,perl-uri)))
2774 (license l:perl-license)
2775 (synopsis "Perl HTTP style message")
2776 (description
2777 "An HTTP::Message object contains some headers and a content body.")
2778 (home-page "http://search.cpan.org/~ether/HTTP-Message/")))
2779
2780 (define-public perl-http-negotiate
2781 (package
2782 (name "perl-http-negotiate")
2783 (version "6.01")
2784 (source (origin
2785 (method url-fetch)
2786 (uri (string-append
2787 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2788 version ".tar.gz"))
2789 (sha256
2790 (base32
2791 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2792 (build-system perl-build-system)
2793 (propagated-inputs
2794 `(("perl-http-message" ,perl-http-message)))
2795 (license l:perl-license)
2796 (synopsis "Perl http content negotiation")
2797 (description
2798 "The HTTP::Negotiate module provides a complete implementation of the
2799 HTTP content negotiation algorithm specified in
2800 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2801 the selection of a preferred content representation based upon attributes
2802 of the negotiable variants and the value of the various Accept* header
2803 fields in the request.")
2804 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2805
2806 (define-public perl-http-parser
2807 (package
2808 (name "perl-http-parser")
2809 (version "0.06")
2810 (source
2811 (origin
2812 (method url-fetch)
2813 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2814 "HTTP-Parser-" version ".tar.gz"))
2815 (sha256
2816 (base32
2817 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2818 (build-system perl-build-system)
2819 (propagated-inputs
2820 `(("perl-http-message" ,perl-http-message)
2821 ("perl-uri" ,perl-uri)))
2822 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2823 (synopsis "Parse HTTP/1.1 requests")
2824 (description "This is an HTTP request parser. It takes chunks of text as
2825 received and returns a 'hint' as to what is required, or returns the
2826 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2827 supported.")
2828 (license l:perl-license)))
2829
2830 (define-public perl-http-parser-xs
2831 (package
2832 (name "perl-http-parser-xs")
2833 (version "0.17")
2834 (source
2835 (origin
2836 (method url-fetch)
2837 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2838 "HTTP-Parser-XS-" version ".tar.gz"))
2839 (sha256
2840 (base32
2841 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2842 (build-system perl-build-system)
2843 (native-inputs
2844 `(("perl-module-install" ,perl-module-install)))
2845 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2846 (synopsis "Fast HTTP request parser")
2847 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2848 parser.")
2849 (license l:perl-license)))
2850
2851 (define-public perl-http-request-ascgi
2852 (package
2853 (name "perl-http-request-ascgi")
2854 (version "1.2")
2855 (source
2856 (origin
2857 (method url-fetch)
2858 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2859 "HTTP-Request-AsCGI-" version ".tar.gz"))
2860 (sha256
2861 (base32
2862 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2863 (build-system perl-build-system)
2864 (propagated-inputs
2865 `(("perl-class-accessor" ,perl-class-accessor)
2866 ("perl-http-message" ,perl-http-message)))
2867 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2868 (synopsis "Set up a CGI environment from an HTTP::Request")
2869 (description "This module provides a convenient way to set up a CGI
2870 environment from an HTTP::Request.")
2871 (license l:perl-license)))
2872
2873 (define-public perl-http-server-simple
2874 (package
2875 (name "perl-http-server-simple")
2876 (version "0.52")
2877 (source
2878 (origin
2879 (method url-fetch)
2880 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
2881 "HTTP-Server-Simple-" version ".tar.gz"))
2882 (sha256
2883 (base32
2884 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
2885 (build-system perl-build-system)
2886 (propagated-inputs
2887 `(("perl-cgi" ,perl-cgi)))
2888 (arguments
2889 ;; See the discussion of a related tests issue at
2890 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2891 `(#:tests? #f
2892
2893 #:phases (modify-phases %standard-phases
2894 (add-before 'configure 'set-search-path
2895 (lambda _
2896 ;; Work around "dotless @INC" build failure.
2897 (setenv "PERL5LIB"
2898 (string-append (getcwd) ":"
2899 (getenv "PERL5LIB")))
2900 #t)))))
2901 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2902 (synopsis "Lightweight HTTP server")
2903 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2904 no non-core module dependencies. It can be used for building a standalone
2905 http-based UI to your existing tools.")
2906 (license l:perl-license)))
2907
2908 (define-public perl-http-tiny
2909 (package
2910 (name "perl-http-tiny")
2911 (version "0.070")
2912 (source
2913 (origin
2914 (method url-fetch)
2915 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2916 "HTTP-Tiny-" version ".tar.gz"))
2917 (sha256
2918 (base32
2919 "0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
2920 (build-system perl-build-system)
2921 (inputs
2922 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2923 ("perl-io-socket-ip" ,perl-io-socket-ip)
2924 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2925 ("perl-mozilla-ca" ,perl-mozilla-ca)
2926 ("perl-net-ssleay" ,perl-net-ssleay)))
2927 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2928 (synopsis "HTTP/1.1 client")
2929 (description "This is a very simple HTTP/1.1 client, designed for doing
2930 simple requests without the overhead of a large framework like LWP::UserAgent.
2931 It supports proxies and redirection. It also correctly resumes after EINTR.")
2932 (license l:perl-license)))
2933
2934 (define-public perl-io-html
2935 (package
2936 (name "perl-io-html")
2937 (version "1.00")
2938 (source (origin
2939 (method url-fetch)
2940 (uri (string-append
2941 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2942 version ".tar.gz"))
2943 (sha256
2944 (base32
2945 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2946 (build-system perl-build-system)
2947 (license l:perl-license)
2948 (synopsis "Perl module to open an HTML file with automatic charset detection")
2949 (description
2950 "IO::HTML provides an easy way to open a file containing HTML while
2951 automatically determining its encoding. It uses the HTML5 encoding sniffing
2952 algorithm specified in section 8.2.2.1 of the draft standard.")
2953 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2954
2955 (define-public perl-io-socket-ip
2956 (package
2957 (name "perl-io-socket-ip")
2958 (version "0.39")
2959 (source
2960 (origin
2961 (method url-fetch)
2962 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2963 "IO-Socket-IP-" version ".tar.gz"))
2964 (sha256
2965 (base32
2966 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
2967 (build-system perl-build-system)
2968 (native-inputs `(("perl-module-build" ,perl-module-build)))
2969 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2970 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2971 (description "This module provides a protocol-independent way to use IPv4
2972 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2973 (license l:perl-license)))
2974
2975 (define-public perl-io-socket-ssl
2976 (package
2977 (name "perl-io-socket-ssl")
2978 (version "2.038")
2979 (source (origin
2980 (method url-fetch)
2981 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2982 "IO-Socket-SSL-" version ".tar.gz"))
2983 (sha256
2984 (base32
2985 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2986 (patches (search-patches
2987 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2988 (build-system perl-build-system)
2989 (propagated-inputs
2990 `(("perl-net-ssleay" ,perl-net-ssleay)
2991 ;; for IDN support
2992 ("perl-uri" ,perl-uri)))
2993 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2994 (description
2995 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2996 necessary functionality into the familiar IO::Socket interface and providing
2997 secure defaults whenever possible. This way existing applications can be made
2998 SSL-aware without much effort, at least if you do blocking I/O and don't use
2999 select or poll.")
3000 (license l:perl-license)
3001 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3002
3003 (define-public perl-libwww
3004 (package
3005 (name "perl-libwww")
3006 (version "6.15")
3007 (source (origin
3008 (method url-fetch)
3009 (uri (string-append
3010 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
3011 version ".tar.gz"))
3012 (sha256
3013 (base32
3014 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
3015 (build-system perl-build-system)
3016 (propagated-inputs
3017 `(("perl-encode-locale" ,perl-encode-locale)
3018 ("perl-file-listing" ,perl-file-listing)
3019 ("perl-html-parser" ,perl-html-parser)
3020 ("perl-http-cookies" ,perl-http-cookies)
3021 ("perl-http-daemon" ,perl-http-daemon)
3022 ("perl-http-date" ,perl-http-date)
3023 ("perl-http-message" ,perl-http-message)
3024 ("perl-http-negotiate" ,perl-http-negotiate)
3025 ("perl-net-http" ,perl-net-http)
3026 ("perl-uri" ,perl-uri)
3027 ("perl-www-robotrules" ,perl-www-robotrules)))
3028 (license l:perl-license)
3029 (synopsis "Perl modules for the WWW")
3030 (description
3031 "The libwww-perl collection is a set of Perl modules which provides a
3032 simple and consistent application programming interface to the
3033 World-Wide Web. The main focus of the library is to provide classes
3034 and functions that allow you to write WWW clients. The library also
3035 contains modules that are of more general use and even classes that
3036 help you implement simple HTTP servers.")
3037 (home-page "http://search.cpan.org/dist/libwww-perl/")))
3038
3039 (define-public perl-lwp-online
3040 (package
3041 (name "perl-lwp-online")
3042 (version "1.08")
3043 (source
3044 (origin
3045 (method url-fetch)
3046 (uri (string-append
3047 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3048 version ".tar.gz"))
3049 (sha256
3050 (base32
3051 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3052 (build-system perl-build-system)
3053 (propagated-inputs
3054 `(("perl-libwww" ,perl-libwww)
3055 ("perl-uri" ,perl-uri)))
3056 (native-inputs
3057 `(("perl-module-install" ,perl-module-install)))
3058 (home-page "http://search.cpan.org/dist/LWP-Online/")
3059 (synopsis "Checks whether your process has access to the web")
3060 (description "This module attempts to answer, as accurately as it can, one
3061 of the nastiest technical questions there is: am I on the internet?
3062
3063 A host of networking and security issues make this problem very difficult.
3064 There are firewalls, proxies (both well behaved and badly behaved). We might
3065 not have DNS. We might not have a network card at all!")
3066 (license l:perl-license)))
3067
3068 (define-public perl-lwp-mediatypes
3069 (package
3070 (name "perl-lwp-mediatypes")
3071 (version "6.02")
3072 (source (origin
3073 (method url-fetch)
3074 (uri (string-append
3075 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
3076 version ".tar.gz"))
3077 (sha256
3078 (base32
3079 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
3080 (build-system perl-build-system)
3081 (license l:perl-license)
3082 (synopsis "Perl module to guess the media type for a file or a URL")
3083 (description
3084 "The LWP::MediaTypes module provides functions for handling media (also
3085 known as MIME) types and encodings. The mapping from file extensions to
3086 media types is defined by the media.types file. If the ~/.media.types file
3087 exists it is used instead.")
3088 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
3089
3090 (define-public perl-lwp-protocol-https
3091 (package
3092 (name "perl-lwp-protocol-https")
3093 (version "6.06")
3094 (source
3095 (origin
3096 (method url-fetch)
3097 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
3098 "LWP-Protocol-https-" version ".tar.gz"))
3099 (sha256
3100 (base32
3101 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
3102 (build-system perl-build-system)
3103 (propagated-inputs
3104 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3105 ("perl-libwww" ,perl-libwww)
3106 ;; Users should instead make sure SSL_ca_path is set properly.
3107 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3108 ("perl-net-http" ,perl-net-http)))
3109 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
3110 (synopsis "HTTPS support for LWP::UserAgent")
3111 (description "The LWP::Protocol::https module provides support for using
3112 https schemed URLs with LWP.")
3113 (license l:perl-license)))
3114
3115 (define-public perl-lwp-useragent-determined
3116 (package
3117 (name "perl-lwp-useragent-determined")
3118 (version "1.07")
3119 (source
3120 (origin
3121 (method url-fetch)
3122 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3123 "LWP-UserAgent-Determined-" version ".tar.gz"))
3124 (sha256
3125 (base32
3126 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3127 (build-system perl-build-system)
3128 (propagated-inputs
3129 `(("perl-libwww" ,perl-libwww)))
3130 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
3131 (synopsis "Virtual browser that retries errors")
3132 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3133 except that when you use it to get a web page but run into a
3134 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3135 and retry a few times.")
3136 (license l:perl-license)))
3137
3138 (define-public perl-net-amazon-s3
3139 (package
3140 (name "perl-net-amazon-s3")
3141 (version "0.60")
3142 (source
3143 (origin
3144 (method url-fetch)
3145 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3146 "Net-Amazon-S3-" version ".tar.gz"))
3147 (sha256
3148 (base32
3149 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3150 (patches (search-patches
3151 "perl-net-amazon-s3-moose-warning.patch"))))
3152 (build-system perl-build-system)
3153 (native-inputs
3154 `(("perl-libwww" ,perl-libwww)
3155 ("perl-test-exception" ,perl-test-exception)))
3156 (propagated-inputs
3157 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3158 ("perl-datetime-format-http" ,perl-datetime-format-http)
3159 ("perl-digest-hmac" ,perl-digest-hmac)
3160 ("perl-digest-md5-file" ,perl-digest-md5-file)
3161 ("perl-file-find-rule" ,perl-file-find-rule)
3162 ("perl-http-date" ,perl-http-date)
3163 ("perl-http-message" ,perl-http-message)
3164 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3165 ("perl-mime-types" ,perl-mime-types)
3166 ("perl-moose" ,perl-moose)
3167 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3168 ("perl-moosex-types-datetime-morecoercions"
3169 ,perl-moosex-types-datetime-morecoercions)
3170 ("perl-path-class" ,perl-path-class)
3171 ("perl-regexp-common" ,perl-regexp-common)
3172 ("perl-term-encoding" ,perl-term-encoding)
3173 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3174 ("perl-uri" ,perl-uri)
3175 ("perl-xml-libxml" ,perl-xml-libxml)))
3176 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
3177 (synopsis "Perl interface to Amazon S3")
3178 (description "This module provides a Perlish interface to Amazon S3.")
3179 (license l:perl-license)))
3180
3181 (define-public perl-net-http
3182 (package
3183 (name "perl-net-http")
3184 (version "6.18")
3185 (source (origin
3186 (method url-fetch)
3187 (uri (string-append
3188 "mirror://cpan/authors/id/O/OA/OALDERS/"
3189 "Net-HTTP-" version ".tar.gz"))
3190 (sha256
3191 (base32
3192 "074mp9s37q1j290xa3qj1wwgalzla328i2zpnh73xkmdnwnxyhky"))))
3193 (build-system perl-build-system)
3194 (propagated-inputs
3195 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3196 ("perl-uri" ,perl-uri)))
3197 (license l:perl-license)
3198 (synopsis "Perl low-level HTTP connection (client)")
3199 (description
3200 "The Net::HTTP class is a low-level HTTP client. An instance of the
3201 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3202 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3203 HTTP/1.1.")
3204 (home-page "http://search.cpan.org/dist/Net-HTTP")))
3205
3206 (define-public perl-net-server
3207 (package
3208 (name "perl-net-server")
3209 (version "2.009")
3210 (source
3211 (origin
3212 (method url-fetch)
3213 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3214 "Net-Server-" version ".tar.gz"))
3215 (sha256
3216 (base32
3217 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3218 (build-system perl-build-system)
3219 (home-page "http://search.cpan.org/dist/Net-Server")
3220 (synopsis "Extensible Perl server engine")
3221 (description "Net::Server is an extensible, generic Perl server engine.
3222 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3223 It includes with it the ability to run as an inetd
3224 process (Net::Server::INET), a single connection server (Net::Server or
3225 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3226 server which maintains a constant number of preforked
3227 children (Net::Server::PreForkSimple), or as a managed preforking server which
3228 maintains the number of children based on server load (Net::Server::PreFork).
3229 In all but the inetd type, the server provides the ability to connect to one
3230 or to multiple server ports.")
3231 (license l:perl-license)))
3232
3233 (define-public perl-net-smtp-ssl
3234 (package
3235 (name "perl-net-smtp-ssl")
3236 (version "1.04")
3237 (source
3238 (origin
3239 (method url-fetch)
3240 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3241 "Net-SMTP-SSL-" version ".tar.gz"))
3242 (sha256
3243 (base32
3244 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3245 (build-system perl-build-system)
3246 (propagated-inputs
3247 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3248 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
3249 (synopsis "SSL support for Net::SMTP")
3250 (description "SSL support for Net::SMTP.")
3251 (license l:perl-license)))
3252
3253 (define-public perl-plack
3254 (package
3255 (name "perl-plack")
3256 (version "1.0033")
3257 (source
3258 (origin
3259 (method url-fetch)
3260 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3261 "Plack-" version ".tar.gz"))
3262 (sha256
3263 (base32
3264 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3265 (build-system perl-build-system)
3266 (native-inputs
3267 `(("perl-test-requires" ,perl-test-requires)
3268 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3269 (propagated-inputs
3270 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3271 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3272 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3273 ("perl-file-sharedir" ,perl-file-sharedir)
3274 ("perl-hash-multivalue" ,perl-hash-multivalue)
3275 ("perl-http-body" ,perl-http-body)
3276 ("perl-http-message" ,perl-http-message)
3277 ("perl-http-tiny" ,perl-http-tiny)
3278 ("perl-libwww" ,perl-libwww)
3279 ("perl-stream-buffered" ,perl-stream-buffered)
3280 ("perl-test-tcp" ,perl-test-tcp)
3281 ("perl-try-tiny" ,perl-try-tiny)
3282 ("perl-uri" ,perl-uri)))
3283 (home-page "http://search.cpan.org/dist/Plack")
3284 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3285 (description "Plack is a set of tools for using the PSGI stack. It
3286 contains middleware components, a reference server, and utilities for Web
3287 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3288 WSGI.")
3289 (license l:perl-license)))
3290
3291 (define-public perl-plack-middleware-fixmissingbodyinredirect
3292 (package
3293 (name "perl-plack-middleware-fixmissingbodyinredirect")
3294 (version "0.12")
3295 (source
3296 (origin
3297 (method url-fetch)
3298 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3299 "Plack-Middleware-FixMissingBodyInRedirect-"
3300 version ".tar.gz"))
3301 (sha256
3302 (base32
3303 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3304 (build-system perl-build-system)
3305 (native-inputs
3306 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3307 ("perl-http-message" ,perl-http-message)
3308 ("perl-plack" ,perl-plack))) ;for Plack::Test
3309 (home-page
3310 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
3311 (synopsis "Plack::Middleware which sets body for redirect response")
3312 (description "This module sets the body in redirect response, if it's not
3313 already set.")
3314 (license l:perl-license)))
3315
3316 (define-public perl-plack-middleware-methodoverride
3317 (package
3318 (name "perl-plack-middleware-methodoverride")
3319 (version "0.11")
3320 (source
3321 (origin
3322 (method url-fetch)
3323 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
3324 "Plack-Middleware-MethodOverride-"
3325 version ".tar.gz"))
3326 (sha256
3327 (base32
3328 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
3329 (build-system perl-build-system)
3330 (native-inputs
3331 `(("perl-module-build" ,perl-module-build)))
3332 (propagated-inputs
3333 `(("perl-plack" ,perl-plack)))
3334 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
3335 (synopsis "Override REST methods to Plack apps via POST")
3336 (description "This middleware allows for POST requests that pretend to be
3337 something else: by adding either a header named X-HTTP-Method-Override to the
3338 request, or a query parameter named x-tunneled-method to the URI, the client
3339 can say what method it actually meant.")
3340 (license l:perl-license)))
3341
3342 (define-public perl-plack-middleware-removeredundantbody
3343 (package
3344 (name "perl-plack-middleware-removeredundantbody")
3345 (version "0.05")
3346 (source
3347 (origin
3348 (method url-fetch)
3349 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3350 "Plack-Middleware-RemoveRedundantBody-"
3351 version ".tar.gz"))
3352 (sha256
3353 (base32
3354 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
3355 (build-system perl-build-system)
3356 (propagated-inputs
3357 `(("perl-plack" ,perl-plack)))
3358 (home-page
3359 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
3360 (synopsis "Plack::Middleware which removes body for HTTP response")
3361 (description "This module removes the body in an HTTP response if it's not
3362 required.")
3363 (license l:perl-license)))
3364
3365 (define-public perl-plack-middleware-reverseproxy
3366 (package
3367 (name "perl-plack-middleware-reverseproxy")
3368 (version "0.15")
3369 (source
3370 (origin
3371 (method url-fetch)
3372 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3373 "Plack-Middleware-ReverseProxy-"
3374 version ".tar.gz"))
3375 (sha256
3376 (base32
3377 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
3378 (build-system perl-build-system)
3379 (native-inputs
3380 `(("perl-module-install" ,perl-module-install)))
3381 (propagated-inputs
3382 `(("perl-plack" ,perl-plack)))
3383 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
3384 (synopsis "Supports app to run as a reverse proxy backend")
3385 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3386 which are changed by reverse-proxy. You can specify the reverse proxy address
3387 and stop fake requests using 'enable_if' directive in your app.psgi.")
3388 (license l:perl-license)))
3389
3390 (define-public perl-plack-test-externalserver
3391 (package
3392 (name "perl-plack-test-externalserver")
3393 (version "0.01")
3394 (source
3395 (origin
3396 (method url-fetch)
3397 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3398 "Plack-Test-ExternalServer-" version ".tar.gz"))
3399 (sha256
3400 (base32
3401 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
3402 (build-system perl-build-system)
3403 (propagated-inputs
3404 `(("perl-plack" ,perl-plack)))
3405 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
3406 (synopsis "Run HTTP tests on external live servers")
3407 (description "This module allows your to run your Plack::Test tests
3408 against an external server instead of just against a local application through
3409 either mocked HTTP or a locally spawned server.")
3410 (license l:perl-license)))
3411
3412 (define-public perl-test-tcp
3413 (package
3414 (name "perl-test-tcp")
3415 (version "2.06")
3416 (source
3417 (origin
3418 (method url-fetch)
3419 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3420 "Test-TCP-" version ".tar.gz"))
3421 (sha256
3422 (base32
3423 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
3424 (build-system perl-build-system)
3425 (propagated-inputs
3426 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3427 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3428 (home-page "http://search.cpan.org/dist/Test-TCP")
3429 (synopsis "Testing TCP programs")
3430 (description "Test::TCP is test utilities for TCP/IP programs.")
3431 (license l:perl-license)))
3432
3433 (define-public perl-test-www-mechanize
3434 (package
3435 (name "perl-test-www-mechanize")
3436 (version "1.50")
3437 (source
3438 (origin
3439 (method url-fetch)
3440 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3441 "Test-WWW-Mechanize-" version ".tar.gz"))
3442 (sha256
3443 (base32
3444 "097pl87vdbxbb56vawzvs6ikrlb8nz3dx223kjjbdn3jlli3jjhg"))))
3445 (build-system perl-build-system)
3446 (propagated-inputs
3447 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3448 ("perl-html-form" ,perl-html-form)
3449 ("perl-html-lint" ,perl-html-lint)
3450 ("perl-http-server-simple" ,perl-http-server-simple)
3451 ("perl-libwww" ,perl-libwww)
3452 ("perl-test-longstring" ,perl-test-longstring)
3453 ("perl-www-mechanize" ,perl-www-mechanize)))
3454 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
3455 (synopsis "Testing-specific WWW::Mechanize subclass")
3456 (description "Test::WWW::Mechanize is a subclass of the Perl module
3457 WWW::Mechanize that incorporates features for web application testing.")
3458 (license l:artistic2.0)))
3459
3460 (define-public perl-test-www-mechanize-catalyst
3461 (package
3462 (name "perl-test-www-mechanize-catalyst")
3463 (version "0.60")
3464 (source
3465 (origin
3466 (method url-fetch)
3467 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
3468 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3469 (sha256
3470 (base32
3471 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
3472 (build-system perl-build-system)
3473 (native-inputs
3474 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3475 ("perl-catalyst-plugin-session-state-cookie"
3476 ,perl-catalyst-plugin-session-state-cookie)
3477 ("perl-module-install" ,perl-module-install)
3478 ("perl-test-exception" ,perl-test-exception)
3479 ("perl-test-pod" ,perl-test-pod)
3480 ("perl-test-utf8" ,perl-test-utf8)))
3481 (propagated-inputs
3482 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3483 ("perl-class-load" ,perl-class-load)
3484 ("perl-libwww" ,perl-libwww)
3485 ("perl-moose" ,perl-moose)
3486 ("perl-namespace-clean" ,perl-namespace-clean)
3487 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3488 ("perl-www-mechanize" ,perl-www-mechanize)))
3489 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
3490 (synopsis "Test::WWW::Mechanize for Catalyst")
3491 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3492 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3493 testing of Catalyst applications without needing to start up a web server.")
3494 (license l:perl-license)))
3495
3496 (define-public perl-test-www-mechanize-psgi
3497 (package
3498 (name "perl-test-www-mechanize-psgi")
3499 (version "0.38")
3500 (source
3501 (origin
3502 (method url-fetch)
3503 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3504 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3505 (sha256
3506 (base32
3507 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
3508 (build-system perl-build-system)
3509 (native-inputs
3510 `(("perl-test-pod" ,perl-test-pod)))
3511 (propagated-inputs
3512 `(("perl-plack" ,perl-plack)
3513 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3514 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
3515 (synopsis "Test PSGI programs using WWW::Mechanize")
3516 (description "PSGI is a specification to decouple web server environments
3517 from web application framework code. Test::WWW::Mechanize is a subclass of
3518 WWW::Mechanize that incorporates features for web application testing. The
3519 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3520 applications.")
3521 (license l:perl-license)))
3522
3523 (define-public perl-uri
3524 (package
3525 (name "perl-uri")
3526 (version "1.73")
3527 (source (origin
3528 (method url-fetch)
3529 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3530 "URI-" version ".tar.gz"))
3531 (sha256
3532 (base32
3533 "04z4xwiryrbxxi48bwbkgq9q9pwfgqry3wp0ramcrwv3dx5ap9yc"))))
3534 (build-system perl-build-system)
3535 (native-inputs
3536 ;; For tests.
3537 `(("perl-test-needs" ,perl-test-needs)))
3538 (license l:perl-license)
3539 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3540 (description
3541 "The URI module implements the URI class. Objects of this class
3542 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3543 and updated by RFC 2732.")
3544 (home-page "http://search.cpan.org/dist/URI/")))
3545
3546 (define-public perl-uri-fetch
3547 (package
3548 (name "perl-uri-fetch")
3549 (version "0.13")
3550 (source (origin
3551 (method url-fetch)
3552 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3553 "URI-Fetch-" version ".tar.gz"))
3554 (sha256
3555 (base32
3556 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3557 (build-system perl-build-system)
3558 (arguments
3559 `(#:tests? #f)) ; Tests require internet connection to succeed
3560 (inputs
3561 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3562 ("perl-libwww" ,perl-libwww)
3563 ("perl-uri" ,perl-uri)))
3564 (home-page "http://search.cpan.org/dist/URI-Fetch")
3565 (synopsis "Smart URI fetching/caching")
3566 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3567 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3568 and time-saving way.")
3569 (license l:perl-license)))
3570
3571 (define-public perl-uri-find
3572 (package
3573 (name "perl-uri-find")
3574 (version "20160806")
3575 (source
3576 (origin
3577 (method url-fetch)
3578 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3579 "URI-Find-" version ".tar.gz"))
3580 (sha256
3581 (base32
3582 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
3583 (build-system perl-build-system)
3584 (native-inputs
3585 `(("perl-module-build" ,perl-module-build)))
3586 (propagated-inputs
3587 `(("perl-uri" ,perl-uri)))
3588 (home-page "http://search.cpan.org/dist/URI-Find")
3589 (synopsis "Find URIs in arbitrary text")
3590 (description "This module finds URIs and URLs (according to what URI.pm
3591 considers a URI) in plain text. It only finds URIs which include a
3592 scheme (http:// or the like), for something a bit less strict, consider
3593 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3594 (license l:perl-license)))
3595
3596 (define-public perl-uri-ws
3597 (package
3598 (name "perl-uri-ws")
3599 (version "0.03")
3600 (source
3601 (origin
3602 (method url-fetch)
3603 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3604 "URI-ws-" version ".tar.gz"))
3605 (sha256
3606 (base32
3607 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3608 (build-system perl-build-system)
3609 (propagated-inputs
3610 `(("perl-uri" ,perl-uri)))
3611 (home-page "http://search.cpan.org/dist/URI-ws")
3612 (synopsis "WebSocket support for URI package")
3613 (description "With this module, the URI package provides the same set of
3614 methods for WebSocket URIs as it does for HTTP URIs.")
3615 (license l:perl-license)))
3616
3617 (define-public perl-uri-template
3618 (package
3619 (name "perl-uri-template")
3620 (version "0.22")
3621 (source (origin
3622 (method url-fetch)
3623 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3624 version ".tar.gz"))
3625 (sha256
3626 (base32
3627 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3628 (build-system perl-build-system)
3629 (inputs
3630 `(("perl-uri" ,perl-uri)))
3631 (native-inputs
3632 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3633 ("perl-test-pod" ,perl-test-pod)
3634 ("perl-module-install" ,perl-module-install)
3635 ("perl-json" ,perl-json)))
3636 (home-page "http://search.cpan.org/dist/URI-Template")
3637 (synopsis "Object for handling URI templates")
3638 (description "This perl module provides a wrapper around URI templates as described in
3639 RFC 6570.")
3640 (license l:perl-license)))
3641
3642 (define-public perl-www-curl
3643 (package
3644 (name "perl-www-curl")
3645 (version "4.17")
3646 (source (origin
3647 (method url-fetch)
3648 (uri (string-append
3649 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3650 version".tar.gz"))
3651 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3652 (sha256
3653 (base32
3654 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3655 (build-system perl-build-system)
3656 (arguments
3657 '(#:tests? #f ;XXX: tests require network access
3658
3659 #:phases (modify-phases %standard-phases
3660 (add-before 'configure 'set-search-path
3661 (lambda _
3662 ;; Work around "dotless @INC" build failure.
3663 (setenv "PERL5LIB"
3664 (string-append (getcwd) ":"
3665 (getenv "PERL5LIB")))
3666 #t)))))
3667 (native-inputs
3668 `(("perl-module-install" ,perl-module-install)))
3669 (inputs `(("curl" ,curl)))
3670 (synopsis "Perl extension interface for libcurl")
3671 (description
3672 "This is a Perl extension interface for the libcurl file downloading
3673 library.")
3674 (license l:perl-license)
3675 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3676
3677 (define-public perl-www-mechanize
3678 (package
3679 (name "perl-www-mechanize")
3680 (version "1.88")
3681 (source
3682 (origin
3683 (method url-fetch)
3684 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3685 "WWW-Mechanize-" version ".tar.gz"))
3686 (sha256
3687 (base32
3688 "0yd8a1zsfpbv5wr79x3iqmik9gvcd10iam9dfrdan4dri9vpxn9n"))))
3689 (build-system perl-build-system)
3690 (native-inputs ;only for tests
3691 `(("perl-cgi" ,perl-cgi)
3692 ("perl-test-deep" ,perl-test-deep)
3693 ("perl-test-fatal" ,perl-test-fatal)
3694 ("perl-test-output" ,perl-test-output)
3695 ("perl-test-warnings" ,perl-test-warnings)))
3696 (propagated-inputs
3697 `(("perl-html-form" ,perl-html-form)
3698 ("perl-html-parser" ,perl-html-parser)
3699 ("perl-html-tree" ,perl-html-tree)
3700 ("perl-http-message" ,perl-http-message)
3701 ("perl-http-server-simple" ,perl-http-server-simple)
3702 ("perl-libwww" ,perl-libwww)
3703 ("perl-test-warn" ,perl-test-warn)
3704 ("perl-uri" ,perl-uri)))
3705 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3706 (synopsis "Web browsing in a Perl object")
3707 (description "WWW::Mechanize is a Perl module for stateful programmatic
3708 web browsing, used for automating interaction with websites.")
3709 (license l:perl-license)))
3710
3711 (define-public perl-www-opensearch
3712 (package
3713 (name "perl-www-opensearch")
3714 (version "0.17")
3715 (source (origin
3716 (method url-fetch)
3717 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3718 "WWW-OpenSearch-" version ".tar.gz"))
3719 (sha256
3720 (base32
3721 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3722 (build-system perl-build-system)
3723 (native-inputs
3724 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3725 ("perl-datetime" ,perl-datetime)
3726 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
3727 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
3728 ("perl-feed-find" ,perl-feed-find)
3729 ("perl-module-install" ,perl-module-install)
3730 ("perl-module-pluggable" ,perl-module-pluggable)
3731 ("perl-uri-fetch" ,perl-uri-fetch)
3732 ("perl-test-simple" ,perl-test-simple)
3733 ("perl-xml-atom" ,perl-xml-atom)
3734 ("perl-xml-rss" ,perl-xml-rss)))
3735 (inputs
3736 `(("perl-data-page" ,perl-data-page)
3737 ("perl-libwww" ,perl-libwww)
3738 ("perl-uri" ,perl-uri)
3739 ("perl-uri-template" ,perl-uri-template)
3740 ("perl-xml-feed" ,perl-xml-feed)
3741 ("perl-xml-libxml" ,perl-xml-libxml)))
3742 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3743 (synopsis "Search A9 OpenSearch compatible engines")
3744 (description
3745 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3746 http://opensearch.a9.com} compatible search engines.")
3747 (license l:perl-license)))
3748
3749 (define-public perl-www-robotrules
3750 (package
3751 (name "perl-www-robotrules")
3752 (version "6.02")
3753 (source (origin
3754 (method url-fetch)
3755 (uri (string-append
3756 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3757 version ".tar.gz"))
3758 (sha256
3759 (base32
3760 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3761 (build-system perl-build-system)
3762 (propagated-inputs
3763 `(("perl-uri" ,perl-uri)))
3764 (license l:perl-license)
3765 (synopsis "Perl database of robots.txt-derived permissions")
3766 (description
3767 "The WWW::RobotRules module parses /robots.txt files as specified in
3768 \"A Standard for Robot Exclusion\", at
3769 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3770 /robots.txt file to forbid conforming robots from accessing parts of
3771 their web site.")
3772 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3773
3774 (define-public python-feedparser
3775 (package
3776 (name "python-feedparser")
3777 (version "5.2.1")
3778 (source
3779 (origin
3780 (method url-fetch)
3781 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3782 (sha256
3783 (base32
3784 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3785 (build-system python-build-system)
3786 (arguments
3787 '(#:tests? #f))
3788 (home-page
3789 "https://github.com/kurtmckee/feedparser")
3790 (synopsis "Parse feeds in Python")
3791 (description
3792 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3793 CDF, Atom 0.3, and Atom 1.0 feeds.")
3794 (license (list l:bsd-2 ; source code
3795 l:freebsd-doc)))) ; documentation
3796
3797 (define-public python2-feedparser
3798 (package-with-python2 python-feedparser))
3799
3800 (define-public r-httpuv
3801 (package
3802 (name "r-httpuv")
3803 (version "1.4.3")
3804 (source (origin
3805 (method url-fetch)
3806 (uri (cran-uri "httpuv" version))
3807 (sha256
3808 (base32
3809 "15ghxcyg9h0za3qy077fnn3izbpihskvaqwsppm2s43a771imsf6"))))
3810 (build-system r-build-system)
3811 (native-inputs `(("r-rcpp" ,r-rcpp)))
3812 (propagated-inputs
3813 `(("r-bh" ,r-bh)
3814 ("r-later" ,r-later)
3815 ("r-promises" ,r-promises)))
3816 (home-page "https://github.com/rstudio/httpuv")
3817 (synopsis "HTTP and WebSocket server library for R")
3818 (description
3819 "The httpuv package provides low-level socket and protocol support for
3820 handling HTTP and WebSocket requests directly from within R. It is primarily
3821 intended as a building block for other packages, rather than making it
3822 particularly easy to create complete web applications using httpuv alone.")
3823 ;; This package includes third-party code that was originally released
3824 ;; under various non-copyleft licenses. Full licensing information can be
3825 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3826 (license l:gpl3+)))
3827
3828 (define-public r-jsonlite
3829 (package
3830 (name "r-jsonlite")
3831 (version "1.5")
3832 (source (origin
3833 (method url-fetch)
3834 (uri (cran-uri "jsonlite" version))
3835 (sha256
3836 (base32
3837 "00lfg464jhf7k01bal9pcjvbdf5cxk6xi2h46hccp1x3h883g434"))))
3838 (build-system r-build-system)
3839 (home-page "http://arxiv.org/abs/1403.2805")
3840 (synopsis "Robust, high performance JSON parser and generator for R")
3841 (description
3842 "The jsonlite package provides a fast JSON parser and generator optimized
3843 for statistical data and the web. It offers flexible, robust, high
3844 performance tools for working with JSON in R and is particularly powerful for
3845 building pipelines and interacting with a web API. In addition to converting
3846 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3847 and prettify JSON data. The unit tests included with the package verify that
3848 all edge cases are encoded and decoded consistently for use with dynamic data
3849 in systems and applications.")
3850 (license l:expat)))
3851
3852 (define-public r-servr
3853 (package
3854 (name "r-servr")
3855 (version "0.10")
3856 (source (origin
3857 (method url-fetch)
3858 (uri (cran-uri "servr" version))
3859 (sha256
3860 (base32
3861 "0yz3igqsiyqnjj1ngh199zicg3spx4kbmvl0wc8i8xahk6l9g06v"))))
3862 (build-system r-build-system)
3863 (propagated-inputs
3864 `(("r-httpuv" ,r-httpuv)
3865 ("r-jsonlite" ,r-jsonlite)
3866 ("r-mime" ,r-mime)
3867 ("r-xfun" ,r-xfun)))
3868 (home-page "https://github.com/yihui/servr")
3869 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3870 (description
3871 "Servr provides an HTTP server in R to serve static files, or dynamic
3872 documents that can be converted to HTML files (e.g., R Markdown) under a given
3873 directory.")
3874 (license l:expat)))
3875
3876 (define-public r-htmltools
3877 (package
3878 (name "r-htmltools")
3879 (version "0.3.6")
3880 (source (origin
3881 (method url-fetch)
3882 (uri (cran-uri "htmltools" version))
3883 (sha256
3884 (base32
3885 "18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4"))))
3886 (build-system r-build-system)
3887 (arguments
3888 `(#:phases
3889 (modify-phases %standard-phases
3890 ;; See https://github.com/rstudio/htmltools/pull/68
3891 ;; The resource files are in the store and have mode 444. After
3892 ;; copying the files R fails to remove them again because it doesn't
3893 ;; have write access to them.
3894 (add-after 'unpack 'copy-files-without-mode
3895 (lambda _
3896 (substitute* "R/html_dependency.R"
3897 (("file.copy\\(from, to, " prefix)
3898 (string-append prefix
3899 "copy.mode = FALSE, ")))
3900 #t)))))
3901 (propagated-inputs
3902 `(("r-digest" ,r-digest)
3903 ("r-rcpp" ,r-rcpp)))
3904 (home-page "https://cran.r-project.org/web/packages/htmltools")
3905 (synopsis "R tools for HTML")
3906 (description
3907 "This package provides tools for HTML generation and output in R.")
3908 (license l:expat)))
3909
3910 (define-public r-htmlwidgets
3911 (package
3912 (name "r-htmlwidgets")
3913 (version "1.2")
3914 (source (origin
3915 (method url-fetch)
3916 (uri (cran-uri "htmlwidgets" version))
3917 (sha256
3918 (base32
3919 "04c4d0mfcy3dkdlbxnaccpdgxvyxfdwfmmh5djim6v9hyg0j2z8s"))))
3920 (build-system r-build-system)
3921 (propagated-inputs
3922 `(("r-htmltools" ,r-htmltools)
3923 ("r-jsonlite" ,r-jsonlite)
3924 ("r-yaml" ,r-yaml)))
3925 (home-page "https://github.com/ramnathv/htmlwidgets")
3926 (synopsis "HTML Widgets for R")
3927 (description
3928 "HTML widgets is a framework for creating HTML widgets that render in
3929 various contexts including the R console, R Markdown documents, and Shiny web
3930 applications.")
3931 (license l:expat)))
3932
3933 (define-public r-htmltable
3934 (package
3935 (name "r-htmltable")
3936 (version "1.12")
3937 (source
3938 (origin
3939 (method url-fetch)
3940 (uri (cran-uri "htmlTable" version))
3941 (sha256
3942 (base32
3943 "1n5136vb7mi4rxl5jgwdmdhn4mwv2pcqyw2mrj406ih4hy6hpxa2"))))
3944 (properties `((upstream-name . "htmlTable")))
3945 (build-system r-build-system)
3946 (propagated-inputs
3947 `(("r-checkmate" ,r-checkmate)
3948 ("r-htmltools" ,r-htmltools)
3949 ("r-htmlwidgets" ,r-htmlwidgets)
3950 ("r-knitr" ,r-knitr)
3951 ("r-magrittr" ,r-magrittr)
3952 ("r-rstudioapi" ,r-rstudioapi)
3953 ("r-stringr" ,r-stringr)))
3954 (home-page "http://gforge.se/packages/")
3955 (synopsis "Advanced tables for Markdown/HTML")
3956 (description
3957 "This package provides functions to build tables with advanced layout
3958 elements such as row spanners, column spanners, table spanners, zebra
3959 striping, and more. While allowing advanced layout, the underlying
3960 CSS-structure is simple in order to maximize compatibility with word
3961 processors such as LibreOffice. The package also contains a few text
3962 formatting functions that help outputting text compatible with HTML or
3963 LaTeX.")
3964 (license l:gpl3+)))
3965
3966 (define-public r-curl
3967 (package
3968 (name "r-curl")
3969 (version "3.2")
3970 (source (origin
3971 (method url-fetch)
3972 (uri (cran-uri "curl" version))
3973 (sha256
3974 (base32
3975 "15hmy71310hnf9yqvz0icx4cq939gv6iqaifzlfdh2ia8akawdhn"))))
3976 (build-system r-build-system)
3977 (arguments
3978 `(#:phases
3979 (modify-phases %standard-phases
3980 ;; The environment variable CURL_CA_BUNDLE is only respected when
3981 ;; running Windows, so we disable the platform checks.
3982 ;; This can be removed once the libcurl has been patched.
3983 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3984 (lambda _
3985 (substitute* "R/onload.R"
3986 (("if \\(!grepl\\(\"mingw\".*")
3987 "if (FALSE)\n"))
3988 (substitute* "src/handle.c"
3989 (("#ifdef _WIN32") "#if 1"))
3990 #t)))))
3991 (inputs
3992 `(("libcurl" ,curl)))
3993 (home-page "https://github.com/jeroenooms/curl")
3994 (synopsis "HTTP client for R")
3995 (description
3996 "The @code{curl()} and @code{curl_download()} functions provide highly
3997 configurable drop-in replacements for base @code{url()} and
3998 @code{download.file()} with better performance, support for encryption, gzip
3999 compression, authentication, and other @code{libcurl} goodies. The core of
4000 the package implements a framework for performing fully customized requests
4001 where data can be processed either in memory, on disk, or streaming via the
4002 callback or connection interfaces.")
4003 (license l:expat)))
4004
4005 (define-public r-hwriter
4006 (package
4007 (name "r-hwriter")
4008 (version "1.3.2")
4009 (source
4010 (origin
4011 (method url-fetch)
4012 (uri (cran-uri "hwriter" version))
4013 (sha256
4014 (base32
4015 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
4016 (build-system r-build-system)
4017 (home-page "https://cran.r-project.org/web/packages/hwriter")
4018 (synopsis "Output R objects in HTML format")
4019 (description
4020 "This package provides easy-to-use and versatile functions to output R
4021 objects in HTML format.")
4022 (license l:lgpl2.1+)))
4023
4024 (define-public r-rjson
4025 (package
4026 (name "r-rjson")
4027 (version "0.2.20")
4028 (source
4029 (origin
4030 (method url-fetch)
4031 (uri (cran-uri "rjson" version))
4032 (sha256
4033 (base32
4034 "0v1zvdd3svnavklh7y5xbwrrkbvx6053r4c5hgnk7hz7bqg7qa1s"))))
4035 (build-system r-build-system)
4036 (home-page "https://cran.r-project.org/web/packages/rjson")
4037 (synopsis "JSON library for R")
4038 (description
4039 "This package provides functions to convert R objects into JSON objects
4040 and vice-versa.")
4041 (license l:gpl2+)))
4042
4043 (define-public gumbo-parser
4044 (package
4045 (name "gumbo-parser")
4046 (version "0.10.1")
4047 (source (origin
4048 (method url-fetch)
4049 (uri (string-append "https://github.com/google/"
4050 "gumbo-parser/archive/v" version ".tar.gz"))
4051 (file-name (string-append name "-" version ".tar.gz"))
4052 (sha256
4053 (base32
4054 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
4055 (build-system gnu-build-system)
4056 (arguments
4057 `(#:tests? #f)) ;tests require bundling googletest sources
4058 ;; The release tarball lacks the generated files.
4059 (native-inputs
4060 `(("autoconf" ,autoconf)
4061 ("automake" ,automake)
4062 ("libtool" ,libtool)))
4063 (home-page "https://github.com/google/gumbo-parser")
4064 (synopsis "HTML5 parsing library")
4065 (description
4066 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4067 a pure C99 library.")
4068 (license l:asl2.0)))
4069
4070 (define-public uwsgi
4071 (package
4072 (name "uwsgi")
4073 (version "2.0.17")
4074 (source (origin
4075 (method url-fetch)
4076 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4077 version ".tar.gz"))
4078 (sha256
4079 (base32
4080 "1wlbaairsmhp6bx5wv282q9pgh6w7w6yrb8vxjznfaxrinsfkhix"))))
4081 (build-system gnu-build-system)
4082 (outputs '("out" "python"))
4083 (arguments
4084 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4085 ;; But there is no obvious way to run the real tests.
4086 #:tests? #f
4087 #:phases
4088 (modify-phases %standard-phases
4089 (replace 'configure
4090 ;; Configuration is done by writing an ini file.
4091 (lambda* (#:key outputs #:allow-other-keys)
4092 (let* ((out (assoc-ref outputs "out"))
4093 (bindir (string-append out "/bin"))
4094 (plugindir (string-append out "/lib/uwsgi")))
4095 ;; The build phase outputs files to these directories directly.
4096 (mkdir-p bindir)
4097 (mkdir-p plugindir)
4098 ;; XXX: Enable other plugins.
4099 (call-with-output-file "buildconf/guix.ini"
4100 (lambda (port)
4101 (format port "[uwsgi]
4102 yaml = libyaml
4103 bin_name = ~a/uwsgi
4104 plugin_dir = ~a
4105
4106 inherit = base
4107 plugins = cgi,python
4108 embedded_plugins =
4109 " bindir plugindir))))
4110 (setenv "PROFILE" "guix")
4111 #t))
4112 (replace 'install
4113 ;; Move plugins into their own output.
4114 (lambda* (#:key outputs #:allow-other-keys)
4115 (let* ((out (assoc-ref outputs "out"))
4116 (plugindir (string-append out "/lib/uwsgi"))
4117 (python-plugin (string-append
4118 plugindir "/python_plugin.so")))
4119 (install-file python-plugin
4120 (string-append
4121 (assoc-ref outputs "python") "/lib/uwsgi"))
4122 (delete-file python-plugin)
4123 #t))))))
4124 (native-inputs
4125 `(("pkg-config" ,pkg-config)
4126 ("python" ,python-wrapper)))
4127 (inputs
4128 `(("jansson" ,jansson)
4129 ("libxml2" ,libxml2)
4130 ("libyaml" ,libyaml)
4131 ("openssl" ,openssl)
4132 ("pcre" ,pcre)
4133 ("zlib" ,zlib)
4134 ;; For plugins.
4135 ("python" ,python)))
4136 (home-page "https://uwsgi-docs.readthedocs.org/")
4137 (synopsis "Application container server")
4138 (description
4139 "uWSGI presents a complete stack for networked/clustered web applications,
4140 implementing message/object passing, caching, RPC and process management.
4141 It uses the uwsgi protocol for all the networking/interprocess communications.")
4142 (license l:gpl2+))) ; with linking exception
4143
4144 (define-public jq
4145 (package
4146 (name "jq")
4147 (version "1.5")
4148 (source (origin
4149 (method url-fetch)
4150 (uri (string-append "https://github.com/stedolan/" name
4151 "/releases/download/" name "-" version
4152 "/" name "-" version ".tar.gz"))
4153 (sha256
4154 (base32
4155 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
4156 ;; This patch has been pushed and the vulnerability will be
4157 ;; fixed in the next release after 1.5.
4158 ;; https://github.com/stedolan/jq/issues/995
4159 (patches (search-patches "jq-CVE-2015-8863.patch"))))
4160 (inputs
4161 `(("oniguruma" ,oniguruma)))
4162 (native-inputs
4163 `(;; TODO fix gems to generate documentation
4164 ;;("ruby" ,ruby)
4165 ;;("bundler" ,bundler)
4166 ("valgrind" ,valgrind)))
4167 (build-system gnu-build-system)
4168 (home-page "http://stedolan.github.io/jq/")
4169 (synopsis "Command-line JSON processor")
4170 (description "jq is like sed for JSON data – you can use it to slice and
4171 filter and map and transform structured data with the same ease that sed, awk,
4172 grep and friends let you play with text. It is written in portable C. jq can
4173 mangle the data format that you have into the one that you want with very
4174 little effort, and the program to do so is often shorter and simpler than
4175 you'd expect.")
4176 (license (list l:expat l:cc-by3.0))))
4177
4178 (define-public uhttpmock
4179 (package
4180 (name "uhttpmock")
4181 (version "0.5.1")
4182 (source
4183 (origin
4184 (method url-fetch)
4185 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4186 name "-" version ".tar.xz"))
4187 (sha256
4188 (base32
4189 "163py4klka423x7li2b685gmg3a6hjf074mlff2ajhmi3l0lm8x6"))))
4190 (build-system glib-or-gtk-build-system)
4191 (arguments
4192 `(#:phases
4193 (modify-phases %standard-phases
4194 (add-before 'check 'use-empty-ssl-cert-file
4195 (lambda _
4196 ;; Search for ca-certificates.crt files
4197 ;; during the check phase.
4198 (setenv "SSL_CERT_FILE" "/dev/null")
4199 #t)))))
4200 (native-inputs
4201 `(("gobject-introspection" ,gobject-introspection)
4202 ;; For check phase.
4203 ("glib-networking" ,glib-networking)
4204 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4205 ("pkg-config" ,pkg-config)))
4206 (inputs
4207 `(("libsoup" ,libsoup)))
4208 (home-page "https://gitlab.com/groups/uhttpmock")
4209 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4210 (description
4211 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4212 HTTPS. It provides a library, libuhttpmock, which implements recording and
4213 playback of HTTP request/response traces.")
4214 (license l:lgpl2.1+)))
4215
4216 (define-public woof
4217 (package
4218 (name "woof")
4219 (version "2012-05-31")
4220 (source (origin
4221 (method url-fetch)
4222 (uri (string-append
4223 "http://www.home.unix-ag.org/simon/woof-"
4224 version ".py"))
4225 (sha256
4226 (base32
4227 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4228 (build-system trivial-build-system)
4229 (arguments
4230 '(#:modules ((guix build utils))
4231 #:builder
4232 (begin
4233 (use-modules (guix build utils))
4234 (let* ((source (assoc-ref %build-inputs "source"))
4235 (out (assoc-ref %outputs "out"))
4236 (bin (string-append out "/bin"))
4237 (python (assoc-ref %build-inputs "python")))
4238 (mkdir-p bin)
4239 (with-directory-excursion bin
4240 (copy-file source "woof")
4241 (patch-shebang "woof" (list (string-append python "/bin")))
4242 (chmod "woof" #o555))
4243 #t))))
4244 (inputs `(("python" ,python-2)))
4245 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4246 (synopsis "Single file web server")
4247 (description "Woof (Web Offer One File) is a small simple web server that
4248 can easily be invoked on a single file. Your partner can access the file with
4249 tools they trust (e.g. wget).")
4250 (license l:gpl2+)))
4251
4252 (define netsurf-buildsystem
4253 (package
4254 (name "netsurf-buildsystem")
4255 (version "1.6")
4256 (source
4257 (origin
4258 (method url-fetch)
4259 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4260 "buildsystem-" version ".tar.gz"))
4261 (sha256
4262 (base32
4263 "0p5k708lcq8dip9xxck6hml32bjrbyipprm22bbsvdnsc0pqm71x"))))
4264 (build-system gnu-build-system)
4265 (inputs `(("perl" ,perl)))
4266 (arguments
4267 '(#:make-flags (list (string-append "PREFIX=" %output))
4268 #:tests? #f ;no tests
4269 #:phases (modify-phases %standard-phases
4270 (delete 'configure)
4271 (delete 'build))))
4272 (home-page "http://www.netsurf-browser.org")
4273 (synopsis "Build system for the Netsurf project")
4274 (description
4275 "This package provides the shared build system for Netsurf project
4276 libraries.")
4277 (license l:expat)))
4278
4279 (define netsurf-buildsystem-arguments
4280 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4281 "CC=gcc" "BUILD_CC=gcc"
4282 ,(string-append "PREFIX=" %output)
4283 ,(string-append "NSSHARED="
4284 (assoc-ref %build-inputs
4285 "netsurf-buildsystem")
4286 "/share/netsurf-buildsystem"))
4287 #:test-target "test"
4288 #:phases (modify-phases %standard-phases
4289 (delete 'configure))))
4290
4291 (define-public libparserutils
4292 (package
4293 (name "libparserutils")
4294 (version "0.2.3")
4295 (source
4296 (origin
4297 (method url-fetch)
4298 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4299 name "-" version "-src.tar.gz"))
4300 (sha256
4301 (base32
4302 "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
4303 (build-system gnu-build-system)
4304 (native-inputs
4305 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4306 ("pkg-config" ,pkg-config)
4307 ("perl" ,perl))) ;for test harness
4308 (arguments netsurf-buildsystem-arguments)
4309 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
4310 (synopsis "Parser building library")
4311 (description
4312 "LibParserUtils is a library for building efficient parsers, written in
4313 C. It is developed as part of the NetSurf project.")
4314 (license l:expat)))
4315
4316 (define-public hubbub
4317 (package
4318 (name "hubbub")
4319 (version "0.3.4")
4320 (source
4321 (origin
4322 (method url-fetch)
4323 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4324 "lib" name "-" version "-src.tar.gz"))
4325 (sha256
4326 (base32
4327 "1shi4hv8drn9zy8f2f6yhnz2dqnpg5jkybvqhzggfjx1q35fbxz3"))
4328 (patches (search-patches "hubbub-sort-entities.patch"))))
4329 (build-system gnu-build-system)
4330 (native-inputs
4331 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4332 ("pkg-config" ,pkg-config)
4333 ("doxygen" ,doxygen)
4334 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4335 ("perl" ,perl)))
4336 (propagated-inputs
4337 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4338 (arguments netsurf-buildsystem-arguments)
4339 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
4340 (synopsis "HTML5 compliant parsing library")
4341 (description
4342 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4343 parse both valid and invalid web content. It is developed as part of the
4344 NetSurf project.")
4345 (license l:expat)))
4346
4347 (define-public ikiwiki
4348 (package
4349 (name "ikiwiki")
4350 (version "3.20170111")
4351 (source
4352 (origin
4353 (method url-fetch)
4354 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4355 "20170111T215449Z/pool/main/i/ikiwiki/ikiwiki_"
4356 version ".tar.xz"))
4357 (sha256
4358 (base32
4359 "00d7yzv426fvqbhvzyafddv7fa6b4j2647b0wi371wd5yjj9j3sz"))))
4360 (build-system perl-build-system)
4361 (arguments
4362 `(;; Image tests fail
4363 ;;
4364 ;; Test Summary Report
4365 ;; -------------------
4366 ;; t/img.t (Wstat: 2304 Tests: 62 Failed: 9)
4367 ;; Failed tests: 21, 27-28, 30-35
4368 ;; Non-zero exit status: 9
4369 #:tests? #f
4370 #:phases
4371 (modify-phases %standard-phases
4372 (add-after 'unpack 'include-PERL5LIB-in-wrapper
4373 (lambda _
4374 (substitute* "IkiWiki/Wrapper.pm"
4375 (("^@wrapper\\_hooks")
4376 (string-append
4377 "@wrapper_hooks\n"
4378 " addenv(\"PERL5LIB\", \""
4379 (getenv "PERL5LIB")
4380 "\");")))))
4381 (add-after 'install 'wrap-programs
4382 (lambda* (#:key outputs #:allow-other-keys)
4383 (let* ((out (assoc-ref outputs "out"))
4384 (bin (string-append out "/bin/"))
4385 (path (getenv "PERL5LIB")))
4386 (for-each (lambda (file)
4387 (wrap-program file
4388 `("PERL5LIB" ":" prefix (,path))))
4389 (find-files bin))
4390 #t))))))
4391 (native-inputs
4392 `(("which" ,which)
4393 ("perl-html-tagset" ,perl-html-tagset)
4394 ("perl-timedate" ,perl-timedate)
4395 ("perl-xml-sax" ,perl-xml-sax)
4396 ("perl-xml-simple" ,perl-xml-simple)
4397 ("gettext" ,gettext-minimal)
4398 ("subversion" ,subversion)
4399 ("git" ,git)
4400 ("bazaar" ,bazaar)
4401 ("cvs" ,cvs)
4402 ("mercurial" ,mercurial)))
4403 (inputs
4404 `(("python" ,python-wrapper)
4405 ("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
4406 ("perl-cgi-session" ,perl-cgi-session)
4407 ("perl-cgi-simple" ,perl-cgi-simple)
4408 ("perl-db-file" ,perl-db-file)
4409 ("perl-html-parser" ,perl-html-parser)
4410 ("perl-html-scrubber" ,perl-html-scrubber)
4411 ("perl-html-template" ,perl-html-template)
4412 ("perl-image-magick" ,perl-image-magick)
4413 ("perl-json" ,perl-json)
4414 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4415 ("perl-uri" ,perl-uri)
4416 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4417 (home-page "https://ikiwiki.info/")
4418 (synopsis "Wiki compiler, capable of generating HTML")
4419 (description
4420 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4421 pages, but also incorporating dynamic features like a web based editor and
4422 commenting.")
4423 (license l:gpl2+)))
4424
4425 (define-public libwapcaplet
4426 (package
4427 (name "libwapcaplet")
4428 (version "0.4.0")
4429 (source
4430 (origin
4431 (method url-fetch)
4432 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4433 name "-" version "-src.tar.gz"))
4434 (sha256
4435 (base32
4436 "15yr0pl6qa6biy36qkmd949ydbjzpqiaccpx3sprh4jknabsk1vv"))))
4437 (build-system gnu-build-system)
4438 (native-inputs
4439 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4440 ("pkg-config" ,pkg-config)
4441 ("check" ,check))) ;for tests
4442 (arguments netsurf-buildsystem-arguments)
4443 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
4444 (synopsis "String internment library")
4445 (description
4446 "LibWapcaplet provides a reference counted string internment system
4447 designed to store small strings and allow rapid comparison of them. It is
4448 developed as part of the Netsurf project.")
4449 (license l:expat)))
4450
4451 (define-public libcss
4452 (package
4453 (name "libcss")
4454 (version "0.7.0")
4455 (source
4456 (origin
4457 (method url-fetch)
4458 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4459 name "-" version "-src.tar.gz"))
4460 (sha256
4461 (base32
4462 "16mns3h8vj7iw8myvgnw58q84irvbjlvfkxh8mdw6fbkjvaa7cnz"))))
4463 (build-system gnu-build-system)
4464 (native-inputs
4465 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4466 ("pkg-config" ,pkg-config)
4467 ("perl" ,perl)))
4468 (propagated-inputs ;needed for libcss.pc
4469 `(("libparserutils" ,libparserutils)
4470 ("libwapcaplet" ,libwapcaplet)))
4471 (arguments netsurf-buildsystem-arguments)
4472 (home-page "http://www.netsurf-browser.org/projects/libcss/")
4473 (synopsis "CSS parser and selection library")
4474 (description
4475 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4476 written in C. It is developed as part of the NetSurf project.")
4477 (license l:expat)))
4478
4479 (define-public libdom
4480 (package
4481 (name "libdom")
4482 (version "0.3.2")
4483 (source
4484 (origin
4485 (method url-fetch)
4486 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4487 name "-" version "-src.tar.gz"))
4488 (sha256
4489 (base32
4490 "1zb7x2qwm6p11lph6j2vcyp4a0a8i1klkqilnk5vb4qmlzzpcv7i"))))
4491 (build-system gnu-build-system)
4492 (native-inputs
4493 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4494 ("pkg-config" ,pkg-config)
4495 ("perl" ,perl) ;for test harness
4496 ("perl-libxml" ,perl-libxml)
4497 ("perl-switch" ,perl-switch)
4498 ("perl-xml-xpath" ,perl-xml-xpath)))
4499 (inputs
4500 `(("libparserutils" ,libparserutils)
4501 ("libwapcaplet" ,libwapcaplet)))
4502 (propagated-inputs
4503 `(("expat" ,expat) ;needed for headers and linking
4504 ("hubbub" ,hubbub))) ;for libdom.pc
4505 (arguments
4506 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4507 ,@netsurf-buildsystem-arguments))
4508 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4509 (synopsis "Implementation of the W3C DOM")
4510 (description
4511 "LibDOM is an implementation of the W3C DOM, written in C. It is
4512 developed as part of the NetSurf project.")
4513 (license l:expat)))
4514
4515 (define-public libsvgtiny
4516 (package
4517 (name "libsvgtiny")
4518 (version "0.1.6")
4519 (source
4520 (origin
4521 (method url-fetch)
4522 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4523 name "-" version "-src.tar.gz"))
4524 (sha256
4525 (base32
4526 "12ppy2r7m21ykrjgbf067cgi6dn48fkj7i4b7m64xl4dc13y0ah6"))))
4527 (build-system gnu-build-system)
4528 (native-inputs
4529 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4530 ("pkg-config" ,pkg-config)
4531 ("gperf" ,gperf-3.0)))
4532 (inputs
4533 `(("libwapcaplet" ,libwapcaplet)))
4534 (propagated-inputs
4535 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4536 (arguments netsurf-buildsystem-arguments)
4537 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4538 (synopsis "Library for parsing SVG files")
4539 (description
4540 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4541 which can be rendered easily, as defined in
4542 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4543 project.")
4544 (license l:expat)))
4545
4546 (define-public libnsbmp
4547 (package
4548 (name "libnsbmp")
4549 (version "0.1.4")
4550 (source
4551 (origin
4552 (method url-fetch)
4553 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4554 name "-" version "-src.tar.gz"))
4555 (sha256
4556 (base32
4557 "0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
4558 (build-system gnu-build-system)
4559 (native-inputs
4560 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4561 (arguments netsurf-buildsystem-arguments)
4562 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4563 (synopsis "Decoding library for BMP and ICO files")
4564 (description
4565 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4566 written in C. It is developed as part of the NetSurf project.")
4567 (license l:expat)))
4568
4569 (define-public libnsgif
4570 (package
4571 (name "libnsgif")
4572 (version "0.2.0")
4573 (source
4574 (origin
4575 (method url-fetch)
4576 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4577 name "-" version "-src.tar.gz"))
4578 (sha256
4579 (base32
4580 "1phwf0m24m6nd7096fw14hanl4f8gr9bcppi834lbik04agxk38a"))))
4581 (build-system gnu-build-system)
4582 (native-inputs
4583 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4584 (arguments netsurf-buildsystem-arguments)
4585 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4586 (synopsis "Decoding library for GIF files")
4587 (description
4588 "Libnsgif is a decoding library for the GIF image file format, written in
4589 C. It is developed as part of the NetSurf project.")
4590 (license l:expat)))
4591
4592 (define-public libnsutils
4593 (package
4594 (name "libnsutils")
4595 (version "0.0.3")
4596 (source
4597 (origin
4598 (method url-fetch)
4599 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4600 name "-" version "-src.tar.gz"))
4601 (sha256
4602 (base32
4603 "0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
4604 (build-system gnu-build-system)
4605 (native-inputs
4606 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4607 (arguments netsurf-buildsystem-arguments)
4608 (home-page "http://www.netsurf-browser.org/")
4609 (synopsis "Utility library for NetSurf")
4610 (description
4611 "Libnsutils provides a small number of useful utility routines. It is
4612 developed as part of the NetSurf project.")
4613 (license l:expat)))
4614
4615 (define-public libnspsl
4616 (package
4617 (name "libnspsl")
4618 (version "0.1.2")
4619 (source
4620 (origin
4621 (method url-fetch)
4622 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4623 name "-" version "-src.tar.gz"))
4624 (sha256
4625 (base32
4626 "0wim5hwzwrfrvvap096whf79m2mnfivbqhqlh03ci9d89xb1w0y9"))))
4627 (build-system gnu-build-system)
4628 (native-inputs
4629 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4630 (arguments netsurf-buildsystem-arguments)
4631 (home-page "http://www.netsurf-browser.org/")
4632 (synopsis "Library to generate a static Public Suffix List")
4633 (description
4634 "Libnspsl is a library to generate a static code representation of the
4635 Public Suffix List. It is developed as part of the NetSurf project.")
4636 (license l:expat)))
4637
4638 (define-public nsgenbind
4639 (package
4640 (name "nsgenbind")
4641 (version "0.5")
4642 (source
4643 (origin
4644 (method url-fetch)
4645 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4646 name "-" version "-src.tar.gz"))
4647 (sha256
4648 (base32
4649 "1iwjpdaan0njlhb9ir6a2q5vpxfmkqfldkvnqszqdz50b44vd1jv"))))
4650 (build-system gnu-build-system)
4651 (native-inputs
4652 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4653 ("bison" ,bison)
4654 ("flex" ,flex)))
4655 (arguments
4656 (substitute-keyword-arguments netsurf-buildsystem-arguments
4657 ((#:make-flags flags)
4658 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4659 (home-page "http://www.netsurf-browser.org/")
4660 (synopsis "Generate JavaScript to DOM bindings")
4661 (description
4662 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4663 w3c webidl files and a binding configuration file.")
4664 (license l:expat)))
4665
4666 (define-public netsurf
4667 (package
4668 (name "netsurf")
4669 (version "3.7")
4670 (source
4671 (origin
4672 (method url-fetch)
4673 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4674 "releases/source/netsurf-" version "-src.tar.gz"))
4675 (sha256
4676 (base32
4677 "05kynfzzwd4fc03vbqdjpghh5xnk2yrh43w7vikak89vla30mhpg"))
4678 (patches (search-patches "netsurf-system-utf8proc.patch"
4679 "netsurf-y2038-tests.patch"
4680 "netsurf-longer-test-timeout.patch"))))
4681 (build-system glib-or-gtk-build-system)
4682 (native-inputs
4683 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4684 ("nsgenbind" ,nsgenbind)
4685 ("libidn" ,libidn) ;only for tests
4686 ("check" ,check)
4687 ("perl" ,perl)
4688 ("perl-html-parser" ,perl-html-parser)
4689 ("pkg-config" ,pkg-config)))
4690 (inputs
4691 `(("curl" ,curl)
4692 ("gtk+" ,gtk+-2)
4693 ("openssl" ,openssl)
4694 ("utf8proc" ,utf8proc)
4695 ("libpng" ,libpng)
4696 ("libjpeg" ,libjpeg)
4697 ("libcss" ,libcss)
4698 ("libdom" ,libdom)
4699 ("libnsbmp" ,libnsbmp)
4700 ("libnsgif" ,libnsgif)
4701 ("libnspsl" ,libnspsl)
4702 ("libnsutils" ,libnsutils)
4703 ("libsvgtiny" ,libsvgtiny)
4704 ("miscfiles" ,miscfiles)))
4705 (arguments
4706 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4707 ,(string-append "PREFIX=" %output)
4708 ,(string-append "NSSHARED="
4709 (assoc-ref %build-inputs
4710 "netsurf-buildsystem")
4711 "/share/netsurf-buildsystem"))
4712 #:test-target "test"
4713 #:modules ((ice-9 rdelim)
4714 (ice-9 match)
4715 (srfi srfi-1)
4716 (sxml simple)
4717 ,@%glib-or-gtk-build-system-modules)
4718 #:phases
4719 (modify-phases %standard-phases
4720 (delete 'configure)
4721 (add-after 'build 'adjust-welcome
4722 (lambda _
4723 ;; First, fix some unended tags and simple substitutions
4724 (substitute* "frontends/gtk/res/welcome.html"
4725 (("<(img|input)([^>]*)>" _ tag contents)
4726 (string-append "<" tag contents " />"))
4727 (("Licence") "License") ;prefer GNU spelling
4728 ((" open source") ", free software")
4729 (("web&nbsp;site") "website")
4730 ;; Prefer privacy-respecting default search engine
4731 (("www.google.co.uk") "www.duckduckgo.com/html")
4732 (("Google Search") "DuckDuckGo Search")
4733 (("name=\"btnG\"") ""))
4734 ;; Remove default links so it doesn't seem we're endorsing them
4735 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4736 (lambda (in out)
4737 ;; Leave the DOCTYPE header as is
4738 (display (read-line in 'concat) out)
4739 (sxml->xml
4740 (let rec ((sxml (xml->sxml in)))
4741 ;; We'd like to use sxml-match here, but it can't
4742 ;; match against generic tag symbols...
4743 (match sxml
4744 (`(div (@ (class "links")) . ,rest)
4745 '())
4746 ((x ...)
4747 (map rec x))
4748 (x x)))
4749 out)))
4750 #t))
4751 (add-before 'check 'patch-check
4752 (lambda* (#:key inputs #:allow-other-keys)
4753 (substitute* '("test/bloom.c" "test/hashtable.c")
4754 (("/usr/share/dict/words")
4755 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4756 #t))
4757 (add-after 'install 'install-more
4758 (lambda* (#:key outputs #:allow-other-keys)
4759 (let* ((out (assoc-ref outputs "out"))
4760 (desktop (string-append out "/share/applications/"
4761 "netsurf.desktop")))
4762 (mkdir-p (dirname desktop))
4763 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4764 desktop)
4765 (substitute* desktop
4766 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk"))
4767 (("netsurf.png") (string-append out "/share/netsurf/"
4768 "netsurf.xpm")))
4769 (install-file "docs/netsurf-gtk.1"
4770 (string-append out "/share/man/man1/"))
4771 #t))))))
4772 (home-page "http://www.netsurf-browser.org")
4773 (synopsis "Web browser")
4774 (description
4775 "NetSurf is a lightweight web browser that has its own layout and
4776 rendering engine entirely written from scratch. It is small and capable of
4777 handling many of the web standards in use today.")
4778 (license l:gpl2+)))
4779
4780 (define-public surfraw
4781 (package
4782 (name "surfraw")
4783 (version "2.2.9")
4784 (source (origin
4785 (method url-fetch)
4786 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4787 name "-" version ".tar.gz"))
4788 (sha256
4789 (base32
4790 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4791 (build-system gnu-build-system)
4792 (arguments
4793 `(#:phases
4794 (modify-phases %standard-phases
4795 (add-before 'configure 'patch-perl
4796 (lambda* (#:key inputs #:allow-other-keys)
4797 (let ((perl (assoc-ref inputs "perl")))
4798 (substitute* "surfraw.IN"
4799 (("perl -e")
4800 (string-append perl "/bin/perl -e")))
4801 #t)))
4802 (add-after 'install 'compress-elvi.1sr
4803 (lambda* (#:key outputs #:allow-other-keys)
4804 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4805 ;; but elvi.1sr does not get compressed by our manpage phase.
4806 (let* ((out (assoc-ref %outputs "out"))
4807 (man (string-append out "/share/man/man1")))
4808 (with-directory-excursion man
4809 (invoke "gzip" "elvi.1sr"))))))))
4810 (inputs
4811 `(("perl" ,perl)
4812 ("perl-www-opensearch" ,perl-www-opensearch)
4813 ("perl-html-parser" ,perl-html-parser)
4814 ("perl-libwww" ,perl-libwww)))
4815 (synopsis "Unix command line interface to the www")
4816 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4817 provides a unix command line interface to a variety of popular www search engines
4818 and similar services.")
4819 (home-page "https://surfraw.alioth.debian.org/")
4820 (license l:public-domain)))
4821
4822 (define-public darkhttpd
4823 (package
4824 (name "darkhttpd")
4825 (version "1.12")
4826 (source
4827 (origin
4828 (method url-fetch)
4829 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4830 version ".tar.bz2"))
4831 (sha256
4832 (base32
4833 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4834 (build-system gnu-build-system)
4835 (arguments
4836 `(#:make-flags '("CC=gcc")
4837 #:tests? #f ; No test suite
4838 #:phases
4839 (modify-phases %standard-phases
4840 (delete 'configure)
4841 (replace 'install
4842 (lambda* (#:key outputs #:allow-other-keys)
4843 (install-file "darkhttpd"
4844 (string-append (assoc-ref outputs "out")
4845 "/bin"))
4846 #t)))))
4847 (synopsis "Simple static web server")
4848 (description "darkhttpd is a simple static web server. It is
4849 standalone and does not need inetd or ucspi-tcp. It does not need any
4850 config files---you only have to specify the www root.")
4851 (home-page "https://unix4lyfe.org/darkhttpd/")
4852 (license l:isc)))
4853
4854 (define-public goaccess
4855 (package
4856 (name "goaccess")
4857 (version "1.0.2")
4858 (source (origin
4859 (method url-fetch)
4860 (uri (string-append "http://tar.goaccess.io/goaccess-"
4861 version ".tar.gz"))
4862 (sha256
4863 (base32
4864 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4865 (modules '((guix build utils)))
4866 (snippet '(begin
4867 (substitute* "src/error.h"
4868 (("__DATE__") "\"1970-01-01\"")
4869 (("__TIME__") "\"00:00:00\""))
4870 #t))))
4871 (build-system gnu-build-system)
4872 (inputs
4873 ;; TODO: Add dependency on geoip-tools.
4874 `(("glib" ,glib)
4875 ("ncurses" ,ncurses)))
4876 (native-inputs
4877 `(("pkg-config" ,pkg-config)))
4878 (home-page "https://goaccess.io")
4879 (synopsis "Analyze Web server logs in real time")
4880 (description
4881 "GoAccess is a real-time web log analyzer and interactive viewer that
4882 runs in a terminal or through your browser. It provides fast and valuable
4883 HTTP statistics for system administrators that require a visual server report
4884 on the fly.")
4885 (license l:x11)))
4886
4887 (define-public httptunnel
4888 (package
4889 (name "httptunnel")
4890 (version "3.3")
4891 (source
4892 (origin
4893 (method url-fetch)
4894 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4895 name "-" version ".tar.gz"))
4896 (sha256
4897 (base32
4898 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4899 (modules '((guix build utils)))
4900 (snippet '(begin
4901 ;; Remove non-free IETF RFC documentation.
4902 (delete-file-recursively "doc")
4903 #t))))
4904 (build-system gnu-build-system)
4905 (arguments
4906 `(#:phases
4907 (modify-phases %standard-phases
4908 ;; The default configure phase tries to pass environment variables as
4909 ;; command-line arguments, which confuses the ./configure script.
4910 (replace 'configure
4911 (lambda* (#:key outputs #:allow-other-keys)
4912 (let* ((out (assoc-ref outputs "out")))
4913 (setenv "CONFIG_SHELL" (which "bash"))
4914 (invoke "./configure"
4915 (string-append "--prefix=" out))))))))
4916 (home-page "http://www.nocrew.org/software/httptunnel.html")
4917 (synopsis "Tunnel data connections through HTTP requests")
4918 (description "httptunnel creates a bidirectional virtual data connection
4919 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4920 useful for users behind restrictive firewalls. As long as Web traffic is
4921 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4922 tools like SSH (Secure Shell) to reach the outside world.")
4923 (license l:gpl2+)))
4924
4925 (define-public stunnel
4926 (package
4927 (name "stunnel")
4928 (version "5.46")
4929 (source
4930 (origin
4931 (method url-fetch)
4932 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4933 version ".tar.gz"))
4934 (sha256
4935 (base32
4936 "1iw4gap9ysag8iww2ik029scmdllk7jdzcpnnbj7hgbl526b9akn"))))
4937 (build-system gnu-build-system)
4938 (inputs `(("openssl" ,openssl)))
4939 (arguments
4940 `(#:configure-flags
4941 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))))
4942 (home-page "https://www.stunnel.org")
4943 (synopsis "TLS proxy for clients or servers")
4944 (description "Stunnel is a proxy designed to add TLS encryption
4945 functionality to existing clients and servers without any changes in the
4946 programs' code. Its architecture is optimized for security, portability, and
4947 scalability (including load-balancing), making it suitable for large
4948 deployments.")
4949 (license l:gpl2+)))
4950
4951 (define-public xinetd
4952 (package
4953 (name "xinetd")
4954 (version "2.3.15")
4955 (source
4956 (origin
4957 (method url-fetch)
4958 (uri
4959 (string-append "https://github.com/xinetd-org/xinetd/archive/xinetd-"
4960 (string-join (string-split version #\.) "-") ".tar.gz"))
4961 (patches (search-patches "xinetd-CVE-2013-4342.patch"
4962 "xinetd-fix-fd-leak.patch"))
4963 (sha256
4964 (base32
4965 "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
4966 (build-system gnu-build-system)
4967 (arguments
4968 `(#:configure-flags '("--with-loadavg")
4969 #:tests? #f)) ; no tests
4970 (home-page "https://github.com/xinetd-org/xinetd")
4971 (synopsis "Internet services daemon")
4972 (description "@code{xinetd}, a more secure replacement for @code{inetd},
4973 listens for incoming requests over a network and launches the appropriate
4974 service for that request. Requests are made using port numbers as identifiers
4975 and xinetd usually launches another daemon to handle the request. It can be
4976 used to start services with both privileged and non-privileged port numbers.")
4977 (license (l:fsf-free "file://COPYRIGHT"))))
4978
4979 (define-public tidy-html
4980 (package
4981 (name "tidy-html")
4982 (version "5.6.0")
4983 (source
4984 (origin
4985 (method url-fetch)
4986 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
4987 version ".tar.gz"))
4988 (file-name (string-append name "-" version ".tar.gz"))
4989 (sha256
4990 (base32
4991 "0n29wcgw32rhnraj9j21ibhwi0xagmmcskhbaz8ihxly7nx3p9h8"))))
4992 (build-system cmake-build-system)
4993 (outputs '("out"
4994 "static")) ; 1.0MiB of .a files
4995 (arguments
4996 `(#:tests? #f ; no tests available
4997 #:build-type "Release"
4998 #:phases
4999 (modify-phases %standard-phases
5000 (add-after 'install 'move-static-libraries
5001 (lambda* (#:key outputs #:allow-other-keys)
5002 ;; Move static libraries to the "static" output.
5003 (let* ((out (assoc-ref outputs "out"))
5004 (lib (string-append out "/lib"))
5005 (static (assoc-ref outputs "static"))
5006 (slib (string-append static "/lib")))
5007 (mkdir-p slib)
5008 (for-each (lambda (file)
5009 (install-file file slib)
5010 (delete-file file))
5011 (find-files lib "\\.a$"))
5012 #t))))))
5013 (native-inputs
5014 `(("libxslt" ,libxslt)))
5015 (home-page "http://www.html-tidy.org/")
5016 (synopsis "HTML Tidy with HTML5 support")
5017 (description
5018 "Tidy is a console application which corrects and cleans up
5019 HTML and XML documents by fixing markup errors and upgrading
5020 legacy code to modern standards.
5021
5022 Tidy also provides @code{libtidy}, a C static and dynamic library that
5023 developers can integrate into their applications to make use of the
5024 functions of Tidy.")
5025 (license l:bsd-3)))
5026
5027 (define-public hiawatha
5028 (package
5029 (name "hiawatha")
5030 (version "10.7")
5031 (source
5032 (origin
5033 (method url-fetch)
5034 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5035 "hiawatha-" version ".tar.gz"))
5036 (modules '((guix build utils)))
5037 (snippet '(begin
5038 ;; We use our packaged mbedtls, so delete the included copy.
5039 (delete-file-recursively "mbedtls")
5040 #t))
5041 (sha256
5042 (base32
5043 "0x2zfc8kc6c7rl4gwymwmg13w1c60biv6c6c9fvzpnl59bc9jgin"))))
5044 (build-system cmake-build-system)
5045 (arguments
5046 `(#:tests? #f ; No tests included
5047 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5048 (string-append "-DENABLE_TOMAHAWK=on")
5049 (string-append "-DWEBROOT_DIR="
5050 (assoc-ref %outputs "out")
5051 "/share/hiawatha/html"))
5052 #:phases
5053 (modify-phases %standard-phases
5054 (add-after 'install 'remove-empty-dirs
5055 (lambda* (#:key outputs #:allow-other-keys)
5056 (let* ((out (assoc-ref outputs "out")))
5057 ;; The directories in "var" are empty, remove them.
5058 (delete-file-recursively (string-append out "/var"))
5059 #t)))
5060 (add-after 'install 'wrap
5061 (lambda* (#:key inputs outputs #:allow-other-keys)
5062 ;; Make sure 'hiawatha' finds 'mbedtls'.
5063 (let* ((out (assoc-ref outputs "out"))
5064 (sbin (string-append out "/sbin"))
5065 (mbed (assoc-ref inputs "mbedtls-apache")))
5066 (wrap-program (string-append sbin "/hiawatha")
5067 `("PATH" ":" prefix (,mbed)))))))))
5068 (inputs
5069 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
5070 `(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
5071 ("zlib" ,zlib)
5072 ("libxslt" ,libxslt)
5073 ("libxml2" ,libxml2)))
5074 (home-page "https://www.hiawatha-webserver.org")
5075 (synopsis "Webserver with focus on security")
5076 (description
5077 "Hiawatha has been written with security in mind.
5078 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5079 exploit attempts.")
5080 (license l:gpl2)))
5081
5082 (define-public python-httpbin
5083 (package
5084 (name "python-httpbin")
5085 (version "0.5.0")
5086 (source
5087 (origin
5088 (method url-fetch)
5089 (uri (pypi-uri "httpbin" version))
5090 (sha256
5091 (base32
5092 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5093 (build-system python-build-system)
5094 (propagated-inputs
5095 `(("python-decorator" ,python-decorator)
5096 ("python-flask" ,python-flask)
5097 ("python-itsdangerous" ,python-itsdangerous)
5098 ("python-markupsafe" ,python-markupsafe)
5099 ("python-six" ,python-six)))
5100 (home-page "https://github.com/Runscope/httpbin")
5101 (synopsis "HTTP request and response service")
5102 (description "Testing an HTTP Library can become difficult sometimes.
5103 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5104 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5105 JSON-encoded.")
5106 (license l:isc)))
5107
5108 (define-public python2-httpbin
5109 (package-with-python2 python-httpbin))
5110
5111 (define-public python-pytest-httpbin
5112 (package
5113 (name "python-pytest-httpbin")
5114 (version "0.2.3")
5115 (source
5116 (origin
5117 (method url-fetch)
5118 (uri (pypi-uri "pytest-httpbin" version))
5119 (sha256
5120 (base32
5121 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5122 (build-system python-build-system)
5123 (propagated-inputs
5124 `(("python-six" ,python-six)
5125 ("python-httpbin" ,python-httpbin)
5126 ("python-pytest" ,python-pytest)))
5127 (home-page
5128 "https://github.com/kevin1024/pytest-httpbin")
5129 (synopsis
5130 "Test your HTTP library against a local copy of httpbin")
5131 (description
5132 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5133 into your tests. It automatically starts up a HTTP server in a separate thread running
5134 @code{httpbin} and provides your test with the URL in the fixture.")
5135 (license l:expat)))
5136
5137 (define-public python2-pytest-httpbin
5138 (package-with-python2 python-pytest-httpbin))
5139
5140 (define-public http-parser
5141 (package
5142 (name "http-parser")
5143 (version "2.8.1")
5144 (source (origin
5145 (method url-fetch)
5146 (uri (string-append "https://github.com/nodejs/http-parser/"
5147 "archive/v" version ".tar.gz"))
5148 (file-name (string-append name "-" version ".tar.gz"))
5149 (sha256
5150 (base32
5151 "15ids8k2f0xhnnxh4m85w2f78pg5ndiwrpl24kyssznnp1l5yqai"))))
5152 (build-system gnu-build-system)
5153 (arguments
5154 `(#:test-target "test"
5155 #:make-flags
5156 (list (string-append "PREFIX="
5157 (assoc-ref %outputs "out"))
5158 "CC=gcc" "library")
5159 #:phases
5160 (modify-phases %standard-phases
5161 (delete 'configure))))
5162 (home-page "https://github.com/nodejs/http-parser")
5163 (synopsis "HTTP request/response parser for C")
5164 (description "This is a parser for HTTP messages written in C. It parses
5165 both requests and responses. The parser is designed to be used in
5166 high-performance HTTP applications. It does not make any syscalls nor
5167 allocations, it does not buffer data, it can be interrupted at anytime.
5168 Depending on your architecture, it only requires about 40 bytes of data per
5169 message stream (in a web server that is per connection).")
5170 (license l:expat)))
5171
5172 (define-public python2-httpretty
5173 (package
5174 (name "python2-httpretty")
5175 (version "0.8.14")
5176 (source
5177 (origin
5178 (method url-fetch)
5179 (uri (pypi-uri "httpretty" version))
5180 (sha256
5181 (base32
5182 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
5183 (build-system python-build-system)
5184 (native-inputs
5185 `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
5186 ("python-sphinx" ,python2-sphinx)
5187 ("python-coverage" ,python2-coverage)
5188 ("python-tornado" ,python2-tornado)
5189 ("python-urllib3" ,python2-urllib3)
5190 ("python-sure" ,python2-sure)
5191 ("python-steadymark" ,python2-steadymark)
5192 ("python-requests" ,python2-requests)
5193 ("python-rednose" ,python2-rednose)
5194 ("python-nose-randomly" ,python2-nose-randomly)
5195 ("python-misaka" ,python2-misaka)
5196 ("python-pytest-httpbin" ,python2-pytest-httpbin)
5197 ("python-nose" ,python2-nose)))
5198 (arguments
5199 `(#:tests? #f
5200 ;; Requires mock>=1.3.0 which requires a more up-to-date
5201 ;; python-pbr. After updating these trying to build the
5202 ;; package leads to failures in python-flake8 and other
5203 ;; packages. The cascade of updates and failures this
5204 ;; leads to, seems to not be worth having the test run.
5205 #:python ,python-2
5206 #:phases
5207 (modify-phases %standard-phases
5208 (add-before 'build 'patch-test-requirements
5209 (lambda* (#:key inputs #:allow-other-keys)
5210 ;; Update requirements from dependecy==version
5211 ;; to dependency>=version
5212 (substitute* "development.txt"
5213 (("==") ">="))
5214 #t)))))
5215 (home-page "http://github.com/gabrielfalcao/httpretty")
5216 (synopsis "HTTP client mock for Python")
5217 (description "@code{httpretty} is a helper for faking web requests,
5218 inspired by Ruby's @code{fakeweb}.")
5219 (license l:expat)))
5220
5221 (define-public jo
5222 (package
5223 (name "jo")
5224 (version "1.1")
5225 (source
5226 (origin
5227 (method url-fetch)
5228 (uri (string-append "https://github.com/jpmens/jo/releases/download/v"
5229 version "/jo-" version ".tar.gz"))
5230 (sha256
5231 (base32
5232 "0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3"))))
5233 (build-system gnu-build-system)
5234 (home-page "https://github.com/jpmens/jo")
5235 (synopsis "Output JSON from a shell")
5236 (description "jo is a command-line utility to create JSON objects or
5237 arrays. It creates a JSON string on stdout from words provided as
5238 command-line arguments or read from stdin.")
5239 (license (list l:gpl2+
5240 l:expat)))) ; json.c, json.h
5241
5242 (define-public python-internetarchive
5243 (package
5244 (name "python-internetarchive")
5245 (version "1.7.4")
5246 (source
5247 (origin
5248 (method url-fetch)
5249 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
5250 "v" version ".tar.gz"))
5251 (file-name (string-append name "-" version ".tar.gz"))
5252 (sha256
5253 (base32
5254 "0sdbb2ag6vmybi8zmbjszi492a587giaaqxyy1p6gy03cb8mc512"))))
5255 (build-system python-build-system)
5256 (arguments
5257 `(#:phases
5258 (modify-phases %standard-phases
5259 (delete 'check)
5260 (add-after 'install 'check
5261 (lambda* (#:key inputs outputs #:allow-other-keys)
5262 (add-installed-pythonpath inputs outputs)
5263 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
5264 ":" (getenv "PATH")))
5265 (invoke "py.test" "-v" "-k"
5266 (string-append
5267 ;; These tests attempt to make a connection to
5268 ;; an external web service.
5269 "not test_get_item_with_kwargs"
5270 " and not test_ia")))))))
5271 (propagated-inputs
5272 `(("python-requests" ,python-requests)
5273 ("python-jsonpatch" ,python-jsonpatch-0.4)
5274 ("python-docopt" ,python-docopt)
5275 ("python-clint" ,python-clint)
5276 ("python-six" ,python-six)
5277 ("python-schema" ,python-schema-0.5)
5278 ("python-backports-csv" ,python-backports-csv)))
5279 (native-inputs
5280 `(("python-pytest" ,python-pytest)
5281 ("python-pytest-capturelog" ,python-pytest-capturelog)
5282 ("python-responses" ,python-responses)))
5283 (home-page "https://github.com/jjjake/internetarchive")
5284 (synopsis "Command-line interface to archive.org")
5285 (description "@code{ia} is a command-line tool for using
5286 @url{archive.org} from the command-line. It also emplements the
5287 internetarchive python module for programatic access to archive.org.")
5288 (properties
5289 `((python2-variant . ,(delay python2-internetarchive))))
5290 (license l:agpl3+)))
5291
5292 (define-public python2-internetarchive
5293 (package-with-python2
5294 (strip-python2-variant python-internetarchive)))
5295
5296 (define-public python-clf
5297 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
5298 (package
5299 (name "python-clf")
5300 (version "0.5.7")
5301 (source
5302 (origin
5303 (method url-fetch)
5304 (uri (pypi-uri "clf" version))
5305 (sha256
5306 (base32
5307 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
5308 (build-system python-build-system)
5309 (propagated-inputs
5310 `(("python-docopt" ,python-docopt)
5311 ("python-pygments" ,python-pygments)
5312 ("python-requests" ,python-requests)
5313 ("python-nose" ,python-nose)
5314 ("python-lxml" ,python-lxml)
5315 ("python-pyaml" ,python-pyaml)))
5316 (inputs
5317 `(("test-clf"
5318 ,(origin
5319 (method url-fetch)
5320 (uri (string-append "https://raw.githubusercontent.com"
5321 "/ncrocfer/clf/" commit-test-clf
5322 "/test_clf.py"))
5323 (sha256
5324 (base32
5325 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
5326 (arguments
5327 '(#:phases
5328 (modify-phases %standard-phases
5329 (add-after 'unpack 'get-tests
5330 (lambda _
5331 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
5332 #t))
5333 (replace 'check
5334 (lambda _
5335 (invoke "nosetests"
5336 ;; These tests require an Internet connection.
5337 "--exclude=test_browse"
5338 "--exclude=test_command"
5339 "--exclude=test_search"))))))
5340 (home-page "https://github.com/ncrocfer/clf")
5341 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
5342 (description "@code{clf} is a command line tool for searching code
5343 snippets on @url{https://commandlinefu.com}.")
5344 (license l:expat))))
5345
5346 (define-public python2-clf
5347 (package-with-python2 python-clf))
5348
5349 (define-public r-shiny
5350 (package
5351 (name "r-shiny")
5352 (version "1.1.0")
5353 (source
5354 (origin
5355 (method git-fetch)
5356 (uri (git-reference
5357 (url "https://github.com/rstudio/shiny.git")
5358 (commit (string-append "v" version))))
5359 (file-name (git-file-name name version))
5360 (sha256
5361 (base32
5362 "041q2gzvzs13syfhbirmkik96asdji8dxnnbs63j7v1ks97hrvvz"))))
5363 (build-system r-build-system)
5364 (arguments
5365 `(#:modules ((guix build r-build-system)
5366 (guix build minify-build-system)
5367 (guix build utils)
5368 (ice-9 match))
5369 #:imported-modules (,@%r-build-system-modules
5370 (guix build minify-build-system))
5371 #:phases
5372 (modify-phases (@ (guix build r-build-system) %standard-phases)
5373 (add-after 'unpack 'replace-bundled-minified-JavaScript
5374 (lambda* (#:key inputs #:allow-other-keys)
5375 (let ((replace-file (lambda (old new)
5376 (format #t "replacing ~a with ~a\n" old new)
5377 (delete-file old)
5378 (symlink new old))))
5379 ;; NOTE: Files in ./inst/www/shared/datepicker/js/locales/
5380 ;; contain just data. They are not minified code, so we don't
5381 ;; replace them.
5382 (with-directory-excursion "inst/www/shared"
5383 (replace-file "bootstrap/shim/respond.min.js"
5384 (string-append (assoc-ref inputs "js-respond")
5385 "/share/javascript/respond.min.js"))
5386 (replace-file "bootstrap/shim/html5shiv.min.js"
5387 (string-append (assoc-ref inputs "js-html5shiv")
5388 "/share/javascript/html5shiv.min.js"))
5389 (replace-file "json2-min.js"
5390 (string-append (assoc-ref inputs "js-json2")
5391 "/share/javascript/json2.min.js"))
5392 (replace-file "strftime/strftime-min.js"
5393 (string-append (assoc-ref inputs "js-strftime")
5394 "/share/javascript/strftime.min.js"))
5395 (replace-file "highlight/highlight.pack.js"
5396 (string-append (assoc-ref inputs "js-highlight")
5397 "/share/javascript/highlight.min.js"))
5398 (replace-file "datatables/js/jquery.dataTables.min.js"
5399 (string-append (assoc-ref inputs "js-datatables")
5400 "/share/javascript/jquery.dataTables.min.js"))
5401 (replace-file "selectize/js/selectize.min.js"
5402 (string-append (assoc-ref inputs "js-selectize")
5403 "/share/javascript/selectize.min.js"))
5404 (replace-file "selectize/js/es5-shim.min.js"
5405 (string-append (assoc-ref inputs "js-es5-shim")
5406 "/share/javascript/es5-shim.min.js"))
5407 (for-each (match-lambda
5408 ((source . target)
5409 (delete-file target)
5410 (minify source #:target target)))
5411 '(("jqueryui/jquery-ui.js" .
5412 "jqueryui/jquery-ui.min.js")
5413 ("showdown/src/showdown.js" .
5414 "showdown/compressed/showdown.js")
5415 ("datepicker/js/bootstrap-datepicker.js" .
5416 "datepicker/js/bootstrap-datepicker.min.js")
5417 ("ionrangeslider/js/ion.rangeSlider.js" .
5418 "ionrangeslider/js/ion.rangeSlider.min.js")
5419 ("bootstrap/js/bootstrap.js" .
5420 "bootstrap/js/bootstrap.min.js")
5421 ("shiny.js" .
5422 "shiny.min.js")
5423 ("jquery.js" .
5424 "jquery.min.js")))))
5425 #t)))))
5426 (propagated-inputs
5427 `(("r-crayon" ,r-crayon)
5428 ("r-httpuv" ,r-httpuv)
5429 ("r-mime" ,r-mime)
5430 ("r-jsonlite" ,r-jsonlite)
5431 ("r-xtable" ,r-xtable)
5432 ("r-digest" ,r-digest)
5433 ("r-htmltools" ,r-htmltools)
5434 ("r-r6" ,r-r6)
5435 ("r-sourcetools" ,r-sourcetools)))
5436 (inputs
5437 `(("js-datatables" ,js-datatables)
5438 ("js-html5shiv" ,js-html5shiv)
5439 ("js-json2" ,js-json2)
5440 ("js-respond" ,js-respond)
5441 ("js-selectize" ,js-selectize)
5442 ("js-strftime" ,js-strftime)
5443 ("js-highlight" ,js-highlight)
5444 ("js-es5-shim" ,js-es5-shim)))
5445 (home-page "http://shiny.rstudio.com")
5446 (synopsis "Easy interactive web applications with R")
5447 (description
5448 "Makes it incredibly easy to build interactive web applications
5449 with R. Automatic \"reactive\" binding between inputs and outputs and
5450 extensive prebuilt widgets make it possible to build beautiful,
5451 responsive, and powerful applications with minimal effort.")
5452 (license l:artistic2.0)))
5453
5454 (define-public r-shinydashboard
5455 (package
5456 (name "r-shinydashboard")
5457 (version "0.7.0")
5458 (source (origin
5459 (method url-fetch)
5460 (uri (cran-uri "shinydashboard" version))
5461 (sha256
5462 (base32
5463 "10yqcqqcxgfqwkmscqwvvgr710im583qsqnsqkfpisjvkqp10yqb"))))
5464 (build-system r-build-system)
5465 ;; The directory inst/AdminLTE/ contains a minified JavaScript file.
5466 ;; Regenerate it from the included sources.
5467 (arguments
5468 `(#:modules ((guix build utils)
5469 (guix build r-build-system)
5470 (ice-9 popen))
5471 #:phases
5472 (modify-phases %standard-phases
5473 (add-after 'unpack 'generate-minified-javascript
5474 (lambda _
5475 (with-directory-excursion "inst/AdminLTE"
5476 (delete-file "app.min.js")
5477 (let ((minified (open-pipe* OPEN_READ "uglify-js" "app.js")))
5478 (call-with-output-file "app.min.js"
5479 (lambda (port)
5480 (dump-port minified port))))))))))
5481 (propagated-inputs
5482 `(("r-htmltools" ,r-htmltools)
5483 ("r-shiny" ,r-shiny)))
5484 (native-inputs
5485 `(("uglify-js" ,uglify-js)))
5486 (home-page "http://rstudio.github.io/shinydashboard/")
5487 (synopsis "Create dashboards with shiny")
5488 (description "This package provides an extension to the Shiny web
5489 application framework for R, making it easy to create attractive dashboards.")
5490 ;; This package includes software that was released under the Expat
5491 ;; license, but the whole package is released under GPL version 2 or
5492 ;; later.
5493 (license l:gpl2+)))
5494
5495 (define-public r-crosstalk
5496 (package
5497 (name "r-crosstalk")
5498 (version "1.0.0")
5499 (source
5500 (origin
5501 (method url-fetch)
5502 (uri (cran-uri "crosstalk" version))
5503 (sha256
5504 (base32
5505 "0lfa89vhrzi7a1rghmygcjr8gzddw35sinb3jx6g49mc9jias7mk"))))
5506 (build-system r-build-system)
5507 (propagated-inputs
5508 `(("r-ggplot2" ,r-ggplot2)
5509 ("r-htmltools" ,r-htmltools)
5510 ("r-jsonlite" ,r-jsonlite)
5511 ("r-lazyeval" ,r-lazyeval)
5512 ("r-r6" ,r-r6)
5513 ("r-shiny" ,r-shiny)))
5514 (home-page "https://rstudio.github.io/crosstalk/")
5515 (synopsis "Inter-widget interactivity for HTML widgets")
5516 (description
5517 "This package provides building blocks for allowing HTML widgets to
5518 communicate with each other, with Shiny or without (i.e. static @code{.html}
5519 files). It currently supports linked brushing and filtering.")
5520 (license l:expat)))
5521
5522 (define-public r-rook
5523 (package
5524 (name "r-rook")
5525 (version "1.1-1")
5526 (source
5527 (origin
5528 (method url-fetch)
5529 (uri (cran-uri "Rook" version))
5530 (sha256
5531 (base32
5532 "00s9a0kr9rwxvlq433daxjk4ji8m0w60hjdprf502msw9kxfrx00"))))
5533 (properties `((upstream-name . "Rook")))
5534 (build-system r-build-system)
5535 (propagated-inputs `(("r-brew" ,r-brew)))
5536 (home-page "https://cran.r-project.org/web/packages/Rook")
5537 (synopsis "Web server interface for R")
5538 (description
5539 "This package contains the Rook specification and convenience software
5540 for building and running Rook applications. A Rook application is an R
5541 reference class object that implements a @code{call} method or an R closure
5542 that takes exactly one argument, an environment, and returns a list with three
5543 named elements: the @code{status}, the @code{headers}, and the @code{body}.")
5544 (license l:gpl2)))
5545
5546 (define-public rss-bridge
5547 (package
5548 (name "rss-bridge")
5549 (version "2018-03-11")
5550 (source
5551 (origin
5552 (method url-fetch)
5553 (uri (string-append "https://github.com/RSS-Bridge/rss-bridge/archive/"
5554 version ".tar.gz"))
5555 (file-name (string-append name "-" version ".tar.gz"))
5556 (sha256
5557 (base32
5558 "1ix15ck45yb659k63mhwxwia6qnm9nn8jw0bga85abrvk1rchjdn"))))
5559 (build-system trivial-build-system)
5560 (native-inputs
5561 `(("gzip" ,gzip)
5562 ("tar" ,tar)))
5563 (arguments
5564 '(#:modules ((guix build utils))
5565 #:builder
5566 (begin
5567 (use-modules (guix build utils)
5568 (ice-9 match))
5569 (let* ((out (assoc-ref %outputs "out"))
5570 (share-rss-bridge (string-append out "/share/rss-bridge")))
5571 (set-path-environment-variable
5572 "PATH" '("bin") (map (match-lambda ((_ . input) input))
5573 %build-inputs))
5574 (mkdir-p share-rss-bridge)
5575 (invoke "tar" "xvf" (assoc-ref %build-inputs "source")
5576 "--strip-components" "1" "-C" share-rss-bridge)))))
5577 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5578 (synopsis "Generate Atom feeds for social networking websites")
5579 (description "rss-bridge generates Atom feeds for social networking
5580 websites lacking feeds. Supported websites include Facebook, Twitter,
5581 Instagram and YouTube.")
5582 (license (list l:public-domain
5583 l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php
5584
5585 (define-public linkchecker
5586 (package
5587 (name "linkchecker")
5588 (version "9.4.0")
5589 (source
5590 (origin
5591 (method git-fetch)
5592 (uri (git-reference
5593 (url "https://github.com/linkchecker/linkchecker")
5594 (commit (string-append "v" version))))
5595 (sha256
5596 (base32
5597 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
5598 (build-system python-build-system)
5599 (inputs
5600 `(("python2-dnspython" ,python2-dnspython)
5601 ("python2-pyxdg" ,python2-pyxdg)
5602 ("python2-requests" ,python2-requests)))
5603 (arguments
5604 `(#:python ,python-2))
5605 (home-page "https://linkcheck.github.io/linkchecker")
5606 (synopsis "Check websites for broken links")
5607 (description "LinkChecker is a website validator. It checks for broken
5608 links in websites. It is recursive and multithreaded providing output in
5609 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
5610 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
5611 file links.")
5612 (license (list l:gpl2+
5613 l:bsd-2 ; linkcheck/better_exchook2.py
5614 l:bsd-3 ; linkcheck/colorama.py
5615 l:psfl ; linkcheck/gzip2.py
5616 l:expat)))) ; linkcheck/mem.py
5617
5618 (define-public cadaver
5619 (package
5620 (name "cadaver")
5621 (version "0.23.3")
5622 (source
5623 (origin
5624 (method url-fetch)
5625 (uri (string-append "http://www.webdav.org/cadaver/"
5626 name "-" version ".tar.gz"))
5627 (sha256
5628 (base32
5629 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
5630 (build-system gnu-build-system)
5631 ;; TODO: Unbundle libneon and make build succeed with new neon.
5632 (arguments
5633 `(#:configure-flags (list "--with-ssl=openssl")
5634 #:tests? #f)) ;No tests included
5635 (native-inputs
5636 `(("gettext" ,gnu-gettext)
5637 ("pkg-config" ,pkg-config)
5638 ("intltool" ,intltool)))
5639 (inputs
5640 `(("expat" ,expat)
5641 ("openssl" ,openssl)))
5642 (home-page "http://www.webdav.org/cadaver")
5643 (synopsis "Command-line WebDAV client")
5644 (description
5645 "Cadaver is a command-line WebDAV client for Unix. It supports
5646 file upload, download, on-screen display, namespace operations (move/copy),
5647 collection creation and deletion, and locking operations.")
5648 (license l:gpl2)))
5649
5650 (define-public python-py-ubjson
5651 (package
5652 (name "python-py-ubjson")
5653 (version "0.10.0")
5654 (source
5655 (origin
5656 (method url-fetch)
5657 (uri (pypi-uri "py-ubjson" version))
5658 (sha256
5659 (base32
5660 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
5661 (build-system python-build-system)
5662 (home-page "https://github.com/Iotic-Labs/py-ubjson")
5663 (synopsis "Universal Binary JSON encoder/decoder")
5664 (description
5665 "Py-ubjson is a Python module providing an Universal Binary JSON
5666 encoder/decoder based on the draft-12 specification for UBJSON.")
5667 (license l:asl2.0)))
5668
5669 (define-public java-tomcat
5670 (package
5671 (name "java-tomcat")
5672 (version "8.5.28")
5673 (source (origin
5674 (method url-fetch)
5675 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
5676 version "/src/apache-tomcat-" version "-src.tar.gz"))
5677 (sha256
5678 (base32
5679 "0q2bc3sajrmcx3z3vhhwp78y47ryc2ky8ssbdmfk24zvqdb76hvl"))))
5680 (build-system ant-build-system)
5681 (inputs
5682 `(("java-eclipse-jdt-core" ,java-eclipse-jdt-core)))
5683 (native-inputs
5684 `(("java-junit" ,java-junit)))
5685 (arguments
5686 `(#:build-target "package"
5687 #:tests? #f; requires downloading some files.
5688 #:phases
5689 (modify-phases %standard-phases
5690 (add-after 'unpack 'prevent-download
5691 (lambda _
5692 ;; This directory must exist
5693 (mkdir "downloads")
5694 ;; We patch build.xml so it doesn't download any dependency, because
5695 ;; we already have all of them.
5696 (substitute* "build.xml"
5697 (("download-compile,") "")
5698 (("depends=\"validate\"") "depends=\"build-prepare\"")
5699 ((",download-validate") ""))
5700 #t))
5701 (add-after 'unpack 'generate-properties
5702 (lambda _
5703 ;; This could have been passed to make-flags, but getcwd returns
5704 ;; a different directory then.
5705 (with-output-to-file "build.properties"
5706 (lambda _
5707 (display
5708 (string-append "base.path=" (getcwd) "/downloads\n"))))
5709 #t))
5710 (replace 'install
5711 (install-jars "output/build/lib")))))
5712 (home-page "https://tomcat.apache.org")
5713 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
5714 WebSocket")
5715 (description "Apache Tomcat is a free implementation of the Java
5716 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
5717 technologies.")
5718 (license l:asl2.0)))
5719
5720 (define-public java-eclipse-jetty-test-helper
5721 (package
5722 (name "java-eclipse-jetty-test-helper")
5723 (version "4.2")
5724 (source (origin
5725 (method url-fetch)
5726 (uri (string-append "https://github.com/eclipse/jetty.toolchain/"
5727 "archive/jetty-test-helper-" version ".tar.gz"))
5728 (sha256
5729 (base32
5730 "1jd6r9wc26fa11si4rn2gvy8ml8q4zw1nr6v04mjp8wvwpgvzwx5"))))
5731 (build-system ant-build-system)
5732 (arguments
5733 `(#:jar-name "eclipse-jetty-test-helper.jar"
5734 #:source-dir "src/main/java"
5735 #:test-dir "src/test"
5736 #:jdk ,icedtea-8
5737 #:phases
5738 (modify-phases %standard-phases
5739 (add-before 'configure 'chdir
5740 (lambda _
5741 (chdir "jetty-test-helper")))
5742 (add-before 'build 'fix-paths
5743 (lambda _
5744 ;; TODO:
5745 ;; This file assumes that the build directory is named "target"
5746 ;; but it is not the case with our ant-build-system. Once we have
5747 ;; maven though, we will have to rebuild this package because this
5748 ;; assumption is correct with maven-build-system.
5749 (substitute*
5750 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
5751 (("\"target\"") "\"build\"")
5752 (("\"tests\"") "\"test-classes\""))
5753 ;; Tests assume we are building with maven, so that the build
5754 ;; directory is named "target", and not "build".
5755 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
5756 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
5757 "MavenTestingUtilsTest.java")
5758 (("target/tests") "build/test-classes")
5759 (("\"target") "\"build")))
5760 #t)))))
5761 (inputs
5762 `(("junit" ,java-junit)
5763 ("hamcrest" ,java-hamcrest-all)))
5764 (home-page "https://www.eclipse.org/jetty/")
5765 (synopsis "Helper classes for jetty tests")
5766 (description "This packages contains helper classes for testing the Jetty
5767 Web Server.")
5768 ;; This program is licensed under both epl and asl.
5769 (license (list l:epl1.0 l:asl2.0))))
5770
5771 (define-public java-eclipse-jetty-perf-helper
5772 (package
5773 (inherit java-eclipse-jetty-test-helper)
5774 (name "java-eclipse-jetty-perf-helper")
5775 (arguments
5776 `(#:jar-name "eclipse-jetty-perf-helper.jar"
5777 #:source-dir "src/main/java"
5778 #:tests? #f; no tests
5779 #:jdk ,icedtea-8
5780 #:phases
5781 (modify-phases %standard-phases
5782 (add-before 'configure 'chdir
5783 (lambda _
5784 (chdir "jetty-perf-helper")
5785 #t)))))
5786 (inputs
5787 `(("hdrhistogram" ,java-hdrhistogram)))))
5788
5789 (define-public java-eclipse-jetty-util
5790 (package
5791 (name "java-eclipse-jetty-util")
5792 (version "9.4.6")
5793 (source (origin
5794 (method url-fetch)
5795 (uri (string-append "https://github.com/eclipse/jetty.project/"
5796 "archive/jetty-" version ".v20170531.tar.gz"))
5797 (sha256
5798 (base32
5799 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
5800 (build-system ant-build-system)
5801 (arguments
5802 `(#:jar-name "eclipse-jetty-util.jar"
5803 #:source-dir "src/main/java"
5804 #:test-exclude
5805 (list "**/Abstract*.java"
5806 ;; requires network
5807 "**/InetAddressSetTest.java"
5808 ;; Assumes we are using maven
5809 "**/TypeUtilTest.java"
5810 ;; Error on the style of log
5811 "**/StdErrLogTest.java")
5812 #:jdk ,icedtea-8
5813 #:phases
5814 (modify-phases %standard-phases
5815 (add-before 'configure 'chdir
5816 (lambda _
5817 (chdir "jetty-util")
5818 #t)))))
5819 (inputs
5820 `(("slf4j" ,java-slf4j-api)
5821 ("servlet" ,java-tomcat)))
5822 (native-inputs
5823 `(("junit" ,java-junit)
5824 ("hamcrest" ,java-hamcrest-all)
5825 ("perf-helper" ,java-eclipse-jetty-perf-helper)
5826 ("test-helper" ,java-eclipse-jetty-test-helper)))
5827 (home-page "https://www.eclipse.org/jetty/")
5828 (synopsis "Utility classes for Jetty")
5829 (description "The Jetty Web Server provides an HTTP server and Servlet
5830 container capable of serving static and dynamic content either from a standalone
5831 or embedded instantiation. This package provides utility classes.")
5832 (license (list l:epl1.0 l:asl2.0))))
5833
5834 ;; This version is required by maven-wagon
5835 (define-public java-eclipse-jetty-util-9.2
5836 (package
5837 (inherit java-eclipse-jetty-util)
5838 (version "9.2.22")
5839 (source (origin
5840 (method url-fetch)
5841 (uri (string-append "https://github.com/eclipse/jetty.project/"
5842 "archive/jetty-" version ".v20170606.tar.gz"))
5843 (sha256
5844 (base32
5845 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
5846 (arguments
5847 `(#:jar-name "eclipse-jetty-util.jar"
5848 #:source-dir "src/main/java"
5849 #:jdk ,icedtea-8
5850 #:test-exclude
5851 (list "**/Abstract*.java"
5852 ;; requires network
5853 "**/InetAddressSetTest.java"
5854 ;; Assumes we are using maven
5855 "**/TypeUtilTest.java"
5856 ;; We don't have an implementation for slf4j
5857 "**/LogTest.java"
5858 ;; Error on the style of log
5859 "**/StdErrLogTest.java")
5860 #:phases
5861 (modify-phases %standard-phases
5862 (add-before 'configure 'chdir
5863 (lambda _
5864 (chdir "jetty-util")
5865 #t))
5866 (add-before 'build 'fix-test-sources
5867 (lambda _
5868 ;; We need to fix issues caused by changes in newer versions of
5869 ;; jetty-test-helper
5870 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
5871 (substitute* (string-append src "/AbstractFSResourceTest.java")
5872 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
5873 (("testdir.getFile\\(\"foo\"\\)")
5874 "testdir.getPathFile(\"foo\").toFile()")
5875 (("testdir.getFile\\(name\\)")
5876 "testdir.getPathFile(name).toFile()")))
5877 #t)))))))
5878
5879 (define-public java-eclipse-jetty-io
5880 (package
5881 (inherit java-eclipse-jetty-util)
5882 (name "java-eclipse-jetty-io")
5883 (arguments
5884 `(#:jar-name "eclipse-jetty-io.jar"
5885 #:source-dir "src/main/java"
5886 #:jdk ,icedtea-8
5887 #:test-exclude (list "**/Abstract*.java"
5888 ;; Abstract class
5889 "**/EndPointTest.java")
5890 #:phases
5891 (modify-phases %standard-phases
5892 (add-before 'configure 'chdir
5893 (lambda _
5894 (chdir "jetty-io")
5895 #t)))))
5896 (inputs
5897 `(("slf4j" ,java-slf4j-api)
5898 ("servlet" ,java-tomcat)
5899 ("util" ,java-eclipse-jetty-util)))
5900 (synopsis "Jetty :: IO Utility")
5901 (description "The Jetty Web Server provides an HTTP server and Servlet
5902 container capable of serving static and dynamic content either from a standalone
5903 or embedded instantiation. This package provides IO-related utility classes.")))
5904
5905 (define-public java-eclipse-jetty-io-9.2
5906 (package
5907 (inherit java-eclipse-jetty-io)
5908 (version (package-version java-eclipse-jetty-util-9.2))
5909 (source (package-source java-eclipse-jetty-util-9.2))
5910 (inputs
5911 `(("util" ,java-eclipse-jetty-util-9.2)
5912 ,@(package-inputs java-eclipse-jetty-util-9.2)))
5913 (native-inputs
5914 `(("mockito" ,java-mockito-1)
5915 ("cglib" ,java-cglib)
5916 ("objenesis" ,java-objenesis)
5917 ("asm" ,java-asm)
5918 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
5919
5920 (define-public java-eclipse-jetty-http
5921 (package
5922 (inherit java-eclipse-jetty-util)
5923 (name "java-eclipse-jetty-http")
5924 (arguments
5925 `(#:jar-name "eclipse-jetty-http.jar"
5926 #:source-dir "src/main/java"
5927 #:jdk ,icedtea-8
5928 #:phases
5929 (modify-phases %standard-phases
5930 (add-before 'configure 'chdir
5931 (lambda _
5932 (chdir "jetty-http")
5933 #t))
5934 (add-before 'build 'copy-resources
5935 (lambda _
5936 (mkdir-p "build/classes")
5937 (copy-recursively "src/main/resources/" "build/classes/")
5938 #t)))))
5939 (inputs
5940 `(("slf4j" ,java-slf4j-api)
5941 ("servlet" ,java-tomcat)
5942 ("io" ,java-eclipse-jetty-io)
5943 ("util" ,java-eclipse-jetty-util)))
5944 (synopsis "Jetty :: Http Utility")
5945 (description "The Jetty Web Server provides an HTTP server and Servlet
5946 container capable of serving static and dynamic content either from a standalone
5947 or embedded instantiation. This package provides HTTP-related utility classes.")))
5948
5949 (define-public java-eclipse-jetty-http-9.2
5950 (package
5951 (inherit java-eclipse-jetty-http)
5952 (version (package-version java-eclipse-jetty-util-9.2))
5953 (source (package-source java-eclipse-jetty-util-9.2))
5954 (inputs
5955 `(("util" ,java-eclipse-jetty-util-9.2)
5956 ("io" ,java-eclipse-jetty-io-9.2)
5957 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5958
5959 (define-public java-eclipse-jetty-jmx
5960 (package
5961 (inherit java-eclipse-jetty-util)
5962 (name "java-eclipse-jetty-jmx")
5963 (arguments
5964 `(#:jar-name "eclipse-jetty-jmx.jar"
5965 #:source-dir "src/main/java"
5966 #:jdk ,icedtea-8
5967 #:tests? #f; FIXME: requires com.openpojo.validation
5968 #:phases
5969 (modify-phases %standard-phases
5970 (add-before 'configure 'chdir
5971 (lambda _
5972 (chdir "jetty-jmx")
5973 #t)))))
5974 (inputs
5975 `(("slf4j" ,java-slf4j-api)
5976 ("servlet" ,java-tomcat)
5977 ("util" ,java-eclipse-jetty-util)))
5978 (synopsis "Jetty :: JMX Management")
5979 (description "The Jetty Web Server provides an HTTP server and Servlet
5980 container capable of serving static and dynamic content either from a standalone
5981 or embedded instantiation. This package provides the JMX management.")))
5982
5983 (define-public java-eclipse-jetty-jmx-9.2
5984 (package
5985 (inherit java-eclipse-jetty-jmx)
5986 (version (package-version java-eclipse-jetty-util-9.2))
5987 (source (package-source java-eclipse-jetty-util-9.2))
5988 (inputs
5989 `(("util" ,java-eclipse-jetty-util-9.2)
5990 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5991
5992 (define java-eclipse-jetty-http-test-classes
5993 (package
5994 (inherit java-eclipse-jetty-util)
5995 (name "java-eclipse-jetty-http-test-classes")
5996 (arguments
5997 `(#:jar-name "eclipse-jetty-http.jar"
5998 #:source-dir "src/test"
5999 #:tests? #f
6000 #:jdk ,icedtea-8
6001 #:phases
6002 (modify-phases %standard-phases
6003 (add-before 'configure 'chdir
6004 (lambda _
6005 (chdir "jetty-http"))))))
6006 (inputs
6007 `(("slf4j" ,java-slf4j-api)
6008 ("servlet" ,java-tomcat)
6009 ("http" ,java-eclipse-jetty-http)
6010 ("io" ,java-eclipse-jetty-io)
6011 ("util" ,java-eclipse-jetty-util)))))
6012
6013 (define java-eclipse-jetty-http-test-classes-9.2
6014 (package
6015 (inherit java-eclipse-jetty-http-test-classes)
6016 (version (package-version java-eclipse-jetty-util-9.2))
6017 (source (package-source java-eclipse-jetty-util-9.2))
6018 (inputs
6019 `(("http" ,java-eclipse-jetty-http-9.2)
6020 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6021
6022 (define-public java-eclipse-jetty-server
6023 (package
6024 (inherit java-eclipse-jetty-util)
6025 (name "java-eclipse-jetty-server")
6026 (arguments
6027 `(#:jar-name "eclipse-jetty-server.jar"
6028 #:source-dir "src/main/java"
6029 #:jdk ,icedtea-8
6030 #:tests? #f; requires a mockito version we don't have
6031 #:phases
6032 (modify-phases %standard-phases
6033 (add-before 'configure 'chdir
6034 (lambda _
6035 (chdir "jetty-server")
6036 #t))
6037 (add-before 'build 'fix-source
6038 (lambda _
6039 ;; Explicit casts to prevent build failures
6040 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6041 (("append\\(LazyList")
6042 "append((CharSequence)LazyList"))
6043 (substitute*
6044 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6045 (((string-append
6046 "Class<\\? extends EventListener> clazz = _classLoader==null"
6047 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6048 "_classLoader.loadClass\\(className\\);"))
6049 (string-append "Class<? extends EventListener> clazz = "
6050 "(Class<? extends EventListener>) "
6051 "(_classLoader==null?Loader.loadClass("
6052 "ContextHandler.class,className):"
6053 "_classLoader.loadClass(className));")))
6054 #t)))))
6055 (inputs
6056 `(("slf4j" ,java-slf4j-api)
6057 ("servlet" ,java-tomcat)
6058 ("http" ,java-eclipse-jetty-http)
6059 ("io" ,java-eclipse-jetty-io)
6060 ("jmx" ,java-eclipse-jetty-jmx)
6061 ("util" ,java-eclipse-jetty-util)))
6062 (native-inputs
6063 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6064 ,@(package-native-inputs java-eclipse-jetty-util)))
6065 (synopsis "Core jetty server artifact")
6066 (description "The Jetty Web Server provides an HTTP server and Servlet
6067 container capable of serving static and dynamic content either from a standalone
6068 or embedded instantiation. This package provides the core jetty server
6069 artifact.")))
6070
6071 (define-public java-eclipse-jetty-server-9.2
6072 (package
6073 (inherit java-eclipse-jetty-server)
6074 (version (package-version java-eclipse-jetty-util-9.2))
6075 (source (package-source java-eclipse-jetty-util-9.2))
6076 (inputs
6077 `(("util" ,java-eclipse-jetty-util-9.2)
6078 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6079 ("io" ,java-eclipse-jetty-io-9.2)
6080 ("http" ,java-eclipse-jetty-http-9.2)
6081 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6082 (native-inputs
6083 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6084 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6085
6086 (define-public java-eclipse-jetty-security
6087 (package
6088 (inherit java-eclipse-jetty-util)
6089 (name "java-eclipse-jetty-security")
6090 (arguments
6091 `(#:jar-name "eclipse-jetty-security.jar"
6092 #:source-dir "src/main/java"
6093 #:jdk ,icedtea-8
6094 #:phases
6095 (modify-phases %standard-phases
6096 (add-before 'configure 'chdir
6097 (lambda _
6098 (chdir "jetty-security")
6099 #t)))))
6100 (inputs
6101 `(("slf4j" ,java-slf4j-api)
6102 ("servlet" ,java-tomcat)
6103 ("http" ,java-eclipse-jetty-http)
6104 ("server" ,java-eclipse-jetty-server)
6105 ("util" ,java-eclipse-jetty-util)))
6106 (native-inputs
6107 `(("io" ,java-eclipse-jetty-io)
6108 ,@(package-native-inputs java-eclipse-jetty-util)))
6109 (synopsis "Jetty security infrastructure")
6110 (description "The Jetty Web Server provides an HTTP server and Servlet
6111 container capable of serving static and dynamic content either from a standalone
6112 or embedded instantiation. This package provides the core jetty security
6113 infrastructure")))
6114
6115 (define-public java-eclipse-jetty-security-9.2
6116 (package
6117 (inherit java-eclipse-jetty-security)
6118 (version (package-version java-eclipse-jetty-util-9.2))
6119 (source (package-source java-eclipse-jetty-util-9.2))
6120 (arguments
6121 `(#:test-exclude
6122 ;; This test fails.
6123 (list "**/ConstraintTest.*")
6124 ,@(package-arguments java-eclipse-jetty-security)))
6125 (inputs
6126 `(("util" ,java-eclipse-jetty-util-9.2)
6127 ("http" ,java-eclipse-jetty-http-9.2)
6128 ("server" ,java-eclipse-jetty-server-9.2)
6129 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6130 (native-inputs
6131 `(("io" ,java-eclipse-jetty-io-9.2)
6132 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6133
6134 (define-public java-eclipse-jetty-servlet
6135 (package
6136 (inherit java-eclipse-jetty-util)
6137 (name "java-eclipse-jetty-servlet")
6138 (arguments
6139 `(#:jar-name "eclipse-jetty-servlet.jar"
6140 #:source-dir "src/main/java"
6141 #:jdk ,icedtea-8
6142 #:phases
6143 (modify-phases %standard-phases
6144 (add-before 'configure 'chdir
6145 (lambda _
6146 (chdir "jetty-servlet")
6147 #t)))))
6148 (inputs
6149 `(("slf4j" ,java-slf4j-api)
6150 ("servlet" ,java-tomcat)
6151 ("http" ,java-eclipse-jetty-http)
6152 ("http-test" ,java-eclipse-jetty-http-test-classes)
6153 ("io" ,java-eclipse-jetty-io)
6154 ("jmx" ,java-eclipse-jetty-jmx)
6155 ("security" ,java-eclipse-jetty-security)
6156 ("server" ,java-eclipse-jetty-server)
6157 ("util" ,java-eclipse-jetty-util)))
6158 (synopsis "Jetty Servlet Container")
6159 (description "The Jetty Web Server provides an HTTP server and Servlet
6160 container capable of serving static and dynamic content either from a standalone
6161 or embedded instantiation. This package provides the core jetty servlet
6162 container.")))
6163
6164 (define-public java-eclipse-jetty-servlet-9.2
6165 (package
6166 (inherit java-eclipse-jetty-servlet)
6167 (version (package-version java-eclipse-jetty-util-9.2))
6168 (source (package-source java-eclipse-jetty-util-9.2))
6169 (arguments
6170 `(#:jar-name "eclipse-jetty-servlet.jar"
6171 #:source-dir "src/main/java"
6172 #:jdk ,icedtea-8
6173 #:tests? #f; doesn't work
6174 #:phases
6175 (modify-phases %standard-phases
6176 (add-before 'configure 'chdir
6177 (lambda _
6178 (chdir "jetty-servlet")
6179 #t)))))
6180 (inputs
6181 `(("util" ,java-eclipse-jetty-util-9.2)
6182 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6183 ("io" ,java-eclipse-jetty-io-9.2)
6184 ("http" ,java-eclipse-jetty-http-9.2)
6185 ("security" ,java-eclipse-jetty-security-9.2)
6186 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
6187 ("server" ,java-eclipse-jetty-server-9.2)
6188 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6189
6190 (define-public java-eclipse-jetty-xml
6191 (package
6192 (inherit java-eclipse-jetty-util)
6193 (name "java-eclipse-jetty-xml")
6194 (arguments
6195 `(#:jar-name "eclipse-jetty-xml.jar"
6196 #:source-dir "src/main/java"
6197 #:jdk ,icedtea-8
6198 #:tests? #f; most tests require network
6199 #:phases
6200 (modify-phases %standard-phases
6201 (add-before 'configure 'chdir
6202 (lambda _
6203 (chdir "jetty-xml")
6204 #t)))))
6205 (inputs
6206 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
6207 (native-inputs
6208 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6209 ,@(package-native-inputs java-eclipse-jetty-util)))))
6210
6211 (define-public java-jsoup
6212 (package
6213 (name "java-jsoup")
6214 (version "1.10.3")
6215 (source (origin
6216 (method url-fetch)
6217 (uri (string-append "https://github.com/jhy/jsoup/archive/jsoup-"
6218 version ".tar.gz"))
6219 (sha256
6220 (base32
6221 "0xbzw7rjv7s4nz1xk9b2cnin6zkpaldmc3svk71waa7hhjgp0a20"))))
6222 (build-system ant-build-system)
6223 (arguments
6224 `(#:jar-name "jsoup.jar"
6225 #:source-dir "src/main/java"
6226 #:phases
6227 (modify-phases %standard-phases
6228 (add-before 'build 'copy-resources
6229 (lambda _
6230 (let ((classes-dir (string-append (getcwd) "/build/classes")))
6231 (with-directory-excursion "src/main/java"
6232 (for-each (lambda (file)
6233 (let ((dist (string-append classes-dir "/" file)))
6234 (mkdir-p (dirname dist))
6235 (copy-file file dist)))
6236 (find-files "." ".*.properties"))))
6237 #t)))))
6238 (native-inputs
6239 `(("java-junit" ,java-junit)
6240 ("java-hamcrest-core" ,java-hamcrest-core)
6241 ("java-gson" ,java-gson)))
6242 (home-page "https://jsoup.org")
6243 (synopsis "HTML parser")
6244 (description "Jsoup is a Java library for working with real-world HTML. It
6245 provides a very convenient API for extracting and manipulating data, using the
6246 best of DOM, CSS, and jQuery-like methods.")
6247 (license l:expat)))
6248
6249 (define-public tidyp
6250 (package
6251 (name "tidyp")
6252 (version "1.04")
6253 (source
6254 (origin
6255 (method url-fetch)
6256 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
6257 version ".tar.gz"))
6258 (sha256
6259 (base32
6260 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
6261 (build-system gnu-build-system)
6262 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
6263 (arguments `(#:tests? #f))
6264 (home-page "http://www.tidyp.com/")
6265 (synopsis "Validate HTML")
6266 (description "Tidyp is a program that can validate your HTML, as well as
6267 modify it to be more clean and standard. tidyp does not validate HTML 5.
6268
6269 libtidyp is the library on which the program is based. It can be used by any
6270 other program that can interface to it. The Perl module @code{HTML::Tidy} is
6271 based on this library, allowing Perl programmers to easily validate HTML.")
6272 ;; See htmldoc/license.html
6273 (license l:bsd-3)))
6274
6275 (define-public perl-html-tidy
6276 (package
6277 (name "perl-html-tidy")
6278 (version "1.60")
6279 (source
6280 (origin
6281 (method url-fetch)
6282 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
6283 version ".tar.gz"))
6284 (sha256
6285 (base32
6286 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
6287 (build-system perl-build-system)
6288 (arguments
6289 '(#:phases
6290 (modify-phases %standard-phases
6291 (add-after 'unpack 'fix-tidyp-paths
6292 (lambda* (#:key inputs #:allow-other-keys)
6293 (substitute* "Makefile.PL"
6294 (("^my \\$inc = \"" line)
6295 (string-append line
6296 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
6297 (("-L/usr/lib")
6298 (string-append
6299 "-L" (assoc-ref inputs "tidyp") "/lib")))
6300 #t)))))
6301 (inputs
6302 `(("perl-libwww" ,perl-libwww)
6303 ("tidyp" ,tidyp)))
6304 (native-inputs
6305 `(("perl-test-exception" ,perl-test-exception)))
6306 (home-page "http://search.cpan.org/dist/HTML-Tidy/")
6307 (synopsis "(X)HTML validation in a Perl object")
6308 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
6309 object. It's meant as a replacement for @code{HTML::Lint}, which is written
6310 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
6311 (license l:artistic2.0)))
6312
6313 (define-public geomyidae
6314 (package
6315 (name "geomyidae")
6316 (version "0.31")
6317 (source
6318 (origin
6319 (method url-fetch)
6320 (uri (string-append "http://git.r-36.net/geomyidae/snapshot/"
6321 "geomyidae-" version ".tar.bz2"))
6322 (sha256
6323 (base32
6324 "1ih7220c6mgq4r7blm4kx3pxbl53sph58lqgwci6cmi3c0sq5c3x"))))
6325 (build-system gnu-build-system)
6326 (arguments
6327 `(#:make-flags (list "CC=gcc"
6328 (string-append "PREFIX="
6329 (assoc-ref %outputs "out")))
6330 #:tests? #f ;no tests
6331 #:phases (modify-phases %standard-phases
6332 (delete 'configure))))
6333 (home-page "http://git.r-36.net/geomyidae")
6334 (synopsis "Small Gopher server")
6335 (description
6336 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
6337 features include:
6338
6339 @enumerate
6340 @item Gopher menus (see @file{index.gph} for an example);
6341 @item directory listings (if no @file{index.gph} was found);
6342 @item CGI support (@file{.cgi} files are executed);
6343 @item search support in CGI files;
6344 @item logging with multiple log levels.
6345 @end enumerate\n")
6346 (license l:expat)))
6347
6348 (define-public cat-avatar-generator
6349 (package
6350 (name "cat-avatar-generator")
6351 (version "1")
6352 (source (origin
6353 (method git-fetch)
6354 (uri (git-reference
6355 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
6356 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
6357 (file-name (string-append name "-" version))
6358 (sha256
6359 (base32
6360 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
6361 (build-system trivial-build-system)
6362 (arguments
6363 `(#:modules ((guix build utils)
6364 (srfi srfi-1)
6365 (srfi srfi-26))
6366 #:builder
6367 (begin
6368 (use-modules (guix build utils)
6369 (srfi srfi-1)
6370 (srfi srfi-26))
6371 (let ((source (assoc-ref %build-inputs "source"))
6372 (php-dir (string-append %output "/share/web/" ,name "/")))
6373 ;; The cache directory must not be in the store, but in a writable
6374 ;; location. The webserver will give us this location.
6375 (copy-recursively source php-dir)
6376 (substitute* (string-append php-dir "/cat-avatar-generator.php")
6377 (("\\$cachepath = .*")
6378 "if(isset($_SERVER['CACHE_DIR']))
6379 $cachepath = $_SERVER['CACHE_DIR'];
6380 else
6381 die('You need to set the CACHE_DIR variable first.');"))
6382 #t))))
6383 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
6384 (synopsis "Random avatar generator")
6385 (description "Cat avatar generator is a generator of cat pictures optimised
6386 to generate random avatars, or defined avatar from a \"seed\". This is a
6387 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
6388 ;; expat for the code, CC-BY 4.0 for the artwork
6389 (license (list l:expat
6390 l:cc-by4.0))))
6391
6392 (define-public nghttp2
6393 (package
6394 (name "nghttp2")
6395 (version "1.31.1")
6396 (source
6397 (origin
6398 (method url-fetch)
6399 (uri (string-append "https://github.com/nghttp2/nghttp2/"
6400 "releases/download/v" version "/"
6401 name "-" version ".tar.xz"))
6402 (sha256
6403 (base32
6404 "00z1687m4wi2gbgkijbv099l9hs1sjlyzbhh8jhn0xssx4xcifb5"))))
6405 (build-system gnu-build-system)
6406 (outputs (list "out"
6407 "lib")) ; only libnghttp2
6408 (native-inputs
6409 `(("pkg-config" ,pkg-config)
6410
6411 ;; Required by tests.
6412 ("cunit" ,cunit)
6413 ("tzdata" ,tzdata-for-tests)))
6414 (inputs
6415 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
6416 `(("c-ares" ,c-ares)
6417 ("jansson" ,jansson) ; for HPACK tools
6418 ("jemalloc" ,jemalloc) ; fight nghttpd{,x} heap fragmentation
6419 ("libev" ,libev)
6420 ("libxml2" ,libxml2) ; for ‘nghttp -a’
6421 ("openssl" ,openssl)))
6422 (arguments
6423 `(#:configure-flags
6424 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
6425 "--enable-app" ; build all the tools
6426 "--enable-hpack-tools" ; ...all the tools
6427 "--disable-examples"
6428 "--disable-static") ; don't bother building .a files
6429 #:phases
6430 (modify-phases %standard-phases
6431 (add-after 'unpack 'break-circular-reference
6432 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
6433 ;; which is not allowed. Break this cycle. While we could install
6434 ;; only the library to ‘out’ and move everything else to a separate
6435 ;; output, this would inconvenience the majority of (human) users.
6436 (lambda* (#:key outputs #:allow-other-keys)
6437 (substitute* "lib/libnghttp2.pc.in"
6438 (("@prefix@")
6439 (assoc-ref outputs "lib")))
6440 #t))
6441 (add-before 'check 'set-timezone-directory
6442 (lambda* (#:key inputs #:allow-other-keys)
6443 (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
6444 "/share/zoneinfo"))
6445 #t)))))
6446 (home-page "https://nghttp2.org/")
6447 (synopsis "HTTP/2 protocol client, proxy, server, and library")
6448 (description
6449 "nghttp2 implements the Hypertext Transfer Protocol, version
6450 2 (@dfn{HTTP/2}).
6451
6452 A reusable C library provides the HTTP/2 framing layer, with several tools built
6453 on top of it:
6454
6455 @itemize
6456 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
6457 and low-level aspects of the protocol and is useful for debugging.
6458 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
6459 serves files from a local directory.
6460 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
6461 deployed in front of existing web servers that don't support HTTP/2.
6462 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
6463 backwards compatibilty with clients that don't speak HTTP/2.
6464 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
6465 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
6466 nghttp2 provides a HPACK encoder and decoder as part of its public API.
6467 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
6468 compressed JSON header blocks.
6469 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
6470 @end itemize\n")
6471 (license l:expat)))
6472
6473 (define-public hpcguix-web
6474 (let ((commit "87cb51611c0f1fd3863b830614ab1364599cf1ca"))
6475 (package
6476 (name "hpcguix-web")
6477 (version (git-version "0.0.1" "1" commit))
6478 (source (origin
6479 (method git-fetch)
6480 (uri (git-reference
6481 (url "https://github.com/UMCUGenetics/hpcguix-web.git")
6482 (commit commit)))
6483 (file-name (git-file-name name version))
6484 (sha256
6485 (base32
6486 "0p66fl8r3v73v13fqg9rbqbzbdzvyznchxbq2s1jwq6qfsn2w3gr"))))
6487 (build-system gnu-build-system)
6488 (arguments
6489 `(#:modules ((guix build gnu-build-system)
6490 (guix build utils)
6491 (srfi srfi-26)
6492 (ice-9 popen)
6493 (ice-9 rdelim))
6494
6495 #:phases
6496 (modify-phases %standard-phases
6497 (add-before 'configure 'autoconf
6498 (lambda _
6499 (setenv "GUILE_AUTO_COMPILE" "0")
6500 (setenv "XDG_CACHE_HOME" (getcwd))
6501 (invoke "autoreconf" "-vif")))
6502 (add-after 'install 'wrap-program
6503 (lambda* (#:key inputs outputs #:allow-other-keys)
6504 (let* ((out (assoc-ref outputs "out"))
6505 (guix (assoc-ref inputs "guix"))
6506 (guile (assoc-ref inputs "guile"))
6507 (json (assoc-ref inputs "guile-json"))
6508 (guile-cm (assoc-ref inputs
6509 "guile-commonmark"))
6510 (deps (list guile guile-cm guix json))
6511 (effective
6512 (read-line
6513 (open-pipe* OPEN_READ
6514 (string-append guile "/bin/guile")
6515 "-c" "(display (effective-version))")))
6516 (path (string-join
6517 (map (cut string-append <>
6518 "/share/guile/site/"
6519 effective)
6520 deps)
6521 ":"))
6522 (gopath (string-join
6523 (map (cut string-append <>
6524 "/lib/guile/" effective
6525 "/site-ccache")
6526 deps)
6527 ":")))
6528 (wrap-program (string-append out "/bin/run")
6529 `("GUILE_LOAD_PATH" ":" prefix (,path))
6530 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
6531
6532 #t))))))
6533 (native-inputs
6534 `(("autoconf" ,autoconf)
6535 ("automake" ,automake)
6536 ("uglify-js" ,uglify-js)
6537 ("pkg-config" ,pkg-config)))
6538 (inputs
6539 `(("guix" ,guix)))
6540 (propagated-inputs
6541 `(("guile" ,guile-2.2)
6542 ("guile-commonmark" ,guile-commonmark)
6543 ("guile-json" ,guile-json)))
6544 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
6545 (synopsis "Web interface for cluster deployments of Guix")
6546 (description "Hpcguix-web provides a web interface to the list of packages
6547 provided by Guix. The list of packages is searchable and provides
6548 instructions on how to use Guix in a shared HPC environment.")
6549 (license l:agpl3+))))