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, 2020 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 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, 2020 Eric Bavier <bavier@posteo.net>
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, 2020, 2021 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 Nikita <nikita@n0.is>
18 ;;; Copyright © 2016, 2017, 2018, 2019, 2021 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2016–2021 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, 2020 Marius Bakke <mbakke@fastmail.com>
23 ;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
24 ;;; Copyright © 2017 Petter <petter@mykolab.ch>
25 ;;; Copyright © 2017, 2021 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, 2020, 2021 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.org>
38 ;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
39 ;;; Copyright © 2019 Pierre-Moana Levesque <pierre.moana.levesque@gmail.com>
40 ;;; Copyright © 2019, 2020 Florian Pelz <pelzflorian@pelzflorian.de>
41 ;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
42 ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
43 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
44 ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
45 ;;; Copyright © 2018, 2019, 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
46 ;;; Copyright © 2020, 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
47 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
48 ;;; Copyright © 2020, 2021 Ryan Prior <rprior@protonmail.com>
49 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
50 ;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
51 ;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
52 ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
54 ;;; This file is part of GNU Guix.
56 ;;; GNU Guix is free software; you can redistribute it and/or modify it
57 ;;; under the terms of the GNU General Public License as published by
58 ;;; the Free Software Foundation; either version 3 of the License, or (at
59 ;;; your option) any later version.
61 ;;; GNU Guix is distributed in the hope that it will be useful, but
62 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
63 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
64 ;;; GNU General Public License for more details.
66 ;;; You should have received a copy of the GNU General Public License
67 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
69 (define-module (gnu packages web)
70 #:use-module (ice-9 match)
71 #:use-module ((guix licenses) #:prefix license:)
72 #:use-module (guix packages)
73 #:use-module (guix download)
74 #:use-module (guix gexp)
75 #:use-module (guix cvs-download)
76 #:use-module (guix hg-download)
77 #:use-module (guix git-download)
78 #:use-module (guix utils)
79 #:use-module (guix build-system ant)
80 #:use-module (guix build-system cargo)
81 #:use-module (guix build-system cmake)
82 #:use-module (guix build-system copy)
83 #:use-module (guix build-system glib-or-gtk)
84 #:use-module (guix build-system gnu)
85 #:use-module (guix build-system go)
86 #:use-module (guix build-system meson)
87 #:use-module (guix build-system perl)
88 #:use-module (guix build-system python)
89 #:use-module (guix build-system qt)
90 #:use-module (guix build-system scons)
91 #:use-module (guix build-system trivial)
92 #:use-module (gnu packages)
93 #:use-module (gnu packages admin)
94 #:use-module (gnu packages adns)
95 #:use-module (gnu packages apr)
96 #:use-module (gnu packages autotools)
97 #:use-module (gnu packages base)
98 #:use-module (gnu packages bison)
99 #:use-module (gnu packages bittorrent)
100 #:use-module (gnu packages boost)
101 #:use-module (gnu packages check)
102 #:use-module (gnu packages compression)
103 #:use-module (gnu packages crates-gtk)
104 #:use-module (gnu packages crates-io)
105 #:use-module (gnu packages curl)
106 #:use-module (gnu packages cyrus-sasl)
107 #:use-module (gnu packages databases)
108 #:use-module (gnu packages docbook)
109 #:use-module (gnu packages documentation)
110 #:use-module (gnu packages emacs)
111 #:use-module (gnu packages emacs-xyz)
112 #:use-module (gnu packages flex)
113 #:use-module (gnu packages fontutils)
114 #:use-module (gnu packages freedesktop)
115 #:use-module (gnu packages gcc)
116 #:use-module (gnu packages gd)
117 #:use-module (gnu packages gettext)
118 #:use-module (gnu packages glib)
119 #:use-module (gnu packages gnome)
120 #:use-module (gnu packages gnu-doc)
121 #:use-module (gnu packages gnunet)
122 #:use-module (gnu packages gnupg)
123 #:use-module (gnu packages golang)
124 #:use-module (gnu packages gperf)
125 #:use-module (gnu packages graphviz)
126 #:use-module (gnu packages gtk)
127 #:use-module (gnu packages guile)
128 #:use-module (gnu packages guile-xyz)
129 #:use-module (gnu packages hurd)
130 #:use-module (gnu packages icu4c)
131 #:use-module (gnu packages image)
132 #:use-module (gnu packages java)
133 #:use-module (gnu packages jemalloc)
134 #:use-module (gnu packages imagemagick)
135 #:use-module (gnu packages kde)
136 #:use-module (gnu packages kerberos)
137 #:use-module (gnu packages libevent)
138 #:use-module (gnu packages libidn)
139 #:use-module (gnu packages libunistring)
140 #:use-module (gnu packages libunwind)
141 #:use-module (gnu packages linux)
142 #:use-module (gnu packages lisp-xyz)
143 #:use-module (gnu packages lsof)
144 #:use-module (gnu packages lua)
145 #:use-module (gnu packages mail)
146 #:use-module (gnu packages man)
147 #:use-module (gnu packages markup)
148 #:use-module (gnu packages ncurses)
149 #:use-module (gnu packages networking)
150 #:use-module (gnu packages nss)
151 #:use-module (gnu packages openldap)
152 #:use-module (gnu packages openstack)
153 #:use-module (gnu packages package-management)
154 #:use-module (gnu packages pcre)
155 #:use-module (gnu packages perl)
156 #:use-module (gnu packages perl-check)
157 #:use-module (gnu packages python)
158 #:use-module (gnu packages python-crypto)
159 #:use-module (gnu packages python-web)
160 #:use-module (gnu packages python-xyz)
161 #:use-module (gnu packages pkg-config)
162 #:use-module (gnu packages qt)
163 #:use-module (gnu packages re2c)
164 #:use-module (gnu packages readline)
165 #:use-module (gnu packages search)
166 #:use-module (gnu packages sphinx)
167 #:use-module (gnu packages texinfo)
168 #:use-module (gnu packages textutils)
169 #:use-module (gnu packages tls)
170 #:use-module (gnu packages valgrind)
171 #:use-module (gnu packages version-control)
172 #:use-module (gnu packages vim)
173 #:use-module (gnu packages xml)
174 #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
185 (url "https://github.com/azadkuh/qhttp")
186 (commit (string-append "version-" version))))
187 (file-name (git-file-name name version))
189 (base32 "0cx23g4y4k4v9p5ph6h7gfhp8sfy1gcdv1g6bl44hppar1y0zfdq"))))
190 (build-system gnu-build-system)
192 `(#:tests? #f ; no target
194 ((guix build copy-build-system)
195 ,@%gnu-build-system-modules)
197 (((guix build copy-build-system) #:prefix copy:)
198 (guix build gnu-build-system)
201 (modify-phases %standard-phases
202 (add-after 'unpack 'patch-source
203 (lambda* (#:key outputs #:allow-other-keys)
204 (substitute* "commondir.pri"
205 (("\\$\\$PRJDIR/xbin")
206 (string-append (assoc-ref outputs "out") "/lib"))
209 (("\\$\\$PRJDIR/3rdparty")
211 (substitute* "src/src.pro"
212 (("SOURCES \\+= \\$\\$PRJDIR/3rdparty/http-parser/http_parser.c")
214 (("HEADERS \\+= \\$\\$PRJDIR/3rdparty/http-parser/http_parser.h")
216 (substitute* '("src/private/qhttpbase.hpp" "src/qhttpabstracts.cpp")
217 (("http-parser/http_parser.h")
221 (lambda _ (invoke "qmake")))
224 (apply (assoc-ref copy:%standard-phases 'install)
227 #:include-regexp ("\\.hpp$")))
229 (add-after 'install 'remove-examples
230 (lambda* (#:key outputs #:allow-other-keys)
231 (with-directory-excursion
232 (string-append (assoc-ref outputs "out") "/lib")
233 (for-each delete-file
240 `(("http-parser" ,http-parser)
241 ("qtbase" ,qtbase-5)))
242 (home-page "https://github.com/azadkuh/qhttp/")
243 (synopsis "Qt-based HTTP Library")
245 "Qhttp is a light-weight and asynchronous HTTP library
246 (both server & client) in Qt5 and C++14.")
247 (license license:expat)))
255 (uri (string-append "mirror://apache/httpd/httpd-"
259 "0v4npxnvih5mlxx6dywwhhfs8xvgcckc0hxzwk3hi0g8nbkjdj0v"))))
260 (build-system gnu-build-system)
261 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
262 (inputs `(("apr" ,apr)
263 ("apr-util" ,apr-util)
265 ("perl" ,perl))) ; needed to run bin/apxs
267 `(#:test-target "test"
268 #:configure-flags (list "--enable-rewrite"
270 "--enable-vhost-alias"
272 "--enable-mime-magic"
273 (string-append "--sysconfdir="
274 (assoc-ref %outputs "out")
276 (synopsis "Featureful HTTP server")
278 "The Apache HTTP Server Project is a collaborative software development
279 effort aimed at creating a robust, commercial-grade, featureful, and
280 freely-available source code implementation of an HTTP (Web) server. The
281 project is jointly managed by a group of volunteers located around the world,
282 using the Internet and the Web to communicate, plan, and develop the server
283 and its related documentation.")
284 (license license:asl2.0)
285 (home-page "https://httpd.apache.org/")))
287 (define-public mod-wsgi
294 (url "https://github.com/GrahamDumpleton/mod_wsgi")
296 (file-name (git-file-name name version))
299 "1savh6h3qds20mwn1nqasmqzcp57pdhfc9v4b4k78d6q28y0r17s"))))
300 (build-system gnu-build-system)
302 '(#:tests? #f ; TODO: can't figure out if there are tests
304 (string-append "DESTDIR="
305 (assoc-ref %outputs "out"))
306 "LIBEXECDIR=/modules")))
309 ("python" ,python-wrapper)))
310 (synopsis "Apache HTTPD module for Python WSGI applications")
312 "The mod_wsgi module for the Apache HTTPD Server adds support for running
313 applications that support the Python @acronym{WSGI, Web Server Gateway
314 Interface} specification.")
315 (license license:asl2.0)
316 (home-page "https://modwsgi.readthedocs.io/")))
318 (define-public monolith
326 (url "https://github.com/Y2Z/monolith.git")
327 (commit (string-append "v" version))))
328 (file-name (git-file-name name version))
330 (base32 "1pj4wnsw5a4ys79sqw68ib6zimaqlkplb89x6yncg949a6hj8516"))))
331 (build-system cargo-build-system)
334 (("rust-atty" ,rust-atty-0.2)
335 ("rust-base64" ,rust-base64-0.13)
336 ("rust-chrono" ,rust-chrono-0.4)
337 ("rust-clap" ,rust-clap-2)
338 ("rust-cssparser" ,rust-cssparser-0.28)
339 ("rust-encoding-rs" ,rust-encoding-rs-0.8)
340 ("rust-html5ever" ,rust-html5ever-0.24)
341 ("rust-regex" ,rust-regex-1)
342 ("rust-reqwest" ,rust-reqwest-0.11)
343 ("rust-sha2" ,rust-sha2-0.9)
344 ("rust-url" ,rust-url-2))
345 #:cargo-development-inputs
346 (("rust-assert-cmd" ,rust-assert-cmd-1))))
348 `(("pkg-config" ,pkg-config)))
350 `(("openssl" ,openssl)))
351 (home-page "https://github.com/Y2Z/monolith")
352 (synopsis "Command line tool for saving web pages as a single HTML file")
354 "Monolith bundles any web page into a single HTML file.
356 Unlike conventional ``Save page as…'', Monolith not only saves the target
357 document, it embeds CSS, image, and JavaScript assets all at once, producing
358 a single HTML5 document.
360 If compared to saving websites with @samp{wget -mpk}, Monolith embeds
361 all assets as data URLs and therefore displays the saved page exactly
362 the same, being completely separated from the Internet.")
363 (license license:unlicense)))
368 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
369 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
370 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
371 ;; Consider updating the nginx-documentation package together with this one.
375 (uri (string-append "https://nginx.org/download/nginx-"
379 "0w87zhm5nfx88x9hj6drrvm5f3m02kzbjp39x1lsglrbmi5jl6gy"))))
380 (build-system gnu-build-system)
381 (inputs `(("libxml2" ,libxml2)
387 `(#:tests? #f ; no test target
389 (modify-phases %standard-phases
390 (add-before 'configure 'patch-/bin/sh
392 (substitute* "auto/feature"
393 (("/bin/sh") (which "sh")))
396 ;; The configure script is hand-written, not from GNU autotools.
397 (lambda* (#:key configure-flags inputs outputs #:allow-other-keys)
399 (append (list (string-append "--prefix=" (assoc-ref outputs "out"))
400 "--with-http_ssl_module"
401 "--with-http_v2_module"
402 "--with-http_xslt_module"
403 "--with-http_gzip_static_module"
404 "--with-http_gunzip_module"
405 "--with-http_addition_module"
406 "--with-http_sub_module"
410 ;; Even when not cross-building, we pass the
411 ;; --crossbuild option to avoid customizing for the
412 ;; kernel version on the build machine.
413 ,(let ((system "Linux") ; uname -s
414 (release "3.2.0") ; uname -r
416 (machine (match (or (%current-target-system)
418 ("x86_64-linux" "x86_64")
419 ("i686-linux" "i686")
420 ("mips64el-linux" "mips64")
421 ;; Prevent errors when querying
422 ;; this package on unsupported
423 ;; platforms, e.g. when running
424 ;; "guix package --search="
426 (string-append "--crossbuild="
427 system ":" release ":" machine)))
429 (setenv "CC" ,(cc-for-target))
430 ;; Fix ./configure test for ‘#include <libxml/parser.h>’.
431 (setenv "CFLAGS" ; CPPFLAGS is not respected
432 (string-append "-I" (assoc-ref inputs "libxml2")
434 (format #t "configure flags: ~s~%" flags)
435 (apply invoke "./configure" flags)
437 (add-after 'install 'install-man-page
438 (lambda* (#:key outputs #:allow-other-keys)
439 (let* ((out (assoc-ref outputs "out"))
440 (man (string-append out "/share/man")))
441 (install-file "objs/nginx.8" (string-append man "/man8"))
443 (add-after 'install 'fix-root-dirs
444 (lambda* (#:key outputs #:allow-other-keys)
445 ;; 'make install' puts things in strange places, so we need to
446 ;; clean it up ourselves.
447 (let* ((out (assoc-ref outputs "out"))
448 (share (string-append out "/share/nginx")))
449 ;; This directory is empty, so get rid of it.
450 (rmdir (string-append out "/logs"))
451 ;; Example configuration and HTML files belong in
454 (rename-file (string-append out "/conf")
455 (string-append share "/conf"))
456 (rename-file (string-append out "/html")
457 (string-append share "/html"))
459 (home-page "https://nginx.org")
460 (synopsis "HTTP and reverse proxy server")
462 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
463 created by Igor Sysoev. It can be used both as a stand-alone web server
464 and as a proxy to reduce the load on back-end HTTP or mail servers.")
465 ;; Almost all of nginx is distributed under the bsd-2 license.
466 ;; The exceptions are:
467 ;; * The 'nginx-http-push' module is covered by the expat license.
468 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
469 ;; except for two source files which are bsd-4 licensed.
470 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
472 (define-public nginx-documentation
473 ;; This documentation should be relevant for the current nginx package.
474 (let ((version "1.21.0")
476 (changeset "a7a36efd10af"))
478 (name "nginx-documentation")
479 (version (simple-format #f "~A-~A-~A" version revision changeset))
481 (origin (method hg-fetch)
483 (url "http://hg.nginx.org/nginx.org")
484 (changeset changeset)))
485 (file-name (string-append name "-" version))
488 "1fl7rkbfdd26c78h85x4w3kas16rpj4pxzjhc071qvx7znwgm2pn"))))
489 (build-system gnu-build-system)
491 '(#:tests? #f ; no test suite
493 (modify-phases %standard-phases
494 (delete 'configure) ; no configure script
496 (lambda* (#:key outputs #:allow-other-keys)
497 (let ((output (assoc-ref outputs "out")))
498 (substitute* "umasked.sh"
499 ((" /bin/sh") (string-append " " (which "sh"))))
500 ;; The documentation includes a banner, which makes sense on
501 ;; the NGinx website, but doesn't make much sense when
502 ;; viewing locally. Therefore, modify the CSS to remove the
504 (substitute* "xslt/style.xslt"
505 (("#banner \\{ background: black;")
506 "#banner { display: none;"))
510 (lambda* (#:key outputs #:allow-other-keys)
511 (let ((output (assoc-ref outputs "out")))
513 (copy-recursively "libxslt" output)
516 `(("libxml2" ,libxml2)
518 ("nginx-xslscript" ,nginx-xslscript)))
519 (home-page "https://nginx.org")
520 (synopsis "Documentation for the nginx web server")
522 "This package provides HTML documentation for the nginx web server.")
523 (license license:bsd-2))))
525 (define-public nginx-accept-language-module
526 ;; Upstream has never made a release; use current commit instead.
527 (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
530 (name "nginx-accept-language-module")
531 (version (git-version "0.0.0" ;upstream has no version number
537 (url "https://github.com/giom/nginx_accept_language_module")
539 (file-name (git-file-name name version))
541 (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
542 (build-system gnu-build-system)
543 (inputs `(("openssl" ,openssl)
545 ("nginx-sources" ,(package-source nginx))
548 `(#:tests? #f ; no test target
549 #:make-flags (list "modules")
550 #:modules ((guix build utils)
551 (guix build gnu-build-system)
554 (ice-9 textual-ports))
556 (modify-phases %standard-phases
557 (add-after 'unpack 'unpack-nginx-sources
558 (lambda* (#:key inputs native-inputs #:allow-other-keys)
560 ;; The nginx source code is part of the module’s source.
561 (format #t "decompressing nginx source code~%")
562 (let ((tar (assoc-ref inputs "tar"))
563 (nginx-srcs (assoc-ref inputs "nginx-sources")))
564 (invoke (string-append tar "/bin/tar")
565 "xvf" nginx-srcs "--strip-components=1"))
567 (add-after 'unpack 'convert-to-dynamic-module
570 (with-atomic-file-replacement "config"
572 ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
573 (format out "ngx_module_type=HTTP~%")
574 (format out "ngx_module_name=\
575 ngx_http_accept_language_module~%")
576 (let* ((str (get-string-all in))
578 "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
579 (m (regexp-exec rx str))
580 (srcs (match:substring m 1)))
581 (format out (string-append "ngx_module_srcs=\""
583 (format out ". auto/module~%")
584 (format out "ngx_addon_name=$ngx_module_name~%"))))))
585 (add-before 'configure 'patch-/bin/sh
587 (substitute* "auto/feature"
588 (("/bin/sh") (which "sh")))
591 ;; This phase is largely copied from the nginx package.
592 (lambda* (#:key outputs #:allow-other-keys)
594 (list ;; A copy of nginx’ flags follows, otherwise we
595 ;; get a binary compatibility error. FIXME: Code
596 ;; duplication is bad.
597 (string-append "--prefix=" (assoc-ref outputs "out"))
598 "--with-http_ssl_module"
599 "--with-http_v2_module"
602 ;; Even when not cross-building, we pass the
603 ;; --crossbuild option to avoid customizing for the
604 ;; kernel version on the build machine.
605 ,(let ((system "Linux") ; uname -s
606 (release "3.2.0") ; uname -r
608 (machine (match (or (%current-target-system)
610 ("x86_64-linux" "x86_64")
611 ("i686-linux" "i686")
612 ("mips64el-linux" "mips64")
613 ;; Prevent errors when querying
614 ;; this package on unsupported
615 ;; platforms, e.g. when running
616 ;; "guix package --search="
618 (string-append "--crossbuild="
619 system ":" release ":" machine))
620 ;; The following are the args decribed on
621 ;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
622 ;; Enabling --with-compat here and in the nginx package
623 ;; would ensure binary compatibility even when using
624 ;; different configure options from the main nginx
625 ;; package. This is not needed for Guix.
627 "--add-dynamic-module=.")))
629 (format #t "environment variable `CC' set to `gcc'~%")
630 (format #t "configure flags: ~s~%" flags)
631 (apply invoke "./configure" flags)
634 (lambda* (#:key outputs #:allow-other-keys)
635 (let* ((out (assoc-ref outputs "out"))
636 (modules-dir (string-append out "/etc/nginx/modules"))
637 (doc-dir (string-append
638 out "/share/doc/nginx-accept-language-module")))
639 (mkdir-p modules-dir)
640 (copy-file "objs/ngx_http_accept_language_module.so"
642 modules-dir "/ngx_http_accept_language_module.so"))
644 (copy-file "README.textile"
645 (string-append doc-dir "/README.textile"))
648 "https://www.nginx.com/resources/wiki/modules/accept_language/")
649 (synopsis "Nginx module for parsing the Accept-Language HTTP header")
651 "This nginx module parses the Accept-Language field in HTTP headers and
652 chooses the most suitable locale for the user from the list of locales
653 supported at your website.")
654 (license (delete-duplicates
655 (cons license:bsd-2 ;license of nginx-accept-language-module
656 ;; The module’s code is linked statically with nginx,
657 ;; therefore nginx’ other licenses may also apply to its
659 (package-license nginx)))))))
661 (define nginx-xslscript
663 (changeset "01dc9ba12e1b"))
665 (name "nginx-xslscript")
667 (simple-format #f "2014-03-31-~A-~A" revision changeset))
671 (url "http://hg.nginx.org/xslscript")
672 (changeset changeset)))
673 (file-name (string-append name "-" version))
676 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
677 (build-system gnu-build-system)
679 '(#:tests? #f ; No test suite
681 (modify-phases %standard-phases
685 (lambda* (#:key outputs #:allow-other-keys)
686 (let ((out-bin (string-append
687 (assoc-ref outputs "out")
690 (copy-file "xslscript.pl"
695 (home-page "http://hg.nginx.org/xslscript")
696 (synopsis "XSLScript with NGinx specific modifications")
698 "XSLScript is a terse notation for writing complex XSLT stylesheets.
699 This is modified version, specifically intended for use with the NGinx
701 (license license:bsd-2))))
703 (define nginx-socket-cloexec
706 (name "nginx-socket-cloexec") ;required for lua-resty-shell
709 (inherit (package-source nginx))
710 (patches (append (search-patches "nginx-socket-cloexec.patch")
711 (origin-patches (package-source nginx))))))))
713 (define-public nginx-lua-module
716 (name "nginx-lua-module")
722 (url "https://github.com/openresty/lua-nginx-module")
723 (commit (string-append "v" version))))
724 (file-name (git-file-name "lua-nginx-module" version))
726 (base32 "0nwcbqm1visg1dkxav7qa16w0d0n8cgqn4881xiqn88xfkxj0dyg"))))
727 (build-system gnu-build-system)
729 `(("nginx-sources" ,(package-source nginx-socket-cloexec))
731 ,@(package-inputs nginx)))
733 (substitute-keyword-arguments
734 `(#:configure-flags '("--add-dynamic-module=.")
735 #:make-flags '("modules")
736 #:modules ((guix build utils)
737 (guix build gnu-build-system)
740 (ice-9 textual-ports))
741 ,@(package-arguments nginx))
743 `(modify-phases ,phases
744 (add-after 'unpack 'unpack-nginx-sources
745 (lambda* (#:key inputs native-inputs #:allow-other-keys)
747 ;; The nginx source code is part of the module’s source.
748 (format #t "decompressing nginx source code~%")
749 (let ((tar (assoc-ref inputs "tar"))
750 (nginx-srcs (assoc-ref inputs "nginx-sources")))
751 (invoke (string-append tar "/bin/tar")
752 "xvf" nginx-srcs "--strip-components=1"))
754 (add-before 'configure 'set-luajit-env
755 (lambda* (#:key inputs #:allow-other-keys)
756 (let ((luajit (assoc-ref inputs "luajit")))
758 (string-append luajit "/lib"))
760 (string-append luajit "/include/luajit-2.1"))
763 (lambda* (#:key outputs #:allow-other-keys)
764 (let ((modules-dir (string-append (assoc-ref outputs "out")
765 "/etc/nginx/modules")))
766 (install-file "objs/ngx_http_lua_module.so" modules-dir)
768 (delete 'fix-root-dirs)
769 (delete 'install-man-page)))))
770 (synopsis "NGINX module for Lua programming language support")
771 (description "This NGINX module provides a scripting support with Lua
772 programming language.")))
774 (define-public lighttpd
780 (uri (string-append "https://download.lighttpd.net/lighttpd/"
781 "releases-" (version-major+minor version) ".x/"
782 "lighttpd-" version ".tar.xz"))
785 "1mc421yrbnq3k6yrc708svp0fgcamrn5a0p2nvnhivysffr3v5gv"))))
786 (build-system gnu-build-system)
797 (modify-phases %standard-phases
798 (add-after 'unpack 'embed-/bin/sh-reference
800 (substitute* "src/mod_ssi.c"
801 (("/bin/sh") (which "sh")))
803 (add-after 'unpack 'fix-tests
805 (setenv "SHELL" (which "sh"))
806 ;; gethostbyaddr fails
807 (substitute* "tests/LightyTest.pm"
808 (("\\{HOSTNAME\\} = \\$name;")
809 "{HOSTNAME} = \"127.0.0.1\";"))
812 `(("cyrus-sasl" ,cyrus-sasl)
814 ("libunwind" ,libunwind)
815 ("linux-pam" ,linux-pam)
816 ("mit-krb5" ,mit-krb5)
817 ("openldap" ,openldap)
820 ("pcre:bin" ,pcre "bin")
823 `(("perl" ,perl) ; for tests
824 ("pkg-config" ,pkg-config)
826 (home-page "https://www.lighttpd.net/")
827 (synopsis "Lightweight HTTP and reverse proxy server")
829 "Lighttpd is a secure, fast, compliant, and very flexible web-server that
830 has been optimized for high-performance environments. It has a very low
831 memory footprint compared to other webservers. Its features include FastCGI,
832 CGI, authentication, output compression, URL rewriting and many more.")
833 (license license:bsd-3)))
842 ;; Upstream has disappeared.
844 (url "https://github.com/FastCGI-Archives/fcgi2")
846 (file-name (git-file-name name version))
848 (base32 "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"))))
849 (build-system gnu-build-system)
850 ;; Parallel building is not supported.
851 (arguments `(#:parallel-build? #f))
853 `(("autoconf" ,autoconf)
854 ("automake" ,automake)
855 ("libtool" ,libtool)))
856 ;; This is an archived fork of the original home page, www.fastcgi.com.
857 (home-page "https://fastcgi-archives.github.io/")
858 (synopsis "Language-independent, high-performant extension to CGI")
859 (description "FastCGI is a language-independent, scalable extension to CGI
860 that provides high performance without the limitations of server specific
862 ;; This package is released under the Open Market License, a variant of
863 ;; the Expat license, incompatible with the GPL.
864 (license (license:non-copyleft "file://LICENSE.TERMS"))))
866 (define-public fcgiwrap
874 (url "https://github.com/gnosek/fcgiwrap")
876 (file-name (git-file-name name version))
878 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
879 (build-system gnu-build-system)
881 `(#:tests? #f ; no tests included
882 #:make-flags (list "CC=gcc")
884 (modify-phases %standard-phases
885 (add-after 'unpack 'fix-CFLAGS
886 ;; Remove broken options unconditionally added to CFLAGS.
888 (substitute* "configure.ac"
892 `(("autoconf" ,autoconf)
893 ("automake" ,automake)
894 ("pkg-config" ,pkg-config)))
897 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
898 (synopsis "Simple server for running CGI applications over FastCGI")
899 (description "Fcgiwrap is a simple server for running CGI applications
900 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
901 servers that may need it).")
902 (license license:expat)))
904 (define-public starman
911 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
912 "Starman-" version ".tar.gz"))
914 (base32 "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h"))))
915 (build-system perl-build-system)
917 `(("perl-libwww" ,perl-libwww)
918 ("perl-module-build-tiny" ,perl-module-build-tiny)
919 ("perl-test-requires" ,perl-test-requires)))
921 `(("perl-data-dump" ,perl-data-dump)
922 ("perl-http-date" ,perl-http-date)
923 ("perl-http-message" ,perl-http-message)
924 ("perl-http-parser-xs" ,perl-http-parser-xs)
925 ("perl-net-server" ,perl-net-server)
926 ("perl-plack" ,perl-plack)
927 ("perl-test-tcp" ,perl-test-tcp)))
928 (home-page "https://metacpan.org/release/Starman")
929 (synopsis "PSGI/Plack web server")
930 (description "Starman is a PSGI perl web server that has unique features
931 such as high performance, preforking, signal support, superdaemon awareness,
932 and UNIX socket support.")
933 (license license:perl-license)))
935 (define-public icedtea-web
942 "http://icedtea.wildebeest.org/download/source/"
943 name "-" version ".tar.gz"))
946 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
947 (build-system gnu-build-system)
950 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
951 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
953 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
954 (outputs '("out" "doc"))
956 `(("pkg-config" ,pkg-config)
960 ("jdk" ,icedtea "jdk")))
961 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
962 (synopsis "Java Web Start")
964 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
965 Protocol}, also known as Java Web Start. This package provides tools and
966 libraries for working with JNLP applets.")
967 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
969 (license license:gpl2+)))
971 (define-public jansson
978 (string-append "http://www.digip.org/jansson/releases/jansson-"
982 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
983 (build-system gnu-build-system)
985 `(#:configure-flags '("--disable-static")))
986 (home-page "http://www.digip.org/jansson/")
987 (synopsis "JSON C library")
989 "Jansson is a C library for encoding, decoding and manipulating JSON
991 (license license:expat)))
993 (define-public json-c
1000 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
1004 "0w381krr99q5a2rypx4g437fa7gzgl82i64sgnrs6g5jr44dwxxk"))
1005 (patches (search-patches "json-c-CVE-2020-12762.patch"))))
1006 (build-system cmake-build-system)
1007 (home-page "https://github.com/json-c/json-c/wiki")
1008 (synopsis "JSON implementation in C")
1010 "JSON-C implements a reference counting object model that allows you to
1011 easily construct JSON objects in C, output them as JSON-formatted strings and
1012 parse JSON-formatted strings back into the C representation of JSON objects.
1013 It aims to conform to RFC 7159.")
1014 (license license:x11)))
1016 ;; TODO: Remove these old versions when all dependents have been updated.
1017 (define-public json-c-0.13
1024 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
1027 (base32 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
1028 (patches (search-patches "json-c-0.13-CVE-2020-12762.patch"))
1029 (modules '((guix build utils)))
1032 ;; Somehow 'config.h.in' is older than
1033 ;; 'aclocal.m4', which would trigger a rule to
1034 ;; run 'autoheader'.
1035 (set-file-time "config.h.in"
1036 (stat "aclocal.m4"))
1038 (build-system gnu-build-system)))
1040 (define-public json-c-0.12
1042 (inherit json-c-0.13)
1047 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
1050 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
1051 (patches (search-patches "json-c-0.12-CVE-2020-12762.patch"))
1052 (modules '((guix build utils)))
1055 ;; Somehow 'config.h.in' is older than
1056 ;; 'aclocal.m4', which would trigger a rule to
1057 ;; run 'autoheader'.
1058 (set-file-time "config.h.in"
1059 (stat "aclocal.m4"))
1061 ;; Don't try to build with -Werror.
1062 (substitute* (find-files "." "Makefile\\.in")
1066 (define-public json-parser
1068 (name "json-parser")
1071 ;; do not use auto-generated tarballs
1074 (url "https://github.com/udp/json-parser")
1075 (commit (string-append "v" version))))
1076 (file-name (git-file-name name version))
1079 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
1080 ;; FIXME: we should build the python bindings in a separate package
1081 (build-system gnu-build-system)
1082 ;; the tests are written for the python bindings which are not built here
1083 (arguments '(#:tests? #f))
1084 (home-page "https://github.com/udp/json-parser")
1085 (synopsis "JSON parser written in ANSI C")
1086 (description "This package provides a very low footprint JSON parser
1087 written in portable ANSI C.
1090 @item BSD licensed with no dependencies (i.e. just drop the C file into your
1092 @item Never recurses or allocates more memory than it needs
1093 @item Very simple API with operator sugar for C++
1095 (license license:bsd-2)))
1097 (define-public qjson
1104 (url "https://github.com/flavio/qjson")
1106 (file-name (git-file-name name version))
1109 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
1110 (build-system cmake-build-system)
1112 ;; The tests require a running X server.
1113 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
1114 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
1116 (modify-phases %standard-phases
1117 (add-after 'unpack 'disable-broken-test
1119 ;; FIXME: One test fails. See
1120 ;; https://github.com/flavio/qjson/issues/105
1121 (substitute* "tests/scanner/testscanner.cpp"
1122 (("QTest::newRow\\(\"too large exponential\"\\)" line)
1123 (string-append "//" line)))
1125 (add-before 'check 'render-offscreen
1126 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
1128 `(("qtbase" ,qtbase-5)))
1129 (home-page "http://qjson.sourceforge.net")
1130 (synopsis "Library that maps JSON data to QVariant objects")
1131 (description "QJson is a Qt-based library that maps JSON data to
1132 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
1133 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
1134 ;; Only version 2.1 of the license
1135 (license license:lgpl2.1)))
1137 (define-public qoauth
1144 (url "https://github.com/ayoy/qoauth")
1145 (commit (string-append "v" version))))
1146 (file-name (git-file-name name version))
1149 "1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3"))))
1150 (build-system gnu-build-system)
1153 ("qtbase" ,qtbase-5)))
1155 '(#:tests? #f ;FIXME: some tests are failing
1157 (modify-phases %standard-phases
1158 (add-after 'unpack 'patch-code
1160 (make-file-writable "src/qoauth.pc")
1161 (substitute* "src/src.pro"
1162 (("/lib64") "/lib"))
1164 (add-after 'unpack 'adjust-mkspecs-directory
1165 (lambda* (#:key outputs #:allow-other-keys)
1166 (substitute* "src/src.pro"
1167 ;; Do not attempt to install the .prf file into qtbase
1168 ;; "lib/qt5/mkspecs/features", ref <https://bugs.gnu.org/45031>.
1169 (("\\$\\$\\[QMAKE_MKSPECS\\]")
1170 (string-append (assoc-ref outputs "out") "/lib/qt5/mkspecs")))
1173 (lambda* (#:key inputs #:allow-other-keys)
1174 (let ((qca (assoc-ref inputs "qca")))
1177 (string-append "PREFIX=" (assoc-ref %outputs "out"))
1178 (string-append "QMAKE_INCDIR+=" qca "/include/Qca-qt5/QtCrypto")
1179 (string-append "LIBS+=-L" qca "/lib")
1180 (string-append "LIBS+=-lqca-qt5"))))))))
1181 (home-page "https://github.com/ayoy/qoauth")
1182 (synopsis "Qt-based C++ library for OAuth authorization scheme")
1183 (description "QOAuth is an attempt to support interaction with
1184 OAuth-powered network services in a Qt way, i.e. simply, clearly and
1185 efficiently. It gives the application developer no more than 4 methods.")
1186 (license license:lgpl2.1+)))
1188 (define-public krona-tools
1190 (name "krona-tools")
1195 "https://github.com/marbl/Krona/releases/download/v"
1196 version "/KronaTools-" version ".tar"))
1199 "1h698wddb3hii68mnkby7s1x81vbhd4z1sf4ivm1lsi2nqlc1vsn"))))
1200 (build-system perl-build-system)
1203 (modify-phases %standard-phases
1204 ;; There is no configure or build steps.
1207 ;; Install script "install.pl" expects the build directory to remain
1208 ;; after installation, creating symlinks etc., so re-implement it
1211 (lambda* (#:key outputs #:allow-other-keys)
1212 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
1213 (perl (string-append (assoc-ref outputs "out")
1214 "/lib/perl5/site_perl/krona-tools/lib"))
1215 (share (string-append (assoc-ref outputs "out")
1216 "/share/krona-tools")))
1220 (let ((executable (string-append "scripts/" script ".pl")))
1221 ;; Prefix executables with 'kt' as install script does.
1222 (copy-file executable (string-append bin "/kt" script))))
1224 "GetContigMagnitudes"
1234 "ImportMETAREP-BLAST"
1239 "ImportRDPComparison"
1245 (copy-recursively directory
1246 (string-append perl "/../" directory)))
1247 (list "data" "img" "taxonomy" "src"))
1248 (install-file "lib/KronaTools.pm" perl)
1250 ;; Install downloaders
1251 (substitute* "updateAccessions.sh"
1252 (("ktPath=.*") (string-append "ktPath=" share "\n")))
1253 (substitute* "updateTaxonomy.sh"
1254 (("ktPath=.*") (string-append "ktPath=" share "\n"))
1255 (("command -v curl")
1256 (string-append "command -v " (which "curl")))
1258 (string-append (which "curl") " -s"))
1259 (("curl\\$timestring")
1260 (string-append (which "curl") "$timestring"))
1262 (string-append (which "perl") " -M"))
1264 (string-append (which "make") " ")))
1265 (for-each (lambda (file)
1266 (install-file file (string-append share "/scripts")))
1267 '("scripts/extractTaxonomy.pl"
1268 "scripts/accession2taxid.make"
1269 "scripts/taxonomy.make"))
1270 (for-each (lambda (file)
1271 (install-file file share))
1272 '("updateAccessions.sh"
1273 "updateTaxonomy.sh")))))
1274 (add-after 'install 'wrap-program
1275 (lambda* (#:key inputs outputs #:allow-other-keys)
1276 (let* ((out (assoc-ref outputs "out"))
1277 (path (getenv "PERL5LIB")))
1279 (lambda (executable)
1280 (wrap-program executable
1281 `("PERL5LIB" ":" prefix
1282 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
1283 (find-files (string-append out "/bin/") ".*")))))
1285 (add-after 'wrap-program 'check
1286 (lambda* (#:key inputs outputs #:allow-other-keys)
1287 (with-directory-excursion "data"
1288 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
1294 (home-page "https://github.com/marbl/Krona/wiki")
1295 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
1297 "Krona is a flexible tool for exploring the relative proportions of
1298 hierarchical data, such as metagenomic classifications, using a radial,
1299 space-filling display. It is implemented using HTML5 and JavaScript, allowing
1300 charts to be explored locally or served over the Internet, requiring only a
1301 current version of any major web browser.")
1302 (license license:bsd-3)))
1304 (define-public rapidjson
1311 (url "https://github.com/Tencent/rapidjson")
1312 (commit (string-append "v" version))))
1313 (file-name (git-file-name name version))
1316 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
1317 (patches (search-patches "rapidjson-gcc-compat.patch"))
1318 (modules '((guix build utils)))
1321 ;; Remove code using the problematic JSON license (see
1322 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
1323 (delete-file-recursively "bin/jsonchecker")
1325 (build-system cmake-build-system)
1327 (if (string-prefix? "aarch64" (or (%current-target-system)
1330 (modify-phases %standard-phases
1331 (add-after 'unpack 'patch-aarch-march-detection
1333 (substitute* (find-files "." "^CMakeLists\\.txt$")
1334 (("native") "armv8-a"))
1336 ;; Disable CPU optimization for reproducibility.
1337 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
1338 (home-page "https://github.com/Tencent/rapidjson")
1339 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
1341 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
1343 (license license:expat)))
1345 (define-public libyajl
1352 (url "https://github.com/lloyd/yajl")
1354 (file-name (git-file-name name version))
1357 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
1358 (build-system cmake-build-system)
1361 (modify-phases %standard-phases
1362 (add-after 'patch-source-shebangs 'patch-tests
1364 (substitute* "test/parsing/run_tests.sh"
1365 (("`which echo`") (which "echo")))
1367 (home-page "https://lloyd.github.io/yajl/")
1368 (synopsis "C library for parsing JSON")
1370 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
1371 parser written in ANSI C and a small validating JSON generator.")
1372 (license license:isc)))
1374 (define-public libwebsockets
1376 (name "libwebsockets")
1379 ;; The project does not publish tarballs, so we have to take
1383 (url "https://github.com/warmcat/libwebsockets")
1384 (commit (string-append "v" version))))
1387 "0x56v4hsx92vm1zibfmnqb5g3v23kzciffn3fjlsc3sly2pknhsg"))
1388 (file-name (string-append name "-" version))))
1390 (build-system cmake-build-system)
1392 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
1393 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
1396 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
1397 (inputs `(("zlib" ,zlib)
1398 ("openssl" ,openssl)))
1399 (synopsis "WebSockets library written in C")
1401 "Libwebsockets is a library that allows C programs to establish client
1402 and server WebSockets connections---a protocol layered above HTTP that allows
1403 for efficient socket-like bidirectional reliable communication channels.")
1404 (home-page "https://libwebsockets.org")
1406 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
1407 (license license:lgpl2.1)))
1417 (url "https://github.com/WebAssembly/wabt")
1419 (file-name (git-file-name name version))
1421 (base32 "1zlv3740wkqj4mn6sr84h0x6wk2lcp4pwwmqsh5yyqp1j1glbsa0"))))
1422 (build-system cmake-build-system)
1424 `(#:configure-flags '("-DBUILD_TESTS=OFF")
1426 (inputs `(("python" ,python-2)
1428 (home-page "https://github.com/WebAssembly/wabt")
1429 (synopsis "WebAssembly Binary Toolkit")
1430 (description "WABT (pronounced: wabbit) is a suite of tools for
1431 WebAssembly, including:
1434 @item @command{wat2wasm} translates from WebAssembly text format to the
1435 WebAssembly binary format
1436 @item @command{wasm2wat} is the inverse; it translates from the binary format
1437 back to the text format (also known as a .wat)
1438 @item @command{wasm-objdump} prints information about a wasm binary, similarly
1439 to @command{objdump}.
1440 @item @command{wasm-interp} decodes ands run a WebAssembly binary file using a
1441 stack-based interpreter
1442 @item @command{wat-desugar} parses .wat text form as supported by the spec
1443 interpreter (s-expressions, flat syntax, or mixed) and prints the canonical
1445 @item @command{wasm2c} converts a WebAssembly binary file to a C source and
1449 These tools are intended for use in (or for development of) toolchains or
1450 other systems that want to manipulate WebAssembly files.")
1451 (license license:asl2.0)))
1453 (define-public websocketpp
1455 (name "websocketpp")
1461 (url "https://github.com/zaphoyd/websocketpp")
1463 (file-name (git-file-name name version))
1465 (base32 "1ww4fhl8qf12hkv6jaild8zzsygdspxm1gqpk2f63gv1xfi31wpm"))
1466 (patches (search-patches "websocketpp-fix-for-cmake-3.15.patch"))))
1467 (build-system cmake-build-system)
1468 (inputs `(("boost" ,boost)
1469 ("openssl" ,openssl)))
1470 (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
1472 (modify-phases %standard-phases
1473 (add-after 'install 'remove-tests
1474 (lambda* (#:key outputs #:allow-other-keys)
1475 (let* ((install-dir (assoc-ref outputs "out"))
1476 (bin-dir (string-append install-dir "/bin")))
1477 (delete-file-recursively bin-dir)
1479 (home-page "https://www.zaphoyd.com/websocketpp/")
1480 (synopsis "C++ library implementing the WebSocket protocol")
1481 (description "WebSocket++ is a C++ library that can be used to implement
1482 WebSocket functionality. The goals of the project are to provide a WebSocket
1483 implementation that is simple, portable, flexible, lightweight, low level, and
1485 (license license:bsd-3)))
1487 (define-public wslay
1495 (url "https://github.com/tatsuhiro-t/wslay")
1496 (commit (string-append "release-" version))))
1497 (file-name (git-file-name name version))
1499 (base32 "1w32iljg4inqf0712w5fxxhggvmjh6ipl2lnz0h36dv1xrj0d964"))))
1500 (build-system gnu-build-system)
1502 ;; Parallel builds don't reliably succeed.
1503 `(#:parallel-build? #f))
1505 `(("autoconf" ,autoconf)
1506 ("automake" ,automake)
1507 ("cunit" ,cunit) ; for tests
1508 ("libtool" ,libtool)
1509 ("pkg-config" ,pkg-config)
1510 ("python-sphinx" ,python-sphinx)))
1511 (home-page "https://tatsuhiro-t.github.io/wslay/")
1512 (synopsis "C WebSocket library")
1513 (description "@code{Wslay} is an event-based C library for the WebSocket
1514 protocol version 13, described in RFC 6455. Besides a high-level API it
1515 provides callbacks for sending and receiving frames directly. @code{Wslay}
1516 only supports the data transfer part of WebSocket protocol and does not
1517 perform the opening handshake in HTTP.")
1518 (license license:expat)))
1520 (define-public libpsl
1526 (uri (string-append "https://github.com/rockdaboot/libpsl/"
1527 "releases/download/" version
1528 "/libpsl-" version ".tar.gz"))
1531 "0k0d46bbh1jj2ll369f134vciplrzbqkg7fv9m62bl6lzghy2v5c"))))
1532 (build-system gnu-build-system)
1534 `(("pkg-config" ,pkg-config)
1537 ("python" ,python-wrapper)))
1539 `(("libidn2" ,libidn2)
1540 ("libunistring" ,libunistring)))
1541 (home-page "https://github.com/rockdaboot/libpsl")
1542 (synopsis "C library for the Publix Suffix List")
1544 "A \"public suffix\" is a domain name under which Internet users can
1545 directly register own names.
1547 Browsers and other web clients can use it to avoid privacy-leaking
1548 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
1549 highlighting parts of the domain in a user interface, and sorting domain lists
1552 Libpsl has built-in PSL data for fast access, allowing to load PSL data from
1553 files, checks if a given domain is a public suffix, provides immediate cookie
1554 domain verification, finds the longest public part of a given domain, finds
1555 the shortest private part of a given domain, works with international
1556 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
1558 (license license:x11)))
1563 (version "20091223")
1568 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
1570 (revision "2009-12-23")))
1571 (file-name (string-append name "-" version "-checkout"))
1574 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
1575 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
1576 (build-system gnu-build-system)
1578 '(#:phases (modify-phases %standard-phases
1580 (lambda* (#:key inputs #:allow-other-keys)
1581 ;; configure.in and Makefile.am aren't in the root of the
1583 (copy-recursively "build/gnuauto" ".")
1584 (setenv "AUTOMAKE" "automake --foreign")
1585 (invoke "autoreconf" "-vfi"))))))
1587 `(("automake" ,automake)
1588 ("autoconf" ,autoconf)
1589 ("libtool" ,libtool)))
1590 (synopsis "HTML validator and tidier")
1591 (description "HTML Tidy is a command-line tool and C library that can be
1592 used to validate and fix HTML data.")
1593 (home-page "http://tidy.sourceforge.net/")
1594 (license (license:x11-style "file:///include/tidy.h"))))
1596 (define-public esbuild
1604 (url "https://github.com/evanw/esbuild")
1605 (commit (string-append "v" version))))
1606 (file-name (git-file-name name version))
1608 (base32 "10bz1xq2frdja7mbx04m009svg8b5rj7vfq3sc2gc88n31v21b1j"))
1609 (modules '((guix build utils)))
1612 ;; Remove prebuilt binaries
1613 (delete-file-recursively "npm")
1615 (build-system go-build-system)
1617 '(#:import-path "github.com/evanw/esbuild/cmd/esbuild"
1618 #:unpack-path "github.com/evanw/esbuild"
1620 (modify-phases %standard-phases
1622 (lambda* (#:key tests? unpack-path #:allow-other-keys)
1624 (with-directory-excursion (string-append "src/" unpack-path)
1625 (invoke "make" "test-go")))
1628 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1630 `(("github.com/kylelemons/godebug" ,go-github-com-kylelemons-godebug)))
1631 (home-page "https://esbuild.github.io/")
1632 (synopsis "Bundler and minifier tool for JavaScript and TypeScript")
1634 "The esbuild tool provides a unified bundler, transpiler and
1635 minifier. It packages up JavaScript and TypeScript code, along with JSON
1636 and other data, for distribution on the web.")
1637 (license license:expat)))
1639 (define-public tinyproxy
1645 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1646 "releases/download/" version "/tinyproxy-"
1650 "0cizm8pbh5p557birdirkayj71xdxapaa9q29v1d4lf5qk7q3v61"))))
1651 (build-system gnu-build-system)
1653 `(#:test-target "test" ; ‘make check’ silently does nothing
1656 ;; For the log file, etc.
1657 "--localstatedir=/var")
1659 (modify-phases %standard-phases
1660 (add-before 'build 'pre-build
1661 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1662 ;; Uncommenting the next two lines may assist in debugging
1663 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1664 ;; (setenv "XML_DEBUG_CATALOG" "1")
1667 `(("perl" ,perl))) ; for tests
1668 (home-page "https://tinyproxy.github.io/")
1669 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1670 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1671 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1672 solution for use cases such as embedded deployments where a full featured HTTP
1673 proxy is required, but the system resources for a larger proxy are
1675 (license license:gpl2+)))
1677 (define-public polipo
1685 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1689 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1690 (native-inputs `(("texinfo" ,texinfo)))
1691 (build-system gnu-build-system)
1693 `(#:phases (modify-phases %standard-phases
1694 (delete 'configure))
1695 #:make-flags (let ((out (assoc-ref %outputs "out")))
1696 (list (string-append "PREFIX=" out)
1697 (string-append "LOCAL_ROOT="
1698 out "/share/polipo/www")
1700 ;; No 'check' target.
1702 (home-page "https://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1703 (synopsis "Small caching web proxy")
1705 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1706 server). It was primarily designed to be used by one person or a small group
1708 (license license:expat)))
1710 (define-public websockify
1717 (url "https://github.com/novnc/websockify")
1718 (commit (string-append "v" version))))
1719 (file-name (git-file-name name version))
1722 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1723 (build-system python-build-system)
1725 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1726 ; named 'stubout'". The tests can be run by replacing the check phase with
1727 ; the command "python setup.py nosetests --verbosity=3".
1728 (native-inputs `(; Required for tests:
1729 ("python-mox3" ,python-mox3)
1730 ("python-nose" ,python-nose)))
1731 (propagated-inputs `(("python-numpy" ,python-numpy)))
1732 (home-page "https://github.com/novnc/websockify")
1733 (synopsis "WebSockets support for any application/server")
1734 (description "Websockify translates WebSockets traffic to normal socket
1735 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1736 begins forwarding traffic between the client and the target in both
1738 (license license:lgpl3)))
1740 (define-public wwwoffle
1746 (uri (string-append "https://www.gedanken.org.uk/software/"
1747 "wwwoffle/download/wwwoffle-"
1751 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1752 (build-system gnu-build-system)
1754 `(#:configure-flags '("--with-gnutls")
1755 #:tests? #f)) ; no test target
1756 (native-inputs `(("flex" ,flex)))
1757 (inputs `(("gnutls" ,gnutls)
1758 ("libcrypt" ,libgcrypt)))
1759 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1760 (synopsis "Caching web proxy optimized for intermittent internet links")
1761 (description "WWWOFFLE is a proxy web server that is especially good for
1762 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1763 protocols, and supports browsing and requesting pages while offline, indexing,
1764 modifying pages and incoming and outgoing headers, monitoring pages for
1765 changes, and much more.")
1766 (license license:gpl2+)))
1768 (define-public liboauth
1774 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1778 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1779 (build-system gnu-build-system)
1780 (arguments '(#:configure-flags '("--enable-nss")))
1781 (native-inputs `(("pkg-config" ,pkg-config)))
1785 (home-page "https://sourceforge.net/projects/liboauth")
1786 (synopsis "C library implementing the OAuth API")
1788 "liboauth is a collection of C functions implementing the OAuth API.
1789 liboauth provides functions to escape and encode strings according to OAuth
1790 specifications and offers high-level functionality built on top to sign
1791 requests or verify signatures using either NSS or OpenSSL for calculating the
1793 ;; Source code may be distributed under either license.
1794 (license (list license:expat license:gpl2+))))
1796 (define-public libyaml
1803 (uri (string-append "https://pyyaml.org/download/libyaml/yaml-"
1807 "1x4fcw13r3lqy8ndydr3ili87wicplw2awbcv6r21qgyfndswhn6"))))
1808 (build-system gnu-build-system)
1810 '(#:configure-flags '("--disable-static")))
1811 (home-page "https://pyyaml.org/wiki/LibYAML")
1812 (synopsis "YAML 1.1 parser and emitter written in C")
1814 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1815 (license license:expat)))
1817 (define-public libyaml+static
1820 (name "libyaml+static")
1822 '(#:configure-flags '("--enable-static")))))
1824 (define-public libquvi-scripts
1826 (name "libquvi-scripts")
1832 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1833 name "/" name "-" version ".tar.xz"))
1835 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1836 (build-system gnu-build-system)
1837 (home-page "http://quvi.sourceforge.net/")
1838 (synopsis "Media stream URL parser")
1839 (description "This package contains support scripts called by libquvi to
1840 parse media stream properties.")
1841 (license license:lgpl2.1+)))
1843 (define-public libquvi
1851 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1852 name "-" version ".tar.xz"))
1854 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1855 (build-system gnu-build-system)
1856 (native-inputs `(("pkg-config" ,pkg-config)))
1859 ("cyrus-sasl" ,cyrus-sasl)
1860 ("libquvi-scripts" ,libquvi-scripts)
1862 ("openssl" ,openssl)
1865 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1867 (let ((lua (assoc-ref %build-inputs "lua")))
1869 (string-append "liblua_CFLAGS=-I" lua "/include")
1870 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1871 (home-page "http://quvi.sourceforge.net/")
1872 (synopsis "Media stream URL parser")
1873 (description "libquvi is a library with a C API for parsing media stream
1874 URLs and extracting their actual media files.")
1875 (license license:lgpl2.1+)))
1885 "mirror://sourceforge/" name "/" (version-major+minor version)
1886 "/" name "/" name "-" version ".tar.xz"))
1888 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1889 (build-system gnu-build-system)
1890 (native-inputs `(("pkg-config" ,pkg-config)))
1893 ("libquvi" ,libquvi)))
1894 (home-page "http://quvi.sourceforge.net/")
1895 (synopsis "Media stream URL parser")
1896 (description "quvi is a command-line-tool suite to extract media files
1897 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1898 (license license:lgpl2.1+)))
1907 (uri (string-append "mirror://apache/serf/serf-"
1908 version ".tar.bz2"))
1909 (patches (search-patches "serf-python3.patch"))
1911 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1912 (build-system scons-build-system)
1915 ("apr-util" ,apr-util)
1916 ("openssl" ,openssl)))
1918 `(;; TODO: Fix build with gss.
1922 `(#:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1923 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1924 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1925 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1926 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1927 (string-append "PREFIX=" %output))
1929 (modify-phases %standard-phases
1930 (add-after 'unpack 'scons-propagate-environment
1932 ;; By design, SCons does not, by default, propagate
1933 ;; environment variables to subprocesses. See:
1934 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1935 ;; Here, we modify the SConstruct file to arrange for
1936 ;; environment variables to be propagated.
1937 (substitute* "SConstruct"
1938 (("^env = Environment\\(")
1939 "env = Environment(ENV=os.environ, "))))
1940 (add-before 'check 'disable-broken-tests
1942 ;; These tests rely on SSL certificates that expired 2017-04-18.
1943 ;; While there are newer certs available upstream, we don't want
1944 ;; this package to suddenly "expire" some time in the future.
1945 ;; https://bugs.gnu.org/26671
1947 '("test_ssl_trust_rootca"
1948 "test_ssl_certificate_chain_with_anchor"
1949 "test_ssl_certificate_chain_all_from_server"
1950 "test_ssl_no_servercert_callback_allok"
1951 "test_ssl_large_response"
1952 "test_ssl_large_request"
1953 "test_ssl_client_certificate"
1954 "test_ssl_future_server_cert"
1955 "test_setup_ssltunnel"
1956 "test_ssltunnel_basic_auth"
1957 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1958 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1959 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1960 "test_ssltunnel_digest_auth")))
1963 (substitute* "test/test_context.c"
1964 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1967 (home-page "https://serf.apache.org/")
1968 (synopsis "High-performance asynchronous HTTP client library")
1970 "serf is a C-based HTTP client library built upon the Apache Portable
1971 Runtime (APR) library. It multiplexes connections, running the read/write
1972 communication asynchronously. Memory copies and transformations are kept to a
1973 minimum to provide high performance operation.")
1974 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1975 ;; bundled CuTest framework uses a different non-copyleft license.
1976 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1978 (define-public libsass
1981 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1986 (url "https://github.com/sass/libsass")
1988 (file-name (git-file-name name version))
1991 "0r8lfqvr3rjhjd8r036zd1wc9q17gyiskppcw9m13jks9an7xp4j"))))
1992 (build-system gnu-build-system)
1995 (modify-phases %standard-phases
1996 (add-before 'bootstrap 'set-LIBSASS_VERSION
1998 (setenv "LIBSASS_VERSION" ,version)
2001 `(("autoconf" ,autoconf)
2002 ("automake" ,automake)
2003 ("libtool" ,libtool)))
2004 (home-page "https://sass-lang.com/libsass")
2005 (synopsis "SASS Compiler, implemented as a C/C++ library")
2007 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
2008 library designed for portability and efficiency. To actually compile SASS
2009 stylesheets, you'll need to use another program that uses this library,
2010 @var{sassc} for example.")
2011 (license license:expat)))
2013 (define-public sassc
2020 (url "https://github.com/sass/sassc")
2022 (file-name (git-file-name name version))
2025 "0m7flrs0hz3ivib8kvsgn3d0fgkabqviadkp1dyspa6iibx3gjwd"))))
2026 (build-system gnu-build-system)
2030 (string-append "PREFIX=" (assoc-ref %outputs "out")))
2031 #:tests? #f ; no test suite
2033 (modify-phases %standard-phases
2034 (add-after 'unpack 'patch-Makefile
2036 (substitute* "Makefile"
2037 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
2038 "build-shared: $(RESOURCES) $(OBJECTS)")
2039 (("\\$\\(SASSC_EXE\\): libsass build")
2040 "$(SASSC_EXE): build")
2041 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
2044 ;; This phase fails because…
2046 ;; …there is no configure script to be generated.
2048 (add-before 'build 'setup-environment
2050 (setenv "BUILD" "shared")
2051 (setenv "SASSC_VERSION" ,version)
2054 `(("libsass" ,libsass)))
2055 (synopsis "CSS pre-processor")
2056 (description "SassC is a compiler written in C for the CSS pre-processor
2057 language known as SASS.")
2058 (home-page "https://sass-lang.com/libsass")
2059 (license license:expat)))
2061 (define-public sassc/libsass-3.5
2062 ;; Newer libsass versions suffor from a memory leak when building (some?)
2063 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
2077 (url "https://github.com/sass/libsass")
2079 (file-name (git-file-name name version))
2082 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
2083 (properties '((hidden? . #t)))))
2086 (define-public perl-apache-logformat-compiler
2088 (name "perl-apache-logformat-compiler")
2093 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
2094 "Apache-LogFormat-Compiler-" version ".tar.gz"))
2096 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
2097 (build-system perl-build-system)
2099 `(("perl-http-message" ,perl-http-message)
2100 ("perl-module-build-tiny" ,perl-module-build-tiny)
2101 ("perl-test-mocktime" ,perl-test-mocktime)
2102 ("perl-try-tiny" ,perl-try-tiny)
2103 ("perl-uri" ,perl-uri)))
2105 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
2106 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
2107 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
2108 (synopsis "Compile a log format string to perl-code")
2109 (description "This module provides methods to compile a log format string
2110 to perl-code, for faster generation of access_log lines.")
2111 (license license:perl-license)))
2113 (define-public perl-authen-sasl
2115 (name "perl-authen-sasl")
2120 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
2121 "Authen-SASL-" version ".tar.gz"))
2124 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
2125 (build-system perl-build-system)
2128 (modify-phases %standard-phases
2129 (add-after 'unpack 'set-env
2130 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
2131 ;; versions of perl-authen-sasl.
2132 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
2134 `(("perl-digest-hmac" ,perl-digest-hmac)
2135 ("perl-gssapi" ,perl-gssapi)))
2136 (home-page "https://metacpan.org/release/Authen-SASL")
2137 (synopsis "SASL authentication framework")
2138 (description "Authen::SASL provides an SASL authentication framework.")
2139 (license license:perl-license)))
2141 (define-public perl-catalyst-action-renderview
2143 (name "perl-catalyst-action-renderview")
2148 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2149 "Catalyst-Action-RenderView-"
2153 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
2154 (build-system perl-build-system)
2156 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
2157 ("perl-module-install" ,perl-module-install)))
2159 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2160 ("perl-data-visitor" ,perl-data-visitor)
2161 ("perl-mro-compat" ,perl-mro-compat)))
2162 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
2163 (synopsis "Sensible default Catalyst action")
2164 (description "This Catalyst action implements a sensible default end
2165 action, which will forward to the first available view.")
2166 (license license:perl-license)))
2168 (define-public perl-catalyst-action-rest
2170 (name "perl-catalyst-action-rest")
2174 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2175 "Catalyst-Action-REST-" version ".tar.gz"))
2178 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
2179 (build-system perl-build-system)
2181 `(("perl-test-requires" ,perl-test-requires)
2182 ("perl-module-install" ,perl-module-install)))
2184 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2185 ("perl-class-inspector" ,perl-class-inspector)
2186 ("perl-config-general" ,perl-config-general)
2187 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
2188 ("perl-libwww" ,perl-libwww)
2189 ("perl-moose" ,perl-moose)
2190 ("perl-mro-compat" ,perl-mro-compat)
2191 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2192 ("perl-params-validate" ,perl-params-validate)
2193 ("perl-uri-find" ,perl-uri-find)
2194 ("perl-xml-simple" ,perl-xml-simple)))
2195 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
2196 (synopsis "Automated REST Method Dispatching")
2197 (description "This Action handles doing automatic method dispatching for
2198 REST requests. It takes a normal Catalyst action, and changes the dispatch to
2199 append an underscore and method name. First it will try dispatching to an
2200 action with the generated name, and failing that it will try to dispatch to a
2202 (license license:perl-license)))
2204 (define-public perl-catalyst-authentication-store-dbix-class
2206 (name "perl-catalyst-authentication-store-dbix-class")
2211 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2212 "Catalyst-Authentication-Store-DBIx-Class-"
2216 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
2217 (build-system perl-build-system)
2219 `(("perl-catalyst-plugin-authorization-roles"
2220 ,perl-catalyst-plugin-authorization-roles)
2221 ("perl-catalyst-plugin-session-state-cookie"
2222 ,perl-catalyst-plugin-session-state-cookie)
2223 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
2224 ("perl-module-install" ,perl-module-install)
2225 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2227 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2228 ("perl-catalyst-plugin-authentication"
2229 ,perl-catalyst-plugin-authentication)
2230 ("perl-dbix-class" ,perl-dbix-class)
2231 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
2233 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
2234 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
2235 (description "The Catalyst::Authentication::Store::DBIx::Class class
2236 provides access to authentication information stored in a database via
2238 (license license:perl-license)))
2240 (define-public perl-catalyst-component-instancepercontext
2242 (name "perl-catalyst-component-instancepercontext")
2243 (version "0.001001")
2247 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
2248 "Catalyst-Component-InstancePerContext-"
2252 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
2253 (build-system perl-build-system)
2255 `(("perl-module-install" ,perl-module-install)))
2257 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2258 ("perl-moose" ,perl-moose)))
2260 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
2261 (synopsis "Create only one instance of Moose component per context")
2262 (description "Catalyst::Component::InstancePerContext returns a new
2263 instance of a component on each request.")
2264 (license license:perl-license)))
2266 (define-public perl-catalyst-devel
2268 (name "perl-catalyst-devel")
2273 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2274 "Catalyst-Devel-" version ".tar.gz"))
2276 (base32 "1r8arq7sw37d0mjyfzkc3pg1a9plgydqbscryc8qpvba4swpljls"))))
2277 (build-system perl-build-system)
2279 `(("perl-test-fatal" ,perl-test-fatal)))
2281 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
2282 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
2283 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
2284 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2285 ("perl-config-general" ,perl-config-general)
2286 ("perl-file-changenotify" ,perl-file-changenotify)
2287 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
2288 ("perl-file-sharedir" ,perl-file-sharedir)
2289 ("perl-module-install" ,perl-module-install)
2290 ("perl-moose" ,perl-moose)
2291 ("perl-moosex-emulate-class-accessor-fast"
2292 ,perl-moosex-emulate-class-accessor-fast)
2293 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2294 ("perl-namespace-clean" ,perl-namespace-clean)
2295 ("perl-path-class" ,perl-path-class)
2296 ("perl-template-toolkit" ,perl-template-toolkit)))
2297 (home-page "https://metacpan.org/release/Catalyst-Devel")
2298 (synopsis "Catalyst Development Tools")
2299 (description "The Catalyst-Devel distribution includes a variety of
2300 modules useful for the development of Catalyst applications, but not required
2301 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
2302 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
2303 extension for Catalyst; and requirements for a variety of development-related
2305 (license license:perl-license)))
2307 (define-public perl-catalyst-dispatchtype-regex
2309 (name "perl-catalyst-dispatchtype-regex")
2314 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
2315 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
2318 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
2319 (build-system perl-build-system)
2321 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
2322 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2323 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
2325 `(("perl-moose" ,perl-moose)
2326 ("perl-text-simpletable" ,perl-text-simpletable)))
2327 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
2328 (synopsis "Regex DispatchType for Catalyst")
2329 (description "Dispatch type managing path-matching behaviour using
2330 regexes. Regex dispatch types have been deprecated and removed from Catalyst
2331 core. It is recommend that you use Chained methods or other techniques
2332 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
2333 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
2334 when the dispatch type is first seen in your application.")
2335 (license license:perl-license)))
2337 (define-public perl-catalyst-model-dbic-schema
2339 (name "perl-catalyst-model-dbic-schema")
2344 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
2345 "Catalyst-Model-DBIC-Schema-"
2349 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
2350 (build-system perl-build-system)
2352 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
2353 ("perl-module-install" ,perl-module-install)
2354 ("perl-test-exception" ,perl-test-exception)
2355 ("perl-test-requires" ,perl-test-requires)))
2357 `(("perl-carp-clan" ,perl-carp-clan)
2358 ("perl-catalyst-component-instancepercontext"
2359 ,perl-catalyst-component-instancepercontext)
2360 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2361 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
2362 ("perl-dbix-class" ,perl-dbix-class)
2363 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
2364 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
2365 ("perl-hash-merge" ,perl-hash-merge)
2366 ("perl-list-moreutils" ,perl-list-moreutils)
2367 ("perl-module-runtime" ,perl-module-runtime)
2368 ("perl-moose" ,perl-moose)
2369 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
2370 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
2371 ("perl-moosex-types" ,perl-moosex-types)
2372 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
2373 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2374 ("perl-namespace-clean" ,perl-namespace-clean)
2375 ("perl-tie-ixhash" ,perl-tie-ixhash)
2376 ("perl-try-tiny" ,perl-try-tiny)))
2377 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
2378 (synopsis "DBIx::Class::Schema Model Class")
2379 (description "This is a Catalyst Model for DBIx::Class::Schema-based
2381 (license license:perl-license)))
2383 (define-public perl-catalyst-plugin-accesslog
2385 (name "perl-catalyst-plugin-accesslog")
2390 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
2391 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
2394 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
2395 (build-system perl-build-system)
2397 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2398 ("perl-datetime" ,perl-datetime)
2399 ("perl-moose" ,perl-moose)
2400 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2401 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
2402 (synopsis "Request logging from within Catalyst")
2403 (description "This Catalyst plugin enables you to create \"access logs\"
2404 from within a Catalyst application instead of requiring a webserver to do it
2405 for you. It will work even with Catalyst debug logging turned off.")
2406 (license license:perl-license)))
2408 (define-public perl-catalyst-plugin-authentication
2410 (name "perl-catalyst-plugin-authentication")
2415 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2416 "Catalyst-Plugin-Authentication-"
2420 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
2421 (build-system perl-build-system)
2423 `(("perl-module-install" ,perl-module-install)))
2425 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2426 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2427 ("perl-class-inspector" ,perl-class-inspector)
2428 ("perl-moose" ,perl-moose)
2429 ("perl-moosex-emulate-class-accessor-fast"
2430 ,perl-moosex-emulate-class-accessor-fast)
2431 ("perl-mro-compat" ,perl-mro-compat)
2432 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2433 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2434 ("perl-test-exception" ,perl-test-exception)
2435 ("perl-try-tiny" ,perl-try-tiny)))
2436 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
2437 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
2438 (description "The authentication plugin provides generic user support for
2439 Catalyst apps. It is the basis for both authentication (checking the user is
2440 who they claim to be), and authorization (allowing the user to do what the
2441 system authorises them to do).")
2442 (license license:perl-license)))
2444 (define-public perl-catalyst-plugin-authorization-roles
2446 (name "perl-catalyst-plugin-authorization-roles")
2451 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2452 "Catalyst-Plugin-Authorization-Roles-"
2456 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
2457 (build-system perl-build-system)
2459 `(("perl-module-install" ,perl-module-install)
2460 ("perl-test-exception" ,perl-test-exception)))
2462 `(("perl-catalyst-plugin-authentication"
2463 ,perl-catalyst-plugin-authentication)
2464 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2465 ("perl-set-object" ,perl-set-object)
2466 ("perl-universal-isa" ,perl-universal-isa)))
2468 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2469 (synopsis "Role-based authorization for Catalyst")
2470 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2471 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2472 (license license:perl-license)))
2474 (define-public perl-catalyst-plugin-captcha
2476 (name "perl-catalyst-plugin-captcha")
2481 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2482 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2485 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2486 (build-system perl-build-system)
2488 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2489 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2490 ("perl-gd-securityimage" ,perl-gd-securityimage)
2491 ("perl-http-date" ,perl-http-date)))
2492 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2493 (synopsis "Captchas for Catalyst")
2494 (description "This plugin creates and validates Captcha images for
2496 (license license:perl-license)))
2498 (define-public perl-catalyst-plugin-configloader
2500 (name "perl-catalyst-plugin-configloader")
2505 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2506 "Catalyst-Plugin-ConfigLoader-"
2509 (base32 "0w8r3bbxqnlykvra6sx3sh3wh8ylkj914xg5ql6nw11ddy56jaly"))))
2510 (build-system perl-build-system)
2512 `(("perl-path-class" ,perl-path-class)
2513 ("perl-module-install" ,perl-module-install)))
2515 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2516 ("perl-config-any" ,perl-config-any)
2517 ("perl-data-visitor" ,perl-data-visitor)
2518 ("perl-mro-compat" ,perl-mro-compat)))
2519 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2520 (synopsis "Load config files of various types")
2521 (description "This module will attempt to load find and load configuration
2522 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2524 (license license:perl-license)))
2526 (define-public perl-catalyst-plugin-session
2528 (name "perl-catalyst-plugin-session")
2533 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2534 "Catalyst-Plugin-Session-" version ".tar.gz"))
2536 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2537 (build-system perl-build-system)
2539 `(("perl-module-install" ,perl-module-install)
2540 ("perl-test-deep" ,perl-test-deep)
2541 ("perl-test-exception" ,perl-test-exception)))
2543 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2544 ("perl-moose" ,perl-moose)
2545 ("perl-moosex-emulate-class-accessor-fast"
2546 ,perl-moosex-emulate-class-accessor-fast)
2547 ("perl-mro-compat" ,perl-mro-compat)
2548 ("perl-namespace-clean" ,perl-namespace-clean)
2549 ("perl-object-signature" ,perl-object-signature)
2550 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2551 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2552 (synopsis "Catalyst generic session plugin")
2553 (description "This plugin links the two pieces required for session
2554 management in web applications together: the state, and the store.")
2555 (license license:perl-license)))
2557 (define-public perl-catalyst-plugin-session-state-cookie
2559 (name "perl-catalyst-plugin-session-state-cookie")
2564 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2565 "Catalyst-Plugin-Session-State-Cookie-"
2569 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2570 (build-system perl-build-system)
2572 `(("perl-module-install" ,perl-module-install)))
2574 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2575 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2576 ("perl-moose" ,perl-moose)
2577 ("perl-mro-compat" ,perl-mro-compat)
2578 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2580 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2581 (synopsis "Maintain session IDs using cookies")
2582 (description "In order for Catalyst::Plugin::Session to work, the session
2583 ID needs to be stored on the client, and the session data needs to be stored
2584 on the server. This plugin stores the session ID on the client using the
2586 (license license:perl-license)))
2588 (define-public perl-catalyst-plugin-session-store-fastmmap
2590 (name "perl-catalyst-plugin-session-store-fastmmap")
2595 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2596 "Catalyst-Plugin-Session-Store-FastMmap-"
2600 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2601 (build-system perl-build-system)
2603 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2604 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2605 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2606 ("perl-moosex-emulate-class-accessor-fast"
2607 ,perl-moosex-emulate-class-accessor-fast)
2608 ("perl-mro-compat" ,perl-mro-compat)
2609 ("perl-path-class" ,perl-path-class)))
2611 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2612 (synopsis "FastMmap session storage backend")
2613 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2614 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2615 memory interprocess cache. It is based on Cache::FastMmap.")
2616 (license license:perl-license)))
2618 (define-public perl-catalyst-plugin-stacktrace
2620 (name "perl-catalyst-plugin-stacktrace")
2625 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2626 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2629 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2630 (build-system perl-build-system)
2632 `(("perl-module-install" ,perl-module-install)))
2634 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2635 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2636 ("perl-mro-compat" ,perl-mro-compat)))
2637 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2638 (synopsis "Stack trace on the Catalyst debug screen")
2639 (description "This plugin enhances the standard Catalyst debug screen by
2640 including a stack trace of your application up to the point where the error
2641 occurred. Each stack frame is displayed along with the package name, line
2642 number, file name, and code context surrounding the line number.")
2643 (license license:perl-license)))
2645 (define-public perl-catalyst-plugin-static-simple
2647 (name "perl-catalyst-plugin-static-simple")
2652 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2653 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2656 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2657 (build-system perl-build-system)
2659 `(("perl-module-install" ,perl-module-install)))
2661 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2662 ("perl-mime-types" ,perl-mime-types)
2663 ("perl-moose" ,perl-moose)
2664 ("perl-moosex-types" ,perl-moosex-types)
2665 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2666 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2667 (synopsis "Simple serving of static pages")
2668 (description "The Static::Simple plugin is designed to make serving static
2669 content in your application during development quick and easy, without
2670 requiring a single line of code from you. This plugin detects static files by
2671 looking at the file extension in the URL (such as .css or .png or .js). The
2672 plugin uses the lightweight MIME::Types module to map file extensions to
2673 IANA-registered MIME types, and will serve your static files with the correct
2674 MIME type directly to the browser, without being processed through Catalyst.")
2675 (license license:perl-license)))
2677 (define-public perl-catalyst-runtime
2679 (name "perl-catalyst-runtime")
2684 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2685 "Catalyst-Runtime-" version ".tar.gz"))
2688 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2689 (build-system perl-build-system)
2691 `(("perl-test-fatal" ,perl-test-fatal)))
2693 `(("perl-cgi-simple" ,perl-cgi-simple)
2694 ("perl-cgi-struct" ,perl-cgi-struct)
2695 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2696 ("perl-class-date" ,perl-class-date)
2697 ("perl-class-load" ,perl-class-load)
2698 ("perl-data-dump" ,perl-data-dump)
2699 ("perl-http-body" ,perl-http-body)
2700 ("perl-http-message" ,perl-http-message)
2701 ("perl-json-maybexs" ,perl-json-maybexs)
2702 ("perl-libwww" ,perl-libwww)
2703 ("perl-module-pluggable" ,perl-module-pluggable)
2704 ("perl-moose" ,perl-moose)
2705 ("perl-moosex-emulate-class-accessor-fast"
2706 ,perl-moosex-emulate-class-accessor-fast)
2707 ("perl-moosex-getopt" ,perl-moosex-getopt)
2708 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2709 ("perl-namespace-clean" ,perl-namespace-clean)
2710 ("perl-path-class" ,perl-path-class)
2711 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2712 ("perl-plack" ,perl-plack)
2713 ("perl-plack-middleware-fixmissingbodyinredirect"
2714 ,perl-plack-middleware-fixmissingbodyinredirect)
2715 ("perl-plack-middleware-methodoverride"
2716 ,perl-plack-middleware-methodoverride)
2717 ("perl-plack-middleware-removeredundantbody"
2718 ,perl-plack-middleware-removeredundantbody)
2719 ("perl-plack-middleware-reverseproxy"
2720 ,perl-plack-middleware-reverseproxy)
2721 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2722 ("perl-safe-isa" ,perl-safe-isa)
2723 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2724 ("perl-text-simpletable" ,perl-text-simpletable)
2725 ("perl-tree-simple" ,perl-tree-simple)
2726 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2727 ("perl-try-tiny" ,perl-try-tiny)
2728 ("perl-uri" ,perl-uri)
2729 ("perl-uri-ws" ,perl-uri-ws)))
2730 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2731 (synopsis "The Catalyst Framework Runtime")
2732 (description "Catalyst is a modern framework for making web applications.
2733 It is designed to make it easy to manage the various tasks you need to do to
2734 run an application on the web, either by doing them itself, or by letting you
2735 \"plug in\" existing Perl modules that do what you need.")
2736 (license license:perl-license)))
2738 (define-public perl-catalyst-traitfor-request-proxybase
2740 (name "perl-catalyst-traitfor-request-proxybase")
2741 (version "0.000005")
2745 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2746 "Catalyst-TraitFor-Request-ProxyBase-"
2750 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2751 (build-system perl-build-system)
2753 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2754 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2755 ("perl-http-message" ,perl-http-message)
2756 ("perl-module-install" ,perl-module-install)))
2758 `(("perl-moose" ,perl-moose)
2759 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2760 ("perl-uri" ,perl-uri)))
2762 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2763 (synopsis "Replace request base with value passed by HTTP proxy")
2764 (description "This module is a Moose::Role which allows you more
2765 flexibility in your application's deployment configurations when deployed
2766 behind a proxy. Using this module, the request base ($c->req->base) is
2767 replaced with the contents of the X-Request-Base header.")
2768 (license license:perl-license)))
2770 (define-public perl-catalyst-view-download
2772 (name "perl-catalyst-view-download")
2777 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2778 "Catalyst-View-Download-" version ".tar.gz"))
2781 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2782 (build-system perl-build-system)
2784 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2785 ("perl-module-install" ,perl-module-install)
2786 ("perl-test-simple" ,perl-test-simple)
2787 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2788 ("perl-text-csv" ,perl-text-csv)
2789 ("perl-xml-simple" ,perl-xml-simple)))
2790 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2791 (synopsis "Download data in many formats")
2792 (description "The purpose of this module is to provide a method for
2793 downloading data into many supportable formats. For example, downloading a
2794 table based report in a variety of formats (CSV, HTML, etc.).")
2795 (license license:perl-license)))
2797 (define-public perl-catalyst-view-json
2799 (name "perl-catalyst-view-json")
2804 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2805 "Catalyst-View-JSON-" version ".tar.gz"))
2808 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2809 (build-system perl-build-system)
2811 `(("perl-module-install" ,perl-module-install)
2812 ("perl-yaml" ,perl-yaml)))
2814 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2815 ("perl-json-maybexs" ,perl-json-maybexs)
2816 ("perl-mro-compat" ,perl-mro-compat)))
2817 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2818 (synopsis "Catalyst JSON view")
2819 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2820 stash data in JSON format.")
2821 (license license:perl-license)))
2823 (define-public perl-catalyst-view-tt
2825 (name "perl-catalyst-view-tt")
2830 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2831 "Catalyst-View-TT-" version ".tar.gz"))
2833 (base32 "0jzgpkgq5pwq82zlb0nykdyk40dfpsyn9ilz91d0wpixgi9i5pr8"))))
2834 (build-system perl-build-system)
2836 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2837 ("perl-class-accessor" ,perl-class-accessor)
2838 ("perl-data-dump" ,perl-data-dump)
2839 ("perl-mro-compat" ,perl-mro-compat)
2840 ("perl-path-class" ,perl-path-class)
2841 ("perl-template-timer" ,perl-template-timer)
2842 ("perl-template-toolkit" ,perl-template-toolkit)))
2843 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2844 (synopsis "Template View Class")
2845 (description "This module is a Catalyst view class for the Template
2847 (license license:perl-license)))
2849 (define-public perl-catalystx-component-traits
2851 (name "perl-catalystx-component-traits")
2856 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2857 "CatalystX-Component-Traits-" version ".tar.gz"))
2860 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2861 (build-system perl-build-system)
2863 `(("perl-moose" ,perl-moose)
2864 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2865 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2867 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2868 ("perl-class-load" ,perl-class-load)
2869 ("perl-moose" ,perl-moose)
2870 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2871 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2872 ("perl-list-moreutils" ,perl-list-moreutils)))
2873 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2874 (synopsis "Trait Loading and Resolution for Catalyst Components")
2875 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2876 Catalyst component base class that reads the optional \"traits\" parameter
2877 from app and component config and instantiates the component subclass with
2878 those traits using \"new_with_traits\" in MooseX::Traits from
2879 MooseX::Traits::Pluggable.")
2880 (license license:perl-license)))
2882 (define-public perl-catalystx-roleapplicator
2884 (name "perl-catalystx-roleapplicator")
2889 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2890 "CatalystX-RoleApplicator-" version ".tar.gz"))
2893 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2894 (build-system perl-build-system)
2896 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2897 ("perl-moose" ,perl-moose)
2898 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2899 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2900 (synopsis "Apply roles to Catalyst classes")
2901 (description "CatalystX::RoleApplicator applies roles to Catalyst
2902 application classes.")
2903 (license license:perl-license)))
2905 (define-public perl-catalystx-script-server-starman
2907 (name "perl-catalystx-script-server-starman")
2912 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2913 "CatalystX-Script-Server-Starman-"
2917 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2918 (build-system perl-build-system)
2920 `(("perl-module-install" ,perl-module-install)
2921 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2923 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2924 ("perl-moose" ,perl-moose)
2925 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2926 ("starman" ,starman)))
2927 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2928 (synopsis "Catalyst development server with Starman")
2929 (description "This module provides a Catalyst extension to replace the
2930 development server with Starman.")
2931 (license license:perl-license)))
2933 (define-public perl-cgi
2940 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2941 "CGI-" version ".tar.gz"))
2943 (base32 "1bxrpxv95js8yinicminxdg41xvd85haj2gvlywg3zqdb66smqy8"))))
2944 (build-system perl-build-system)
2946 `(("perl-test-deep" ,perl-test-deep)
2947 ("perl-test-nowarnings" ,perl-test-nowarnings)
2948 ("perl-test-warn" ,perl-test-warn)))
2950 `(("perl-html-parser" ,perl-html-parser)))
2951 (home-page "https://metacpan.org/release/CGI")
2952 (synopsis "Handle Common Gateway Interface requests and responses")
2953 (description "CGI.pm is a stable, complete and mature solution for
2954 processing and preparing HTTP requests and responses. Major features include
2955 processing form submissions, file uploads, reading and writing cookies, query
2956 string generation and manipulation, and processing and preparing HTTP
2958 (license license:perl-license)))
2960 (define-public perl-cgi-formbuilder
2962 (name "perl-cgi-formbuilder")
2968 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2969 "CGI-FormBuilder-" version ".tar.gz"))
2972 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2973 (build-system perl-build-system)
2974 (inputs `(("perl-cgi" ,perl-cgi)))
2976 "https://metacpan.org/release/CGI-FormBuilder")
2978 "Generate and process stateful forms")
2980 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2981 form-based applications.")
2982 (license license:perl-license)))
2984 (define-public perl-cgi-session
2986 (name "perl-cgi-session")
2992 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2997 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2998 (build-system perl-build-system)
3000 `(("perl-module-build" ,perl-module-build)))
3001 (inputs `(("perl-cgi" ,perl-cgi)))
3003 "https://metacpan.org/release/CGI-Session")
3005 "Persistent session data in CGI applications")
3007 "@code{CGI::Session} provides modular session management system across
3009 (license license:perl-license)))
3011 (define-public perl-cgi-simple
3013 (name "perl-cgi-simple")
3018 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
3019 "CGI-Simple-" version ".tar.gz"))
3021 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
3022 (build-system perl-build-system)
3024 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
3025 ("perl-module-build" ,perl-module-build)
3026 ("perl-test-exception" ,perl-test-exception)
3027 ("perl-test-nowarnings" ,perl-test-nowarnings)))
3028 (home-page "https://metacpan.org/release/CGI-Simple")
3029 (synopsis "CGI interface that is CGI.pm compliant")
3030 (description "CGI::Simple provides a relatively lightweight drop in
3031 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
3032 parameter parsing, file upload, cookie handling and header generation.")
3033 (license license:perl-license)))
3035 (define-public perl-cgi-struct
3037 (name "perl-cgi-struct")
3042 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
3043 "CGI-Struct-" version ".tar.gz"))
3046 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
3047 (build-system perl-build-system)
3049 `(("perl-test-deep" ,perl-test-deep)))
3050 (home-page "https://metacpan.org/release/CGI-Struct")
3051 (synopsis "Build structures from CGI data")
3052 (description "This is a module for building structured data from CGI
3053 inputs, in a manner reminiscent of how PHP does.")
3054 (license license:bsd-2)))
3056 (define-public perl-datetime-format-http
3058 (name "perl-datetime-format-http")
3063 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
3064 "DateTime-Format-HTTP-" version ".tar.gz"))
3067 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
3068 (build-system perl-build-system)
3070 `(("perl-module-build" ,perl-module-build)))
3072 `(("perl-datetime" ,perl-datetime)
3073 ("perl-http-date" ,perl-http-date)))
3074 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
3075 (synopsis "Date conversion routines")
3076 (description "This module provides functions that deal with the date
3077 formats used by the HTTP protocol.")
3078 (license license:perl-license)))
3080 (define-public perl-digest-md5-file
3082 (name "perl-digest-md5-file")
3087 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
3088 "Digest-MD5-File-" version ".tar.gz"))
3091 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
3092 (build-system perl-build-system)
3094 `(("perl-libwww" ,perl-libwww)))
3095 (home-page "https://metacpan.org/release/Digest-MD5-File")
3096 (synopsis "MD5 sums for files and urls")
3097 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
3098 for files and urls.")
3099 (license license:perl-license)))
3101 (define-public perl-encode-locale
3103 (name "perl-encode-locale")
3108 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
3112 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
3113 (build-system perl-build-system)
3114 (license license:perl-license)
3115 (synopsis "Perl locale encoding determination")
3117 "The POSIX locale system is used to specify both the language
3118 conventions requested by the user and the preferred character set to
3119 consume and output. The Encode::Locale module looks up the charset and
3120 encoding (called a CODESET in the locale jargon) and arranges for the
3121 Encode module to know this encoding under the name \"locale\". It means
3122 bytes obtained from the environment can be converted to Unicode strings
3123 by calling Encode::encode(locale => $bytes) and converted back again
3124 with Encode::decode(locale => $string).")
3125 (home-page "https://metacpan.org/release/Encode-Locale")))
3127 (define-public perl-feed-find
3129 (name "perl-feed-find")
3133 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
3134 "Feed-Find-" version ".tar.gz"))
3137 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
3138 (build-system perl-build-system)
3140 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
3143 (modify-phases %standard-phases
3144 (add-after 'unpack 'set-env
3145 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
3147 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3148 ("perl-html-parser" ,perl-html-parser)
3149 ("perl-libwww" ,perl-libwww)
3150 ("perl-uri" ,perl-uri)))
3151 (home-page "https://metacpan.org/release/Feed-Find")
3152 (synopsis "Syndication feed auto-discovery")
3153 (description "@code{Feed::Find} implements feed auto-discovery for finding
3154 syndication feeds, given a URI. It will discover the following feed formats:
3155 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
3156 (license license:perl-license)))
3158 (define-public perl-file-listing
3160 (name "perl-file-listing")
3165 "mirror://cpan/authors/id/P/PL/PLICEASE/File-Listing-"
3169 "0vmzw1mhv580flzkla80gvwfpficnhlbqr1dnlf9x50bw7n18k62"))))
3170 (build-system perl-build-system)
3172 `(("perl-http-date" ,perl-http-date)))
3173 (license license:perl-license)
3174 (synopsis "Perl directory listing parser")
3176 "The File::Listing module exports a single function called parse_dir(),
3177 which can be used to parse directory listings.")
3178 (home-page "https://metacpan.org/release/File-Listing")))
3180 (define-public perl-finance-quote
3182 (name "perl-finance-quote")
3187 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
3188 "Finance-Quote-" version ".tar.gz"))
3190 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
3191 (patches (search-patches
3192 "perl-finance-quote-unuse-mozilla-ca.patch"))))
3193 (build-system perl-build-system)
3195 `(("perl-cgi" ,perl-cgi)
3196 ("perl-datetime" ,perl-datetime)
3197 ("perl-html-parser" ,perl-html-parser)
3198 ("perl-html-tableextract" ,perl-html-tableextract)
3199 ("perl-html-tree" ,perl-html-tree)
3200 ("perl-http-cookies" ,perl-http-cookies)
3201 ("perl-http-message" ,perl-http-message)
3202 ("perl-json" ,perl-json)
3203 ("perl-libwww" ,perl-libwww)
3204 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
3205 ("perl-uri" ,perl-uri)))
3206 (home-page "https://metacpan.org/release/Finance-Quote")
3207 (synopsis "Stock and mutual fund quotes")
3209 "Finance::Quote gets stock quotes from various internet sources, including
3210 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
3211 (license license:gpl2)))
3213 (define-public perl-gssapi
3215 (name "perl-gssapi")
3220 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
3221 "GSSAPI-" version ".tar.gz"))
3224 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
3225 (build-system perl-build-system)
3226 (inputs `(("gssapi" ,mit-krb5)))
3228 `(#:make-maker-flags
3229 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
3230 (home-page "https://metacpan.org/release/GSSAPI")
3231 (synopsis "Perl extension providing access to the GSSAPIv2 library")
3232 (description "This is a Perl extension for using GSSAPI C bindings as
3233 described in RFC 2744.")
3234 (license license:perl-license)))
3236 (define-public perl-html-element-extended
3238 (name "perl-html-element-extended")
3243 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
3244 "HTML-Element-Extended-" version ".tar.gz"))
3247 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
3248 (build-system perl-build-system)
3250 `(("perl-html-tree" ,perl-html-tree)))
3251 (home-page "https://metacpan.org/release/HTML-Element-Extended")
3252 (synopsis "Manipulate tables of HTML::Element")
3254 "HTML::Element::Extended is a Perl extension for manipulating a table
3255 composed of HTML::Element style components.")
3256 (license license:perl-license)))
3258 (define-public perl-html-form
3260 (name "perl-html-form")
3265 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3266 "HTML-Form-" version ".tar.gz"))
3268 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
3269 (build-system perl-build-system)
3271 `(("perl-html-parser" ,perl-html-parser)
3272 ("perl-html-tagset" ,perl-html-tagset)
3273 ("perl-http-message" ,perl-http-message)
3274 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3275 ("perl-uri" ,perl-uri)))
3276 (home-page "https://metacpan.org/release/HTML-Form")
3277 (synopsis "Perl class representing an HTML form element")
3278 (description "Objects of the HTML::Form class represents a single HTML
3279 <form> ... </form> instance.")
3280 (license license:perl-license)))
3282 (define-public perl-html-scrubber
3284 (name "perl-html-scrubber")
3290 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
3295 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
3296 (build-system perl-build-system)
3298 `(("perl-module-build" ,perl-module-build)
3299 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
3300 ("perl-test-differences" ,perl-test-differences)
3301 ("perl-test-eol" ,perl-test-eol)
3302 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
3303 ("perl-test-notabs" ,perl-test-notabs)))
3305 `(("perl-html-parser" ,perl-html-parser)))
3307 "https://metacpan.org/release/HTML-Scrubber")
3309 "Perl extension for scrubbing/sanitizing html")
3311 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
3312 (license license:perl-license)))
3314 (define-public perl-html-lint
3316 (name "perl-html-lint")
3321 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3322 "HTML-Lint-" version ".tar.gz"))
3324 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
3325 (build-system perl-build-system)
3327 `(("perl-html-parser" ,perl-html-parser)
3328 ("perl-html-tagset" ,perl-html-tagset)
3329 ("perl-libwww" ,perl-libwww)))
3330 (home-page "https://metacpan.org/release/HTML-Lint")
3331 (synopsis "Check for HTML errors in a string or file")
3332 (description "HTML::Lint is a pure-Perl HTML parser and checker for
3333 syntactic legitmacy.")
3334 (license license:artistic2.0)))
3336 (define-public perl-html-tableextract
3338 (name "perl-html-tableextract")
3343 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
3344 "HTML-TableExtract-" version ".tar.gz"))
3347 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
3348 (build-system perl-build-system)
3350 `(("perl-html-element-extended" ,perl-html-element-extended)
3351 ("perl-html-parser" ,perl-html-parser)))
3352 (home-page "https://metacpan.org/release/HTML-TableExtract")
3353 (synopsis "Extract contents from HTML tables")
3355 "HTML::TableExtract is a Perl module for extracting the content contained
3356 in tables within an HTML document, either as text or encoded element trees.")
3357 (license license:perl-license)))
3359 (define-public perl-html-tree
3361 (name "perl-html-tree")
3366 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
3367 "HTML-Tree-" version ".tar.gz"))
3370 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
3371 (build-system perl-build-system)
3373 `(("perl-module-build" ,perl-module-build)
3374 ("perl-test-fatal" ,perl-test-fatal)))
3376 `(("perl-html-parser" ,perl-html-parser)
3377 ("perl-html-tagset" ,perl-html-tagset)
3378 ("perl-libwww" ,perl-libwww)))
3379 (home-page "https://metacpan.org/release/HTML-Tree")
3380 (synopsis "Work with HTML in a DOM-like tree structure")
3381 (description "This distribution contains a suite of modules for
3382 representing, creating, and extracting information from HTML syntax trees.")
3383 (license license:perl-license)))
3385 (define-public perl-html-parser
3387 (name "perl-html-parser")
3392 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
3396 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
3397 (build-system perl-build-system)
3399 `(("perl-html-tagset" ,perl-html-tagset)
3400 ("perl-http-message" ,perl-http-message)))
3401 (license license:perl-license)
3402 (synopsis "Perl HTML parser class")
3404 "Objects of the HTML::Parser class will recognize markup and separate
3405 it from plain text (alias data content) in HTML documents. As different
3406 kinds of markup and text are recognized, the corresponding event handlers
3408 (home-page "https://metacpan.org/release/HTML-Parser")))
3410 (define-public perl-html-tagset
3412 (name "perl-html-tagset")
3417 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
3421 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
3422 (build-system perl-build-system)
3423 (license license:perl-license)
3424 (synopsis "Perl data tables useful in parsing HTML")
3426 "The HTML::Tagset module contains several data tables useful in various
3427 kinds of HTML parsing operations.")
3428 (home-page "https://metacpan.org/release/HTML-Tagset")))
3430 (define-public perl-html-template
3432 (name "perl-html-template")
3436 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
3437 "HTML-Template-" version ".tar.gz"))
3440 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
3441 (build-system perl-build-system)
3443 `(("perl-cgi" ,perl-cgi)))
3444 (home-page "https://metacpan.org/release/HTML-Template")
3445 (synopsis "HTML-like templates")
3447 "This module attempts to make using HTML templates simple and natural.
3448 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
3449 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
3450 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
3451 these new tags is called a template. Using this module you fill in the values
3452 for the variables, loops and branches declared in the template. This allows
3453 you to separate design from the data.")
3454 (license license:perl-license)))
3456 (define-public perl-http-body
3458 (name "perl-http-body")
3463 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3464 "HTTP-Body-" version ".tar.gz"))
3467 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3468 (build-system perl-build-system)
3470 `(("perl-test-deep" ,perl-test-deep)))
3472 `(("perl-file-temp" ,perl-file-temp)
3473 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3474 (home-page "https://metacpan.org/release/HTTP-Body")
3475 (synopsis "HTTP Body Parser")
3476 (description "HTTP::Body parses chunks of HTTP POST data and supports
3477 application/octet-stream, application/json, application/x-www-form-urlencoded,
3478 and multipart/form-data.")
3479 (license license:perl-license)))
3481 (define-public perl-http-cookiejar
3483 (name "perl-http-cookiejar")
3488 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3489 "HTTP-CookieJar-" version ".tar.gz"))
3491 (base32 "1l7mqsca4fmls7agzwmp6yq1x16y9jwq4114i6i75n654gl37qsn"))))
3492 (build-system perl-build-system)
3494 `(("perl-test-deep" ,perl-test-deep)
3495 ("perl-test-requires" ,perl-test-requires)
3496 ("perl-time-mock" ,perl-time-mock)
3497 ("perl-uri" ,perl-uri)))
3499 `(("perl-time-local" ,perl-time-local)
3500 ("perl-http-date" ,perl-http-date)))
3501 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3502 (synopsis "Minimalist HTTP user agent cookie jar")
3503 (description "This module implements a minimalist HTTP user agent cookie
3504 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3505 (license license:asl2.0)))
3507 (define-public perl-http-cookies
3509 (name "perl-http-cookies")
3514 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3518 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3519 (build-system perl-build-system)
3521 `(("perl-http-message" ,perl-http-message)))
3522 (license license:perl-license)
3523 (synopsis "Perl HTTP cookie jars")
3525 "The HTTP::Cookies class is for objects that represent a cookie jar,
3526 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3527 object knows about.")
3528 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3530 (define-public perl-http-daemon
3532 (name "perl-http-daemon")
3537 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3541 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3542 (build-system perl-build-system)
3544 `(("perl-http-message" ,perl-http-message)
3545 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3546 (license license:perl-license)
3547 (synopsis "Perl simple http server class")
3549 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3550 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3551 IO::Socket::INET, so you can perform socket operations directly on it too.")
3552 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3554 (define-public perl-http-date
3556 (name "perl-http-date")
3561 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Date-"
3565 "0awjdbz7x0jd5pna55dwxhs3k6xp3sw6b2zg3p2yndxxvya64p9n"))))
3566 (build-system perl-build-system)
3567 (license license:perl-license)
3568 (synopsis "Perl date conversion routines")
3570 "The HTTP::Date module provides functions that deal with date formats
3571 used by the HTTP protocol (and then some more).")
3572 (home-page "https://metacpan.org/release/HTTP-Date")))
3574 (define-public perl-http-lite
3576 (name "perl-http-lite")
3582 "mirror://cpan/authors/id/N/NE/NEILB/HTTP-Lite-"
3586 "0z77nflj8zdcfg70kc93glq5kmd6qxn2nf7h70x4xhfg25wkvr1q"))))
3587 (build-system perl-build-system)
3588 (native-inputs `(("perl-cgi" ,perl-cgi)))
3589 (home-page "https://metacpan.org/release/HTTP-Lite")
3590 (synopsis "Lightweight HTTP implementation")
3591 (description "@code{HTTP::Lite} is a stand-alone lightweight
3592 HTTP/1.1 implementation for perl. It is intended for use in
3593 situations where it is desirable to install the minimal number of
3594 modules to achieve HTTP support. @code{HTTP::Lite} is ideal for
3595 CGI (or mod_perl) programs or for bundling for redistribution with
3596 larger packages where only HTTP GET and POST functionality are
3597 necessary. @code{HTTP::Lite} is compliant with the Host header,
3598 necessary for name based virtual hosting, and supports proxies.
3599 Additionally, @code{HTTP::Lite} supports a callback to allow
3600 processing of request data as it arrives.")
3601 (license license:perl-license)))
3603 (define-public perl-http-message
3605 (name "perl-http-message")
3610 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3614 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3615 (build-system perl-build-system)
3617 `(("perl-try-tiny" ,perl-try-tiny)))
3619 `(("perl-encode-locale" ,perl-encode-locale)
3620 ("perl-http-date" ,perl-http-date)
3621 ("perl-io-html" ,perl-io-html)
3622 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3623 ("perl-uri" ,perl-uri)))
3624 (license license:perl-license)
3625 (synopsis "Perl HTTP style message")
3627 "An HTTP::Message object contains some headers and a content body.")
3628 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3630 (define-public perl-http-negotiate
3632 (name "perl-http-negotiate")
3637 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3641 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3642 (build-system perl-build-system)
3644 `(("perl-http-message" ,perl-http-message)))
3645 (license license:perl-license)
3646 (synopsis "Perl http content negotiation")
3648 "The HTTP::Negotiate module provides a complete implementation of the
3649 HTTP content negotiation algorithm specified in
3650 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3651 the selection of a preferred content representation based upon attributes
3652 of the negotiable variants and the value of the various Accept* header
3653 fields in the request.")
3654 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3656 (define-public perl-http-parser
3658 (name "perl-http-parser")
3663 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3664 "HTTP-Parser-" version ".tar.gz"))
3667 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3668 (build-system perl-build-system)
3670 `(("perl-http-message" ,perl-http-message)
3671 ("perl-uri" ,perl-uri)))
3672 (home-page "https://metacpan.org/release/HTTP-Parser")
3673 (synopsis "Parse HTTP/1.1 requests")
3674 (description "This is an HTTP request parser. It takes chunks of text as
3675 received and returns a @code{hint} as to what is required, or returns the
3676 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3678 (license license:perl-license)))
3680 (define-public perl-http-parser-xs
3682 (name "perl-http-parser-xs")
3687 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3688 "HTTP-Parser-XS-" version ".tar.gz"))
3691 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3692 (build-system perl-build-system)
3694 `(("perl-module-install" ,perl-module-install)))
3695 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3696 (synopsis "Fast HTTP request parser")
3697 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3699 (license license:perl-license)))
3701 (define-public perl-http-request-ascgi
3703 (name "perl-http-request-ascgi")
3708 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3709 "HTTP-Request-AsCGI-" version ".tar.gz"))
3712 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3713 (build-system perl-build-system)
3715 `(("perl-class-accessor" ,perl-class-accessor)
3716 ("perl-http-message" ,perl-http-message)))
3717 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3718 (synopsis "Set up a CGI environment from an HTTP::Request")
3719 (description "This module provides a convenient way to set up a CGI
3720 environment from an HTTP::Request.")
3721 (license license:perl-license)))
3723 (define-public perl-http-server-simple
3725 (name "perl-http-server-simple")
3730 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3731 "HTTP-Server-Simple-" version ".tar.gz"))
3734 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3735 (build-system perl-build-system)
3737 `(("perl-cgi" ,perl-cgi)))
3739 ;; See the discussion of a related tests issue at
3740 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3743 #:phases (modify-phases %standard-phases
3744 (add-before 'configure 'set-search-path
3746 ;; Work around "dotless @INC" build failure.
3748 (string-append (getcwd) ":"
3749 (getenv "PERL5LIB")))
3751 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3752 (synopsis "Lightweight HTTP server")
3753 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3754 no non-core module dependencies. It can be used for building a standalone
3755 http-based UI to your existing tools.")
3756 (license license:perl-license)))
3758 (define-public perl-http-tiny
3760 (name "perl-http-tiny")
3765 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3766 "HTTP-Tiny-" version ".tar.gz"))
3769 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3770 (build-system perl-build-system)
3772 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3773 ("perl-io-socket-ip" ,perl-io-socket-ip)
3774 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3775 ("perl-mozilla-ca" ,perl-mozilla-ca)
3776 ("perl-net-ssleay" ,perl-net-ssleay)))
3777 (home-page "https://metacpan.org/release/HTTP-Tiny")
3778 (synopsis "HTTP/1.1 client")
3779 (description "This is a very simple HTTP/1.1 client, designed for doing
3780 simple requests without the overhead of a large framework like LWP::UserAgent.
3781 It supports proxies and redirection. It also correctly resumes after EINTR.")
3782 (license license:perl-license)))
3784 (define-public perl-http-tinyish
3786 (name "perl-http-tinyish")
3792 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3797 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3798 (build-system perl-build-system)
3800 `(("perl-file-which" ,perl-file-which)
3801 ("perl-ipc-run3" ,perl-ipc-run3)))
3802 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3803 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3805 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3806 @code{HTTP::Tiny}, curl and wget.
3808 It provides an API compatible to HTTP::Tiny.")
3809 (license license:perl-license)))
3811 (define-public perl-io-html
3813 (name "perl-io-html")
3818 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3822 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3823 (build-system perl-build-system)
3824 (license license:perl-license)
3825 (synopsis "Perl module to open an HTML file with automatic charset detection")
3827 "IO::HTML provides an easy way to open a file containing HTML while
3828 automatically determining its encoding. It uses the HTML5 encoding sniffing
3829 algorithm specified in section 8.2.2.1 of the draft standard.")
3830 (home-page "https://metacpan.org/release/IO-HTML")))
3832 (define-public perl-io-socket-ip
3834 (name "perl-io-socket-ip")
3839 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3840 "IO-Socket-IP-" version ".tar.gz"))
3842 (base32 "0ihlpxrkq1xrvhnq52nhghanskic718ch8kpp642afgq72i4b6l4"))))
3843 (build-system perl-build-system)
3844 (native-inputs `(("perl-module-build" ,perl-module-build)))
3845 (home-page "https://metacpan.org/release/IO-Socket-IP")
3846 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3847 (description "This module provides a protocol-independent way to use IPv4
3848 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3849 (license license:perl-license)))
3851 (define-public perl-io-socket-ssl
3853 (name "perl-io-socket-ssl")
3857 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3858 "IO-Socket-SSL-" version ".tar.gz"))
3861 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3862 (patches (search-patches
3863 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3864 (build-system perl-build-system)
3866 `(("perl-net-ssleay" ,perl-net-ssleay)
3868 ("perl-uri" ,perl-uri)))
3869 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3871 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3872 necessary functionality into the familiar IO::Socket interface and providing
3873 secure defaults whenever possible. This way existing applications can be made
3874 SSL-aware without much effort, at least if you do blocking I/O and don't use
3876 (license license:perl-license)
3877 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3879 (define-public perl-libwww
3881 (name "perl-libwww")
3886 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3890 "0869hn711d6fd6yil8p88wij6p1zdrbnycy7p9p176q39ajd7l61"))))
3891 (build-system perl-build-system)
3893 `(("perl-test-fatal" ,perl-test-fatal)
3894 ("perl-test-needs" ,perl-test-needs)
3895 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3897 `(("perl-encode-locale" ,perl-encode-locale)
3898 ("perl-file-listing" ,perl-file-listing)
3899 ("perl-html-parser" ,perl-html-parser)
3900 ("perl-http-cookies" ,perl-http-cookies)
3901 ("perl-http-daemon" ,perl-http-daemon)
3902 ("perl-http-date" ,perl-http-date)
3903 ("perl-http-message" ,perl-http-message)
3904 ("perl-http-negotiate" ,perl-http-negotiate)
3905 ("perl-net-http" ,perl-net-http)
3906 ("perl-try-tiny" ,perl-try-tiny)
3907 ("perl-uri" ,perl-uri)
3908 ("perl-www-robotrules" ,perl-www-robotrules)))
3909 (license license:perl-license)
3910 (synopsis "Perl modules for the WWW")
3912 "The libwww-perl collection is a set of Perl modules which provides a
3913 simple and consistent application programming interface to the
3914 World-Wide Web. The main focus of the library is to provide classes
3915 and functions that allow you to write WWW clients. The library also
3916 contains modules that are of more general use and even classes that
3917 help you implement simple HTTP servers.")
3918 (home-page "https://metacpan.org/release/libwww-perl")))
3920 (define-public perl-lwp-online
3922 (name "perl-lwp-online")
3928 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3932 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3933 (build-system perl-build-system)
3935 `(("perl-libwww" ,perl-libwww)
3936 ("perl-uri" ,perl-uri)))
3938 `(("perl-module-install" ,perl-module-install)))
3939 (home-page "https://metacpan.org/release/LWP-Online")
3940 (synopsis "Checks whether your process has access to the web")
3941 (description "This module attempts to answer, as accurately as it can, one
3942 of the nastiest technical questions there is: am I on the internet?
3944 A host of networking and security issues make this problem very difficult.
3945 There are firewalls, proxies (both well behaved and badly behaved). We might
3946 not have DNS. We might not have a network card at all!")
3947 (license license:perl-license)))
3949 (define-public perl-lwp-mediatypes
3951 (name "perl-lwp-mediatypes")
3956 "mirror://cpan/authors/id/O/OA/OALDERS/LWP-MediaTypes-"
3960 "1n8rg6csv3dsvymg06cmxipimr6cb1g9r903ghm1qsmiv89cl6wg"))))
3961 (build-system perl-build-system)
3963 `(("perl-test-fatal" ,perl-test-fatal)))
3964 (license license:perl-license)
3965 (synopsis "Perl module to guess the media type for a file or a URL")
3967 "The LWP::MediaTypes module provides functions for handling media (also
3968 known as MIME) types and encodings. The mapping from file extensions to
3969 media types is defined by the media.types file. If the ~/.media.types file
3970 exists it is used instead.")
3971 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3973 (define-public perl-lwp-protocol-https
3975 (name "perl-lwp-protocol-https")
3980 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3981 "LWP-Protocol-https-" version ".tar.gz"))
3983 (base32 "14pm785cgyrnppks6ccasb2vkqifh0a8fz36nmnhc2v926jy3kqn"))))
3984 (build-system perl-build-system)
3987 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3989 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3990 ("perl-libwww" ,perl-libwww)
3991 ("perl-mozilla-ca" ,perl-mozilla-ca)
3992 ("perl-net-http" ,perl-net-http)))
3993 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3994 (synopsis "HTTPS support for LWP::UserAgent")
3995 (description "The LWP::Protocol::https module provides support for using
3996 https schemed URLs with LWP.")
3997 (license license:perl-license)))
3999 (define-public perl-lwp-useragent-cached
4001 (name "perl-lwp-useragent-cached")
4006 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
4007 "LWP-UserAgent-Cached-" version ".tar.gz"))
4010 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
4011 (build-system perl-build-system)
4013 `(("perl-libwww" ,perl-libwww)))
4014 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
4015 (synopsis "Simple caching for LWP::UserAgent")
4016 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
4017 cache support. It returns responses from the local file system, if available,
4018 instead of making an HTTP request.")
4019 (license license:perl-license)))
4021 (define-public perl-lwp-useragent-determined
4023 (name "perl-lwp-useragent-determined")
4028 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
4029 "LWP-UserAgent-Determined-" version ".tar.gz"))
4032 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
4033 (build-system perl-build-system)
4035 `(("perl-libwww" ,perl-libwww)))
4036 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
4037 (synopsis "Virtual browser that retries errors")
4038 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
4039 except that when you use it to get a web page but run into a
4040 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
4041 and retry a few times.")
4042 (license license:perl-license)))
4044 (define-public perl-lwpx-paranoidagent
4046 (name "perl-lwpx-paranoidagent")
4052 "mirror://cpan/authors/id/S/SA/SAXJAZMAN/lwp/LWPx-ParanoidAgent-"
4056 "0gfhw3jbs25yya2dryv8xvyn9myngcfcmsybj7gkq62fnznil16c"))))
4057 (build-system perl-build-system)
4059 `(("perl-libwww" ,perl-libwww)
4060 ;; Users should instead make sure SSL_ca_path is set properly.
4061 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
4062 ("perl-net-dns" ,perl-net-dns)))
4063 (home-page "https://metacpan.org/release/LWPx-ParanoidAgent")
4064 (synopsis "Security enhanced subclass of LWP::UserAgent")
4065 (description "@code{LWPx::ParanoidAgent} is a class subclassing
4066 @code{LWP::UserAgent} but paranoid against attackers. Its purpose is
4067 to vet requests for a remote resource on behalf of a possibly
4068 malicious user. The class can do the same as @code{LWP::UserAgent},
4069 except that proxy support has been removed. Support for URI schemes
4070 is limited to http and https.")
4071 (license license:perl-license)))
4073 (define-public perl-net-amazon-s3
4075 (name "perl-net-amazon-s3")
4080 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
4081 "Net-Amazon-S3-" version ".tar.gz"))
4084 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
4085 (patches (search-patches
4086 "perl-net-amazon-s3-moose-warning.patch"))))
4087 (build-system perl-build-system)
4089 `(("perl-libwww" ,perl-libwww)
4090 ("perl-test-exception" ,perl-test-exception)))
4092 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
4093 ("perl-datetime-format-http" ,perl-datetime-format-http)
4094 ("perl-digest-hmac" ,perl-digest-hmac)
4095 ("perl-digest-md5-file" ,perl-digest-md5-file)
4096 ("perl-file-find-rule" ,perl-file-find-rule)
4097 ("perl-http-date" ,perl-http-date)
4098 ("perl-http-message" ,perl-http-message)
4099 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
4100 ("perl-mime-types" ,perl-mime-types)
4101 ("perl-moose" ,perl-moose)
4102 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
4103 ("perl-moosex-types-datetime-morecoercions"
4104 ,perl-moosex-types-datetime-morecoercions)
4105 ("perl-path-class" ,perl-path-class)
4106 ("perl-regexp-common" ,perl-regexp-common)
4107 ("perl-term-encoding" ,perl-term-encoding)
4108 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
4109 ("perl-uri" ,perl-uri)
4110 ("perl-xml-libxml" ,perl-xml-libxml)))
4111 (home-page "https://metacpan.org/release/Net-Amazon-S3")
4112 (synopsis "Perl interface to Amazon S3")
4113 (description "This module provides a Perlish interface to Amazon S3.")
4114 (license license:perl-license)))
4116 (define-public perl-net-http
4118 (name "perl-net-http")
4123 "mirror://cpan/authors/id/O/OA/OALDERS/"
4124 "Net-HTTP-" version ".tar.gz"))
4127 "1i7fk6q1iaxzgf82mjd5hg77hvy7dbb79488cijg16dyfrds6nip"))))
4128 (build-system perl-build-system)
4130 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
4131 ("perl-uri" ,perl-uri)))
4132 (license license:perl-license)
4133 (synopsis "Perl low-level HTTP connection (client)")
4135 "The Net::HTTP class is a low-level HTTP client. An instance of the
4136 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
4137 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
4139 (home-page "https://metacpan.org/release/Net-HTTP")))
4141 (define-public perl-net-server
4143 (name "perl-net-server")
4148 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
4149 "Net-Server-" version ".tar.gz"))
4152 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
4153 (build-system perl-build-system)
4154 (home-page "https://metacpan.org/release/Net-Server")
4155 (synopsis "Extensible Perl server engine")
4156 (description "Net::Server is an extensible, generic Perl server engine.
4157 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
4158 It includes with it the ability to run as an inetd
4159 process (Net::Server::INET), a single connection server (Net::Server or
4160 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
4161 server which maintains a constant number of preforked
4162 children (Net::Server::PreForkSimple), or as a managed preforking server which
4163 maintains the number of children based on server load (Net::Server::PreFork).
4164 In all but the inetd type, the server provides the ability to connect to one
4165 or to multiple server ports.")
4166 (license license:perl-license)))
4168 (define-public perl-net-smtp-ssl
4170 (name "perl-net-smtp-ssl")
4175 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
4176 "Net-SMTP-SSL-" version ".tar.gz"))
4179 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
4180 (build-system perl-build-system)
4182 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
4183 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
4184 (synopsis "SSL support for Net::SMTP")
4185 (description "SSL support for Net::SMTP.")
4186 (license license:perl-license)))
4188 (define-public perl-plack
4195 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4196 "Plack-" version ".tar.gz"))
4199 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
4200 (build-system perl-build-system)
4202 `(("perl-test-requires" ,perl-test-requires)
4203 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
4205 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
4206 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
4207 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
4208 ("perl-file-sharedir" ,perl-file-sharedir)
4209 ("perl-hash-multivalue" ,perl-hash-multivalue)
4210 ("perl-http-body" ,perl-http-body)
4211 ("perl-http-message" ,perl-http-message)
4212 ("perl-http-tiny" ,perl-http-tiny)
4213 ("perl-libwww" ,perl-libwww)
4214 ("perl-stream-buffered" ,perl-stream-buffered)
4215 ("perl-test-tcp" ,perl-test-tcp)
4216 ("perl-try-tiny" ,perl-try-tiny)
4217 ("perl-uri" ,perl-uri)))
4218 (home-page "https://metacpan.org/release/Plack")
4219 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
4220 (description "Plack is a set of tools for using the PSGI stack. It
4221 contains middleware components, a reference server, and utilities for Web
4222 application frameworks. Plack is like Ruby's Rack or Python's Paste for
4224 (license license:perl-license)))
4226 (define-public perl-plack-middleware-deflater
4228 (name "perl-plack-middleware-deflater")
4234 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
4235 "Plack-Middleware-Deflater-" version ".tar.gz"))
4238 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
4239 (build-system perl-build-system)
4241 `(("perl-module-install" ,perl-module-install)
4242 ("perl-test-requires" ,perl-test-requires)))
4244 `(("perl-plack" ,perl-plack)))
4245 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
4246 (synopsis "Compress response body with Gzip or Deflate")
4248 "Plack::Middleware::Deflater is a middleware to encode your response body
4249 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
4250 would save the bandwidth a little bit but should increase the Plack server
4251 load, so ideally you should handle this on the frontend reverse proxy
4253 (license license:perl-license)))
4255 (define-public perl-plack-middleware-fixmissingbodyinredirect
4257 (name "perl-plack-middleware-fixmissingbodyinredirect")
4262 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4263 "Plack-Middleware-FixMissingBodyInRedirect-"
4267 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
4268 (build-system perl-build-system)
4270 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
4271 ("perl-http-message" ,perl-http-message)
4272 ("perl-plack" ,perl-plack))) ;for Plack::Test
4274 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
4275 (synopsis "Plack::Middleware which sets body for redirect response")
4276 (description "This module sets the body in redirect response, if it's not
4278 (license license:perl-license)))
4280 (define-public perl-plack-middleware-methodoverride
4282 (name "perl-plack-middleware-methodoverride")
4287 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4288 "Plack-Middleware-MethodOverride-"
4291 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
4292 (build-system perl-build-system)
4294 `(("perl-module-build" ,perl-module-build)))
4296 `(("perl-plack" ,perl-plack)))
4297 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
4298 (synopsis "Override REST methods to Plack apps via POST")
4299 (description "This middleware allows for POST requests that pretend to be
4300 something else: by adding either a header named X-HTTP-Method-Override to the
4301 request, or a query parameter named x-tunneled-method to the URI, the client
4302 can say what method it actually meant.")
4303 (license license:perl-license)))
4305 (define-public perl-plack-middleware-removeredundantbody
4307 (name "perl-plack-middleware-removeredundantbody")
4312 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4313 "Plack-Middleware-RemoveRedundantBody-"
4316 (base32 "0zh83001rn5aqwpc1pn3di2h3ibzlf2dvkmkv05hnadpss9mzm40"))))
4317 (build-system perl-build-system)
4319 `(("perl-plack" ,perl-plack)))
4321 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
4322 (synopsis "Plack::Middleware which removes body for HTTP response")
4323 (description "This module removes the body in an HTTP response if it's not
4325 (license license:perl-license)))
4327 (define-public perl-plack-middleware-reverseproxy
4329 (name "perl-plack-middleware-reverseproxy")
4334 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4335 "Plack-Middleware-ReverseProxy-"
4338 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
4339 (build-system perl-build-system)
4341 `(("perl-module-install" ,perl-module-install)))
4343 `(("perl-plack" ,perl-plack)))
4344 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
4345 (synopsis "Supports app to run as a reverse proxy backend")
4346 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
4347 which are changed by reverse-proxy. You can specify the reverse proxy address
4348 and stop fake requests using @code{enable_if} directive in your app.psgi.")
4349 (license license:perl-license)))
4351 (define-public perl-plack-test-externalserver
4353 (name "perl-plack-test-externalserver")
4358 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
4359 "Plack-Test-ExternalServer-" version ".tar.gz"))
4361 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
4362 (build-system perl-build-system)
4364 `(("perl-plack" ,perl-plack)))
4365 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
4366 (synopsis "Run HTTP tests on external live servers")
4367 (description "This module allows your to run your Plack::Test tests
4368 against an external server instead of just against a local application through
4369 either mocked HTTP or a locally spawned server.")
4370 (license license:perl-license)))
4372 (define-public perl-test-tcp
4374 (name "perl-test-tcp")
4379 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4380 "Test-TCP-" version ".tar.gz"))
4382 (base32 "0mvv9rqwrwlcfh8qrs0s47p85rhlnw15d4gbpyi802bddp0c6lry"))))
4383 (build-system perl-build-system)
4385 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
4386 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
4387 (home-page "https://metacpan.org/release/Test-TCP")
4388 (synopsis "Testing TCP programs")
4389 (description "Test::TCP is test utilities for TCP/IP programs.")
4390 (license license:perl-license)))
4392 (define-public perl-test-www-mechanize
4394 (name "perl-test-www-mechanize")
4399 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
4400 "Test-WWW-Mechanize-" version ".tar.gz"))
4402 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
4403 (build-system perl-build-system)
4405 `(("perl-carp-assert-more" ,perl-carp-assert-more)
4406 ("perl-html-form" ,perl-html-form)
4407 ("perl-html-lint" ,perl-html-lint)
4408 ("perl-http-server-simple" ,perl-http-server-simple)
4409 ("perl-libwww" ,perl-libwww)
4410 ("perl-test-longstring" ,perl-test-longstring)
4411 ("perl-www-mechanize" ,perl-www-mechanize)))
4412 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
4413 (synopsis "Testing-specific WWW::Mechanize subclass")
4414 (description "Test::WWW::Mechanize is a subclass of the Perl module
4415 WWW::Mechanize that incorporates features for web application testing.")
4416 (license license:artistic2.0)))
4418 (define-public perl-test-www-mechanize-catalyst
4420 (name "perl-test-www-mechanize-catalyst")
4425 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
4426 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
4428 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
4429 (build-system perl-build-system)
4431 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
4432 ("perl-catalyst-plugin-session-state-cookie"
4433 ,perl-catalyst-plugin-session-state-cookie)
4434 ("perl-module-install" ,perl-module-install)
4435 ("perl-test-exception" ,perl-test-exception)
4436 ("perl-test-pod" ,perl-test-pod)
4437 ("perl-test-utf8" ,perl-test-utf8)))
4439 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4440 ("perl-class-load" ,perl-class-load)
4441 ("perl-libwww" ,perl-libwww)
4442 ("perl-moose" ,perl-moose)
4443 ("perl-namespace-clean" ,perl-namespace-clean)
4444 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4445 ("perl-www-mechanize" ,perl-www-mechanize)))
4446 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4447 (synopsis "Test::WWW::Mechanize for Catalyst")
4448 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4449 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4450 testing of Catalyst applications without needing to start up a web server.")
4451 (license license:perl-license)))
4453 (define-public perl-test-www-mechanize-psgi
4455 (name "perl-test-www-mechanize-psgi")
4460 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4461 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4464 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4465 (build-system perl-build-system)
4467 `(("perl-test-pod" ,perl-test-pod)))
4469 `(("perl-plack" ,perl-plack)
4470 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4471 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4472 (synopsis "Test PSGI programs using WWW::Mechanize")
4473 (description "PSGI is a specification to decouple web server environments
4474 from web application framework code. Test::WWW::Mechanize is a subclass of
4475 WWW::Mechanize that incorporates features for web application testing. The
4476 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4478 (license license:perl-license)))
4480 (define-public perl-uri
4486 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4487 "URI-" version ".tar.gz"))
4490 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4491 (build-system perl-build-system)
4494 `(("perl-test-needs" ,perl-test-needs)))
4495 (license license:perl-license)
4496 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4498 "The URI module implements the URI class. Objects of this class
4499 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4500 and updated by RFC 2732.")
4501 (home-page "https://metacpan.org/release/URI")))
4503 (define-public perl-uri-fetch
4505 (name "perl-uri-fetch")
4509 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4510 "URI-Fetch-" version ".tar.gz"))
4513 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4514 (build-system perl-build-system)
4516 `(#:tests? #f)) ; Tests require internet connection to succeed
4518 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4519 ("perl-libwww" ,perl-libwww)
4520 ("perl-uri" ,perl-uri)))
4521 (home-page "https://metacpan.org/release/URI-Fetch")
4522 (synopsis "Smart URI fetching/caching")
4523 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4524 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4525 and time-saving way.")
4526 (license license:perl-license)))
4528 (define-public perl-uri-find
4530 (name "perl-uri-find")
4531 (version "20160806")
4535 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4536 "URI-Find-" version ".tar.gz"))
4539 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4540 (build-system perl-build-system)
4542 `(("perl-module-build" ,perl-module-build)))
4544 `(("perl-uri" ,perl-uri)))
4545 (home-page "https://metacpan.org/release/URI-Find")
4546 (synopsis "Find URIs in arbitrary text")
4547 (description "This module finds URIs and URLs (according to what URI.pm
4548 considers a URI) in plain text. It only finds URIs which include a
4549 scheme (http:// or the like), for something a bit less strict, consider
4550 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4551 (license license:perl-license)))
4553 (define-public perl-uri-ws
4555 (name "perl-uri-ws")
4560 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4561 "URI-ws-" version ".tar.gz"))
4564 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4565 (build-system perl-build-system)
4567 `(("perl-uri" ,perl-uri)))
4568 (home-page "https://metacpan.org/release/URI-ws")
4569 (synopsis "WebSocket support for URI package")
4570 (description "With this module, the URI package provides the same set of
4571 methods for WebSocket URIs as it does for HTTP URIs.")
4572 (license license:perl-license)))
4574 (define-public perl-uri-template
4576 (name "perl-uri-template")
4580 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4584 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4585 (build-system perl-build-system)
4587 `(("perl-uri" ,perl-uri)))
4589 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4590 ("perl-test-pod" ,perl-test-pod)
4591 ("perl-module-install" ,perl-module-install)
4592 ("perl-json" ,perl-json)))
4593 (home-page "https://metacpan.org/release/URI-Template")
4594 (synopsis "Object for handling URI templates")
4595 (description "This perl module provides a wrapper around URI templates as described in
4597 (license license:perl-license)))
4599 (define-public perl-www-curl
4601 (name "perl-www-curl")
4606 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4608 (patches (search-patches "perl-www-curl-fix-struct-void.patch"
4609 "perl-www-curl-remove-symbol.patch"))
4612 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4613 (build-system perl-build-system)
4615 '(#:tests? #f ;XXX: tests require network access
4616 #:phases (modify-phases %standard-phases
4617 (add-before 'configure 'set-search-path
4619 ;; Work around "dotless @INC" build failure.
4621 (string-append (getcwd) ":"
4622 (getenv "PERL5LIB")))
4625 `(("perl-module-install" ,perl-module-install)))
4626 (inputs `(("curl" ,curl)))
4627 (synopsis "Perl extension interface for libcurl")
4629 "This is a Perl extension interface for the libcurl file downloading
4631 (license license:perl-license)
4632 (home-page "https://metacpan.org/release/WWW-Curl")))
4634 (define-public perl-www-mechanize
4636 (name "perl-www-mechanize")
4641 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4642 "WWW-Mechanize-" version ".tar.gz"))
4644 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4645 (build-system perl-build-system)
4646 (native-inputs ;only for tests
4647 `(("perl-cgi" ,perl-cgi)
4648 ("perl-test-deep" ,perl-test-deep)
4649 ("perl-test-fatal" ,perl-test-fatal)
4650 ("perl-test-output" ,perl-test-output)
4651 ("perl-test-warnings" ,perl-test-warnings)))
4653 `(("perl-html-form" ,perl-html-form)
4654 ("perl-html-parser" ,perl-html-parser)
4655 ("perl-html-tree" ,perl-html-tree)
4656 ("perl-http-message" ,perl-http-message)
4657 ("perl-http-server-simple" ,perl-http-server-simple)
4658 ("perl-libwww" ,perl-libwww)
4659 ("perl-test-warn" ,perl-test-warn)
4660 ("perl-uri" ,perl-uri)))
4661 (home-page "https://metacpan.org/release/WWW-Mechanize")
4662 (synopsis "Web browsing in a Perl object")
4663 (description "WWW::Mechanize is a Perl module for stateful programmatic
4664 web browsing, used for automating interaction with websites.")
4665 (license license:perl-license)))
4667 (define-public perl-www-opensearch
4669 (name "perl-www-opensearch")
4673 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4674 "WWW-OpenSearch-" version ".tar.gz"))
4677 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4678 (build-system perl-build-system)
4680 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4681 ("perl-datetime" ,perl-datetime)
4682 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4683 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4684 ("perl-feed-find" ,perl-feed-find)
4685 ("perl-module-install" ,perl-module-install)
4686 ("perl-module-pluggable" ,perl-module-pluggable)
4687 ("perl-uri-fetch" ,perl-uri-fetch)
4688 ("perl-test-simple" ,perl-test-simple)
4689 ("perl-xml-atom" ,perl-xml-atom)
4690 ("perl-xml-rss" ,perl-xml-rss)))
4692 `(("perl-data-page" ,perl-data-page)
4693 ("perl-libwww" ,perl-libwww)
4694 ("perl-uri" ,perl-uri)
4695 ("perl-uri-template" ,perl-uri-template)
4696 ("perl-xml-feed" ,perl-xml-feed)
4697 ("perl-xml-libxml" ,perl-xml-libxml)))
4698 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4699 (synopsis "Search A9 OpenSearch compatible engines")
4701 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4702 http://opensearch.a9.com} compatible search engines.")
4703 (license license:perl-license)))
4705 (define-public perl-www-robotrules
4707 (name "perl-www-robotrules")
4712 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4716 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4717 (build-system perl-build-system)
4719 `(("perl-uri" ,perl-uri)))
4720 (license license:perl-license)
4721 (synopsis "Perl database of robots.txt-derived permissions")
4723 "The WWW::RobotRules module parses /robots.txt files as specified in
4724 \"A Standard for Robot Exclusion\", at
4725 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4726 /robots.txt file to forbid conforming robots from accessing parts of
4728 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4730 (define-public python-feedparser
4732 (name "python-feedparser")
4737 (uri (pypi-uri "feedparser" version ".tar.gz"))
4740 "0x0hm9brh3j71645pydvlkrwxaaca9dnwd7xahwjyjaz882s200v"))))
4741 (build-system python-build-system)
4745 "https://github.com/kurtmckee/feedparser")
4746 (synopsis "Parse feeds in Python")
4748 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4749 CDF, Atom 0.3, and Atom 1.0 feeds.")
4750 (license (list license:bsd-2 ; source code
4751 license:freebsd-doc)))) ; documentation
4753 (define-public python2-feedparser
4755 (name "python2-feedparser")
4760 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4763 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4764 (build-system python-build-system)
4767 #:python ,python-2))
4769 "https://github.com/kurtmckee/feedparser")
4770 (synopsis "Parse feeds in Python")
4772 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4773 CDF, Atom 0.3, and Atom 1.0 feeds.")
4774 (license (list license:bsd-2 ; source code
4775 license:freebsd-doc)))) ; documentation
4777 (define-public guix-data-service
4778 (let ((commit "df2a0a73f1f35ea53ba6c07a6ad4c5347ba12b8f")
4781 (name "guix-data-service")
4782 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4786 (url "https://git.savannah.gnu.org/git/guix/data-service.git/")
4788 (file-name (git-file-name name version))
4791 "1ss1prr98zdjkm97w24rd04lfnnvcw6xs0gwxqgd40briqisaa5g"))))
4792 (build-system gnu-build-system)
4794 '(#:modules ((guix build utils)
4795 (guix build gnu-build-system)
4800 #:test-target "check-with-tmp-database"
4802 (modify-phases %standard-phases
4803 (add-before 'build 'set-GUILE_AUTO_COMPILE
4805 ;; To avoid warnings relating to 'guild'.
4806 (setenv "GUILE_AUTO_COMPILE" "0")
4808 (add-after 'install 'wrap-executable
4809 (lambda* (#:key inputs outputs #:allow-other-keys)
4810 (let* ((out (assoc-ref outputs "out"))
4811 (bin (string-append out "/bin"))
4812 (guile (assoc-ref inputs "guile"))
4813 (guile-effective-version
4815 (open-pipe* OPEN_READ
4816 (string-append guile "/bin/guile")
4817 "-c" "(display (effective-version))")))
4818 (scm (string-append out "/share/guile/site/"
4819 guile-effective-version))
4820 (go (string-append out "/lib/guile/"
4821 guile-effective-version
4825 (simple-format (current-error-port)
4827 (string-append bin "/" file))
4828 (wrap-program (string-append bin "/" file)
4832 (map (lambda (input)
4834 (assoc-ref inputs input)
4839 `("GUILE_LOAD_PATH" ":" prefix
4840 (,scm ,(getenv "GUILE_LOAD_PATH")))
4841 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4842 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4848 (delete 'strip)))) ; As the .go files aren't compatible
4851 ("guile-fibers" ,guile-fibers)
4852 ("guile-json" ,guile-json-4)
4853 ("guile-email" ,guile-email)
4854 ("guile-prometheus" ,guile-prometheus)
4855 ("guile-squee" ,guile-squee)
4856 ("ephemeralpg" ,ephemeralpg)
4857 ("util-linux" ,util-linux)
4858 ("postgresql" ,postgresql-13)
4859 ("sqitch" ,sqitch)))
4861 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
4862 ("autoconf" ,autoconf)
4863 ("automake" ,automake)
4864 ("emacs-minimal" ,emacs-minimal)
4865 ("emacs-htmlize" ,emacs-htmlize)
4866 ("pkg-config" ,pkg-config)))
4867 (synopsis "Store and provide data about GNU Guix")
4869 "The Guix Data Service stores data about GNU Guix, and provides this
4870 through a web interface. It supports listening to the guix-commits mailing
4871 list to find out about new revisions, then loads the data from these in to a
4872 PostgreSQL database.")
4873 (home-page "https://data.guix.gnu.org/")
4874 (license license:agpl3+))))
4876 (define-public gumbo-parser
4878 (name "gumbo-parser")
4883 (url "https://github.com/google/gumbo-parser")
4884 (commit (string-append "v" version))))
4885 (file-name (git-file-name name version))
4888 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4889 (build-system gnu-build-system)
4891 `(#:tests? #f)) ;tests require bundling googletest sources
4892 ;; The release tarball lacks the generated files.
4894 `(("autoconf" ,autoconf)
4895 ("automake" ,automake)
4896 ("libtool" ,libtool)))
4897 (home-page "https://github.com/google/gumbo-parser")
4898 (synopsis "HTML5 parsing library")
4900 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4901 a pure C99 library.")
4902 (license license:asl2.0)))
4904 (define-public uwsgi
4910 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4914 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4915 (build-system gnu-build-system)
4916 (outputs '("out" "python"))
4918 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4919 ;; But there is no obvious way to run the real tests.
4922 (modify-phases %standard-phases
4924 ;; Configuration is done by writing an ini file.
4925 (lambda* (#:key outputs #:allow-other-keys)
4926 (let* ((out (assoc-ref outputs "out"))
4927 (bindir (string-append out "/bin"))
4928 (plugindir (string-append out "/lib/uwsgi")))
4929 ;; The build phase outputs files to these directories directly.
4932 ;; XXX: Enable other plugins.
4933 (call-with-output-file "buildconf/guix.ini"
4935 (format port "[uwsgi]
4941 plugins = cgi,python
4943 " bindir plugindir))))
4944 (setenv "PROFILE" "guix")
4947 ;; Move plugins into their own output.
4948 (lambda* (#:key outputs #:allow-other-keys)
4949 (let* ((out (assoc-ref outputs "out"))
4950 (plugindir (string-append out "/lib/uwsgi"))
4951 (python-plugin (string-append
4952 plugindir "/python_plugin.so")))
4953 (install-file python-plugin
4955 (assoc-ref outputs "python") "/lib/uwsgi"))
4956 (delete-file python-plugin)
4959 `(("pkg-config" ,pkg-config)
4960 ("python" ,python-wrapper)))
4962 `(("jansson" ,jansson)
4963 ("libxml2" ,libxml2)
4964 ("libyaml" ,libyaml)
4965 ("openssl" ,openssl)
4969 ("python" ,python)))
4970 (home-page "https://uwsgi-docs.readthedocs.org/")
4971 (synopsis "Application container server")
4973 "uWSGI presents a complete stack for networked/clustered web applications,
4974 implementing message/object passing, caching, RPC and process management.
4975 It uses the uwsgi protocol for all the networking/interprocess communications.")
4976 (license license:gpl2+))) ; with linking exception
4985 (uri (string-append "https://github.com/stedolan/jq"
4986 "/releases/download/jq-" version
4987 "/jq-" version ".tar.gz"))
4989 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4990 (modules '((guix build utils)))
4993 ;; Remove bundled onigurama.
4994 (delete-file-recursively "modules")
4997 `(("oniguruma" ,oniguruma)))
4999 `(;; TODO fix gems to generate documentation
5001 ;;("bundler" ,bundler)
5002 ("valgrind" ,valgrind)))
5003 (build-system gnu-build-system)
5004 (home-page "https://stedolan.github.io/jq/")
5005 (synopsis "Command-line JSON processor")
5006 (description "jq is like sed for JSON data – you can use it to slice and
5007 filter and map and transform structured data with the same ease that sed, awk,
5008 grep and friends let you play with text. It is written in portable C. jq can
5009 mangle the data format that you have into the one that you want with very
5010 little effort, and the program to do so is often shorter and simpler than
5012 (license (list license:expat license:cc-by3.0))))
5015 (let ((revision "1")
5016 (commit "681d7bb639334bf485476f5872c5bdab10931f9a"))
5019 (version (git-version "0.4.0" revision commit))
5024 (url "https://github.com/ericchiang/pup")
5026 (file-name (git-file-name name version))
5028 (base32 "1hx1k0qlc1bq6gg5d4yprn4d7kvqzagg6mi5mvb39zdq6c4y17vr"))))
5029 (build-system go-build-system)
5031 `(#:import-path "github.com/ericchiang/pup"))
5032 (home-page "https://github.com/ericchiang/pup")
5033 (synopsis "Parse HTML at the command line")
5035 "@command{pup} is a command line tool for processing HTML. It reads
5036 from stdin, prints to stdout, and allows the user to filter parts of the page
5037 using CSS selectors. Inspired by @command{jq}, @command{pup} aims to be a
5038 fast and flexible way of exploring HTML from the terminal.")
5039 (license license:expat))))
5041 (define-public uhttpmock
5048 (uri (string-append "https://tecnocode.co.uk/downloads/uhttpmock/"
5049 "uhttpmock-" version ".tar.xz"))
5051 (base32 "0bqizz69hxk8rn4z57asz1d45vizl1rj6i5k3rzxn2x3qcik514h"))))
5052 (build-system glib-or-gtk-build-system)
5054 `(("gobject-introspection" ,gobject-introspection)
5056 ("glib-networking" ,glib-networking)
5057 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
5058 ("pkg-config" ,pkg-config)))
5060 `(("libsoup" ,libsoup)))
5061 (home-page "https://gitlab.com/groups/uhttpmock")
5062 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
5064 "Uhttpmock is a project for mocking web service APIs which use HTTP or
5065 HTTPS. It provides a library, libuhttpmock, which implements recording and
5066 playback of HTTP request/response traces.")
5067 (license license:lgpl2.1+)))
5072 (version "2012-05-31")
5076 "http://www.home.unix-ag.org/simon/woof-"
5080 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
5081 (build-system trivial-build-system)
5083 '(#:modules ((guix build utils))
5086 (use-modules (guix build utils))
5087 (let* ((source (assoc-ref %build-inputs "source"))
5088 (out (assoc-ref %outputs "out"))
5089 (bin (string-append out "/bin"))
5090 (python (assoc-ref %build-inputs "python")))
5092 (with-directory-excursion bin
5093 (copy-file source "woof")
5094 (patch-shebang "woof" (list (string-append python "/bin")))
5095 (chmod "woof" #o555))
5097 (inputs `(("python" ,python-2)))
5098 (home-page "http://www.home.unix-ag.org/simon/woof.html")
5099 (synopsis "Single file web server")
5100 (description "Woof (Web Offer One File) is a small simple web server that
5101 can easily be invoked on a single file. Your partner can access the file with
5102 tools they trust (e.g. wget).")
5103 (license license:gpl2+)))
5105 (define netsurf-buildsystem
5107 (name "netsurf-buildsystem")
5112 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5113 "buildsystem-" version ".tar.gz"))
5116 "0alsmaig9ln8dgllb3z63gq90fiz75jz0ic71fi0k0k898qix14k"))))
5117 (build-system gnu-build-system)
5118 (inputs `(("perl" ,perl)))
5120 '(#:make-flags (list (string-append "PREFIX=" %output))
5121 #:tests? #f ;no tests
5122 #:phases (modify-phases %standard-phases
5125 (home-page "https://www.netsurf-browser.org")
5126 (synopsis "Build system for the Netsurf project")
5128 "This package provides the shared build system for Netsurf project
5130 (license license:expat)))
5132 (define netsurf-buildsystem-arguments
5133 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
5134 "CC=gcc" "BUILD_CC=gcc"
5135 ,(string-append "PREFIX=" %output)
5136 ,(string-append "NSSHARED="
5137 (assoc-ref %build-inputs
5138 "netsurf-buildsystem")
5139 "/share/netsurf-buildsystem"))
5140 #:test-target "test"
5141 #:phases (modify-phases %standard-phases
5142 (delete 'configure))))
5144 (define-public libparserutils
5146 (name "libparserutils")
5151 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5152 name "-" version "-src.tar.gz"))
5155 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
5156 (build-system gnu-build-system)
5158 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5159 ("pkg-config" ,pkg-config)
5160 ("perl" ,perl))) ;for test harness
5161 (arguments netsurf-buildsystem-arguments)
5162 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
5163 (synopsis "Parser building library")
5165 "LibParserUtils is a library for building efficient parsers, written in
5166 C. It is developed as part of the NetSurf project.")
5167 (license license:expat)))
5169 (define-public hubbub
5176 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5177 "libhubbub-" version "-src.tar.gz"))
5180 "1dimfyblmym98qa1b80c5jslv2zk8r44xbdrgrsrw1n9wr9y4yly"))
5181 (patches (search-patches "hubbub-sort-entities.patch"))))
5182 (build-system gnu-build-system)
5184 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5185 ("pkg-config" ,pkg-config)
5186 ("doxygen" ,doxygen)
5187 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
5190 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
5191 (arguments netsurf-buildsystem-arguments)
5192 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
5193 (synopsis "HTML5 compliant parsing library")
5195 "Hubbub is an HTML5 compliant parsing library, written in C, which can
5196 parse both valid and invalid web content. It is developed as part of the
5198 (license license:expat)))
5200 (define-public ikiwiki
5203 (version "3.20200202.3")
5208 (url "git://git.ikiwiki.info/")
5210 (file-name (git-file-name name version))
5213 "0fphyqzlk9y8v9s89ypsmrnbhyymzrpc2w0liy0n4knc7kk2pabq"))
5216 ;; The POT file requires write permission during the build
5218 (chmod "po/ikiwiki.pot" #o644)
5220 (build-system perl-build-system)
5223 (modify-phases %standard-phases
5224 (add-after 'patch-source-shebangs 'patch-Makefiles
5226 (substitute* "Makefile.PL"
5227 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
5228 (with-directory-excursion "po"
5229 (substitute* "Makefile"
5230 (("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
5232 (add-before 'build 'set-modification-times
5233 ;; The wiki '--refresh' steps, which are executed during
5234 ;; the check phase, require recent timestamps on files in
5235 ;; the 'doc' and 'underlays' directories.
5237 (invoke "find" "doc" "underlays" "-type" "f" "-exec"
5240 (add-before 'check 'pre-check
5241 (lambda* (#:key inputs #:allow-other-keys)
5242 ;; Six tests use IPC::Run. For these tests the PERL5LIB
5243 ;; variable is needed in the runtime environment and also
5244 ;; in the search path list in the setup file.
5246 '("t/aggregate-file.t" "t/git-cgi.t" "t/git-untrusted.t"
5247 "t/passwordauth.t" "t/relativity.t" "t/wrapper-environ.t")
5248 (("(.*)\"perl\"(.*)$" _ prefix suffix)
5249 (string-append prefix "qw(env), 'PERL5LIB='.$ENV{PERL5LIB}"
5250 ", qw(perl)" suffix))
5251 (("(.*) PERL5LIB=(.*) perl(.*)$" _ prefix middle suffix)
5252 (string-append prefix "), 'PERL5LIB='.$ENV{PERL5LIB}.':"
5253 middle "', qw(perl" suffix))
5254 (("(.*)setup(.* )getcwd(.*)$" _ prefix middle suffix)
5255 (string-append prefix "setup" middle
5256 "$ENV{PERL5LIB}.':'.getcwd" suffix))
5257 (("^ENV(.*): '(.*)$" _ middle suffix)
5258 (string-append "ENV" middle
5259 ": '$ENV{PERL5LIB}:" suffix)))
5260 ;; XDG_DATA_DIRS is needed by the podcast.t test.
5261 (setenv "XDG_DATA_DIRS"
5262 (string-append (assoc-ref inputs "shared-mime-info")
5264 ;; CC is needed by IkiWiki/Wrapper.pm.
5267 (add-after 'install 'wrap-programs
5268 (lambda* (#:key outputs #:allow-other-keys)
5269 (let* ((out (assoc-ref outputs "out"))
5270 (bin (string-append out "/bin/"))
5271 (path (getenv "PERL5LIB")))
5272 (for-each (lambda (file)
5274 `("PERL5LIB" ":" prefix (,path))))
5279 ("gettext" ,gettext-minimal)
5280 ("subversion" ,subversion)
5284 ("mercurial" ,mercurial)))
5286 `(("python" ,python-wrapper)
5287 ("perl-authen-passphrase" ,perl-authen-passphrase)
5288 ("perl-cgi-simple" ,perl-cgi-simple)
5289 ("perl-db-file" ,perl-db-file)
5290 ("perl-file-mimeinfo" ,perl-file-mimeinfo)
5291 ("perl-html-tagset" ,perl-html-tagset)
5292 ("perl-image-magick" ,perl-image-magick)
5293 ("perl-ipc-run" ,perl-ipc-run)
5294 ("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
5295 ("perl-xml-feed" ,perl-xml-feed)
5296 ("perl-xml-sax" ,perl-xml-sax)
5297 ("perl-xml-twig" ,perl-xml-twig)
5298 ("perl-yaml-tiny" ,perl-yaml-tiny)
5301 `(("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
5302 ("perl-cgi-session" ,perl-cgi-session)
5303 ("perl-html-parser" ,perl-html-parser)
5304 ("perl-html-scrubber" ,perl-html-scrubber)
5305 ("perl-html-template" ,perl-html-template)
5306 ("perl-json" ,perl-json)
5307 ("perl-mail-sendmail" ,perl-mail-sendmail)
5308 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
5309 ("perl-timedate" ,perl-timedate)
5310 ("perl-uri" ,perl-uri)
5311 ("perl-xml-simple" ,perl-xml-simple)
5312 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
5313 (home-page "https://ikiwiki.info/")
5314 (synopsis "Wiki compiler, capable of generating HTML")
5316 "Ikiwiki is a wiki compiler, capable of generating a static set of web
5317 pages, but also incorporating dynamic features like a web based editor and
5319 (license license:gpl2+)))
5321 (define-public libwapcaplet
5323 (name "libwapcaplet")
5328 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5329 "libwapcaplet-" version "-src.tar.gz"))
5332 "0p0c2q9lsj4vs97aa7vjllfhw33zv3dpysdkjblzhib6dpfs2alv"))))
5333 (build-system gnu-build-system)
5335 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5336 ("pkg-config" ,pkg-config)
5337 ("check" ,check-0.14))) ;for tests
5338 (arguments netsurf-buildsystem-arguments)
5339 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
5340 (synopsis "String internment library")
5342 "LibWapcaplet provides a reference counted string internment system
5343 designed to store small strings and allow rapid comparison of them. It is
5344 developed as part of the Netsurf project.")
5345 (license license:expat)))
5347 (define-public libcss
5354 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5355 "libcss-" version "-src.tar.gz"))
5358 "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
5359 (build-system gnu-build-system)
5361 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5362 ("pkg-config" ,pkg-config)
5364 (propagated-inputs ;needed for libcss.pc
5365 `(("libparserutils" ,libparserutils)
5366 ("libwapcaplet" ,libwapcaplet)))
5367 (arguments netsurf-buildsystem-arguments)
5368 (home-page "https://www.netsurf-browser.org/projects/libcss/")
5369 (synopsis "CSS parser and selection library")
5371 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
5372 written in C. It is developed as part of the NetSurf project.")
5373 (license license:expat)))
5375 (define-public libcyaml
5383 (url "https://github.com/tlsa/libcyaml")
5384 (commit (string-append "v" version))))
5385 (file-name (git-file-name name version))
5386 (patches (search-patches "libcyaml-libyaml-compat.patch"))
5388 (base32 "0428p0rwq71nhh5nzcbapsbrjxa0x5l6h6ns32nxv7j624f0zd93"))))
5389 (build-system gnu-build-system)
5392 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5393 (string-append "CC=gcc"))
5395 (modify-phases %standard-phases
5396 (delete 'configure) ; no configure script
5400 (invoke "make" "test"))))))
5402 `(("libyaml" ,libyaml)))
5404 `(("pkg-config" ,pkg-config)))
5405 (synopsis "C library for reading and writing YAML")
5407 "LibCYAML is a C library written in ISO C11 for reading and writing
5408 structured YAML documents. The fundamental idea behind CYAML is to allow
5409 applications to construct schemas which describe both the permissible
5410 structure of the YAML documents to read/write, and the C data structure(s)
5411 in which the loaded data is arranged in memory.")
5412 (home-page "https://github.com/tlsa/libcyaml")
5413 (license license:isc)))
5415 (define-public libdom
5422 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5423 "libdom-" version "-src.tar.gz"))
5426 "0jpg5hx3y0mdxk5szd47dyijqimd2321brbqk2620pp5f4j0gvlq"))))
5427 (build-system gnu-build-system)
5429 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5430 ("pkg-config" ,pkg-config)
5431 ("perl" ,perl) ;for test harness
5432 ("perl-libxml" ,perl-libxml)
5433 ("perl-switch" ,perl-switch)
5434 ("perl-xml-xpath" ,perl-xml-xpath)))
5436 `(("libparserutils" ,libparserutils)
5437 ("libwapcaplet" ,libwapcaplet)))
5439 `(("expat" ,expat) ;needed for headers and linking
5440 ("hubbub" ,hubbub))) ;for libdom.pc
5442 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
5443 ,@netsurf-buildsystem-arguments))
5444 (home-page "https://www.netsurf-browser.org/projects/libdom/")
5445 (synopsis "Implementation of the W3C DOM")
5447 "LibDOM is an implementation of the W3C DOM, written in C. It is
5448 developed as part of the NetSurf project.")
5449 (license license:expat)))
5451 (define-public libsvgtiny
5458 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5459 name "-" version "-src.tar.gz"))
5462 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
5463 (build-system gnu-build-system)
5465 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5466 ("pkg-config" ,pkg-config)
5467 ("gperf" ,gperf-3.0)))
5469 `(("libwapcaplet" ,libwapcaplet)))
5471 `(("libdom" ,libdom))) ;for libsvgtiny.pc
5472 (arguments netsurf-buildsystem-arguments)
5473 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
5474 (synopsis "Library for parsing SVG files")
5476 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
5477 which can be rendered easily, as defined in
5478 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
5480 (license license:expat)))
5482 (define-public libnsbmp
5489 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5490 name "-" version "-src.tar.gz"))
5493 "0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r"))))
5494 (build-system gnu-build-system)
5496 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5497 (arguments netsurf-buildsystem-arguments)
5498 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
5499 (synopsis "Decoding library for BMP and ICO files")
5501 "Libnsbmp is a decoding library for BMP and ICO image file formats,
5502 written in C. It is developed as part of the NetSurf project.")
5503 (license license:expat)))
5505 (define-public libnsgif
5512 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5513 name "-" version "-src.tar.gz"))
5516 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
5517 (build-system gnu-build-system)
5519 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5520 (arguments netsurf-buildsystem-arguments)
5521 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
5522 (synopsis "Decoding library for GIF files")
5524 "Libnsgif is a decoding library for the GIF image file format, written in
5525 C. It is developed as part of the NetSurf project.")
5526 (license license:expat)))
5528 (define-public libnslog
5535 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5536 "libnslog-" version "-src.tar.gz"))
5539 "1l2k0kdv9iv18svhv360vszjavhl4g09cp8a8yb719pgsylxr67w"))))
5540 (build-system gnu-build-system)
5542 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5543 ("pkg-config" ,pkg-config)
5544 ("check" ,check) ; For tests
5547 (arguments netsurf-buildsystem-arguments)
5548 (home-page "https://www.netsurf-browser.org/")
5549 (synopsis "Logging library")
5551 "Libnslog provides a category-based logging library which supports
5552 complex logging filters, multiple log levels, and provides context through to
5553 client applications. It is developed as part of the NetSurf project.")
5554 (license license:expat)))
5556 (define-public libnsutils
5563 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5564 name "-" version "-src.tar.gz"))
5567 "1w5fyy2i60a3v3if3iqcn9sy9sycx6966rcx53v85gja6hb6a33r"))))
5568 (build-system gnu-build-system)
5570 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5571 (arguments netsurf-buildsystem-arguments)
5572 (home-page "https://www.netsurf-browser.org/")
5573 (synopsis "Utility library for NetSurf")
5575 "Libnsutils provides a small number of useful utility routines. It is
5576 developed as part of the NetSurf project.")
5577 (license license:expat)))
5579 (define-public libnspsl
5586 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5587 "libnspsl-" version "-src.tar.gz"))
5590 "02q28n5i6fwqcz1nn167rb71k1q95mx38mfah6zi1lvqrc2q5ifk"))))
5591 (build-system gnu-build-system)
5593 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5594 (arguments netsurf-buildsystem-arguments)
5595 (home-page "https://www.netsurf-browser.org/")
5596 (synopsis "Library to generate a static Public Suffix List")
5598 "Libnspsl is a library to generate a static code representation of the
5599 Public Suffix List. It is developed as part of the NetSurf project.")
5600 (license license:expat)))
5602 (define-public nsgenbind
5609 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5610 "nsgenbind-" version "-src.tar.gz"))
5613 "1cqwgwca49jvmijwiyaab2bwxicgxdrnlpinf8kp3nha02nm73ad"))))
5614 (build-system gnu-build-system)
5616 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5620 (substitute-keyword-arguments netsurf-buildsystem-arguments
5621 ((#:make-flags flags)
5622 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5623 (home-page "https://www.netsurf-browser.org/")
5624 (synopsis "Generate JavaScript to DOM bindings")
5626 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5627 w3c webidl files and a binding configuration file.")
5628 (license license:expat)))
5630 (define-public netsurf
5637 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5638 "releases/source/netsurf-" version "-src.tar.gz"))
5641 "0plra64c5xyiw12yx2q13brxsv8apmany97zqa2lcqckw4ll8j1n"))
5642 (patches (search-patches "netsurf-system-utf8proc.patch"
5643 "netsurf-y2038-tests.patch"
5644 "netsurf-longer-test-timeout.patch"
5645 "netsurf-message-timestamp.patch"))))
5646 (build-system glib-or-gtk-build-system)
5648 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5649 ("nsgenbind" ,nsgenbind)
5650 ("libidn" ,libidn) ;only for tests
5653 ("perl-html-parser" ,perl-html-parser)
5654 ("pkg-config" ,pkg-config)
5659 ("openssl" ,openssl)
5660 ("utf8proc" ,utf8proc)
5662 ("libjpeg" ,libjpeg-turbo)
5665 ("libnsbmp" ,libnsbmp)
5666 ("libnsgif" ,libnsgif)
5667 ("libnslog" ,libnslog)
5668 ("libnspsl" ,libnspsl)
5669 ("libnsutils" ,libnsutils)
5670 ("libsvgtiny" ,libsvgtiny)
5671 ("miscfiles" ,miscfiles)))
5673 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5675 ,(string-append "PREFIX=" %output)
5676 ,(string-append "NSSHARED="
5677 (assoc-ref %build-inputs
5678 "netsurf-buildsystem")
5679 "/share/netsurf-buildsystem"))
5680 #:test-target "test"
5681 #:modules ((ice-9 rdelim)
5685 ,@%glib-or-gtk-build-system-modules)
5687 (modify-phases %standard-phases
5689 (add-after 'build 'adjust-welcome
5691 (substitute* "frontends/gtk/res/welcome.html"
5692 ;; Close some XHTML tags.
5693 (("<(img|input)([^>]*)>" _ tag contents)
5694 (string-append "<" tag contents " />"))
5695 ;; Increase freedom.
5696 ((" open source") ", free software")
5697 ;; Prefer a more privacy-respecting default search engine.
5698 (("www.google.co.uk") "www.duckduckgo.com/html")
5699 (("Google Search") "DuckDuckGo Search")
5700 (("name=\"btnG\"") ""))
5701 ;; Remove default links so it doesn't seem we're endorsing them.
5702 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5704 ;; Leave the DOCTYPE header as is.
5705 (display (read-line in 'concat) out)
5707 (let rec ((sxml (xml->sxml in
5708 #:default-entity-handler
5710 (string-append "<ENTITY>"
5711 (symbol->string name)
5713 ;; We'd like to use sxml-match here, but it can't
5714 ;; match against generic tag symbols...
5716 (`(div (@ (class "links")) . ,rest)
5725 (add-before 'check 'patch-check
5726 (lambda* (#:key inputs #:allow-other-keys)
5727 (substitute* '("test/bloom.c" "test/hashtable.c")
5728 (("/usr/share/dict/words")
5729 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5731 (add-after 'install 'install-more
5732 (lambda* (#:key outputs #:allow-other-keys)
5733 (let* ((out (assoc-ref outputs "out"))
5734 (desktop (string-append out "/share/applications/"
5735 "netsurf.desktop")))
5736 (mkdir-p (dirname desktop))
5737 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5739 (substitute* desktop
5740 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
5741 (("netsurf.png") (string-append out "/share/netsurf/"
5743 (install-file "docs/netsurf-gtk.1"
5744 (string-append out "/share/man/man1/"))
5746 (home-page "https://www.netsurf-browser.org")
5747 (synopsis "Web browser")
5749 "NetSurf is a lightweight web browser that has its own layout and
5750 rendering engine entirely written from scratch. It is small and capable of
5751 handling many of the web standards in use today.")
5752 (license license:gpl2+)))
5754 (define-public surfraw
5761 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5762 "2de827b2786ef2fe43b6f07913ca7b7f/"
5763 "surfraw-" version ".tar.gz"))
5765 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5766 (build-system gnu-build-system)
5769 (modify-phases %standard-phases
5770 (add-before 'configure 'patch-perl
5771 (lambda* (#:key inputs #:allow-other-keys)
5772 (let ((perl (assoc-ref inputs "perl")))
5773 (substitute* "surfraw.IN"
5775 (string-append perl "/bin/perl -e")))
5777 (add-after 'install 'compress-elvi.1sr
5778 (lambda* (#:key outputs #:allow-other-keys)
5779 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5780 ;; but elvi.1sr does not get compressed by our manpage phase.
5781 (let* ((out (assoc-ref %outputs "out"))
5782 (man (string-append out "/share/man/man1")))
5783 (with-directory-excursion man
5784 (invoke "gzip" "elvi.1sr"))))))))
5787 ("perl-www-opensearch" ,perl-www-opensearch)
5788 ("perl-html-parser" ,perl-html-parser)
5789 ("perl-libwww" ,perl-libwww)))
5790 (synopsis "Unix command line interface to the www")
5791 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5792 provides a unix command line interface to a variety of popular www search engines
5793 and similar services.")
5794 (home-page "https://surfraw.alioth.debian.org/")
5795 (license license:public-domain)))
5797 (define-public darkhttpd
5804 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5805 version ".tar.bz2"))
5808 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5809 (build-system gnu-build-system)
5811 `(#:make-flags '("CC=gcc")
5812 #:tests? #f ; No test suite
5814 (modify-phases %standard-phases
5817 (lambda* (#:key outputs #:allow-other-keys)
5818 (install-file "darkhttpd"
5819 (string-append (assoc-ref outputs "out")
5822 (synopsis "Simple static web server")
5823 (description "darkhttpd is a simple static web server. It is
5824 standalone and does not need inetd or ucspi-tcp. It does not need any
5825 config files---you only have to specify the www root.")
5826 (home-page "https://unix4lyfe.org/darkhttpd/")
5827 (license license:isc)))
5829 (define-public goaccess
5835 (uri (string-append "http://tar.goaccess.io/goaccess-"
5839 "03wp75n1krv8g643q00gcv1ikmzwwh8jjqmph0wxww1bwrw7whc8"))
5840 (modules '((guix build utils)))
5842 (substitute* "src/error.h"
5843 (("__DATE__") "\"1970-01-01\"")
5844 (("__TIME__") "\"00:00:00\""))
5846 (build-system gnu-build-system)
5848 ;; TODO: Add dependency on geoip-tools.
5850 ("ncurses" ,ncurses)))
5852 `(("pkg-config" ,pkg-config)))
5853 (home-page "https://goaccess.io")
5854 (synopsis "Analyze Web server logs in real time")
5856 "GoAccess is a real-time web log analyzer and interactive viewer that
5857 runs in a terminal or through your browser. It provides fast and valuable
5858 HTTP statistics for system administrators that require a visual server report
5860 (license license:x11)))
5862 (define-public hitch
5866 (home-page "https://hitch-tls.org/")
5869 (uri (string-append home-page "source/hitch-" version ".tar.gz"))
5872 "1i75giwyr66ip8xsvk3gg5xdbxnmcabgxz8dqi06c58mw7qzhzn9"))))
5873 (build-system gnu-build-system)
5875 `(#:phases (modify-phases %standard-phases
5876 (add-before 'check 'pre-check
5878 ;; Most tests attempts to access hitch-tls.org which is
5879 ;; unavailable in the build container. Run them against
5880 ;; a dummy local web server instead.
5881 (for-each (lambda (test)
5883 (("\\[hitch-tls\\.org\\]:80")
5884 "[localhost]:8000")))
5885 (find-files "src/tests" "\\.sh$"))
5886 (system "python3 -m http.server &")
5888 ;; The build container does not reap zombie processes,
5889 ;; causing stop_hitch to hang indefinitely while waiting
5890 ;; for the process to terminate because 'kill -0' never
5891 ;; succeeds. Use a different test to see whether the
5892 ;; process has shut down.
5893 (substitute* "src/tests/hitch_test.sh"
5894 (("kill -0 \"\\$HITCH_PID\"")
5895 "$(ps -p $HITCH_PID -o state= | grep -qv '^Z$')"))
5898 `(("pkg-config" ,pkg-config)
5904 ("python" ,python)))
5907 ("openssl" ,openssl)))
5908 (synopsis "Scalable TLS proxy")
5910 "Hitch is a performant TLS proxy based on @code{libev}. It terminates
5911 SSL/TLS connections and forwards the unencrypted traffic to a backend such
5912 as a web server. It is designed to handle many thousand connections on
5913 multicore machines.")
5914 (license license:bsd-2)))
5916 (define-public httptunnel
5923 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5924 name "-" version ".tar.gz"))
5927 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5928 (modules '((guix build utils)))
5930 ;; Remove non-free IETF RFC documentation.
5931 (delete-file-recursively "doc")
5933 (build-system gnu-build-system)
5936 (modify-phases %standard-phases
5937 ;; The default configure phase tries to pass environment variables as
5938 ;; command-line arguments, which confuses the ./configure script.
5940 (lambda* (#:key outputs #:allow-other-keys)
5941 (let* ((out (assoc-ref outputs "out")))
5942 (setenv "CONFIG_SHELL" (which "bash"))
5943 (invoke "./configure"
5944 (string-append "--prefix=" out))))))))
5945 (home-page "http://www.nocrew.org/software/httptunnel.html")
5946 (synopsis "Tunnel data connections through HTTP requests")
5947 (description "httptunnel creates a bidirectional virtual data connection
5948 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5949 useful for users behind restrictive firewalls. As long as Web traffic is
5950 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5951 tools like SSH (Secure Shell) to reach the outside world.")
5952 (license license:gpl2+)))
5954 (define-public stunnel
5961 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5964 (base32 "17yf2n47j5hw2y9527mrkx3j7q9jk5vvg46m3hgp1wg8dggpcxqk"))))
5965 (build-system gnu-build-system)
5968 `(("iproute" ,iproute)
5970 ("procps" ,procps)))
5971 (inputs `(("openssl" ,openssl)))
5974 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5976 (modify-phases %standard-phases
5977 (add-after 'unpack 'patch-output-directories
5979 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5980 (substitute* (list "Makefile.in"
5982 "tools/Makefile.in")
5984 (string-append "/doc/" ,name "-" ,version)))
5986 (add-before 'check 'patch-tests
5988 (substitute* "tests/make_test"
5990 (string-append (which "sh") " ")))
5991 ;; test requires networking
5992 (delete-file "tests/recipes/055_socket_closed")
5994 (home-page "https://www.stunnel.org")
5995 (synopsis "TLS proxy for clients or servers")
5996 (description "Stunnel is a proxy designed to add TLS encryption
5997 functionality to existing clients and servers without any changes in the
5998 programs' code. Its architecture is optimized for security, portability, and
5999 scalability (including load-balancing), making it suitable for large
6001 (license license:gpl2+)))
6003 (define-public varnish
6006 (home-page "https://varnish-cache.org/")
6010 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
6013 "1dfdswri6lkfk6kml3szvffm91y49pajgqy1k5y26llqixl4r5hi"))))
6014 (build-system gnu-build-system)
6016 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
6017 ;; Use absolute path of GCC so it's found at runtime.
6018 (string-append "PTHREAD_CC="
6019 (assoc-ref %build-inputs "gcc")
6021 "--localstatedir=/var")
6023 (modify-phases %standard-phases
6024 (add-after 'unpack 'use-absolute-file-names
6026 (substitute* '("bin/varnishtest/vtc_varnish.c"
6027 "bin/varnishtest/vtc_process.c"
6028 "bin/varnishd/mgt/mgt_vcc.c"
6029 "bin/varnishtest/tests/u00014.vtc")
6030 (("/bin/sh") (which "sh")))
6031 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
6032 (("rm -rf") (string-append (which "rm") " -rf")))
6033 (substitute* "bin/varnishtest/vtc_main.c"
6034 (("/bin/rm") (which "rm")))
6036 (add-before 'install 'patch-Makefile
6038 (substitute* "Makefile"
6039 ;; Do not create /var/varnish during install.
6040 (("^install-data-am: install-data-local") "install-data-am: "))
6042 (add-after 'install 'wrap-varnishd
6043 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
6044 ;; environment variables to avoid propagating them to profiles.
6045 (lambda* (#:key inputs outputs #:allow-other-keys)
6046 (let* ((out (assoc-ref outputs "out"))
6047 (varnishd (string-append out "/sbin/varnishd"))
6048 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
6049 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
6050 (wrap-program varnishd
6051 ;; Add binutils to PATH so gcc finds the 'as' executable.
6052 `("PATH" ":" prefix (,PATH))
6053 ;; Make sure 'crti.o' et.al is found.
6054 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
6057 `(("pkg-config" ,pkg-config)
6058 ("python-sphinx" ,python-sphinx)
6059 ("rst2man" ,python-docutils)))
6061 `(("jemalloc" ,jemalloc)
6062 ("ncurses" ,ncurses)
6064 ("python" ,python-wrapper)
6065 ("readline" ,readline)))
6066 (synopsis "Web application accelerator")
6068 "Varnish is a high-performance HTTP accelerator. It acts as a caching
6069 reverse proxy and load balancer. You install it in front of any server that
6070 speaks HTTP and configure it to cache the contents through an extensive
6071 configuration language.")
6072 (license (list license:bsd-2 ;main distribution
6073 license:zlib ;lib/libvgz/*
6074 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
6075 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
6077 (define-public varnish-modules
6079 (name "varnish-modules")
6080 (home-page "https://github.com/varnish/varnish-modules")
6084 (uri (git-reference (url home-page) (commit version)))
6085 (file-name (git-file-name name version))
6088 "1mzkad9r4rpm1fi7j7skwrsyzzbwcapfnlvvl1ls3rng2djcqb5j"))))
6089 (build-system gnu-build-system)
6091 `(("pkg-config" ,pkg-config)
6093 ;; For bootstrapping.
6094 ("autoconf" ,autoconf)
6095 ("automake" ,automake)
6096 ("libtool" ,libtool)
6098 ;; For generating manuals.
6099 ("rst2man" ,python-docutils)))
6101 `(("python" ,python)
6102 ("varnish" ,varnish)))
6103 (synopsis "Collection of Varnish modules")
6105 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
6106 cache server, extending the @acronym{VCL, Varnish Configuration Language} with
6107 additional capabilities.")
6108 (license license:bsd-2)))
6110 (define-public xinetd
6113 ;; This is the maintenance fork currently used by openSUSE and Debian.
6114 (version "2.3.15.4")
6119 (url "https://github.com/openSUSE/xinetd")
6121 (file-name (git-file-name name version))
6123 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
6124 (build-system gnu-build-system)
6126 `(#:configure-flags '("--with-loadavg")
6127 #:tests? #f)) ; no tests
6129 `(("autoconf" ,autoconf)
6130 ("automake" ,automake)
6131 ("libtool" ,libtool)
6132 ("pkg-config" ,pkg-config)))
6133 (home-page "https://github.com/openSUSE/xinetd")
6134 (synopsis "Internet services daemon")
6135 (description "@code{xinetd}, a more secure replacement for @code{inetd},
6136 listens for incoming requests over a network and launches the appropriate
6137 service for that request. Requests are made using port numbers as identifiers
6138 and xinetd usually launches another daemon to handle the request. It can be
6139 used to start services with both privileged and non-privileged port numbers.")
6140 (license (license:fsf-free "file://COPYRIGHT"))))
6142 (define-public tidy-html
6150 (url "https://github.com/htacg/tidy-html5")
6152 (file-name (git-file-name name version))
6155 "01k5sqwgcsr26i8031v1yr2r8qcy9a5w7sj800660haszgfbjz2f"))))
6156 (build-system cmake-build-system)
6158 "static")) ; 1.3MiB of .a files
6160 `(#:tests? #f ; no tests available
6161 #:build-type "Release"
6163 (modify-phases %standard-phases
6164 (add-after 'install 'move-static-libraries
6165 (lambda* (#:key outputs #:allow-other-keys)
6166 ;; Move static libraries to the "static" output.
6167 (let* ((out (assoc-ref outputs "out"))
6168 (lib (string-append out "/lib"))
6169 (static (assoc-ref outputs "static"))
6170 (slib (string-append static "/lib")))
6172 (for-each (lambda (file)
6173 (install-file file slib)
6175 (find-files lib "\\.a$"))
6178 `(("libxslt" ,libxslt)))
6179 (home-page "http://www.html-tidy.org/")
6180 (synopsis "HTML Tidy with HTML5 support")
6182 "Tidy is a console application which corrects and cleans up
6183 HTML and XML documents by fixing markup errors and upgrading
6184 legacy code to modern standards.
6186 Tidy also provides @code{libtidy}, a C static and dynamic library that
6187 developers can integrate into their applications to make use of the
6188 functions of Tidy.")
6189 (license license:bsd-3)))
6191 (define-public hiawatha
6198 (uri (string-append "https://www.hiawatha-webserver.org/files/"
6199 "hiawatha-" version ".tar.gz"))
6200 (modules '((guix build utils)))
6202 ;; We use packaged libraries, so delete the bundled copies.
6203 (for-each delete-file-recursively
6204 (list "extra/nghttp2.tgz" "mbedtls"))
6207 (base32 "09wpgilbv13zal71v9lbsqr8c3fignygadykpd1p1pb8blb5vn3r"))))
6208 (build-system cmake-build-system)
6210 `(#:tests? #f ; no tests included
6211 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
6212 (string-append "-DENABLE_HTTP2=on")
6213 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
6214 (string-append "-DENABLE_TOMAHAWK=on")
6215 (string-append "-DLOG_DIR=/var/log/hiawatha")
6216 (string-append "-DPID_DIR=/run")
6217 (string-append "-DWEBROOT_DIR="
6218 (assoc-ref %outputs "out")
6219 "/share/hiawatha/html")
6220 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
6222 (modify-phases %standard-phases
6223 (add-after 'unpack 'install-no-empty-directories
6225 (substitute* "CMakeLists.txt"
6226 (("install\\(DIRECTORY DESTINATION" match)
6227 (string-append "#" match)))
6229 (add-after 'install 'wrap
6230 (lambda* (#:key inputs outputs #:allow-other-keys)
6231 ;; Make sure 'hiawatha' finds 'mbedtls'.
6232 (let* ((out (assoc-ref outputs "out"))
6233 (sbin (string-append out "/sbin"))
6234 (mbed (assoc-ref inputs "mbedtls-apache")))
6235 (wrap-program (string-append sbin "/hiawatha")
6236 `("PATH" ":" prefix (,mbed)))))))))
6238 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
6239 `(("libxslt" ,libxslt)
6240 ("libxml2" ,libxml2)
6241 ("mbedtls-apache" ,mbedtls-for-hiawatha)
6242 ("nghttp2" ,nghttp2 "lib")
6244 (home-page "https://www.hiawatha-webserver.org")
6245 (synopsis "Webserver with focus on security")
6247 "Hiawatha has been written with security in mind.
6248 Features include the ability to stop SQL injections, XSS and CSRF attacks and
6250 (license license:gpl2)))
6252 (define-public python-httpbin
6254 (name "python-httpbin")
6259 (uri (pypi-uri "httpbin" version))
6262 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
6263 (build-system python-build-system)
6265 `(("python-decorator" ,python-decorator)
6266 ("python-flask" ,python-flask)
6267 ("python-itsdangerous" ,python-itsdangerous)
6268 ("python-markupsafe" ,python-markupsafe)
6269 ("python-six" ,python-six)))
6270 (home-page "https://github.com/Runscope/httpbin")
6271 (synopsis "HTTP request and response service")
6272 (description "Testing an HTTP Library can become difficult sometimes.
6273 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
6274 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
6276 (license license:isc)))
6278 (define-public python-pytest-httpbin
6280 (name "python-pytest-httpbin")
6285 (uri (pypi-uri "pytest-httpbin" version))
6288 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
6289 (build-system python-build-system)
6291 `(("python-six" ,python-six)
6292 ("python-httpbin" ,python-httpbin)
6293 ("python-pytest" ,python-pytest)))
6295 "https://github.com/kevin1024/pytest-httpbin")
6297 "Test your HTTP library against a local copy of httpbin")
6299 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
6300 into your tests. It automatically starts up a HTTP server in a separate thread running
6301 @code{httpbin} and provides your test with the URL in the fixture.")
6302 (license license:expat)))
6304 (define-public http-parser
6305 (let ((commit "ec8b5ee63f0e51191ea43bb0c6eac7bfbff3141d")
6308 (name "http-parser")
6309 (version (git-version "2.9.4" revision commit))
6310 (home-page "https://github.com/nodejs/http-parser")
6314 (uri (git-reference (url home-page)
6317 (base32 "0f297hrbx0kvy3qwgm9rhmbnjww6iljlcz9grsc9d4km1qj1071i"))
6318 (file-name (git-file-name name version))
6321 (search-patches "http-parser-CVE-2020-8287.patch")
6324 ;; Treat an empty port (e.g. `http://hostname:/`) when parsing
6325 ;; URLs as if no port were specified. This patch is applied
6326 ;; to Fedora's http-parser and to libgit2's bundled version.
6329 "https://src.fedoraproject.org/rpms/http-parser/raw/"
6330 "e89b4c4e2874c19079a5a1a2d2ccc61b551aa289/"
6331 "f/0001-url-treat-empty-port-as-default.patch"))
6334 "0pbxf2nq9pcn299k2b2ls8ldghaqln9glnp79gi57mamx4iy0f6g"))))))
6335 (modules '((guix build utils)))
6338 ;; This assertion fails when building for i686-linux.
6339 (substitute* "test.c"
6340 (("assert\\(sizeof\\(http_parser\\) == 32\\);")
6343 (build-system gnu-build-system)
6345 `(#:test-target "test"
6347 (list (string-append "PREFIX="
6348 (assoc-ref %outputs "out"))
6350 ,@(if (%current-target-system)
6354 (modify-phases %standard-phases
6355 ,@(if (%current-target-system)
6356 '((replace 'configure
6357 (lambda* (#:key target #:allow-other-keys)
6358 (substitute* (find-files "." "Makefile")
6360 (string-append "CC=" target "-gcc\n"))
6362 (string-append "AR=" target "-ar\n")))
6364 '((delete 'configure))))))
6365 (synopsis "HTTP request/response parser for C")
6366 (description "This is a parser for HTTP messages written in C. It
6367 parses both requests and responses. The parser is designed to be used in
6368 high-performance HTTP applications. It does not make any syscalls nor
6369 allocations, it does not buffer data, it can be interrupted at anytime.
6370 Depending on your architecture, it only requires about 40 bytes of data per
6371 message stream (in a web server that is per connection).")
6372 (license license:expat))))
6374 (define-public python-httpretty
6376 (name "python-httpretty")
6381 (uri (pypi-uri "httpretty" version))
6383 (base32 "1dg0nfl7i9kjnq98ww98x2afzav4mpgiwzvjc43ily1x9my94g75"))))
6384 (build-system python-build-system)
6386 `(#:tests? #f ; Tests require network access.
6388 (modify-phases %standard-phases
6390 (lambda* (#:key tests? #:allow-other-keys)
6392 (invoke "nosetests"))
6395 `(("python-coverage" ,python-coverage)
6396 ("python-eventlet" ,python-eventlet)
6397 ("python-nose" ,python-nose)
6398 ("python-rednose" ,python-rednose)
6399 ("python-requests" ,python-requests)
6400 ("python-sure" ,python-sure)
6401 ("python-tornado" ,python-tornado)))
6402 (home-page "https://httpretty.readthedocs.io")
6403 (synopsis "HTTP client mock for Python")
6404 (description "@code{httpretty} is a helper for faking web requests,
6405 inspired by Ruby's @code{fakeweb}.")
6406 (license license:expat)))
6415 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
6416 version "/jo-" version ".tar.gz"))
6418 (base32 "18jna9xlpxci3cak3z85c448zv2zr41baclgym3hk433p0p4vii4"))))
6419 (build-system gnu-build-system)
6420 (home-page "https://github.com/jpmens/jo")
6421 (synopsis "Output JSON from a shell")
6422 (description "jo is a command-line utility to create JSON objects or
6423 arrays. It creates a JSON string on stdout from words provided as
6424 command-line arguments or read from stdin.")
6425 (license (list license:gpl2+
6426 license:expat)))) ; json.c, json.h
6428 (define-public python-internetarchive
6430 (name "python-internetarchive")
6436 (url "https://github.com/jjjake/internetarchive")
6437 (commit (string-append "v" version))))
6438 (file-name (git-file-name name version))
6441 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
6442 (modules '((guix build utils)))
6445 ;; Python 3.7 removed `_pattern_type'.
6446 (for-each (lambda (file)
6449 (("^import re\n" line)
6450 (string-append line "re._pattern_type = re.Pattern\n"))))
6451 (find-files "." "\\.py$"))
6453 (build-system python-build-system)
6456 (modify-phases %standard-phases
6458 (add-after 'install 'check
6459 (lambda* (#:key inputs outputs #:allow-other-keys)
6460 (add-installed-pythonpath inputs outputs)
6461 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
6462 ":" (getenv "PATH")))
6463 (invoke "py.test" "-v" "-k"
6465 ;; These tests attempt to make a connection to
6466 ;; an external web service.
6467 "not test_get_item_with_kwargs"
6468 " and not test_ia")))))))
6470 `(("python-requests" ,python-requests)
6471 ("python-jsonpatch" ,python-jsonpatch-0.4)
6472 ("python-docopt" ,python-docopt)
6473 ("python-clint" ,python-clint)
6474 ("python-six" ,python-six)
6475 ("python-schema" ,python-schema-0.5)
6476 ("python-backports-csv" ,python-backports-csv)))
6478 `(("python-pytest" ,python-pytest)
6479 ("python-pytest-capturelog" ,python-pytest-capturelog)
6480 ("python-responses" ,python-responses)))
6481 (home-page "https://github.com/jjjake/internetarchive")
6482 (synopsis "Command-line interface to archive.org")
6483 (description "@code{ia} is a command-line tool for using
6484 @url{archive.org} from the command-line. It also implements the
6485 internetarchive python module for programmatic access to archive.org.")
6486 (license license:agpl3+)))
6488 (define-public python-clf
6489 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
6496 (uri (pypi-uri "clf" version))
6499 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
6500 (build-system python-build-system)
6502 `(("python-docopt" ,python-docopt)
6503 ("python-pygments" ,python-pygments)
6504 ("python-requests" ,python-requests)
6505 ("python-nose" ,python-nose)
6506 ("python-lxml" ,python-lxml)
6507 ("python-pyaml" ,python-pyaml)))
6512 (uri (string-append "https://raw.githubusercontent.com"
6513 "/ncrocfer/clf/" commit-test-clf
6517 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
6520 (modify-phases %standard-phases
6521 (add-after 'unpack 'get-tests
6523 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
6528 ;; These tests require an Internet connection.
6529 "--exclude=test_browse"
6530 "--exclude=test_command"
6531 "--exclude=test_search"))))))
6532 (home-page "https://github.com/ncrocfer/clf")
6533 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
6534 (description "@code{clf} is a command line tool for searching code
6535 snippets on @url{https://commandlinefu.com}.")
6536 (license license:expat))))
6538 (define-public python2-clf
6539 (package-with-python2 python-clf))
6541 (define-public rss-bridge
6544 (version "2020-11-10")
6549 (url "https://github.com/RSS-Bridge/rss-bridge")
6551 (file-name (git-file-name name version))
6553 (base32 "1mir6mcm37sbdrhl5kgs6schpp3l4r5mfamhiic0yfbz4hqwmg44"))))
6554 (build-system copy-build-system)
6557 '(("." "share/rss-bridge"))
6559 (modify-phases %standard-phases
6560 ;;Change paths to not use source directory.
6561 (add-before 'install 'patch-paths
6563 (substitute* "lib/rssbridge.php"
6564 (("PATH_ROOT . 'cache/'")
6565 "'/var/cache/rss-bridge/'")
6566 (("PATH_ROOT . 'whitelist.txt'")
6567 "'/etc/rss-bridge/whitelist.txt'")
6568 (("PATH_ROOT . 'config.ini.php'")
6569 "'/etc/rss-bridge/config.ini.php'")))))))
6570 (home-page "https://github.com/RSS-Bridge/rss-bridge")
6571 (synopsis "Generate Atom feeds for social networking websites")
6572 (description "rss-bridge generates Atom feeds for social networking
6573 websites lacking feeds. Supported websites include Facebook, Twitter,
6574 Instagram and YouTube.")
6575 (license (list license:public-domain
6576 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
6578 (define-public linkchecker
6580 (name "linkchecker")
6586 (url "https://github.com/linkchecker/linkchecker")
6587 (commit (string-append "v" version))))
6588 (file-name (git-file-name name version))
6591 "1j97dc9a4yhpscwadhv5dxp7036pnrxiaky18l8ddr3pvxdjvkxs"))))
6592 (build-system python-build-system)
6594 `(("python-beautifulsoup4" ,python-beautifulsoup4)
6595 ("python-dnspython" ,python-dnspython)
6596 ("python-pyxdg" ,python-pyxdg)
6597 ("python-requests" ,python-requests)))
6599 `(("gettext" ,gettext-minimal)
6600 ("python-pytest" ,python-pytest)
6601 ("python-miniboa" ,python-miniboa)
6602 ("python-parameterized" ,python-parameterized)))
6605 (modify-phases %standard-phases
6607 (lambda* (#:key inputs outputs tests? #:allow-other-keys)
6609 (add-installed-pythonpath inputs outputs)
6610 (invoke "py.test" "tests")))))))
6611 (home-page "https://linkchecker.github.io/linkchecker/")
6612 (synopsis "Check websites for broken links")
6613 (description "LinkChecker is a website validator. It checks for broken
6614 links in websites. It is recursive and multithreaded providing output in
6615 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
6616 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
6618 (license (list license:gpl2+
6619 license:bsd-2 ; linkcheck/better_exchook2.py
6620 license:bsd-3 ; linkcheck/colorama.py
6621 license:psfl ; linkcheck/gzip2.py
6622 license:expat)))) ; linkcheck/mem.py
6624 (define-public cadaver
6631 (uri (string-append "http://www.webdav.org/cadaver/"
6632 name "-" version ".tar.gz"))
6635 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
6636 (build-system gnu-build-system)
6637 ;; TODO: Unbundle libneon and make build succeed with new neon.
6639 `(#:configure-flags (list "--with-ssl=openssl")
6640 #:tests? #f)) ;No tests included
6642 `(("gettext" ,gettext-minimal)
6643 ("pkg-config" ,pkg-config)
6644 ("intltool" ,intltool)))
6647 ("openssl" ,openssl-1.0)))
6648 (home-page "http://www.webdav.org/cadaver/")
6649 (synopsis "Command-line WebDAV client")
6651 "Cadaver is a command-line WebDAV client for Unix. It supports
6652 file upload, download, on-screen display, namespace operations (move/copy),
6653 collection creation and deletion, and locking operations.")
6654 (license license:gpl2)))
6656 (define-public castor
6664 (url "https://git.sr.ht/~julienxx/castor")
6666 (file-name (git-file-name name version))
6668 (base32 "0rwg1w7srjwa23mkypl8zk6674nhph4xsc6nc01f6g5k959szylr"))))
6669 (build-system cargo-build-system)
6672 (("rust-ansi-parser" ,rust-ansi-parser-0.6)
6673 ("rust-dirs" ,rust-dirs-2)
6674 ("rust-gdk" ,rust-gdk-0.13)
6675 ("rust-gtk" ,rust-gtk-0.8)
6676 ("rust-linkify" ,rust-linkify-0.4)
6677 ("rust-native-tls" ,rust-native-tls-0.2)
6678 ("rust-open" ,rust-open-1)
6679 ("rust-percent-encoding" ,rust-percent-encoding-2)
6680 ("rust-url" ,rust-url-2))))
6682 `(("pkg-config" ,pkg-config)))
6686 ("gdk-pixbuf" ,gdk-pixbuf)
6688 ("libressl" ,libressl)
6690 (home-page "https://git.sr.ht/~julienxx/castor")
6691 (synopsis "Graphical client for plain-text protocols")
6693 "Castor is a graphical client for plain-text protocols written in
6694 Rust with GTK. It currently supports the Gemini, Gopher and Finger
6696 (license license:expat)))
6698 (define-public python-py-ubjson
6700 (name "python-py-ubjson")
6705 (uri (pypi-uri "py-ubjson" version))
6708 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
6709 (build-system python-build-system)
6710 (home-page "https://github.com/Iotic-Labs/py-ubjson")
6711 (synopsis "Universal Binary JSON encoder/decoder")
6713 "Py-ubjson is a Python module providing an Universal Binary JSON
6714 encoder/decoder based on the draft-12 specification for UBJSON.")
6715 (license license:asl2.0)))
6717 (define-public java-tomcat
6719 (name "java-tomcat")
6723 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6724 version "/src/apache-tomcat-" version "-src.tar.gz"))
6727 "1wr6mpgbk2gs18vp8mdggiq6vifj68a875dd1fkdf7cs31q54rns"))
6728 (modules '((guix build utils)))
6729 ;; Delete bundled jars.
6732 (for-each delete-file (find-files "." "\\.jar$"))
6733 (for-each delete-file (find-files "." "\\.bat$"))
6735 (build-system ant-build-system)
6737 `(("java-commons-daemon" ,java-commons-daemon)
6738 ("java-ecj" ,java-ecj)))
6740 `(#:build-target "deploy"
6741 #:tests? #f; requires downloading some files.
6743 (modify-phases %standard-phases
6744 (add-after 'unpack 'prevent-download
6746 ;; This directory must exist
6748 ;; We patch build.xml so it doesn't download any dependency, because
6749 ;; we already have all of them.
6750 (substitute* "build.xml"
6751 (("download-compile,") "")
6752 (("depends=\"validate\"") "depends=\"build-prepare\"")
6753 ((",download-validate") ""))
6755 (add-after 'unpack 'strip-timestamps
6757 (substitute* "build.xml"
6758 (("<filter token=\"YEAR\" value=.*")
6759 "<filter token=\"YEAR\" value=\"1970\"/>")
6760 (("<filter token=\"VERSION_BUILT\" value=.*")
6761 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6763 (add-after 'unpack 'modify-deploy
6765 ;; The Tomcat build downloads and copies these files to the
6766 ;; bin and lib directory.
6767 ;; We instead symlink to the input (see below).
6768 (substitute* "build.xml"
6769 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6770 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6773 (add-after 'install 'symlink-commons-daemon
6774 (lambda* (#:key inputs outputs #:allow-other-keys)
6775 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6776 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6777 (daemon-jar (car files))
6778 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6779 (target (string-append out-bin "/commons-daemon.jar")))
6780 (symlink daemon-jar target)
6782 (add-after 'install 'symlink-java-ecj
6783 (lambda* (#:key inputs outputs #:allow-other-keys)
6784 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6785 (files (find-files java-ecj "ecj.*\\.jar"))
6786 (java-ecj-jar (car files))
6787 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6788 (target (string-append out-lib "/java-ecj.jar")))
6789 (symlink java-ecj-jar target)
6791 (add-after 'unpack 'generate-properties
6793 ;; This could have been passed to make-flags, but getcwd returns
6794 ;; a different directory then.
6795 (with-output-to-file "build.properties"
6798 (string-append "base.path=" (getcwd) "/downloads\n"))))
6801 (lambda* (#:key outputs #:allow-other-keys)
6802 (let ((out (assoc-ref outputs "out")))
6803 (copy-recursively "output/build" out))
6805 (properties '((cpe-name . "tomcat")))
6806 (home-page "https://tomcat.apache.org")
6807 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6809 (description "Apache Tomcat is a free implementation of the Java
6810 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6812 (license license:asl2.0)))
6814 (define-public java-eclipse-jetty-test-helper
6816 (name "java-eclipse-jetty-test-helper")
6821 (url "https://github.com/eclipse/jetty.toolchain/")
6822 (commit (string-append "jetty-test-helper-" version))))
6823 (file-name (git-file-name name version))
6826 "1g7cdh03nfwbdxzvwm84ysgvw08xx7431lsjryj2gmf3lrqpizgb"))))
6827 (build-system ant-build-system)
6829 `(#:jar-name "eclipse-jetty-test-helper.jar"
6830 #:source-dir "src/main/java"
6831 #:test-dir "src/test"
6834 (modify-phases %standard-phases
6835 (add-before 'configure 'chdir
6837 (chdir "jetty-test-helper")
6839 (add-before 'build 'fix-paths
6842 ;; This file assumes that the build directory is named "target"
6843 ;; but it is not the case with our ant-build-system. Once we have
6844 ;; maven though, we will have to rebuild this package because this
6845 ;; assumption is correct with maven-build-system.
6847 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6848 (("\"target\"") "\"build\"")
6849 (("\"tests\"") "\"test-classes\""))
6850 ;; Tests assume we are building with maven, so that the build
6851 ;; directory is named "target", and not "build".
6852 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6853 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6854 "MavenTestingUtilsTest.java")
6855 (("target/tests") "build/test-classes")
6856 (("\"target") "\"build")))
6859 `(("junit" ,java-junit)
6860 ("hamcrest" ,java-hamcrest-all)))
6861 (home-page "https://www.eclipse.org/jetty/")
6862 (synopsis "Helper classes for jetty tests")
6863 (description "This package contains helper classes for testing the Jetty
6865 ;; This program is licensed under both epl and asl.
6866 (license (list license:epl1.0 license:asl2.0))))
6868 (define-public java-eclipse-jetty-perf-helper
6870 (inherit java-eclipse-jetty-test-helper)
6871 (name "java-eclipse-jetty-perf-helper")
6873 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6874 #:source-dir "src/main/java"
6875 #:tests? #f; no tests
6878 (modify-phases %standard-phases
6879 (add-before 'configure 'chdir
6881 (chdir "jetty-perf-helper")
6884 `(("hdrhistogram" ,java-hdrhistogram)))))
6886 (define-public java-eclipse-jetty-util
6888 (name "java-eclipse-jetty-util")
6892 (uri (string-append "https://github.com/eclipse/jetty.project/"
6893 "archive/jetty-" version ".v20210325.tar.gz"))
6896 "0b4hy4zmdmfbqk9bzmxk7v75y2ysqiappkip4z3hb9lxjvjh0b19"))))
6897 (build-system ant-build-system)
6899 `(#:jar-name "eclipse-jetty-util.jar"
6900 #:source-dir "src/main/java"
6901 #:tests? #f; require junit 5
6903 (list "**/Abstract*.java"
6905 "**/InetAddressSetTest.java"
6906 ;; Assumes we are using maven
6907 "**/TypeUtilTest.java"
6908 ;; Error on the style of log
6909 "**/StdErrLogTest.java")
6912 (modify-phases %standard-phases
6913 (add-before 'configure 'chdir
6915 (chdir "jetty-util")
6918 `(("slf4j" ,java-slf4j-api)
6919 ("servlet" ,java-javaee-servletapi)))
6920 (home-page "https://www.eclipse.org/jetty/")
6921 (synopsis "Utility classes for Jetty")
6922 (description "The Jetty Web Server provides an HTTP server and Servlet
6923 container capable of serving static and dynamic content either from a standalone
6924 or embedded instantiation. This package provides utility classes.")
6925 (license (list license:epl1.0 license:asl2.0))))
6927 ;; This version is required by maven-wagon
6928 (define-public java-eclipse-jetty-util-9.2
6930 (inherit java-eclipse-jetty-util)
6934 (uri (string-append "https://github.com/eclipse/jetty.project/"
6935 "archive/jetty-" version ".v20170606.tar.gz"))
6938 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6940 `(#:jar-name "eclipse-jetty-util.jar"
6941 #:source-dir "src/main/java"
6944 (list "**/Abstract*.java"
6946 "**/InetAddressSetTest.java"
6947 ;; Assumes we are using maven
6948 "**/TypeUtilTest.java"
6949 ;; We don't have an implementation for slf4j
6951 ;; Error on the style of log
6952 "**/StdErrLogTest.java")
6954 (modify-phases %standard-phases
6955 (add-before 'configure 'chdir
6957 (chdir "jetty-util")
6959 (add-before 'build 'fix-test-sources
6961 ;; We need to fix issues caused by changes in newer versions of
6962 ;; jetty-test-helper
6963 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6964 (substitute* (string-append src "/AbstractFSResourceTest.java")
6965 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6966 (("testdir.getFile\\(\"foo\"\\)")
6967 "testdir.getPathFile(\"foo\").toFile()")
6968 (("testdir.getFile\\(name\\)")
6969 "testdir.getPathFile(name).toFile()")))
6972 `(("java-junit" ,java-junit)
6973 ("java-hamcrest-all" ,java-hamcrest-all)
6974 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6975 ("test-helper" ,java-eclipse-jetty-test-helper)))))
6977 (define-public java-eclipse-jetty-io
6979 (inherit java-eclipse-jetty-util)
6980 (name "java-eclipse-jetty-io")
6982 `(#:jar-name "eclipse-jetty-io.jar"
6983 #:source-dir "src/main/java"
6985 #:tests? #f; require junit 5
6986 #:test-exclude (list "**/Abstract*.java"
6988 "**/EndPointTest.java")
6990 (modify-phases %standard-phases
6991 (add-before 'configure 'chdir
6996 `(("slf4j" ,java-slf4j-api)
6997 ("servlet" ,java-javaee-servletapi)
6998 ("util" ,java-eclipse-jetty-util)))
6999 (synopsis "Jetty :: IO Utility")
7000 (description "The Jetty Web Server provides an HTTP server and Servlet
7001 container capable of serving static and dynamic content either from a standalone
7002 or embedded instantiation. This package provides IO-related utility classes.")))
7004 (define-public java-eclipse-jetty-io-9.2
7006 (inherit java-eclipse-jetty-io)
7007 (version (package-version java-eclipse-jetty-util-9.2))
7008 (source (package-source java-eclipse-jetty-util-9.2))
7010 `(("util" ,java-eclipse-jetty-util-9.2)
7011 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7013 `(("mockito" ,java-mockito-1)
7014 ("cglib" ,java-cglib)
7015 ("objenesis" ,java-objenesis)
7017 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7019 (define-public java-eclipse-jetty-http
7021 (inherit java-eclipse-jetty-util)
7022 (name "java-eclipse-jetty-http")
7024 `(#:jar-name "eclipse-jetty-http.jar"
7025 #:source-dir "src/main/java"
7027 #:tests? #f; require junit 5
7029 (modify-phases %standard-phases
7030 (add-before 'configure 'chdir
7032 (chdir "jetty-http")
7034 (add-before 'build 'copy-resources
7036 (mkdir-p "build/classes")
7037 (copy-recursively "src/main/resources/" "build/classes/")
7040 `(("slf4j" ,java-slf4j-api)
7041 ("servlet" ,java-javaee-servletapi)
7042 ("io" ,java-eclipse-jetty-io)
7043 ("util" ,java-eclipse-jetty-util)))
7044 (synopsis "Jetty :: Http Utility")
7045 (description "The Jetty Web Server provides an HTTP server and Servlet
7046 container capable of serving static and dynamic content either from a standalone
7047 or embedded instantiation. This package provides HTTP-related utility classes.")))
7049 (define-public java-eclipse-jetty-http-9.2
7051 (inherit java-eclipse-jetty-http)
7052 (version (package-version java-eclipse-jetty-util-9.2))
7053 (source (package-source java-eclipse-jetty-util-9.2))
7055 `(("util" ,java-eclipse-jetty-util-9.2)
7056 ("io" ,java-eclipse-jetty-io-9.2)
7057 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
7059 (define-public java-eclipse-jetty-jmx
7061 (inherit java-eclipse-jetty-util)
7062 (name "java-eclipse-jetty-jmx")
7064 `(#:jar-name "eclipse-jetty-jmx.jar"
7065 #:source-dir "src/main/java"
7067 #:tests? #f; FIXME: requires com.openpojo.validation
7069 (modify-phases %standard-phases
7070 (add-before 'configure 'chdir
7075 `(("slf4j" ,java-slf4j-api)
7076 ("servlet" ,java-javaee-servletapi)
7077 ("util" ,java-eclipse-jetty-util)))
7078 (synopsis "Jetty :: JMX Management")
7079 (description "The Jetty Web Server provides an HTTP server and Servlet
7080 container capable of serving static and dynamic content either from a standalone
7081 or embedded instantiation. This package provides the JMX management.")))
7083 (define-public java-eclipse-jetty-jmx-9.2
7085 (inherit java-eclipse-jetty-jmx)
7086 (version (package-version java-eclipse-jetty-util-9.2))
7087 (source (package-source java-eclipse-jetty-util-9.2))
7089 `(("util" ,java-eclipse-jetty-util-9.2)
7090 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
7092 (define java-eclipse-jetty-http-test-classes
7094 (inherit java-eclipse-jetty-util)
7095 (name "java-eclipse-jetty-http-test-classes")
7097 `(#:jar-name "eclipse-jetty-http.jar"
7098 #:source-dir "src/test"
7102 (modify-phases %standard-phases
7103 (add-before 'configure 'chdir
7105 (chdir "jetty-http")
7108 `(("slf4j" ,java-slf4j-api)
7109 ("java-javaee-servletapi" ,java-javaee-servletapi)
7110 ("http" ,java-eclipse-jetty-http)
7111 ("io" ,java-eclipse-jetty-io)
7112 ("util" ,java-eclipse-jetty-util)))))
7114 (define java-eclipse-jetty-http-test-classes-9.2
7116 (inherit java-eclipse-jetty-http-test-classes)
7117 (version (package-version java-eclipse-jetty-util-9.2))
7118 (source (package-source java-eclipse-jetty-util-9.2))
7120 `(("http" ,java-eclipse-jetty-http-9.2)
7121 ,@(package-inputs java-eclipse-jetty-http-9.2)))
7122 (native-inputs (package-native-inputs java-eclipse-jetty-util-9.2))))
7124 (define-public java-eclipse-jetty-server
7126 (inherit java-eclipse-jetty-util)
7127 (name "java-eclipse-jetty-server")
7129 `(#:jar-name "eclipse-jetty-server.jar"
7130 #:source-dir "src/main/java"
7132 #:tests? #f; requires a mockito version we don't have
7134 (modify-phases %standard-phases
7135 (add-before 'configure 'chdir
7137 (chdir "jetty-server")
7139 (add-before 'build 'fix-source
7141 ;; Explicit casts to prevent build failures
7142 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
7143 (("append\\(LazyList")
7144 "append((CharSequence)LazyList"))
7146 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
7148 "Class<\\? extends EventListener> clazz = _classLoader==null"
7149 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
7150 "_classLoader.loadClass\\(className\\);"))
7151 (string-append "Class<? extends EventListener> clazz = "
7152 "(Class<? extends EventListener>) "
7153 "(_classLoader==null?Loader.loadClass("
7154 "ContextHandler.class,className):"
7155 "_classLoader.loadClass(className));")))
7158 `(("slf4j" ,java-slf4j-api)
7159 ("servlet" ,java-javaee-servletapi)
7160 ("http" ,java-eclipse-jetty-http)
7161 ("io" ,java-eclipse-jetty-io)
7162 ("jmx" ,java-eclipse-jetty-jmx)
7163 ("util" ,java-eclipse-jetty-util)))
7164 (synopsis "Core jetty server artifact")
7165 (description "The Jetty Web Server provides an HTTP server and Servlet
7166 container capable of serving static and dynamic content either from a standalone
7167 or embedded instantiation. This package provides the core jetty server
7170 (define-public java-eclipse-jetty-server-9.2
7172 (inherit java-eclipse-jetty-server)
7173 (version (package-version java-eclipse-jetty-util-9.2))
7174 (source (package-source java-eclipse-jetty-util-9.2))
7176 `(("util" ,java-eclipse-jetty-util-9.2)
7177 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7178 ("io" ,java-eclipse-jetty-io-9.2)
7179 ("http" ,java-eclipse-jetty-http-9.2)
7180 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7182 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
7183 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7185 (define-public java-eclipse-jetty-security
7187 (inherit java-eclipse-jetty-util)
7188 (name "java-eclipse-jetty-security")
7190 `(#:jar-name "eclipse-jetty-security.jar"
7191 #:source-dir "src/main/java"
7193 #:tests? #f; require junit 5
7194 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
7196 (modify-phases %standard-phases
7197 (add-before 'configure 'chdir
7199 (chdir "jetty-security")
7202 `(("slf4j" ,java-slf4j-api)
7203 ("servlet" ,java-javaee-servletapi)
7204 ("http" ,java-eclipse-jetty-http)
7205 ("server" ,java-eclipse-jetty-server)
7206 ("util" ,java-eclipse-jetty-util)))
7207 (synopsis "Jetty security infrastructure")
7208 (description "The Jetty Web Server provides an HTTP server and Servlet
7209 container capable of serving static and dynamic content either from a standalone
7210 or embedded instantiation. This package provides the core jetty security
7213 (define-public java-eclipse-jetty-security-9.2
7215 (inherit java-eclipse-jetty-security)
7216 (version (package-version java-eclipse-jetty-util-9.2))
7217 (source (package-source java-eclipse-jetty-util-9.2))
7219 `(("util" ,java-eclipse-jetty-util-9.2)
7220 ("http" ,java-eclipse-jetty-http-9.2)
7221 ("server" ,java-eclipse-jetty-server-9.2)
7222 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7224 `(("io" ,java-eclipse-jetty-io-9.2)
7225 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7227 (define-public java-eclipse-jetty-util-ajax
7229 (inherit java-eclipse-jetty-util)
7230 (name "java-eclipse-jetty-util-ajax")
7232 `(#:jar-name "eclipse-jetty-util-ajax.jar"
7233 #:source-dir "jetty-util-ajax/src/main/java"
7234 #:tests? #f)); require junit 5
7236 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
7237 ("java-javaee-servletapi" ,java-javaee-servletapi)))))
7239 (define-public java-eclipse-jetty-servlet
7241 (inherit java-eclipse-jetty-util)
7242 (name "java-eclipse-jetty-servlet")
7244 `(#:jar-name "eclipse-jetty-servlet.jar"
7245 #:source-dir "src/main/java"
7247 #:tests? #f; require junit 5
7249 (modify-phases %standard-phases
7250 (add-before 'configure 'chdir
7252 (chdir "jetty-servlet")
7255 `(("slf4j" ,java-slf4j-api)
7256 ("java-javaee-servletapi" ,java-javaee-servletapi)
7257 ("java-eclipse-jetty-util-ajax" ,java-eclipse-jetty-util-ajax)
7258 ("http" ,java-eclipse-jetty-http)
7259 ("io" ,java-eclipse-jetty-io)
7260 ("jmx" ,java-eclipse-jetty-jmx)
7261 ("security" ,java-eclipse-jetty-security)
7262 ("server" ,java-eclipse-jetty-server)
7263 ("util" ,java-eclipse-jetty-util)))
7264 (synopsis "Jetty Servlet Container")
7265 (description "The Jetty Web Server provides an HTTP server and Servlet
7266 container capable of serving static and dynamic content either from a standalone
7267 or embedded instantiation. This package provides the core jetty servlet
7270 (define-public java-eclipse-jetty-servlet-9.2
7272 (inherit java-eclipse-jetty-servlet)
7273 (version (package-version java-eclipse-jetty-util-9.2))
7274 (source (package-source java-eclipse-jetty-util-9.2))
7276 `(#:jar-name "eclipse-jetty-servlet.jar"
7277 #:source-dir "src/main/java"
7279 #:tests? #f; doesn't work
7281 (modify-phases %standard-phases
7282 (add-before 'configure 'chdir
7284 (chdir "jetty-servlet")
7287 `(("util" ,java-eclipse-jetty-util-9.2)
7288 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7289 ("io" ,java-eclipse-jetty-io-9.2)
7290 ("http" ,java-eclipse-jetty-http-9.2)
7291 ("security" ,java-eclipse-jetty-security-9.2)
7292 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
7293 ("server" ,java-eclipse-jetty-server-9.2)
7294 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
7296 (define-public java-eclipse-jetty-xml
7298 (inherit java-eclipse-jetty-util)
7299 (name "java-eclipse-jetty-xml")
7301 `(#:jar-name "eclipse-jetty-xml.jar"
7302 #:source-dir "src/main/java"
7304 #:tests? #f; most tests require network
7306 (modify-phases %standard-phases
7307 (add-before 'configure 'chdir
7312 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
7314 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7315 ,@(package-native-inputs java-eclipse-jetty-util)))))
7317 (define-public java-eclipse-jetty-xml-9.2
7319 (inherit java-eclipse-jetty-xml)
7320 (version (package-version java-eclipse-jetty-util-9.2))
7321 (source (package-source java-eclipse-jetty-util-9.2))
7323 `(#:jar-name "eclipse-jetty-xml.jar"
7324 #:source-dir "src/main/java"
7326 #:tests? #f; most tests require network
7328 (modify-phases %standard-phases
7329 (add-before 'configure 'chdir
7334 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7335 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7337 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7338 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7340 (define-public java-eclipse-jetty-webapp
7342 (inherit java-eclipse-jetty-util)
7343 (name "java-eclipse-jetty-webapp")
7345 `(#:jar-name "eclipse-jetty-webapp.jar"
7346 #:source-dir "src/main/java"
7348 #:tests? #f; require junit 5
7350 #:test-exclude (list "**/WebAppContextTest.java")
7352 (modify-phases %standard-phases
7353 (add-before 'configure 'chdir
7355 (chdir "jetty-webapp")
7358 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
7359 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
7360 ("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7361 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
7362 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
7363 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
7364 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
7365 ("java-javaee-servletapi" ,java-javaee-servletapi)))))
7367 (define-public java-eclipse-jetty-webapp-9.2
7369 (inherit java-eclipse-jetty-webapp)
7370 (version (package-version java-eclipse-jetty-util-9.2))
7371 (source (package-source java-eclipse-jetty-util-9.2))
7373 `(#:jar-name "eclipse-jetty-webapp.jar"
7374 #:source-dir "src/main/java"
7376 #:test-exclude (list "**/WebAppContextTest.java")
7378 (modify-phases %standard-phases
7379 (add-before 'configure 'chdir
7381 (chdir "jetty-webapp")
7384 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7385 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
7386 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
7387 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
7388 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
7389 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
7390 ("java-javaee-servletapi" ,java-javaee-servletapi)
7391 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7393 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7394 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7396 (define-public java-jsoup
7403 (url "https://github.com/jhy/jsoup")
7404 (commit (string-append "jsoup-" version))))
7405 (file-name (git-file-name name version))
7408 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
7409 (build-system ant-build-system)
7411 `(#:jar-name "jsoup.jar"
7412 #:source-dir "src/main/java"
7414 (modify-phases %standard-phases
7415 (add-before 'build 'copy-resources
7417 (let ((classes-dir (string-append (getcwd) "/build/classes")))
7418 (with-directory-excursion "src/main/java"
7419 (for-each (lambda (file)
7420 (let ((dist (string-append classes-dir "/" file)))
7421 (mkdir-p (dirname dist))
7422 (copy-file file dist)))
7423 (find-files "." ".*.properties"))))
7426 `(("java-junit" ,java-junit)
7427 ("java-hamcrest-core" ,java-hamcrest-core)
7428 ("java-gson" ,java-gson)))
7429 (home-page "https://jsoup.org")
7430 (synopsis "HTML parser")
7431 (description "Jsoup is a Java library for working with real-world HTML. It
7432 provides a very convenient API for extracting and manipulating data, using the
7433 best of DOM, CSS, and jQuery-like methods.")
7434 (license license:expat)))
7436 (define-public java-signpost-core
7438 (name "java-signpost-core")
7443 (url "https://github.com/mttkay/signpost")
7445 (file-name (git-file-name name version))
7448 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
7449 (build-system ant-build-system)
7451 `(#:jar-name "signpost-core.jar"
7452 #:source-dir "signpost-core/src/main/java"
7453 #:test-dir "signpost-core/src/test"
7454 ;; Tests all fail with InstantiationException from mockito
7457 `(("java-commons-codec" ,java-commons-codec)))
7458 (home-page "https://github.com/mttkay/signpost")
7459 (synopsis "Lightweight client-side OAuth library for Java")
7460 (description "Signpost is the easy and intuitive solution for signing
7461 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
7462 standard. Signpost follows a modular and flexible design, allowing you to
7463 combine it with different HTTP messaging layers.")
7464 (license license:asl2.0)))
7466 (define-public tidyp
7473 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
7477 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
7478 (build-system gnu-build-system)
7479 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
7480 (arguments `(#:tests? #f))
7481 (home-page "http://www.tidyp.com/")
7482 (synopsis "Validate HTML")
7483 (description "Tidyp is a program that can validate your HTML, as well as
7484 modify it to be more clean and standard. tidyp does not validate HTML 5.
7486 libtidyp is the library on which the program is based. It can be used by any
7487 other program that can interface to it. The Perl module @code{HTML::Tidy} is
7488 based on this library, allowing Perl programmers to easily validate HTML.")
7489 ;; See htmldoc/license.html
7490 (license license:bsd-3)))
7492 (define-public perl-html-tidy
7494 (name "perl-html-tidy")
7499 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
7503 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
7504 (build-system perl-build-system)
7507 (modify-phases %standard-phases
7508 (add-after 'unpack 'fix-tidyp-paths
7509 (lambda* (#:key inputs #:allow-other-keys)
7510 (substitute* "Makefile.PL"
7511 (("^my \\$inc = \"" line)
7513 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
7516 "-L" (assoc-ref inputs "tidyp") "/lib")))
7519 `(("perl-libwww" ,perl-libwww)
7522 `(("perl-test-exception" ,perl-test-exception)))
7523 (home-page "https://metacpan.org/release/HTML-Tidy")
7524 (synopsis "(X)HTML validation in a Perl object")
7525 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
7526 object. It's meant as a replacement for @code{HTML::Lint}, which is written
7527 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
7528 (license license:artistic2.0)))
7530 (define-public geomyidae
7538 (url "git://r-36.net/geomyidae")
7539 (commit (string-append "v" version))))
7540 (file-name (git-file-name name version))
7542 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
7543 (build-system gnu-build-system)
7545 `(#:make-flags (list "CC=gcc"
7546 (string-append "PREFIX="
7547 (assoc-ref %outputs "out")))
7548 #:tests? #f ; no tests
7549 #:phases (modify-phases %standard-phases
7550 (delete 'configure))))
7551 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
7552 (synopsis "Small Gopher server")
7554 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
7558 @item Gopher menus (see @file{index.gph} for an example);
7559 @item directory listings (if no @file{index.gph} was found);
7560 @item CGI support (@file{.cgi} files are executed);
7561 @item search support in CGI files;
7562 @item logging with multiple log levels.
7564 (license license:expat)))
7566 (define-public cat-avatar-generator
7568 (name "cat-avatar-generator")
7573 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
7574 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
7575 (file-name (string-append name "-" version))
7578 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
7579 (build-system trivial-build-system)
7581 `(#:modules ((guix build utils))
7584 (use-modules (guix build utils)
7588 (let ((source (assoc-ref %build-inputs "source"))
7589 (php-dir (string-append %output "/share/web/" ,name "/")))
7590 ;; The cache directory must not be in the store, but in a writable
7591 ;; location. The webserver will give us this location.
7592 (copy-recursively source php-dir)
7593 (substitute* (string-append php-dir "/cat-avatar-generator.php")
7594 (("\\$cachepath = .*")
7595 "if(isset($_SERVER['CACHE_DIR']))
7596 $cachepath = $_SERVER['CACHE_DIR'];
7598 die('You need to set the CACHE_DIR variable first.');"))
7600 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
7601 (synopsis "Random avatar generator")
7602 (description "Cat avatar generator is a generator of cat pictures optimised
7603 to generate random avatars, or defined avatar from a \"seed\". This is a
7604 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
7605 ;; expat for the code, CC-BY 4.0 for the artwork
7606 (license (list license:expat
7607 license:cc-by4.0))))
7609 (define-public nghttp2
7616 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7617 "releases/download/v" version "/"
7618 "nghttp2-" version ".tar.xz"))
7621 "1hk77vngjmvvzb5y1gi1aqwf6qywrc7yak08zvzb7x81qs6mphmb"))))
7622 (build-system gnu-build-system)
7623 (outputs (list "out"
7624 "lib")) ; only libnghttp2
7626 `(("pkg-config" ,pkg-config)
7628 ;; Required by tests.
7630 ("tzdata" ,tzdata-for-tests)))
7632 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
7633 `(("c-ares" ,c-ares)
7634 ("jansson" ,jansson) ; for HPACK tools
7635 ,@(if (hurd-target?) '()
7636 `(("jemalloc" ,jemalloc))) ; fight nghttpd{,x} heap fragmentation
7638 ("libxml2" ,libxml2) ; for ‘nghttp -a’
7639 ("openssl" ,openssl)
7640 ,@(if (hurd-target?)
7641 `(("openssl-static" ,openssl "static"))
7645 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
7646 "--enable-app" ; build all the tools
7647 "--enable-hpack-tools" ; ...all the tools
7648 "--disable-examples"
7649 "--disable-static") ; don't bother building .a files
7651 (modify-phases %standard-phases
7652 (add-after 'unpack 'break-circular-reference
7653 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
7654 ;; which is not allowed. Break this cycle. While we could install
7655 ;; only the library to ‘out’ and move everything else to a separate
7656 ;; output, this would inconvenience the majority of (human) users.
7657 (lambda* (#:key outputs #:allow-other-keys)
7658 (substitute* "lib/libnghttp2.pc.in"
7660 (assoc-ref outputs "lib")))
7662 (add-before 'check 'set-timezone-directory
7663 (lambda* (#:key inputs native-inputs #:allow-other-keys)
7664 (setenv "TZDIR" (string-append
7665 (assoc-ref (or native-inputs inputs) "tzdata")
7668 (home-page "https://nghttp2.org/")
7669 (synopsis "HTTP/2 protocol client, proxy, server, and library")
7671 "nghttp2 implements the Hypertext Transfer Protocol, version
7674 A reusable C library provides the HTTP/2 framing layer, with several tools built
7678 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
7679 and low-level aspects of the protocol and is useful for debugging.
7680 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
7681 serves files from a local directory.
7682 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
7683 deployed in front of existing web servers that don't support HTTP/2.
7684 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
7685 backwards compatibility with clients that don't speak HTTP/2.
7686 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
7687 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
7688 nghttp2 provides a HPACK encoder and decoder as part of its public API.
7689 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
7690 compressed JSON header blocks.
7691 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
7693 (license license:expat)))
7695 (define-public hpcguix-web
7696 (let ((commit "9de63562b06b4aef3a3afe5ecb18d3c91e57ee74")
7699 (name "hpcguix-web")
7700 (version (git-version "0.0.1" revision commit))
7704 (url "https://github.com/UMCUGenetics/hpcguix-web")
7706 (file-name (git-file-name name version))
7709 "0wjgj2s7v2cyz6dx24c111rxs99i84sfvxl4ch8brnh02j2606jz"))))
7710 (build-system gnu-build-system)
7712 `(#:modules ((guix build gnu-build-system)
7718 (modify-phases %standard-phases
7719 (add-before 'configure 'set-variables
7721 ;; This prevents a few warnings
7722 (setenv "GUILE_AUTO_COMPILE" "0")
7723 (setenv "XDG_CACHE_HOME" (getcwd))
7725 (add-after 'install 'wrap-program
7726 (lambda* (#:key inputs outputs #:allow-other-keys)
7727 (let* ((out (assoc-ref outputs "out"))
7728 (guix (assoc-ref inputs "guix"))
7729 (guile (assoc-ref inputs "guile"))
7730 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7731 (git (assoc-ref inputs "guile-git"))
7732 (bs (assoc-ref inputs "guile-bytestructures"))
7733 (json (assoc-ref inputs "guile-json"))
7734 (guile-cm (assoc-ref inputs
7735 "guile-commonmark"))
7736 (deps (list guile gcrypt git bs guile-cm guix json))
7739 (open-pipe* OPEN_READ
7740 (string-append guile "/bin/guile")
7741 "-c" "(display (effective-version))")))
7743 (map (cut string-append <>
7744 "/share/guile/site/"
7748 (gopath (string-join
7749 (map (cut string-append <>
7750 "/lib/guile/" effective
7754 (wrap-program (string-append out "/bin/run")
7755 `("GUILE_LOAD_PATH" ":" prefix (,path))
7756 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7760 `(("autoconf" ,autoconf)
7761 ("automake" ,automake)
7762 ("uglify-js" ,uglify-js)
7763 ("pkg-config" ,pkg-config)))
7765 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7768 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7769 ("guile-commonmark" ,guile-commonmark)
7770 ("guile-json" ,guile-json-4)))
7771 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7772 (synopsis "Web interface for cluster deployments of Guix")
7773 (description "Hpcguix-web provides a web interface to the list of packages
7774 provided by Guix. The list of packages is searchable and provides
7775 instructions on how to use Guix in a shared HPC environment.")
7776 (license license:agpl3+))))
7778 (define-public httrack
7784 (uri (string-append "https://mirror.httrack.com/historical/"
7785 "httrack-" version ".tar.gz"))
7788 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7789 (build-system gnu-build-system)
7791 `(("libressl" ,libressl)
7793 (home-page "https://www.httrack.com/")
7794 (synopsis "Easy-to-use offline browser utility")
7795 (description "HTTrack allows you to download a World Wide Web site from
7796 the Internet to a local directory, building recursively all directories,
7797 getting HTML, images, and other files from the server to your computer.
7799 HTTrack arranges the original site's relative link-structure. Simply open
7800 a page of the @emph{mirrored} website in your browser, and you can browse the
7801 site from link to link, as if you were viewing it online. HTTrack can also
7802 update an existing mirrored site, and resume interrupted downloads.
7804 HTTrack is fully configurable, and has an integrated help system.")
7805 (license license:gpl3+)))
7814 (uri (pypi-uri "buku" version))
7815 (file-name (git-file-name name version))
7817 (base32 "1bk3h2ya34a5livyf6p7kawh50ikbix5szsq2rkb8cp5bwrzsj5i"))))
7818 (build-system python-build-system)
7820 `(#:tests? #f)) ;FIXME: many tests need network access
7822 `(("python-beautifulsoup4" ,python-beautifulsoup4)
7823 ("python-certifi" ,python-certifi)
7824 ("python-cryptography" ,python-cryptography)
7825 ("python-html5lib" ,python-html5lib)
7826 ("python-urllib3" ,python-urllib3)))
7827 (home-page "https://github.com/jarun/buku")
7828 (synopsis "Bookmark manager")
7830 "buku is a powerful bookmark manager written in Python3 and SQLite3.
7831 @command{buku} can auto-import bookmarks from your browser and present them
7832 in an interactive command-line interface that lets you compose and update
7833 bookmarks directly. It can also present them in a web interface with
7834 @command{bukuserver}.")
7835 (license license:gpl3+)))
7837 (define-public anonip
7843 (uri (pypi-uri "anonip" version))
7846 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7847 (build-system python-build-system)
7848 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7849 (synopsis "Anonymize IP addresses in log files")
7851 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7852 That way most of the relevant information is preserved, while the IP address
7853 does not match a particular individuum anymore.
7855 Depending on your Web server, the log entries may be piped to Anonip directly
7856 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7857 written to any file.
7859 It's also possible to rewrite existing log files.
7861 Anonip can also be uses as a Python module in your own Python application.")
7862 (license license:bsd-3)))
7864 (define-public poussetaches
7866 (name "poussetaches")
7872 (url "https://github.com/tsileo/poussetaches")
7874 (file-name (git-file-name name version))
7877 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7878 (build-system go-build-system)
7880 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7881 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7883 `(#:import-path "github.com/tsileo/poussetaches"))
7884 (home-page "https://github.com/tsileo/poussetaches")
7885 (synopsis "Lightweight asynchronous task execution service")
7886 (description "Poussetaches (which literally means \"push tasks\" in
7887 French) is a lightweight asynchronous task execution service that aims to
7888 replace Celery and RabbitMQ for small Python applications.
7890 The app posts base64-encoded payload to poussetaches and specifies the
7891 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7892 requests with the registered payload until the right status code is
7894 (license license:isc)))
7896 (define-public htmlcxx
7904 (string-append "mirror://sourceforge/htmlcxx/v"
7905 version "/htmlcxx-" version ".tar.gz"))
7907 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7908 (build-system gnu-build-system)
7909 (home-page "http://htmlcxx.sourceforge.net/")
7910 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7911 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7912 C++. Although there are several other HTML parsers available, htmlcxx has some
7913 characteristics that make it unique:
7915 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7917 @item It is possible to reproduce exactly, character by character, the original
7918 document from the parse tree
7919 @item Bundled CSS parser
7920 @item Optional parsing of attributes
7921 @item C++ code that looks like C++ (not so true anymore)
7922 @item Offsets of tags/elements in the original document are stored in the nodes
7925 (license (list license:lgpl2.0
7929 (define-public librocket
7938 (url "https://github.com/libRocket/libRocket")
7939 (commit (string-append "release-" version))))
7940 (file-name (git-file-name name version))
7942 (base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
7943 (build-system cmake-build-system)
7945 `(#:tests? #f ; No tests.
7947 (modify-phases %standard-phases
7948 (add-after 'unpack 'chdir
7950 (chdir "Build"))))))
7952 `(("freetype" ,freetype)))
7953 (home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
7954 (synopsis "HTML/CSS user interface library")
7955 (description "libRocket is a C++ user interface package based on the HTML
7956 and CSS standards. libRocket uses the open standards XHTML1.0 and
7957 CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
7958 features suited towards real-time applications. It is designed as a complete
7959 solution for any project's interface needs:
7962 @item Dynamic layout system.
7963 @item Efficient application-wide styling, with a custom-built templating engine.
7964 @item Fully featured control set: buttons, sliders, drop-downs, etc.
7965 @item Runtime visual debugging suite.
7966 @item Easily integrated and extensible with Python or Lua scripting.
7968 (license license:expat)))
7970 (define-public gmnisrv
7971 (let ((commit "d484ba0ab0020866535a44be5948c9482b8f2b8d")
7975 (version (git-version "0" revision commit))
7976 (home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
7984 "11phipixsxx1jgm42agp76p5s68l0zj65kgb41vzaymgwcq79ivn"))
7985 (file-name (git-file-name name version))))
7986 (build-system gnu-build-system)
7989 (modify-phases %standard-phases
7990 (add-before 'configure 'set-variables
7996 `(("openssl" ,openssl)))
7998 `(("pkg-config" ,pkg-config)
8001 `(("mailcap" ,mailcap)))
8002 (synopsis "Simple Gemini protocol server")
8003 (description "gmnisrv is a simple Gemini protocol server written in C.")
8004 (license (list license:gpl3+
8005 license:bsd-3))))) ;; for ini.c and ini.h
8007 (define-public libzim
8014 (url "https://github.com/openzim/libzim")
8018 "00kc4qc0a69jh1jwk5xhi567b7ffpc3p38ffrf2xaax4hvpjwmn6"))
8019 (file-name (git-file-name name version))))
8020 (build-system meson-build-system)
8022 ;; TODO: Find out why tests fail.
8027 ("libuuid" ,util-linux "lib")
8029 ("zstd" ,zstd "lib")))
8031 `(("pkg-config" ,pkg-config)
8032 ("googletest" ,googletest)))
8033 (home-page "https://wiki.openzim.org/wiki/Main_Page")
8034 (synopsis "Reference implementation of the ZIM specification")
8035 (description "The openZIM project proposes offline storage solutions for
8036 content coming from the Web. The zimlib is the standard implementation of the
8037 ZIM specification. It is a library which implements the read and write method
8039 (license license:gpl2)))
8041 (define-public kiwix-lib
8045 (home-page "https://github.com/kiwix/kiwix-lib/")
8053 "034nk6l623v78clrs2d0k1vg69sbzrd8c0q79qiqmlkinck1nkxw"))
8054 (file-name (git-file-name name version))))
8055 (build-system meson-build-system)
8058 (modify-phases %standard-phases
8059 (add-before 'configure 'fix-paths-and-includes
8060 (lambda* (#:key inputs #:allow-other-keys)
8061 (setenv "CPPFLAGS" (string-append "-I" (assoc-ref inputs "mustache")))
8062 (substitute* "src/aria2.cpp"
8063 (("ARIA2_CMD \"aria2c\"")
8064 (string-append "ARIA2_CMD \""
8065 (assoc-ref inputs "aria2")
8072 ("libmicrohttpd" ,libmicrohttpd)
8074 ("pugixml" ,pugixml)
8077 ("zstd" ,zstd "lib")))
8079 `(("mustache" ,(origin
8082 (url "https://github.com/kainjow/Mustache")
8083 ;; XXX: Readme says to use version 3. Can we use 3.2.1?
8085 (file-name (git-file-name "mustache" "4.1"))
8088 "0r9rbk6v1wpld2ismfsk2lkhbyv3dkf0p03hkjivbj05qkfhvlbb"))))
8089 ("pkg-config" ,pkg-config)))
8090 (synopsis "Common code base for all Kiwix ports")
8091 (description "The Kiwix library provides the Kiwix software suite core.
8092 It contains the code shared by all Kiwix ports.")
8093 (license license:gpl3)))
8095 (define-public kiwix-desktop
8097 (name "kiwix-desktop")
8102 "https://download.kiwix.org/release/kiwix-desktop/kiwix-desktop-"
8107 "1a9h4qmh6fkfscyp6lax0ri07dvvzw2wp4kr1sm86n0bdk3cwwha"))))
8108 (build-system gnu-build-system)
8111 (modify-phases %standard-phases
8113 (lambda* (#:key outputs #:allow-other-keys)
8115 (string-append "PREFIX="
8116 (assoc-ref outputs "out")))))
8117 (add-before 'configure 'enable-print-support
8119 (substitute* "kiwix-desktop.pro"
8120 (("webenginewidgets") "webenginewidgets printsupport"))
8122 (add-before 'configure 'substitute-source
8123 ;; Looks like .pro file is missing a feature.
8124 ;; See https://github.com/kiwix/kiwix-desktop/issues/556.
8125 (lambda* (#:key inputs #:allow-other-keys)
8126 (substitute* "kiwix-desktop.pro"
8127 (("webenginewidgets" all) (string-append all " printsupport")))
8129 (add-after 'install 'wrap-qt-process-path
8130 (lambda* (#:key inputs outputs #:allow-other-keys)
8131 (let* ((out (assoc-ref outputs "out"))
8132 (bin (string-append out "/bin/kiwix-desktop"))
8133 (qt-process-path (string-append
8134 (assoc-ref inputs "qtwebengine")
8135 "/lib/qt5/libexec/QtWebEngineProcess")))
8137 `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
8142 ("kiwix-lib" ,kiwix-lib)
8143 ("libmicrohttpd" ,libmicrohttpd)
8145 ("pugixml" ,pugixml)
8146 ("qtbase" ,qtbase-5)
8147 ("qtdeclarative" ,qtdeclarative)
8148 ("qtwebchannel" ,qtwebchannel)
8149 ("qtwebengine" ,qtwebengine)
8152 ("zstd" ,zstd "lib")))
8154 `(("pkg-config" ,pkg-config)
8155 ("qmake" ,qtbase-5)))
8156 (home-page "https://wiki.kiwix.org/wiki/Software")
8157 (synopsis "Viewer and manager of ZIM files")
8158 (description "Kiwix Desktop allows you to enjoy a lot of different content
8159 offline (such as Wikipedia), without any access to Internet.")
8160 (license license:gpl3)))
8162 (define-public uriparser
8163 (let ((commit "25dddb16cf044a7df27884e7ad3911baaaca3d7c")
8167 (version (git-version "0.9.4" revision commit))
8171 (url "https://github.com/uriparser/uriparser")
8173 (file-name (git-file-name name version))
8176 "1ffzia679axcsccx2fxjpxhb0i5xc42zxn446x6c1170w6v69qf6"))))
8177 (build-system cmake-build-system)
8178 (native-inputs `(("gtest" ,googletest)
8179 ("doxygen" ,doxygen)
8180 ("graphviz" ,graphviz)))
8181 (synopsis "Strictly RFC 3986 compliant URI parsing and handling library")
8182 (description "uriparser is a strictly RFC 3986 compliant URI parsing and
8183 handling library written in C89 (\"ANSI C\"). uriparser is fast and supports
8185 (home-page "https://uriparser.github.io/")
8186 (license license:bsd-3))))
8188 (define-public quark
8190 (let ((revision "0")
8191 (commit "c6a9055e5a30be570e30da8d216c39662c3a3f99"))
8194 (version (git-version "0.0.0" revision commit))
8198 (url "https://git.suckless.org/quark/")
8200 (file-name (git-file-name name version))
8203 "1znvnr30xi5vgd6n3wvgv9pwj992zpzzjk0fmq28ydf1l6kqvkm7"))))
8204 (build-system gnu-build-system)
8206 `(#:tests? #f ; no tests
8208 (list (string-append "CC=" ,(cc-for-target))
8209 (string-append "PREFIX=" %output))
8211 (modify-phases %standard-phases
8212 (delete 'configure)))) ; no configure script
8213 (home-page "https://tools.suckless.org/quark/")
8214 (synopsis "Small and simple HTTP GET/HEAD-only web server for static
8216 (description "Quark is an extremely small and simple HTTP GET/HEAD only
8217 web server for static content. TLS is not natively supported and should be
8218 provided by a TLS reverse proxy (e.g. tlstunnel, hitch or stunnel).")
8219 (license license:isc)
8221 ;; XXX: Ignore this CVE to work around a name clash with the unrelated
8222 ;; "cpe:2.3:a:comelz:quark" package. The proper fix is for (guix cve)
8223 ;; to account for "vendor names".
8224 (properties '((lint-hidden-cve . ("CVE-2019-15520")))))))