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, 2019 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 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, 2018, 2019 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, 2018, 2019 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 ng0 <ng0@n0.is>
18 ;;; Copyright © 2016, 2017, 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 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, 2018 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 © 2017, 2019, 2020 Christopher Baines <mail@cbaines.net>
28 ;;; Copyright © 2018, 2019 Julien Lepiller <julien@lepiller.eu>
29 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
30 ;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
31 ;;; Copyright © 2018 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
32 ;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
33 ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
34 ;;; Copyright © 2019 Brendan Tildesley <mail@brendan.scot>
35 ;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
36 ;;; Copyright © 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
37 ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>
38 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
39 ;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com>
40 ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de>
42 ;;; This file is part of GNU Guix.
44 ;;; GNU Guix is free software; you can redistribute it and/or modify it
45 ;;; under the terms of the GNU General Public License as published by
46 ;;; the Free Software Foundation; either version 3 of the License, or (at
47 ;;; your option) any later version.
49 ;;; GNU Guix is distributed in the hope that it will be useful, but
50 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
51 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
52 ;;; GNU General Public License for more details.
54 ;;; You should have received a copy of the GNU General Public License
55 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
57 (define-module (gnu packages web)
58 #:use-module (ice-9 match)
59 #:use-module ((guix licenses) #:prefix license:)
60 #:use-module (guix packages)
61 #:use-module (guix download)
62 #:use-module (guix gexp)
63 #:use-module (guix git-download)
64 #:use-module (guix cvs-download)
65 #:use-module (guix hg-download)
66 #:use-module (guix utils)
67 #:use-module (guix build-system gnu)
68 #:use-module (guix build-system glib-or-gtk)
69 #:use-module (guix build-system perl)
70 #:use-module (guix build-system cmake)
71 #:use-module (guix build-system trivial)
72 #:use-module (guix build-system python)
73 #:use-module (guix build-system ant)
74 #:use-module (guix build-system scons)
75 #:use-module (guix build-system go)
76 #:use-module (gnu packages)
77 #:use-module (gnu packages admin)
78 #:use-module (gnu packages adns)
79 #:use-module (gnu packages apr)
80 #:use-module (gnu packages boost)
81 #:use-module (gnu packages check)
82 #:use-module (gnu packages documentation)
83 #:use-module (gnu packages docbook)
84 #:use-module (gnu packages emacs)
85 #:use-module (gnu packages emacs-xyz)
86 #:use-module (gnu packages autotools)
87 #:use-module (gnu packages compression)
88 #:use-module (gnu packages curl)
89 #:use-module (gnu packages cyrus-sasl)
90 #:use-module (gnu packages databases)
91 #:use-module (gnu packages bison)
92 #:use-module (gnu packages flex)
93 #:use-module (gnu packages freedesktop)
94 #:use-module (gnu packages kerberos)
95 #:use-module (gnu packages gcc)
96 #:use-module (gnu packages gd)
97 #:use-module (gnu packages gettext)
98 #:use-module (gnu packages glib)
99 #:use-module (gnu packages gnome)
100 #:use-module (gnu packages gnu-doc)
101 #:use-module (gnu packages gnupg)
102 #:use-module (gnu packages golang)
103 #:use-module (gnu packages gperf)
104 #:use-module (gnu packages gtk)
105 #:use-module (gnu packages guile)
106 #:use-module (gnu packages guile-xyz)
107 #:use-module (gnu packages java)
108 #:use-module (gnu packages jemalloc)
109 #:use-module (gnu packages image)
110 #:use-module (gnu packages imagemagick)
111 #:use-module (gnu packages libevent)
112 #:use-module (gnu packages libidn)
113 #:use-module (gnu packages libunistring)
114 #:use-module (gnu packages linux)
115 #:use-module (gnu packages lisp-xyz)
116 #:use-module (gnu packages lua)
117 #:use-module (gnu packages markup)
118 #:use-module (gnu packages ncurses)
119 #:use-module (gnu packages nss)
120 #:use-module (gnu packages openstack)
121 #:use-module (gnu packages base)
122 #:use-module (gnu packages package-management)
123 #:use-module (gnu packages perl)
124 #:use-module (gnu packages perl-check)
125 #:use-module (gnu packages python)
126 #:use-module (gnu packages python-web)
127 #:use-module (gnu packages python-xyz)
128 #:use-module (gnu packages pcre)
129 #:use-module (gnu packages pkg-config)
130 #:use-module (gnu packages qt)
131 #:use-module (gnu packages readline)
132 #:use-module (gnu packages re2c)
133 #:use-module (gnu packages sphinx)
134 #:use-module (gnu packages texinfo)
135 #:use-module (gnu packages textutils)
136 #:use-module (gnu packages tls)
137 #:use-module (gnu packages valgrind)
138 #:use-module (gnu packages version-control)
139 #:use-module (gnu packages vim)
140 #:use-module (gnu packages xml)
141 #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
149 (uri (string-append "mirror://apache/httpd/httpd-"
153 "0h7a31yxwyh7h521frnmlppl0h7sh9icc3ka6vlmlcg5iwllhg8k"))))
154 (build-system gnu-build-system)
155 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
156 (inputs `(("apr" ,apr)
157 ("apr-util" ,apr-util)
159 ("perl" ,perl))) ; needed to run bin/apxs
161 `(#:test-target "test"
162 #:configure-flags (list "--enable-rewrite"
164 "--enable-vhost-alias"
166 "--enable-mime-magic"
167 (string-append "--sysconfdir="
168 (assoc-ref %outputs "out")
170 (synopsis "Featureful HTTP server")
172 "The Apache HTTP Server Project is a collaborative software development
173 effort aimed at creating a robust, commercial-grade, featureful, and
174 freely-available source code implementation of an HTTP (Web) server. The
175 project is jointly managed by a group of volunteers located around the world,
176 using the Internet and the Web to communicate, plan, and develop the server
177 and its related documentation.")
178 (license license:asl2.0)
179 (home-page "https://httpd.apache.org/")))
181 (define-public mod-wsgi
188 (url "https://github.com/GrahamDumpleton/mod_wsgi.git")
190 (file-name (git-file-name name version))
193 "1q90xw2cbhka5gcd6yc69iir73x4gm7fm75qpkins2ryfl6w1q3f"))))
194 (build-system gnu-build-system)
196 '(#:tests? #f ; TODO: can't figure out if there are tests
198 (string-append "DESTDIR="
199 (assoc-ref %outputs "out"))
200 "LIBEXECDIR=/modules")))
203 ("python" ,python-wrapper)))
204 (synopsis "Apache HTTPD module for Python WSGI applications")
206 "The mod_wsgi module for the Apache HTTPD Server adds support for running
207 applications that support the Python @acronym{WSGI, Web Server Gateway
208 Interface} specification.")
209 (license license:asl2.0)
210 (home-page "https://modwsgi.readthedocs.io/")))
215 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
216 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
217 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
218 ;; Consider updating the nginx-documentation package together with this one.
222 (uri (string-append "https://nginx.org/download/nginx-"
226 "1zwiqljhzf0ym6r3hrg6k2qfb2mxi7i0lpafg4xnkr875225c9xn"))))
227 (build-system gnu-build-system)
228 (inputs `(("openssl" ,openssl)
232 `(#:tests? #f ; no test target
234 (modify-phases %standard-phases
235 (add-before 'configure 'patch-/bin/sh
237 (substitute* "auto/feature"
238 (("/bin/sh") (which "sh")))
241 ;; The configure script is hand-written, not from GNU autotools.
242 (lambda* (#:key outputs #:allow-other-keys)
244 (list (string-append "--prefix=" (assoc-ref outputs "out"))
245 "--with-http_ssl_module"
246 "--with-http_v2_module"
249 ;; Even when not cross-building, we pass the
250 ;; --crossbuild option to avoid customizing for the
251 ;; kernel version on the build machine.
252 ,(let ((system "Linux") ; uname -s
253 (release "3.2.0") ; uname -r
255 (machine (match (or (%current-target-system)
257 ("x86_64-linux" "x86_64")
258 ("i686-linux" "i686")
259 ("mips64el-linux" "mips64")
260 ;; Prevent errors when querying
261 ;; this package on unsupported
262 ;; platforms, e.g. when running
263 ;; "guix package --search="
265 (string-append "--crossbuild="
266 system ":" release ":" machine)))))
268 (format #t "environment variable `CC' set to `gcc'~%")
269 (format #t "configure flags: ~s~%" flags)
270 (apply invoke "./configure" flags)
272 (add-after 'install 'install-man-page
273 (lambda* (#:key outputs #:allow-other-keys)
274 (let* ((out (assoc-ref outputs "out"))
275 (man (string-append out "/share/man")))
276 (install-file "objs/nginx.8" (string-append man "/man8"))
278 (add-after 'install 'fix-root-dirs
279 (lambda* (#:key outputs #:allow-other-keys)
280 ;; 'make install' puts things in strange places, so we need to
281 ;; clean it up ourselves.
282 (let* ((out (assoc-ref outputs "out"))
283 (share (string-append out "/share/nginx")))
284 ;; This directory is empty, so get rid of it.
285 (rmdir (string-append out "/logs"))
286 ;; Example configuration and HTML files belong in
289 (rename-file (string-append out "/conf")
290 (string-append share "/conf"))
291 (rename-file (string-append out "/html")
292 (string-append share "/html"))
294 (home-page "https://nginx.org")
295 (synopsis "HTTP and reverse proxy server")
297 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
298 created by Igor Sysoev. It can be used both as a stand-alone web server
299 and as a proxy to reduce the load on back-end HTTP or mail servers.")
300 ;; Almost all of nginx is distributed under the bsd-2 license.
301 ;; The exceptions are:
302 ;; * The 'nginx-http-push' module is covered by the expat license.
303 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
304 ;; except for two source files which are bsd-4 licensed.
305 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
307 (define nginx-xslscript
309 (changeset "01dc9ba12e1b"))
311 (name "nginx-xslscript")
313 (simple-format #f "2014-03-31-~A-~A" revision changeset))
317 (url "http://hg.nginx.org/xslscript")
318 (changeset changeset)))
319 (file-name (string-append name "-" version))
322 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
323 (build-system gnu-build-system)
325 '(#:tests? #f ; No test suite
327 (modify-phases %standard-phases
331 (lambda* (#:key outputs #:allow-other-keys)
332 (let ((out-bin (string-append
333 (assoc-ref outputs "out")
336 (copy-file "xslscript.pl"
341 (home-page "http://hg.nginx.org/xslscript")
342 (synopsis "XSLScript with NGinx specific modifications")
344 "XSLScript is a terse notation for writing complex XSLT stylesheets.
345 This is modified version, specifically intended for use with the NGinx
347 (license license:bsd-2))))
349 (define-public nginx-documentation
350 ;; This documentation should be relevant for nginx@1.15.9.
351 (let ((revision 2345)
352 (changeset "7ef11708457e"))
354 (name "nginx-documentation")
356 (simple-format #f "2019-03-01-~A-~A" revision changeset))
358 (origin (method hg-fetch)
360 (url "http://hg.nginx.org/nginx.org")
361 (changeset changeset)))
362 (file-name (string-append name "-" version))
365 "15975jvh53mnsgi4hhgrwdwy3by23v4kxnhy2vnkziq8v7wkmy4y"))))
366 (build-system gnu-build-system)
368 '(#:tests? #f ; no test suite
370 (modify-phases %standard-phases
371 (delete 'configure) ; no configure script
373 (lambda* (#:key outputs #:allow-other-keys)
374 (let ((output (assoc-ref outputs "out")))
375 (substitute* "umasked.sh"
376 ((" /bin/sh") (string-append " " (which "sh"))))
377 ;; The documentation includes a banner, which makes sense on
378 ;; the NGinx website, but doesn't make much sense when
379 ;; viewing locally. Therefore, modify the CSS to remove the
381 (substitute* "xslt/style.xslt"
382 (("#banner \\{ background: black;")
383 "#banner { display: none;"))
387 (lambda* (#:key outputs #:allow-other-keys)
388 (let ((output (assoc-ref outputs "out")))
390 (copy-recursively "libxslt" output)
393 `(("libxml2" ,libxml2)
395 ("nginx-xslscript" ,nginx-xslscript)))
396 (home-page "https://nginx.org")
397 (synopsis "Documentation for the nginx web server")
399 "This package provides HTML documentation for the nginx web server.")
400 (license license:bsd-2))))
402 (define-public nginx-accept-language-module
403 ;; Upstream has never made a release; use current commit instead.
404 (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
407 (name "nginx-accept-language-module")
408 (version (git-version "0.0.0" ;upstream has no version number
414 (url "https://github.com/giom/nginx_accept_language_module.git")
416 (file-name (git-file-name name version))
418 (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
419 (build-system gnu-build-system)
420 (inputs `(("openssl" ,openssl)
422 ("nginx-sources" ,(package-source nginx))
425 `(#:tests? #f ; no test target
426 #:make-flags (list "modules")
427 #:modules ((guix build utils)
428 (guix build gnu-build-system)
431 (ice-9 textual-ports))
433 (modify-phases %standard-phases
434 (add-after 'unpack 'unpack-nginx-sources
435 (lambda* (#:key inputs native-inputs #:allow-other-keys)
437 ;; The nginx source code is part of the module’s source.
438 (format #t "decompressing nginx source code~%")
439 (call-with-output-file "nginx.tar"
441 (let* ((gzip (assoc-ref inputs "gzip"))
442 (nginx-srcs (assoc-ref inputs "nginx-sources"))
443 (pipe (open-pipe* OPEN_READ
444 (string-append gzip "/bin/gzip")
448 (unless (= (status:exit-val (close-pipe pipe)) 0)
449 (error "gzip decompress failed")))))
450 (invoke (string-append (assoc-ref inputs "tar") "/bin/tar")
451 "xvf" "nginx.tar" "--strip-components=1")
452 (delete-file "nginx.tar")
454 (add-after 'unpack 'convert-to-dynamic-module
457 (with-atomic-file-replacement "config"
459 ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
460 (format out "ngx_module_type=HTTP~%")
461 (format out "ngx_module_name=\
462 ngx_http_accept_language_module~%")
463 (let* ((str (get-string-all in))
465 "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
466 (m (regexp-exec rx str))
467 (srcs (match:substring m 1)))
468 (format out (string-append "ngx_module_srcs=\""
470 (format out ". auto/module~%")
471 (format out "ngx_addon_name=$ngx_module_name~%"))))))
472 (add-before 'configure 'patch-/bin/sh
474 (substitute* "auto/feature"
475 (("/bin/sh") (which "sh")))
478 ;; This phase is largely copied from the nginx package.
479 (lambda* (#:key outputs #:allow-other-keys)
481 (list ;; A copy of nginx’ flags follows, otherwise we
482 ;; get a binary compatibility error. FIXME: Code
483 ;; duplication is bad.
484 (string-append "--prefix=" (assoc-ref outputs "out"))
485 "--with-http_ssl_module"
486 "--with-http_v2_module"
489 ;; Even when not cross-building, we pass the
490 ;; --crossbuild option to avoid customizing for the
491 ;; kernel version on the build machine.
492 ,(let ((system "Linux") ; uname -s
493 (release "3.2.0") ; uname -r
495 (machine (match (or (%current-target-system)
497 ("x86_64-linux" "x86_64")
498 ("i686-linux" "i686")
499 ("mips64el-linux" "mips64")
500 ;; Prevent errors when querying
501 ;; this package on unsupported
502 ;; platforms, e.g. when running
503 ;; "guix package --search="
505 (string-append "--crossbuild="
506 system ":" release ":" machine))
507 ;; The following are the args decribed on
508 ;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
509 ;; Enabling --with-compat here and in the nginx package
510 ;; would ensure binary compatibility even when using
511 ;; different configure options from the main nginx
512 ;; package. This is not needed for Guix.
514 "--add-dynamic-module=.")))
516 (format #t "environment variable `CC' set to `gcc'~%")
517 (format #t "configure flags: ~s~%" flags)
518 (apply invoke "./configure" flags)
521 (lambda* (#:key outputs #:allow-other-keys)
522 (let* ((out (assoc-ref outputs "out"))
523 (modules-dir (string-append out "/etc/nginx/modules"))
524 (doc-dir (string-append
525 out "/share/doc/nginx-accept-language-module")))
526 (mkdir-p modules-dir)
527 (copy-file "objs/ngx_http_accept_language_module.so"
529 modules-dir "/ngx_http_accept_language_module.so"))
531 (copy-file "README.textile"
532 (string-append doc-dir "/README.textile"))
535 "https://www.nginx.com/resources/wiki/modules/accept_language/")
536 (synopsis "Nginx module for parsing the Accept-Language HTTP header")
538 "This nginx module parses the Accept-Language field in HTTP headers and
539 chooses the most suitable locale for the user from the list of locales
540 supported at your website.")
541 (license (delete-duplicates
542 (cons license:bsd-2 ;license of nginx-accept-language-module
543 ;; The module’s code is linked statically with nginx,
544 ;; therefore nginx’ other licenses may also apply to its
546 (package-license nginx)))))))
555 ;; Upstream has disappeared.
557 (url "https://github.com/FastCGI-Archives/fcgi2")
559 (file-name (git-file-name name version))
561 (base32 "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"))))
562 (build-system gnu-build-system)
563 ;; Parallel building is not supported.
564 (arguments `(#:parallel-build? #f))
566 `(("autoconf" ,autoconf)
567 ("automake" ,automake)
568 ("libtool" ,libtool)))
569 ;; This is an archived fork of the original home page, www.fastcgi.com.
570 (home-page "https://fastcgi-archives.github.io/")
571 (synopsis "Language-independent, high-performant extension to CGI")
572 (description "FastCGI is a language-independent, scalable extension to CGI
573 that provides high performance without the limitations of server specific
575 ;; This package is released under the Open Market License, a variant of
576 ;; the Expat license, incompatible with the GPL.
577 (license (license:non-copyleft "file://LICENSE.TERMS"))))
579 (define-public fcgiwrap
587 (url "https://github.com/gnosek/fcgiwrap.git")
589 (file-name (git-file-name name version))
591 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
592 (build-system gnu-build-system)
594 `(#:tests? #f ; no tests included
595 #:make-flags (list "CC=gcc")
597 (modify-phases %standard-phases
598 (add-after 'unpack 'fix-CFLAGS
599 ;; Remove broken options unconditionally added to CFLAGS.
601 (substitute* "configure.ac"
605 `(("autoconf" ,autoconf)
606 ("automake" ,automake)
607 ("pkg-config" ,pkg-config)))
610 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
611 (synopsis "Simple server for running CGI applications over FastCGI")
612 (description "Fcgiwrap is a simple server for running CGI applications
613 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
614 servers that may need it).")
615 (license license:expat)))
617 (define-public starman
624 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
625 "Starman-" version ".tar.gz"))
627 (base32 "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h"))))
628 (build-system perl-build-system)
630 `(("perl-libwww" ,perl-libwww)
631 ("perl-module-build-tiny" ,perl-module-build-tiny)
632 ("perl-test-requires" ,perl-test-requires)))
634 `(("perl-data-dump" ,perl-data-dump)
635 ("perl-http-date" ,perl-http-date)
636 ("perl-http-message" ,perl-http-message)
637 ("perl-http-parser-xs" ,perl-http-parser-xs)
638 ("perl-net-server" ,perl-net-server)
639 ("perl-plack" ,perl-plack)
640 ("perl-test-tcp" ,perl-test-tcp)))
641 (home-page "https://metacpan.org/release/Starman")
642 (synopsis "PSGI/Plack web server")
643 (description "Starman is a PSGI perl web server that has unique features
644 such as high performance, preforking, signal support, superdaemon awareness,
645 and UNIX socket support.")
646 (license license:perl-license)))
648 (define-public icedtea-web
655 "http://icedtea.wildebeest.org/download/source/"
656 name "-" version ".tar.gz"))
659 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
660 (build-system gnu-build-system)
663 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
664 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
666 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
667 (outputs '("out" "doc"))
669 `(("pkg-config" ,pkg-config)
673 ("jdk" ,icedtea "jdk")))
674 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
675 (synopsis "Java Web Start")
677 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
678 Protocol}, also known as Java Web Start. This package provides tools and
679 libraries for working with JNLP applets.")
680 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
682 (license license:gpl2+)))
684 (define-public jansson
691 (string-append "http://www.digip.org/jansson/releases/jansson-"
695 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
696 (build-system gnu-build-system)
698 `(#:configure-flags '("--disable-static")))
699 (home-page "http://www.digip.org/jansson/")
700 (synopsis "JSON C library")
702 "Jansson is a C library for encoding, decoding and manipulating JSON
704 (license license:expat)))
706 (define-public json-c
713 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
717 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
718 (modules '((guix build utils)))
721 ;; Somehow 'config.h.in' is older than
722 ;; 'aclocal.m4', which would trigger a rule to
724 (set-file-time "config.h.in"
727 (build-system gnu-build-system)
728 (home-page "https://github.com/json-c/json-c/wiki")
729 (synopsis "JSON implementation in C")
731 "JSON-C implements a reference counting object model that allows you to
732 easily construct JSON objects in C, output them as JSON-formatted strings and
733 parse JSON-formatted strings back into the C representation of JSON objects.
734 It aims to conform to RFC 7159.")
735 (license license:x11)))
737 ;; TODO: remove this old version when all dependents have been updated.
738 (define-public json-c-0.12
745 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
748 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
749 (modules '((guix build utils)))
752 ;; Somehow 'config.h.in' is older than
753 ;; 'aclocal.m4', which would trigger a rule to
755 (set-file-time "config.h.in"
758 ;; Don't try to build with -Werror.
759 (substitute* (find-files "." "Makefile\\.in")
763 (define-public json-parser
768 ;; do not use auto-generated tarballs
771 (url "https://github.com/udp/json-parser.git")
772 (commit (string-append "v" version))))
773 (file-name (git-file-name name version))
776 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
777 ;; FIXME: we should build the python bindings in a separate package
778 (build-system gnu-build-system)
779 ;; the tests are written for the python bindings which are not built here
780 (arguments '(#:tests? #f))
781 (home-page "https://github.com/udp/json-parser")
782 (synopsis "JSON parser written in ANSI C")
783 (description "This package provides a very low footprint JSON parser
784 written in portable ANSI C.
787 @item BSD licensed with no dependencies (i.e. just drop the C file into your
789 @item Never recurses or allocates more memory than it needs
790 @item Very simple API with operator sugar for C++
792 (license license:bsd-2)))
801 (url "https://github.com/flavio/qjson.git")
803 (file-name (git-file-name name version))
806 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
807 (build-system cmake-build-system)
809 ;; The tests require a running X server.
810 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
811 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
813 (modify-phases %standard-phases
814 (add-after 'unpack 'disable-broken-test
816 ;; FIXME: One test fails. See
817 ;; https://github.com/flavio/qjson/issues/105
818 (substitute* "tests/scanner/testscanner.cpp"
819 (("QTest::newRow\\(\"too large exponential\"\\)" line)
820 (string-append "//" line)))
822 (add-before 'check 'render-offscreen
823 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
825 `(("qtbase" ,qtbase)))
826 (home-page "http://qjson.sourceforge.net")
827 (synopsis "Library that maps JSON data to QVariant objects")
828 (description "QJson is a Qt-based library that maps JSON data to
829 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
830 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
831 ;; Only version 2.1 of the license
832 (license license:lgpl2.1)))
834 (define-public krona-tools
841 "https://github.com/marbl/Krona/releases/download/v"
842 version "/KronaTools-" version ".tar"))
845 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
846 (build-system perl-build-system)
849 (modify-phases %standard-phases
850 ;; There is no configure or build steps.
853 ;; Install script "install.pl" expects the build directory to remain
854 ;; after installation, creating symlinks etc., so re-implement it
857 (lambda* (#:key outputs #:allow-other-keys)
858 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
859 (perl (string-append (assoc-ref outputs "out")
860 "/lib/perl5/site_perl/krona-tools/lib")))
864 (let* ((executable (string-append "scripts/" script ".pl")))
865 ;; Prefix executables with 'kt' as install script does.
866 (copy-file executable (string-append bin "/kt" script))))
868 "GetContigMagnitudes"
878 "ImportMETAREP-BLAST"
883 "ImportRDPComparison"
889 (copy-recursively directory
890 (string-append perl "/../" directory)))
891 (list "data" "img" "taxonomy" "src"))
892 (install-file "lib/KronaTools.pm" perl))))
893 (add-after 'install 'wrap-program
894 (lambda* (#:key inputs outputs #:allow-other-keys)
895 (let* ((out (assoc-ref outputs "out"))
896 (path (getenv "PERL5LIB")))
899 (wrap-program executable
900 `("PERL5LIB" ":" prefix
901 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
902 (find-files (string-append out "/bin/") ".*")))))
904 (add-after 'wrap-program 'check
905 (lambda* (#:key inputs outputs #:allow-other-keys)
906 (with-directory-excursion "data"
907 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
911 (home-page "https://github.com/marbl/Krona/wiki")
912 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
914 "Krona is a flexible tool for exploring the relative proportions of
915 hierarchical data, such as metagenomic classifications, using a radial,
916 space-filling display. It is implemented using HTML5 and JavaScript, allowing
917 charts to be explored locally or served over the Internet, requiring only a
918 current version of any major web browser.")
919 (license license:bsd-3)))
921 (define-public rapidjson
928 (url "https://github.com/Tencent/rapidjson.git")
929 (commit (string-append "v" version))))
930 (file-name (git-file-name name version))
933 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
934 (patches (search-patches "rapidjson-gcc-compat.patch"))
935 (modules '((guix build utils)))
938 ;; Remove code using the problematic JSON license (see
939 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
940 (delete-file-recursively "bin/jsonchecker")
942 (build-system cmake-build-system)
944 (if (string-prefix? "aarch64" (or (%current-target-system)
947 (modify-phases %standard-phases
948 (add-after 'unpack 'patch-aarch-march-detection
950 (substitute* (find-files "." "^CMakeLists\\.txt$")
951 (("native") "armv8-a"))
953 ;; Disable CPU optimization for reproducibility.
954 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
955 (home-page "https://github.com/Tencent/rapidjson")
956 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
958 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
960 (license license:expat)))
962 (define-public libyajl
969 (url "https://github.com/lloyd/yajl.git")
971 (file-name (git-file-name name version))
974 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
975 (build-system cmake-build-system)
978 (modify-phases %standard-phases
979 (add-after 'patch-source-shebangs 'patch-tests
981 (substitute* "test/parsing/run_tests.sh"
982 (("`which echo`") (which "echo")))
984 (home-page "https://lloyd.github.io/yajl/")
985 (synopsis "C library for parsing JSON")
987 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
988 parser written in ANSI C and a small validating JSON generator.")
989 (license license:isc)))
991 (define-public libwebsockets
993 (name "libwebsockets")
996 ;; The project does not publish tarballs, so we have to take
1000 (url "https://github.com/warmcat/libwebsockets.git")
1001 (commit (string-append "v" version
1002 "-chrome37-firefox30"))))
1005 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
1006 (file-name (string-append name "-" version))))
1008 (build-system cmake-build-system)
1010 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
1011 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
1014 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
1015 (inputs `(("zlib" ,zlib)
1016 ("openssl" ,openssl)))
1017 (synopsis "WebSockets library written in C")
1019 "Libwebsockets is a library that allows C programs to establish client
1020 and server WebSockets connections---a protocol layered above HTTP that allows
1021 for efficient socket-like bidirectional reliable communication channels.")
1022 (home-page "http://libwebsockets.org/")
1024 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
1025 (license license:lgpl2.1)))
1035 (url "https://github.com/WebAssembly/wabt")
1037 (file-name (git-file-name name version))
1039 (base32 "1zlv3740wkqj4mn6sr84h0x6wk2lcp4pwwmqsh5yyqp1j1glbsa0"))))
1040 (build-system cmake-build-system)
1042 `(#:configure-flags '("-DBUILD_TESTS=OFF")
1044 (inputs `(("python" ,python-2)
1046 (home-page "https://github.com/WebAssembly/wabt")
1047 (synopsis "WebAssembly Binary Toolkit")
1048 (description "WABT (pronounced: wabbit) is a suite of tools for
1049 WebAssembly, including:
1051 * wat2wasm: translate from WebAssembly text format to the WebAssembly binary
1053 * wasm2wat: the inverse of wat2wasm, translate from the binary format back
1054 to the text format (also known as a .wat)
1055 * wasm-objdump: print information about a wasm binary. Similar to objdump.
1056 * wasm-interp: decode and run a WebAssembly binary file using a stack-based
1058 * wat-desugar: parse .wat text form as supported by the spec interpreter
1059 (s-expressions, flat syntax, or mixed) and print canonical flat format
1060 * wasm2c: convert a WebAssembly binary file to a C source and header
1062 These tools are intended for use in (or for development of) toolchains or
1063 other systems that want to manipulate WebAssembly files.")
1064 (license license:asl2.0)))
1066 (define-public websocketpp
1068 (name "websocketpp")
1074 (url "https://github.com/zaphoyd/websocketpp.git")
1076 (file-name (git-file-name name version))
1078 (base32 "12ffczcrryh74c1xssww35ic6yiy2l2xgdd30lshiq9wnzl2brgy"))
1079 (patches (search-patches "websocketpp-fix-for-boost-1.70.patch"))))
1080 (build-system cmake-build-system)
1081 (inputs `(("boost" ,boost)
1082 ("openssl" ,openssl)))
1083 (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
1085 (modify-phases %standard-phases
1086 (add-after 'install 'remove-tests
1087 (lambda* (#:key outputs #:allow-other-keys)
1088 (let* ((install-dir (assoc-ref outputs "out"))
1089 (bin-dir (string-append install-dir "/bin")))
1090 (delete-file-recursively bin-dir)
1092 (home-page "https://www.zaphoyd.com/websocketpp/")
1093 (synopsis "C++ library implementing the WebSocket protocol")
1094 (description "WebSocket++ is a C++ library that can be used to implement
1095 WebSocket functionality. The goals of the project are to provide a WebSocket
1096 implementation that is simple, portable, flexible, lightweight, low level, and
1098 (license license:bsd-3)))
1100 (define-public libpsl
1106 (uri (string-append "https://github.com/rockdaboot/libpsl/"
1107 "releases/download/libpsl-" version
1108 "/libpsl-" version ".tar.gz"))
1111 "04pfagb7ppq3yibx4lhazd1v9nwkxdfkyy2rgcrmrf3mldsirga1"))))
1112 (build-system gnu-build-system)
1114 `(("pkg-config" ,pkg-config)
1117 ("python" ,python-wrapper)))
1119 `(("libidn2" ,libidn2)
1120 ("libunistring" ,libunistring)))
1121 (home-page "https://github.com/rockdaboot/libpsl")
1122 (synopsis "C library for the Publix Suffix List")
1124 "A \"public suffix\" is a domain name under which Internet users can
1125 directly register own names.
1127 Browsers and other web clients can use it to avoid privacy-leaking
1128 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
1129 highlighting parts of the domain in a user interface, and sorting domain lists
1132 Libpsl has built-in PSL data for fast access, allows to load PSL data from
1133 files, checks if a given domain is a public suffix, provides immediate cookie
1134 domain verification, finds the longest public part of a given domain, finds
1135 the shortest private part of a given domain, works with international
1136 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
1138 (license license:x11)))
1143 (version "20091223")
1148 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
1150 (revision "2009-12-23")))
1151 (file-name (string-append name "-" version "-checkout"))
1154 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
1155 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
1156 (build-system gnu-build-system)
1158 '(#:phases (modify-phases %standard-phases
1160 (lambda* (#:key inputs #:allow-other-keys)
1161 ;; configure.in and Makefile.am aren't in the root of the
1163 (copy-recursively "build/gnuauto" ".")
1164 (setenv "AUTOMAKE" "automake --foreign")
1165 (invoke "autoreconf" "-vfi"))))))
1167 `(("automake" ,automake)
1168 ("autoconf" ,autoconf)
1169 ("libtool" ,libtool)))
1170 (synopsis "HTML validator and tidier")
1171 (description "HTML Tidy is a command-line tool and C library that can be
1172 used to validate and fix HTML data.")
1173 (home-page "http://tidy.sourceforge.net/")
1174 (license (license:x11-style "file:///include/tidy.h"))))
1176 (define-public tinyproxy
1182 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1183 "releases/download/" version "/tinyproxy-"
1187 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
1188 (build-system gnu-build-system)
1192 ;; For the log file, etc.
1193 "--localstatedir=/var")
1195 (modify-phases %standard-phases
1196 (add-before 'build 'pre-build
1197 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1198 ;; Uncommenting the next two lines may assist in debugging
1199 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1200 ;; (setenv "XML_DEBUG_CATALOG" "1")
1202 (home-page "https://tinyproxy.github.io/")
1203 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1204 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1205 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1206 solution for use cases such as embedded deployments where a full featured HTTP
1207 proxy is required, but the system resources for a larger proxy are
1209 (license license:gpl2+)))
1211 (define-public polipo
1219 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1223 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1224 (native-inputs `(("texinfo" ,texinfo)))
1225 (build-system gnu-build-system)
1227 `(#:phases (modify-phases %standard-phases
1228 (delete 'configure))
1229 #:make-flags (let ((out (assoc-ref %outputs "out")))
1230 (list (string-append "PREFIX=" out)
1231 (string-append "LOCAL_ROOT="
1232 out "/share/polipo/www")
1234 ;; No 'check' target.
1236 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1237 (synopsis "Small caching web proxy")
1239 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1240 server). It was primarily designed to be used by one person or a small group
1242 (license license:expat)))
1244 (define-public websockify
1251 (url "https://github.com/novnc/websockify.git")
1252 (commit (string-append "v" version))))
1253 (file-name (git-file-name name version))
1256 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1257 (build-system python-build-system)
1259 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1260 ; named 'stubout'". The tests can be run by replacing the check phase with
1261 ; the command "python setup.py nosetests --verbosity=3".
1262 (native-inputs `(; Required for tests:
1263 ("python-mox3" ,python-mox3)
1264 ("python-nose" ,python-nose)))
1265 (propagated-inputs `(("python-numpy" ,python-numpy)))
1266 (home-page "https://github.com/novnc/websockify")
1267 (synopsis "WebSockets support for any application/server")
1268 (description "Websockify translates WebSockets traffic to normal socket
1269 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1270 begins forwarding traffic between the client and the target in both
1272 (license license:lgpl3)))
1274 (define-public wwwoffle
1280 (uri (string-append "https://www.gedanken.org.uk/software/"
1281 "wwwoffle/download/wwwoffle-"
1285 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1286 (build-system gnu-build-system)
1288 `(#:configure-flags '("--with-gnutls")
1289 #:tests? #f)) ; no test target
1290 (native-inputs `(("flex" ,flex)))
1291 (inputs `(("gnutls" ,gnutls)
1292 ("libcrypt" ,libgcrypt)))
1293 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1294 (synopsis "Caching web proxy optimized for intermittent internet links")
1295 (description "WWWOFFLE is a proxy web server that is especially good for
1296 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1297 protocols, and supports browsing and requesting pages while offline, indexing,
1298 modifying pages and incoming and outgoing headers, monitoring pages for
1299 changes, and much more.")
1300 (license license:gpl2+)))
1302 (define-public liboauth
1308 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1312 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1313 (build-system gnu-build-system)
1314 (arguments '(#:configure-flags '("--enable-nss")))
1315 (native-inputs `(("pkg-config" ,pkg-config)))
1319 (home-page "https://sourceforge.net/projects/liboauth")
1320 (synopsis "C library implementing the OAuth API")
1322 "liboauth is a collection of C functions implementing the OAuth API.
1323 liboauth provides functions to escape and encode strings according to OAuth
1324 specifications and offers high-level functionality built on top to sign
1325 requests or verify signatures using either NSS or OpenSSL for calculating the
1327 ;; Source code may be distributed under either license.
1328 (license (list license:expat license:gpl2+))))
1330 (define-public libyaml
1338 "http://pyyaml.org/download/libyaml/yaml-"
1342 "0a87931cx5m14a1x8rbjix3nz7agrcgndf4h392vm62a4rby9240"))))
1343 (build-system gnu-build-system)
1344 (home-page "http://pyyaml.org/wiki/LibYAML")
1345 (synopsis "YAML 1.1 parser and emitter written in C")
1347 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1348 (license license:expat)))
1350 (define-public libyaml-2.1
1358 "http://pyyaml.org/download/libyaml/yaml-"
1362 "1karpcfgacgppa82wm2drcfn2kb6q2wqfykf5nrhy20sci2i2a3q"))))))
1364 (define-public libquvi-scripts
1366 (name "libquvi-scripts")
1372 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1373 name "/" name "-" version ".tar.xz"))
1375 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1376 (build-system gnu-build-system)
1377 (home-page "http://quvi.sourceforge.net/")
1378 (synopsis "Media stream URL parser")
1379 (description "This package contains support scripts called by libquvi to
1380 parse media stream properties.")
1381 (license license:lgpl2.1+)))
1383 (define-public libquvi
1391 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1392 name "-" version ".tar.xz"))
1394 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1395 (build-system gnu-build-system)
1396 (native-inputs `(("pkg-config" ,pkg-config)))
1399 ("cyrus-sasl" ,cyrus-sasl)
1400 ("libquvi-scripts" ,libquvi-scripts)
1402 ("openssl" ,openssl)
1405 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1407 (let ((lua (assoc-ref %build-inputs "lua")))
1409 (string-append "liblua_CFLAGS=-I" lua "/include")
1410 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1411 (home-page "http://quvi.sourceforge.net/")
1412 (synopsis "Media stream URL parser")
1413 (description "libquvi is a library with a C API for parsing media stream
1414 URLs and extracting their actual media files.")
1415 (license license:lgpl2.1+)))
1425 "mirror://sourceforge/" name "/" (version-major+minor version)
1426 "/" name "/" name "-" version ".tar.xz"))
1428 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1429 (build-system gnu-build-system)
1430 (native-inputs `(("pkg-config" ,pkg-config)))
1433 ("libquvi" ,libquvi)))
1434 (home-page "http://quvi.sourceforge.net/")
1435 (synopsis "Media stream URL parser")
1436 (description "quvi is a command-line-tool suite to extract media files
1437 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1438 (license license:lgpl2.1+)))
1447 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
1448 version ".tar.bz2"))
1450 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1451 (build-system scons-build-system)
1454 ("apr-util" ,apr-util)
1455 ("openssl" ,openssl)))
1457 `(;; TODO: Fix build with gss.
1461 `(#:scons ,scons-python2
1462 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1463 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1464 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1465 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1466 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1467 (string-append "PREFIX=" %output))
1469 (modify-phases %standard-phases
1470 (add-after 'unpack 'scons-propagate-environment
1472 ;; By design, SCons does not, by default, propagate
1473 ;; environment variables to subprocesses. See:
1474 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1475 ;; Here, we modify the SConstruct file to arrange for
1476 ;; environment variables to be propagated.
1477 (substitute* "SConstruct"
1478 (("^env = Environment\\(")
1479 "env = Environment(ENV=os.environ, "))))
1480 (add-before 'check 'disable-broken-tests
1482 ;; These tests rely on SSL certificates that expired 2017-04-18.
1483 ;; While there are newer certs available upstream, we don't want
1484 ;; this package to suddenly "expire" some time in the future.
1485 ;; https://bugs.gnu.org/26671
1487 '("test_ssl_trust_rootca"
1488 "test_ssl_certificate_chain_with_anchor"
1489 "test_ssl_certificate_chain_all_from_server"
1490 "test_ssl_no_servercert_callback_allok"
1491 "test_ssl_large_response"
1492 "test_ssl_large_request"
1493 "test_ssl_client_certificate"
1494 "test_ssl_future_server_cert"
1495 "test_setup_ssltunnel"
1496 "test_ssltunnel_basic_auth"
1497 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1498 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1499 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1500 "test_ssltunnel_digest_auth")))
1503 (substitute* "test/test_context.c"
1504 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1507 (home-page "https://serf.apache.org/")
1508 (synopsis "High-performance asynchronous HTTP client library")
1510 "serf is a C-based HTTP client library built upon the Apache Portable
1511 Runtime (APR) library. It multiplexes connections, running the read/write
1512 communication asynchronously. Memory copies and transformations are kept to a
1513 minimum to provide high performance operation.")
1514 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1515 ;; bundled CuTest framework uses a different non-copyleft license.
1516 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1518 (define-public libsass
1521 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1526 (url "https://github.com/sass/libsass.git")
1528 (file-name (git-file-name name version))
1531 "1vn0q343d1vxz5q0xb6f9dzjah8z6j0s6x0lwvwdd55xa8z7rsnh"))))
1532 (build-system gnu-build-system)
1535 (modify-phases %standard-phases
1536 (add-before 'bootstrap 'set-LIBSASS_VERSION
1538 (setenv "LIBSASS_VERSION" ,version)
1541 `(("autoconf" ,autoconf)
1542 ("automake" ,automake)
1543 ("libtool" ,libtool)))
1544 (home-page "https://sass-lang.com/libsass")
1545 (synopsis "SASS Compiler, implemented as a C/C++ library")
1547 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1548 library designed for portability and efficiency. To actually compile SASS
1549 stylesheets, you'll need to use another program that uses this library,
1550 @var{sassc} for example.")
1551 (license license:expat)))
1553 (define-public sassc
1560 (url "https://github.com/sass/sassc.git")
1562 (file-name (git-file-name name version))
1565 "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv"))))
1566 (build-system gnu-build-system)
1570 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1571 #:tests? #f ; no test suite
1573 (modify-phases %standard-phases
1574 (add-after 'unpack 'patch-Makefile
1576 (substitute* "Makefile"
1577 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1578 "build-shared: $(RESOURCES) $(OBJECTS)")
1579 (("\\$\\(SASSC_EXE\\): libsass build")
1580 "$(SASSC_EXE): build")
1581 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1584 ;; This phase fails for some reason.
1586 ;; There is no configure script.
1588 (add-before 'build 'setup-environment
1590 (setenv "BUILD" "shared")
1591 (setenv "SASSC_VERSION" ,version)
1594 `(("libsass" ,libsass)))
1595 (synopsis "CSS pre-processor")
1596 (description "SassC is a compiler written in C for the CSS pre-processor
1597 language known as SASS.")
1598 (home-page "https://sass-lang.com/libsass")
1599 (license license:expat)))
1601 (define-public sassc/libsass-3.5
1602 ;; Newer libsass versions suffor from a memory leak when building (some?)
1603 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
1617 (url "https://github.com/sass/libsass.git")
1619 (file-name (git-file-name name version))
1622 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
1623 (properties '((hidden? . #t)))))
1626 (define-public perl-apache-logformat-compiler
1628 (name "perl-apache-logformat-compiler")
1633 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1634 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1636 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
1637 (build-system perl-build-system)
1639 `(("perl-http-message" ,perl-http-message)
1640 ("perl-module-build-tiny" ,perl-module-build-tiny)
1641 ("perl-test-mocktime" ,perl-test-mocktime)
1642 ("perl-try-tiny" ,perl-try-tiny)
1643 ("perl-uri" ,perl-uri)))
1645 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1646 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1647 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1648 (synopsis "Compile a log format string to perl-code")
1649 (description "This module provides methods to compile a log format string
1650 to perl-code, for faster generation of access_log lines.")
1651 (license license:perl-license)))
1653 (define-public perl-authen-sasl
1655 (name "perl-authen-sasl")
1660 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1661 "Authen-SASL-" version ".tar.gz"))
1664 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1665 (build-system perl-build-system)
1668 (modify-phases %standard-phases
1669 (add-after 'unpack 'set-env
1670 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1671 ;; versions of perl-authen-sasl.
1672 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1674 `(("perl-digest-hmac" ,perl-digest-hmac)
1675 ("perl-gssapi" ,perl-gssapi)))
1676 (home-page "https://metacpan.org/release/Authen-SASL")
1677 (synopsis "SASL authentication framework")
1678 (description "Authen::SASL provides an SASL authentication framework.")
1679 (license license:perl-license)))
1681 (define-public perl-catalyst-action-renderview
1683 (name "perl-catalyst-action-renderview")
1688 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1689 "Catalyst-Action-RenderView-"
1693 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1694 (build-system perl-build-system)
1696 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1697 ("perl-module-install" ,perl-module-install)))
1699 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1700 ("perl-data-visitor" ,perl-data-visitor)
1701 ("perl-mro-compat" ,perl-mro-compat)))
1702 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
1703 (synopsis "Sensible default Catalyst action")
1704 (description "This Catalyst action implements a sensible default end
1705 action, which will forward to the first available view.")
1706 (license license:perl-license)))
1708 (define-public perl-catalyst-action-rest
1710 (name "perl-catalyst-action-rest")
1714 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1715 "Catalyst-Action-REST-" version ".tar.gz"))
1718 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
1719 (build-system perl-build-system)
1721 `(("perl-test-requires" ,perl-test-requires)
1722 ("perl-module-install" ,perl-module-install)))
1724 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1725 ("perl-class-inspector" ,perl-class-inspector)
1726 ("perl-config-general" ,perl-config-general)
1727 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1728 ("perl-libwww" ,perl-libwww)
1729 ("perl-moose" ,perl-moose)
1730 ("perl-mro-compat" ,perl-mro-compat)
1731 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1732 ("perl-params-validate" ,perl-params-validate)
1733 ("perl-uri-find" ,perl-uri-find)
1734 ("perl-xml-simple" ,perl-xml-simple)))
1735 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
1736 (synopsis "Automated REST Method Dispatching")
1737 (description "This Action handles doing automatic method dispatching for
1738 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1739 append an underscore and method name. First it will try dispatching to an
1740 action with the generated name, and failing that it will try to dispatch to a
1742 (license license:perl-license)))
1744 (define-public perl-catalyst-authentication-store-dbix-class
1746 (name "perl-catalyst-authentication-store-dbix-class")
1751 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1752 "Catalyst-Authentication-Store-DBIx-Class-"
1756 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1757 (build-system perl-build-system)
1759 `(("perl-catalyst-plugin-authorization-roles"
1760 ,perl-catalyst-plugin-authorization-roles)
1761 ("perl-catalyst-plugin-session-state-cookie"
1762 ,perl-catalyst-plugin-session-state-cookie)
1763 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1764 ("perl-module-install" ,perl-module-install)
1765 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1767 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1768 ("perl-catalyst-plugin-authentication"
1769 ,perl-catalyst-plugin-authentication)
1770 ("perl-dbix-class" ,perl-dbix-class)
1771 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1773 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
1774 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1775 (description "The Catalyst::Authentication::Store::DBIx::Class class
1776 provides access to authentication information stored in a database via
1778 (license license:perl-license)))
1780 (define-public perl-catalyst-component-instancepercontext
1782 (name "perl-catalyst-component-instancepercontext")
1783 (version "0.001001")
1787 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1788 "Catalyst-Component-InstancePerContext-"
1792 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1793 (build-system perl-build-system)
1795 `(("perl-module-install" ,perl-module-install)))
1797 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1798 ("perl-moose" ,perl-moose)))
1800 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
1801 (synopsis "Create only one instance of Moose component per context")
1802 (description "Catalyst::Component::InstancePerContext returns a new
1803 instance of a component on each request.")
1804 (license license:perl-license)))
1806 (define-public perl-catalyst-devel
1808 (name "perl-catalyst-devel")
1813 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1814 "Catalyst-Devel-" version ".tar.gz"))
1817 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1818 (build-system perl-build-system)
1820 `(("perl-test-fatal" ,perl-test-fatal)))
1822 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1823 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1824 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1825 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1826 ("perl-config-general" ,perl-config-general)
1827 ("perl-file-changenotify" ,perl-file-changenotify)
1828 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1829 ("perl-file-sharedir" ,perl-file-sharedir)
1830 ("perl-module-install" ,perl-module-install)
1831 ("perl-moose" ,perl-moose)
1832 ("perl-moosex-emulate-class-accessor-fast"
1833 ,perl-moosex-emulate-class-accessor-fast)
1834 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1835 ("perl-namespace-clean" ,perl-namespace-clean)
1836 ("perl-path-class" ,perl-path-class)
1837 ("perl-template-toolkit" ,perl-template-toolkit)))
1838 (home-page "https://metacpan.org/release/Catalyst-Devel")
1839 (synopsis "Catalyst Development Tools")
1840 (description "The Catalyst-Devel distribution includes a variety of
1841 modules useful for the development of Catalyst applications, but not required
1842 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1843 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1844 extension for Catalyst; and requirements for a variety of development-related
1846 (license license:perl-license)))
1848 (define-public perl-catalyst-dispatchtype-regex
1850 (name "perl-catalyst-dispatchtype-regex")
1855 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1856 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1859 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1860 (build-system perl-build-system)
1862 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1863 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1864 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1866 `(("perl-moose" ,perl-moose)
1867 ("perl-text-simpletable" ,perl-text-simpletable)))
1868 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
1869 (synopsis "Regex DispatchType for Catalyst")
1870 (description "Dispatch type managing path-matching behaviour using
1871 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1872 core. It is recommend that you use Chained methods or other techniques
1873 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1874 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1875 when the dispatch type is first seen in your application.")
1876 (license license:perl-license)))
1878 (define-public perl-catalyst-model-dbic-schema
1880 (name "perl-catalyst-model-dbic-schema")
1885 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1886 "Catalyst-Model-DBIC-Schema-"
1890 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1891 (build-system perl-build-system)
1893 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1894 ("perl-module-install" ,perl-module-install)
1895 ("perl-test-exception" ,perl-test-exception)
1896 ("perl-test-requires" ,perl-test-requires)))
1898 `(("perl-carp-clan" ,perl-carp-clan)
1899 ("perl-catalyst-component-instancepercontext"
1900 ,perl-catalyst-component-instancepercontext)
1901 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1902 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1903 ("perl-dbix-class" ,perl-dbix-class)
1904 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1905 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1906 ("perl-hash-merge" ,perl-hash-merge)
1907 ("perl-list-moreutils" ,perl-list-moreutils)
1908 ("perl-module-runtime" ,perl-module-runtime)
1909 ("perl-moose" ,perl-moose)
1910 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1911 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1912 ("perl-moosex-types" ,perl-moosex-types)
1913 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1914 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1915 ("perl-namespace-clean" ,perl-namespace-clean)
1916 ("perl-tie-ixhash" ,perl-tie-ixhash)
1917 ("perl-try-tiny" ,perl-try-tiny)))
1918 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
1919 (synopsis "DBIx::Class::Schema Model Class")
1920 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1922 (license license:perl-license)))
1924 (define-public perl-catalyst-plugin-accesslog
1926 (name "perl-catalyst-plugin-accesslog")
1931 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1932 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1935 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1936 (build-system perl-build-system)
1938 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1939 ("perl-datetime" ,perl-datetime)
1940 ("perl-moose" ,perl-moose)
1941 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1942 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
1943 (synopsis "Request logging from within Catalyst")
1944 (description "This Catalyst plugin enables you to create \"access logs\"
1945 from within a Catalyst application instead of requiring a webserver to do it
1946 for you. It will work even with Catalyst debug logging turned off.")
1947 (license license:perl-license)))
1949 (define-public perl-catalyst-plugin-authentication
1951 (name "perl-catalyst-plugin-authentication")
1956 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1957 "Catalyst-Plugin-Authentication-"
1961 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1962 (build-system perl-build-system)
1964 `(("perl-module-install" ,perl-module-install)))
1966 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1967 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1968 ("perl-class-inspector" ,perl-class-inspector)
1969 ("perl-moose" ,perl-moose)
1970 ("perl-moosex-emulate-class-accessor-fast"
1971 ,perl-moosex-emulate-class-accessor-fast)
1972 ("perl-mro-compat" ,perl-mro-compat)
1973 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1974 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1975 ("perl-test-exception" ,perl-test-exception)
1976 ("perl-try-tiny" ,perl-try-tiny)))
1977 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
1978 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1979 (description "The authentication plugin provides generic user support for
1980 Catalyst apps. It is the basis for both authentication (checking the user is
1981 who they claim to be), and authorization (allowing the user to do what the
1982 system authorises them to do).")
1983 (license license:perl-license)))
1985 (define-public perl-catalyst-plugin-authorization-roles
1987 (name "perl-catalyst-plugin-authorization-roles")
1992 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1993 "Catalyst-Plugin-Authorization-Roles-"
1997 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1998 (build-system perl-build-system)
2000 `(("perl-module-install" ,perl-module-install)
2001 ("perl-test-exception" ,perl-test-exception)))
2003 `(("perl-catalyst-plugin-authentication"
2004 ,perl-catalyst-plugin-authentication)
2005 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2006 ("perl-set-object" ,perl-set-object)
2007 ("perl-universal-isa" ,perl-universal-isa)))
2009 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2010 (synopsis "Role-based authorization for Catalyst")
2011 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2012 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2013 (license license:perl-license)))
2015 (define-public perl-catalyst-plugin-captcha
2017 (name "perl-catalyst-plugin-captcha")
2022 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2023 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2026 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2027 (build-system perl-build-system)
2029 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2030 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2031 ("perl-gd-securityimage" ,perl-gd-securityimage)
2032 ("perl-http-date" ,perl-http-date)))
2033 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2034 (synopsis "Captchas for Catalyst")
2035 (description "This plugin creates and validates Captcha images for
2037 (license license:perl-license)))
2039 (define-public perl-catalyst-plugin-configloader
2041 (name "perl-catalyst-plugin-configloader")
2046 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2047 "Catalyst-Plugin-ConfigLoader-"
2051 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
2052 (build-system perl-build-system)
2054 `(("perl-path-class" ,perl-path-class)
2055 ("perl-module-install" ,perl-module-install)))
2057 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2058 ("perl-config-any" ,perl-config-any)
2059 ("perl-data-visitor" ,perl-data-visitor)
2060 ("perl-mro-compat" ,perl-mro-compat)))
2061 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2062 (synopsis "Load config files of various types")
2063 (description "This module will attempt to load find and load configuration
2064 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2066 (license license:perl-license)))
2068 (define-public perl-catalyst-plugin-session
2070 (name "perl-catalyst-plugin-session")
2075 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2076 "Catalyst-Plugin-Session-" version ".tar.gz"))
2078 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2079 (build-system perl-build-system)
2081 `(("perl-module-install" ,perl-module-install)
2082 ("perl-test-deep" ,perl-test-deep)
2083 ("perl-test-exception" ,perl-test-exception)))
2085 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2086 ("perl-moose" ,perl-moose)
2087 ("perl-moosex-emulate-class-accessor-fast"
2088 ,perl-moosex-emulate-class-accessor-fast)
2089 ("perl-mro-compat" ,perl-mro-compat)
2090 ("perl-namespace-clean" ,perl-namespace-clean)
2091 ("perl-object-signature" ,perl-object-signature)
2092 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2093 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2094 (synopsis "Catalyst generic session plugin")
2095 (description "This plugin links the two pieces required for session
2096 management in web applications together: the state, and the store.")
2097 (license license:perl-license)))
2099 (define-public perl-catalyst-plugin-session-state-cookie
2101 (name "perl-catalyst-plugin-session-state-cookie")
2106 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2107 "Catalyst-Plugin-Session-State-Cookie-"
2111 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2112 (build-system perl-build-system)
2114 `(("perl-module-install" ,perl-module-install)))
2116 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2117 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2118 ("perl-moose" ,perl-moose)
2119 ("perl-mro-compat" ,perl-mro-compat)
2120 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2122 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2123 (synopsis "Maintain session IDs using cookies")
2124 (description "In order for Catalyst::Plugin::Session to work, the session
2125 ID needs to be stored on the client, and the session data needs to be stored
2126 on the server. This plugin stores the session ID on the client using the
2128 (license license:perl-license)))
2130 (define-public perl-catalyst-plugin-session-store-fastmmap
2132 (name "perl-catalyst-plugin-session-store-fastmmap")
2137 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2138 "Catalyst-Plugin-Session-Store-FastMmap-"
2142 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2143 (build-system perl-build-system)
2145 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2146 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2147 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2148 ("perl-moosex-emulate-class-accessor-fast"
2149 ,perl-moosex-emulate-class-accessor-fast)
2150 ("perl-mro-compat" ,perl-mro-compat)
2151 ("perl-path-class" ,perl-path-class)))
2153 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2154 (synopsis "FastMmap session storage backend")
2155 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2156 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2157 memory interprocess cache. It is based on Cache::FastMmap.")
2158 (license license:perl-license)))
2160 (define-public perl-catalyst-plugin-stacktrace
2162 (name "perl-catalyst-plugin-stacktrace")
2167 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2168 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2171 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2172 (build-system perl-build-system)
2174 `(("perl-module-install" ,perl-module-install)))
2176 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2177 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2178 ("perl-mro-compat" ,perl-mro-compat)))
2179 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2180 (synopsis "Stack trace on the Catalyst debug screen")
2181 (description "This plugin enhances the standard Catalyst debug screen by
2182 including a stack trace of your application up to the point where the error
2183 occurred. Each stack frame is displayed along with the package name, line
2184 number, file name, and code context surrounding the line number.")
2185 (license license:perl-license)))
2187 (define-public perl-catalyst-plugin-static-simple
2189 (name "perl-catalyst-plugin-static-simple")
2194 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2195 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2198 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2199 (build-system perl-build-system)
2201 `(("perl-module-install" ,perl-module-install)))
2203 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2204 ("perl-mime-types" ,perl-mime-types)
2205 ("perl-moose" ,perl-moose)
2206 ("perl-moosex-types" ,perl-moosex-types)
2207 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2208 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2209 (synopsis "Simple serving of static pages")
2210 (description "The Static::Simple plugin is designed to make serving static
2211 content in your application during development quick and easy, without
2212 requiring a single line of code from you. This plugin detects static files by
2213 looking at the file extension in the URL (such as .css or .png or .js). The
2214 plugin uses the lightweight MIME::Types module to map file extensions to
2215 IANA-registered MIME types, and will serve your static files with the correct
2216 MIME type directly to the browser, without being processed through Catalyst.")
2217 (license license:perl-license)))
2219 (define-public perl-catalyst-runtime
2221 (name "perl-catalyst-runtime")
2226 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2227 "Catalyst-Runtime-" version ".tar.gz"))
2230 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2231 (build-system perl-build-system)
2233 `(("perl-test-fatal" ,perl-test-fatal)))
2235 `(("perl-cgi-simple" ,perl-cgi-simple)
2236 ("perl-cgi-struct" ,perl-cgi-struct)
2237 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2238 ("perl-class-date" ,perl-class-date)
2239 ("perl-class-load" ,perl-class-load)
2240 ("perl-data-dump" ,perl-data-dump)
2241 ("perl-http-body" ,perl-http-body)
2242 ("perl-http-message" ,perl-http-message)
2243 ("perl-json-maybexs" ,perl-json-maybexs)
2244 ("perl-libwww" ,perl-libwww)
2245 ("perl-module-pluggable" ,perl-module-pluggable)
2246 ("perl-moose" ,perl-moose)
2247 ("perl-moosex-emulate-class-accessor-fast"
2248 ,perl-moosex-emulate-class-accessor-fast)
2249 ("perl-moosex-getopt" ,perl-moosex-getopt)
2250 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2251 ("perl-namespace-clean" ,perl-namespace-clean)
2252 ("perl-path-class" ,perl-path-class)
2253 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2254 ("perl-plack" ,perl-plack)
2255 ("perl-plack-middleware-fixmissingbodyinredirect"
2256 ,perl-plack-middleware-fixmissingbodyinredirect)
2257 ("perl-plack-middleware-methodoverride"
2258 ,perl-plack-middleware-methodoverride)
2259 ("perl-plack-middleware-removeredundantbody"
2260 ,perl-plack-middleware-removeredundantbody)
2261 ("perl-plack-middleware-reverseproxy"
2262 ,perl-plack-middleware-reverseproxy)
2263 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2264 ("perl-safe-isa" ,perl-safe-isa)
2265 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2266 ("perl-text-simpletable" ,perl-text-simpletable)
2267 ("perl-tree-simple" ,perl-tree-simple)
2268 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2269 ("perl-try-tiny" ,perl-try-tiny)
2270 ("perl-uri" ,perl-uri)
2271 ("perl-uri-ws" ,perl-uri-ws)))
2272 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2273 (synopsis "The Catalyst Framework Runtime")
2274 (description "Catalyst is a modern framework for making web applications.
2275 It is designed to make it easy to manage the various tasks you need to do to
2276 run an application on the web, either by doing them itself, or by letting you
2277 \"plug in\" existing Perl modules that do what you need.")
2278 (license license:perl-license)))
2280 (define-public perl-catalyst-traitfor-request-proxybase
2282 (name "perl-catalyst-traitfor-request-proxybase")
2283 (version "0.000005")
2287 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2288 "Catalyst-TraitFor-Request-ProxyBase-"
2292 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2293 (build-system perl-build-system)
2295 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2296 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2297 ("perl-http-message" ,perl-http-message)
2298 ("perl-module-install" ,perl-module-install)))
2300 `(("perl-moose" ,perl-moose)
2301 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2302 ("perl-uri" ,perl-uri)))
2304 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2305 (synopsis "Replace request base with value passed by HTTP proxy")
2306 (description "This module is a Moose::Role which allows you more
2307 flexibility in your application's deployment configurations when deployed
2308 behind a proxy. Using this module, the request base ($c->req->base) is
2309 replaced with the contents of the X-Request-Base header.")
2310 (license license:perl-license)))
2312 (define-public perl-catalyst-view-download
2314 (name "perl-catalyst-view-download")
2319 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2320 "Catalyst-View-Download-" version ".tar.gz"))
2323 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2324 (build-system perl-build-system)
2326 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2327 ("perl-module-install" ,perl-module-install)
2328 ("perl-test-simple" ,perl-test-simple)
2329 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2330 ("perl-text-csv" ,perl-text-csv)
2331 ("perl-xml-simple" ,perl-xml-simple)))
2332 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2333 (synopsis "Download data in many formats")
2334 (description "The purpose of this module is to provide a method for
2335 downloading data into many supportable formats. For example, downloading a
2336 table based report in a variety of formats (CSV, HTML, etc.).")
2337 (license license:perl-license)))
2339 (define-public perl-catalyst-view-json
2341 (name "perl-catalyst-view-json")
2346 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2347 "Catalyst-View-JSON-" version ".tar.gz"))
2350 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2351 (build-system perl-build-system)
2353 `(("perl-module-install" ,perl-module-install)
2354 ("perl-yaml" ,perl-yaml)))
2356 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2357 ("perl-json-maybexs" ,perl-json-maybexs)
2358 ("perl-mro-compat" ,perl-mro-compat)))
2359 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2360 (synopsis "Catalyst JSON view")
2361 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2362 stash data in JSON format.")
2363 (license license:perl-license)))
2365 (define-public perl-catalyst-view-tt
2367 (name "perl-catalyst-view-tt")
2372 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2373 "Catalyst-View-TT-" version ".tar.gz"))
2376 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2377 (build-system perl-build-system)
2379 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2380 ("perl-class-accessor" ,perl-class-accessor)
2381 ("perl-data-dump" ,perl-data-dump)
2382 ("perl-mro-compat" ,perl-mro-compat)
2383 ("perl-path-class" ,perl-path-class)
2384 ("perl-template-timer" ,perl-template-timer)
2385 ("perl-template-toolkit" ,perl-template-toolkit)))
2386 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2387 (synopsis "Template View Class")
2388 (description "This module is a Catalyst view class for the Template
2390 (license license:perl-license)))
2392 (define-public perl-catalystx-component-traits
2394 (name "perl-catalystx-component-traits")
2399 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2400 "CatalystX-Component-Traits-" version ".tar.gz"))
2403 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2404 (build-system perl-build-system)
2406 `(("perl-moose" ,perl-moose)
2407 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2408 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2410 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2411 ("perl-class-load" ,perl-class-load)
2412 ("perl-moose" ,perl-moose)
2413 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2414 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2415 ("perl-list-moreutils" ,perl-list-moreutils)))
2416 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2417 (synopsis "Trait Loading and Resolution for Catalyst Components")
2418 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2419 Catalyst component base class that reads the optional \"traits\" parameter
2420 from app and component config and instantiates the component subclass with
2421 those traits using \"new_with_traits\" in MooseX::Traits from
2422 MooseX::Traits::Pluggable.")
2423 (license license:perl-license)))
2425 (define-public perl-catalystx-roleapplicator
2427 (name "perl-catalystx-roleapplicator")
2432 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2433 "CatalystX-RoleApplicator-" version ".tar.gz"))
2436 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2437 (build-system perl-build-system)
2439 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2440 ("perl-moose" ,perl-moose)
2441 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2442 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2443 (synopsis "Apply roles to Catalyst classes")
2444 (description "CatalystX::RoleApplicator applies roles to Catalyst
2445 application classes.")
2446 (license license:perl-license)))
2448 (define-public perl-catalystx-script-server-starman
2450 (name "perl-catalystx-script-server-starman")
2455 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2456 "CatalystX-Script-Server-Starman-"
2460 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2461 (build-system perl-build-system)
2463 `(("perl-module-install" ,perl-module-install)
2464 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2466 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2467 ("perl-moose" ,perl-moose)
2468 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2469 ("starman" ,starman)))
2470 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2471 (synopsis "Catalyst development server with Starman")
2472 (description "This module provides a Catalyst extension to replace the
2473 development server with Starman.")
2474 (license license:perl-license)))
2476 (define-public perl-cgi
2483 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2484 "CGI-" version ".tar.gz"))
2487 "020jrygslqixrxd2nzc2l8ac39ynqzsy83nnnr3mqn6kxfvmyhqj"))))
2488 (build-system perl-build-system)
2490 `(("perl-test-deep" ,perl-test-deep)
2491 ("perl-test-nowarnings" ,perl-test-nowarnings)
2492 ("perl-test-warn" ,perl-test-warn)))
2494 `(("perl-html-parser" ,perl-html-parser)))
2495 (home-page "https://metacpan.org/release/CGI")
2496 (synopsis "Handle Common Gateway Interface requests and responses")
2497 (description "CGI.pm is a stable, complete and mature solution for
2498 processing and preparing HTTP requests and responses. Major features include
2499 processing form submissions, file uploads, reading and writing cookies, query
2500 string generation and manipulation, and processing and preparing HTTP
2502 (license license:perl-license)))
2504 (define-public perl-cgi-formbuilder
2506 (name "perl-cgi-formbuilder")
2512 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2513 "CGI-FormBuilder-" version ".tar.gz"))
2516 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2517 (build-system perl-build-system)
2518 (inputs `(("perl-cgi" ,perl-cgi)))
2520 "https://metacpan.org/release/CGI-FormBuilder")
2522 "Generate and process stateful forms")
2524 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2525 form-based applications.")
2526 (license license:perl-license)))
2528 (define-public perl-cgi-session
2530 (name "perl-cgi-session")
2536 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2541 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2542 (build-system perl-build-system)
2544 `(("perl-module-build" ,perl-module-build)))
2545 (inputs `(("perl-cgi" ,perl-cgi)))
2547 "https://metacpan.org/release/CGI-Session")
2549 "Persistent session data in CGI applications")
2551 "@code{CGI::Session} provides modular session management system across
2553 (license license:perl-license)))
2555 (define-public perl-cgi-simple
2557 (name "perl-cgi-simple")
2562 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2563 "CGI-Simple-" version ".tar.gz"))
2565 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
2566 (build-system perl-build-system)
2568 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2569 ("perl-module-build" ,perl-module-build)
2570 ("perl-test-exception" ,perl-test-exception)
2571 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2572 (home-page "https://metacpan.org/release/CGI-Simple")
2573 (synopsis "CGI interface that is CGI.pm compliant")
2574 (description "CGI::Simple provides a relatively lightweight drop in
2575 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2576 parameter parsing, file upload, cookie handling and header generation.")
2577 (license license:perl-license)))
2579 (define-public perl-cgi-struct
2581 (name "perl-cgi-struct")
2586 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2587 "CGI-Struct-" version ".tar.gz"))
2590 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2591 (build-system perl-build-system)
2593 `(("perl-test-deep" ,perl-test-deep)))
2594 (home-page "https://metacpan.org/release/CGI-Struct")
2595 (synopsis "Build structures from CGI data")
2596 (description "This is a module for building structured data from CGI
2597 inputs, in a manner reminiscent of how PHP does.")
2598 (license license:bsd-2)))
2600 (define-public perl-datetime-format-http
2602 (name "perl-datetime-format-http")
2607 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2608 "DateTime-Format-HTTP-" version ".tar.gz"))
2611 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2612 (build-system perl-build-system)
2614 `(("perl-module-build" ,perl-module-build)))
2616 `(("perl-datetime" ,perl-datetime)
2617 ("perl-http-date" ,perl-http-date)))
2618 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2619 (synopsis "Date conversion routines")
2620 (description "This module provides functions that deal with the date
2621 formats used by the HTTP protocol.")
2622 (license license:perl-license)))
2624 (define-public perl-digest-md5-file
2626 (name "perl-digest-md5-file")
2631 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2632 "Digest-MD5-File-" version ".tar.gz"))
2635 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2636 (build-system perl-build-system)
2638 `(("perl-libwww" ,perl-libwww)))
2639 (home-page "https://metacpan.org/release/Digest-MD5-File")
2640 (synopsis "MD5 sums for files and urls")
2641 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2642 for files and urls.")
2643 (license license:perl-license)))
2645 (define-public perl-encode-locale
2647 (name "perl-encode-locale")
2652 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2656 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2657 (build-system perl-build-system)
2658 (license license:perl-license)
2659 (synopsis "Perl locale encoding determination")
2661 "The POSIX locale system is used to specify both the language
2662 conventions requested by the user and the preferred character set to
2663 consume and output. The Encode::Locale module looks up the charset and
2664 encoding (called a CODESET in the locale jargon) and arranges for the
2665 Encode module to know this encoding under the name \"locale\". It means
2666 bytes obtained from the environment can be converted to Unicode strings
2667 by calling Encode::encode(locale => $bytes) and converted back again
2668 with Encode::decode(locale => $string).")
2669 (home-page "https://metacpan.org/release/Encode-Locale")))
2671 (define-public perl-feed-find
2673 (name "perl-feed-find")
2677 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2678 "Feed-Find-" version ".tar.gz"))
2681 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2682 (build-system perl-build-system)
2684 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2687 (modify-phases %standard-phases
2688 (add-after 'unpack 'set-env
2689 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2691 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2692 ("perl-html-parser" ,perl-html-parser)
2693 ("perl-libwww" ,perl-libwww)
2694 ("perl-uri" ,perl-uri)))
2695 (home-page "https://metacpan.org/release/Feed-Find")
2696 (synopsis "Syndication feed auto-discovery")
2697 (description "@code{Feed::Find} implements feed auto-discovery for finding
2698 syndication feeds, given a URI. It will discover the following feed formats:
2699 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2700 (license license:perl-license)))
2702 (define-public perl-file-listing
2704 (name "perl-file-listing")
2709 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2713 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2714 (build-system perl-build-system)
2716 `(("perl-http-date" ,perl-http-date)))
2717 (license license:perl-license)
2718 (synopsis "Perl directory listing parser")
2720 "The File::Listing module exports a single function called parse_dir(),
2721 which can be used to parse directory listings.")
2722 (home-page "https://metacpan.org/release/File-Listing")))
2724 (define-public perl-finance-quote
2726 (name "perl-finance-quote")
2731 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2732 "Finance-Quote-" version ".tar.gz"))
2734 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
2735 (patches (search-patches
2736 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2737 (build-system perl-build-system)
2739 `(("perl-cgi" ,perl-cgi)
2740 ("perl-datetime" ,perl-datetime)
2741 ("perl-html-parser" ,perl-html-parser)
2742 ("perl-html-tableextract" ,perl-html-tableextract)
2743 ("perl-html-tree" ,perl-html-tree)
2744 ("perl-http-cookies" ,perl-http-cookies)
2745 ("perl-http-message" ,perl-http-message)
2746 ("perl-json" ,perl-json)
2747 ("perl-libwww" ,perl-libwww)
2748 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2749 ("perl-uri" ,perl-uri)))
2750 (home-page "https://metacpan.org/release/Finance-Quote")
2751 (synopsis "Stock and mutual fund quotes")
2753 "Finance::Quote gets stock quotes from various internet sources, including
2754 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2755 (license license:gpl2)))
2757 (define-public perl-gssapi
2759 (name "perl-gssapi")
2764 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2765 "GSSAPI-" version ".tar.gz"))
2768 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2769 (build-system perl-build-system)
2770 (inputs `(("gssapi" ,mit-krb5)))
2772 `(#:make-maker-flags
2773 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2774 (home-page "https://metacpan.org/release/GSSAPI")
2775 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2776 (description "This is a Perl extension for using GSSAPI C bindings as
2777 described in RFC 2744.")
2778 (license license:perl-license)))
2780 (define-public perl-html-element-extended
2782 (name "perl-html-element-extended")
2787 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2788 "HTML-Element-Extended-" version ".tar.gz"))
2791 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2792 (build-system perl-build-system)
2794 `(("perl-html-tree" ,perl-html-tree)))
2795 (home-page "https://metacpan.org/release/HTML-Element-Extended")
2796 (synopsis "Manipulate tables of HTML::Element")
2798 "HTML::Element::Extended is a Perl extension for manipulating a table
2799 composed of HTML::Element style components.")
2800 (license license:perl-license)))
2802 (define-public perl-html-form
2804 (name "perl-html-form")
2809 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
2810 "HTML-Form-" version ".tar.gz"))
2812 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
2813 (build-system perl-build-system)
2815 `(("perl-html-parser" ,perl-html-parser)
2816 ("perl-html-tagset" ,perl-html-tagset)
2817 ("perl-http-message" ,perl-http-message)
2818 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2819 ("perl-uri" ,perl-uri)))
2820 (home-page "https://metacpan.org/release/HTML-Form")
2821 (synopsis "Perl class representing an HTML form element")
2822 (description "Objects of the HTML::Form class represents a single HTML
2823 <form> ... </form> instance.")
2824 (license license:perl-license)))
2826 (define-public perl-html-scrubber
2828 (name "perl-html-scrubber")
2834 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2839 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
2840 (build-system perl-build-system)
2842 `(("perl-module-build" ,perl-module-build)
2843 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2844 ("perl-test-differences" ,perl-test-differences)
2845 ("perl-test-eol" ,perl-test-eol)
2846 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2847 ("perl-test-notabs" ,perl-test-notabs)))
2849 `(("perl-html-parser" ,perl-html-parser)))
2851 "https://metacpan.org/release/HTML-Scrubber")
2853 "Perl extension for scrubbing/sanitizing html")
2855 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2856 (license license:perl-license)))
2858 (define-public perl-html-lint
2860 (name "perl-html-lint")
2865 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2866 "HTML-Lint-" version ".tar.gz"))
2868 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
2869 (build-system perl-build-system)
2871 `(("perl-html-parser" ,perl-html-parser)
2872 ("perl-html-tagset" ,perl-html-tagset)
2873 ("perl-libwww" ,perl-libwww)))
2874 (home-page "https://metacpan.org/release/HTML-Lint")
2875 (synopsis "Check for HTML errors in a string or file")
2876 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2877 syntactic legitmacy.")
2878 (license license:artistic2.0)))
2880 (define-public perl-html-tableextract
2882 (name "perl-html-tableextract")
2887 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2888 "HTML-TableExtract-" version ".tar.gz"))
2891 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2892 (build-system perl-build-system)
2894 `(("perl-html-element-extended" ,perl-html-element-extended)
2895 ("perl-html-parser" ,perl-html-parser)))
2896 (home-page "https://metacpan.org/release/HTML-TableExtract")
2897 (synopsis "Extract contents from HTML tables")
2899 "HTML::TableExtract is a Perl module for extracting the content contained
2900 in tables within an HTML document, either as text or encoded element trees.")
2901 (license license:perl-license)))
2903 (define-public perl-html-tree
2905 (name "perl-html-tree")
2910 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2911 "HTML-Tree-" version ".tar.gz"))
2914 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
2915 (build-system perl-build-system)
2917 `(("perl-module-build" ,perl-module-build)
2918 ("perl-test-fatal" ,perl-test-fatal)))
2920 `(("perl-html-parser" ,perl-html-parser)
2921 ("perl-html-tagset" ,perl-html-tagset)
2922 ("perl-libwww" ,perl-libwww)))
2923 (home-page "https://metacpan.org/release/HTML-Tree")
2924 (synopsis "Work with HTML in a DOM-like tree structure")
2925 (description "This distribution contains a suite of modules for
2926 representing, creating, and extracting information from HTML syntax trees.")
2927 (license license:perl-license)))
2929 (define-public perl-html-parser
2931 (name "perl-html-parser")
2936 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2940 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2941 (build-system perl-build-system)
2943 `(("perl-html-tagset" ,perl-html-tagset)
2944 ("perl-http-message" ,perl-http-message)))
2945 (license license:perl-license)
2946 (synopsis "Perl HTML parser class")
2948 "Objects of the HTML::Parser class will recognize markup and separate
2949 it from plain text (alias data content) in HTML documents. As different
2950 kinds of markup and text are recognized, the corresponding event handlers
2952 (home-page "https://metacpan.org/release/HTML-Parser")))
2954 (define-public perl-html-tagset
2956 (name "perl-html-tagset")
2961 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2965 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2966 (build-system perl-build-system)
2967 (license license:perl-license)
2968 (synopsis "Perl data tables useful in parsing HTML")
2970 "The HTML::Tagset module contains several data tables useful in various
2971 kinds of HTML parsing operations.")
2972 (home-page "https://metacpan.org/release/HTML-Tagset")))
2974 (define-public perl-html-template
2976 (name "perl-html-template")
2980 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2981 "HTML-Template-" version ".tar.gz"))
2984 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2985 (build-system perl-build-system)
2987 `(("perl-cgi" ,perl-cgi)))
2988 (home-page "https://metacpan.org/release/HTML-Template")
2989 (synopsis "HTML-like templates")
2991 "This module attempts to make using HTML templates simple and natural.
2992 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2993 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2994 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2995 these new tags is called a template. Using this module you fill in the values
2996 for the variables, loops and branches declared in the template. This allows
2997 you to separate design from the data.")
2998 (license license:perl-license)))
3000 (define-public perl-http-body
3002 (name "perl-http-body")
3007 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3008 "HTTP-Body-" version ".tar.gz"))
3011 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3012 (build-system perl-build-system)
3014 `(("perl-test-deep" ,perl-test-deep)))
3016 `(("perl-file-temp" ,perl-file-temp)
3017 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3018 (home-page "https://metacpan.org/release/HTTP-Body")
3019 (synopsis "HTTP Body Parser")
3020 (description "HTTP::Body parses chunks of HTTP POST data and supports
3021 application/octet-stream, application/json, application/x-www-form-urlencoded,
3022 and multipart/form-data.")
3023 (license license:perl-license)))
3025 (define-public perl-http-cookiejar
3027 (name "perl-http-cookiejar")
3032 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3033 "HTTP-CookieJar-" version ".tar.gz"))
3036 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
3037 (build-system perl-build-system)
3039 `(("perl-test-deep" ,perl-test-deep)
3040 ("perl-test-requires" ,perl-test-requires)
3041 ("perl-time-mock" ,perl-time-mock)
3042 ("perl-uri" ,perl-uri)))
3044 `(("perl-time-local" ,perl-time-local)
3045 ("perl-http-date" ,perl-http-date)))
3046 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3047 (synopsis "Minimalist HTTP user agent cookie jar")
3048 (description "This module implements a minimalist HTTP user agent cookie
3049 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3050 (license license:asl2.0)))
3052 (define-public perl-http-cookies
3054 (name "perl-http-cookies")
3059 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3063 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3064 (build-system perl-build-system)
3066 `(("perl-http-message" ,perl-http-message)))
3067 (license license:perl-license)
3068 (synopsis "Perl HTTP cookie jars")
3070 "The HTTP::Cookies class is for objects that represent a cookie jar,
3071 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3072 object knows about.")
3073 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3075 (define-public perl-http-daemon
3077 (name "perl-http-daemon")
3082 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3086 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3087 (build-system perl-build-system)
3089 `(("perl-http-message" ,perl-http-message)
3090 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3091 (license license:perl-license)
3092 (synopsis "Perl simple http server class")
3094 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3095 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3096 IO::Socket::INET, so you can perform socket operations directly on it too.")
3097 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3099 (define-public perl-http-date
3101 (name "perl-http-date")
3106 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
3110 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
3111 (build-system perl-build-system)
3112 (license license:perl-license)
3113 (synopsis "Perl date conversion routines")
3115 "The HTTP::Date module provides functions that deal with date formats
3116 used by the HTTP protocol (and then some more).")
3117 (home-page "https://metacpan.org/release/HTTP-Date")))
3119 (define-public perl-http-message
3121 (name "perl-http-message")
3126 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3130 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3131 (build-system perl-build-system)
3133 `(("perl-try-tiny" ,perl-try-tiny)))
3135 `(("perl-encode-locale" ,perl-encode-locale)
3136 ("perl-http-date" ,perl-http-date)
3137 ("perl-io-html" ,perl-io-html)
3138 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3139 ("perl-uri" ,perl-uri)))
3140 (license license:perl-license)
3141 (synopsis "Perl HTTP style message")
3143 "An HTTP::Message object contains some headers and a content body.")
3144 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3146 (define-public perl-http-negotiate
3148 (name "perl-http-negotiate")
3153 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3157 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3158 (build-system perl-build-system)
3160 `(("perl-http-message" ,perl-http-message)))
3161 (license license:perl-license)
3162 (synopsis "Perl http content negotiation")
3164 "The HTTP::Negotiate module provides a complete implementation of the
3165 HTTP content negotiation algorithm specified in
3166 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3167 the selection of a preferred content representation based upon attributes
3168 of the negotiable variants and the value of the various Accept* header
3169 fields in the request.")
3170 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3172 (define-public perl-http-parser
3174 (name "perl-http-parser")
3179 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3180 "HTTP-Parser-" version ".tar.gz"))
3183 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3184 (build-system perl-build-system)
3186 `(("perl-http-message" ,perl-http-message)
3187 ("perl-uri" ,perl-uri)))
3188 (home-page "https://metacpan.org/release/HTTP-Parser")
3189 (synopsis "Parse HTTP/1.1 requests")
3190 (description "This is an HTTP request parser. It takes chunks of text as
3191 received and returns a @code{hint} as to what is required, or returns the
3192 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3194 (license license:perl-license)))
3196 (define-public perl-http-parser-xs
3198 (name "perl-http-parser-xs")
3203 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3204 "HTTP-Parser-XS-" version ".tar.gz"))
3207 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3208 (build-system perl-build-system)
3210 `(("perl-module-install" ,perl-module-install)))
3211 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3212 (synopsis "Fast HTTP request parser")
3213 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3215 (license license:perl-license)))
3217 (define-public perl-http-request-ascgi
3219 (name "perl-http-request-ascgi")
3224 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3225 "HTTP-Request-AsCGI-" version ".tar.gz"))
3228 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3229 (build-system perl-build-system)
3231 `(("perl-class-accessor" ,perl-class-accessor)
3232 ("perl-http-message" ,perl-http-message)))
3233 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3234 (synopsis "Set up a CGI environment from an HTTP::Request")
3235 (description "This module provides a convenient way to set up a CGI
3236 environment from an HTTP::Request.")
3237 (license license:perl-license)))
3239 (define-public perl-http-server-simple
3241 (name "perl-http-server-simple")
3246 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3247 "HTTP-Server-Simple-" version ".tar.gz"))
3250 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3251 (build-system perl-build-system)
3253 `(("perl-cgi" ,perl-cgi)))
3255 ;; See the discussion of a related tests issue at
3256 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3259 #:phases (modify-phases %standard-phases
3260 (add-before 'configure 'set-search-path
3262 ;; Work around "dotless @INC" build failure.
3264 (string-append (getcwd) ":"
3265 (getenv "PERL5LIB")))
3267 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3268 (synopsis "Lightweight HTTP server")
3269 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3270 no non-core module dependencies. It can be used for building a standalone
3271 http-based UI to your existing tools.")
3272 (license license:perl-license)))
3274 (define-public perl-http-tiny
3276 (name "perl-http-tiny")
3281 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3282 "HTTP-Tiny-" version ".tar.gz"))
3285 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3286 (build-system perl-build-system)
3288 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3289 ("perl-io-socket-ip" ,perl-io-socket-ip)
3290 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3291 ("perl-mozilla-ca" ,perl-mozilla-ca)
3292 ("perl-net-ssleay" ,perl-net-ssleay)))
3293 (home-page "https://metacpan.org/release/HTTP-Tiny")
3294 (synopsis "HTTP/1.1 client")
3295 (description "This is a very simple HTTP/1.1 client, designed for doing
3296 simple requests without the overhead of a large framework like LWP::UserAgent.
3297 It supports proxies and redirection. It also correctly resumes after EINTR.")
3298 (license license:perl-license)))
3300 (define-public perl-http-tinyish
3302 (name "perl-http-tinyish")
3308 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3313 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3314 (build-system perl-build-system)
3316 `(("perl-file-which" ,perl-file-which)
3317 ("perl-ipc-run3" ,perl-ipc-run3)))
3318 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3319 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3321 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3322 @code{HTTP::Tiny}, curl and wget.
3324 It provides an API compatible to HTTP::Tiny.")
3325 (license license:perl-license)))
3327 (define-public perl-io-html
3329 (name "perl-io-html")
3334 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3338 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3339 (build-system perl-build-system)
3340 (license license:perl-license)
3341 (synopsis "Perl module to open an HTML file with automatic charset detection")
3343 "IO::HTML provides an easy way to open a file containing HTML while
3344 automatically determining its encoding. It uses the HTML5 encoding sniffing
3345 algorithm specified in section 8.2.2.1 of the draft standard.")
3346 (home-page "https://metacpan.org/release/IO-HTML")))
3348 (define-public perl-io-socket-ip
3350 (name "perl-io-socket-ip")
3355 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3356 "IO-Socket-IP-" version ".tar.gz"))
3359 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
3360 (build-system perl-build-system)
3361 (native-inputs `(("perl-module-build" ,perl-module-build)))
3362 (home-page "https://metacpan.org/release/IO-Socket-IP")
3363 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3364 (description "This module provides a protocol-independent way to use IPv4
3365 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3366 (license license:perl-license)))
3368 (define-public perl-io-socket-ssl
3370 (name "perl-io-socket-ssl")
3374 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3375 "IO-Socket-SSL-" version ".tar.gz"))
3378 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3379 (patches (search-patches
3380 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3381 (build-system perl-build-system)
3383 `(("perl-net-ssleay" ,perl-net-ssleay)
3385 ("perl-uri" ,perl-uri)))
3386 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3388 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3389 necessary functionality into the familiar IO::Socket interface and providing
3390 secure defaults whenever possible. This way existing applications can be made
3391 SSL-aware without much effort, at least if you do blocking I/O and don't use
3393 (license license:perl-license)
3394 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3396 (define-public perl-libwww
3398 (name "perl-libwww")
3403 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3407 "0jh67946fwd33ap3xy8df0421d2mr6lmhalhkf1p7dx2b7fil9wf"))))
3408 (build-system perl-build-system)
3410 `(("perl-test-fatal" ,perl-test-fatal)
3411 ("perl-test-needs" ,perl-test-needs)
3412 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3414 `(("perl-encode-locale" ,perl-encode-locale)
3415 ("perl-file-listing" ,perl-file-listing)
3416 ("perl-html-parser" ,perl-html-parser)
3417 ("perl-http-cookies" ,perl-http-cookies)
3418 ("perl-http-daemon" ,perl-http-daemon)
3419 ("perl-http-date" ,perl-http-date)
3420 ("perl-http-message" ,perl-http-message)
3421 ("perl-http-negotiate" ,perl-http-negotiate)
3422 ("perl-net-http" ,perl-net-http)
3423 ("perl-try-tiny" ,perl-try-tiny)
3424 ("perl-uri" ,perl-uri)
3425 ("perl-www-robotrules" ,perl-www-robotrules)))
3426 (license license:perl-license)
3427 (synopsis "Perl modules for the WWW")
3429 "The libwww-perl collection is a set of Perl modules which provides a
3430 simple and consistent application programming interface to the
3431 World-Wide Web. The main focus of the library is to provide classes
3432 and functions that allow you to write WWW clients. The library also
3433 contains modules that are of more general use and even classes that
3434 help you implement simple HTTP servers.")
3435 (home-page "https://metacpan.org/release/libwww-perl")))
3437 (define-public perl-lwp-online
3439 (name "perl-lwp-online")
3445 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3449 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3450 (build-system perl-build-system)
3452 `(("perl-libwww" ,perl-libwww)
3453 ("perl-uri" ,perl-uri)))
3455 `(("perl-module-install" ,perl-module-install)))
3456 (home-page "https://metacpan.org/release/LWP-Online")
3457 (synopsis "Checks whether your process has access to the web")
3458 (description "This module attempts to answer, as accurately as it can, one
3459 of the nastiest technical questions there is: am I on the internet?
3461 A host of networking and security issues make this problem very difficult.
3462 There are firewalls, proxies (both well behaved and badly behaved). We might
3463 not have DNS. We might not have a network card at all!")
3464 (license license:perl-license)))
3466 (define-public perl-lwp-mediatypes
3468 (name "perl-lwp-mediatypes")
3473 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
3477 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
3478 (build-system perl-build-system)
3479 (license license:perl-license)
3480 (synopsis "Perl module to guess the media type for a file or a URL")
3482 "The LWP::MediaTypes module provides functions for handling media (also
3483 known as MIME) types and encodings. The mapping from file extensions to
3484 media types is defined by the media.types file. If the ~/.media.types file
3485 exists it is used instead.")
3486 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3488 (define-public perl-lwp-protocol-https
3490 (name "perl-lwp-protocol-https")
3495 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3496 "LWP-Protocol-https-" version ".tar.gz"))
3499 "1rxrpwylfw1afah0nk96kgkwjbl2p1a7lwx50iipg8c4rx3cjb2j"))))
3500 (build-system perl-build-system)
3503 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3505 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3506 ("perl-libwww" ,perl-libwww)
3507 ;; Users should instead make sure SSL_ca_path is set properly.
3508 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3509 ("perl-net-http" ,perl-net-http)))
3510 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3511 (synopsis "HTTPS support for LWP::UserAgent")
3512 (description "The LWP::Protocol::https module provides support for using
3513 https schemed URLs with LWP.")
3514 (license license:perl-license)))
3516 (define-public perl-lwp-useragent-cached
3518 (name "perl-lwp-useragent-cached")
3523 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3524 "LWP-UserAgent-Cached-" version ".tar.gz"))
3527 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3528 (build-system perl-build-system)
3530 `(("perl-libwww" ,perl-libwww)))
3531 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3532 (synopsis "Simple caching for LWP::UserAgent")
3533 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3534 cache support. It returns responses from the local filesystem if available
3535 instead of making an HTTP request.")
3536 (license license:perl-license)))
3538 (define-public perl-lwp-useragent-determined
3540 (name "perl-lwp-useragent-determined")
3545 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3546 "LWP-UserAgent-Determined-" version ".tar.gz"))
3549 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3550 (build-system perl-build-system)
3552 `(("perl-libwww" ,perl-libwww)))
3553 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3554 (synopsis "Virtual browser that retries errors")
3555 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3556 except that when you use it to get a web page but run into a
3557 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3558 and retry a few times.")
3559 (license license:perl-license)))
3561 (define-public perl-net-amazon-s3
3563 (name "perl-net-amazon-s3")
3568 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3569 "Net-Amazon-S3-" version ".tar.gz"))
3572 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3573 (patches (search-patches
3574 "perl-net-amazon-s3-moose-warning.patch"))))
3575 (build-system perl-build-system)
3577 `(("perl-libwww" ,perl-libwww)
3578 ("perl-test-exception" ,perl-test-exception)))
3580 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3581 ("perl-datetime-format-http" ,perl-datetime-format-http)
3582 ("perl-digest-hmac" ,perl-digest-hmac)
3583 ("perl-digest-md5-file" ,perl-digest-md5-file)
3584 ("perl-file-find-rule" ,perl-file-find-rule)
3585 ("perl-http-date" ,perl-http-date)
3586 ("perl-http-message" ,perl-http-message)
3587 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3588 ("perl-mime-types" ,perl-mime-types)
3589 ("perl-moose" ,perl-moose)
3590 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3591 ("perl-moosex-types-datetime-morecoercions"
3592 ,perl-moosex-types-datetime-morecoercions)
3593 ("perl-path-class" ,perl-path-class)
3594 ("perl-regexp-common" ,perl-regexp-common)
3595 ("perl-term-encoding" ,perl-term-encoding)
3596 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3597 ("perl-uri" ,perl-uri)
3598 ("perl-xml-libxml" ,perl-xml-libxml)))
3599 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3600 (synopsis "Perl interface to Amazon S3")
3601 (description "This module provides a Perlish interface to Amazon S3.")
3602 (license license:perl-license)))
3604 (define-public perl-net-http
3606 (name "perl-net-http")
3611 "mirror://cpan/authors/id/O/OA/OALDERS/"
3612 "Net-HTTP-" version ".tar.gz"))
3615 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
3616 (build-system perl-build-system)
3618 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3619 ("perl-uri" ,perl-uri)))
3620 (license license:perl-license)
3621 (synopsis "Perl low-level HTTP connection (client)")
3623 "The Net::HTTP class is a low-level HTTP client. An instance of the
3624 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3625 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3627 (home-page "https://metacpan.org/release/Net-HTTP")))
3629 (define-public perl-net-server
3631 (name "perl-net-server")
3636 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3637 "Net-Server-" version ".tar.gz"))
3640 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3641 (build-system perl-build-system)
3642 (home-page "https://metacpan.org/release/Net-Server")
3643 (synopsis "Extensible Perl server engine")
3644 (description "Net::Server is an extensible, generic Perl server engine.
3645 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3646 It includes with it the ability to run as an inetd
3647 process (Net::Server::INET), a single connection server (Net::Server or
3648 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3649 server which maintains a constant number of preforked
3650 children (Net::Server::PreForkSimple), or as a managed preforking server which
3651 maintains the number of children based on server load (Net::Server::PreFork).
3652 In all but the inetd type, the server provides the ability to connect to one
3653 or to multiple server ports.")
3654 (license license:perl-license)))
3656 (define-public perl-net-smtp-ssl
3658 (name "perl-net-smtp-ssl")
3663 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3664 "Net-SMTP-SSL-" version ".tar.gz"))
3667 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3668 (build-system perl-build-system)
3670 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3671 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
3672 (synopsis "SSL support for Net::SMTP")
3673 (description "SSL support for Net::SMTP.")
3674 (license license:perl-license)))
3676 (define-public perl-plack
3683 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3684 "Plack-" version ".tar.gz"))
3687 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3688 (build-system perl-build-system)
3690 `(("perl-test-requires" ,perl-test-requires)
3691 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3693 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3694 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3695 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3696 ("perl-file-sharedir" ,perl-file-sharedir)
3697 ("perl-hash-multivalue" ,perl-hash-multivalue)
3698 ("perl-http-body" ,perl-http-body)
3699 ("perl-http-message" ,perl-http-message)
3700 ("perl-http-tiny" ,perl-http-tiny)
3701 ("perl-libwww" ,perl-libwww)
3702 ("perl-stream-buffered" ,perl-stream-buffered)
3703 ("perl-test-tcp" ,perl-test-tcp)
3704 ("perl-try-tiny" ,perl-try-tiny)
3705 ("perl-uri" ,perl-uri)))
3706 (home-page "https://metacpan.org/release/Plack")
3707 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3708 (description "Plack is a set of tools for using the PSGI stack. It
3709 contains middleware components, a reference server, and utilities for Web
3710 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3712 (license license:perl-license)))
3714 (define-public perl-plack-middleware-deflater
3716 (name "perl-plack-middleware-deflater")
3722 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
3723 "Plack-Middleware-Deflater-" version ".tar.gz"))
3726 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
3727 (build-system perl-build-system)
3729 `(("perl-module-install" ,perl-module-install)
3730 ("perl-test-requires" ,perl-test-requires)))
3732 `(("perl-plack" ,perl-plack)))
3733 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
3734 (synopsis "Compress response body with Gzip or Deflate")
3736 "Plack::Middleware::Deflater is a middleware to encode your response body
3737 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
3738 would save the bandwidth a little bit but should increase the Plack server
3739 load, so ideally you should handle this on the frontend reverse proxy
3741 (license license:perl-license)))
3743 (define-public perl-plack-middleware-fixmissingbodyinredirect
3745 (name "perl-plack-middleware-fixmissingbodyinredirect")
3750 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3751 "Plack-Middleware-FixMissingBodyInRedirect-"
3755 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3756 (build-system perl-build-system)
3758 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3759 ("perl-http-message" ,perl-http-message)
3760 ("perl-plack" ,perl-plack))) ;for Plack::Test
3762 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
3763 (synopsis "Plack::Middleware which sets body for redirect response")
3764 (description "This module sets the body in redirect response, if it's not
3766 (license license:perl-license)))
3768 (define-public perl-plack-middleware-methodoverride
3770 (name "perl-plack-middleware-methodoverride")
3775 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3776 "Plack-Middleware-MethodOverride-"
3779 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
3780 (build-system perl-build-system)
3782 `(("perl-module-build" ,perl-module-build)))
3784 `(("perl-plack" ,perl-plack)))
3785 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
3786 (synopsis "Override REST methods to Plack apps via POST")
3787 (description "This middleware allows for POST requests that pretend to be
3788 something else: by adding either a header named X-HTTP-Method-Override to the
3789 request, or a query parameter named x-tunneled-method to the URI, the client
3790 can say what method it actually meant.")
3791 (license license:perl-license)))
3793 (define-public perl-plack-middleware-removeredundantbody
3795 (name "perl-plack-middleware-removeredundantbody")
3800 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3801 "Plack-Middleware-RemoveRedundantBody-"
3804 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
3805 (build-system perl-build-system)
3807 `(("perl-plack" ,perl-plack)))
3809 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
3810 (synopsis "Plack::Middleware which removes body for HTTP response")
3811 (description "This module removes the body in an HTTP response if it's not
3813 (license license:perl-license)))
3815 (define-public perl-plack-middleware-reverseproxy
3817 (name "perl-plack-middleware-reverseproxy")
3822 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3823 "Plack-Middleware-ReverseProxy-"
3826 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
3827 (build-system perl-build-system)
3829 `(("perl-module-install" ,perl-module-install)))
3831 `(("perl-plack" ,perl-plack)))
3832 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
3833 (synopsis "Supports app to run as a reverse proxy backend")
3834 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3835 which are changed by reverse-proxy. You can specify the reverse proxy address
3836 and stop fake requests using @code{enable_if} directive in your app.psgi.")
3837 (license license:perl-license)))
3839 (define-public perl-plack-test-externalserver
3841 (name "perl-plack-test-externalserver")
3846 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3847 "Plack-Test-ExternalServer-" version ".tar.gz"))
3849 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
3850 (build-system perl-build-system)
3852 `(("perl-plack" ,perl-plack)))
3853 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
3854 (synopsis "Run HTTP tests on external live servers")
3855 (description "This module allows your to run your Plack::Test tests
3856 against an external server instead of just against a local application through
3857 either mocked HTTP or a locally spawned server.")
3858 (license license:perl-license)))
3860 (define-public perl-test-tcp
3862 (name "perl-test-tcp")
3867 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3868 "Test-TCP-" version ".tar.gz"))
3870 (base32 "1djnaw1yli0kcd7azchqnp59l62f6mp13q50xyrjirpaxhd51j32"))))
3871 (build-system perl-build-system)
3873 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3874 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3875 (home-page "https://metacpan.org/release/Test-TCP")
3876 (synopsis "Testing TCP programs")
3877 (description "Test::TCP is test utilities for TCP/IP programs.")
3878 (license license:perl-license)))
3880 (define-public perl-test-www-mechanize
3882 (name "perl-test-www-mechanize")
3887 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3888 "Test-WWW-Mechanize-" version ".tar.gz"))
3890 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
3891 (build-system perl-build-system)
3893 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3894 ("perl-html-form" ,perl-html-form)
3895 ("perl-html-lint" ,perl-html-lint)
3896 ("perl-http-server-simple" ,perl-http-server-simple)
3897 ("perl-libwww" ,perl-libwww)
3898 ("perl-test-longstring" ,perl-test-longstring)
3899 ("perl-www-mechanize" ,perl-www-mechanize)))
3900 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
3901 (synopsis "Testing-specific WWW::Mechanize subclass")
3902 (description "Test::WWW::Mechanize is a subclass of the Perl module
3903 WWW::Mechanize that incorporates features for web application testing.")
3904 (license license:artistic2.0)))
3906 (define-public perl-test-www-mechanize-catalyst
3908 (name "perl-test-www-mechanize-catalyst")
3913 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
3914 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3916 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
3917 (build-system perl-build-system)
3919 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3920 ("perl-catalyst-plugin-session-state-cookie"
3921 ,perl-catalyst-plugin-session-state-cookie)
3922 ("perl-module-install" ,perl-module-install)
3923 ("perl-test-exception" ,perl-test-exception)
3924 ("perl-test-pod" ,perl-test-pod)
3925 ("perl-test-utf8" ,perl-test-utf8)))
3927 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3928 ("perl-class-load" ,perl-class-load)
3929 ("perl-libwww" ,perl-libwww)
3930 ("perl-moose" ,perl-moose)
3931 ("perl-namespace-clean" ,perl-namespace-clean)
3932 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3933 ("perl-www-mechanize" ,perl-www-mechanize)))
3934 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
3935 (synopsis "Test::WWW::Mechanize for Catalyst")
3936 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3937 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3938 testing of Catalyst applications without needing to start up a web server.")
3939 (license license:perl-license)))
3941 (define-public perl-test-www-mechanize-psgi
3943 (name "perl-test-www-mechanize-psgi")
3948 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3949 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3952 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
3953 (build-system perl-build-system)
3955 `(("perl-test-pod" ,perl-test-pod)))
3957 `(("perl-plack" ,perl-plack)
3958 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3959 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
3960 (synopsis "Test PSGI programs using WWW::Mechanize")
3961 (description "PSGI is a specification to decouple web server environments
3962 from web application framework code. Test::WWW::Mechanize is a subclass of
3963 WWW::Mechanize that incorporates features for web application testing. The
3964 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3966 (license license:perl-license)))
3968 (define-public perl-uri
3974 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3975 "URI-" version ".tar.gz"))
3978 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
3979 (build-system perl-build-system)
3982 `(("perl-test-needs" ,perl-test-needs)))
3983 (license license:perl-license)
3984 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3986 "The URI module implements the URI class. Objects of this class
3987 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3988 and updated by RFC 2732.")
3989 (home-page "https://metacpan.org/release/URI")))
3991 (define-public perl-uri-fetch
3993 (name "perl-uri-fetch")
3997 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3998 "URI-Fetch-" version ".tar.gz"))
4001 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4002 (build-system perl-build-system)
4004 `(#:tests? #f)) ; Tests require internet connection to succeed
4006 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4007 ("perl-libwww" ,perl-libwww)
4008 ("perl-uri" ,perl-uri)))
4009 (home-page "https://metacpan.org/release/URI-Fetch")
4010 (synopsis "Smart URI fetching/caching")
4011 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4012 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4013 and time-saving way.")
4014 (license license:perl-license)))
4016 (define-public perl-uri-find
4018 (name "perl-uri-find")
4019 (version "20160806")
4023 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4024 "URI-Find-" version ".tar.gz"))
4027 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4028 (build-system perl-build-system)
4030 `(("perl-module-build" ,perl-module-build)))
4032 `(("perl-uri" ,perl-uri)))
4033 (home-page "https://metacpan.org/release/URI-Find")
4034 (synopsis "Find URIs in arbitrary text")
4035 (description "This module finds URIs and URLs (according to what URI.pm
4036 considers a URI) in plain text. It only finds URIs which include a
4037 scheme (http:// or the like), for something a bit less strict, consider
4038 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4039 (license license:perl-license)))
4041 (define-public perl-uri-ws
4043 (name "perl-uri-ws")
4048 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4049 "URI-ws-" version ".tar.gz"))
4052 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4053 (build-system perl-build-system)
4055 `(("perl-uri" ,perl-uri)))
4056 (home-page "https://metacpan.org/release/URI-ws")
4057 (synopsis "WebSocket support for URI package")
4058 (description "With this module, the URI package provides the same set of
4059 methods for WebSocket URIs as it does for HTTP URIs.")
4060 (license license:perl-license)))
4062 (define-public perl-uri-template
4064 (name "perl-uri-template")
4068 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4072 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4073 (build-system perl-build-system)
4075 `(("perl-uri" ,perl-uri)))
4077 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4078 ("perl-test-pod" ,perl-test-pod)
4079 ("perl-module-install" ,perl-module-install)
4080 ("perl-json" ,perl-json)))
4081 (home-page "https://metacpan.org/release/URI-Template")
4082 (synopsis "Object for handling URI templates")
4083 (description "This perl module provides a wrapper around URI templates as described in
4085 (license license:perl-license)))
4087 (define-public perl-www-curl
4089 (name "perl-www-curl")
4094 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4096 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
4099 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4100 (build-system perl-build-system)
4102 '(#:tests? #f ;XXX: tests require network access
4104 #:phases (modify-phases %standard-phases
4105 (add-before 'configure 'set-search-path
4107 ;; Work around "dotless @INC" build failure.
4109 (string-append (getcwd) ":"
4110 (getenv "PERL5LIB")))
4113 `(("perl-module-install" ,perl-module-install)))
4114 (inputs `(("curl" ,curl)))
4115 (synopsis "Perl extension interface for libcurl")
4117 "This is a Perl extension interface for the libcurl file downloading
4119 (license license:perl-license)
4120 (home-page "https://metacpan.org/release/WWW-Curl")))
4122 (define-public perl-www-mechanize
4124 (name "perl-www-mechanize")
4129 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4130 "WWW-Mechanize-" version ".tar.gz"))
4132 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4133 (build-system perl-build-system)
4134 (native-inputs ;only for tests
4135 `(("perl-cgi" ,perl-cgi)
4136 ("perl-test-deep" ,perl-test-deep)
4137 ("perl-test-fatal" ,perl-test-fatal)
4138 ("perl-test-output" ,perl-test-output)
4139 ("perl-test-warnings" ,perl-test-warnings)))
4141 `(("perl-html-form" ,perl-html-form)
4142 ("perl-html-parser" ,perl-html-parser)
4143 ("perl-html-tree" ,perl-html-tree)
4144 ("perl-http-message" ,perl-http-message)
4145 ("perl-http-server-simple" ,perl-http-server-simple)
4146 ("perl-libwww" ,perl-libwww)
4147 ("perl-test-warn" ,perl-test-warn)
4148 ("perl-uri" ,perl-uri)))
4149 (home-page "https://metacpan.org/release/WWW-Mechanize")
4150 (synopsis "Web browsing in a Perl object")
4151 (description "WWW::Mechanize is a Perl module for stateful programmatic
4152 web browsing, used for automating interaction with websites.")
4153 (license license:perl-license)))
4155 (define-public perl-www-opensearch
4157 (name "perl-www-opensearch")
4161 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4162 "WWW-OpenSearch-" version ".tar.gz"))
4165 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4166 (build-system perl-build-system)
4168 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4169 ("perl-datetime" ,perl-datetime)
4170 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4171 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4172 ("perl-feed-find" ,perl-feed-find)
4173 ("perl-module-install" ,perl-module-install)
4174 ("perl-module-pluggable" ,perl-module-pluggable)
4175 ("perl-uri-fetch" ,perl-uri-fetch)
4176 ("perl-test-simple" ,perl-test-simple)
4177 ("perl-xml-atom" ,perl-xml-atom)
4178 ("perl-xml-rss" ,perl-xml-rss)))
4180 `(("perl-data-page" ,perl-data-page)
4181 ("perl-libwww" ,perl-libwww)
4182 ("perl-uri" ,perl-uri)
4183 ("perl-uri-template" ,perl-uri-template)
4184 ("perl-xml-feed" ,perl-xml-feed)
4185 ("perl-xml-libxml" ,perl-xml-libxml)))
4186 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4187 (synopsis "Search A9 OpenSearch compatible engines")
4189 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4190 http://opensearch.a9.com} compatible search engines.")
4191 (license license:perl-license)))
4193 (define-public perl-www-robotrules
4195 (name "perl-www-robotrules")
4200 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4204 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4205 (build-system perl-build-system)
4207 `(("perl-uri" ,perl-uri)))
4208 (license license:perl-license)
4209 (synopsis "Perl database of robots.txt-derived permissions")
4211 "The WWW::RobotRules module parses /robots.txt files as specified in
4212 \"A Standard for Robot Exclusion\", at
4213 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4214 /robots.txt file to forbid conforming robots from accessing parts of
4216 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4218 (define-public python-feedparser
4220 (name "python-feedparser")
4225 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4228 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4229 (build-system python-build-system)
4233 "https://github.com/kurtmckee/feedparser")
4234 (synopsis "Parse feeds in Python")
4236 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4237 CDF, Atom 0.3, and Atom 1.0 feeds.")
4238 (license (list license:bsd-2 ; source code
4239 license:freebsd-doc)))) ; documentation
4241 (define-public python2-feedparser
4242 (package-with-python2 python-feedparser))
4244 (define-public guix-data-service
4245 (let ((commit "bf25a8db0278b49ef2149c69ef5d6dd2201fd413")
4248 (name "guix-data-service")
4249 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4253 (url "https://git.savannah.gnu.org/git/guix/data-service.git")
4255 (file-name (git-file-name name version))
4258 "0s6faybczdn10zwrkn22nfq5lvf538513hbmjfaqlkhfmwc4s1qd"))))
4259 (build-system gnu-build-system)
4261 '(#:modules ((guix build utils)
4262 (guix build gnu-build-system)
4265 #:test-target "check-with-tmp-database"
4267 (modify-phases %standard-phases
4268 (add-before 'build 'set-GUILE_AUTO_COMPILE
4270 ;; To avoid errors relating to guild
4271 (setenv "GUILE_AUTO_COMPILE" "0")
4273 (add-after 'install 'wrap-executable
4274 (lambda* (#:key inputs outputs #:allow-other-keys)
4275 (let* ((out (assoc-ref outputs "out"))
4276 (bin (string-append out "/bin"))
4277 (guile (assoc-ref inputs "guile"))
4278 (guile-effective-version
4280 (open-pipe* OPEN_READ
4281 (string-append guile "/bin/guile")
4282 "-c" "(display (effective-version))")))
4283 (scm (string-append out "/share/guile/site/"
4284 guile-effective-version))
4285 (go (string-append out "/lib/guile/"
4286 guile-effective-version
4290 (wrap-program (string-append bin "/" file)
4293 `("GUILE_LOAD_PATH" ":" prefix
4294 (,scm ,(getenv "GUILE_LOAD_PATH")))
4295 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4296 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4297 '("guix-data-service"
4298 "guix-data-service-process-branch-updated-email"
4299 "guix-data-service-process-branch-updated-mbox"
4300 "guix-data-service-process-job"
4301 "guix-data-service-process-jobs"
4302 "guix-data-service-manage-build-servers"
4303 "guix-data-service-query-build-servers"))
4305 (delete 'strip)))) ; As the .go files aren't compatible
4308 ("guile-fibers" ,guile-fibers)
4309 ("guile-json" ,guile-json-3)
4310 ("guile-email" ,guile-email)
4311 ("guile-squee" ,guile-squee)
4312 ("postgresql" ,postgresql)
4313 ("sqitch" ,sqitch)))
4315 `(("guile" ,guile-2.2)
4316 ("autoconf" ,autoconf)
4317 ("automake" ,automake)
4318 ("ephemeralpg" ,ephemeralpg)
4319 ("emacs-minimal" ,emacs-minimal)
4320 ("emacs-htmlize" ,emacs-htmlize)
4321 ("pkg-config" ,pkg-config)))
4322 (synopsis "Store and provide data about GNU Guix")
4324 "The Guix Data Service stores data about GNU Guix, and provides this
4325 through a web interface. It supports listening to the guix-commits mailing
4326 list to find out about new revisions, then loads the data from these in to a
4327 PostgreSQL database.")
4328 (home-page "http://data.guix.gnu.org/")
4329 (license license:agpl3+))))
4331 (define-public gumbo-parser
4333 (name "gumbo-parser")
4338 (url "https://github.com/google/gumbo-parser")
4339 (commit (string-append "v" version))))
4340 (file-name (git-file-name name version))
4343 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4344 (build-system gnu-build-system)
4346 `(#:tests? #f)) ;tests require bundling googletest sources
4347 ;; The release tarball lacks the generated files.
4349 `(("autoconf" ,autoconf)
4350 ("automake" ,automake)
4351 ("libtool" ,libtool)))
4352 (home-page "https://github.com/google/gumbo-parser")
4353 (synopsis "HTML5 parsing library")
4355 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4356 a pure C99 library.")
4357 (license license:asl2.0)))
4359 (define-public uwsgi
4365 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4369 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4370 (build-system gnu-build-system)
4371 (outputs '("out" "python"))
4373 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4374 ;; But there is no obvious way to run the real tests.
4377 (modify-phases %standard-phases
4379 ;; Configuration is done by writing an ini file.
4380 (lambda* (#:key outputs #:allow-other-keys)
4381 (let* ((out (assoc-ref outputs "out"))
4382 (bindir (string-append out "/bin"))
4383 (plugindir (string-append out "/lib/uwsgi")))
4384 ;; The build phase outputs files to these directories directly.
4387 ;; XXX: Enable other plugins.
4388 (call-with-output-file "buildconf/guix.ini"
4390 (format port "[uwsgi]
4396 plugins = cgi,python
4398 " bindir plugindir))))
4399 (setenv "PROFILE" "guix")
4402 ;; Move plugins into their own output.
4403 (lambda* (#:key outputs #:allow-other-keys)
4404 (let* ((out (assoc-ref outputs "out"))
4405 (plugindir (string-append out "/lib/uwsgi"))
4406 (python-plugin (string-append
4407 plugindir "/python_plugin.so")))
4408 (install-file python-plugin
4410 (assoc-ref outputs "python") "/lib/uwsgi"))
4411 (delete-file python-plugin)
4414 `(("pkg-config" ,pkg-config)
4415 ("python" ,python-wrapper)))
4417 `(("jansson" ,jansson)
4418 ("libxml2" ,libxml2)
4419 ("libyaml" ,libyaml)
4420 ("openssl" ,openssl)
4424 ("python" ,python)))
4425 (home-page "https://uwsgi-docs.readthedocs.org/")
4426 (synopsis "Application container server")
4428 "uWSGI presents a complete stack for networked/clustered web applications,
4429 implementing message/object passing, caching, RPC and process management.
4430 It uses the uwsgi protocol for all the networking/interprocess communications.")
4431 (license license:gpl2+))) ; with linking exception
4440 (uri (string-append "https://github.com/stedolan/jq"
4441 "/releases/download/jq-" version
4442 "/jq-" version ".tar.gz"))
4444 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4445 (modules '((guix build utils)))
4448 ;; Remove bundled onigurama.
4449 (delete-file-recursively "modules")
4452 `(("oniguruma" ,oniguruma)))
4454 `(;; TODO fix gems to generate documentation
4456 ;;("bundler" ,bundler)
4457 ("valgrind" ,valgrind)))
4458 (build-system gnu-build-system)
4459 (home-page "http://stedolan.github.io/jq/")
4460 (synopsis "Command-line JSON processor")
4461 (description "jq is like sed for JSON data – you can use it to slice and
4462 filter and map and transform structured data with the same ease that sed, awk,
4463 grep and friends let you play with text. It is written in portable C. jq can
4464 mangle the data format that you have into the one that you want with very
4465 little effort, and the program to do so is often shorter and simpler than
4467 (license (list license:expat license:cc-by3.0))))
4469 (define-public uhttpmock
4476 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4477 name "-" version ".tar.xz"))
4480 "163py4klka423x7li2b685gmg3a6hjf074mlff2ajhmi3l0lm8x6"))))
4481 (build-system glib-or-gtk-build-system)
4483 `(("gobject-introspection" ,gobject-introspection)
4485 ("glib-networking" ,glib-networking)
4486 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4487 ("pkg-config" ,pkg-config)))
4489 `(("libsoup" ,libsoup)))
4490 (home-page "https://gitlab.com/groups/uhttpmock")
4491 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4493 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4494 HTTPS. It provides a library, libuhttpmock, which implements recording and
4495 playback of HTTP request/response traces.")
4496 (license license:lgpl2.1+)))
4501 (version "2012-05-31")
4505 "http://www.home.unix-ag.org/simon/woof-"
4509 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4510 (build-system trivial-build-system)
4512 '(#:modules ((guix build utils))
4515 (use-modules (guix build utils))
4516 (let* ((source (assoc-ref %build-inputs "source"))
4517 (out (assoc-ref %outputs "out"))
4518 (bin (string-append out "/bin"))
4519 (python (assoc-ref %build-inputs "python")))
4521 (with-directory-excursion bin
4522 (copy-file source "woof")
4523 (patch-shebang "woof" (list (string-append python "/bin")))
4524 (chmod "woof" #o555))
4526 (inputs `(("python" ,python-2)))
4527 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4528 (synopsis "Single file web server")
4529 (description "Woof (Web Offer One File) is a small simple web server that
4530 can easily be invoked on a single file. Your partner can access the file with
4531 tools they trust (e.g. wget).")
4532 (license license:gpl2+)))
4534 (define netsurf-buildsystem
4536 (name "netsurf-buildsystem")
4541 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4542 "buildsystem-" version ".tar.gz"))
4545 "1q23aaycv35ma5471l1gxib8lfq2s9kprrkaqgfc926d04rlbmhw"))))
4546 (build-system gnu-build-system)
4547 (inputs `(("perl" ,perl)))
4549 '(#:make-flags (list (string-append "PREFIX=" %output))
4550 #:tests? #f ;no tests
4551 #:phases (modify-phases %standard-phases
4554 (home-page "http://www.netsurf-browser.org")
4555 (synopsis "Build system for the Netsurf project")
4557 "This package provides the shared build system for Netsurf project
4559 (license license:expat)))
4561 (define netsurf-buildsystem-arguments
4562 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4563 "CC=gcc" "BUILD_CC=gcc"
4564 ,(string-append "PREFIX=" %output)
4565 ,(string-append "NSSHARED="
4566 (assoc-ref %build-inputs
4567 "netsurf-buildsystem")
4568 "/share/netsurf-buildsystem"))
4569 #:test-target "test"
4570 #:phases (modify-phases %standard-phases
4571 (delete 'configure))))
4573 (define-public libparserutils
4575 (name "libparserutils")
4580 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4581 name "-" version "-src.tar.gz"))
4584 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4585 (build-system gnu-build-system)
4587 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4588 ("pkg-config" ,pkg-config)
4589 ("perl" ,perl))) ;for test harness
4590 (arguments netsurf-buildsystem-arguments)
4591 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
4592 (synopsis "Parser building library")
4594 "LibParserUtils is a library for building efficient parsers, written in
4595 C. It is developed as part of the NetSurf project.")
4596 (license license:expat)))
4598 (define-public hubbub
4605 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4606 "libhubbub-" version "-src.tar.gz"))
4609 "1x3v7xvagx85v9h3pypzc86rcxs4mij87mmcqkp8pq50q6awfmnp"))
4610 (patches (search-patches "hubbub-sort-entities.patch"))))
4611 (build-system gnu-build-system)
4613 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4614 ("pkg-config" ,pkg-config)
4615 ("doxygen" ,doxygen)
4616 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4619 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4620 (arguments netsurf-buildsystem-arguments)
4621 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
4622 (synopsis "HTML5 compliant parsing library")
4624 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4625 parse both valid and invalid web content. It is developed as part of the
4627 (license license:expat)))
4629 (define-public ikiwiki
4632 (version "3.20190228")
4636 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4637 "20190301T035241Z/pool/main/i/ikiwiki/ikiwiki_"
4638 version ".orig.tar.xz"))
4641 "17pyblaqhkb61lxl63bzndiffism8k859p54k3k4sghclq6lsynh"))))
4642 (build-system perl-build-system)
4645 (modify-phases %standard-phases
4646 (add-after 'unpack 'include-PERL5LIB-in-wrapper
4648 (substitute* "IkiWiki/Wrapper.pm"
4649 (("^@wrapper\\_hooks")
4652 " addenv(\"PERL5LIB\", \""
4655 (add-after 'patch-source-shebangs 'patch-Makefile
4657 (substitute* "Makefile.PL"
4658 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
4660 (add-after 'install 'wrap-programs
4661 (lambda* (#:key outputs #:allow-other-keys)
4662 (let* ((out (assoc-ref outputs "out"))
4663 (bin (string-append out "/bin/"))
4664 (path (getenv "PERL5LIB")))
4665 (for-each (lambda (file)
4667 `("PERL5LIB" ":" prefix (,path))))
4672 ("perl-html-tagset" ,perl-html-tagset)
4673 ("perl-timedate" ,perl-timedate)
4674 ("perl-xml-sax" ,perl-xml-sax)
4675 ("perl-xml-simple" ,perl-xml-simple)
4676 ("gettext" ,gettext-minimal)
4677 ("subversion" ,subversion)
4681 ("mercurial" ,mercurial)))
4683 `(("python" ,python-wrapper)
4684 ("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
4685 ("perl-cgi-session" ,perl-cgi-session)
4686 ("perl-cgi-simple" ,perl-cgi-simple)
4687 ("perl-db-file" ,perl-db-file)
4688 ("perl-html-parser" ,perl-html-parser)
4689 ("perl-html-scrubber" ,perl-html-scrubber)
4690 ("perl-html-template" ,perl-html-template)
4691 ("perl-image-magick" ,perl-image-magick)
4692 ("perl-json" ,perl-json)
4693 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4694 ("perl-uri" ,perl-uri)
4695 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4696 (home-page "https://ikiwiki.info/")
4697 (synopsis "Wiki compiler, capable of generating HTML")
4699 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4700 pages, but also incorporating dynamic features like a web based editor and
4702 (license license:gpl2+)))
4704 (define-public libwapcaplet
4706 (name "libwapcaplet")
4711 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4712 "libwapcaplet-" version "-src.tar.gz"))
4715 "1fjwzbn7j8bi1b9bvwxsy3i2cr6byq2s2d29866801pjnf528g86"))))
4716 (build-system gnu-build-system)
4718 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4719 ("pkg-config" ,pkg-config)
4720 ("check" ,check))) ;for tests
4721 (arguments netsurf-buildsystem-arguments)
4722 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
4723 (synopsis "String internment library")
4725 "LibWapcaplet provides a reference counted string internment system
4726 designed to store small strings and allow rapid comparison of them. It is
4727 developed as part of the Netsurf project.")
4728 (license license:expat)))
4730 (define-public libcss
4737 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4738 "libcss-" version "-src.tar.gz"))
4741 "1vw9j3d2mr4wbvs8fyqmgslkbxknvac10456775hflxxcivbm3xr"))))
4742 (build-system gnu-build-system)
4744 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4745 ("pkg-config" ,pkg-config)
4747 (propagated-inputs ;needed for libcss.pc
4748 `(("libparserutils" ,libparserutils)
4749 ("libwapcaplet" ,libwapcaplet)))
4750 (arguments netsurf-buildsystem-arguments)
4751 (home-page "http://www.netsurf-browser.org/projects/libcss/")
4752 (synopsis "CSS parser and selection library")
4754 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4755 written in C. It is developed as part of the NetSurf project.")
4756 (license license:expat)))
4758 (define-public libdom
4765 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4766 "libdom-" version "-src.tar.gz"))
4769 "1ixkqsl3f7dl1kajksm0c231w1v5xy8z6hm3v67hgm9nh4qcvfcy"))))
4770 (build-system gnu-build-system)
4772 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4773 ("pkg-config" ,pkg-config)
4774 ("perl" ,perl) ;for test harness
4775 ("perl-libxml" ,perl-libxml)
4776 ("perl-switch" ,perl-switch)
4777 ("perl-xml-xpath" ,perl-xml-xpath)))
4779 `(("libparserutils" ,libparserutils)
4780 ("libwapcaplet" ,libwapcaplet)))
4782 `(("expat" ,expat) ;needed for headers and linking
4783 ("hubbub" ,hubbub))) ;for libdom.pc
4785 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4786 ,@netsurf-buildsystem-arguments))
4787 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4788 (synopsis "Implementation of the W3C DOM")
4790 "LibDOM is an implementation of the W3C DOM, written in C. It is
4791 developed as part of the NetSurf project.")
4792 (license license:expat)))
4794 (define-public libsvgtiny
4801 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4802 name "-" version "-src.tar.gz"))
4805 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
4806 (build-system gnu-build-system)
4808 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4809 ("pkg-config" ,pkg-config)
4810 ("gperf" ,gperf-3.0)))
4812 `(("libwapcaplet" ,libwapcaplet)))
4814 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4815 (arguments netsurf-buildsystem-arguments)
4816 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4817 (synopsis "Library for parsing SVG files")
4819 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4820 which can be rendered easily, as defined in
4821 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4823 (license license:expat)))
4825 (define-public libnsbmp
4832 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4833 name "-" version "-src.tar.gz"))
4836 "0lib2m07d1i0k80m4blkwnj0g7rha4jbm5vrgd0wwbkyfa0hvk35"))))
4837 (build-system gnu-build-system)
4839 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4840 (arguments netsurf-buildsystem-arguments)
4841 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4842 (synopsis "Decoding library for BMP and ICO files")
4844 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4845 written in C. It is developed as part of the NetSurf project.")
4846 (license license:expat)))
4848 (define-public libnsgif
4855 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4856 name "-" version "-src.tar.gz"))
4859 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
4860 (build-system gnu-build-system)
4862 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4863 (arguments netsurf-buildsystem-arguments)
4864 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4865 (synopsis "Decoding library for GIF files")
4867 "Libnsgif is a decoding library for the GIF image file format, written in
4868 C. It is developed as part of the NetSurf project.")
4869 (license license:expat)))
4871 (define-public libnslog
4878 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4879 "libnslog-" version "-src.tar.gz"))
4882 "1ggs6xvxp8fbg5w8pifalipm458ygr9ab6j2yvj8fnnmxwvdh4jd"))))
4883 (build-system gnu-build-system)
4885 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4886 ("pkg-config" ,pkg-config)
4887 ("check" ,check-0.12) ; For tests
4890 (arguments netsurf-buildsystem-arguments)
4891 (home-page "http://www.netsurf-browser.org/")
4892 (synopsis "Logging library")
4894 "Libnslog provides a category-based logging library which supports
4895 complex logging filters, multiple log levels, and provides context through to
4896 client applications. It is developed as part of the NetSurf project.")
4897 (license license:expat)))
4899 (define-public libnsutils
4906 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4907 name "-" version "-src.tar.gz"))
4910 "09w1rixps1iiq6wirjwxmd6h87llvjzvw565rahjb3rlyhcplfqf"))))
4911 (build-system gnu-build-system)
4913 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4914 (arguments netsurf-buildsystem-arguments)
4915 (home-page "http://www.netsurf-browser.org/")
4916 (synopsis "Utility library for NetSurf")
4918 "Libnsutils provides a small number of useful utility routines. It is
4919 developed as part of the NetSurf project.")
4920 (license license:expat)))
4922 (define-public libnspsl
4929 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4930 "libnspsl-" version "-src.tar.gz"))
4933 "0siq8zjfxv75i9fw6q5hkaijpdm1w3zskd5qk6vsvz8cqan4vifd"))))
4934 (build-system gnu-build-system)
4936 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4937 (arguments netsurf-buildsystem-arguments)
4938 (home-page "http://www.netsurf-browser.org/")
4939 (synopsis "Library to generate a static Public Suffix List")
4941 "Libnspsl is a library to generate a static code representation of the
4942 Public Suffix List. It is developed as part of the NetSurf project.")
4943 (license license:expat)))
4945 (define-public nsgenbind
4952 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4953 "nsgenbind-" version "-src.tar.gz"))
4956 "0rplmky4afsjwiwh7grkmcdmzg86zksa55j93dvq92f91yljwqqq"))))
4957 (build-system gnu-build-system)
4959 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4963 (substitute-keyword-arguments netsurf-buildsystem-arguments
4964 ((#:make-flags flags)
4965 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4966 (home-page "http://www.netsurf-browser.org/")
4967 (synopsis "Generate JavaScript to DOM bindings")
4969 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4970 w3c webidl files and a binding configuration file.")
4971 (license license:expat)))
4973 (define-public netsurf
4980 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4981 "releases/source/netsurf-" version "-src.tar.gz"))
4984 "1hzcm2s2wh5sapgr000lg63hcdbj6hyajxl43xa1x80kc5piqbyp"))
4985 (patches (search-patches "netsurf-system-utf8proc.patch"
4986 "netsurf-y2038-tests.patch"
4987 "netsurf-longer-test-timeout.patch"
4988 "netsurf-message-timestamp.patch"))))
4989 (build-system glib-or-gtk-build-system)
4991 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4992 ("nsgenbind" ,nsgenbind)
4993 ("libidn" ,libidn) ;only for tests
4996 ("perl-html-parser" ,perl-html-parser)
4997 ("pkg-config" ,pkg-config)
5002 ("openssl" ,openssl)
5003 ("utf8proc" ,utf8proc)
5005 ("libjpeg" ,libjpeg-turbo)
5008 ("libnsbmp" ,libnsbmp)
5009 ("libnsgif" ,libnsgif)
5010 ("libnslog" ,libnslog)
5011 ("libnspsl" ,libnspsl)
5012 ("libnsutils" ,libnsutils)
5013 ("libsvgtiny" ,libsvgtiny)
5014 ("miscfiles" ,miscfiles)))
5016 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5017 ,(string-append "PREFIX=" %output)
5018 ,(string-append "NSSHARED="
5019 (assoc-ref %build-inputs
5020 "netsurf-buildsystem")
5021 "/share/netsurf-buildsystem"))
5022 #:test-target "test"
5023 #:modules ((ice-9 rdelim)
5027 ,@%glib-or-gtk-build-system-modules)
5029 (modify-phases %standard-phases
5031 (add-after 'build 'adjust-welcome
5033 ;; First, fix some unended tags and simple substitutions
5034 (substitute* "frontends/gtk/res/welcome.html"
5035 (("<(img|input)([^>]*)>" _ tag contents)
5036 (string-append "<" tag contents " />"))
5037 (("Licence") "License") ;prefer GNU spelling
5038 ((" open source") ", free software")
5039 (("web site") "website")
5040 ;; Prefer privacy-respecting default search engine
5041 (("www.google.co.uk") "www.duckduckgo.com/html")
5042 (("Google Search") "DuckDuckGo Search")
5043 (("name=\"btnG\"") ""))
5044 ;; Remove default links so it doesn't seem we're endorsing them
5045 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5047 ;; Leave the DOCTYPE header as is
5048 (display (read-line in 'concat) out)
5050 (let rec ((sxml (xml->sxml in)))
5051 ;; We'd like to use sxml-match here, but it can't
5052 ;; match against generic tag symbols...
5054 (`(div (@ (class "links")) . ,rest)
5061 (add-before 'check 'patch-check
5062 (lambda* (#:key inputs #:allow-other-keys)
5063 (substitute* '("test/bloom.c" "test/hashtable.c")
5064 (("/usr/share/dict/words")
5065 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5067 (add-after 'install 'install-more
5068 (lambda* (#:key outputs #:allow-other-keys)
5069 (let* ((out (assoc-ref outputs "out"))
5070 (desktop (string-append out "/share/applications/"
5071 "netsurf.desktop")))
5072 (mkdir-p (dirname desktop))
5073 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5075 (substitute* desktop
5076 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk"))
5077 (("netsurf.png") (string-append out "/share/netsurf/"
5079 (install-file "docs/netsurf-gtk.1"
5080 (string-append out "/share/man/man1/"))
5082 (home-page "http://www.netsurf-browser.org")
5083 (synopsis "Web browser")
5085 "NetSurf is a lightweight web browser that has its own layout and
5086 rendering engine entirely written from scratch. It is small and capable of
5087 handling many of the web standards in use today.")
5088 (license license:gpl2+)))
5090 (define-public surfraw
5097 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5098 "2de827b2786ef2fe43b6f07913ca7b7f/"
5099 "surfraw-" version ".tar.gz"))
5101 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5102 (build-system gnu-build-system)
5105 (modify-phases %standard-phases
5106 (add-before 'configure 'patch-perl
5107 (lambda* (#:key inputs #:allow-other-keys)
5108 (let ((perl (assoc-ref inputs "perl")))
5109 (substitute* "surfraw.IN"
5111 (string-append perl "/bin/perl -e")))
5113 (add-after 'install 'compress-elvi.1sr
5114 (lambda* (#:key outputs #:allow-other-keys)
5115 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5116 ;; but elvi.1sr does not get compressed by our manpage phase.
5117 (let* ((out (assoc-ref %outputs "out"))
5118 (man (string-append out "/share/man/man1")))
5119 (with-directory-excursion man
5120 (invoke "gzip" "elvi.1sr"))))))))
5123 ("perl-www-opensearch" ,perl-www-opensearch)
5124 ("perl-html-parser" ,perl-html-parser)
5125 ("perl-libwww" ,perl-libwww)))
5126 (synopsis "Unix command line interface to the www")
5127 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5128 provides a unix command line interface to a variety of popular www search engines
5129 and similar services.")
5130 (home-page "https://surfraw.alioth.debian.org/")
5131 (license license:public-domain)))
5133 (define-public darkhttpd
5140 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5141 version ".tar.bz2"))
5144 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5145 (build-system gnu-build-system)
5147 `(#:make-flags '("CC=gcc")
5148 #:tests? #f ; No test suite
5150 (modify-phases %standard-phases
5153 (lambda* (#:key outputs #:allow-other-keys)
5154 (install-file "darkhttpd"
5155 (string-append (assoc-ref outputs "out")
5158 (synopsis "Simple static web server")
5159 (description "darkhttpd is a simple static web server. It is
5160 standalone and does not need inetd or ucspi-tcp. It does not need any
5161 config files---you only have to specify the www root.")
5162 (home-page "https://unix4lyfe.org/darkhttpd/")
5163 (license license:isc)))
5165 (define-public goaccess
5171 (uri (string-append "http://tar.goaccess.io/goaccess-"
5175 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5176 (modules '((guix build utils)))
5178 (substitute* "src/error.h"
5179 (("__DATE__") "\"1970-01-01\"")
5180 (("__TIME__") "\"00:00:00\""))
5182 (build-system gnu-build-system)
5184 ;; TODO: Add dependency on geoip-tools.
5186 ("ncurses" ,ncurses)))
5188 `(("pkg-config" ,pkg-config)))
5189 (home-page "https://goaccess.io")
5190 (synopsis "Analyze Web server logs in real time")
5192 "GoAccess is a real-time web log analyzer and interactive viewer that
5193 runs in a terminal or through your browser. It provides fast and valuable
5194 HTTP statistics for system administrators that require a visual server report
5196 (license license:x11)))
5198 (define-public httptunnel
5205 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5206 name "-" version ".tar.gz"))
5209 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5210 (modules '((guix build utils)))
5212 ;; Remove non-free IETF RFC documentation.
5213 (delete-file-recursively "doc")
5215 (build-system gnu-build-system)
5218 (modify-phases %standard-phases
5219 ;; The default configure phase tries to pass environment variables as
5220 ;; command-line arguments, which confuses the ./configure script.
5222 (lambda* (#:key outputs #:allow-other-keys)
5223 (let* ((out (assoc-ref outputs "out")))
5224 (setenv "CONFIG_SHELL" (which "bash"))
5225 (invoke "./configure"
5226 (string-append "--prefix=" out))))))))
5227 (home-page "http://www.nocrew.org/software/httptunnel.html")
5228 (synopsis "Tunnel data connections through HTTP requests")
5229 (description "httptunnel creates a bidirectional virtual data connection
5230 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5231 useful for users behind restrictive firewalls. As long as Web traffic is
5232 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5233 tools like SSH (Secure Shell) to reach the outside world.")
5234 (license license:gpl2+)))
5236 (define-public stunnel
5243 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5246 (base32 "08kb4gi9fzqngrczykvba6xhaxhq9m4wmdbhxvgrva5rasrvz13k"))))
5247 (build-system gnu-build-system)
5250 `(("iproute" ,iproute)
5252 ("procps" ,procps)))
5253 (inputs `(("openssl" ,openssl)))
5256 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5258 (modify-phases %standard-phases
5259 (add-after 'unpack 'patch-output-directories
5261 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5262 (substitute* (list "Makefile.in"
5264 "tools/Makefile.in")
5266 (string-append "/doc/" ,name "-" ,version)))
5268 (add-before 'check 'patch-tests
5270 (substitute* "tests/make_test"
5272 (string-append (which "sh") " ")))
5274 (home-page "https://www.stunnel.org")
5275 (synopsis "TLS proxy for clients or servers")
5276 (description "Stunnel is a proxy designed to add TLS encryption
5277 functionality to existing clients and servers without any changes in the
5278 programs' code. Its architecture is optimized for security, portability, and
5279 scalability (including load-balancing), making it suitable for large
5281 (license license:gpl2+)))
5283 (define-public varnish
5286 (home-page "https://varnish-cache.org/")
5290 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5293 "0xa14pd68zpi5hxcax3arl14rcmh5d1cdwa8gv4l5f23mmynr8ni"))))
5294 (build-system gnu-build-system)
5296 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5297 ;; Use absolute path of GCC so it's found at runtime.
5298 (string-append "PTHREAD_CC="
5299 (assoc-ref %build-inputs "gcc")
5301 "--localstatedir=/var")
5303 (modify-phases %standard-phases
5304 (add-after 'unpack 'use-absolute-file-names
5306 (substitute* '("bin/varnishtest/vtc_varnish.c"
5307 "bin/varnishtest/vtc_process.c"
5308 "bin/varnishd/mgt/mgt_vcc.c"
5309 "bin/varnishtest/tests/u00014.vtc")
5310 (("/bin/sh") (which "sh")))
5311 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5312 (("rm -rf") (string-append (which "rm") " -rf")))
5313 (substitute* "bin/varnishtest/vtc_main.c"
5314 (("/bin/rm") (which "rm")))
5316 (add-before 'install 'patch-Makefile
5318 (substitute* "Makefile"
5319 ;; Do not create /var/varnish during install.
5320 (("^install-data-am: install-data-local") "install-data-am: "))
5322 (add-after 'install 'wrap-varnishd
5323 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5324 ;; environment variables to avoid propagating them to profiles.
5325 (lambda* (#:key inputs outputs #:allow-other-keys)
5326 (let* ((out (assoc-ref outputs "out"))
5327 (varnishd (string-append out "/sbin/varnishd"))
5328 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5329 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5330 (wrap-program varnishd
5331 ;; Add binutils to PATH so gcc finds the 'as' executable.
5332 `("PATH" ":" prefix (,PATH))
5333 ;; Make sure 'crti.o' et.al is found.
5334 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5337 `(("pkg-config" ,pkg-config)
5338 ("python-sphinx" ,python-sphinx)
5339 ("rst2man" ,python-docutils)))
5341 `(("jemalloc" ,jemalloc)
5342 ("ncurses" ,ncurses)
5344 ("python" ,python-wrapper)
5345 ("readline" ,readline)))
5346 (synopsis "Web application accelerator")
5348 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5349 reverse proxy and load balancer. You install it in front of any server that
5350 speaks HTTP and configure it to cache the contents through an extensive
5351 configuration language.")
5352 (license (list license:bsd-2 ;main distribution
5353 license:zlib ;lib/libvgz/*
5354 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5355 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5357 (define-public varnish-modules
5359 (name "varnish-modules")
5360 (home-page "https://github.com/varnish/varnish-modules")
5364 (uri (string-append "https://download.varnish-software.com"
5365 "/varnish-modules/varnish-modules-"
5369 "09li9lqa1kb275w1rby2zldyg8r9cfcl4qyv53qyd9xbzilrz751"))))
5370 (build-system gnu-build-system)
5372 `(("pkg-config" ,pkg-config)))
5374 `(("python" ,python)
5375 ("varnish" ,varnish)))
5376 (synopsis "Collection of Varnish modules")
5378 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5379 cache server, extending the @dfn{Varnish Configuration Language} (VCL) with
5380 additional capabilities.")
5381 (license license:bsd-2)))
5383 (define-public xinetd
5386 ;; This is the maintenance fork currently used by openSUSE and Debian.
5387 (version "2.3.15.4")
5392 (url "https://github.com/openSUSE/xinetd.git")
5394 (file-name (git-file-name name version))
5396 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5397 (build-system gnu-build-system)
5399 `(#:configure-flags '("--with-loadavg")
5400 #:tests? #f)) ; no tests
5402 `(("autoconf" ,autoconf)
5403 ("automake" ,automake)
5404 ("libtool" ,libtool)
5405 ("pkg-config" ,pkg-config)))
5406 (home-page "https://github.com/openSUSE/xinetd")
5407 (synopsis "Internet services daemon")
5408 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5409 listens for incoming requests over a network and launches the appropriate
5410 service for that request. Requests are made using port numbers as identifiers
5411 and xinetd usually launches another daemon to handle the request. It can be
5412 used to start services with both privileged and non-privileged port numbers.")
5413 (license (license:fsf-free "file://COPYRIGHT"))))
5415 (define-public tidy-html
5423 (url "https://github.com/htacg/tidy-html5")
5425 (file-name (git-file-name name version))
5428 "0w175c5d1babq0w1zzdzw9gl6iqbgyq58v8587s7srp05y3hwy9k"))))
5429 (build-system cmake-build-system)
5431 "static")) ; 1.3MiB of .a files
5433 `(#:tests? #f ; no tests available
5434 #:build-type "Release"
5436 (modify-phases %standard-phases
5437 (add-after 'install 'move-static-libraries
5438 (lambda* (#:key outputs #:allow-other-keys)
5439 ;; Move static libraries to the "static" output.
5440 (let* ((out (assoc-ref outputs "out"))
5441 (lib (string-append out "/lib"))
5442 (static (assoc-ref outputs "static"))
5443 (slib (string-append static "/lib")))
5445 (for-each (lambda (file)
5446 (install-file file slib)
5448 (find-files lib "\\.a$"))
5451 `(("libxslt" ,libxslt)))
5452 (home-page "http://www.html-tidy.org/")
5453 (synopsis "HTML Tidy with HTML5 support")
5455 "Tidy is a console application which corrects and cleans up
5456 HTML and XML documents by fixing markup errors and upgrading
5457 legacy code to modern standards.
5459 Tidy also provides @code{libtidy}, a C static and dynamic library that
5460 developers can integrate into their applications to make use of the
5461 functions of Tidy.")
5462 (license license:bsd-3)))
5464 (define-public hiawatha
5471 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5472 "hiawatha-" version ".tar.gz"))
5473 (modules '((guix build utils)))
5475 ;; We use packaged libraries, so delete the bundled copies.
5476 (for-each delete-file-recursively
5477 (list "extra/nghttp2.tgz" "mbedtls"))
5480 (base32 "1nd46cx1qp5lh2kwnn2mlwk9zm8jm7pgf90xs9vpwr7saxbnzr5m"))))
5481 (build-system cmake-build-system)
5483 `(#:tests? #f ; no tests included
5484 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5485 (string-append "-DENABLE_HTTP2=on")
5486 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
5487 (string-append "-DENABLE_TOMAHAWK=on")
5488 (string-append "-DLOG_DIR=/var/log/hiawatha")
5489 (string-append "-DPID_DIR=/run")
5490 (string-append "-DWEBROOT_DIR="
5491 (assoc-ref %outputs "out")
5492 "/share/hiawatha/html")
5493 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
5495 (modify-phases %standard-phases
5496 (add-after 'unpack 'install-no-empty-directories
5498 (substitute* "CMakeLists.txt"
5499 (("install\\(DIRECTORY DESTINATION" match)
5500 (string-append "#" match)))
5502 (add-after 'install 'wrap
5503 (lambda* (#:key inputs outputs #:allow-other-keys)
5504 ;; Make sure 'hiawatha' finds 'mbedtls'.
5505 (let* ((out (assoc-ref outputs "out"))
5506 (sbin (string-append out "/sbin"))
5507 (mbed (assoc-ref inputs "mbedtls-apache")))
5508 (wrap-program (string-append sbin "/hiawatha")
5509 `("PATH" ":" prefix (,mbed)))))))))
5511 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
5512 `(("libxslt" ,libxslt)
5513 ("libxml2" ,libxml2)
5514 ("mbedtls-apache" ,mbedtls-for-hiawatha)
5515 ("nghttp2" ,nghttp2 "lib")
5517 (home-page "https://www.hiawatha-webserver.org")
5518 (synopsis "Webserver with focus on security")
5520 "Hiawatha has been written with security in mind.
5521 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5523 (license license:gpl2)))
5525 (define-public python-httpbin
5527 (name "python-httpbin")
5532 (uri (pypi-uri "httpbin" version))
5535 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5536 (build-system python-build-system)
5538 `(("python-decorator" ,python-decorator)
5539 ("python-flask" ,python-flask)
5540 ("python-itsdangerous" ,python-itsdangerous)
5541 ("python-markupsafe" ,python-markupsafe)
5542 ("python-six" ,python-six)))
5543 (home-page "https://github.com/Runscope/httpbin")
5544 (synopsis "HTTP request and response service")
5545 (description "Testing an HTTP Library can become difficult sometimes.
5546 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5547 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5549 (license license:isc)))
5551 (define-public python2-httpbin
5552 (package-with-python2 python-httpbin))
5554 (define-public python-pytest-httpbin
5556 (name "python-pytest-httpbin")
5561 (uri (pypi-uri "pytest-httpbin" version))
5564 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5565 (build-system python-build-system)
5567 `(("python-six" ,python-six)
5568 ("python-httpbin" ,python-httpbin)
5569 ("python-pytest" ,python-pytest)))
5571 "https://github.com/kevin1024/pytest-httpbin")
5573 "Test your HTTP library against a local copy of httpbin")
5575 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5576 into your tests. It automatically starts up a HTTP server in a separate thread running
5577 @code{httpbin} and provides your test with the URL in the fixture.")
5578 (license license:expat)))
5580 (define-public python2-pytest-httpbin
5581 (package-with-python2 python-pytest-httpbin))
5583 (define-public http-parser
5585 (name "http-parser")
5587 (home-page "https://github.com/nodejs/http-parser")
5590 (uri (git-reference (url home-page)
5591 (commit (string-append "v" version))))
5592 (file-name (git-file-name name version))
5595 "1qs6x3n2nrcj1wiik5pg5i16inykf7rcfdfdy7rwyzf40pvdl3c2"))))
5596 (build-system gnu-build-system)
5598 `(#:test-target "test"
5600 (list (string-append "PREFIX="
5601 (assoc-ref %outputs "out"))
5603 ,@(if (%current-target-system)
5607 (modify-phases %standard-phases
5608 ,@(if (%current-target-system)
5609 '((replace 'configure
5610 (lambda* (#:key target #:allow-other-keys)
5611 (substitute* (find-files "." "Makefile")
5613 (string-append "CC=" target "-gcc\n"))
5615 (string-append "AR=" target "-ar\n")))
5617 '((delete 'configure))))))
5618 (synopsis "HTTP request/response parser for C")
5619 (description "This is a parser for HTTP messages written in C. It parses
5620 both requests and responses. The parser is designed to be used in
5621 high-performance HTTP applications. It does not make any syscalls nor
5622 allocations, it does not buffer data, it can be interrupted at anytime.
5623 Depending on your architecture, it only requires about 40 bytes of data per
5624 message stream (in a web server that is per connection).")
5625 (license license:expat)))
5627 (define-public python-httpretty
5629 (name "python-httpretty")
5634 (uri (pypi-uri "httpretty" version))
5636 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
5637 (build-system python-build-system)
5639 `(("python-six" ,python-six)))
5641 `(("python-coverage" ,python-coverage)
5642 ("python-httplib2" ,python-httplib2)
5643 ("python-mock" ,python-mock)
5644 ("python-nose" ,python-nose)
5645 ("python-nose-randomly" ,python-nose-randomly)
5646 ("python-rednose" ,python-rednose)
5647 ("python-requests" ,python-requests)
5648 ("python-sure" ,python-sure)
5649 ("python-tornado" ,python-tornado)
5650 ("python-urllib3" ,python-urllib3)))
5651 (home-page "https://httpretty.readthedocs.io")
5652 (synopsis "HTTP client mock for Python")
5653 (description "@code{httpretty} is a helper for faking web requests,
5654 inspired by Ruby's @code{fakeweb}.")
5655 (license license:expat)))
5664 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
5665 version "/jo-" version ".tar.gz"))
5668 "0r6yb8pjsbcqfyac4240a0sj93pb91fv385bpk395cx3f5bcj9fy"))))
5669 (build-system gnu-build-system)
5670 (home-page "https://github.com/jpmens/jo")
5671 (synopsis "Output JSON from a shell")
5672 (description "jo is a command-line utility to create JSON objects or
5673 arrays. It creates a JSON string on stdout from words provided as
5674 command-line arguments or read from stdin.")
5675 (license (list license:gpl2+
5676 license:expat)))) ; json.c, json.h
5678 (define-public python-internetarchive
5680 (name "python-internetarchive")
5686 (url "https://github.com/jjjake/internetarchive")
5687 (commit (string-append "v" version))))
5688 (file-name (git-file-name name version))
5691 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
5692 (modules '((guix build utils)))
5695 ;; Python 3.7 removed `_pattern_type'.
5696 (for-each (lambda (file)
5699 (("^import re\n" line)
5700 (string-append line "re._pattern_type = re.Pattern\n"))))
5701 (find-files "." "\\.py$"))
5703 (build-system python-build-system)
5706 (modify-phases %standard-phases
5708 (add-after 'install 'check
5709 (lambda* (#:key inputs outputs #:allow-other-keys)
5710 (add-installed-pythonpath inputs outputs)
5711 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
5712 ":" (getenv "PATH")))
5713 (invoke "py.test" "-v" "-k"
5715 ;; These tests attempt to make a connection to
5716 ;; an external web service.
5717 "not test_get_item_with_kwargs"
5718 " and not test_ia")))))))
5720 `(("python-requests" ,python-requests)
5721 ("python-jsonpatch" ,python-jsonpatch-0.4)
5722 ("python-docopt" ,python-docopt)
5723 ("python-clint" ,python-clint)
5724 ("python-six" ,python-six)
5725 ("python-schema" ,python-schema-0.5)
5726 ("python-backports-csv" ,python-backports-csv)))
5728 `(("python-pytest" ,python-pytest)
5729 ("python-pytest-capturelog" ,python-pytest-capturelog)
5730 ("python-responses" ,python-responses)))
5731 (home-page "https://github.com/jjjake/internetarchive")
5732 (synopsis "Command-line interface to archive.org")
5733 (description "@code{ia} is a command-line tool for using
5734 @url{archive.org} from the command-line. It also emplements the
5735 internetarchive python module for programmatic access to archive.org.")
5736 (license license:agpl3+)))
5738 (define-public python-clf
5739 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
5746 (uri (pypi-uri "clf" version))
5749 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
5750 (build-system python-build-system)
5752 `(("python-docopt" ,python-docopt)
5753 ("python-pygments" ,python-pygments)
5754 ("python-requests" ,python-requests)
5755 ("python-nose" ,python-nose)
5756 ("python-lxml" ,python-lxml)
5757 ("python-pyaml" ,python-pyaml)))
5762 (uri (string-append "https://raw.githubusercontent.com"
5763 "/ncrocfer/clf/" commit-test-clf
5767 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
5770 (modify-phases %standard-phases
5771 (add-after 'unpack 'get-tests
5773 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
5778 ;; These tests require an Internet connection.
5779 "--exclude=test_browse"
5780 "--exclude=test_command"
5781 "--exclude=test_search"))))))
5782 (home-page "https://github.com/ncrocfer/clf")
5783 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
5784 (description "@code{clf} is a command line tool for searching code
5785 snippets on @url{https://commandlinefu.com}.")
5786 (license license:expat))))
5788 (define-public python2-clf
5789 (package-with-python2 python-clf))
5791 (define-public rss-bridge
5794 (version "2019-09-12")
5799 (url "https://github.com/RSS-Bridge/rss-bridge")
5801 (file-name (git-file-name name version))
5803 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
5804 (build-system trivial-build-system)
5806 '(#:modules ((guix build utils))
5809 (use-modules (guix build utils)
5811 (let* ((out (assoc-ref %outputs "out"))
5812 (share-rss-bridge (string-append out "/share/rss-bridge")))
5813 (mkdir-p share-rss-bridge)
5814 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
5816 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5817 (synopsis "Generate Atom feeds for social networking websites")
5818 (description "rss-bridge generates Atom feeds for social networking
5819 websites lacking feeds. Supported websites include Facebook, Twitter,
5820 Instagram and YouTube.")
5821 (license (list license:public-domain
5822 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
5824 (define-public linkchecker
5826 (name "linkchecker")
5832 (url "https://github.com/linkchecker/linkchecker")
5833 (commit (string-append "v" version))))
5835 (search-patches "linkchecker-tests-require-network.patch"))
5836 (file-name (git-file-name name version))
5839 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
5840 (build-system python-build-system)
5842 `(("python2-dnspython" ,python2-dnspython)
5843 ("python2-pyxdg" ,python2-pyxdg)
5844 ("python2-requests" ,python2-requests)))
5846 `(("gettext" ,gettext-minimal)
5847 ("python2-pytest" ,python2-pytest)
5848 ("python2-miniboa" ,python2-miniboa)
5849 ("python2-parameterized" ,python2-parameterized)))
5851 `(#:python ,python-2
5853 (modify-phases %standard-phases
5854 ;; Move the 'check phase to after 'install, so that the installed
5855 ;; library can be used
5857 (add-after 'install 'check
5858 (lambda* (#:key outputs #:allow-other-keys)
5859 (let ((out (assoc-ref outputs "out")))
5860 ;; Set PYTHONPATH so that the installed linkchecker is used
5861 (setenv "PYTHONPATH"
5862 (string-append out "/lib/python2.7/site-packages"
5864 (getenv "PYTHONPATH")))
5865 ;; Remove this directory to avoid it being used when running
5867 (delete-file-recursively "linkcheck")
5869 (invoke "py.test" "tests"))
5871 (home-page "https://linkcheck.github.io/linkchecker")
5872 (synopsis "Check websites for broken links")
5873 (description "LinkChecker is a website validator. It checks for broken
5874 links in websites. It is recursive and multithreaded providing output in
5875 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
5876 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
5878 (license (list license:gpl2+
5879 license:bsd-2 ; linkcheck/better_exchook2.py
5880 license:bsd-3 ; linkcheck/colorama.py
5881 license:psfl ; linkcheck/gzip2.py
5882 license:expat)))) ; linkcheck/mem.py
5884 (define-public cadaver
5891 (uri (string-append "http://www.webdav.org/cadaver/"
5892 name "-" version ".tar.gz"))
5895 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
5896 (build-system gnu-build-system)
5897 ;; TODO: Unbundle libneon and make build succeed with new neon.
5899 `(#:configure-flags (list "--with-ssl=openssl")
5900 #:tests? #f)) ;No tests included
5902 `(("gettext" ,gnu-gettext)
5903 ("pkg-config" ,pkg-config)
5904 ("intltool" ,intltool)))
5907 ("openssl" ,openssl)))
5908 (home-page "http://www.webdav.org/cadaver")
5909 (synopsis "Command-line WebDAV client")
5911 "Cadaver is a command-line WebDAV client for Unix. It supports
5912 file upload, download, on-screen display, namespace operations (move/copy),
5913 collection creation and deletion, and locking operations.")
5914 (license license:gpl2)))
5916 (define-public python-py-ubjson
5918 (name "python-py-ubjson")
5923 (uri (pypi-uri "py-ubjson" version))
5926 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
5927 (build-system python-build-system)
5928 (home-page "https://github.com/Iotic-Labs/py-ubjson")
5929 (synopsis "Universal Binary JSON encoder/decoder")
5931 "Py-ubjson is a Python module providing an Universal Binary JSON
5932 encoder/decoder based on the draft-12 specification for UBJSON.")
5933 (license license:asl2.0)))
5935 (define-public java-tomcat
5937 (name "java-tomcat")
5941 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
5942 version "/src/apache-tomcat-" version "-src.tar.gz"))
5945 "0fb49gsqa3r6jrwc54yynvsakq9qbzr2pbxr7a29c2zvja2v65iq"))
5946 (modules '((guix build utils)))
5947 ;; Delete bundled jars.
5950 (for-each delete-file (find-files "." "\\.jar$"))
5951 (for-each delete-file (find-files "." "\\.bat$"))
5953 (build-system ant-build-system)
5955 `(("java-commons-daemon" ,java-commons-daemon)
5956 ("java-ecj" ,java-ecj)))
5958 `(#:build-target "deploy"
5959 #:tests? #f; requires downloading some files.
5961 (modify-phases %standard-phases
5962 (add-after 'unpack 'prevent-download
5964 ;; This directory must exist
5966 ;; We patch build.xml so it doesn't download any dependency, because
5967 ;; we already have all of them.
5968 (substitute* "build.xml"
5969 (("download-compile,") "")
5970 (("depends=\"validate\"") "depends=\"build-prepare\"")
5971 ((",download-validate") ""))
5973 (add-after 'unpack 'strip-timestamps
5975 (substitute* "build.xml"
5976 (("<filter token=\"YEAR\" value=.*")
5977 "<filter token=\"YEAR\" value=\"1970\"/>")
5978 (("<filter token=\"VERSION_BUILT\" value=.*")
5979 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
5981 (add-after 'unpack 'modify-deploy
5983 ;; The Tomcat build downloads and copies these files to the
5984 ;; bin and lib directory.
5985 ;; We instead symlink to the input (see below).
5986 (substitute* "build.xml"
5987 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
5988 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
5991 (add-after 'install 'symlink-commons-daemon
5992 (lambda* (#:key inputs outputs #:allow-other-keys)
5993 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
5994 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
5995 (daemon-jar (car files))
5996 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
5997 (target (string-append out-bin "/commons-daemon.jar")))
5998 (symlink daemon-jar target)
6000 (add-after 'install 'symlink-java-ecj
6001 (lambda* (#:key inputs outputs #:allow-other-keys)
6002 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6003 (files (find-files java-ecj "ecj.*\\.jar"))
6004 (java-ecj-jar (car files))
6005 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6006 (target (string-append out-lib "/java-ecj.jar")))
6007 (symlink java-ecj-jar target)
6009 (add-after 'unpack 'generate-properties
6011 ;; This could have been passed to make-flags, but getcwd returns
6012 ;; a different directory then.
6013 (with-output-to-file "build.properties"
6016 (string-append "base.path=" (getcwd) "/downloads\n"))))
6019 (lambda* (#:key outputs #:allow-other-keys)
6020 (let ((out (assoc-ref outputs "out")))
6021 (copy-recursively "output/build" out))
6023 (home-page "https://tomcat.apache.org")
6024 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6026 (description "Apache Tomcat is a free implementation of the Java
6027 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6029 (license license:asl2.0)))
6031 (define-public java-eclipse-jetty-test-helper
6033 (name "java-eclipse-jetty-test-helper")
6037 (uri (string-append "https://github.com/eclipse/jetty.toolchain/"
6038 "archive/jetty-test-helper-" version ".tar.gz"))
6041 "1jd6r9wc26fa11si4rn2gvy8ml8q4zw1nr6v04mjp8wvwpgvzwx5"))))
6042 (build-system ant-build-system)
6044 `(#:jar-name "eclipse-jetty-test-helper.jar"
6045 #:source-dir "src/main/java"
6046 #:test-dir "src/test"
6049 (modify-phases %standard-phases
6050 (add-before 'configure 'chdir
6052 (chdir "jetty-test-helper")
6054 (add-before 'build 'fix-paths
6057 ;; This file assumes that the build directory is named "target"
6058 ;; but it is not the case with our ant-build-system. Once we have
6059 ;; maven though, we will have to rebuild this package because this
6060 ;; assumption is correct with maven-build-system.
6062 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6063 (("\"target\"") "\"build\"")
6064 (("\"tests\"") "\"test-classes\""))
6065 ;; Tests assume we are building with maven, so that the build
6066 ;; directory is named "target", and not "build".
6067 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6068 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6069 "MavenTestingUtilsTest.java")
6070 (("target/tests") "build/test-classes")
6071 (("\"target") "\"build")))
6074 `(("junit" ,java-junit)
6075 ("hamcrest" ,java-hamcrest-all)))
6076 (home-page "https://www.eclipse.org/jetty/")
6077 (synopsis "Helper classes for jetty tests")
6078 (description "This package contains helper classes for testing the Jetty
6080 ;; This program is licensed under both epl and asl.
6081 (license (list license:epl1.0 license:asl2.0))))
6083 (define-public java-eclipse-jetty-perf-helper
6085 (inherit java-eclipse-jetty-test-helper)
6086 (name "java-eclipse-jetty-perf-helper")
6088 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6089 #:source-dir "src/main/java"
6090 #:tests? #f; no tests
6093 (modify-phases %standard-phases
6094 (add-before 'configure 'chdir
6096 (chdir "jetty-perf-helper")
6099 `(("hdrhistogram" ,java-hdrhistogram)))))
6101 (define-public java-eclipse-jetty-util
6103 (name "java-eclipse-jetty-util")
6107 (uri (string-append "https://github.com/eclipse/jetty.project/"
6108 "archive/jetty-" version ".v20170531.tar.gz"))
6111 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6112 (build-system ant-build-system)
6114 `(#:jar-name "eclipse-jetty-util.jar"
6115 #:source-dir "src/main/java"
6117 (list "**/Abstract*.java"
6119 "**/InetAddressSetTest.java"
6120 ;; Assumes we are using maven
6121 "**/TypeUtilTest.java"
6122 ;; Error on the style of log
6123 "**/StdErrLogTest.java")
6126 (modify-phases %standard-phases
6127 (add-before 'configure 'chdir
6129 (chdir "jetty-util")
6132 `(("slf4j" ,java-slf4j-api)
6133 ("servlet" ,java-javaee-servletapi)))
6135 `(("junit" ,java-junit)
6136 ("hamcrest" ,java-hamcrest-all)
6137 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6138 ("test-helper" ,java-eclipse-jetty-test-helper)))
6139 (home-page "https://www.eclipse.org/jetty/")
6140 (synopsis "Utility classes for Jetty")
6141 (description "The Jetty Web Server provides an HTTP server and Servlet
6142 container capable of serving static and dynamic content either from a standalone
6143 or embedded instantiation. This package provides utility classes.")
6144 (license (list license:epl1.0 license:asl2.0))))
6146 ;; This version is required by maven-wagon
6147 (define-public java-eclipse-jetty-util-9.2
6149 (inherit java-eclipse-jetty-util)
6153 (uri (string-append "https://github.com/eclipse/jetty.project/"
6154 "archive/jetty-" version ".v20170606.tar.gz"))
6157 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6159 `(#:jar-name "eclipse-jetty-util.jar"
6160 #:source-dir "src/main/java"
6163 (list "**/Abstract*.java"
6165 "**/InetAddressSetTest.java"
6166 ;; Assumes we are using maven
6167 "**/TypeUtilTest.java"
6168 ;; We don't have an implementation for slf4j
6170 ;; Error on the style of log
6171 "**/StdErrLogTest.java")
6173 (modify-phases %standard-phases
6174 (add-before 'configure 'chdir
6176 (chdir "jetty-util")
6178 (add-before 'build 'fix-test-sources
6180 ;; We need to fix issues caused by changes in newer versions of
6181 ;; jetty-test-helper
6182 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6183 (substitute* (string-append src "/AbstractFSResourceTest.java")
6184 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6185 (("testdir.getFile\\(\"foo\"\\)")
6186 "testdir.getPathFile(\"foo\").toFile()")
6187 (("testdir.getFile\\(name\\)")
6188 "testdir.getPathFile(name).toFile()")))
6191 (define-public java-eclipse-jetty-io
6193 (inherit java-eclipse-jetty-util)
6194 (name "java-eclipse-jetty-io")
6196 `(#:jar-name "eclipse-jetty-io.jar"
6197 #:source-dir "src/main/java"
6199 #:test-exclude (list "**/Abstract*.java"
6201 "**/EndPointTest.java")
6203 (modify-phases %standard-phases
6204 (add-before 'configure 'chdir
6209 `(("slf4j" ,java-slf4j-api)
6210 ("servlet" ,java-javaee-servletapi)
6211 ("util" ,java-eclipse-jetty-util)))
6212 (synopsis "Jetty :: IO Utility")
6213 (description "The Jetty Web Server provides an HTTP server and Servlet
6214 container capable of serving static and dynamic content either from a standalone
6215 or embedded instantiation. This package provides IO-related utility classes.")))
6217 (define-public java-eclipse-jetty-io-9.2
6219 (inherit java-eclipse-jetty-io)
6220 (version (package-version java-eclipse-jetty-util-9.2))
6221 (source (package-source java-eclipse-jetty-util-9.2))
6223 `(("util" ,java-eclipse-jetty-util-9.2)
6224 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6226 `(("mockito" ,java-mockito-1)
6227 ("cglib" ,java-cglib)
6228 ("objenesis" ,java-objenesis)
6230 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6232 (define-public java-eclipse-jetty-http
6234 (inherit java-eclipse-jetty-util)
6235 (name "java-eclipse-jetty-http")
6237 `(#:jar-name "eclipse-jetty-http.jar"
6238 #:source-dir "src/main/java"
6241 (modify-phases %standard-phases
6242 (add-before 'configure 'chdir
6244 (chdir "jetty-http")
6246 (add-before 'build 'copy-resources
6248 (mkdir-p "build/classes")
6249 (copy-recursively "src/main/resources/" "build/classes/")
6252 `(("slf4j" ,java-slf4j-api)
6253 ("servlet" ,java-javaee-servletapi)
6254 ("io" ,java-eclipse-jetty-io)
6255 ("util" ,java-eclipse-jetty-util)))
6256 (synopsis "Jetty :: Http Utility")
6257 (description "The Jetty Web Server provides an HTTP server and Servlet
6258 container capable of serving static and dynamic content either from a standalone
6259 or embedded instantiation. This package provides HTTP-related utility classes.")))
6261 (define-public java-eclipse-jetty-http-9.2
6263 (inherit java-eclipse-jetty-http)
6264 (version (package-version java-eclipse-jetty-util-9.2))
6265 (source (package-source java-eclipse-jetty-util-9.2))
6267 `(("util" ,java-eclipse-jetty-util-9.2)
6268 ("io" ,java-eclipse-jetty-io-9.2)
6269 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6271 (define-public java-eclipse-jetty-jmx
6273 (inherit java-eclipse-jetty-util)
6274 (name "java-eclipse-jetty-jmx")
6276 `(#:jar-name "eclipse-jetty-jmx.jar"
6277 #:source-dir "src/main/java"
6279 #:tests? #f; FIXME: requires com.openpojo.validation
6281 (modify-phases %standard-phases
6282 (add-before 'configure 'chdir
6287 `(("slf4j" ,java-slf4j-api)
6288 ("servlet" ,java-javaee-servletapi)
6289 ("util" ,java-eclipse-jetty-util)))
6290 (synopsis "Jetty :: JMX Management")
6291 (description "The Jetty Web Server provides an HTTP server and Servlet
6292 container capable of serving static and dynamic content either from a standalone
6293 or embedded instantiation. This package provides the JMX management.")))
6295 (define-public java-eclipse-jetty-jmx-9.2
6297 (inherit java-eclipse-jetty-jmx)
6298 (version (package-version java-eclipse-jetty-util-9.2))
6299 (source (package-source java-eclipse-jetty-util-9.2))
6301 `(("util" ,java-eclipse-jetty-util-9.2)
6302 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6304 (define java-eclipse-jetty-http-test-classes
6306 (inherit java-eclipse-jetty-util)
6307 (name "java-eclipse-jetty-http-test-classes")
6309 `(#:jar-name "eclipse-jetty-http.jar"
6310 #:source-dir "src/test"
6314 (modify-phases %standard-phases
6315 (add-before 'configure 'chdir
6317 (chdir "jetty-http")
6320 `(("slf4j" ,java-slf4j-api)
6321 ("java-javaee-servletapi" ,java-javaee-servletapi)
6322 ("http" ,java-eclipse-jetty-http)
6323 ("io" ,java-eclipse-jetty-io)
6324 ("util" ,java-eclipse-jetty-util)))))
6326 (define java-eclipse-jetty-http-test-classes-9.2
6328 (inherit java-eclipse-jetty-http-test-classes)
6329 (version (package-version java-eclipse-jetty-util-9.2))
6330 (source (package-source java-eclipse-jetty-util-9.2))
6332 `(("http" ,java-eclipse-jetty-http-9.2)
6333 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6335 (define-public java-eclipse-jetty-server
6337 (inherit java-eclipse-jetty-util)
6338 (name "java-eclipse-jetty-server")
6340 `(#:jar-name "eclipse-jetty-server.jar"
6341 #:source-dir "src/main/java"
6343 #:tests? #f; requires a mockito version we don't have
6345 (modify-phases %standard-phases
6346 (add-before 'configure 'chdir
6348 (chdir "jetty-server")
6350 (add-before 'build 'fix-source
6352 ;; Explicit casts to prevent build failures
6353 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6354 (("append\\(LazyList")
6355 "append((CharSequence)LazyList"))
6357 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6359 "Class<\\? extends EventListener> clazz = _classLoader==null"
6360 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6361 "_classLoader.loadClass\\(className\\);"))
6362 (string-append "Class<? extends EventListener> clazz = "
6363 "(Class<? extends EventListener>) "
6364 "(_classLoader==null?Loader.loadClass("
6365 "ContextHandler.class,className):"
6366 "_classLoader.loadClass(className));")))
6369 `(("slf4j" ,java-slf4j-api)
6370 ("servlet" ,java-javaee-servletapi)
6371 ("http" ,java-eclipse-jetty-http)
6372 ("io" ,java-eclipse-jetty-io)
6373 ("jmx" ,java-eclipse-jetty-jmx)
6374 ("util" ,java-eclipse-jetty-util)))
6376 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6377 ,@(package-native-inputs java-eclipse-jetty-util)))
6378 (synopsis "Core jetty server artifact")
6379 (description "The Jetty Web Server provides an HTTP server and Servlet
6380 container capable of serving static and dynamic content either from a standalone
6381 or embedded instantiation. This package provides the core jetty server
6384 (define-public java-eclipse-jetty-server-9.2
6386 (inherit java-eclipse-jetty-server)
6387 (version (package-version java-eclipse-jetty-util-9.2))
6388 (source (package-source java-eclipse-jetty-util-9.2))
6390 `(("util" ,java-eclipse-jetty-util-9.2)
6391 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6392 ("io" ,java-eclipse-jetty-io-9.2)
6393 ("http" ,java-eclipse-jetty-http-9.2)
6394 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6396 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6397 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6399 (define-public java-eclipse-jetty-security
6401 (inherit java-eclipse-jetty-util)
6402 (name "java-eclipse-jetty-security")
6404 `(#:jar-name "eclipse-jetty-security.jar"
6405 #:source-dir "src/main/java"
6407 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
6409 (modify-phases %standard-phases
6410 (add-before 'configure 'chdir
6412 (chdir "jetty-security")
6415 `(("slf4j" ,java-slf4j-api)
6416 ("servlet" ,java-javaee-servletapi)
6417 ("http" ,java-eclipse-jetty-http)
6418 ("server" ,java-eclipse-jetty-server)
6419 ("util" ,java-eclipse-jetty-util)))
6421 `(("io" ,java-eclipse-jetty-io)
6422 ,@(package-native-inputs java-eclipse-jetty-util)))
6423 (synopsis "Jetty security infrastructure")
6424 (description "The Jetty Web Server provides an HTTP server and Servlet
6425 container capable of serving static and dynamic content either from a standalone
6426 or embedded instantiation. This package provides the core jetty security
6429 (define-public java-eclipse-jetty-security-9.2
6431 (inherit java-eclipse-jetty-security)
6432 (version (package-version java-eclipse-jetty-util-9.2))
6433 (source (package-source java-eclipse-jetty-util-9.2))
6435 `(("util" ,java-eclipse-jetty-util-9.2)
6436 ("http" ,java-eclipse-jetty-http-9.2)
6437 ("server" ,java-eclipse-jetty-server-9.2)
6438 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6440 `(("io" ,java-eclipse-jetty-io-9.2)
6441 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6443 (define-public java-eclipse-jetty-servlet
6445 (inherit java-eclipse-jetty-util)
6446 (name "java-eclipse-jetty-servlet")
6448 `(#:jar-name "eclipse-jetty-servlet.jar"
6449 #:source-dir "src/main/java"
6452 (modify-phases %standard-phases
6453 (add-before 'configure 'chdir
6455 (chdir "jetty-servlet")
6458 `(("slf4j" ,java-slf4j-api)
6459 ("java-javaee-servletapi" ,java-javaee-servletapi)
6460 ("http" ,java-eclipse-jetty-http)
6461 ("http-test" ,java-eclipse-jetty-http-test-classes)
6462 ("io" ,java-eclipse-jetty-io)
6463 ("jmx" ,java-eclipse-jetty-jmx)
6464 ("security" ,java-eclipse-jetty-security)
6465 ("server" ,java-eclipse-jetty-server)
6466 ("util" ,java-eclipse-jetty-util)))
6467 (synopsis "Jetty Servlet Container")
6468 (description "The Jetty Web Server provides an HTTP server and Servlet
6469 container capable of serving static and dynamic content either from a standalone
6470 or embedded instantiation. This package provides the core jetty servlet
6473 (define-public java-eclipse-jetty-servlet-9.2
6475 (inherit java-eclipse-jetty-servlet)
6476 (version (package-version java-eclipse-jetty-util-9.2))
6477 (source (package-source java-eclipse-jetty-util-9.2))
6479 `(#:jar-name "eclipse-jetty-servlet.jar"
6480 #:source-dir "src/main/java"
6482 #:tests? #f; doesn't work
6484 (modify-phases %standard-phases
6485 (add-before 'configure 'chdir
6487 (chdir "jetty-servlet")
6490 `(("util" ,java-eclipse-jetty-util-9.2)
6491 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6492 ("io" ,java-eclipse-jetty-io-9.2)
6493 ("http" ,java-eclipse-jetty-http-9.2)
6494 ("security" ,java-eclipse-jetty-security-9.2)
6495 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
6496 ("server" ,java-eclipse-jetty-server-9.2)
6497 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6499 (define-public java-eclipse-jetty-xml
6501 (inherit java-eclipse-jetty-util)
6502 (name "java-eclipse-jetty-xml")
6504 `(#:jar-name "eclipse-jetty-xml.jar"
6505 #:source-dir "src/main/java"
6507 #:tests? #f; most tests require network
6509 (modify-phases %standard-phases
6510 (add-before 'configure 'chdir
6515 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
6517 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6518 ,@(package-native-inputs java-eclipse-jetty-util)))))
6520 (define-public java-eclipse-jetty-xml-9.2
6522 (inherit java-eclipse-jetty-xml)
6523 (version (package-version java-eclipse-jetty-util-9.2))
6524 (source (package-source java-eclipse-jetty-util-9.2))
6526 `(#:jar-name "eclipse-jetty-xml.jar"
6527 #:source-dir "src/main/java"
6529 #:tests? #f; most tests require network
6531 (modify-phases %standard-phases
6532 (add-before 'configure 'chdir
6537 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6538 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6540 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6541 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6543 (define-public java-eclipse-jetty-webapp
6545 (inherit java-eclipse-jetty-util)
6546 (name "java-eclipse-jetty-webapp")
6548 `(#:jar-name "eclipse-jetty-webapp.jar"
6549 #:source-dir "src/main/java"
6552 #:test-exclude (list "**/WebAppContextTest.java")
6554 (modify-phases %standard-phases
6555 (add-before 'configure 'chdir
6557 (chdir "jetty-webapp")
6560 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
6561 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
6562 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
6563 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
6564 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
6565 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
6566 ("java-javaee-servletapi" ,java-javaee-servletapi)))
6568 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6569 ,@(package-native-inputs java-eclipse-jetty-util)))))
6571 (define-public java-eclipse-jetty-webapp-9.2
6573 (inherit java-eclipse-jetty-webapp)
6574 (version (package-version java-eclipse-jetty-util-9.2))
6575 (source (package-source java-eclipse-jetty-util-9.2))
6577 `(#:jar-name "eclipse-jetty-webapp.jar"
6578 #:source-dir "src/main/java"
6580 #:test-exclude (list "**/WebAppContextTest.java")
6582 (modify-phases %standard-phases
6583 (add-before 'configure 'chdir
6585 (chdir "jetty-webapp")
6588 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6589 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
6590 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
6591 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
6592 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
6593 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
6594 ("java-javaee-servletapi" ,java-javaee-servletapi)
6595 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6597 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6598 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6600 (define-public java-jsoup
6607 (url "https://github.com/jhy/jsoup")
6608 (commit (string-append "jsoup-" version))))
6609 (file-name (git-file-name name version))
6612 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
6613 (build-system ant-build-system)
6615 `(#:jar-name "jsoup.jar"
6616 #:source-dir "src/main/java"
6618 (modify-phases %standard-phases
6619 (add-before 'build 'copy-resources
6621 (let ((classes-dir (string-append (getcwd) "/build/classes")))
6622 (with-directory-excursion "src/main/java"
6623 (for-each (lambda (file)
6624 (let ((dist (string-append classes-dir "/" file)))
6625 (mkdir-p (dirname dist))
6626 (copy-file file dist)))
6627 (find-files "." ".*.properties"))))
6630 `(("java-junit" ,java-junit)
6631 ("java-hamcrest-core" ,java-hamcrest-core)
6632 ("java-gson" ,java-gson)))
6633 (home-page "https://jsoup.org")
6634 (synopsis "HTML parser")
6635 (description "Jsoup is a Java library for working with real-world HTML. It
6636 provides a very convenient API for extracting and manipulating data, using the
6637 best of DOM, CSS, and jQuery-like methods.")
6638 (license license:expat)))
6640 (define-public java-signpost-core
6642 (name "java-signpost-core")
6647 (url "https://github.com/mttkay/signpost")
6649 (file-name (git-file-name name version))
6652 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
6653 (build-system ant-build-system)
6655 `(#:jar-name "signpost-core.jar"
6656 #:source-dir "signpost-core/src/main/java"
6657 #:test-dir "signpost-core/src/test"
6658 ;; Tests all fail with InstantiationException from mockito
6661 `(("java-commons-codec" ,java-commons-codec)))
6662 (home-page "https://github.com/mttkay/signpost")
6663 (synopsis "Lightweight client-side OAuth library for Java")
6664 (description "Signpost is the easy and intuitive solution for signing
6665 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
6666 standard. Signpost follows a modular and flexible design, allowing you to
6667 combine it with different HTTP messaging layers.")
6668 (license license:asl2.0)))
6670 (define-public tidyp
6677 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
6681 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
6682 (build-system gnu-build-system)
6683 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
6684 (arguments `(#:tests? #f))
6685 (home-page "http://www.tidyp.com/")
6686 (synopsis "Validate HTML")
6687 (description "Tidyp is a program that can validate your HTML, as well as
6688 modify it to be more clean and standard. tidyp does not validate HTML 5.
6690 libtidyp is the library on which the program is based. It can be used by any
6691 other program that can interface to it. The Perl module @code{HTML::Tidy} is
6692 based on this library, allowing Perl programmers to easily validate HTML.")
6693 ;; See htmldoc/license.html
6694 (license license:bsd-3)))
6696 (define-public perl-html-tidy
6698 (name "perl-html-tidy")
6703 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
6707 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
6708 (build-system perl-build-system)
6711 (modify-phases %standard-phases
6712 (add-after 'unpack 'fix-tidyp-paths
6713 (lambda* (#:key inputs #:allow-other-keys)
6714 (substitute* "Makefile.PL"
6715 (("^my \\$inc = \"" line)
6717 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
6720 "-L" (assoc-ref inputs "tidyp") "/lib")))
6723 `(("perl-libwww" ,perl-libwww)
6726 `(("perl-test-exception" ,perl-test-exception)))
6727 (home-page "https://metacpan.org/release/HTML-Tidy")
6728 (synopsis "(X)HTML validation in a Perl object")
6729 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
6730 object. It's meant as a replacement for @code{HTML::Lint}, which is written
6731 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
6732 (license license:artistic2.0)))
6734 (define-public geomyidae
6742 (url "git://r-36.net/geomyidae")
6743 (commit (string-append "v" version))))
6744 (file-name (git-file-name name version))
6746 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
6747 (build-system gnu-build-system)
6749 `(#:make-flags (list "CC=gcc"
6750 (string-append "PREFIX="
6751 (assoc-ref %outputs "out")))
6752 #:tests? #f ; no tests
6753 #:phases (modify-phases %standard-phases
6754 (delete 'configure))))
6755 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
6756 (synopsis "Small Gopher server")
6758 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
6762 @item Gopher menus (see @file{index.gph} for an example);
6763 @item directory listings (if no @file{index.gph} was found);
6764 @item CGI support (@file{.cgi} files are executed);
6765 @item search support in CGI files;
6766 @item logging with multiple log levels.
6768 (license license:expat)))
6770 (define-public cat-avatar-generator
6772 (name "cat-avatar-generator")
6777 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
6778 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
6779 (file-name (string-append name "-" version))
6782 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
6783 (build-system trivial-build-system)
6785 `(#:modules ((guix build utils)
6790 (use-modules (guix build utils)
6793 (let ((source (assoc-ref %build-inputs "source"))
6794 (php-dir (string-append %output "/share/web/" ,name "/")))
6795 ;; The cache directory must not be in the store, but in a writable
6796 ;; location. The webserver will give us this location.
6797 (copy-recursively source php-dir)
6798 (substitute* (string-append php-dir "/cat-avatar-generator.php")
6799 (("\\$cachepath = .*")
6800 "if(isset($_SERVER['CACHE_DIR']))
6801 $cachepath = $_SERVER['CACHE_DIR'];
6803 die('You need to set the CACHE_DIR variable first.');"))
6805 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
6806 (synopsis "Random avatar generator")
6807 (description "Cat avatar generator is a generator of cat pictures optimised
6808 to generate random avatars, or defined avatar from a \"seed\". This is a
6809 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
6810 ;; expat for the code, CC-BY 4.0 for the artwork
6811 (license (list license:expat
6812 license:cc-by4.0))))
6814 (define-public nghttp2
6821 (uri (string-append "https://github.com/nghttp2/nghttp2/"
6822 "releases/download/v" version "/"
6823 "nghttp2-" version ".tar.xz"))
6826 "0wwhwv7cvi1vxpdjwvg0kpa4jzhszclpnwrwfcw728zz53a47z09"))))
6827 (build-system gnu-build-system)
6828 (outputs (list "out"
6829 "lib")) ; only libnghttp2
6831 `(("pkg-config" ,pkg-config)
6833 ;; Required by tests.
6835 ("tzdata" ,tzdata-for-tests)))
6837 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
6838 `(("c-ares" ,c-ares)
6839 ("jansson" ,jansson) ; for HPACK tools
6840 ("jemalloc" ,jemalloc) ; fight nghttpd{,x} heap fragmentation
6842 ("libxml2" ,libxml2) ; for ‘nghttp -a’
6843 ("openssl" ,openssl)))
6846 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
6847 "--enable-app" ; build all the tools
6848 "--enable-hpack-tools" ; ...all the tools
6849 "--disable-examples"
6850 "--disable-static") ; don't bother building .a files
6852 (modify-phases %standard-phases
6853 (add-after 'unpack 'break-circular-reference
6854 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
6855 ;; which is not allowed. Break this cycle. While we could install
6856 ;; only the library to ‘out’ and move everything else to a separate
6857 ;; output, this would inconvenience the majority of (human) users.
6858 (lambda* (#:key outputs #:allow-other-keys)
6859 (substitute* "lib/libnghttp2.pc.in"
6861 (assoc-ref outputs "lib")))
6863 (add-before 'check 'set-timezone-directory
6864 (lambda* (#:key inputs native-inputs #:allow-other-keys)
6865 (setenv "TZDIR" (string-append
6866 (assoc-ref (or native-inputs inputs) "tzdata")
6869 (home-page "https://nghttp2.org/")
6870 (synopsis "HTTP/2 protocol client, proxy, server, and library")
6872 "nghttp2 implements the Hypertext Transfer Protocol, version
6875 A reusable C library provides the HTTP/2 framing layer, with several tools built
6879 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
6880 and low-level aspects of the protocol and is useful for debugging.
6881 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
6882 serves files from a local directory.
6883 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
6884 deployed in front of existing web servers that don't support HTTP/2.
6885 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
6886 backwards compatibility with clients that don't speak HTTP/2.
6887 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
6888 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
6889 nghttp2 provides a HPACK encoder and decoder as part of its public API.
6890 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
6891 compressed JSON header blocks.
6892 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
6894 (license license:expat)))
6896 (define-public hpcguix-web
6897 (let ((commit "f39c90b35e99e4122b0866ec4337020d61c81508")
6900 (name "hpcguix-web")
6901 (version (git-version "0.0.1" revision commit))
6905 (url "https://github.com/UMCUGenetics/hpcguix-web.git")
6907 (file-name (git-file-name name version))
6910 "0idzzlwnaymk6hm5q9nh146h5m6vd8acp32vlmzp6qq08mimfkq7"))))
6911 (build-system gnu-build-system)
6913 `(#:modules ((guix build gnu-build-system)
6919 (modify-phases %standard-phases
6920 (add-before 'configure 'set-variables
6922 ;; This prevents a few warnings
6923 (setenv "GUILE_AUTO_COMPILE" "0")
6924 (setenv "XDG_CACHE_HOME" (getcwd))
6926 (add-after 'install 'wrap-program
6927 (lambda* (#:key inputs outputs #:allow-other-keys)
6928 (let* ((out (assoc-ref outputs "out"))
6929 (guix (assoc-ref inputs "guix"))
6930 (guile (assoc-ref inputs "guile"))
6931 (gcrypt (assoc-ref inputs "guile-gcrypt"))
6932 (git (assoc-ref inputs "guile-git"))
6933 (bs (assoc-ref inputs "guile-bytestructures"))
6934 (json (assoc-ref inputs "guile-json"))
6935 (guile-cm (assoc-ref inputs
6936 "guile-commonmark"))
6937 (deps (list guile gcrypt git bs guile-cm guix json))
6940 (open-pipe* OPEN_READ
6941 (string-append guile "/bin/guile")
6942 "-c" "(display (effective-version))")))
6944 (map (cut string-append <>
6945 "/share/guile/site/"
6949 (gopath (string-join
6950 (map (cut string-append <>
6951 "/lib/guile/" effective
6955 (wrap-program (string-append out "/bin/run")
6956 `("GUILE_LOAD_PATH" ":" prefix (,path))
6957 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
6961 `(("autoconf" ,autoconf)
6962 ("automake" ,automake)
6963 ("uglify-js" ,uglify-js)
6964 ("pkg-config" ,pkg-config)))
6968 `(("guile" ,guile-2.2)
6969 ("guile-commonmark" ,guile-commonmark)
6970 ("guile-json" ,guile-json-3)))
6971 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
6972 (synopsis "Web interface for cluster deployments of Guix")
6973 (description "Hpcguix-web provides a web interface to the list of packages
6974 provided by Guix. The list of packages is searchable and provides
6975 instructions on how to use Guix in a shared HPC environment.")
6976 (license license:agpl3+))))
6978 (define-public httrack
6984 (uri (string-append "https://mirror.httrack.com/historical/"
6985 "httrack-" version ".tar.gz"))
6988 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
6989 (build-system gnu-build-system)
6991 `(("libressl" ,libressl)
6993 (home-page "https://www.httrack.com/")
6994 (synopsis "Easy-to-use offline browser utility")
6995 (description "HTTrack allows you to download a World Wide Web site from
6996 the Internet to a local directory, building recursively all directories,
6997 getting HTML, images, and other files from the server to your computer.
6999 HTTrack arranges the original site's relative link-structure. Simply open
7000 a page of the ``mirrored'' website in your browser, and you can browse the
7001 site from link to link, as if you were viewing it online. HTTrack can also
7002 update an existing mirrored site, and resume interrupted downloads.
7004 HTTrack is fully configurable, and has an integrated help system.")
7005 (license license:gpl3+)))
7007 (define-public anonip
7013 (uri (pypi-uri "anonip" version))
7016 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7017 (build-system python-build-system)
7018 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7019 (synopsis "Anonymize IP addresses in log files")
7021 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7022 That way most of the relevant information is preserved, while the IP address
7023 does not match a particular individuum anymore.
7025 Depending on your Web server, the log entries may be piped to Anonip directly
7026 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7027 written to any file.
7029 It's also possible to rewrite existing log files.
7031 Anonip can also be uses as a Python module in your own Python application.")
7032 (license license:bsd-3)))
7034 (define-public poussetaches
7036 (name "poussetaches")
7042 (url "https://github.com/tsileo/poussetaches")
7044 (file-name (git-file-name name version))
7047 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7048 (build-system go-build-system)
7050 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7051 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7053 `(#:import-path "github.com/tsileo/poussetaches"))
7054 (home-page "https://github.com/tsileo/poussetaches")
7055 (synopsis "Lightweight asynchronous task execution service")
7056 (description "Poussetaches (which literally means \"push tasks\" in
7057 French) is a lightweight asynchronous task execution service that aims to
7058 replace Celery and RabbitMQ for small Python applications.
7060 The app posts base64-encoded payload to poussetaches and specifies the
7061 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7062 requests with the registered payload until the right status code is
7064 (license license:isc)))
7066 (define-public htmlcxx
7074 (string-append "mirror://sourceforge/htmlcxx/v"
7075 version "/htmlcxx-" version ".tar.gz"))
7077 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7078 (build-system gnu-build-system)
7079 (home-page "http://htmlcxx.sourceforge.net/")
7080 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7081 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7082 C++. Although there are several other HTML parsers available, htmlcxx has some
7083 characteristics that make it unique:
7085 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7087 @item It is possible to reproduce exactly, character by character, the original
7088 document from the parse tree
7089 @item Bundled CSS parser
7090 @item Optional parsing of attributes
7091 @item C++ code that looks like C++ (not so true anymore)
7092 @item Offsets of tags/elements in the original document are stored in the nodes
7095 (license (list license:lgpl2.0