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 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 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 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 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>
52 ;;; This file is part of GNU Guix.
54 ;;; GNU Guix is free software; you can redistribute it and/or modify it
55 ;;; under the terms of the GNU General Public License as published by
56 ;;; the Free Software Foundation; either version 3 of the License, or (at
57 ;;; your option) any later version.
59 ;;; GNU Guix is distributed in the hope that it will be useful, but
60 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
61 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
62 ;;; GNU General Public License for more details.
64 ;;; You should have received a copy of the GNU General Public License
65 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
67 (define-module (gnu packages web)
68 #:use-module (ice-9 match)
69 #:use-module ((guix licenses) #:prefix license:)
70 #:use-module (guix packages)
71 #:use-module (guix download)
72 #:use-module (guix gexp)
73 #:use-module (guix cvs-download)
74 #:use-module (guix hg-download)
75 #:use-module (guix git-download)
76 #:use-module (guix utils)
77 #:use-module (guix build-system ant)
78 #:use-module (guix build-system cargo)
79 #:use-module (guix build-system cmake)
80 #:use-module (guix build-system glib-or-gtk)
81 #:use-module (guix build-system gnu)
82 #:use-module (guix build-system go)
83 #:use-module (guix build-system meson)
84 #:use-module (guix build-system perl)
85 #:use-module (guix build-system python)
86 #:use-module (guix build-system qt)
87 #:use-module (guix build-system scons)
88 #:use-module (guix build-system trivial)
89 #:use-module (gnu packages)
90 #:use-module (gnu packages admin)
91 #:use-module (gnu packages adns)
92 #:use-module (gnu packages apr)
93 #:use-module (gnu packages autotools)
94 #:use-module (gnu packages base)
95 #:use-module (gnu packages bison)
96 #:use-module (gnu packages bittorrent)
97 #:use-module (gnu packages boost)
98 #:use-module (gnu packages check)
99 #:use-module (gnu packages compression)
100 #:use-module (gnu packages crates-gtk)
101 #:use-module (gnu packages crates-io)
102 #:use-module (gnu packages curl)
103 #:use-module (gnu packages cyrus-sasl)
104 #:use-module (gnu packages databases)
105 #:use-module (gnu packages docbook)
106 #:use-module (gnu packages documentation)
107 #:use-module (gnu packages emacs)
108 #:use-module (gnu packages emacs-xyz)
109 #:use-module (gnu packages flex)
110 #:use-module (gnu packages fontutils)
111 #:use-module (gnu packages freedesktop)
112 #:use-module (gnu packages gcc)
113 #:use-module (gnu packages gd)
114 #:use-module (gnu packages gettext)
115 #:use-module (gnu packages glib)
116 #:use-module (gnu packages gnome)
117 #:use-module (gnu packages gnu-doc)
118 #:use-module (gnu packages gnunet)
119 #:use-module (gnu packages gnupg)
120 #:use-module (gnu packages golang)
121 #:use-module (gnu packages gperf)
122 #:use-module (gnu packages graphviz)
123 #:use-module (gnu packages gtk)
124 #:use-module (gnu packages guile)
125 #:use-module (gnu packages guile-xyz)
126 #:use-module (gnu packages hurd)
127 #:use-module (gnu packages icu4c)
128 #:use-module (gnu packages image)
129 #:use-module (gnu packages java)
130 #:use-module (gnu packages jemalloc)
131 #:use-module (gnu packages imagemagick)
132 #:use-module (gnu packages kde)
133 #:use-module (gnu packages kerberos)
134 #:use-module (gnu packages libevent)
135 #:use-module (gnu packages libidn)
136 #:use-module (gnu packages libunistring)
137 #:use-module (gnu packages libunwind)
138 #:use-module (gnu packages linux)
139 #:use-module (gnu packages lisp-xyz)
140 #:use-module (gnu packages lsof)
141 #:use-module (gnu packages lua)
142 #:use-module (gnu packages mail)
143 #:use-module (gnu packages man)
144 #:use-module (gnu packages markup)
145 #:use-module (gnu packages ncurses)
146 #:use-module (gnu packages networking)
147 #:use-module (gnu packages nss)
148 #:use-module (gnu packages openldap)
149 #:use-module (gnu packages openstack)
150 #:use-module (gnu packages package-management)
151 #:use-module (gnu packages pcre)
152 #:use-module (gnu packages perl)
153 #:use-module (gnu packages perl-check)
154 #:use-module (gnu packages python)
155 #:use-module (gnu packages python-crypto)
156 #:use-module (gnu packages python-web)
157 #:use-module (gnu packages python-xyz)
158 #:use-module (gnu packages pkg-config)
159 #:use-module (gnu packages qt)
160 #:use-module (gnu packages re2c)
161 #:use-module (gnu packages readline)
162 #:use-module (gnu packages search)
163 #:use-module (gnu packages sphinx)
164 #:use-module (gnu packages texinfo)
165 #:use-module (gnu packages textutils)
166 #:use-module (gnu packages tls)
167 #:use-module (gnu packages valgrind)
168 #:use-module (gnu packages version-control)
169 #:use-module (gnu packages vim)
170 #:use-module (gnu packages xml)
171 #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
179 (uri (string-append "mirror://apache/httpd/httpd-"
183 "1sj1rwgbcjgkzac3ybjy7j68c9b3dv3ap71m48mrjhf6w7vds3kl"))))
184 (build-system gnu-build-system)
185 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
186 (inputs `(("apr" ,apr)
187 ("apr-util" ,apr-util)
189 ("perl" ,perl))) ; needed to run bin/apxs
191 `(#:test-target "test"
192 #:configure-flags (list "--enable-rewrite"
194 "--enable-vhost-alias"
196 "--enable-mime-magic"
197 (string-append "--sysconfdir="
198 (assoc-ref %outputs "out")
200 (synopsis "Featureful HTTP server")
202 "The Apache HTTP Server Project is a collaborative software development
203 effort aimed at creating a robust, commercial-grade, featureful, and
204 freely-available source code implementation of an HTTP (Web) server. The
205 project is jointly managed by a group of volunteers located around the world,
206 using the Internet and the Web to communicate, plan, and develop the server
207 and its related documentation.")
208 (license license:asl2.0)
209 (home-page "https://httpd.apache.org/")))
211 (define-public mod-wsgi
218 (url "https://github.com/GrahamDumpleton/mod_wsgi")
220 (file-name (git-file-name name version))
223 "1savh6h3qds20mwn1nqasmqzcp57pdhfc9v4b4k78d6q28y0r17s"))))
224 (build-system gnu-build-system)
226 '(#:tests? #f ; TODO: can't figure out if there are tests
228 (string-append "DESTDIR="
229 (assoc-ref %outputs "out"))
230 "LIBEXECDIR=/modules")))
233 ("python" ,python-wrapper)))
234 (synopsis "Apache HTTPD module for Python WSGI applications")
236 "The mod_wsgi module for the Apache HTTPD Server adds support for running
237 applications that support the Python @acronym{WSGI, Web Server Gateway
238 Interface} specification.")
239 (license license:asl2.0)
240 (home-page "https://modwsgi.readthedocs.io/")))
242 (define-public monolith
250 (url "https://github.com/Y2Z/monolith.git")
251 (commit (string-append "v" version))))
252 (file-name (git-file-name name version))
254 (base32 "18c6bsv9m3spiyfhqp08v807m93r6n9hrlv4qbfiqp4kw5aryb4h"))))
255 (build-system cargo-build-system)
258 (("rust-base64" ,rust-base64-0.13)
259 ("rust-chrono" ,rust-chrono-0.4)
260 ("rust-clap" ,rust-clap-2)
261 ("rust-cssparser" ,rust-cssparser-0.27)
262 ("rust-html5ever" ,rust-html5ever-0.24)
263 ("rust-regex" ,rust-regex-1)
264 ("rust-reqwest" ,rust-reqwest-0.10)
265 ("rust-sha2" ,rust-sha2-0.9)
266 ("rust-url" ,rust-url-2))
267 #:cargo-development-inputs
268 (("rust-assert-cmd" ,rust-assert-cmd-1)
269 ("rust-tempfile" ,rust-tempfile-3))))
271 `(("pkg-config" ,pkg-config)))
273 `(("openssl" ,openssl)))
274 (home-page "https://github.com/Y2Z/monolith")
275 (synopsis "Command line tool for saving web pages as a single HTML file")
277 "Monolith bundles any web page into a single HTML file.
279 Unlike conventional ``Save page as…'', Monolith not only saves the target
280 document, it embeds CSS, image, and JavaScript assets all at once, producing
281 a single HTML5 document.
283 If compared to saving websites with @samp{wget -mpk}, Monolith embeds
284 all assets as data URLs and therefore displays the saved page exactly
285 the same, being completely separated from the Internet.")
286 (license license:unlicense)))
291 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
292 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
293 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
294 ;; Consider updating the nginx-documentation package together with this one.
298 (uri (string-append "https://nginx.org/download/nginx-"
302 "1d9kzks8x1226prjbpdin4dz93fjnv304zlqybfqachx5fh9a4di"))))
303 (build-system gnu-build-system)
304 (inputs `(("openssl" ,openssl)
308 `(#:tests? #f ; no test target
310 (modify-phases %standard-phases
311 (add-before 'configure 'patch-/bin/sh
313 (substitute* "auto/feature"
314 (("/bin/sh") (which "sh")))
317 ;; The configure script is hand-written, not from GNU autotools.
318 (lambda* (#:key configure-flags outputs #:allow-other-keys)
320 (append (list (string-append "--prefix=" (assoc-ref outputs "out"))
321 "--with-http_ssl_module"
322 "--with-http_v2_module"
325 ;; Even when not cross-building, we pass the
326 ;; --crossbuild option to avoid customizing for the
327 ;; kernel version on the build machine.
328 ,(let ((system "Linux") ; uname -s
329 (release "3.2.0") ; uname -r
331 (machine (match (or (%current-target-system)
333 ("x86_64-linux" "x86_64")
334 ("i686-linux" "i686")
335 ("mips64el-linux" "mips64")
336 ;; Prevent errors when querying
337 ;; this package on unsupported
338 ;; platforms, e.g. when running
339 ;; "guix package --search="
341 (string-append "--crossbuild="
342 system ":" release ":" machine)))
345 (format #t "configure flags: ~s~%" flags)
346 (apply invoke "./configure" flags)
348 (add-after 'install 'install-man-page
349 (lambda* (#:key outputs #:allow-other-keys)
350 (let* ((out (assoc-ref outputs "out"))
351 (man (string-append out "/share/man")))
352 (install-file "objs/nginx.8" (string-append man "/man8"))
354 (add-after 'install 'fix-root-dirs
355 (lambda* (#:key outputs #:allow-other-keys)
356 ;; 'make install' puts things in strange places, so we need to
357 ;; clean it up ourselves.
358 (let* ((out (assoc-ref outputs "out"))
359 (share (string-append out "/share/nginx")))
360 ;; This directory is empty, so get rid of it.
361 (rmdir (string-append out "/logs"))
362 ;; Example configuration and HTML files belong in
365 (rename-file (string-append out "/conf")
366 (string-append share "/conf"))
367 (rename-file (string-append out "/html")
368 (string-append share "/html"))
370 (home-page "https://nginx.org")
371 (synopsis "HTTP and reverse proxy server")
373 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
374 created by Igor Sysoev. It can be used both as a stand-alone web server
375 and as a proxy to reduce the load on back-end HTTP or mail servers.")
376 ;; Almost all of nginx is distributed under the bsd-2 license.
377 ;; The exceptions are:
378 ;; * The 'nginx-http-push' module is covered by the expat license.
379 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
380 ;; except for two source files which are bsd-4 licensed.
381 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
383 (define-public nginx-documentation
384 ;; This documentation should be relevant for the current nginx package.
385 (let ((version "1.19.6")
387 (changeset "a0824dab33ff"))
389 (name "nginx-documentation")
390 (version (simple-format #f "~A-~A-~A" version revision changeset))
392 (origin (method hg-fetch)
394 (url "http://hg.nginx.org/nginx.org")
395 (changeset changeset)))
396 (file-name (string-append name "-" version))
399 "06w6fg33pnkqpaagzp9rqizill61vj7db7083mrd6i6by0j7cp1b"))))
400 (build-system gnu-build-system)
402 '(#:tests? #f ; no test suite
404 (modify-phases %standard-phases
405 (delete 'configure) ; no configure script
407 (lambda* (#:key outputs #:allow-other-keys)
408 (let ((output (assoc-ref outputs "out")))
409 (substitute* "umasked.sh"
410 ((" /bin/sh") (string-append " " (which "sh"))))
411 ;; The documentation includes a banner, which makes sense on
412 ;; the NGinx website, but doesn't make much sense when
413 ;; viewing locally. Therefore, modify the CSS to remove the
415 (substitute* "xslt/style.xslt"
416 (("#banner \\{ background: black;")
417 "#banner { display: none;"))
421 (lambda* (#:key outputs #:allow-other-keys)
422 (let ((output (assoc-ref outputs "out")))
424 (copy-recursively "libxslt" output)
427 `(("libxml2" ,libxml2)
429 ("nginx-xslscript" ,nginx-xslscript)))
430 (home-page "https://nginx.org")
431 (synopsis "Documentation for the nginx web server")
433 "This package provides HTML documentation for the nginx web server.")
434 (license license:bsd-2))))
436 (define-public nginx-accept-language-module
437 ;; Upstream has never made a release; use current commit instead.
438 (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
441 (name "nginx-accept-language-module")
442 (version (git-version "0.0.0" ;upstream has no version number
448 (url "https://github.com/giom/nginx_accept_language_module")
450 (file-name (git-file-name name version))
452 (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
453 (build-system gnu-build-system)
454 (inputs `(("openssl" ,openssl)
456 ("nginx-sources" ,(package-source nginx))
459 `(#:tests? #f ; no test target
460 #:make-flags (list "modules")
461 #:modules ((guix build utils)
462 (guix build gnu-build-system)
465 (ice-9 textual-ports))
467 (modify-phases %standard-phases
468 (add-after 'unpack 'unpack-nginx-sources
469 (lambda* (#:key inputs native-inputs #:allow-other-keys)
471 ;; The nginx source code is part of the module’s source.
472 (format #t "decompressing nginx source code~%")
473 (let ((tar (assoc-ref inputs "tar"))
474 (nginx-srcs (assoc-ref inputs "nginx-sources")))
475 (invoke (string-append tar "/bin/tar")
476 "xvf" nginx-srcs "--strip-components=1"))
478 (add-after 'unpack 'convert-to-dynamic-module
481 (with-atomic-file-replacement "config"
483 ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
484 (format out "ngx_module_type=HTTP~%")
485 (format out "ngx_module_name=\
486 ngx_http_accept_language_module~%")
487 (let* ((str (get-string-all in))
489 "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
490 (m (regexp-exec rx str))
491 (srcs (match:substring m 1)))
492 (format out (string-append "ngx_module_srcs=\""
494 (format out ". auto/module~%")
495 (format out "ngx_addon_name=$ngx_module_name~%"))))))
496 (add-before 'configure 'patch-/bin/sh
498 (substitute* "auto/feature"
499 (("/bin/sh") (which "sh")))
502 ;; This phase is largely copied from the nginx package.
503 (lambda* (#:key outputs #:allow-other-keys)
505 (list ;; A copy of nginx’ flags follows, otherwise we
506 ;; get a binary compatibility error. FIXME: Code
507 ;; duplication is bad.
508 (string-append "--prefix=" (assoc-ref outputs "out"))
509 "--with-http_ssl_module"
510 "--with-http_v2_module"
513 ;; Even when not cross-building, we pass the
514 ;; --crossbuild option to avoid customizing for the
515 ;; kernel version on the build machine.
516 ,(let ((system "Linux") ; uname -s
517 (release "3.2.0") ; uname -r
519 (machine (match (or (%current-target-system)
521 ("x86_64-linux" "x86_64")
522 ("i686-linux" "i686")
523 ("mips64el-linux" "mips64")
524 ;; Prevent errors when querying
525 ;; this package on unsupported
526 ;; platforms, e.g. when running
527 ;; "guix package --search="
529 (string-append "--crossbuild="
530 system ":" release ":" machine))
531 ;; The following are the args decribed on
532 ;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
533 ;; Enabling --with-compat here and in the nginx package
534 ;; would ensure binary compatibility even when using
535 ;; different configure options from the main nginx
536 ;; package. This is not needed for Guix.
538 "--add-dynamic-module=.")))
540 (format #t "environment variable `CC' set to `gcc'~%")
541 (format #t "configure flags: ~s~%" flags)
542 (apply invoke "./configure" flags)
545 (lambda* (#:key outputs #:allow-other-keys)
546 (let* ((out (assoc-ref outputs "out"))
547 (modules-dir (string-append out "/etc/nginx/modules"))
548 (doc-dir (string-append
549 out "/share/doc/nginx-accept-language-module")))
550 (mkdir-p modules-dir)
551 (copy-file "objs/ngx_http_accept_language_module.so"
553 modules-dir "/ngx_http_accept_language_module.so"))
555 (copy-file "README.textile"
556 (string-append doc-dir "/README.textile"))
559 "https://www.nginx.com/resources/wiki/modules/accept_language/")
560 (synopsis "Nginx module for parsing the Accept-Language HTTP header")
562 "This nginx module parses the Accept-Language field in HTTP headers and
563 chooses the most suitable locale for the user from the list of locales
564 supported at your website.")
565 (license (delete-duplicates
566 (cons license:bsd-2 ;license of nginx-accept-language-module
567 ;; The module’s code is linked statically with nginx,
568 ;; therefore nginx’ other licenses may also apply to its
570 (package-license nginx)))))))
572 (define nginx-xslscript
574 (changeset "01dc9ba12e1b"))
576 (name "nginx-xslscript")
578 (simple-format #f "2014-03-31-~A-~A" revision changeset))
582 (url "http://hg.nginx.org/xslscript")
583 (changeset changeset)))
584 (file-name (string-append name "-" version))
587 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
588 (build-system gnu-build-system)
590 '(#:tests? #f ; No test suite
592 (modify-phases %standard-phases
596 (lambda* (#:key outputs #:allow-other-keys)
597 (let ((out-bin (string-append
598 (assoc-ref outputs "out")
601 (copy-file "xslscript.pl"
606 (home-page "http://hg.nginx.org/xslscript")
607 (synopsis "XSLScript with NGinx specific modifications")
609 "XSLScript is a terse notation for writing complex XSLT stylesheets.
610 This is modified version, specifically intended for use with the NGinx
612 (license license:bsd-2))))
614 (define nginx-socket-cloexec
617 (name "nginx-socket-cloexec") ;required for lua-resty-shell
620 (inherit (package-source nginx))
621 (patches (append (search-patches "nginx-socket-cloexec.patch")
622 (origin-patches (package-source nginx))))))))
624 (define-public nginx-lua-module
627 (name "nginx-lua-module")
633 (url "https://github.com/openresty/lua-nginx-module")
634 (commit (string-append "v" version))))
635 (file-name (git-file-name "lua-nginx-module" version))
637 (base32 "0nwcbqm1visg1dkxav7qa16w0d0n8cgqn4881xiqn88xfkxj0dyg"))))
638 (build-system gnu-build-system)
640 `(("nginx-sources" ,(package-source nginx-socket-cloexec))
642 ,@(package-inputs nginx)))
644 (substitute-keyword-arguments
645 `(#:configure-flags '("--add-dynamic-module=.")
646 #:make-flags '("modules")
647 #:modules ((guix build utils)
648 (guix build gnu-build-system)
651 (ice-9 textual-ports))
652 ,@(package-arguments nginx))
654 `(modify-phases ,phases
655 (add-after 'unpack 'unpack-nginx-sources
656 (lambda* (#:key inputs native-inputs #:allow-other-keys)
658 ;; The nginx source code is part of the module’s source.
659 (format #t "decompressing nginx source code~%")
660 (let ((tar (assoc-ref inputs "tar"))
661 (nginx-srcs (assoc-ref inputs "nginx-sources")))
662 (invoke (string-append tar "/bin/tar")
663 "xvf" nginx-srcs "--strip-components=1"))
665 (add-before 'configure 'set-luajit-env
666 (lambda* (#:key inputs #:allow-other-keys)
667 (let ((luajit (assoc-ref inputs "luajit")))
669 (string-append luajit "/lib"))
671 (string-append luajit "/include/luajit-2.1"))
674 (lambda* (#:key outputs #:allow-other-keys)
675 (let ((modules-dir (string-append (assoc-ref outputs "out")
676 "/etc/nginx/modules")))
677 (install-file "objs/ngx_http_lua_module.so" modules-dir)
679 (delete 'fix-root-dirs)
680 (delete 'install-man-page)))))
681 (synopsis "NGINX module for Lua programming language support")
682 (description "This NGINX module provides a scripting support with Lua
683 programming language.")))
685 (define-public lighttpd
691 (uri (string-append "https://download.lighttpd.net/lighttpd/"
692 "releases-" (version-major+minor version) ".x/"
693 "lighttpd-" version ".tar.xz"))
696 "1mc421yrbnq3k6yrc708svp0fgcamrn5a0p2nvnhivysffr3v5gv"))))
697 (build-system gnu-build-system)
708 (modify-phases %standard-phases
709 (add-after 'unpack 'embed-/bin/sh-reference
711 (substitute* "src/mod_ssi.c"
712 (("/bin/sh") (which "sh")))
714 (add-after 'unpack 'fix-tests
716 (setenv "SHELL" (which "sh"))
717 ;; gethostbyaddr fails
718 (substitute* "tests/LightyTest.pm"
719 (("\\{HOSTNAME\\} = \\$name;")
720 "{HOSTNAME} = \"127.0.0.1\";"))
723 `(("cyrus-sasl" ,cyrus-sasl)
725 ("libunwind" ,libunwind)
726 ("linux-pam" ,linux-pam)
727 ("mit-krb5" ,mit-krb5)
728 ("openldap" ,openldap)
731 ("pcre:bin" ,pcre "bin")
734 `(("perl" ,perl) ; for tests
735 ("pkg-config" ,pkg-config)
737 (home-page "https://www.lighttpd.net/")
738 (synopsis "Lightweight HTTP and reverse proxy server")
740 "Lighttpd is a secure, fast, compliant, and very flexible web-server that
741 has been optimized for high-performance environments. It has a very low
742 memory footprint compared to other webservers. Its features include FastCGI,
743 CGI, authentication, output compression, URL rewriting and many more.")
744 (license license:bsd-3)))
753 ;; Upstream has disappeared.
755 (url "https://github.com/FastCGI-Archives/fcgi2")
757 (file-name (git-file-name name version))
759 (base32 "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"))))
760 (build-system gnu-build-system)
761 ;; Parallel building is not supported.
762 (arguments `(#:parallel-build? #f))
764 `(("autoconf" ,autoconf)
765 ("automake" ,automake)
766 ("libtool" ,libtool)))
767 ;; This is an archived fork of the original home page, www.fastcgi.com.
768 (home-page "https://fastcgi-archives.github.io/")
769 (synopsis "Language-independent, high-performant extension to CGI")
770 (description "FastCGI is a language-independent, scalable extension to CGI
771 that provides high performance without the limitations of server specific
773 ;; This package is released under the Open Market License, a variant of
774 ;; the Expat license, incompatible with the GPL.
775 (license (license:non-copyleft "file://LICENSE.TERMS"))))
777 (define-public fcgiwrap
785 (url "https://github.com/gnosek/fcgiwrap")
787 (file-name (git-file-name name version))
789 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
790 (build-system gnu-build-system)
792 `(#:tests? #f ; no tests included
793 #:make-flags (list "CC=gcc")
795 (modify-phases %standard-phases
796 (add-after 'unpack 'fix-CFLAGS
797 ;; Remove broken options unconditionally added to CFLAGS.
799 (substitute* "configure.ac"
803 `(("autoconf" ,autoconf)
804 ("automake" ,automake)
805 ("pkg-config" ,pkg-config)))
808 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
809 (synopsis "Simple server for running CGI applications over FastCGI")
810 (description "Fcgiwrap is a simple server for running CGI applications
811 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
812 servers that may need it).")
813 (license license:expat)))
815 (define-public starman
822 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
823 "Starman-" version ".tar.gz"))
825 (base32 "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h"))))
826 (build-system perl-build-system)
828 `(("perl-libwww" ,perl-libwww)
829 ("perl-module-build-tiny" ,perl-module-build-tiny)
830 ("perl-test-requires" ,perl-test-requires)))
832 `(("perl-data-dump" ,perl-data-dump)
833 ("perl-http-date" ,perl-http-date)
834 ("perl-http-message" ,perl-http-message)
835 ("perl-http-parser-xs" ,perl-http-parser-xs)
836 ("perl-net-server" ,perl-net-server)
837 ("perl-plack" ,perl-plack)
838 ("perl-test-tcp" ,perl-test-tcp)))
839 (home-page "https://metacpan.org/release/Starman")
840 (synopsis "PSGI/Plack web server")
841 (description "Starman is a PSGI perl web server that has unique features
842 such as high performance, preforking, signal support, superdaemon awareness,
843 and UNIX socket support.")
844 (license license:perl-license)))
846 (define-public icedtea-web
853 "http://icedtea.wildebeest.org/download/source/"
854 name "-" version ".tar.gz"))
857 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
858 (build-system gnu-build-system)
861 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
862 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
864 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
865 (outputs '("out" "doc"))
867 `(("pkg-config" ,pkg-config)
871 ("jdk" ,icedtea "jdk")))
872 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
873 (synopsis "Java Web Start")
875 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
876 Protocol}, also known as Java Web Start. This package provides tools and
877 libraries for working with JNLP applets.")
878 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
880 (license license:gpl2+)))
882 (define-public jansson
889 (string-append "http://www.digip.org/jansson/releases/jansson-"
893 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
894 (build-system gnu-build-system)
896 `(#:configure-flags '("--disable-static")))
897 (home-page "http://www.digip.org/jansson/")
898 (synopsis "JSON C library")
900 "Jansson is a C library for encoding, decoding and manipulating JSON
902 (license license:expat)))
904 (define-public json-c
911 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
915 "0w381krr99q5a2rypx4g437fa7gzgl82i64sgnrs6g5jr44dwxxk"))
916 (patches (search-patches "json-c-CVE-2020-12762.patch"))))
917 (build-system cmake-build-system)
918 (home-page "https://github.com/json-c/json-c/wiki")
919 (synopsis "JSON implementation in C")
921 "JSON-C implements a reference counting object model that allows you to
922 easily construct JSON objects in C, output them as JSON-formatted strings and
923 parse JSON-formatted strings back into the C representation of JSON objects.
924 It aims to conform to RFC 7159.")
925 (license license:x11)))
927 ;; TODO: Remove these old versions when all dependents have been updated.
928 (define-public json-c-0.13
935 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
938 (base32 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
939 (patches (search-patches "json-c-0.13-CVE-2020-12762.patch"))
940 (modules '((guix build utils)))
943 ;; Somehow 'config.h.in' is older than
944 ;; 'aclocal.m4', which would trigger a rule to
946 (set-file-time "config.h.in"
949 (build-system gnu-build-system)))
951 (define-public json-c-0.12
953 (inherit json-c-0.13)
958 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
961 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
962 (patches (search-patches "json-c-0.12-CVE-2020-12762.patch"))
963 (modules '((guix build utils)))
966 ;; Somehow 'config.h.in' is older than
967 ;; 'aclocal.m4', which would trigger a rule to
969 (set-file-time "config.h.in"
972 ;; Don't try to build with -Werror.
973 (substitute* (find-files "." "Makefile\\.in")
977 (define-public json-parser
982 ;; do not use auto-generated tarballs
985 (url "https://github.com/udp/json-parser")
986 (commit (string-append "v" version))))
987 (file-name (git-file-name name version))
990 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
991 ;; FIXME: we should build the python bindings in a separate package
992 (build-system gnu-build-system)
993 ;; the tests are written for the python bindings which are not built here
994 (arguments '(#:tests? #f))
995 (home-page "https://github.com/udp/json-parser")
996 (synopsis "JSON parser written in ANSI C")
997 (description "This package provides a very low footprint JSON parser
998 written in portable ANSI C.
1001 @item BSD licensed with no dependencies (i.e. just drop the C file into your
1003 @item Never recurses or allocates more memory than it needs
1004 @item Very simple API with operator sugar for C++
1006 (license license:bsd-2)))
1008 (define-public qjson
1015 (url "https://github.com/flavio/qjson")
1017 (file-name (git-file-name name version))
1020 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
1021 (build-system cmake-build-system)
1023 ;; The tests require a running X server.
1024 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
1025 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
1027 (modify-phases %standard-phases
1028 (add-after 'unpack 'disable-broken-test
1030 ;; FIXME: One test fails. See
1031 ;; https://github.com/flavio/qjson/issues/105
1032 (substitute* "tests/scanner/testscanner.cpp"
1033 (("QTest::newRow\\(\"too large exponential\"\\)" line)
1034 (string-append "//" line)))
1036 (add-before 'check 'render-offscreen
1037 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
1039 `(("qtbase" ,qtbase)))
1040 (home-page "http://qjson.sourceforge.net")
1041 (synopsis "Library that maps JSON data to QVariant objects")
1042 (description "QJson is a Qt-based library that maps JSON data to
1043 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
1044 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
1045 ;; Only version 2.1 of the license
1046 (license license:lgpl2.1)))
1048 (define-public qoauth
1055 (url "https://github.com/ayoy/qoauth")
1056 (commit (string-append "v" version))))
1057 (file-name (git-file-name name version))
1060 "1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3"))))
1061 (build-system gnu-build-system)
1064 ("qtbase" ,qtbase)))
1066 '(#:tests? #f ;FIXME: some tests are failing
1068 (modify-phases %standard-phases
1069 (add-after 'unpack 'patch-code
1071 (make-file-writable "src/qoauth.pc")
1072 (substitute* "src/src.pro"
1073 (("/lib64") "/lib"))
1075 (add-after 'unpack 'adjust-mkspecs-directory
1076 (lambda* (#:key outputs #:allow-other-keys)
1077 (substitute* "src/src.pro"
1078 ;; Do not attempt to install the .prf file into qtbase
1079 ;; "lib/qt5/mkspecs/features", ref <https://bugs.gnu.org/45031>.
1080 (("\\$\\$\\[QMAKE_MKSPECS\\]")
1081 (string-append (assoc-ref outputs "out") "/lib/qt5/mkspecs")))
1084 (lambda* (#:key inputs #:allow-other-keys)
1085 (let ((qca (assoc-ref inputs "qca")))
1088 (string-append "PREFIX=" (assoc-ref %outputs "out"))
1089 (string-append "QMAKE_INCDIR+=" qca "/include/Qca-qt5/QtCrypto")
1090 (string-append "LIBS+=-L" qca "/lib")
1091 (string-append "LIBS+=-lqca-qt5"))))))))
1092 (home-page "https://github.com/ayoy/qoauth")
1093 (synopsis "Qt-based C++ library for OAuth authorization scheme")
1094 (description "QOAuth is an attempt to support interaction with
1095 OAuth-powered network services in a Qt way, i.e. simply, clearly and
1096 efficiently. It gives the application developer no more than 4 methods.")
1097 (license license:lgpl2.1+)))
1099 (define-public krona-tools
1101 (name "krona-tools")
1106 "https://github.com/marbl/Krona/releases/download/v"
1107 version "/KronaTools-" version ".tar"))
1110 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
1111 (build-system perl-build-system)
1114 (modify-phases %standard-phases
1115 ;; There is no configure or build steps.
1118 ;; Install script "install.pl" expects the build directory to remain
1119 ;; after installation, creating symlinks etc., so re-implement it
1122 (lambda* (#:key outputs #:allow-other-keys)
1123 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
1124 (perl (string-append (assoc-ref outputs "out")
1125 "/lib/perl5/site_perl/krona-tools/lib")))
1129 (let* ((executable (string-append "scripts/" script ".pl")))
1130 ;; Prefix executables with 'kt' as install script does.
1131 (copy-file executable (string-append bin "/kt" script))))
1133 "GetContigMagnitudes"
1143 "ImportMETAREP-BLAST"
1148 "ImportRDPComparison"
1154 (copy-recursively directory
1155 (string-append perl "/../" directory)))
1156 (list "data" "img" "taxonomy" "src"))
1157 (install-file "lib/KronaTools.pm" perl))))
1158 (add-after 'install 'wrap-program
1159 (lambda* (#:key inputs outputs #:allow-other-keys)
1160 (let* ((out (assoc-ref outputs "out"))
1161 (path (getenv "PERL5LIB")))
1163 (lambda (executable)
1164 (wrap-program executable
1165 `("PERL5LIB" ":" prefix
1166 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
1167 (find-files (string-append out "/bin/") ".*")))))
1169 (add-after 'wrap-program 'check
1170 (lambda* (#:key inputs outputs #:allow-other-keys)
1171 (with-directory-excursion "data"
1172 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
1176 (home-page "https://github.com/marbl/Krona/wiki")
1177 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
1179 "Krona is a flexible tool for exploring the relative proportions of
1180 hierarchical data, such as metagenomic classifications, using a radial,
1181 space-filling display. It is implemented using HTML5 and JavaScript, allowing
1182 charts to be explored locally or served over the Internet, requiring only a
1183 current version of any major web browser.")
1184 (license license:bsd-3)))
1186 (define-public rapidjson
1193 (url "https://github.com/Tencent/rapidjson")
1194 (commit (string-append "v" version))))
1195 (file-name (git-file-name name version))
1198 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
1199 (patches (search-patches "rapidjson-gcc-compat.patch"))
1200 (modules '((guix build utils)))
1203 ;; Remove code using the problematic JSON license (see
1204 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
1205 (delete-file-recursively "bin/jsonchecker")
1207 (build-system cmake-build-system)
1209 (if (string-prefix? "aarch64" (or (%current-target-system)
1212 (modify-phases %standard-phases
1213 (add-after 'unpack 'patch-aarch-march-detection
1215 (substitute* (find-files "." "^CMakeLists\\.txt$")
1216 (("native") "armv8-a"))
1218 ;; Disable CPU optimization for reproducibility.
1219 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
1220 (home-page "https://github.com/Tencent/rapidjson")
1221 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
1223 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
1225 (license license:expat)))
1227 (define-public libyajl
1234 (url "https://github.com/lloyd/yajl")
1236 (file-name (git-file-name name version))
1239 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
1240 (build-system cmake-build-system)
1243 (modify-phases %standard-phases
1244 (add-after 'patch-source-shebangs 'patch-tests
1246 (substitute* "test/parsing/run_tests.sh"
1247 (("`which echo`") (which "echo")))
1249 (home-page "https://lloyd.github.io/yajl/")
1250 (synopsis "C library for parsing JSON")
1252 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
1253 parser written in ANSI C and a small validating JSON generator.")
1254 (license license:isc)))
1256 (define-public libwebsockets
1258 (name "libwebsockets")
1261 ;; The project does not publish tarballs, so we have to take
1265 (url "https://github.com/warmcat/libwebsockets")
1266 (commit (string-append "v" version
1267 "-chrome37-firefox30"))))
1270 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
1271 (file-name (string-append name "-" version))))
1273 (build-system cmake-build-system)
1275 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
1276 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
1279 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
1280 (inputs `(("zlib" ,zlib)
1281 ("openssl" ,openssl)))
1282 (synopsis "WebSockets library written in C")
1284 "Libwebsockets is a library that allows C programs to establish client
1285 and server WebSockets connections---a protocol layered above HTTP that allows
1286 for efficient socket-like bidirectional reliable communication channels.")
1287 (home-page "https://libwebsockets.org")
1289 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
1290 (license license:lgpl2.1)))
1300 (url "https://github.com/WebAssembly/wabt")
1302 (file-name (git-file-name name version))
1304 (base32 "1zlv3740wkqj4mn6sr84h0x6wk2lcp4pwwmqsh5yyqp1j1glbsa0"))))
1305 (build-system cmake-build-system)
1307 `(#:configure-flags '("-DBUILD_TESTS=OFF")
1309 (inputs `(("python" ,python-2)
1311 (home-page "https://github.com/WebAssembly/wabt")
1312 (synopsis "WebAssembly Binary Toolkit")
1313 (description "WABT (pronounced: wabbit) is a suite of tools for
1314 WebAssembly, including:
1317 @item @command{wat2wasm} translates from WebAssembly text format to the
1318 WebAssembly binary format
1319 @item @command{wasm2wat} is the inverse; it translates from the binary format
1320 back to the text format (also known as a .wat)
1321 @item @command{wasm-objdump} prints information about a wasm binary, similarly
1322 to @command{objdump}.
1323 @item @command{wasm-interp} decodes ands run a WebAssembly binary file using a
1324 stack-based interpreter
1325 @item @command{wat-desugar} parses .wat text form as supported by the spec
1326 interpreter (s-expressions, flat syntax, or mixed) and prints the canonical
1328 @item @command{wasm2c} converts a WebAssembly binary file to a C source and
1332 These tools are intended for use in (or for development of) toolchains or
1333 other systems that want to manipulate WebAssembly files.")
1334 (license license:asl2.0)))
1336 (define-public websocketpp
1338 (name "websocketpp")
1344 (url "https://github.com/zaphoyd/websocketpp")
1346 (file-name (git-file-name name version))
1348 (base32 "1ww4fhl8qf12hkv6jaild8zzsygdspxm1gqpk2f63gv1xfi31wpm"))
1349 (patches (search-patches "websocketpp-fix-for-cmake-3.15.patch"))))
1350 (build-system cmake-build-system)
1351 (inputs `(("boost" ,boost)
1352 ("openssl" ,openssl)))
1353 (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
1355 (modify-phases %standard-phases
1356 (add-after 'install 'remove-tests
1357 (lambda* (#:key outputs #:allow-other-keys)
1358 (let* ((install-dir (assoc-ref outputs "out"))
1359 (bin-dir (string-append install-dir "/bin")))
1360 (delete-file-recursively bin-dir)
1362 (home-page "https://www.zaphoyd.com/websocketpp/")
1363 (synopsis "C++ library implementing the WebSocket protocol")
1364 (description "WebSocket++ is a C++ library that can be used to implement
1365 WebSocket functionality. The goals of the project are to provide a WebSocket
1366 implementation that is simple, portable, flexible, lightweight, low level, and
1368 (license license:bsd-3)))
1370 (define-public wslay
1378 (url "https://github.com/tatsuhiro-t/wslay")
1379 (commit (string-append "release-" version))))
1380 (file-name (git-file-name name version))
1382 (base32 "1w32iljg4inqf0712w5fxxhggvmjh6ipl2lnz0h36dv1xrj0d964"))))
1383 (build-system gnu-build-system)
1385 ;; Parallel builds don't reliably succeed.
1386 `(#:parallel-build? #f))
1388 `(("autoconf" ,autoconf)
1389 ("automake" ,automake)
1390 ("cunit" ,cunit) ; for tests
1391 ("libtool" ,libtool)
1392 ("pkg-config" ,pkg-config)
1393 ("python-sphinx" ,python-sphinx)))
1394 (home-page "https://tatsuhiro-t.github.io/wslay/")
1395 (synopsis "C WebSocket library")
1396 (description "@code{Wslay} is an event-based C library for the WebSocket
1397 protocol version 13, described in RFC 6455. Besides a high-level API it
1398 provides callbacks for sending and receiving frames directly. @code{Wslay}
1399 only supports the data transfer part of WebSocket protocol and does not
1400 perform the opening handshake in HTTP.")
1401 (license license:expat)))
1403 (define-public libpsl
1409 (uri (string-append "https://github.com/rockdaboot/libpsl/"
1410 "releases/download/" version
1411 "/libpsl-" version ".tar.gz"))
1414 "0k0d46bbh1jj2ll369f134vciplrzbqkg7fv9m62bl6lzghy2v5c"))))
1415 (build-system gnu-build-system)
1417 `(("pkg-config" ,pkg-config)
1420 ("python" ,python-wrapper)))
1422 `(("libidn2" ,libidn2)
1423 ("libunistring" ,libunistring)))
1424 (home-page "https://github.com/rockdaboot/libpsl")
1425 (synopsis "C library for the Publix Suffix List")
1427 "A \"public suffix\" is a domain name under which Internet users can
1428 directly register own names.
1430 Browsers and other web clients can use it to avoid privacy-leaking
1431 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
1432 highlighting parts of the domain in a user interface, and sorting domain lists
1435 Libpsl has built-in PSL data for fast access, allowing to load PSL data from
1436 files, checks if a given domain is a public suffix, provides immediate cookie
1437 domain verification, finds the longest public part of a given domain, finds
1438 the shortest private part of a given domain, works with international
1439 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
1441 (license license:x11)))
1446 (version "20091223")
1451 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
1453 (revision "2009-12-23")))
1454 (file-name (string-append name "-" version "-checkout"))
1457 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
1458 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
1459 (build-system gnu-build-system)
1461 '(#:phases (modify-phases %standard-phases
1463 (lambda* (#:key inputs #:allow-other-keys)
1464 ;; configure.in and Makefile.am aren't in the root of the
1466 (copy-recursively "build/gnuauto" ".")
1467 (setenv "AUTOMAKE" "automake --foreign")
1468 (invoke "autoreconf" "-vfi"))))))
1470 `(("automake" ,automake)
1471 ("autoconf" ,autoconf)
1472 ("libtool" ,libtool)))
1473 (synopsis "HTML validator and tidier")
1474 (description "HTML Tidy is a command-line tool and C library that can be
1475 used to validate and fix HTML data.")
1476 (home-page "http://tidy.sourceforge.net/")
1477 (license (license:x11-style "file:///include/tidy.h"))))
1479 (define-public esbuild
1487 (url "https://github.com/evanw/esbuild")
1488 (commit (string-append "v" version))))
1489 (file-name (git-file-name name version))
1491 (base32 "1j4qza2chng3az1h1fh9zbhxh99q7bfrqbgppyyq5947svi8fvaz"))
1492 (modules '((guix build utils)))
1495 ;; Remove prebuilt binaries
1496 (delete-file-recursively "npm")
1498 (build-system go-build-system)
1500 '(#:import-path "github.com/evanw/esbuild/cmd/esbuild"
1501 #:unpack-path "github.com/evanw/esbuild"
1503 (modify-phases %standard-phases
1505 (lambda* (#:key tests? unpack-path #:allow-other-keys)
1507 (with-directory-excursion (string-append "src/" unpack-path)
1508 (invoke "make" "test-go")))
1511 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1513 `(("github.com/kylelemons/godebug" ,go-github-com-kylelemons-godebug)))
1514 (home-page "https://esbuild.github.io/")
1515 (synopsis "Bundler and minifier tool for JavaScript and TypeScript")
1517 "The esbuild tool provides a unified bundler, transpiler and
1518 minifier. It packages up JavaScript and TypeScript code, along with JSON
1519 and other data, for distribution on the web.")
1520 (license license:expat)))
1522 (define-public tinyproxy
1528 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1529 "releases/download/" version "/tinyproxy-"
1533 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
1534 (build-system gnu-build-system)
1538 ;; For the log file, etc.
1539 "--localstatedir=/var")
1541 (modify-phases %standard-phases
1542 (add-before 'build 'pre-build
1543 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1544 ;; Uncommenting the next two lines may assist in debugging
1545 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1546 ;; (setenv "XML_DEBUG_CATALOG" "1")
1548 (home-page "https://tinyproxy.github.io/")
1549 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1550 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1551 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1552 solution for use cases such as embedded deployments where a full featured HTTP
1553 proxy is required, but the system resources for a larger proxy are
1555 (license license:gpl2+)))
1557 (define-public polipo
1565 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1569 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1570 (native-inputs `(("texinfo" ,texinfo)))
1571 (build-system gnu-build-system)
1573 `(#:phases (modify-phases %standard-phases
1574 (delete 'configure))
1575 #:make-flags (let ((out (assoc-ref %outputs "out")))
1576 (list (string-append "PREFIX=" out)
1577 (string-append "LOCAL_ROOT="
1578 out "/share/polipo/www")
1580 ;; No 'check' target.
1582 (home-page "https://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1583 (synopsis "Small caching web proxy")
1585 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1586 server). It was primarily designed to be used by one person or a small group
1588 (license license:expat)))
1590 (define-public websockify
1597 (url "https://github.com/novnc/websockify")
1598 (commit (string-append "v" version))))
1599 (file-name (git-file-name name version))
1602 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1603 (build-system python-build-system)
1605 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1606 ; named 'stubout'". The tests can be run by replacing the check phase with
1607 ; the command "python setup.py nosetests --verbosity=3".
1608 (native-inputs `(; Required for tests:
1609 ("python-mox3" ,python-mox3)
1610 ("python-nose" ,python-nose)))
1611 (propagated-inputs `(("python-numpy" ,python-numpy)))
1612 (home-page "https://github.com/novnc/websockify")
1613 (synopsis "WebSockets support for any application/server")
1614 (description "Websockify translates WebSockets traffic to normal socket
1615 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1616 begins forwarding traffic between the client and the target in both
1618 (license license:lgpl3)))
1620 (define-public wwwoffle
1626 (uri (string-append "https://www.gedanken.org.uk/software/"
1627 "wwwoffle/download/wwwoffle-"
1631 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1632 (build-system gnu-build-system)
1634 `(#:configure-flags '("--with-gnutls")
1635 #:tests? #f)) ; no test target
1636 (native-inputs `(("flex" ,flex)))
1637 (inputs `(("gnutls" ,gnutls)
1638 ("libcrypt" ,libgcrypt)))
1639 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1640 (synopsis "Caching web proxy optimized for intermittent internet links")
1641 (description "WWWOFFLE is a proxy web server that is especially good for
1642 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1643 protocols, and supports browsing and requesting pages while offline, indexing,
1644 modifying pages and incoming and outgoing headers, monitoring pages for
1645 changes, and much more.")
1646 (license license:gpl2+)))
1648 (define-public liboauth
1654 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1658 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1659 (build-system gnu-build-system)
1660 (arguments '(#:configure-flags '("--enable-nss")))
1661 (native-inputs `(("pkg-config" ,pkg-config)))
1665 (home-page "https://sourceforge.net/projects/liboauth")
1666 (synopsis "C library implementing the OAuth API")
1668 "liboauth is a collection of C functions implementing the OAuth API.
1669 liboauth provides functions to escape and encode strings according to OAuth
1670 specifications and offers high-level functionality built on top to sign
1671 requests or verify signatures using either NSS or OpenSSL for calculating the
1673 ;; Source code may be distributed under either license.
1674 (license (list license:expat license:gpl2+))))
1676 (define-public libyaml
1683 (uri (string-append "https://pyyaml.org/download/libyaml/yaml-"
1687 "1x4fcw13r3lqy8ndydr3ili87wicplw2awbcv6r21qgyfndswhn6"))))
1688 (build-system gnu-build-system)
1690 '(#:configure-flags '("--disable-static")))
1691 (home-page "https://pyyaml.org/wiki/LibYAML")
1692 (synopsis "YAML 1.1 parser and emitter written in C")
1694 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1695 (license license:expat)))
1697 (define-public libyaml+static
1700 (name "libyaml+static")
1702 '(#:configure-flags '("--enable-static")))))
1704 (define-public libquvi-scripts
1706 (name "libquvi-scripts")
1712 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1713 name "/" name "-" version ".tar.xz"))
1715 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1716 (build-system gnu-build-system)
1717 (home-page "http://quvi.sourceforge.net/")
1718 (synopsis "Media stream URL parser")
1719 (description "This package contains support scripts called by libquvi to
1720 parse media stream properties.")
1721 (license license:lgpl2.1+)))
1723 (define-public libquvi
1731 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1732 name "-" version ".tar.xz"))
1734 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1735 (build-system gnu-build-system)
1736 (native-inputs `(("pkg-config" ,pkg-config)))
1739 ("cyrus-sasl" ,cyrus-sasl)
1740 ("libquvi-scripts" ,libquvi-scripts)
1742 ("openssl" ,openssl)
1745 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1747 (let ((lua (assoc-ref %build-inputs "lua")))
1749 (string-append "liblua_CFLAGS=-I" lua "/include")
1750 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1751 (home-page "http://quvi.sourceforge.net/")
1752 (synopsis "Media stream URL parser")
1753 (description "libquvi is a library with a C API for parsing media stream
1754 URLs and extracting their actual media files.")
1755 (license license:lgpl2.1+)))
1765 "mirror://sourceforge/" name "/" (version-major+minor version)
1766 "/" name "/" name "-" version ".tar.xz"))
1768 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1769 (build-system gnu-build-system)
1770 (native-inputs `(("pkg-config" ,pkg-config)))
1773 ("libquvi" ,libquvi)))
1774 (home-page "http://quvi.sourceforge.net/")
1775 (synopsis "Media stream URL parser")
1776 (description "quvi is a command-line-tool suite to extract media files
1777 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1778 (license license:lgpl2.1+)))
1787 (uri (string-append "mirror://apache/serf/serf-"
1788 version ".tar.bz2"))
1789 (patches (search-patches "serf-python3.patch"))
1791 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1792 (build-system scons-build-system)
1795 ("apr-util" ,apr-util)
1796 ("openssl" ,openssl)))
1798 `(;; TODO: Fix build with gss.
1802 `(#:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1803 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1804 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1805 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1806 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1807 (string-append "PREFIX=" %output))
1809 (modify-phases %standard-phases
1810 (add-after 'unpack 'scons-propagate-environment
1812 ;; By design, SCons does not, by default, propagate
1813 ;; environment variables to subprocesses. See:
1814 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1815 ;; Here, we modify the SConstruct file to arrange for
1816 ;; environment variables to be propagated.
1817 (substitute* "SConstruct"
1818 (("^env = Environment\\(")
1819 "env = Environment(ENV=os.environ, "))))
1820 (add-before 'check 'disable-broken-tests
1822 ;; These tests rely on SSL certificates that expired 2017-04-18.
1823 ;; While there are newer certs available upstream, we don't want
1824 ;; this package to suddenly "expire" some time in the future.
1825 ;; https://bugs.gnu.org/26671
1827 '("test_ssl_trust_rootca"
1828 "test_ssl_certificate_chain_with_anchor"
1829 "test_ssl_certificate_chain_all_from_server"
1830 "test_ssl_no_servercert_callback_allok"
1831 "test_ssl_large_response"
1832 "test_ssl_large_request"
1833 "test_ssl_client_certificate"
1834 "test_ssl_future_server_cert"
1835 "test_setup_ssltunnel"
1836 "test_ssltunnel_basic_auth"
1837 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1838 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1839 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1840 "test_ssltunnel_digest_auth")))
1843 (substitute* "test/test_context.c"
1844 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1847 (home-page "https://serf.apache.org/")
1848 (synopsis "High-performance asynchronous HTTP client library")
1850 "serf is a C-based HTTP client library built upon the Apache Portable
1851 Runtime (APR) library. It multiplexes connections, running the read/write
1852 communication asynchronously. Memory copies and transformations are kept to a
1853 minimum to provide high performance operation.")
1854 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1855 ;; bundled CuTest framework uses a different non-copyleft license.
1856 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1858 (define-public libsass
1861 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1866 (url "https://github.com/sass/libsass")
1868 (file-name (git-file-name name version))
1871 "0r8lfqvr3rjhjd8r036zd1wc9q17gyiskppcw9m13jks9an7xp4j"))))
1872 (build-system gnu-build-system)
1875 (modify-phases %standard-phases
1876 (add-before 'bootstrap 'set-LIBSASS_VERSION
1878 (setenv "LIBSASS_VERSION" ,version)
1881 `(("autoconf" ,autoconf)
1882 ("automake" ,automake)
1883 ("libtool" ,libtool)))
1884 (home-page "https://sass-lang.com/libsass")
1885 (synopsis "SASS Compiler, implemented as a C/C++ library")
1887 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1888 library designed for portability and efficiency. To actually compile SASS
1889 stylesheets, you'll need to use another program that uses this library,
1890 @var{sassc} for example.")
1891 (license license:expat)))
1893 (define-public sassc
1900 (url "https://github.com/sass/sassc")
1902 (file-name (git-file-name name version))
1905 "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv"))))
1906 (build-system gnu-build-system)
1910 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1911 #:tests? #f ; no test suite
1913 (modify-phases %standard-phases
1914 (add-after 'unpack 'patch-Makefile
1916 (substitute* "Makefile"
1917 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1918 "build-shared: $(RESOURCES) $(OBJECTS)")
1919 (("\\$\\(SASSC_EXE\\): libsass build")
1920 "$(SASSC_EXE): build")
1921 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1924 ;; This phase fails for some reason.
1926 ;; There is no configure script.
1928 (add-before 'build 'setup-environment
1930 (setenv "BUILD" "shared")
1931 (setenv "SASSC_VERSION" ,version)
1934 `(("libsass" ,libsass)))
1935 (synopsis "CSS pre-processor")
1936 (description "SassC is a compiler written in C for the CSS pre-processor
1937 language known as SASS.")
1938 (home-page "https://sass-lang.com/libsass")
1939 (license license:expat)))
1941 (define-public sassc/libsass-3.5
1942 ;; Newer libsass versions suffor from a memory leak when building (some?)
1943 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
1957 (url "https://github.com/sass/libsass")
1959 (file-name (git-file-name name version))
1962 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
1963 (properties '((hidden? . #t)))))
1966 (define-public perl-apache-logformat-compiler
1968 (name "perl-apache-logformat-compiler")
1973 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1974 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1976 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
1977 (build-system perl-build-system)
1979 `(("perl-http-message" ,perl-http-message)
1980 ("perl-module-build-tiny" ,perl-module-build-tiny)
1981 ("perl-test-mocktime" ,perl-test-mocktime)
1982 ("perl-try-tiny" ,perl-try-tiny)
1983 ("perl-uri" ,perl-uri)))
1985 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1986 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1987 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1988 (synopsis "Compile a log format string to perl-code")
1989 (description "This module provides methods to compile a log format string
1990 to perl-code, for faster generation of access_log lines.")
1991 (license license:perl-license)))
1993 (define-public perl-authen-sasl
1995 (name "perl-authen-sasl")
2000 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
2001 "Authen-SASL-" version ".tar.gz"))
2004 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
2005 (build-system perl-build-system)
2008 (modify-phases %standard-phases
2009 (add-after 'unpack 'set-env
2010 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
2011 ;; versions of perl-authen-sasl.
2012 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
2014 `(("perl-digest-hmac" ,perl-digest-hmac)
2015 ("perl-gssapi" ,perl-gssapi)))
2016 (home-page "https://metacpan.org/release/Authen-SASL")
2017 (synopsis "SASL authentication framework")
2018 (description "Authen::SASL provides an SASL authentication framework.")
2019 (license license:perl-license)))
2021 (define-public perl-catalyst-action-renderview
2023 (name "perl-catalyst-action-renderview")
2028 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2029 "Catalyst-Action-RenderView-"
2033 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
2034 (build-system perl-build-system)
2036 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
2037 ("perl-module-install" ,perl-module-install)))
2039 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2040 ("perl-data-visitor" ,perl-data-visitor)
2041 ("perl-mro-compat" ,perl-mro-compat)))
2042 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
2043 (synopsis "Sensible default Catalyst action")
2044 (description "This Catalyst action implements a sensible default end
2045 action, which will forward to the first available view.")
2046 (license license:perl-license)))
2048 (define-public perl-catalyst-action-rest
2050 (name "perl-catalyst-action-rest")
2054 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2055 "Catalyst-Action-REST-" version ".tar.gz"))
2058 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
2059 (build-system perl-build-system)
2061 `(("perl-test-requires" ,perl-test-requires)
2062 ("perl-module-install" ,perl-module-install)))
2064 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2065 ("perl-class-inspector" ,perl-class-inspector)
2066 ("perl-config-general" ,perl-config-general)
2067 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
2068 ("perl-libwww" ,perl-libwww)
2069 ("perl-moose" ,perl-moose)
2070 ("perl-mro-compat" ,perl-mro-compat)
2071 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2072 ("perl-params-validate" ,perl-params-validate)
2073 ("perl-uri-find" ,perl-uri-find)
2074 ("perl-xml-simple" ,perl-xml-simple)))
2075 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
2076 (synopsis "Automated REST Method Dispatching")
2077 (description "This Action handles doing automatic method dispatching for
2078 REST requests. It takes a normal Catalyst action, and changes the dispatch to
2079 append an underscore and method name. First it will try dispatching to an
2080 action with the generated name, and failing that it will try to dispatch to a
2082 (license license:perl-license)))
2084 (define-public perl-catalyst-authentication-store-dbix-class
2086 (name "perl-catalyst-authentication-store-dbix-class")
2091 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2092 "Catalyst-Authentication-Store-DBIx-Class-"
2096 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
2097 (build-system perl-build-system)
2099 `(("perl-catalyst-plugin-authorization-roles"
2100 ,perl-catalyst-plugin-authorization-roles)
2101 ("perl-catalyst-plugin-session-state-cookie"
2102 ,perl-catalyst-plugin-session-state-cookie)
2103 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
2104 ("perl-module-install" ,perl-module-install)
2105 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2107 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2108 ("perl-catalyst-plugin-authentication"
2109 ,perl-catalyst-plugin-authentication)
2110 ("perl-dbix-class" ,perl-dbix-class)
2111 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
2113 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
2114 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
2115 (description "The Catalyst::Authentication::Store::DBIx::Class class
2116 provides access to authentication information stored in a database via
2118 (license license:perl-license)))
2120 (define-public perl-catalyst-component-instancepercontext
2122 (name "perl-catalyst-component-instancepercontext")
2123 (version "0.001001")
2127 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
2128 "Catalyst-Component-InstancePerContext-"
2132 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
2133 (build-system perl-build-system)
2135 `(("perl-module-install" ,perl-module-install)))
2137 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2138 ("perl-moose" ,perl-moose)))
2140 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
2141 (synopsis "Create only one instance of Moose component per context")
2142 (description "Catalyst::Component::InstancePerContext returns a new
2143 instance of a component on each request.")
2144 (license license:perl-license)))
2146 (define-public perl-catalyst-devel
2148 (name "perl-catalyst-devel")
2153 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2154 "Catalyst-Devel-" version ".tar.gz"))
2156 (base32 "1r8arq7sw37d0mjyfzkc3pg1a9plgydqbscryc8qpvba4swpljls"))))
2157 (build-system perl-build-system)
2159 `(("perl-test-fatal" ,perl-test-fatal)))
2161 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
2162 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
2163 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
2164 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2165 ("perl-config-general" ,perl-config-general)
2166 ("perl-file-changenotify" ,perl-file-changenotify)
2167 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
2168 ("perl-file-sharedir" ,perl-file-sharedir)
2169 ("perl-module-install" ,perl-module-install)
2170 ("perl-moose" ,perl-moose)
2171 ("perl-moosex-emulate-class-accessor-fast"
2172 ,perl-moosex-emulate-class-accessor-fast)
2173 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2174 ("perl-namespace-clean" ,perl-namespace-clean)
2175 ("perl-path-class" ,perl-path-class)
2176 ("perl-template-toolkit" ,perl-template-toolkit)))
2177 (home-page "https://metacpan.org/release/Catalyst-Devel")
2178 (synopsis "Catalyst Development Tools")
2179 (description "The Catalyst-Devel distribution includes a variety of
2180 modules useful for the development of Catalyst applications, but not required
2181 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
2182 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
2183 extension for Catalyst; and requirements for a variety of development-related
2185 (license license:perl-license)))
2187 (define-public perl-catalyst-dispatchtype-regex
2189 (name "perl-catalyst-dispatchtype-regex")
2194 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
2195 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
2198 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
2199 (build-system perl-build-system)
2201 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
2202 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2203 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
2205 `(("perl-moose" ,perl-moose)
2206 ("perl-text-simpletable" ,perl-text-simpletable)))
2207 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
2208 (synopsis "Regex DispatchType for Catalyst")
2209 (description "Dispatch type managing path-matching behaviour using
2210 regexes. Regex dispatch types have been deprecated and removed from Catalyst
2211 core. It is recommend that you use Chained methods or other techniques
2212 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
2213 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
2214 when the dispatch type is first seen in your application.")
2215 (license license:perl-license)))
2217 (define-public perl-catalyst-model-dbic-schema
2219 (name "perl-catalyst-model-dbic-schema")
2224 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
2225 "Catalyst-Model-DBIC-Schema-"
2229 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
2230 (build-system perl-build-system)
2232 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
2233 ("perl-module-install" ,perl-module-install)
2234 ("perl-test-exception" ,perl-test-exception)
2235 ("perl-test-requires" ,perl-test-requires)))
2237 `(("perl-carp-clan" ,perl-carp-clan)
2238 ("perl-catalyst-component-instancepercontext"
2239 ,perl-catalyst-component-instancepercontext)
2240 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2241 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
2242 ("perl-dbix-class" ,perl-dbix-class)
2243 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
2244 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
2245 ("perl-hash-merge" ,perl-hash-merge)
2246 ("perl-list-moreutils" ,perl-list-moreutils)
2247 ("perl-module-runtime" ,perl-module-runtime)
2248 ("perl-moose" ,perl-moose)
2249 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
2250 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
2251 ("perl-moosex-types" ,perl-moosex-types)
2252 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
2253 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2254 ("perl-namespace-clean" ,perl-namespace-clean)
2255 ("perl-tie-ixhash" ,perl-tie-ixhash)
2256 ("perl-try-tiny" ,perl-try-tiny)))
2257 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
2258 (synopsis "DBIx::Class::Schema Model Class")
2259 (description "This is a Catalyst Model for DBIx::Class::Schema-based
2261 (license license:perl-license)))
2263 (define-public perl-catalyst-plugin-accesslog
2265 (name "perl-catalyst-plugin-accesslog")
2270 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
2271 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
2274 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
2275 (build-system perl-build-system)
2277 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2278 ("perl-datetime" ,perl-datetime)
2279 ("perl-moose" ,perl-moose)
2280 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2281 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
2282 (synopsis "Request logging from within Catalyst")
2283 (description "This Catalyst plugin enables you to create \"access logs\"
2284 from within a Catalyst application instead of requiring a webserver to do it
2285 for you. It will work even with Catalyst debug logging turned off.")
2286 (license license:perl-license)))
2288 (define-public perl-catalyst-plugin-authentication
2290 (name "perl-catalyst-plugin-authentication")
2295 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2296 "Catalyst-Plugin-Authentication-"
2300 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
2301 (build-system perl-build-system)
2303 `(("perl-module-install" ,perl-module-install)))
2305 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2306 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2307 ("perl-class-inspector" ,perl-class-inspector)
2308 ("perl-moose" ,perl-moose)
2309 ("perl-moosex-emulate-class-accessor-fast"
2310 ,perl-moosex-emulate-class-accessor-fast)
2311 ("perl-mro-compat" ,perl-mro-compat)
2312 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2313 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2314 ("perl-test-exception" ,perl-test-exception)
2315 ("perl-try-tiny" ,perl-try-tiny)))
2316 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
2317 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
2318 (description "The authentication plugin provides generic user support for
2319 Catalyst apps. It is the basis for both authentication (checking the user is
2320 who they claim to be), and authorization (allowing the user to do what the
2321 system authorises them to do).")
2322 (license license:perl-license)))
2324 (define-public perl-catalyst-plugin-authorization-roles
2326 (name "perl-catalyst-plugin-authorization-roles")
2331 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2332 "Catalyst-Plugin-Authorization-Roles-"
2336 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
2337 (build-system perl-build-system)
2339 `(("perl-module-install" ,perl-module-install)
2340 ("perl-test-exception" ,perl-test-exception)))
2342 `(("perl-catalyst-plugin-authentication"
2343 ,perl-catalyst-plugin-authentication)
2344 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2345 ("perl-set-object" ,perl-set-object)
2346 ("perl-universal-isa" ,perl-universal-isa)))
2348 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2349 (synopsis "Role-based authorization for Catalyst")
2350 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2351 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2352 (license license:perl-license)))
2354 (define-public perl-catalyst-plugin-captcha
2356 (name "perl-catalyst-plugin-captcha")
2361 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2362 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2365 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2366 (build-system perl-build-system)
2368 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2369 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2370 ("perl-gd-securityimage" ,perl-gd-securityimage)
2371 ("perl-http-date" ,perl-http-date)))
2372 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2373 (synopsis "Captchas for Catalyst")
2374 (description "This plugin creates and validates Captcha images for
2376 (license license:perl-license)))
2378 (define-public perl-catalyst-plugin-configloader
2380 (name "perl-catalyst-plugin-configloader")
2385 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2386 "Catalyst-Plugin-ConfigLoader-"
2389 (base32 "0w8r3bbxqnlykvra6sx3sh3wh8ylkj914xg5ql6nw11ddy56jaly"))))
2390 (build-system perl-build-system)
2392 `(("perl-path-class" ,perl-path-class)
2393 ("perl-module-install" ,perl-module-install)))
2395 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2396 ("perl-config-any" ,perl-config-any)
2397 ("perl-data-visitor" ,perl-data-visitor)
2398 ("perl-mro-compat" ,perl-mro-compat)))
2399 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2400 (synopsis "Load config files of various types")
2401 (description "This module will attempt to load find and load configuration
2402 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2404 (license license:perl-license)))
2406 (define-public perl-catalyst-plugin-session
2408 (name "perl-catalyst-plugin-session")
2413 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2414 "Catalyst-Plugin-Session-" version ".tar.gz"))
2416 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2417 (build-system perl-build-system)
2419 `(("perl-module-install" ,perl-module-install)
2420 ("perl-test-deep" ,perl-test-deep)
2421 ("perl-test-exception" ,perl-test-exception)))
2423 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2424 ("perl-moose" ,perl-moose)
2425 ("perl-moosex-emulate-class-accessor-fast"
2426 ,perl-moosex-emulate-class-accessor-fast)
2427 ("perl-mro-compat" ,perl-mro-compat)
2428 ("perl-namespace-clean" ,perl-namespace-clean)
2429 ("perl-object-signature" ,perl-object-signature)
2430 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2431 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2432 (synopsis "Catalyst generic session plugin")
2433 (description "This plugin links the two pieces required for session
2434 management in web applications together: the state, and the store.")
2435 (license license:perl-license)))
2437 (define-public perl-catalyst-plugin-session-state-cookie
2439 (name "perl-catalyst-plugin-session-state-cookie")
2444 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2445 "Catalyst-Plugin-Session-State-Cookie-"
2449 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2450 (build-system perl-build-system)
2452 `(("perl-module-install" ,perl-module-install)))
2454 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2455 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2456 ("perl-moose" ,perl-moose)
2457 ("perl-mro-compat" ,perl-mro-compat)
2458 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2460 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2461 (synopsis "Maintain session IDs using cookies")
2462 (description "In order for Catalyst::Plugin::Session to work, the session
2463 ID needs to be stored on the client, and the session data needs to be stored
2464 on the server. This plugin stores the session ID on the client using the
2466 (license license:perl-license)))
2468 (define-public perl-catalyst-plugin-session-store-fastmmap
2470 (name "perl-catalyst-plugin-session-store-fastmmap")
2475 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2476 "Catalyst-Plugin-Session-Store-FastMmap-"
2480 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2481 (build-system perl-build-system)
2483 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2484 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2485 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2486 ("perl-moosex-emulate-class-accessor-fast"
2487 ,perl-moosex-emulate-class-accessor-fast)
2488 ("perl-mro-compat" ,perl-mro-compat)
2489 ("perl-path-class" ,perl-path-class)))
2491 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2492 (synopsis "FastMmap session storage backend")
2493 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2494 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2495 memory interprocess cache. It is based on Cache::FastMmap.")
2496 (license license:perl-license)))
2498 (define-public perl-catalyst-plugin-stacktrace
2500 (name "perl-catalyst-plugin-stacktrace")
2505 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2506 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2509 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2510 (build-system perl-build-system)
2512 `(("perl-module-install" ,perl-module-install)))
2514 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2515 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2516 ("perl-mro-compat" ,perl-mro-compat)))
2517 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2518 (synopsis "Stack trace on the Catalyst debug screen")
2519 (description "This plugin enhances the standard Catalyst debug screen by
2520 including a stack trace of your application up to the point where the error
2521 occurred. Each stack frame is displayed along with the package name, line
2522 number, file name, and code context surrounding the line number.")
2523 (license license:perl-license)))
2525 (define-public perl-catalyst-plugin-static-simple
2527 (name "perl-catalyst-plugin-static-simple")
2532 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2533 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2536 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2537 (build-system perl-build-system)
2539 `(("perl-module-install" ,perl-module-install)))
2541 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2542 ("perl-mime-types" ,perl-mime-types)
2543 ("perl-moose" ,perl-moose)
2544 ("perl-moosex-types" ,perl-moosex-types)
2545 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2546 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2547 (synopsis "Simple serving of static pages")
2548 (description "The Static::Simple plugin is designed to make serving static
2549 content in your application during development quick and easy, without
2550 requiring a single line of code from you. This plugin detects static files by
2551 looking at the file extension in the URL (such as .css or .png or .js). The
2552 plugin uses the lightweight MIME::Types module to map file extensions to
2553 IANA-registered MIME types, and will serve your static files with the correct
2554 MIME type directly to the browser, without being processed through Catalyst.")
2555 (license license:perl-license)))
2557 (define-public perl-catalyst-runtime
2559 (name "perl-catalyst-runtime")
2564 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2565 "Catalyst-Runtime-" version ".tar.gz"))
2568 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2569 (build-system perl-build-system)
2571 `(("perl-test-fatal" ,perl-test-fatal)))
2573 `(("perl-cgi-simple" ,perl-cgi-simple)
2574 ("perl-cgi-struct" ,perl-cgi-struct)
2575 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2576 ("perl-class-date" ,perl-class-date)
2577 ("perl-class-load" ,perl-class-load)
2578 ("perl-data-dump" ,perl-data-dump)
2579 ("perl-http-body" ,perl-http-body)
2580 ("perl-http-message" ,perl-http-message)
2581 ("perl-json-maybexs" ,perl-json-maybexs)
2582 ("perl-libwww" ,perl-libwww)
2583 ("perl-module-pluggable" ,perl-module-pluggable)
2584 ("perl-moose" ,perl-moose)
2585 ("perl-moosex-emulate-class-accessor-fast"
2586 ,perl-moosex-emulate-class-accessor-fast)
2587 ("perl-moosex-getopt" ,perl-moosex-getopt)
2588 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2589 ("perl-namespace-clean" ,perl-namespace-clean)
2590 ("perl-path-class" ,perl-path-class)
2591 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2592 ("perl-plack" ,perl-plack)
2593 ("perl-plack-middleware-fixmissingbodyinredirect"
2594 ,perl-plack-middleware-fixmissingbodyinredirect)
2595 ("perl-plack-middleware-methodoverride"
2596 ,perl-plack-middleware-methodoverride)
2597 ("perl-plack-middleware-removeredundantbody"
2598 ,perl-plack-middleware-removeredundantbody)
2599 ("perl-plack-middleware-reverseproxy"
2600 ,perl-plack-middleware-reverseproxy)
2601 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2602 ("perl-safe-isa" ,perl-safe-isa)
2603 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2604 ("perl-text-simpletable" ,perl-text-simpletable)
2605 ("perl-tree-simple" ,perl-tree-simple)
2606 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2607 ("perl-try-tiny" ,perl-try-tiny)
2608 ("perl-uri" ,perl-uri)
2609 ("perl-uri-ws" ,perl-uri-ws)))
2610 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2611 (synopsis "The Catalyst Framework Runtime")
2612 (description "Catalyst is a modern framework for making web applications.
2613 It is designed to make it easy to manage the various tasks you need to do to
2614 run an application on the web, either by doing them itself, or by letting you
2615 \"plug in\" existing Perl modules that do what you need.")
2616 (license license:perl-license)))
2618 (define-public perl-catalyst-traitfor-request-proxybase
2620 (name "perl-catalyst-traitfor-request-proxybase")
2621 (version "0.000005")
2625 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2626 "Catalyst-TraitFor-Request-ProxyBase-"
2630 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2631 (build-system perl-build-system)
2633 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2634 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2635 ("perl-http-message" ,perl-http-message)
2636 ("perl-module-install" ,perl-module-install)))
2638 `(("perl-moose" ,perl-moose)
2639 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2640 ("perl-uri" ,perl-uri)))
2642 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2643 (synopsis "Replace request base with value passed by HTTP proxy")
2644 (description "This module is a Moose::Role which allows you more
2645 flexibility in your application's deployment configurations when deployed
2646 behind a proxy. Using this module, the request base ($c->req->base) is
2647 replaced with the contents of the X-Request-Base header.")
2648 (license license:perl-license)))
2650 (define-public perl-catalyst-view-download
2652 (name "perl-catalyst-view-download")
2657 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2658 "Catalyst-View-Download-" version ".tar.gz"))
2661 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2662 (build-system perl-build-system)
2664 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2665 ("perl-module-install" ,perl-module-install)
2666 ("perl-test-simple" ,perl-test-simple)
2667 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2668 ("perl-text-csv" ,perl-text-csv)
2669 ("perl-xml-simple" ,perl-xml-simple)))
2670 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2671 (synopsis "Download data in many formats")
2672 (description "The purpose of this module is to provide a method for
2673 downloading data into many supportable formats. For example, downloading a
2674 table based report in a variety of formats (CSV, HTML, etc.).")
2675 (license license:perl-license)))
2677 (define-public perl-catalyst-view-json
2679 (name "perl-catalyst-view-json")
2684 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2685 "Catalyst-View-JSON-" version ".tar.gz"))
2688 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2689 (build-system perl-build-system)
2691 `(("perl-module-install" ,perl-module-install)
2692 ("perl-yaml" ,perl-yaml)))
2694 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2695 ("perl-json-maybexs" ,perl-json-maybexs)
2696 ("perl-mro-compat" ,perl-mro-compat)))
2697 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2698 (synopsis "Catalyst JSON view")
2699 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2700 stash data in JSON format.")
2701 (license license:perl-license)))
2703 (define-public perl-catalyst-view-tt
2705 (name "perl-catalyst-view-tt")
2710 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2711 "Catalyst-View-TT-" version ".tar.gz"))
2713 (base32 "0jzgpkgq5pwq82zlb0nykdyk40dfpsyn9ilz91d0wpixgi9i5pr8"))))
2714 (build-system perl-build-system)
2716 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2717 ("perl-class-accessor" ,perl-class-accessor)
2718 ("perl-data-dump" ,perl-data-dump)
2719 ("perl-mro-compat" ,perl-mro-compat)
2720 ("perl-path-class" ,perl-path-class)
2721 ("perl-template-timer" ,perl-template-timer)
2722 ("perl-template-toolkit" ,perl-template-toolkit)))
2723 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2724 (synopsis "Template View Class")
2725 (description "This module is a Catalyst view class for the Template
2727 (license license:perl-license)))
2729 (define-public perl-catalystx-component-traits
2731 (name "perl-catalystx-component-traits")
2736 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2737 "CatalystX-Component-Traits-" version ".tar.gz"))
2740 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2741 (build-system perl-build-system)
2743 `(("perl-moose" ,perl-moose)
2744 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2745 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2747 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2748 ("perl-class-load" ,perl-class-load)
2749 ("perl-moose" ,perl-moose)
2750 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2751 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2752 ("perl-list-moreutils" ,perl-list-moreutils)))
2753 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2754 (synopsis "Trait Loading and Resolution for Catalyst Components")
2755 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2756 Catalyst component base class that reads the optional \"traits\" parameter
2757 from app and component config and instantiates the component subclass with
2758 those traits using \"new_with_traits\" in MooseX::Traits from
2759 MooseX::Traits::Pluggable.")
2760 (license license:perl-license)))
2762 (define-public perl-catalystx-roleapplicator
2764 (name "perl-catalystx-roleapplicator")
2769 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2770 "CatalystX-RoleApplicator-" version ".tar.gz"))
2773 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2774 (build-system perl-build-system)
2776 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2777 ("perl-moose" ,perl-moose)
2778 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2779 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2780 (synopsis "Apply roles to Catalyst classes")
2781 (description "CatalystX::RoleApplicator applies roles to Catalyst
2782 application classes.")
2783 (license license:perl-license)))
2785 (define-public perl-catalystx-script-server-starman
2787 (name "perl-catalystx-script-server-starman")
2792 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2793 "CatalystX-Script-Server-Starman-"
2797 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2798 (build-system perl-build-system)
2800 `(("perl-module-install" ,perl-module-install)
2801 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2803 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2804 ("perl-moose" ,perl-moose)
2805 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2806 ("starman" ,starman)))
2807 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2808 (synopsis "Catalyst development server with Starman")
2809 (description "This module provides a Catalyst extension to replace the
2810 development server with Starman.")
2811 (license license:perl-license)))
2813 (define-public perl-cgi
2820 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2821 "CGI-" version ".tar.gz"))
2823 (base32 "02k0p8zwbn0fz9r39rg8jvbmky8fwdg6kznklzk557rg07kiblhb"))))
2824 (build-system perl-build-system)
2826 `(("perl-test-deep" ,perl-test-deep)
2827 ("perl-test-nowarnings" ,perl-test-nowarnings)
2828 ("perl-test-warn" ,perl-test-warn)))
2830 `(("perl-html-parser" ,perl-html-parser)))
2831 (home-page "https://metacpan.org/release/CGI")
2832 (synopsis "Handle Common Gateway Interface requests and responses")
2833 (description "CGI.pm is a stable, complete and mature solution for
2834 processing and preparing HTTP requests and responses. Major features include
2835 processing form submissions, file uploads, reading and writing cookies, query
2836 string generation and manipulation, and processing and preparing HTTP
2838 (license license:perl-license)))
2840 (define-public perl-cgi-formbuilder
2842 (name "perl-cgi-formbuilder")
2848 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2849 "CGI-FormBuilder-" version ".tar.gz"))
2852 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2853 (build-system perl-build-system)
2854 (inputs `(("perl-cgi" ,perl-cgi)))
2856 "https://metacpan.org/release/CGI-FormBuilder")
2858 "Generate and process stateful forms")
2860 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2861 form-based applications.")
2862 (license license:perl-license)))
2864 (define-public perl-cgi-session
2866 (name "perl-cgi-session")
2872 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2877 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2878 (build-system perl-build-system)
2880 `(("perl-module-build" ,perl-module-build)))
2881 (inputs `(("perl-cgi" ,perl-cgi)))
2883 "https://metacpan.org/release/CGI-Session")
2885 "Persistent session data in CGI applications")
2887 "@code{CGI::Session} provides modular session management system across
2889 (license license:perl-license)))
2891 (define-public perl-cgi-simple
2893 (name "perl-cgi-simple")
2898 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2899 "CGI-Simple-" version ".tar.gz"))
2901 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
2902 (build-system perl-build-system)
2904 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2905 ("perl-module-build" ,perl-module-build)
2906 ("perl-test-exception" ,perl-test-exception)
2907 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2908 (home-page "https://metacpan.org/release/CGI-Simple")
2909 (synopsis "CGI interface that is CGI.pm compliant")
2910 (description "CGI::Simple provides a relatively lightweight drop in
2911 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2912 parameter parsing, file upload, cookie handling and header generation.")
2913 (license license:perl-license)))
2915 (define-public perl-cgi-struct
2917 (name "perl-cgi-struct")
2922 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2923 "CGI-Struct-" version ".tar.gz"))
2926 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2927 (build-system perl-build-system)
2929 `(("perl-test-deep" ,perl-test-deep)))
2930 (home-page "https://metacpan.org/release/CGI-Struct")
2931 (synopsis "Build structures from CGI data")
2932 (description "This is a module for building structured data from CGI
2933 inputs, in a manner reminiscent of how PHP does.")
2934 (license license:bsd-2)))
2936 (define-public perl-datetime-format-http
2938 (name "perl-datetime-format-http")
2943 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2944 "DateTime-Format-HTTP-" version ".tar.gz"))
2947 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2948 (build-system perl-build-system)
2950 `(("perl-module-build" ,perl-module-build)))
2952 `(("perl-datetime" ,perl-datetime)
2953 ("perl-http-date" ,perl-http-date)))
2954 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2955 (synopsis "Date conversion routines")
2956 (description "This module provides functions that deal with the date
2957 formats used by the HTTP protocol.")
2958 (license license:perl-license)))
2960 (define-public perl-digest-md5-file
2962 (name "perl-digest-md5-file")
2967 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2968 "Digest-MD5-File-" version ".tar.gz"))
2971 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2972 (build-system perl-build-system)
2974 `(("perl-libwww" ,perl-libwww)))
2975 (home-page "https://metacpan.org/release/Digest-MD5-File")
2976 (synopsis "MD5 sums for files and urls")
2977 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2978 for files and urls.")
2979 (license license:perl-license)))
2981 (define-public perl-encode-locale
2983 (name "perl-encode-locale")
2988 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2992 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2993 (build-system perl-build-system)
2994 (license license:perl-license)
2995 (synopsis "Perl locale encoding determination")
2997 "The POSIX locale system is used to specify both the language
2998 conventions requested by the user and the preferred character set to
2999 consume and output. The Encode::Locale module looks up the charset and
3000 encoding (called a CODESET in the locale jargon) and arranges for the
3001 Encode module to know this encoding under the name \"locale\". It means
3002 bytes obtained from the environment can be converted to Unicode strings
3003 by calling Encode::encode(locale => $bytes) and converted back again
3004 with Encode::decode(locale => $string).")
3005 (home-page "https://metacpan.org/release/Encode-Locale")))
3007 (define-public perl-feed-find
3009 (name "perl-feed-find")
3013 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
3014 "Feed-Find-" version ".tar.gz"))
3017 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
3018 (build-system perl-build-system)
3020 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
3023 (modify-phases %standard-phases
3024 (add-after 'unpack 'set-env
3025 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
3027 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3028 ("perl-html-parser" ,perl-html-parser)
3029 ("perl-libwww" ,perl-libwww)
3030 ("perl-uri" ,perl-uri)))
3031 (home-page "https://metacpan.org/release/Feed-Find")
3032 (synopsis "Syndication feed auto-discovery")
3033 (description "@code{Feed::Find} implements feed auto-discovery for finding
3034 syndication feeds, given a URI. It will discover the following feed formats:
3035 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
3036 (license license:perl-license)))
3038 (define-public perl-file-listing
3040 (name "perl-file-listing")
3045 "mirror://cpan/authors/id/P/PL/PLICEASE/File-Listing-"
3049 "0vmzw1mhv580flzkla80gvwfpficnhlbqr1dnlf9x50bw7n18k62"))))
3050 (build-system perl-build-system)
3052 `(("perl-http-date" ,perl-http-date)))
3053 (license license:perl-license)
3054 (synopsis "Perl directory listing parser")
3056 "The File::Listing module exports a single function called parse_dir(),
3057 which can be used to parse directory listings.")
3058 (home-page "https://metacpan.org/release/File-Listing")))
3060 (define-public perl-finance-quote
3062 (name "perl-finance-quote")
3067 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
3068 "Finance-Quote-" version ".tar.gz"))
3070 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
3071 (patches (search-patches
3072 "perl-finance-quote-unuse-mozilla-ca.patch"))))
3073 (build-system perl-build-system)
3075 `(("perl-cgi" ,perl-cgi)
3076 ("perl-datetime" ,perl-datetime)
3077 ("perl-html-parser" ,perl-html-parser)
3078 ("perl-html-tableextract" ,perl-html-tableextract)
3079 ("perl-html-tree" ,perl-html-tree)
3080 ("perl-http-cookies" ,perl-http-cookies)
3081 ("perl-http-message" ,perl-http-message)
3082 ("perl-json" ,perl-json)
3083 ("perl-libwww" ,perl-libwww)
3084 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
3085 ("perl-uri" ,perl-uri)))
3086 (home-page "https://metacpan.org/release/Finance-Quote")
3087 (synopsis "Stock and mutual fund quotes")
3089 "Finance::Quote gets stock quotes from various internet sources, including
3090 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
3091 (license license:gpl2)))
3093 (define-public perl-gssapi
3095 (name "perl-gssapi")
3100 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
3101 "GSSAPI-" version ".tar.gz"))
3104 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
3105 (build-system perl-build-system)
3106 (inputs `(("gssapi" ,mit-krb5)))
3108 `(#:make-maker-flags
3109 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
3110 (home-page "https://metacpan.org/release/GSSAPI")
3111 (synopsis "Perl extension providing access to the GSSAPIv2 library")
3112 (description "This is a Perl extension for using GSSAPI C bindings as
3113 described in RFC 2744.")
3114 (license license:perl-license)))
3116 (define-public perl-html-element-extended
3118 (name "perl-html-element-extended")
3123 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
3124 "HTML-Element-Extended-" version ".tar.gz"))
3127 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
3128 (build-system perl-build-system)
3130 `(("perl-html-tree" ,perl-html-tree)))
3131 (home-page "https://metacpan.org/release/HTML-Element-Extended")
3132 (synopsis "Manipulate tables of HTML::Element")
3134 "HTML::Element::Extended is a Perl extension for manipulating a table
3135 composed of HTML::Element style components.")
3136 (license license:perl-license)))
3138 (define-public perl-html-form
3140 (name "perl-html-form")
3145 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3146 "HTML-Form-" version ".tar.gz"))
3148 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
3149 (build-system perl-build-system)
3151 `(("perl-html-parser" ,perl-html-parser)
3152 ("perl-html-tagset" ,perl-html-tagset)
3153 ("perl-http-message" ,perl-http-message)
3154 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3155 ("perl-uri" ,perl-uri)))
3156 (home-page "https://metacpan.org/release/HTML-Form")
3157 (synopsis "Perl class representing an HTML form element")
3158 (description "Objects of the HTML::Form class represents a single HTML
3159 <form> ... </form> instance.")
3160 (license license:perl-license)))
3162 (define-public perl-html-scrubber
3164 (name "perl-html-scrubber")
3170 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
3175 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
3176 (build-system perl-build-system)
3178 `(("perl-module-build" ,perl-module-build)
3179 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
3180 ("perl-test-differences" ,perl-test-differences)
3181 ("perl-test-eol" ,perl-test-eol)
3182 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
3183 ("perl-test-notabs" ,perl-test-notabs)))
3185 `(("perl-html-parser" ,perl-html-parser)))
3187 "https://metacpan.org/release/HTML-Scrubber")
3189 "Perl extension for scrubbing/sanitizing html")
3191 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
3192 (license license:perl-license)))
3194 (define-public perl-html-lint
3196 (name "perl-html-lint")
3201 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3202 "HTML-Lint-" version ".tar.gz"))
3204 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
3205 (build-system perl-build-system)
3207 `(("perl-html-parser" ,perl-html-parser)
3208 ("perl-html-tagset" ,perl-html-tagset)
3209 ("perl-libwww" ,perl-libwww)))
3210 (home-page "https://metacpan.org/release/HTML-Lint")
3211 (synopsis "Check for HTML errors in a string or file")
3212 (description "HTML::Lint is a pure-Perl HTML parser and checker for
3213 syntactic legitmacy.")
3214 (license license:artistic2.0)))
3216 (define-public perl-html-tableextract
3218 (name "perl-html-tableextract")
3223 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
3224 "HTML-TableExtract-" version ".tar.gz"))
3227 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
3228 (build-system perl-build-system)
3230 `(("perl-html-element-extended" ,perl-html-element-extended)
3231 ("perl-html-parser" ,perl-html-parser)))
3232 (home-page "https://metacpan.org/release/HTML-TableExtract")
3233 (synopsis "Extract contents from HTML tables")
3235 "HTML::TableExtract is a Perl module for extracting the content contained
3236 in tables within an HTML document, either as text or encoded element trees.")
3237 (license license:perl-license)))
3239 (define-public perl-html-tree
3241 (name "perl-html-tree")
3246 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
3247 "HTML-Tree-" version ".tar.gz"))
3250 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
3251 (build-system perl-build-system)
3253 `(("perl-module-build" ,perl-module-build)
3254 ("perl-test-fatal" ,perl-test-fatal)))
3256 `(("perl-html-parser" ,perl-html-parser)
3257 ("perl-html-tagset" ,perl-html-tagset)
3258 ("perl-libwww" ,perl-libwww)))
3259 (home-page "https://metacpan.org/release/HTML-Tree")
3260 (synopsis "Work with HTML in a DOM-like tree structure")
3261 (description "This distribution contains a suite of modules for
3262 representing, creating, and extracting information from HTML syntax trees.")
3263 (license license:perl-license)))
3265 (define-public perl-html-parser
3267 (name "perl-html-parser")
3272 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
3276 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
3277 (build-system perl-build-system)
3279 `(("perl-html-tagset" ,perl-html-tagset)
3280 ("perl-http-message" ,perl-http-message)))
3281 (license license:perl-license)
3282 (synopsis "Perl HTML parser class")
3284 "Objects of the HTML::Parser class will recognize markup and separate
3285 it from plain text (alias data content) in HTML documents. As different
3286 kinds of markup and text are recognized, the corresponding event handlers
3288 (home-page "https://metacpan.org/release/HTML-Parser")))
3290 (define-public perl-html-tagset
3292 (name "perl-html-tagset")
3297 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
3301 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
3302 (build-system perl-build-system)
3303 (license license:perl-license)
3304 (synopsis "Perl data tables useful in parsing HTML")
3306 "The HTML::Tagset module contains several data tables useful in various
3307 kinds of HTML parsing operations.")
3308 (home-page "https://metacpan.org/release/HTML-Tagset")))
3310 (define-public perl-html-template
3312 (name "perl-html-template")
3316 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
3317 "HTML-Template-" version ".tar.gz"))
3320 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
3321 (build-system perl-build-system)
3323 `(("perl-cgi" ,perl-cgi)))
3324 (home-page "https://metacpan.org/release/HTML-Template")
3325 (synopsis "HTML-like templates")
3327 "This module attempts to make using HTML templates simple and natural.
3328 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
3329 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
3330 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
3331 these new tags is called a template. Using this module you fill in the values
3332 for the variables, loops and branches declared in the template. This allows
3333 you to separate design from the data.")
3334 (license license:perl-license)))
3336 (define-public perl-http-body
3338 (name "perl-http-body")
3343 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3344 "HTTP-Body-" version ".tar.gz"))
3347 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3348 (build-system perl-build-system)
3350 `(("perl-test-deep" ,perl-test-deep)))
3352 `(("perl-file-temp" ,perl-file-temp)
3353 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3354 (home-page "https://metacpan.org/release/HTTP-Body")
3355 (synopsis "HTTP Body Parser")
3356 (description "HTTP::Body parses chunks of HTTP POST data and supports
3357 application/octet-stream, application/json, application/x-www-form-urlencoded,
3358 and multipart/form-data.")
3359 (license license:perl-license)))
3361 (define-public perl-http-cookiejar
3363 (name "perl-http-cookiejar")
3368 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3369 "HTTP-CookieJar-" version ".tar.gz"))
3371 (base32 "1l7mqsca4fmls7agzwmp6yq1x16y9jwq4114i6i75n654gl37qsn"))))
3372 (build-system perl-build-system)
3374 `(("perl-test-deep" ,perl-test-deep)
3375 ("perl-test-requires" ,perl-test-requires)
3376 ("perl-time-mock" ,perl-time-mock)
3377 ("perl-uri" ,perl-uri)))
3379 `(("perl-time-local" ,perl-time-local)
3380 ("perl-http-date" ,perl-http-date)))
3381 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3382 (synopsis "Minimalist HTTP user agent cookie jar")
3383 (description "This module implements a minimalist HTTP user agent cookie
3384 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3385 (license license:asl2.0)))
3387 (define-public perl-http-cookies
3389 (name "perl-http-cookies")
3394 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3398 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3399 (build-system perl-build-system)
3401 `(("perl-http-message" ,perl-http-message)))
3402 (license license:perl-license)
3403 (synopsis "Perl HTTP cookie jars")
3405 "The HTTP::Cookies class is for objects that represent a cookie jar,
3406 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3407 object knows about.")
3408 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3410 (define-public perl-http-daemon
3412 (name "perl-http-daemon")
3417 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3421 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3422 (build-system perl-build-system)
3424 `(("perl-http-message" ,perl-http-message)
3425 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3426 (license license:perl-license)
3427 (synopsis "Perl simple http server class")
3429 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3430 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3431 IO::Socket::INET, so you can perform socket operations directly on it too.")
3432 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3434 (define-public perl-http-date
3436 (name "perl-http-date")
3441 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Date-"
3445 "0awjdbz7x0jd5pna55dwxhs3k6xp3sw6b2zg3p2yndxxvya64p9n"))))
3446 (build-system perl-build-system)
3447 (license license:perl-license)
3448 (synopsis "Perl date conversion routines")
3450 "The HTTP::Date module provides functions that deal with date formats
3451 used by the HTTP protocol (and then some more).")
3452 (home-page "https://metacpan.org/release/HTTP-Date")))
3454 (define-public perl-http-lite
3456 (name "perl-http-lite")
3462 "mirror://cpan/authors/id/N/NE/NEILB/HTTP-Lite-"
3466 "0z77nflj8zdcfg70kc93glq5kmd6qxn2nf7h70x4xhfg25wkvr1q"))))
3467 (build-system perl-build-system)
3468 (native-inputs `(("perl-cgi" ,perl-cgi)))
3469 (home-page "https://metacpan.org/release/HTTP-Lite")
3470 (synopsis "Lightweight HTTP implementation")
3471 (description "@code{HTTP::Lite} is a stand-alone lightweight
3472 HTTP/1.1 implementation for perl. It is intended for use in
3473 situations where it is desirable to install the minimal number of
3474 modules to achieve HTTP support. @code{HTTP::Lite} is ideal for
3475 CGI (or mod_perl) programs or for bundling for redistribution with
3476 larger packages where only HTTP GET and POST functionality are
3477 necessary. @code{HTTP::Lite} is compliant with the Host header,
3478 necessary for name based virtual hosting, and supports proxies.
3479 Additionally, @code{HTTP::Lite} supports a callback to allow
3480 processing of request data as it arrives.")
3481 (license license:perl-license)))
3483 (define-public perl-http-message
3485 (name "perl-http-message")
3490 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3494 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3495 (build-system perl-build-system)
3497 `(("perl-try-tiny" ,perl-try-tiny)))
3499 `(("perl-encode-locale" ,perl-encode-locale)
3500 ("perl-http-date" ,perl-http-date)
3501 ("perl-io-html" ,perl-io-html)
3502 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3503 ("perl-uri" ,perl-uri)))
3504 (license license:perl-license)
3505 (synopsis "Perl HTTP style message")
3507 "An HTTP::Message object contains some headers and a content body.")
3508 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3510 (define-public perl-http-negotiate
3512 (name "perl-http-negotiate")
3517 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3521 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3522 (build-system perl-build-system)
3524 `(("perl-http-message" ,perl-http-message)))
3525 (license license:perl-license)
3526 (synopsis "Perl http content negotiation")
3528 "The HTTP::Negotiate module provides a complete implementation of the
3529 HTTP content negotiation algorithm specified in
3530 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3531 the selection of a preferred content representation based upon attributes
3532 of the negotiable variants and the value of the various Accept* header
3533 fields in the request.")
3534 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3536 (define-public perl-http-parser
3538 (name "perl-http-parser")
3543 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3544 "HTTP-Parser-" version ".tar.gz"))
3547 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3548 (build-system perl-build-system)
3550 `(("perl-http-message" ,perl-http-message)
3551 ("perl-uri" ,perl-uri)))
3552 (home-page "https://metacpan.org/release/HTTP-Parser")
3553 (synopsis "Parse HTTP/1.1 requests")
3554 (description "This is an HTTP request parser. It takes chunks of text as
3555 received and returns a @code{hint} as to what is required, or returns the
3556 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3558 (license license:perl-license)))
3560 (define-public perl-http-parser-xs
3562 (name "perl-http-parser-xs")
3567 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3568 "HTTP-Parser-XS-" version ".tar.gz"))
3571 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3572 (build-system perl-build-system)
3574 `(("perl-module-install" ,perl-module-install)))
3575 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3576 (synopsis "Fast HTTP request parser")
3577 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3579 (license license:perl-license)))
3581 (define-public perl-http-request-ascgi
3583 (name "perl-http-request-ascgi")
3588 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3589 "HTTP-Request-AsCGI-" version ".tar.gz"))
3592 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3593 (build-system perl-build-system)
3595 `(("perl-class-accessor" ,perl-class-accessor)
3596 ("perl-http-message" ,perl-http-message)))
3597 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3598 (synopsis "Set up a CGI environment from an HTTP::Request")
3599 (description "This module provides a convenient way to set up a CGI
3600 environment from an HTTP::Request.")
3601 (license license:perl-license)))
3603 (define-public perl-http-server-simple
3605 (name "perl-http-server-simple")
3610 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3611 "HTTP-Server-Simple-" version ".tar.gz"))
3614 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3615 (build-system perl-build-system)
3617 `(("perl-cgi" ,perl-cgi)))
3619 ;; See the discussion of a related tests issue at
3620 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3623 #:phases (modify-phases %standard-phases
3624 (add-before 'configure 'set-search-path
3626 ;; Work around "dotless @INC" build failure.
3628 (string-append (getcwd) ":"
3629 (getenv "PERL5LIB")))
3631 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3632 (synopsis "Lightweight HTTP server")
3633 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3634 no non-core module dependencies. It can be used for building a standalone
3635 http-based UI to your existing tools.")
3636 (license license:perl-license)))
3638 (define-public perl-http-tiny
3640 (name "perl-http-tiny")
3645 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3646 "HTTP-Tiny-" version ".tar.gz"))
3649 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3650 (build-system perl-build-system)
3652 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3653 ("perl-io-socket-ip" ,perl-io-socket-ip)
3654 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3655 ("perl-mozilla-ca" ,perl-mozilla-ca)
3656 ("perl-net-ssleay" ,perl-net-ssleay)))
3657 (home-page "https://metacpan.org/release/HTTP-Tiny")
3658 (synopsis "HTTP/1.1 client")
3659 (description "This is a very simple HTTP/1.1 client, designed for doing
3660 simple requests without the overhead of a large framework like LWP::UserAgent.
3661 It supports proxies and redirection. It also correctly resumes after EINTR.")
3662 (license license:perl-license)))
3664 (define-public perl-http-tinyish
3666 (name "perl-http-tinyish")
3672 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3677 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3678 (build-system perl-build-system)
3680 `(("perl-file-which" ,perl-file-which)
3681 ("perl-ipc-run3" ,perl-ipc-run3)))
3682 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3683 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3685 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3686 @code{HTTP::Tiny}, curl and wget.
3688 It provides an API compatible to HTTP::Tiny.")
3689 (license license:perl-license)))
3691 (define-public perl-io-html
3693 (name "perl-io-html")
3698 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3702 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3703 (build-system perl-build-system)
3704 (license license:perl-license)
3705 (synopsis "Perl module to open an HTML file with automatic charset detection")
3707 "IO::HTML provides an easy way to open a file containing HTML while
3708 automatically determining its encoding. It uses the HTML5 encoding sniffing
3709 algorithm specified in section 8.2.2.1 of the draft standard.")
3710 (home-page "https://metacpan.org/release/IO-HTML")))
3712 (define-public perl-io-socket-ip
3714 (name "perl-io-socket-ip")
3719 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3720 "IO-Socket-IP-" version ".tar.gz"))
3722 (base32 "0ihlpxrkq1xrvhnq52nhghanskic718ch8kpp642afgq72i4b6l4"))))
3723 (build-system perl-build-system)
3724 (native-inputs `(("perl-module-build" ,perl-module-build)))
3725 (home-page "https://metacpan.org/release/IO-Socket-IP")
3726 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3727 (description "This module provides a protocol-independent way to use IPv4
3728 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3729 (license license:perl-license)))
3731 (define-public perl-io-socket-ssl
3733 (name "perl-io-socket-ssl")
3737 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3738 "IO-Socket-SSL-" version ".tar.gz"))
3741 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3742 (patches (search-patches
3743 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3744 (build-system perl-build-system)
3746 `(("perl-net-ssleay" ,perl-net-ssleay)
3748 ("perl-uri" ,perl-uri)))
3749 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3751 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3752 necessary functionality into the familiar IO::Socket interface and providing
3753 secure defaults whenever possible. This way existing applications can be made
3754 SSL-aware without much effort, at least if you do blocking I/O and don't use
3756 (license license:perl-license)
3757 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3759 (define-public perl-libwww
3761 (name "perl-libwww")
3766 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3770 "19k0cg4j4qz005a4ngy48z4r8dc99dxlpq8kvj7qnk15mvgd1r63"))))
3771 (build-system perl-build-system)
3773 `(("perl-test-fatal" ,perl-test-fatal)
3774 ("perl-test-needs" ,perl-test-needs)
3775 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3777 `(("perl-encode-locale" ,perl-encode-locale)
3778 ("perl-file-listing" ,perl-file-listing)
3779 ("perl-html-parser" ,perl-html-parser)
3780 ("perl-http-cookies" ,perl-http-cookies)
3781 ("perl-http-daemon" ,perl-http-daemon)
3782 ("perl-http-date" ,perl-http-date)
3783 ("perl-http-message" ,perl-http-message)
3784 ("perl-http-negotiate" ,perl-http-negotiate)
3785 ("perl-net-http" ,perl-net-http)
3786 ("perl-try-tiny" ,perl-try-tiny)
3787 ("perl-uri" ,perl-uri)
3788 ("perl-www-robotrules" ,perl-www-robotrules)))
3789 (license license:perl-license)
3790 (synopsis "Perl modules for the WWW")
3792 "The libwww-perl collection is a set of Perl modules which provides a
3793 simple and consistent application programming interface to the
3794 World-Wide Web. The main focus of the library is to provide classes
3795 and functions that allow you to write WWW clients. The library also
3796 contains modules that are of more general use and even classes that
3797 help you implement simple HTTP servers.")
3798 (home-page "https://metacpan.org/release/libwww-perl")))
3800 (define-public perl-lwp-online
3802 (name "perl-lwp-online")
3808 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3812 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3813 (build-system perl-build-system)
3815 `(("perl-libwww" ,perl-libwww)
3816 ("perl-uri" ,perl-uri)))
3818 `(("perl-module-install" ,perl-module-install)))
3819 (home-page "https://metacpan.org/release/LWP-Online")
3820 (synopsis "Checks whether your process has access to the web")
3821 (description "This module attempts to answer, as accurately as it can, one
3822 of the nastiest technical questions there is: am I on the internet?
3824 A host of networking and security issues make this problem very difficult.
3825 There are firewalls, proxies (both well behaved and badly behaved). We might
3826 not have DNS. We might not have a network card at all!")
3827 (license license:perl-license)))
3829 (define-public perl-lwp-mediatypes
3831 (name "perl-lwp-mediatypes")
3836 "mirror://cpan/authors/id/O/OA/OALDERS/LWP-MediaTypes-"
3840 "1n8rg6csv3dsvymg06cmxipimr6cb1g9r903ghm1qsmiv89cl6wg"))))
3841 (build-system perl-build-system)
3843 `(("perl-test-fatal" ,perl-test-fatal)))
3844 (license license:perl-license)
3845 (synopsis "Perl module to guess the media type for a file or a URL")
3847 "The LWP::MediaTypes module provides functions for handling media (also
3848 known as MIME) types and encodings. The mapping from file extensions to
3849 media types is defined by the media.types file. If the ~/.media.types file
3850 exists it is used instead.")
3851 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3853 (define-public perl-lwp-protocol-https
3855 (name "perl-lwp-protocol-https")
3860 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3861 "LWP-Protocol-https-" version ".tar.gz"))
3863 (base32 "14pm785cgyrnppks6ccasb2vkqifh0a8fz36nmnhc2v926jy3kqn"))))
3864 (build-system perl-build-system)
3867 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3869 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3870 ("perl-libwww" ,perl-libwww)
3871 ("perl-mozilla-ca" ,perl-mozilla-ca)
3872 ("perl-net-http" ,perl-net-http)))
3873 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3874 (synopsis "HTTPS support for LWP::UserAgent")
3875 (description "The LWP::Protocol::https module provides support for using
3876 https schemed URLs with LWP.")
3877 (license license:perl-license)))
3879 (define-public perl-lwp-useragent-cached
3881 (name "perl-lwp-useragent-cached")
3886 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3887 "LWP-UserAgent-Cached-" version ".tar.gz"))
3890 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3891 (build-system perl-build-system)
3893 `(("perl-libwww" ,perl-libwww)))
3894 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3895 (synopsis "Simple caching for LWP::UserAgent")
3896 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3897 cache support. It returns responses from the local file system, if available,
3898 instead of making an HTTP request.")
3899 (license license:perl-license)))
3901 (define-public perl-lwp-useragent-determined
3903 (name "perl-lwp-useragent-determined")
3908 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3909 "LWP-UserAgent-Determined-" version ".tar.gz"))
3912 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3913 (build-system perl-build-system)
3915 `(("perl-libwww" ,perl-libwww)))
3916 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3917 (synopsis "Virtual browser that retries errors")
3918 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3919 except that when you use it to get a web page but run into a
3920 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3921 and retry a few times.")
3922 (license license:perl-license)))
3924 (define-public perl-lwpx-paranoidagent
3926 (name "perl-lwpx-paranoidagent")
3932 "mirror://cpan/authors/id/S/SA/SAXJAZMAN/lwp/LWPx-ParanoidAgent-"
3936 "0gfhw3jbs25yya2dryv8xvyn9myngcfcmsybj7gkq62fnznil16c"))))
3937 (build-system perl-build-system)
3939 `(("perl-libwww" ,perl-libwww)
3940 ;; Users should instead make sure SSL_ca_path is set properly.
3941 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3942 ("perl-net-dns" ,perl-net-dns)))
3943 (home-page "https://metacpan.org/release/LWPx-ParanoidAgent")
3944 (synopsis "Security enhanced subclass of LWP::UserAgent")
3945 (description "@code{LWPx::ParanoidAgent} is a class subclassing
3946 @code{LWP::UserAgent} but paranoid against attackers. Its purpose is
3947 to vet requests for a remote resource on behalf of a possibly
3948 malicious user. The class can do the same as @code{LWP::UserAgent},
3949 except that proxy support has been removed. Support for URI schemes
3950 is limited to http and https.")
3951 (license license:perl-license)))
3953 (define-public perl-net-amazon-s3
3955 (name "perl-net-amazon-s3")
3960 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3961 "Net-Amazon-S3-" version ".tar.gz"))
3964 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3965 (patches (search-patches
3966 "perl-net-amazon-s3-moose-warning.patch"))))
3967 (build-system perl-build-system)
3969 `(("perl-libwww" ,perl-libwww)
3970 ("perl-test-exception" ,perl-test-exception)))
3972 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3973 ("perl-datetime-format-http" ,perl-datetime-format-http)
3974 ("perl-digest-hmac" ,perl-digest-hmac)
3975 ("perl-digest-md5-file" ,perl-digest-md5-file)
3976 ("perl-file-find-rule" ,perl-file-find-rule)
3977 ("perl-http-date" ,perl-http-date)
3978 ("perl-http-message" ,perl-http-message)
3979 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3980 ("perl-mime-types" ,perl-mime-types)
3981 ("perl-moose" ,perl-moose)
3982 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3983 ("perl-moosex-types-datetime-morecoercions"
3984 ,perl-moosex-types-datetime-morecoercions)
3985 ("perl-path-class" ,perl-path-class)
3986 ("perl-regexp-common" ,perl-regexp-common)
3987 ("perl-term-encoding" ,perl-term-encoding)
3988 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3989 ("perl-uri" ,perl-uri)
3990 ("perl-xml-libxml" ,perl-xml-libxml)))
3991 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3992 (synopsis "Perl interface to Amazon S3")
3993 (description "This module provides a Perlish interface to Amazon S3.")
3994 (license license:perl-license)))
3996 (define-public perl-net-http
3998 (name "perl-net-http")
4003 "mirror://cpan/authors/id/O/OA/OALDERS/"
4004 "Net-HTTP-" version ".tar.gz"))
4007 "07lzfycza7qqxli18xgsnqwiwxapl0b64z33wfw62aai4hm7nllj"))))
4008 (build-system perl-build-system)
4010 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
4011 ("perl-uri" ,perl-uri)))
4012 (license license:perl-license)
4013 (synopsis "Perl low-level HTTP connection (client)")
4015 "The Net::HTTP class is a low-level HTTP client. An instance of the
4016 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
4017 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
4019 (home-page "https://metacpan.org/release/Net-HTTP")))
4021 (define-public perl-net-server
4023 (name "perl-net-server")
4028 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
4029 "Net-Server-" version ".tar.gz"))
4032 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
4033 (build-system perl-build-system)
4034 (home-page "https://metacpan.org/release/Net-Server")
4035 (synopsis "Extensible Perl server engine")
4036 (description "Net::Server is an extensible, generic Perl server engine.
4037 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
4038 It includes with it the ability to run as an inetd
4039 process (Net::Server::INET), a single connection server (Net::Server or
4040 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
4041 server which maintains a constant number of preforked
4042 children (Net::Server::PreForkSimple), or as a managed preforking server which
4043 maintains the number of children based on server load (Net::Server::PreFork).
4044 In all but the inetd type, the server provides the ability to connect to one
4045 or to multiple server ports.")
4046 (license license:perl-license)))
4048 (define-public perl-net-smtp-ssl
4050 (name "perl-net-smtp-ssl")
4055 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
4056 "Net-SMTP-SSL-" version ".tar.gz"))
4059 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
4060 (build-system perl-build-system)
4062 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
4063 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
4064 (synopsis "SSL support for Net::SMTP")
4065 (description "SSL support for Net::SMTP.")
4066 (license license:perl-license)))
4068 (define-public perl-plack
4075 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4076 "Plack-" version ".tar.gz"))
4079 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
4080 (build-system perl-build-system)
4082 `(("perl-test-requires" ,perl-test-requires)
4083 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
4085 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
4086 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
4087 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
4088 ("perl-file-sharedir" ,perl-file-sharedir)
4089 ("perl-hash-multivalue" ,perl-hash-multivalue)
4090 ("perl-http-body" ,perl-http-body)
4091 ("perl-http-message" ,perl-http-message)
4092 ("perl-http-tiny" ,perl-http-tiny)
4093 ("perl-libwww" ,perl-libwww)
4094 ("perl-stream-buffered" ,perl-stream-buffered)
4095 ("perl-test-tcp" ,perl-test-tcp)
4096 ("perl-try-tiny" ,perl-try-tiny)
4097 ("perl-uri" ,perl-uri)))
4098 (home-page "https://metacpan.org/release/Plack")
4099 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
4100 (description "Plack is a set of tools for using the PSGI stack. It
4101 contains middleware components, a reference server, and utilities for Web
4102 application frameworks. Plack is like Ruby's Rack or Python's Paste for
4104 (license license:perl-license)))
4106 (define-public perl-plack-middleware-deflater
4108 (name "perl-plack-middleware-deflater")
4114 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
4115 "Plack-Middleware-Deflater-" version ".tar.gz"))
4118 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
4119 (build-system perl-build-system)
4121 `(("perl-module-install" ,perl-module-install)
4122 ("perl-test-requires" ,perl-test-requires)))
4124 `(("perl-plack" ,perl-plack)))
4125 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
4126 (synopsis "Compress response body with Gzip or Deflate")
4128 "Plack::Middleware::Deflater is a middleware to encode your response body
4129 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
4130 would save the bandwidth a little bit but should increase the Plack server
4131 load, so ideally you should handle this on the frontend reverse proxy
4133 (license license:perl-license)))
4135 (define-public perl-plack-middleware-fixmissingbodyinredirect
4137 (name "perl-plack-middleware-fixmissingbodyinredirect")
4142 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4143 "Plack-Middleware-FixMissingBodyInRedirect-"
4147 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
4148 (build-system perl-build-system)
4150 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
4151 ("perl-http-message" ,perl-http-message)
4152 ("perl-plack" ,perl-plack))) ;for Plack::Test
4154 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
4155 (synopsis "Plack::Middleware which sets body for redirect response")
4156 (description "This module sets the body in redirect response, if it's not
4158 (license license:perl-license)))
4160 (define-public perl-plack-middleware-methodoverride
4162 (name "perl-plack-middleware-methodoverride")
4167 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4168 "Plack-Middleware-MethodOverride-"
4171 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
4172 (build-system perl-build-system)
4174 `(("perl-module-build" ,perl-module-build)))
4176 `(("perl-plack" ,perl-plack)))
4177 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
4178 (synopsis "Override REST methods to Plack apps via POST")
4179 (description "This middleware allows for POST requests that pretend to be
4180 something else: by adding either a header named X-HTTP-Method-Override to the
4181 request, or a query parameter named x-tunneled-method to the URI, the client
4182 can say what method it actually meant.")
4183 (license license:perl-license)))
4185 (define-public perl-plack-middleware-removeredundantbody
4187 (name "perl-plack-middleware-removeredundantbody")
4192 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4193 "Plack-Middleware-RemoveRedundantBody-"
4196 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
4197 (build-system perl-build-system)
4199 `(("perl-plack" ,perl-plack)))
4201 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
4202 (synopsis "Plack::Middleware which removes body for HTTP response")
4203 (description "This module removes the body in an HTTP response if it's not
4205 (license license:perl-license)))
4207 (define-public perl-plack-middleware-reverseproxy
4209 (name "perl-plack-middleware-reverseproxy")
4214 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4215 "Plack-Middleware-ReverseProxy-"
4218 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
4219 (build-system perl-build-system)
4221 `(("perl-module-install" ,perl-module-install)))
4223 `(("perl-plack" ,perl-plack)))
4224 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
4225 (synopsis "Supports app to run as a reverse proxy backend")
4226 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
4227 which are changed by reverse-proxy. You can specify the reverse proxy address
4228 and stop fake requests using @code{enable_if} directive in your app.psgi.")
4229 (license license:perl-license)))
4231 (define-public perl-plack-test-externalserver
4233 (name "perl-plack-test-externalserver")
4238 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
4239 "Plack-Test-ExternalServer-" version ".tar.gz"))
4241 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
4242 (build-system perl-build-system)
4244 `(("perl-plack" ,perl-plack)))
4245 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
4246 (synopsis "Run HTTP tests on external live servers")
4247 (description "This module allows your to run your Plack::Test tests
4248 against an external server instead of just against a local application through
4249 either mocked HTTP or a locally spawned server.")
4250 (license license:perl-license)))
4252 (define-public perl-test-tcp
4254 (name "perl-test-tcp")
4259 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4260 "Test-TCP-" version ".tar.gz"))
4262 (base32 "0mvv9rqwrwlcfh8qrs0s47p85rhlnw15d4gbpyi802bddp0c6lry"))))
4263 (build-system perl-build-system)
4265 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
4266 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
4267 (home-page "https://metacpan.org/release/Test-TCP")
4268 (synopsis "Testing TCP programs")
4269 (description "Test::TCP is test utilities for TCP/IP programs.")
4270 (license license:perl-license)))
4272 (define-public perl-test-www-mechanize
4274 (name "perl-test-www-mechanize")
4279 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
4280 "Test-WWW-Mechanize-" version ".tar.gz"))
4282 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
4283 (build-system perl-build-system)
4285 `(("perl-carp-assert-more" ,perl-carp-assert-more)
4286 ("perl-html-form" ,perl-html-form)
4287 ("perl-html-lint" ,perl-html-lint)
4288 ("perl-http-server-simple" ,perl-http-server-simple)
4289 ("perl-libwww" ,perl-libwww)
4290 ("perl-test-longstring" ,perl-test-longstring)
4291 ("perl-www-mechanize" ,perl-www-mechanize)))
4292 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
4293 (synopsis "Testing-specific WWW::Mechanize subclass")
4294 (description "Test::WWW::Mechanize is a subclass of the Perl module
4295 WWW::Mechanize that incorporates features for web application testing.")
4296 (license license:artistic2.0)))
4298 (define-public perl-test-www-mechanize-catalyst
4300 (name "perl-test-www-mechanize-catalyst")
4305 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
4306 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
4308 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
4309 (build-system perl-build-system)
4311 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
4312 ("perl-catalyst-plugin-session-state-cookie"
4313 ,perl-catalyst-plugin-session-state-cookie)
4314 ("perl-module-install" ,perl-module-install)
4315 ("perl-test-exception" ,perl-test-exception)
4316 ("perl-test-pod" ,perl-test-pod)
4317 ("perl-test-utf8" ,perl-test-utf8)))
4319 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4320 ("perl-class-load" ,perl-class-load)
4321 ("perl-libwww" ,perl-libwww)
4322 ("perl-moose" ,perl-moose)
4323 ("perl-namespace-clean" ,perl-namespace-clean)
4324 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4325 ("perl-www-mechanize" ,perl-www-mechanize)))
4326 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4327 (synopsis "Test::WWW::Mechanize for Catalyst")
4328 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4329 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4330 testing of Catalyst applications without needing to start up a web server.")
4331 (license license:perl-license)))
4333 (define-public perl-test-www-mechanize-psgi
4335 (name "perl-test-www-mechanize-psgi")
4340 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4341 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4344 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4345 (build-system perl-build-system)
4347 `(("perl-test-pod" ,perl-test-pod)))
4349 `(("perl-plack" ,perl-plack)
4350 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4351 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4352 (synopsis "Test PSGI programs using WWW::Mechanize")
4353 (description "PSGI is a specification to decouple web server environments
4354 from web application framework code. Test::WWW::Mechanize is a subclass of
4355 WWW::Mechanize that incorporates features for web application testing. The
4356 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4358 (license license:perl-license)))
4360 (define-public perl-uri
4366 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4367 "URI-" version ".tar.gz"))
4370 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4371 (build-system perl-build-system)
4374 `(("perl-test-needs" ,perl-test-needs)))
4375 (license license:perl-license)
4376 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4378 "The URI module implements the URI class. Objects of this class
4379 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4380 and updated by RFC 2732.")
4381 (home-page "https://metacpan.org/release/URI")))
4383 (define-public perl-uri-fetch
4385 (name "perl-uri-fetch")
4389 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4390 "URI-Fetch-" version ".tar.gz"))
4393 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4394 (build-system perl-build-system)
4396 `(#:tests? #f)) ; Tests require internet connection to succeed
4398 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4399 ("perl-libwww" ,perl-libwww)
4400 ("perl-uri" ,perl-uri)))
4401 (home-page "https://metacpan.org/release/URI-Fetch")
4402 (synopsis "Smart URI fetching/caching")
4403 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4404 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4405 and time-saving way.")
4406 (license license:perl-license)))
4408 (define-public perl-uri-find
4410 (name "perl-uri-find")
4411 (version "20160806")
4415 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4416 "URI-Find-" version ".tar.gz"))
4419 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4420 (build-system perl-build-system)
4422 `(("perl-module-build" ,perl-module-build)))
4424 `(("perl-uri" ,perl-uri)))
4425 (home-page "https://metacpan.org/release/URI-Find")
4426 (synopsis "Find URIs in arbitrary text")
4427 (description "This module finds URIs and URLs (according to what URI.pm
4428 considers a URI) in plain text. It only finds URIs which include a
4429 scheme (http:// or the like), for something a bit less strict, consider
4430 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4431 (license license:perl-license)))
4433 (define-public perl-uri-ws
4435 (name "perl-uri-ws")
4440 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4441 "URI-ws-" version ".tar.gz"))
4444 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4445 (build-system perl-build-system)
4447 `(("perl-uri" ,perl-uri)))
4448 (home-page "https://metacpan.org/release/URI-ws")
4449 (synopsis "WebSocket support for URI package")
4450 (description "With this module, the URI package provides the same set of
4451 methods for WebSocket URIs as it does for HTTP URIs.")
4452 (license license:perl-license)))
4454 (define-public perl-uri-template
4456 (name "perl-uri-template")
4460 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4464 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4465 (build-system perl-build-system)
4467 `(("perl-uri" ,perl-uri)))
4469 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4470 ("perl-test-pod" ,perl-test-pod)
4471 ("perl-module-install" ,perl-module-install)
4472 ("perl-json" ,perl-json)))
4473 (home-page "https://metacpan.org/release/URI-Template")
4474 (synopsis "Object for handling URI templates")
4475 (description "This perl module provides a wrapper around URI templates as described in
4477 (license license:perl-license)))
4479 (define-public perl-www-curl
4481 (name "perl-www-curl")
4486 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4488 (patches (search-patches "perl-www-curl-fix-struct-void.patch"
4489 "perl-www-curl-remove-symbol.patch"))
4492 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4493 (build-system perl-build-system)
4495 '(#:tests? #f ;XXX: tests require network access
4496 #:phases (modify-phases %standard-phases
4497 (add-before 'configure 'set-search-path
4499 ;; Work around "dotless @INC" build failure.
4501 (string-append (getcwd) ":"
4502 (getenv "PERL5LIB")))
4505 `(("perl-module-install" ,perl-module-install)))
4506 (inputs `(("curl" ,curl)))
4507 (synopsis "Perl extension interface for libcurl")
4509 "This is a Perl extension interface for the libcurl file downloading
4511 (license license:perl-license)
4512 (home-page "https://metacpan.org/release/WWW-Curl")))
4514 (define-public perl-www-mechanize
4516 (name "perl-www-mechanize")
4521 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4522 "WWW-Mechanize-" version ".tar.gz"))
4524 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4525 (build-system perl-build-system)
4526 (native-inputs ;only for tests
4527 `(("perl-cgi" ,perl-cgi)
4528 ("perl-test-deep" ,perl-test-deep)
4529 ("perl-test-fatal" ,perl-test-fatal)
4530 ("perl-test-output" ,perl-test-output)
4531 ("perl-test-warnings" ,perl-test-warnings)))
4533 `(("perl-html-form" ,perl-html-form)
4534 ("perl-html-parser" ,perl-html-parser)
4535 ("perl-html-tree" ,perl-html-tree)
4536 ("perl-http-message" ,perl-http-message)
4537 ("perl-http-server-simple" ,perl-http-server-simple)
4538 ("perl-libwww" ,perl-libwww)
4539 ("perl-test-warn" ,perl-test-warn)
4540 ("perl-uri" ,perl-uri)))
4541 (home-page "https://metacpan.org/release/WWW-Mechanize")
4542 (synopsis "Web browsing in a Perl object")
4543 (description "WWW::Mechanize is a Perl module for stateful programmatic
4544 web browsing, used for automating interaction with websites.")
4545 (license license:perl-license)))
4547 (define-public perl-www-opensearch
4549 (name "perl-www-opensearch")
4553 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4554 "WWW-OpenSearch-" version ".tar.gz"))
4557 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4558 (build-system perl-build-system)
4560 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4561 ("perl-datetime" ,perl-datetime)
4562 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4563 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4564 ("perl-feed-find" ,perl-feed-find)
4565 ("perl-module-install" ,perl-module-install)
4566 ("perl-module-pluggable" ,perl-module-pluggable)
4567 ("perl-uri-fetch" ,perl-uri-fetch)
4568 ("perl-test-simple" ,perl-test-simple)
4569 ("perl-xml-atom" ,perl-xml-atom)
4570 ("perl-xml-rss" ,perl-xml-rss)))
4572 `(("perl-data-page" ,perl-data-page)
4573 ("perl-libwww" ,perl-libwww)
4574 ("perl-uri" ,perl-uri)
4575 ("perl-uri-template" ,perl-uri-template)
4576 ("perl-xml-feed" ,perl-xml-feed)
4577 ("perl-xml-libxml" ,perl-xml-libxml)))
4578 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4579 (synopsis "Search A9 OpenSearch compatible engines")
4581 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4582 http://opensearch.a9.com} compatible search engines.")
4583 (license license:perl-license)))
4585 (define-public perl-www-robotrules
4587 (name "perl-www-robotrules")
4592 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4596 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4597 (build-system perl-build-system)
4599 `(("perl-uri" ,perl-uri)))
4600 (license license:perl-license)
4601 (synopsis "Perl database of robots.txt-derived permissions")
4603 "The WWW::RobotRules module parses /robots.txt files as specified in
4604 \"A Standard for Robot Exclusion\", at
4605 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4606 /robots.txt file to forbid conforming robots from accessing parts of
4608 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4610 (define-public python-feedparser
4612 (name "python-feedparser")
4617 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4620 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4621 (build-system python-build-system)
4625 "https://github.com/kurtmckee/feedparser")
4626 (synopsis "Parse feeds in Python")
4628 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4629 CDF, Atom 0.3, and Atom 1.0 feeds.")
4630 (license (list license:bsd-2 ; source code
4631 license:freebsd-doc)))) ; documentation
4633 (define-public python2-feedparser
4634 (package-with-python2 python-feedparser))
4636 (define-public guix-data-service
4637 (let ((commit "b7ba8d0c2ca3aca9ba5b5f9f27b9778ee949d20e")
4640 (name "guix-data-service")
4641 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4645 (url "https://git.savannah.gnu.org/git/guix/data-service.git/")
4647 (file-name (git-file-name name version))
4650 "0brv64bsqysl7dncz067blwvmqrlx99c2kwrgpz6k0nqv8nzsa28"))))
4651 (build-system gnu-build-system)
4653 '(#:modules ((guix build utils)
4654 (guix build gnu-build-system)
4659 #:test-target "check-with-tmp-database"
4661 (modify-phases %standard-phases
4662 (add-before 'build 'set-GUILE_AUTO_COMPILE
4664 ;; To avoid warnings relating to 'guild'.
4665 (setenv "GUILE_AUTO_COMPILE" "0")
4667 (add-after 'install 'wrap-executable
4668 (lambda* (#:key inputs outputs #:allow-other-keys)
4669 (let* ((out (assoc-ref outputs "out"))
4670 (bin (string-append out "/bin"))
4671 (guile (assoc-ref inputs "guile"))
4672 (guile-effective-version
4674 (open-pipe* OPEN_READ
4675 (string-append guile "/bin/guile")
4676 "-c" "(display (effective-version))")))
4677 (scm (string-append out "/share/guile/site/"
4678 guile-effective-version))
4679 (go (string-append out "/lib/guile/"
4680 guile-effective-version
4684 (simple-format (current-error-port)
4686 (string-append bin "/" file))
4687 (wrap-program (string-append bin "/" file)
4691 (map (lambda (input)
4693 (assoc-ref inputs input)
4698 `("GUILE_LOAD_PATH" ":" prefix
4699 (,scm ,(getenv "GUILE_LOAD_PATH")))
4700 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4701 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4707 (delete 'strip)))) ; As the .go files aren't compatible
4709 `(("guix" ,guile3.0-guix)
4710 ("guile-fibers" ,guile3.0-fibers)
4711 ("guile-json" ,guile3.0-json)
4712 ("guile-email" ,guile3.0-email)
4713 ("guile-prometheus" ,guile-prometheus)
4714 ("guile-squee" ,guile3.0-squee)
4715 ("ephemeralpg" ,ephemeralpg)
4716 ("util-linux" ,util-linux)
4717 ("postgresql" ,postgresql-11)
4718 ("sqitch" ,sqitch)))
4720 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
4721 ("autoconf" ,autoconf)
4722 ("automake" ,automake)
4723 ("emacs-minimal" ,emacs-minimal)
4724 ("emacs-htmlize" ,emacs-htmlize)
4725 ("pkg-config" ,pkg-config)))
4726 (synopsis "Store and provide data about GNU Guix")
4728 "The Guix Data Service stores data about GNU Guix, and provides this
4729 through a web interface. It supports listening to the guix-commits mailing
4730 list to find out about new revisions, then loads the data from these in to a
4731 PostgreSQL database.")
4732 (home-page "https://data.guix.gnu.org/")
4733 (license license:agpl3+))))
4735 (define-public gumbo-parser
4737 (name "gumbo-parser")
4742 (url "https://github.com/google/gumbo-parser")
4743 (commit (string-append "v" version))))
4744 (file-name (git-file-name name version))
4747 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4748 (build-system gnu-build-system)
4750 `(#:tests? #f)) ;tests require bundling googletest sources
4751 ;; The release tarball lacks the generated files.
4753 `(("autoconf" ,autoconf)
4754 ("automake" ,automake)
4755 ("libtool" ,libtool)))
4756 (home-page "https://github.com/google/gumbo-parser")
4757 (synopsis "HTML5 parsing library")
4759 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4760 a pure C99 library.")
4761 (license license:asl2.0)))
4763 (define-public uwsgi
4769 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4773 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4774 (build-system gnu-build-system)
4775 (outputs '("out" "python"))
4777 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4778 ;; But there is no obvious way to run the real tests.
4781 (modify-phases %standard-phases
4783 ;; Configuration is done by writing an ini file.
4784 (lambda* (#:key outputs #:allow-other-keys)
4785 (let* ((out (assoc-ref outputs "out"))
4786 (bindir (string-append out "/bin"))
4787 (plugindir (string-append out "/lib/uwsgi")))
4788 ;; The build phase outputs files to these directories directly.
4791 ;; XXX: Enable other plugins.
4792 (call-with-output-file "buildconf/guix.ini"
4794 (format port "[uwsgi]
4800 plugins = cgi,python
4802 " bindir plugindir))))
4803 (setenv "PROFILE" "guix")
4806 ;; Move plugins into their own output.
4807 (lambda* (#:key outputs #:allow-other-keys)
4808 (let* ((out (assoc-ref outputs "out"))
4809 (plugindir (string-append out "/lib/uwsgi"))
4810 (python-plugin (string-append
4811 plugindir "/python_plugin.so")))
4812 (install-file python-plugin
4814 (assoc-ref outputs "python") "/lib/uwsgi"))
4815 (delete-file python-plugin)
4818 `(("pkg-config" ,pkg-config)
4819 ("python" ,python-wrapper)))
4821 `(("jansson" ,jansson)
4822 ("libxml2" ,libxml2)
4823 ("libyaml" ,libyaml)
4824 ("openssl" ,openssl)
4828 ("python" ,python)))
4829 (home-page "https://uwsgi-docs.readthedocs.org/")
4830 (synopsis "Application container server")
4832 "uWSGI presents a complete stack for networked/clustered web applications,
4833 implementing message/object passing, caching, RPC and process management.
4834 It uses the uwsgi protocol for all the networking/interprocess communications.")
4835 (license license:gpl2+))) ; with linking exception
4844 (uri (string-append "https://github.com/stedolan/jq"
4845 "/releases/download/jq-" version
4846 "/jq-" version ".tar.gz"))
4848 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4849 (modules '((guix build utils)))
4852 ;; Remove bundled onigurama.
4853 (delete-file-recursively "modules")
4856 `(("oniguruma" ,oniguruma)))
4858 `(;; TODO fix gems to generate documentation
4860 ;;("bundler" ,bundler)
4861 ("valgrind" ,valgrind)))
4862 (build-system gnu-build-system)
4863 (home-page "https://stedolan.github.io/jq/")
4864 (synopsis "Command-line JSON processor")
4865 (description "jq is like sed for JSON data – you can use it to slice and
4866 filter and map and transform structured data with the same ease that sed, awk,
4867 grep and friends let you play with text. It is written in portable C. jq can
4868 mangle the data format that you have into the one that you want with very
4869 little effort, and the program to do so is often shorter and simpler than
4871 (license (list license:expat license:cc-by3.0))))
4874 (let ((revision "1")
4875 (commit "681d7bb639334bf485476f5872c5bdab10931f9a"))
4878 (version (git-version "0.4.0" revision commit))
4883 (url "https://github.com/ericchiang/pup")
4885 (file-name (git-file-name name version))
4887 (base32 "1hx1k0qlc1bq6gg5d4yprn4d7kvqzagg6mi5mvb39zdq6c4y17vr"))))
4888 (build-system go-build-system)
4890 `(#:import-path "github.com/ericchiang/pup"))
4891 (home-page "https://github.com/ericchiang/pup")
4892 (synopsis "Parse HTML at the command line")
4894 "@command{pup} is a command line tool for processing HTML. It reads
4895 from stdin, prints to stdout, and allows the user to filter parts of the page
4896 using CSS selectors. Inspired by @command{jq}, @command{pup} aims to be a
4897 fast and flexible way of exploring HTML from the terminal.")
4898 (license license:expat))))
4900 (define-public uhttpmock
4907 (uri (string-append "https://tecnocode.co.uk/downloads/uhttpmock/"
4908 "uhttpmock-" version ".tar.xz"))
4910 (base32 "0bqizz69hxk8rn4z57asz1d45vizl1rj6i5k3rzxn2x3qcik514h"))))
4911 (build-system glib-or-gtk-build-system)
4913 `(("gobject-introspection" ,gobject-introspection)
4915 ("glib-networking" ,glib-networking)
4916 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4917 ("pkg-config" ,pkg-config)))
4919 `(("libsoup" ,libsoup)))
4920 (home-page "https://gitlab.com/groups/uhttpmock")
4921 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4923 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4924 HTTPS. It provides a library, libuhttpmock, which implements recording and
4925 playback of HTTP request/response traces.")
4926 (license license:lgpl2.1+)))
4931 (version "2012-05-31")
4935 "http://www.home.unix-ag.org/simon/woof-"
4939 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4940 (build-system trivial-build-system)
4942 '(#:modules ((guix build utils))
4945 (use-modules (guix build utils))
4946 (let* ((source (assoc-ref %build-inputs "source"))
4947 (out (assoc-ref %outputs "out"))
4948 (bin (string-append out "/bin"))
4949 (python (assoc-ref %build-inputs "python")))
4951 (with-directory-excursion bin
4952 (copy-file source "woof")
4953 (patch-shebang "woof" (list (string-append python "/bin")))
4954 (chmod "woof" #o555))
4956 (inputs `(("python" ,python-2)))
4957 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4958 (synopsis "Single file web server")
4959 (description "Woof (Web Offer One File) is a small simple web server that
4960 can easily be invoked on a single file. Your partner can access the file with
4961 tools they trust (e.g. wget).")
4962 (license license:gpl2+)))
4964 (define netsurf-buildsystem
4966 (name "netsurf-buildsystem")
4971 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4972 "buildsystem-" version ".tar.gz"))
4975 "0alsmaig9ln8dgllb3z63gq90fiz75jz0ic71fi0k0k898qix14k"))))
4976 (build-system gnu-build-system)
4977 (inputs `(("perl" ,perl)))
4979 '(#:make-flags (list (string-append "PREFIX=" %output))
4980 #:tests? #f ;no tests
4981 #:phases (modify-phases %standard-phases
4984 (home-page "https://www.netsurf-browser.org")
4985 (synopsis "Build system for the Netsurf project")
4987 "This package provides the shared build system for Netsurf project
4989 (license license:expat)))
4991 (define netsurf-buildsystem-arguments
4992 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4993 "CC=gcc" "BUILD_CC=gcc"
4994 ,(string-append "PREFIX=" %output)
4995 ,(string-append "NSSHARED="
4996 (assoc-ref %build-inputs
4997 "netsurf-buildsystem")
4998 "/share/netsurf-buildsystem"))
4999 #:test-target "test"
5000 #:phases (modify-phases %standard-phases
5001 (delete 'configure))))
5003 (define-public libparserutils
5005 (name "libparserutils")
5010 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5011 name "-" version "-src.tar.gz"))
5014 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
5015 (build-system gnu-build-system)
5017 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5018 ("pkg-config" ,pkg-config)
5019 ("perl" ,perl))) ;for test harness
5020 (arguments netsurf-buildsystem-arguments)
5021 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
5022 (synopsis "Parser building library")
5024 "LibParserUtils is a library for building efficient parsers, written in
5025 C. It is developed as part of the NetSurf project.")
5026 (license license:expat)))
5028 (define-public hubbub
5035 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5036 "libhubbub-" version "-src.tar.gz"))
5039 "1dimfyblmym98qa1b80c5jslv2zk8r44xbdrgrsrw1n9wr9y4yly"))
5040 (patches (search-patches "hubbub-sort-entities.patch"))))
5041 (build-system gnu-build-system)
5043 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5044 ("pkg-config" ,pkg-config)
5045 ("doxygen" ,doxygen)
5046 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
5049 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
5050 (arguments netsurf-buildsystem-arguments)
5051 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
5052 (synopsis "HTML5 compliant parsing library")
5054 "Hubbub is an HTML5 compliant parsing library, written in C, which can
5055 parse both valid and invalid web content. It is developed as part of the
5057 (license license:expat)))
5059 (define-public ikiwiki
5062 (version "3.20200202.3")
5067 (url "git://git.ikiwiki.info/")
5069 (file-name (git-file-name name version))
5072 "0fphyqzlk9y8v9s89ypsmrnbhyymzrpc2w0liy0n4knc7kk2pabq"))
5075 ;; The POT file requires write permission during the build
5077 (chmod "po/ikiwiki.pot" #o644)
5079 (build-system perl-build-system)
5082 (modify-phases %standard-phases
5083 (add-after 'patch-source-shebangs 'patch-Makefiles
5085 (substitute* "Makefile.PL"
5086 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
5087 (with-directory-excursion "po"
5088 (substitute* "Makefile"
5089 (("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
5091 (add-before 'build 'set-modification-times
5092 ;; The wiki '--refresh' steps, which are executed during
5093 ;; the check phase, require recent timestamps on files in
5094 ;; the 'doc' and 'underlays' directories.
5096 (invoke "find" "doc" "underlays" "-type" "f" "-exec"
5099 (add-before 'check 'pre-check
5100 (lambda* (#:key inputs #:allow-other-keys)
5101 ;; Six tests use IPC::Run. For these tests the PERL5LIB
5102 ;; variable is needed in the runtime environment and also
5103 ;; in the search path list in the setup file.
5105 '("t/aggregate-file.t" "t/git-cgi.t" "t/git-untrusted.t"
5106 "t/passwordauth.t" "t/relativity.t" "t/wrapper-environ.t")
5107 (("(.*)\"perl\"(.*)$" _ prefix suffix)
5108 (string-append prefix "qw(env), 'PERL5LIB='.$ENV{PERL5LIB}"
5109 ", qw(perl)" suffix))
5110 (("(.*) PERL5LIB=(.*) perl(.*)$" _ prefix middle suffix)
5111 (string-append prefix "), 'PERL5LIB='.$ENV{PERL5LIB}.':"
5112 middle "', qw(perl" suffix))
5113 (("(.*)setup(.* )getcwd(.*)$" _ prefix middle suffix)
5114 (string-append prefix "setup" middle
5115 "$ENV{PERL5LIB}.':'.getcwd" suffix))
5116 (("^ENV(.*): '(.*)$" _ middle suffix)
5117 (string-append "ENV" middle
5118 ": '$ENV{PERL5LIB}:" suffix)))
5119 ;; XDG_DATA_DIRS is needed by the podcast.t test.
5120 (setenv "XDG_DATA_DIRS"
5121 (string-append (assoc-ref inputs "shared-mime-info")
5123 ;; CC is needed by IkiWiki/Wrapper.pm.
5126 (add-after 'install 'wrap-programs
5127 (lambda* (#:key outputs #:allow-other-keys)
5128 (let* ((out (assoc-ref outputs "out"))
5129 (bin (string-append out "/bin/"))
5130 (path (getenv "PERL5LIB")))
5131 (for-each (lambda (file)
5133 `("PERL5LIB" ":" prefix (,path))))
5138 ("gettext" ,gettext-minimal)
5139 ("subversion" ,subversion)
5143 ("mercurial" ,mercurial)))
5145 `(("python" ,python-wrapper)
5146 ("perl-authen-passphrase" ,perl-authen-passphrase)
5147 ("perl-cgi-simple" ,perl-cgi-simple)
5148 ("perl-db-file" ,perl-db-file)
5149 ("perl-file-mimeinfo" ,perl-file-mimeinfo)
5150 ("perl-html-tagset" ,perl-html-tagset)
5151 ("perl-image-magick" ,perl-image-magick)
5152 ("perl-ipc-run" ,perl-ipc-run)
5153 ("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
5154 ("perl-xml-feed" ,perl-xml-feed)
5155 ("perl-xml-sax" ,perl-xml-sax)
5156 ("perl-xml-twig" ,perl-xml-twig)
5157 ("perl-yaml-tiny" ,perl-yaml-tiny)
5160 `(("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
5161 ("perl-cgi-session" ,perl-cgi-session)
5162 ("perl-html-parser" ,perl-html-parser)
5163 ("perl-html-scrubber" ,perl-html-scrubber)
5164 ("perl-html-template" ,perl-html-template)
5165 ("perl-json" ,perl-json)
5166 ("perl-mail-sendmail" ,perl-mail-sendmail)
5167 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
5168 ("perl-timedate" ,perl-timedate)
5169 ("perl-uri" ,perl-uri)
5170 ("perl-xml-simple" ,perl-xml-simple)
5171 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
5172 (home-page "https://ikiwiki.info/")
5173 (synopsis "Wiki compiler, capable of generating HTML")
5175 "Ikiwiki is a wiki compiler, capable of generating a static set of web
5176 pages, but also incorporating dynamic features like a web based editor and
5178 (license license:gpl2+)))
5180 (define-public libwapcaplet
5182 (name "libwapcaplet")
5187 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5188 "libwapcaplet-" version "-src.tar.gz"))
5191 "0p0c2q9lsj4vs97aa7vjllfhw33zv3dpysdkjblzhib6dpfs2alv"))))
5192 (build-system gnu-build-system)
5194 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5195 ("pkg-config" ,pkg-config)
5196 ("check" ,check-0.14))) ;for tests
5197 (arguments netsurf-buildsystem-arguments)
5198 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
5199 (synopsis "String internment library")
5201 "LibWapcaplet provides a reference counted string internment system
5202 designed to store small strings and allow rapid comparison of them. It is
5203 developed as part of the Netsurf project.")
5204 (license license:expat)))
5206 (define-public libcss
5213 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5214 "libcss-" version "-src.tar.gz"))
5217 "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
5218 (build-system gnu-build-system)
5220 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5221 ("pkg-config" ,pkg-config)
5223 (propagated-inputs ;needed for libcss.pc
5224 `(("libparserutils" ,libparserutils)
5225 ("libwapcaplet" ,libwapcaplet)))
5226 (arguments netsurf-buildsystem-arguments)
5227 (home-page "https://www.netsurf-browser.org/projects/libcss/")
5228 (synopsis "CSS parser and selection library")
5230 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
5231 written in C. It is developed as part of the NetSurf project.")
5232 (license license:expat)))
5234 (define-public libcyaml
5242 (url "https://github.com/tlsa/libcyaml")
5243 (commit (string-append "v" version))))
5244 (file-name (git-file-name name version))
5245 (patches (search-patches "libcyaml-libyaml-compat.patch"))
5247 (base32 "0428p0rwq71nhh5nzcbapsbrjxa0x5l6h6ns32nxv7j624f0zd93"))))
5248 (build-system gnu-build-system)
5251 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5252 (string-append "CC=gcc"))
5254 (modify-phases %standard-phases
5255 (delete 'configure) ; no configure script
5259 (invoke "make" "test"))))))
5261 `(("libyaml" ,libyaml)))
5263 `(("pkg-config" ,pkg-config)))
5264 (synopsis "C library for reading and writing YAML")
5266 "LibCYAML is a C library written in ISO C11 for reading and writing
5267 structured YAML documents. The fundamental idea behind CYAML is to allow
5268 applications to construct schemas which describe both the permissible
5269 structure of the YAML documents to read/write, and the C data structure(s)
5270 in which the loaded data is arranged in memory.")
5271 (home-page "https://github.com/tlsa/libcyaml")
5272 (license license:isc)))
5274 (define-public libdom
5281 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5282 "libdom-" version "-src.tar.gz"))
5285 "0jpg5hx3y0mdxk5szd47dyijqimd2321brbqk2620pp5f4j0gvlq"))))
5286 (build-system gnu-build-system)
5288 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5289 ("pkg-config" ,pkg-config)
5290 ("perl" ,perl) ;for test harness
5291 ("perl-libxml" ,perl-libxml)
5292 ("perl-switch" ,perl-switch)
5293 ("perl-xml-xpath" ,perl-xml-xpath)))
5295 `(("libparserutils" ,libparserutils)
5296 ("libwapcaplet" ,libwapcaplet)))
5298 `(("expat" ,expat) ;needed for headers and linking
5299 ("hubbub" ,hubbub))) ;for libdom.pc
5301 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
5302 ,@netsurf-buildsystem-arguments))
5303 (home-page "https://www.netsurf-browser.org/projects/libdom/")
5304 (synopsis "Implementation of the W3C DOM")
5306 "LibDOM is an implementation of the W3C DOM, written in C. It is
5307 developed as part of the NetSurf project.")
5308 (license license:expat)))
5310 (define-public libsvgtiny
5317 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5318 name "-" version "-src.tar.gz"))
5321 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
5322 (build-system gnu-build-system)
5324 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5325 ("pkg-config" ,pkg-config)
5326 ("gperf" ,gperf-3.0)))
5328 `(("libwapcaplet" ,libwapcaplet)))
5330 `(("libdom" ,libdom))) ;for libsvgtiny.pc
5331 (arguments netsurf-buildsystem-arguments)
5332 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
5333 (synopsis "Library for parsing SVG files")
5335 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
5336 which can be rendered easily, as defined in
5337 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
5339 (license license:expat)))
5341 (define-public libnsbmp
5348 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5349 name "-" version "-src.tar.gz"))
5352 "0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r"))))
5353 (build-system gnu-build-system)
5355 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5356 (arguments netsurf-buildsystem-arguments)
5357 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
5358 (synopsis "Decoding library for BMP and ICO files")
5360 "Libnsbmp is a decoding library for BMP and ICO image file formats,
5361 written in C. It is developed as part of the NetSurf project.")
5362 (license license:expat)))
5364 (define-public libnsgif
5371 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5372 name "-" version "-src.tar.gz"))
5375 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
5376 (build-system gnu-build-system)
5378 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5379 (arguments netsurf-buildsystem-arguments)
5380 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
5381 (synopsis "Decoding library for GIF files")
5383 "Libnsgif is a decoding library for the GIF image file format, written in
5384 C. It is developed as part of the NetSurf project.")
5385 (license license:expat)))
5387 (define-public libnslog
5394 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5395 "libnslog-" version "-src.tar.gz"))
5398 "1l2k0kdv9iv18svhv360vszjavhl4g09cp8a8yb719pgsylxr67w"))))
5399 (build-system gnu-build-system)
5401 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5402 ("pkg-config" ,pkg-config)
5403 ("check" ,check) ; For tests
5406 (arguments netsurf-buildsystem-arguments)
5407 (home-page "https://www.netsurf-browser.org/")
5408 (synopsis "Logging library")
5410 "Libnslog provides a category-based logging library which supports
5411 complex logging filters, multiple log levels, and provides context through to
5412 client applications. It is developed as part of the NetSurf project.")
5413 (license license:expat)))
5415 (define-public libnsutils
5422 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5423 name "-" version "-src.tar.gz"))
5426 "1w5fyy2i60a3v3if3iqcn9sy9sycx6966rcx53v85gja6hb6a33r"))))
5427 (build-system gnu-build-system)
5429 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5430 (arguments netsurf-buildsystem-arguments)
5431 (home-page "https://www.netsurf-browser.org/")
5432 (synopsis "Utility library for NetSurf")
5434 "Libnsutils provides a small number of useful utility routines. It is
5435 developed as part of the NetSurf project.")
5436 (license license:expat)))
5438 (define-public libnspsl
5445 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5446 "libnspsl-" version "-src.tar.gz"))
5449 "02q28n5i6fwqcz1nn167rb71k1q95mx38mfah6zi1lvqrc2q5ifk"))))
5450 (build-system gnu-build-system)
5452 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5453 (arguments netsurf-buildsystem-arguments)
5454 (home-page "https://www.netsurf-browser.org/")
5455 (synopsis "Library to generate a static Public Suffix List")
5457 "Libnspsl is a library to generate a static code representation of the
5458 Public Suffix List. It is developed as part of the NetSurf project.")
5459 (license license:expat)))
5461 (define-public nsgenbind
5468 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5469 "nsgenbind-" version "-src.tar.gz"))
5472 "1cqwgwca49jvmijwiyaab2bwxicgxdrnlpinf8kp3nha02nm73ad"))))
5473 (build-system gnu-build-system)
5475 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5479 (substitute-keyword-arguments netsurf-buildsystem-arguments
5480 ((#:make-flags flags)
5481 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5482 (home-page "https://www.netsurf-browser.org/")
5483 (synopsis "Generate JavaScript to DOM bindings")
5485 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5486 w3c webidl files and a binding configuration file.")
5487 (license license:expat)))
5489 (define-public netsurf
5496 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5497 "releases/source/netsurf-" version "-src.tar.gz"))
5500 "0plra64c5xyiw12yx2q13brxsv8apmany97zqa2lcqckw4ll8j1n"))
5501 (patches (search-patches "netsurf-system-utf8proc.patch"
5502 "netsurf-y2038-tests.patch"
5503 "netsurf-longer-test-timeout.patch"
5504 "netsurf-message-timestamp.patch"))))
5505 (build-system glib-or-gtk-build-system)
5507 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5508 ("nsgenbind" ,nsgenbind)
5509 ("libidn" ,libidn) ;only for tests
5512 ("perl-html-parser" ,perl-html-parser)
5513 ("pkg-config" ,pkg-config)
5518 ("openssl" ,openssl)
5519 ("utf8proc" ,utf8proc)
5521 ("libjpeg" ,libjpeg-turbo)
5524 ("libnsbmp" ,libnsbmp)
5525 ("libnsgif" ,libnsgif)
5526 ("libnslog" ,libnslog)
5527 ("libnspsl" ,libnspsl)
5528 ("libnsutils" ,libnsutils)
5529 ("libsvgtiny" ,libsvgtiny)
5530 ("miscfiles" ,miscfiles)))
5532 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5534 ,(string-append "PREFIX=" %output)
5535 ,(string-append "NSSHARED="
5536 (assoc-ref %build-inputs
5537 "netsurf-buildsystem")
5538 "/share/netsurf-buildsystem"))
5539 #:test-target "test"
5540 #:modules ((ice-9 rdelim)
5544 ,@%glib-or-gtk-build-system-modules)
5546 (modify-phases %standard-phases
5548 (add-after 'build 'adjust-welcome
5550 (substitute* "frontends/gtk/res/welcome.html"
5551 ;; Close some XHTML tags.
5552 (("<(img|input)([^>]*)>" _ tag contents)
5553 (string-append "<" tag contents " />"))
5554 ;; Increase freedom.
5555 ((" open source") ", free software")
5556 ;; Prefer a more privacy-respecting default search engine.
5557 (("www.google.co.uk") "www.duckduckgo.com/html")
5558 (("Google Search") "DuckDuckGo Search")
5559 (("name=\"btnG\"") ""))
5560 ;; Remove default links so it doesn't seem we're endorsing them.
5561 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5563 ;; Leave the DOCTYPE header as is.
5564 (display (read-line in 'concat) out)
5566 (let rec ((sxml (xml->sxml in
5567 #:default-entity-handler
5569 (string-append "<ENTITY>"
5570 (symbol->string name)
5572 ;; We'd like to use sxml-match here, but it can't
5573 ;; match against generic tag symbols...
5575 (`(div (@ (class "links")) . ,rest)
5584 (add-before 'check 'patch-check
5585 (lambda* (#:key inputs #:allow-other-keys)
5586 (substitute* '("test/bloom.c" "test/hashtable.c")
5587 (("/usr/share/dict/words")
5588 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5590 (add-after 'install 'install-more
5591 (lambda* (#:key outputs #:allow-other-keys)
5592 (let* ((out (assoc-ref outputs "out"))
5593 (desktop (string-append out "/share/applications/"
5594 "netsurf.desktop")))
5595 (mkdir-p (dirname desktop))
5596 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5598 (substitute* desktop
5599 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
5600 (("netsurf.png") (string-append out "/share/netsurf/"
5602 (install-file "docs/netsurf-gtk.1"
5603 (string-append out "/share/man/man1/"))
5605 (home-page "https://www.netsurf-browser.org")
5606 (synopsis "Web browser")
5608 "NetSurf is a lightweight web browser that has its own layout and
5609 rendering engine entirely written from scratch. It is small and capable of
5610 handling many of the web standards in use today.")
5611 (license license:gpl2+)))
5613 (define-public surfraw
5620 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5621 "2de827b2786ef2fe43b6f07913ca7b7f/"
5622 "surfraw-" version ".tar.gz"))
5624 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5625 (build-system gnu-build-system)
5628 (modify-phases %standard-phases
5629 (add-before 'configure 'patch-perl
5630 (lambda* (#:key inputs #:allow-other-keys)
5631 (let ((perl (assoc-ref inputs "perl")))
5632 (substitute* "surfraw.IN"
5634 (string-append perl "/bin/perl -e")))
5636 (add-after 'install 'compress-elvi.1sr
5637 (lambda* (#:key outputs #:allow-other-keys)
5638 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5639 ;; but elvi.1sr does not get compressed by our manpage phase.
5640 (let* ((out (assoc-ref %outputs "out"))
5641 (man (string-append out "/share/man/man1")))
5642 (with-directory-excursion man
5643 (invoke "gzip" "elvi.1sr"))))))))
5646 ("perl-www-opensearch" ,perl-www-opensearch)
5647 ("perl-html-parser" ,perl-html-parser)
5648 ("perl-libwww" ,perl-libwww)))
5649 (synopsis "Unix command line interface to the www")
5650 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5651 provides a unix command line interface to a variety of popular www search engines
5652 and similar services.")
5653 (home-page "https://surfraw.alioth.debian.org/")
5654 (license license:public-domain)))
5656 (define-public darkhttpd
5663 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5664 version ".tar.bz2"))
5667 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5668 (build-system gnu-build-system)
5670 `(#:make-flags '("CC=gcc")
5671 #:tests? #f ; No test suite
5673 (modify-phases %standard-phases
5676 (lambda* (#:key outputs #:allow-other-keys)
5677 (install-file "darkhttpd"
5678 (string-append (assoc-ref outputs "out")
5681 (synopsis "Simple static web server")
5682 (description "darkhttpd is a simple static web server. It is
5683 standalone and does not need inetd or ucspi-tcp. It does not need any
5684 config files---you only have to specify the www root.")
5685 (home-page "https://unix4lyfe.org/darkhttpd/")
5686 (license license:isc)))
5688 (define-public goaccess
5694 (uri (string-append "http://tar.goaccess.io/goaccess-"
5698 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5699 (modules '((guix build utils)))
5701 (substitute* "src/error.h"
5702 (("__DATE__") "\"1970-01-01\"")
5703 (("__TIME__") "\"00:00:00\""))
5705 (build-system gnu-build-system)
5707 ;; TODO: Add dependency on geoip-tools.
5709 ("ncurses" ,ncurses)))
5711 `(("pkg-config" ,pkg-config)))
5712 (home-page "https://goaccess.io")
5713 (synopsis "Analyze Web server logs in real time")
5715 "GoAccess is a real-time web log analyzer and interactive viewer that
5716 runs in a terminal or through your browser. It provides fast and valuable
5717 HTTP statistics for system administrators that require a visual server report
5719 (license license:x11)))
5721 (define-public hitch
5725 (home-page "https://hitch-tls.org/")
5728 (uri (string-append home-page "source/hitch-" version ".tar.gz"))
5731 "1i75giwyr66ip8xsvk3gg5xdbxnmcabgxz8dqi06c58mw7qzhzn9"))))
5732 (build-system gnu-build-system)
5734 `(#:phases (modify-phases %standard-phases
5735 (add-before 'check 'pre-check
5737 ;; Most tests attempts to access hitch-tls.org which is
5738 ;; unavailable in the build container. Run them against
5739 ;; a dummy local web server instead.
5740 (for-each (lambda (test)
5742 (("\\[hitch-tls\\.org\\]:80")
5743 "[localhost]:8000")))
5744 (find-files "src/tests" "\\.sh$"))
5745 (system "python3 -m http.server &")
5747 ;; The build container does not reap zombie processes,
5748 ;; causing stop_hitch to hang indefinitely while waiting
5749 ;; for the process to terminate because 'kill -0' never
5750 ;; succeeds. Use a different test to see whether the
5751 ;; process has shut down.
5752 (substitute* "src/tests/hitch_test.sh"
5753 (("kill -0 \"\\$HITCH_PID\"")
5754 "$(ps -p $HITCH_PID -o state= | grep -qv '^Z$')"))
5757 `(("pkg-config" ,pkg-config)
5763 ("python" ,python)))
5766 ("openssl" ,openssl)))
5767 (synopsis "Scalable TLS proxy")
5769 "Hitch is a performant TLS proxy based on @code{libev}. It terminates
5770 SSL/TLS connections and forwards the unencrypted traffic to a backend such
5771 as a web server. It is designed to handle many thousand connections on
5772 multicore machines.")
5773 (license license:bsd-2)))
5775 (define-public httptunnel
5782 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5783 name "-" version ".tar.gz"))
5786 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5787 (modules '((guix build utils)))
5789 ;; Remove non-free IETF RFC documentation.
5790 (delete-file-recursively "doc")
5792 (build-system gnu-build-system)
5795 (modify-phases %standard-phases
5796 ;; The default configure phase tries to pass environment variables as
5797 ;; command-line arguments, which confuses the ./configure script.
5799 (lambda* (#:key outputs #:allow-other-keys)
5800 (let* ((out (assoc-ref outputs "out")))
5801 (setenv "CONFIG_SHELL" (which "bash"))
5802 (invoke "./configure"
5803 (string-append "--prefix=" out))))))))
5804 (home-page "http://www.nocrew.org/software/httptunnel.html")
5805 (synopsis "Tunnel data connections through HTTP requests")
5806 (description "httptunnel creates a bidirectional virtual data connection
5807 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5808 useful for users behind restrictive firewalls. As long as Web traffic is
5809 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5810 tools like SSH (Secure Shell) to reach the outside world.")
5811 (license license:gpl2+)))
5813 (define-public stunnel
5820 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5823 (base32 "1q8gc05fiz7w55ws0whwzb94ffjnhzfppf1mhz1hf671vmrvjnmg"))))
5824 (build-system gnu-build-system)
5827 `(("iproute" ,iproute)
5829 ("procps" ,procps)))
5830 (inputs `(("openssl" ,openssl)))
5833 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5835 (modify-phases %standard-phases
5836 (add-after 'unpack 'patch-output-directories
5838 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5839 (substitute* (list "Makefile.in"
5841 "tools/Makefile.in")
5843 (string-append "/doc/" ,name "-" ,version)))
5845 (add-before 'check 'patch-tests
5847 (substitute* "tests/make_test"
5849 (string-append (which "sh") " ")))
5851 (home-page "https://www.stunnel.org")
5852 (synopsis "TLS proxy for clients or servers")
5853 (description "Stunnel is a proxy designed to add TLS encryption
5854 functionality to existing clients and servers without any changes in the
5855 programs' code. Its architecture is optimized for security, portability, and
5856 scalability (including load-balancing), making it suitable for large
5858 (license license:gpl2+)))
5860 (define-public varnish
5863 (home-page "https://varnish-cache.org/")
5867 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5870 "1dfdswri6lkfk6kml3szvffm91y49pajgqy1k5y26llqixl4r5hi"))))
5871 (build-system gnu-build-system)
5873 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5874 ;; Use absolute path of GCC so it's found at runtime.
5875 (string-append "PTHREAD_CC="
5876 (assoc-ref %build-inputs "gcc")
5878 "--localstatedir=/var")
5880 (modify-phases %standard-phases
5881 (add-after 'unpack 'use-absolute-file-names
5883 (substitute* '("bin/varnishtest/vtc_varnish.c"
5884 "bin/varnishtest/vtc_process.c"
5885 "bin/varnishd/mgt/mgt_vcc.c"
5886 "bin/varnishtest/tests/u00014.vtc")
5887 (("/bin/sh") (which "sh")))
5888 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5889 (("rm -rf") (string-append (which "rm") " -rf")))
5890 (substitute* "bin/varnishtest/vtc_main.c"
5891 (("/bin/rm") (which "rm")))
5893 (add-before 'install 'patch-Makefile
5895 (substitute* "Makefile"
5896 ;; Do not create /var/varnish during install.
5897 (("^install-data-am: install-data-local") "install-data-am: "))
5899 (add-after 'install 'wrap-varnishd
5900 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5901 ;; environment variables to avoid propagating them to profiles.
5902 (lambda* (#:key inputs outputs #:allow-other-keys)
5903 (let* ((out (assoc-ref outputs "out"))
5904 (varnishd (string-append out "/sbin/varnishd"))
5905 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5906 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5907 (wrap-program varnishd
5908 ;; Add binutils to PATH so gcc finds the 'as' executable.
5909 `("PATH" ":" prefix (,PATH))
5910 ;; Make sure 'crti.o' et.al is found.
5911 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5914 `(("pkg-config" ,pkg-config)
5915 ("python-sphinx" ,python-sphinx)
5916 ("rst2man" ,python-docutils)))
5918 `(("jemalloc" ,jemalloc)
5919 ("ncurses" ,ncurses)
5921 ("python" ,python-wrapper)
5922 ("readline" ,readline)))
5923 (synopsis "Web application accelerator")
5925 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5926 reverse proxy and load balancer. You install it in front of any server that
5927 speaks HTTP and configure it to cache the contents through an extensive
5928 configuration language.")
5929 (license (list license:bsd-2 ;main distribution
5930 license:zlib ;lib/libvgz/*
5931 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5932 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5934 (define-public varnish-modules
5936 (name "varnish-modules")
5937 (home-page "https://github.com/varnish/varnish-modules")
5941 (uri (git-reference (url home-page) (commit version)))
5942 (file-name (git-file-name name version))
5945 "0zg8y2sgkygdani70zp9rbx278431fmssj26d47c5qsiw939i519"))))
5946 (build-system gnu-build-system)
5948 `(("pkg-config" ,pkg-config)
5950 ;; For bootstrapping.
5951 ("autoconf" ,autoconf)
5952 ("automake" ,automake)
5953 ("libtool" ,libtool)
5955 ;; For generating manuals.
5956 ("rst2man" ,python-docutils)))
5958 `(("python" ,python)
5959 ("varnish" ,varnish)))
5960 (synopsis "Collection of Varnish modules")
5962 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5963 cache server, extending the @acronym{VCL, Varnish Configuration Language} with
5964 additional capabilities.")
5965 (license license:bsd-2)))
5967 (define-public xinetd
5970 ;; This is the maintenance fork currently used by openSUSE and Debian.
5971 (version "2.3.15.4")
5976 (url "https://github.com/openSUSE/xinetd")
5978 (file-name (git-file-name name version))
5980 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5981 (build-system gnu-build-system)
5983 `(#:configure-flags '("--with-loadavg")
5984 #:tests? #f)) ; no tests
5986 `(("autoconf" ,autoconf)
5987 ("automake" ,automake)
5988 ("libtool" ,libtool)
5989 ("pkg-config" ,pkg-config)))
5990 (home-page "https://github.com/openSUSE/xinetd")
5991 (synopsis "Internet services daemon")
5992 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5993 listens for incoming requests over a network and launches the appropriate
5994 service for that request. Requests are made using port numbers as identifiers
5995 and xinetd usually launches another daemon to handle the request. It can be
5996 used to start services with both privileged and non-privileged port numbers.")
5997 (license (license:fsf-free "file://COPYRIGHT"))))
5999 (define-public tidy-html
6007 (url "https://github.com/htacg/tidy-html5")
6009 (file-name (git-file-name name version))
6012 "01k5sqwgcsr26i8031v1yr2r8qcy9a5w7sj800660haszgfbjz2f"))))
6013 (build-system cmake-build-system)
6015 "static")) ; 1.3MiB of .a files
6017 `(#:tests? #f ; no tests available
6018 #:build-type "Release"
6020 (modify-phases %standard-phases
6021 (add-after 'install 'move-static-libraries
6022 (lambda* (#:key outputs #:allow-other-keys)
6023 ;; Move static libraries to the "static" output.
6024 (let* ((out (assoc-ref outputs "out"))
6025 (lib (string-append out "/lib"))
6026 (static (assoc-ref outputs "static"))
6027 (slib (string-append static "/lib")))
6029 (for-each (lambda (file)
6030 (install-file file slib)
6032 (find-files lib "\\.a$"))
6035 `(("libxslt" ,libxslt)))
6036 (home-page "http://www.html-tidy.org/")
6037 (synopsis "HTML Tidy with HTML5 support")
6039 "Tidy is a console application which corrects and cleans up
6040 HTML and XML documents by fixing markup errors and upgrading
6041 legacy code to modern standards.
6043 Tidy also provides @code{libtidy}, a C static and dynamic library that
6044 developers can integrate into their applications to make use of the
6045 functions of Tidy.")
6046 (license license:bsd-3)))
6048 (define-public hiawatha
6055 (uri (string-append "https://www.hiawatha-webserver.org/files/"
6056 "hiawatha-" version ".tar.gz"))
6057 (modules '((guix build utils)))
6059 ;; We use packaged libraries, so delete the bundled copies.
6060 (for-each delete-file-recursively
6061 (list "extra/nghttp2.tgz" "mbedtls"))
6064 (base32 "09wpgilbv13zal71v9lbsqr8c3fignygadykpd1p1pb8blb5vn3r"))))
6065 (build-system cmake-build-system)
6067 `(#:tests? #f ; no tests included
6068 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
6069 (string-append "-DENABLE_HTTP2=on")
6070 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
6071 (string-append "-DENABLE_TOMAHAWK=on")
6072 (string-append "-DLOG_DIR=/var/log/hiawatha")
6073 (string-append "-DPID_DIR=/run")
6074 (string-append "-DWEBROOT_DIR="
6075 (assoc-ref %outputs "out")
6076 "/share/hiawatha/html")
6077 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
6079 (modify-phases %standard-phases
6080 (add-after 'unpack 'install-no-empty-directories
6082 (substitute* "CMakeLists.txt"
6083 (("install\\(DIRECTORY DESTINATION" match)
6084 (string-append "#" match)))
6086 (add-after 'install 'wrap
6087 (lambda* (#:key inputs outputs #:allow-other-keys)
6088 ;; Make sure 'hiawatha' finds 'mbedtls'.
6089 (let* ((out (assoc-ref outputs "out"))
6090 (sbin (string-append out "/sbin"))
6091 (mbed (assoc-ref inputs "mbedtls-apache")))
6092 (wrap-program (string-append sbin "/hiawatha")
6093 `("PATH" ":" prefix (,mbed)))))))))
6095 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
6096 `(("libxslt" ,libxslt)
6097 ("libxml2" ,libxml2)
6098 ("mbedtls-apache" ,mbedtls-for-hiawatha)
6099 ("nghttp2" ,nghttp2 "lib")
6101 (home-page "https://www.hiawatha-webserver.org")
6102 (synopsis "Webserver with focus on security")
6104 "Hiawatha has been written with security in mind.
6105 Features include the ability to stop SQL injections, XSS and CSRF attacks and
6107 (license license:gpl2)))
6109 (define-public python-httpbin
6111 (name "python-httpbin")
6116 (uri (pypi-uri "httpbin" version))
6119 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
6120 (build-system python-build-system)
6122 `(("python-decorator" ,python-decorator)
6123 ("python-flask" ,python-flask)
6124 ("python-itsdangerous" ,python-itsdangerous)
6125 ("python-markupsafe" ,python-markupsafe)
6126 ("python-six" ,python-six)))
6127 (home-page "https://github.com/Runscope/httpbin")
6128 (synopsis "HTTP request and response service")
6129 (description "Testing an HTTP Library can become difficult sometimes.
6130 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
6131 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
6133 (license license:isc)))
6135 (define-public python2-httpbin
6136 (package-with-python2 python-httpbin))
6138 (define-public python-pytest-httpbin
6140 (name "python-pytest-httpbin")
6145 (uri (pypi-uri "pytest-httpbin" version))
6148 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
6149 (build-system python-build-system)
6151 `(("python-six" ,python-six)
6152 ("python-httpbin" ,python-httpbin)
6153 ("python-pytest" ,python-pytest)))
6155 "https://github.com/kevin1024/pytest-httpbin")
6157 "Test your HTTP library against a local copy of httpbin")
6159 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
6160 into your tests. It automatically starts up a HTTP server in a separate thread running
6161 @code{httpbin} and provides your test with the URL in the fixture.")
6162 (license license:expat)))
6164 (define-public http-parser
6165 (let ((commit "ec8b5ee63f0e51191ea43bb0c6eac7bfbff3141d")
6168 (name "http-parser")
6169 (version (git-version "2.9.4" revision commit))
6170 (home-page "https://github.com/nodejs/http-parser")
6174 (uri (git-reference (url home-page)
6177 (base32 "0f297hrbx0kvy3qwgm9rhmbnjww6iljlcz9grsc9d4km1qj1071i"))
6178 (file-name (git-file-name name version))
6181 (search-patches "http-parser-CVE-2020-8287.patch")
6184 ;; Treat an empty port (e.g. `http://hostname:/`) when parsing
6185 ;; URLs as if no port were specified. This patch is applied
6186 ;; to Fedora's http-parser and to libgit2's bundled version.
6189 "https://src.fedoraproject.org/rpms/http-parser/raw/"
6190 "e89b4c4e2874c19079a5a1a2d2ccc61b551aa289/"
6191 "f/0001-url-treat-empty-port-as-default.patch"))
6194 "0pbxf2nq9pcn299k2b2ls8ldghaqln9glnp79gi57mamx4iy0f6g"))))))))
6195 (build-system gnu-build-system)
6197 `(#:test-target "test"
6199 (list (string-append "PREFIX="
6200 (assoc-ref %outputs "out"))
6202 ,@(if (%current-target-system)
6206 (modify-phases %standard-phases
6207 ,@(match (%current-system)
6209 '((add-before 'check 'apply-assertion.patch
6210 (lambda* (#:key inputs #:allow-other-keys)
6211 (let ((patch (assoc-ref inputs "assertion.patch")))
6212 (invoke "patch" "-p1" "-i" patch)
6215 ,@(if (%current-target-system)
6216 '((replace 'configure
6217 (lambda* (#:key target #:allow-other-keys)
6218 (substitute* (find-files "." "Makefile")
6220 (string-append "CC=" target "-gcc\n"))
6222 (string-append "AR=" target "-ar\n")))
6224 '((delete 'configure))))))
6226 `(,@(match (%current-system)
6228 ;; A fix for <https://issues.guix.gnu.org/40604> which in turn
6229 ;; breaks i686-linux builds.
6230 `(("assertion.patch"
6231 ,@(search-patches "http-parser-fix-assertion-on-armhf.patch"))))
6233 (synopsis "HTTP request/response parser for C")
6234 (description "This is a parser for HTTP messages written in C. It parses
6235 both requests and responses. The parser is designed to be used in
6236 high-performance HTTP applications. It does not make any syscalls nor
6237 allocations, it does not buffer data, it can be interrupted at anytime.
6238 Depending on your architecture, it only requires about 40 bytes of data per
6239 message stream (in a web server that is per connection).")
6240 (license license:expat))))
6242 (define-public python-httpretty
6244 (name "python-httpretty")
6249 (uri (pypi-uri "httpretty" version))
6251 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
6252 (build-system python-build-system)
6254 `(("python-six" ,python-six)))
6256 `(("python-coverage" ,python-coverage)
6257 ("python-httplib2" ,python-httplib2)
6258 ("python-mock" ,python-mock)
6259 ("python-nose" ,python-nose)
6260 ("python-nose-randomly" ,python-nose-randomly)
6261 ("python-rednose" ,python-rednose)
6262 ("python-requests" ,python-requests)
6263 ("python-sure" ,python-sure)
6264 ("python-tornado" ,python-tornado)
6265 ("python-urllib3" ,python-urllib3)))
6266 (home-page "https://httpretty.readthedocs.io")
6267 (synopsis "HTTP client mock for Python")
6268 (description "@code{httpretty} is a helper for faking web requests,
6269 inspired by Ruby's @code{fakeweb}.")
6270 (license license:expat)))
6279 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
6280 version "/jo-" version ".tar.gz"))
6282 (base32 "18jna9xlpxci3cak3z85c448zv2zr41baclgym3hk433p0p4vii4"))))
6283 (build-system gnu-build-system)
6284 (home-page "https://github.com/jpmens/jo")
6285 (synopsis "Output JSON from a shell")
6286 (description "jo is a command-line utility to create JSON objects or
6287 arrays. It creates a JSON string on stdout from words provided as
6288 command-line arguments or read from stdin.")
6289 (license (list license:gpl2+
6290 license:expat)))) ; json.c, json.h
6292 (define-public python-internetarchive
6294 (name "python-internetarchive")
6300 (url "https://github.com/jjjake/internetarchive")
6301 (commit (string-append "v" version))))
6302 (file-name (git-file-name name version))
6305 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
6306 (modules '((guix build utils)))
6309 ;; Python 3.7 removed `_pattern_type'.
6310 (for-each (lambda (file)
6313 (("^import re\n" line)
6314 (string-append line "re._pattern_type = re.Pattern\n"))))
6315 (find-files "." "\\.py$"))
6317 (build-system python-build-system)
6320 (modify-phases %standard-phases
6322 (add-after 'install 'check
6323 (lambda* (#:key inputs outputs #:allow-other-keys)
6324 (add-installed-pythonpath inputs outputs)
6325 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
6326 ":" (getenv "PATH")))
6327 (invoke "py.test" "-v" "-k"
6329 ;; These tests attempt to make a connection to
6330 ;; an external web service.
6331 "not test_get_item_with_kwargs"
6332 " and not test_ia")))))))
6334 `(("python-requests" ,python-requests)
6335 ("python-jsonpatch" ,python-jsonpatch-0.4)
6336 ("python-docopt" ,python-docopt)
6337 ("python-clint" ,python-clint)
6338 ("python-six" ,python-six)
6339 ("python-schema" ,python-schema-0.5)
6340 ("python-backports-csv" ,python-backports-csv)))
6342 `(("python-pytest" ,python-pytest)
6343 ("python-pytest-capturelog" ,python-pytest-capturelog)
6344 ("python-responses" ,python-responses)))
6345 (home-page "https://github.com/jjjake/internetarchive")
6346 (synopsis "Command-line interface to archive.org")
6347 (description "@code{ia} is a command-line tool for using
6348 @url{archive.org} from the command-line. It also implements the
6349 internetarchive python module for programmatic access to archive.org.")
6350 (license license:agpl3+)))
6352 (define-public python-clf
6353 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
6360 (uri (pypi-uri "clf" version))
6363 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
6364 (build-system python-build-system)
6366 `(("python-docopt" ,python-docopt)
6367 ("python-pygments" ,python-pygments)
6368 ("python-requests" ,python-requests)
6369 ("python-nose" ,python-nose)
6370 ("python-lxml" ,python-lxml)
6371 ("python-pyaml" ,python-pyaml)))
6376 (uri (string-append "https://raw.githubusercontent.com"
6377 "/ncrocfer/clf/" commit-test-clf
6381 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
6384 (modify-phases %standard-phases
6385 (add-after 'unpack 'get-tests
6387 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
6392 ;; These tests require an Internet connection.
6393 "--exclude=test_browse"
6394 "--exclude=test_command"
6395 "--exclude=test_search"))))))
6396 (home-page "https://github.com/ncrocfer/clf")
6397 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
6398 (description "@code{clf} is a command line tool for searching code
6399 snippets on @url{https://commandlinefu.com}.")
6400 (license license:expat))))
6402 (define-public python2-clf
6403 (package-with-python2 python-clf))
6405 (define-public rss-bridge
6408 (version "2019-09-12")
6413 (url "https://github.com/RSS-Bridge/rss-bridge")
6415 (file-name (git-file-name name version))
6417 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
6418 (build-system trivial-build-system)
6420 '(#:modules ((guix build utils))
6423 (use-modules (guix build utils)
6425 (let* ((out (assoc-ref %outputs "out"))
6426 (share-rss-bridge (string-append out "/share/rss-bridge")))
6427 (mkdir-p share-rss-bridge)
6428 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
6430 (home-page "https://github.com/RSS-Bridge/rss-bridge")
6431 (synopsis "Generate Atom feeds for social networking websites")
6432 (description "rss-bridge generates Atom feeds for social networking
6433 websites lacking feeds. Supported websites include Facebook, Twitter,
6434 Instagram and YouTube.")
6435 (license (list license:public-domain
6436 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
6438 (define-public linkchecker
6440 (name "linkchecker")
6446 (url "https://github.com/linkchecker/linkchecker")
6447 (commit (string-append "v" version))))
6449 (search-patches "linkchecker-tests-require-network.patch"))
6450 (file-name (git-file-name name version))
6453 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
6454 (build-system python-build-system)
6456 `(("python2-dnspython" ,python2-dnspython-1.16)
6457 ("python2-pyxdg" ,python2-pyxdg)
6458 ("python2-requests" ,python2-requests)))
6460 `(("gettext" ,gettext-minimal)
6461 ("python2-pytest" ,python2-pytest)
6462 ("python2-miniboa" ,python2-miniboa)
6463 ("python2-parameterized" ,python2-parameterized)))
6465 `(#:python ,python-2
6467 (modify-phases %standard-phases
6468 ;; Move the 'check phase to after 'install, so that the installed
6469 ;; library can be used
6471 (add-after 'install 'check
6472 (lambda* (#:key outputs #:allow-other-keys)
6473 (let ((out (assoc-ref outputs "out")))
6474 ;; Set PYTHONPATH so that the installed linkchecker is used
6475 (setenv "PYTHONPATH"
6476 (string-append out "/lib/python2.7/site-packages"
6478 (getenv "PYTHONPATH")))
6479 ;; Remove this directory to avoid it being used when running
6481 (delete-file-recursively "linkcheck")
6483 (invoke "py.test" "tests"))
6485 (home-page "https://linkcheck.github.io/linkchecker")
6486 (synopsis "Check websites for broken links")
6487 (description "LinkChecker is a website validator. It checks for broken
6488 links in websites. It is recursive and multithreaded providing output in
6489 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
6490 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
6492 (license (list license:gpl2+
6493 license:bsd-2 ; linkcheck/better_exchook2.py
6494 license:bsd-3 ; linkcheck/colorama.py
6495 license:psfl ; linkcheck/gzip2.py
6496 license:expat)))) ; linkcheck/mem.py
6498 (define-public cadaver
6505 (uri (string-append "http://www.webdav.org/cadaver/"
6506 name "-" version ".tar.gz"))
6509 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
6510 (build-system gnu-build-system)
6511 ;; TODO: Unbundle libneon and make build succeed with new neon.
6513 `(#:configure-flags (list "--with-ssl=openssl")
6514 #:tests? #f)) ;No tests included
6516 `(("gettext" ,gettext-minimal)
6517 ("pkg-config" ,pkg-config)
6518 ("intltool" ,intltool)))
6521 ("openssl" ,openssl-1.0)))
6522 (home-page "http://www.webdav.org/cadaver/")
6523 (synopsis "Command-line WebDAV client")
6525 "Cadaver is a command-line WebDAV client for Unix. It supports
6526 file upload, download, on-screen display, namespace operations (move/copy),
6527 collection creation and deletion, and locking operations.")
6528 (license license:gpl2)))
6530 (define-public castor
6538 (url "https://git.sr.ht/~julienxx/castor")
6540 (file-name (git-file-name name version))
6542 (base32 "0rwg1w7srjwa23mkypl8zk6674nhph4xsc6nc01f6g5k959szylr"))))
6543 (build-system cargo-build-system)
6546 (("rust-ansi-parser" ,rust-ansi-parser-0.6)
6547 ("rust-dirs" ,rust-dirs-2)
6548 ("rust-gdk" ,rust-gdk-0.13)
6549 ("rust-gtk" ,rust-gtk-0.8)
6550 ("rust-linkify" ,rust-linkify-0.4)
6551 ("rust-native-tls" ,rust-native-tls-0.2)
6552 ("rust-open" ,rust-open-1)
6553 ("rust-percent-encoding" ,rust-percent-encoding-2)
6554 ("rust-url" ,rust-url-2))))
6556 `(("pkg-config" ,pkg-config)))
6560 ("gdk-pixbuf" ,gdk-pixbuf)
6562 ("libressl" ,libressl)
6564 (home-page "https://git.sr.ht/~julienxx/castor")
6565 (synopsis "Graphical client for plain-text protocols")
6567 "Castor is a graphical client for plain-text protocols written in
6568 Rust with GTK. It currently supports the Gemini, Gopher and Finger
6570 (license license:expat)))
6572 (define-public python-py-ubjson
6574 (name "python-py-ubjson")
6579 (uri (pypi-uri "py-ubjson" version))
6582 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
6583 (build-system python-build-system)
6584 (home-page "https://github.com/Iotic-Labs/py-ubjson")
6585 (synopsis "Universal Binary JSON encoder/decoder")
6587 "Py-ubjson is a Python module providing an Universal Binary JSON
6588 encoder/decoder based on the draft-12 specification for UBJSON.")
6589 (license license:asl2.0)))
6591 (define-public java-tomcat
6593 (name "java-tomcat")
6597 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6598 version "/src/apache-tomcat-" version "-src.tar.gz"))
6601 "15lwq3clf21hzk7mma70sffpxjqn8ww5mjq6zhmwcp4m17m22z26"))
6602 (modules '((guix build utils)))
6603 ;; Delete bundled jars.
6606 (for-each delete-file (find-files "." "\\.jar$"))
6607 (for-each delete-file (find-files "." "\\.bat$"))
6609 (build-system ant-build-system)
6611 `(("java-commons-daemon" ,java-commons-daemon)
6612 ("java-ecj" ,java-ecj)))
6614 `(#:build-target "deploy"
6615 #:tests? #f; requires downloading some files.
6617 (modify-phases %standard-phases
6618 (add-after 'unpack 'prevent-download
6620 ;; This directory must exist
6622 ;; We patch build.xml so it doesn't download any dependency, because
6623 ;; we already have all of them.
6624 (substitute* "build.xml"
6625 (("download-compile,") "")
6626 (("depends=\"validate\"") "depends=\"build-prepare\"")
6627 ((",download-validate") ""))
6629 (add-after 'unpack 'strip-timestamps
6631 (substitute* "build.xml"
6632 (("<filter token=\"YEAR\" value=.*")
6633 "<filter token=\"YEAR\" value=\"1970\"/>")
6634 (("<filter token=\"VERSION_BUILT\" value=.*")
6635 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6637 (add-after 'unpack 'modify-deploy
6639 ;; The Tomcat build downloads and copies these files to the
6640 ;; bin and lib directory.
6641 ;; We instead symlink to the input (see below).
6642 (substitute* "build.xml"
6643 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6644 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6647 (add-after 'install 'symlink-commons-daemon
6648 (lambda* (#:key inputs outputs #:allow-other-keys)
6649 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6650 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6651 (daemon-jar (car files))
6652 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6653 (target (string-append out-bin "/commons-daemon.jar")))
6654 (symlink daemon-jar target)
6656 (add-after 'install 'symlink-java-ecj
6657 (lambda* (#:key inputs outputs #:allow-other-keys)
6658 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6659 (files (find-files java-ecj "ecj.*\\.jar"))
6660 (java-ecj-jar (car files))
6661 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6662 (target (string-append out-lib "/java-ecj.jar")))
6663 (symlink java-ecj-jar target)
6665 (add-after 'unpack 'generate-properties
6667 ;; This could have been passed to make-flags, but getcwd returns
6668 ;; a different directory then.
6669 (with-output-to-file "build.properties"
6672 (string-append "base.path=" (getcwd) "/downloads\n"))))
6675 (lambda* (#:key outputs #:allow-other-keys)
6676 (let ((out (assoc-ref outputs "out")))
6677 (copy-recursively "output/build" out))
6679 (properties '((cpe-name . "tomcat")))
6680 (home-page "https://tomcat.apache.org")
6681 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6683 (description "Apache Tomcat is a free implementation of the Java
6684 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6686 (license license:asl2.0)))
6688 (define-public java-eclipse-jetty-test-helper
6690 (name "java-eclipse-jetty-test-helper")
6695 (url "https://github.com/eclipse/jetty.toolchain/")
6696 (commit (string-append "jetty-test-helper-" version))))
6697 (file-name (git-file-name name version))
6700 "1g7cdh03nfwbdxzvwm84ysgvw08xx7431lsjryj2gmf3lrqpizgb"))))
6701 (build-system ant-build-system)
6703 `(#:jar-name "eclipse-jetty-test-helper.jar"
6704 #:source-dir "src/main/java"
6705 #:test-dir "src/test"
6708 (modify-phases %standard-phases
6709 (add-before 'configure 'chdir
6711 (chdir "jetty-test-helper")
6713 (add-before 'build 'fix-paths
6716 ;; This file assumes that the build directory is named "target"
6717 ;; but it is not the case with our ant-build-system. Once we have
6718 ;; maven though, we will have to rebuild this package because this
6719 ;; assumption is correct with maven-build-system.
6721 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6722 (("\"target\"") "\"build\"")
6723 (("\"tests\"") "\"test-classes\""))
6724 ;; Tests assume we are building with maven, so that the build
6725 ;; directory is named "target", and not "build".
6726 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6727 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6728 "MavenTestingUtilsTest.java")
6729 (("target/tests") "build/test-classes")
6730 (("\"target") "\"build")))
6733 `(("junit" ,java-junit)
6734 ("hamcrest" ,java-hamcrest-all)))
6735 (home-page "https://www.eclipse.org/jetty/")
6736 (synopsis "Helper classes for jetty tests")
6737 (description "This package contains helper classes for testing the Jetty
6739 ;; This program is licensed under both epl and asl.
6740 (license (list license:epl1.0 license:asl2.0))))
6742 (define-public java-eclipse-jetty-perf-helper
6744 (inherit java-eclipse-jetty-test-helper)
6745 (name "java-eclipse-jetty-perf-helper")
6747 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6748 #:source-dir "src/main/java"
6749 #:tests? #f; no tests
6752 (modify-phases %standard-phases
6753 (add-before 'configure 'chdir
6755 (chdir "jetty-perf-helper")
6758 `(("hdrhistogram" ,java-hdrhistogram)))))
6760 (define-public java-eclipse-jetty-util
6762 (name "java-eclipse-jetty-util")
6766 (uri (string-append "https://github.com/eclipse/jetty.project/"
6767 "archive/jetty-" version ".v20170531.tar.gz"))
6770 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6771 (build-system ant-build-system)
6773 `(#:jar-name "eclipse-jetty-util.jar"
6774 #:source-dir "src/main/java"
6776 (list "**/Abstract*.java"
6778 "**/InetAddressSetTest.java"
6779 ;; Assumes we are using maven
6780 "**/TypeUtilTest.java"
6781 ;; Error on the style of log
6782 "**/StdErrLogTest.java")
6785 (modify-phases %standard-phases
6786 (add-before 'configure 'chdir
6788 (chdir "jetty-util")
6791 `(("slf4j" ,java-slf4j-api)
6792 ("servlet" ,java-javaee-servletapi)))
6794 `(("junit" ,java-junit)
6795 ("hamcrest" ,java-hamcrest-all)
6796 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6797 ("test-helper" ,java-eclipse-jetty-test-helper)))
6798 (home-page "https://www.eclipse.org/jetty/")
6799 (synopsis "Utility classes for Jetty")
6800 (description "The Jetty Web Server provides an HTTP server and Servlet
6801 container capable of serving static and dynamic content either from a standalone
6802 or embedded instantiation. This package provides utility classes.")
6803 (license (list license:epl1.0 license:asl2.0))))
6805 ;; This version is required by maven-wagon
6806 (define-public java-eclipse-jetty-util-9.2
6808 (inherit java-eclipse-jetty-util)
6812 (uri (string-append "https://github.com/eclipse/jetty.project/"
6813 "archive/jetty-" version ".v20170606.tar.gz"))
6816 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6818 `(#:jar-name "eclipse-jetty-util.jar"
6819 #:source-dir "src/main/java"
6822 (list "**/Abstract*.java"
6824 "**/InetAddressSetTest.java"
6825 ;; Assumes we are using maven
6826 "**/TypeUtilTest.java"
6827 ;; We don't have an implementation for slf4j
6829 ;; Error on the style of log
6830 "**/StdErrLogTest.java")
6832 (modify-phases %standard-phases
6833 (add-before 'configure 'chdir
6835 (chdir "jetty-util")
6837 (add-before 'build 'fix-test-sources
6839 ;; We need to fix issues caused by changes in newer versions of
6840 ;; jetty-test-helper
6841 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6842 (substitute* (string-append src "/AbstractFSResourceTest.java")
6843 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6844 (("testdir.getFile\\(\"foo\"\\)")
6845 "testdir.getPathFile(\"foo\").toFile()")
6846 (("testdir.getFile\\(name\\)")
6847 "testdir.getPathFile(name).toFile()")))
6850 (define-public java-eclipse-jetty-io
6852 (inherit java-eclipse-jetty-util)
6853 (name "java-eclipse-jetty-io")
6855 `(#:jar-name "eclipse-jetty-io.jar"
6856 #:source-dir "src/main/java"
6858 #:test-exclude (list "**/Abstract*.java"
6860 "**/EndPointTest.java")
6862 (modify-phases %standard-phases
6863 (add-before 'configure 'chdir
6868 `(("slf4j" ,java-slf4j-api)
6869 ("servlet" ,java-javaee-servletapi)
6870 ("util" ,java-eclipse-jetty-util)))
6871 (synopsis "Jetty :: IO Utility")
6872 (description "The Jetty Web Server provides an HTTP server and Servlet
6873 container capable of serving static and dynamic content either from a standalone
6874 or embedded instantiation. This package provides IO-related utility classes.")))
6876 (define-public java-eclipse-jetty-io-9.2
6878 (inherit java-eclipse-jetty-io)
6879 (version (package-version java-eclipse-jetty-util-9.2))
6880 (source (package-source java-eclipse-jetty-util-9.2))
6882 `(("util" ,java-eclipse-jetty-util-9.2)
6883 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6885 `(("mockito" ,java-mockito-1)
6886 ("cglib" ,java-cglib)
6887 ("objenesis" ,java-objenesis)
6889 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6891 (define-public java-eclipse-jetty-http
6893 (inherit java-eclipse-jetty-util)
6894 (name "java-eclipse-jetty-http")
6896 `(#:jar-name "eclipse-jetty-http.jar"
6897 #:source-dir "src/main/java"
6900 (modify-phases %standard-phases
6901 (add-before 'configure 'chdir
6903 (chdir "jetty-http")
6905 (add-before 'build 'copy-resources
6907 (mkdir-p "build/classes")
6908 (copy-recursively "src/main/resources/" "build/classes/")
6911 `(("slf4j" ,java-slf4j-api)
6912 ("servlet" ,java-javaee-servletapi)
6913 ("io" ,java-eclipse-jetty-io)
6914 ("util" ,java-eclipse-jetty-util)))
6915 (synopsis "Jetty :: Http Utility")
6916 (description "The Jetty Web Server provides an HTTP server and Servlet
6917 container capable of serving static and dynamic content either from a standalone
6918 or embedded instantiation. This package provides HTTP-related utility classes.")))
6920 (define-public java-eclipse-jetty-http-9.2
6922 (inherit java-eclipse-jetty-http)
6923 (version (package-version java-eclipse-jetty-util-9.2))
6924 (source (package-source java-eclipse-jetty-util-9.2))
6926 `(("util" ,java-eclipse-jetty-util-9.2)
6927 ("io" ,java-eclipse-jetty-io-9.2)
6928 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6930 (define-public java-eclipse-jetty-jmx
6932 (inherit java-eclipse-jetty-util)
6933 (name "java-eclipse-jetty-jmx")
6935 `(#:jar-name "eclipse-jetty-jmx.jar"
6936 #:source-dir "src/main/java"
6938 #:tests? #f; FIXME: requires com.openpojo.validation
6940 (modify-phases %standard-phases
6941 (add-before 'configure 'chdir
6946 `(("slf4j" ,java-slf4j-api)
6947 ("servlet" ,java-javaee-servletapi)
6948 ("util" ,java-eclipse-jetty-util)))
6949 (synopsis "Jetty :: JMX Management")
6950 (description "The Jetty Web Server provides an HTTP server and Servlet
6951 container capable of serving static and dynamic content either from a standalone
6952 or embedded instantiation. This package provides the JMX management.")))
6954 (define-public java-eclipse-jetty-jmx-9.2
6956 (inherit java-eclipse-jetty-jmx)
6957 (version (package-version java-eclipse-jetty-util-9.2))
6958 (source (package-source java-eclipse-jetty-util-9.2))
6960 `(("util" ,java-eclipse-jetty-util-9.2)
6961 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6963 (define java-eclipse-jetty-http-test-classes
6965 (inherit java-eclipse-jetty-util)
6966 (name "java-eclipse-jetty-http-test-classes")
6968 `(#:jar-name "eclipse-jetty-http.jar"
6969 #:source-dir "src/test"
6973 (modify-phases %standard-phases
6974 (add-before 'configure 'chdir
6976 (chdir "jetty-http")
6979 `(("slf4j" ,java-slf4j-api)
6980 ("java-javaee-servletapi" ,java-javaee-servletapi)
6981 ("http" ,java-eclipse-jetty-http)
6982 ("io" ,java-eclipse-jetty-io)
6983 ("util" ,java-eclipse-jetty-util)))))
6985 (define java-eclipse-jetty-http-test-classes-9.2
6987 (inherit java-eclipse-jetty-http-test-classes)
6988 (version (package-version java-eclipse-jetty-util-9.2))
6989 (source (package-source java-eclipse-jetty-util-9.2))
6991 `(("http" ,java-eclipse-jetty-http-9.2)
6992 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6994 (define-public java-eclipse-jetty-server
6996 (inherit java-eclipse-jetty-util)
6997 (name "java-eclipse-jetty-server")
6999 `(#:jar-name "eclipse-jetty-server.jar"
7000 #:source-dir "src/main/java"
7002 #:tests? #f; requires a mockito version we don't have
7004 (modify-phases %standard-phases
7005 (add-before 'configure 'chdir
7007 (chdir "jetty-server")
7009 (add-before 'build 'fix-source
7011 ;; Explicit casts to prevent build failures
7012 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
7013 (("append\\(LazyList")
7014 "append((CharSequence)LazyList"))
7016 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
7018 "Class<\\? extends EventListener> clazz = _classLoader==null"
7019 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
7020 "_classLoader.loadClass\\(className\\);"))
7021 (string-append "Class<? extends EventListener> clazz = "
7022 "(Class<? extends EventListener>) "
7023 "(_classLoader==null?Loader.loadClass("
7024 "ContextHandler.class,className):"
7025 "_classLoader.loadClass(className));")))
7028 `(("slf4j" ,java-slf4j-api)
7029 ("servlet" ,java-javaee-servletapi)
7030 ("http" ,java-eclipse-jetty-http)
7031 ("io" ,java-eclipse-jetty-io)
7032 ("jmx" ,java-eclipse-jetty-jmx)
7033 ("util" ,java-eclipse-jetty-util)))
7035 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
7036 ,@(package-native-inputs java-eclipse-jetty-util)))
7037 (synopsis "Core jetty server artifact")
7038 (description "The Jetty Web Server provides an HTTP server and Servlet
7039 container capable of serving static and dynamic content either from a standalone
7040 or embedded instantiation. This package provides the core jetty server
7043 (define-public java-eclipse-jetty-server-9.2
7045 (inherit java-eclipse-jetty-server)
7046 (version (package-version java-eclipse-jetty-util-9.2))
7047 (source (package-source java-eclipse-jetty-util-9.2))
7049 `(("util" ,java-eclipse-jetty-util-9.2)
7050 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7051 ("io" ,java-eclipse-jetty-io-9.2)
7052 ("http" ,java-eclipse-jetty-http-9.2)
7053 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7055 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
7056 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7058 (define-public java-eclipse-jetty-security
7060 (inherit java-eclipse-jetty-util)
7061 (name "java-eclipse-jetty-security")
7063 `(#:jar-name "eclipse-jetty-security.jar"
7064 #:source-dir "src/main/java"
7066 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
7068 (modify-phases %standard-phases
7069 (add-before 'configure 'chdir
7071 (chdir "jetty-security")
7074 `(("slf4j" ,java-slf4j-api)
7075 ("servlet" ,java-javaee-servletapi)
7076 ("http" ,java-eclipse-jetty-http)
7077 ("server" ,java-eclipse-jetty-server)
7078 ("util" ,java-eclipse-jetty-util)))
7080 `(("io" ,java-eclipse-jetty-io)
7081 ,@(package-native-inputs java-eclipse-jetty-util)))
7082 (synopsis "Jetty security infrastructure")
7083 (description "The Jetty Web Server provides an HTTP server and Servlet
7084 container capable of serving static and dynamic content either from a standalone
7085 or embedded instantiation. This package provides the core jetty security
7088 (define-public java-eclipse-jetty-security-9.2
7090 (inherit java-eclipse-jetty-security)
7091 (version (package-version java-eclipse-jetty-util-9.2))
7092 (source (package-source java-eclipse-jetty-util-9.2))
7094 `(("util" ,java-eclipse-jetty-util-9.2)
7095 ("http" ,java-eclipse-jetty-http-9.2)
7096 ("server" ,java-eclipse-jetty-server-9.2)
7097 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7099 `(("io" ,java-eclipse-jetty-io-9.2)
7100 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7102 (define-public java-eclipse-jetty-servlet
7104 (inherit java-eclipse-jetty-util)
7105 (name "java-eclipse-jetty-servlet")
7107 `(#:jar-name "eclipse-jetty-servlet.jar"
7108 #:source-dir "src/main/java"
7111 (modify-phases %standard-phases
7112 (add-before 'configure 'chdir
7114 (chdir "jetty-servlet")
7117 `(("slf4j" ,java-slf4j-api)
7118 ("java-javaee-servletapi" ,java-javaee-servletapi)
7119 ("http" ,java-eclipse-jetty-http)
7120 ("http-test" ,java-eclipse-jetty-http-test-classes)
7121 ("io" ,java-eclipse-jetty-io)
7122 ("jmx" ,java-eclipse-jetty-jmx)
7123 ("security" ,java-eclipse-jetty-security)
7124 ("server" ,java-eclipse-jetty-server)
7125 ("util" ,java-eclipse-jetty-util)))
7126 (synopsis "Jetty Servlet Container")
7127 (description "The Jetty Web Server provides an HTTP server and Servlet
7128 container capable of serving static and dynamic content either from a standalone
7129 or embedded instantiation. This package provides the core jetty servlet
7132 (define-public java-eclipse-jetty-servlet-9.2
7134 (inherit java-eclipse-jetty-servlet)
7135 (version (package-version java-eclipse-jetty-util-9.2))
7136 (source (package-source java-eclipse-jetty-util-9.2))
7138 `(#:jar-name "eclipse-jetty-servlet.jar"
7139 #:source-dir "src/main/java"
7141 #:tests? #f; doesn't work
7143 (modify-phases %standard-phases
7144 (add-before 'configure 'chdir
7146 (chdir "jetty-servlet")
7149 `(("util" ,java-eclipse-jetty-util-9.2)
7150 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7151 ("io" ,java-eclipse-jetty-io-9.2)
7152 ("http" ,java-eclipse-jetty-http-9.2)
7153 ("security" ,java-eclipse-jetty-security-9.2)
7154 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
7155 ("server" ,java-eclipse-jetty-server-9.2)
7156 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
7158 (define-public java-eclipse-jetty-xml
7160 (inherit java-eclipse-jetty-util)
7161 (name "java-eclipse-jetty-xml")
7163 `(#:jar-name "eclipse-jetty-xml.jar"
7164 #:source-dir "src/main/java"
7166 #:tests? #f; most tests require network
7168 (modify-phases %standard-phases
7169 (add-before 'configure 'chdir
7174 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
7176 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7177 ,@(package-native-inputs java-eclipse-jetty-util)))))
7179 (define-public java-eclipse-jetty-xml-9.2
7181 (inherit java-eclipse-jetty-xml)
7182 (version (package-version java-eclipse-jetty-util-9.2))
7183 (source (package-source java-eclipse-jetty-util-9.2))
7185 `(#:jar-name "eclipse-jetty-xml.jar"
7186 #:source-dir "src/main/java"
7188 #:tests? #f; most tests require network
7190 (modify-phases %standard-phases
7191 (add-before 'configure 'chdir
7196 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7197 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7199 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7200 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7202 (define-public java-eclipse-jetty-webapp
7204 (inherit java-eclipse-jetty-util)
7205 (name "java-eclipse-jetty-webapp")
7207 `(#:jar-name "eclipse-jetty-webapp.jar"
7208 #:source-dir "src/main/java"
7211 #:test-exclude (list "**/WebAppContextTest.java")
7213 (modify-phases %standard-phases
7214 (add-before 'configure 'chdir
7216 (chdir "jetty-webapp")
7219 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
7220 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
7221 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
7222 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
7223 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
7224 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
7225 ("java-javaee-servletapi" ,java-javaee-servletapi)))
7227 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7228 ,@(package-native-inputs java-eclipse-jetty-util)))))
7230 (define-public java-eclipse-jetty-webapp-9.2
7232 (inherit java-eclipse-jetty-webapp)
7233 (version (package-version java-eclipse-jetty-util-9.2))
7234 (source (package-source java-eclipse-jetty-util-9.2))
7236 `(#:jar-name "eclipse-jetty-webapp.jar"
7237 #:source-dir "src/main/java"
7239 #:test-exclude (list "**/WebAppContextTest.java")
7241 (modify-phases %standard-phases
7242 (add-before 'configure 'chdir
7244 (chdir "jetty-webapp")
7247 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7248 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
7249 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
7250 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
7251 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
7252 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
7253 ("java-javaee-servletapi" ,java-javaee-servletapi)
7254 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7256 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7257 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7259 (define-public java-jsoup
7266 (url "https://github.com/jhy/jsoup")
7267 (commit (string-append "jsoup-" version))))
7268 (file-name (git-file-name name version))
7271 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
7272 (build-system ant-build-system)
7274 `(#:jar-name "jsoup.jar"
7275 #:source-dir "src/main/java"
7277 (modify-phases %standard-phases
7278 (add-before 'build 'copy-resources
7280 (let ((classes-dir (string-append (getcwd) "/build/classes")))
7281 (with-directory-excursion "src/main/java"
7282 (for-each (lambda (file)
7283 (let ((dist (string-append classes-dir "/" file)))
7284 (mkdir-p (dirname dist))
7285 (copy-file file dist)))
7286 (find-files "." ".*.properties"))))
7289 `(("java-junit" ,java-junit)
7290 ("java-hamcrest-core" ,java-hamcrest-core)
7291 ("java-gson" ,java-gson)))
7292 (home-page "https://jsoup.org")
7293 (synopsis "HTML parser")
7294 (description "Jsoup is a Java library for working with real-world HTML. It
7295 provides a very convenient API for extracting and manipulating data, using the
7296 best of DOM, CSS, and jQuery-like methods.")
7297 (license license:expat)))
7299 (define-public java-signpost-core
7301 (name "java-signpost-core")
7306 (url "https://github.com/mttkay/signpost")
7308 (file-name (git-file-name name version))
7311 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
7312 (build-system ant-build-system)
7314 `(#:jar-name "signpost-core.jar"
7315 #:source-dir "signpost-core/src/main/java"
7316 #:test-dir "signpost-core/src/test"
7317 ;; Tests all fail with InstantiationException from mockito
7320 `(("java-commons-codec" ,java-commons-codec)))
7321 (home-page "https://github.com/mttkay/signpost")
7322 (synopsis "Lightweight client-side OAuth library for Java")
7323 (description "Signpost is the easy and intuitive solution for signing
7324 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
7325 standard. Signpost follows a modular and flexible design, allowing you to
7326 combine it with different HTTP messaging layers.")
7327 (license license:asl2.0)))
7329 (define-public tidyp
7336 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
7340 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
7341 (build-system gnu-build-system)
7342 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
7343 (arguments `(#:tests? #f))
7344 (home-page "http://www.tidyp.com/")
7345 (synopsis "Validate HTML")
7346 (description "Tidyp is a program that can validate your HTML, as well as
7347 modify it to be more clean and standard. tidyp does not validate HTML 5.
7349 libtidyp is the library on which the program is based. It can be used by any
7350 other program that can interface to it. The Perl module @code{HTML::Tidy} is
7351 based on this library, allowing Perl programmers to easily validate HTML.")
7352 ;; See htmldoc/license.html
7353 (license license:bsd-3)))
7355 (define-public perl-html-tidy
7357 (name "perl-html-tidy")
7362 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
7366 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
7367 (build-system perl-build-system)
7370 (modify-phases %standard-phases
7371 (add-after 'unpack 'fix-tidyp-paths
7372 (lambda* (#:key inputs #:allow-other-keys)
7373 (substitute* "Makefile.PL"
7374 (("^my \\$inc = \"" line)
7376 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
7379 "-L" (assoc-ref inputs "tidyp") "/lib")))
7382 `(("perl-libwww" ,perl-libwww)
7385 `(("perl-test-exception" ,perl-test-exception)))
7386 (home-page "https://metacpan.org/release/HTML-Tidy")
7387 (synopsis "(X)HTML validation in a Perl object")
7388 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
7389 object. It's meant as a replacement for @code{HTML::Lint}, which is written
7390 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
7391 (license license:artistic2.0)))
7393 (define-public geomyidae
7401 (url "git://r-36.net/geomyidae")
7402 (commit (string-append "v" version))))
7403 (file-name (git-file-name name version))
7405 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
7406 (build-system gnu-build-system)
7408 `(#:make-flags (list "CC=gcc"
7409 (string-append "PREFIX="
7410 (assoc-ref %outputs "out")))
7411 #:tests? #f ; no tests
7412 #:phases (modify-phases %standard-phases
7413 (delete 'configure))))
7414 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
7415 (synopsis "Small Gopher server")
7417 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
7421 @item Gopher menus (see @file{index.gph} for an example);
7422 @item directory listings (if no @file{index.gph} was found);
7423 @item CGI support (@file{.cgi} files are executed);
7424 @item search support in CGI files;
7425 @item logging with multiple log levels.
7427 (license license:expat)))
7429 (define-public cat-avatar-generator
7431 (name "cat-avatar-generator")
7436 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
7437 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
7438 (file-name (string-append name "-" version))
7441 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
7442 (build-system trivial-build-system)
7444 `(#:modules ((guix build utils))
7447 (use-modules (guix build utils)
7451 (let ((source (assoc-ref %build-inputs "source"))
7452 (php-dir (string-append %output "/share/web/" ,name "/")))
7453 ;; The cache directory must not be in the store, but in a writable
7454 ;; location. The webserver will give us this location.
7455 (copy-recursively source php-dir)
7456 (substitute* (string-append php-dir "/cat-avatar-generator.php")
7457 (("\\$cachepath = .*")
7458 "if(isset($_SERVER['CACHE_DIR']))
7459 $cachepath = $_SERVER['CACHE_DIR'];
7461 die('You need to set the CACHE_DIR variable first.');"))
7463 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
7464 (synopsis "Random avatar generator")
7465 (description "Cat avatar generator is a generator of cat pictures optimised
7466 to generate random avatars, or defined avatar from a \"seed\". This is a
7467 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
7468 ;; expat for the code, CC-BY 4.0 for the artwork
7469 (license (list license:expat
7470 license:cc-by4.0))))
7472 (define-public nghttp2
7479 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7480 "releases/download/v" version "/"
7481 "nghttp2-" version ".tar.xz"))
7484 "1hk77vngjmvvzb5y1gi1aqwf6qywrc7yak08zvzb7x81qs6mphmb"))))
7485 (build-system gnu-build-system)
7486 (outputs (list "out"
7487 "lib")) ; only libnghttp2
7489 `(("pkg-config" ,pkg-config)
7491 ;; Required by tests.
7493 ("tzdata" ,tzdata-for-tests)))
7495 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
7496 `(("c-ares" ,c-ares)
7497 ("jansson" ,jansson) ; for HPACK tools
7498 ,@(if (hurd-target?) '()
7499 `(("jemalloc" ,jemalloc))) ; fight nghttpd{,x} heap fragmentation
7501 ("libxml2" ,libxml2) ; for ‘nghttp -a’
7502 ("openssl" ,openssl)
7503 ,@(if (hurd-target?)
7504 `(("openssl-static" ,openssl "static"))
7508 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
7509 "--enable-app" ; build all the tools
7510 "--enable-hpack-tools" ; ...all the tools
7511 "--disable-examples"
7512 "--disable-static") ; don't bother building .a files
7514 (modify-phases %standard-phases
7515 (add-after 'unpack 'break-circular-reference
7516 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
7517 ;; which is not allowed. Break this cycle. While we could install
7518 ;; only the library to ‘out’ and move everything else to a separate
7519 ;; output, this would inconvenience the majority of (human) users.
7520 (lambda* (#:key outputs #:allow-other-keys)
7521 (substitute* "lib/libnghttp2.pc.in"
7523 (assoc-ref outputs "lib")))
7525 (add-before 'check 'set-timezone-directory
7526 (lambda* (#:key inputs native-inputs #:allow-other-keys)
7527 (setenv "TZDIR" (string-append
7528 (assoc-ref (or native-inputs inputs) "tzdata")
7531 (home-page "https://nghttp2.org/")
7532 (synopsis "HTTP/2 protocol client, proxy, server, and library")
7534 "nghttp2 implements the Hypertext Transfer Protocol, version
7537 A reusable C library provides the HTTP/2 framing layer, with several tools built
7541 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
7542 and low-level aspects of the protocol and is useful for debugging.
7543 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
7544 serves files from a local directory.
7545 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
7546 deployed in front of existing web servers that don't support HTTP/2.
7547 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
7548 backwards compatibility with clients that don't speak HTTP/2.
7549 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
7550 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
7551 nghttp2 provides a HPACK encoder and decoder as part of its public API.
7552 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
7553 compressed JSON header blocks.
7554 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
7556 (license license:expat)))
7558 (define-public hpcguix-web
7559 (let ((commit "9de63562b06b4aef3a3afe5ecb18d3c91e57ee74")
7562 (name "hpcguix-web")
7563 (version (git-version "0.0.1" revision commit))
7567 (url "https://github.com/UMCUGenetics/hpcguix-web")
7569 (file-name (git-file-name name version))
7572 "0wjgj2s7v2cyz6dx24c111rxs99i84sfvxl4ch8brnh02j2606jz"))))
7573 (build-system gnu-build-system)
7575 `(#:modules ((guix build gnu-build-system)
7581 (modify-phases %standard-phases
7582 (add-before 'configure 'set-variables
7584 ;; This prevents a few warnings
7585 (setenv "GUILE_AUTO_COMPILE" "0")
7586 (setenv "XDG_CACHE_HOME" (getcwd))
7588 (add-after 'install 'wrap-program
7589 (lambda* (#:key inputs outputs #:allow-other-keys)
7590 (let* ((out (assoc-ref outputs "out"))
7591 (guix (assoc-ref inputs "guix"))
7592 (guile (assoc-ref inputs "guile"))
7593 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7594 (git (assoc-ref inputs "guile-git"))
7595 (bs (assoc-ref inputs "guile-bytestructures"))
7596 (json (assoc-ref inputs "guile-json"))
7597 (guile-cm (assoc-ref inputs
7598 "guile-commonmark"))
7599 (deps (list guile gcrypt git bs guile-cm guix json))
7602 (open-pipe* OPEN_READ
7603 (string-append guile "/bin/guile")
7604 "-c" "(display (effective-version))")))
7606 (map (cut string-append <>
7607 "/share/guile/site/"
7611 (gopath (string-join
7612 (map (cut string-append <>
7613 "/lib/guile/" effective
7617 (wrap-program (string-append out "/bin/run")
7618 `("GUILE_LOAD_PATH" ":" prefix (,path))
7619 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7623 `(("autoconf" ,autoconf)
7624 ("automake" ,automake)
7625 ("uglify-js" ,uglify-js)
7626 ("pkg-config" ,pkg-config)))
7628 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7631 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7632 ("guile-commonmark" ,guile-commonmark)
7633 ("guile-json" ,guile-json-4)))
7634 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7635 (synopsis "Web interface for cluster deployments of Guix")
7636 (description "Hpcguix-web provides a web interface to the list of packages
7637 provided by Guix. The list of packages is searchable and provides
7638 instructions on how to use Guix in a shared HPC environment.")
7639 (license license:agpl3+))))
7641 (define-public httrack
7647 (uri (string-append "https://mirror.httrack.com/historical/"
7648 "httrack-" version ".tar.gz"))
7651 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7652 (build-system gnu-build-system)
7654 `(("libressl" ,libressl)
7656 (home-page "https://www.httrack.com/")
7657 (synopsis "Easy-to-use offline browser utility")
7658 (description "HTTrack allows you to download a World Wide Web site from
7659 the Internet to a local directory, building recursively all directories,
7660 getting HTML, images, and other files from the server to your computer.
7662 HTTrack arranges the original site's relative link-structure. Simply open
7663 a page of the @emph{mirrored} website in your browser, and you can browse the
7664 site from link to link, as if you were viewing it online. HTTrack can also
7665 update an existing mirrored site, and resume interrupted downloads.
7667 HTTrack is fully configurable, and has an integrated help system.")
7668 (license license:gpl3+)))
7677 (uri (pypi-uri "buku" version))
7678 (file-name (git-file-name name version))
7680 (base32 "1bk3h2ya34a5livyf6p7kawh50ikbix5szsq2rkb8cp5bwrzsj5i"))))
7681 (build-system python-build-system)
7683 `(#:tests? #f)) ;FIXME: many tests need network access
7685 `(("python-beautifulsoup4" ,python-beautifulsoup4)
7686 ("python-certifi" ,python-certifi)
7687 ("python-cryptography" ,python-cryptography)
7688 ("python-html5lib" ,python-html5lib)
7689 ("python-urllib3" ,python-urllib3)))
7690 (home-page "https://github.com/jarun/buku")
7691 (synopsis "Bookmark manager")
7693 "buku is a powerful bookmark manager written in Python3 and SQLite3.
7694 @command{buku} can auto-import bookmarks from your browser and present them
7695 in an interactive command-line interface that lets you compose and update
7696 bookmarks directly. It can also present them in a web interface with
7697 @command{bukuserver}.")
7698 (license license:gpl3+)))
7700 (define-public anonip
7706 (uri (pypi-uri "anonip" version))
7709 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7710 (build-system python-build-system)
7711 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7712 (synopsis "Anonymize IP addresses in log files")
7714 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7715 That way most of the relevant information is preserved, while the IP address
7716 does not match a particular individuum anymore.
7718 Depending on your Web server, the log entries may be piped to Anonip directly
7719 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7720 written to any file.
7722 It's also possible to rewrite existing log files.
7724 Anonip can also be uses as a Python module in your own Python application.")
7725 (license license:bsd-3)))
7727 (define-public poussetaches
7729 (name "poussetaches")
7735 (url "https://github.com/tsileo/poussetaches")
7737 (file-name (git-file-name name version))
7740 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7741 (build-system go-build-system)
7743 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7744 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7746 `(#:import-path "github.com/tsileo/poussetaches"))
7747 (home-page "https://github.com/tsileo/poussetaches")
7748 (synopsis "Lightweight asynchronous task execution service")
7749 (description "Poussetaches (which literally means \"push tasks\" in
7750 French) is a lightweight asynchronous task execution service that aims to
7751 replace Celery and RabbitMQ for small Python applications.
7753 The app posts base64-encoded payload to poussetaches and specifies the
7754 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7755 requests with the registered payload until the right status code is
7757 (license license:isc)))
7759 (define-public htmlcxx
7767 (string-append "mirror://sourceforge/htmlcxx/v"
7768 version "/htmlcxx-" version ".tar.gz"))
7770 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7771 (build-system gnu-build-system)
7772 (home-page "http://htmlcxx.sourceforge.net/")
7773 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7774 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7775 C++. Although there are several other HTML parsers available, htmlcxx has some
7776 characteristics that make it unique:
7778 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7780 @item It is possible to reproduce exactly, character by character, the original
7781 document from the parse tree
7782 @item Bundled CSS parser
7783 @item Optional parsing of attributes
7784 @item C++ code that looks like C++ (not so true anymore)
7785 @item Offsets of tags/elements in the original document are stored in the nodes
7788 (license (list license:lgpl2.0
7792 (define-public librocket
7801 (url "https://github.com/libRocket/libRocket")
7802 (commit (string-append "release-" version))))
7803 (file-name (git-file-name name version))
7805 (base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
7806 (build-system cmake-build-system)
7808 `(#:tests? #f ; No tests.
7810 (modify-phases %standard-phases
7811 (add-after 'unpack 'chdir
7813 (chdir "Build"))))))
7815 `(("freetype" ,freetype)))
7816 (home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
7817 (synopsis "HTML/CSS user interface library")
7818 (description "libRocket is a C++ user interface package based on the HTML
7819 and CSS standards. libRocket uses the open standards XHTML1.0 and
7820 CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
7821 features suited towards real-time applications. It is designed as a complete
7822 solution for any project's interface needs:
7825 @item Dynamic layout system.
7826 @item Efficient application-wide styling, with a custom-built templating engine.
7827 @item Fully featured control set: buttons, sliders, drop-downs, etc.
7828 @item Runtime visual debugging suite.
7829 @item Easily integrated and extensible with Python or Lua scripting.
7831 (license license:expat)))
7833 (define-public gmnisrv
7834 (let ((commit "d484ba0ab0020866535a44be5948c9482b8f2b8d")
7838 (version (git-version "0" revision commit))
7839 (home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
7847 "11phipixsxx1jgm42agp76p5s68l0zj65kgb41vzaymgwcq79ivn"))
7848 (file-name (git-file-name name version))))
7849 (build-system gnu-build-system)
7852 (modify-phases %standard-phases
7853 (add-before 'configure 'set-variables
7859 `(("openssl" ,openssl)))
7861 `(("pkg-config" ,pkg-config)
7864 `(("mailcap" ,mailcap)))
7865 (synopsis "Simple Gemini protocol server")
7866 (description "gmnisrv is a simple Gemini protocol server written in C.")
7867 (license (list license:gpl3+
7868 license:bsd-3))))) ;; for ini.c and ini.h
7870 (define-public libzim
7877 (url "https://github.com/openzim/libzim")
7881 "0iy0f1clhihq277x218ccx3mszgpr3h9l0by48b9ykr115nffw3s"))
7882 (file-name (git-file-name name version))))
7883 (build-system meson-build-system)
7885 ;; TODO: Find out why tests fail.
7890 ("libuuid" ,util-linux "lib")
7892 ("zstd" ,zstd "lib")))
7894 `(("pkg-config" ,pkg-config)
7895 ("googletest" ,googletest)))
7896 (home-page "https://wiki.openzim.org/wiki/Main_Page")
7897 (synopsis "Reference implementation of the ZIM specification")
7898 (description "The openZIM project proposes offline storage solutions for
7899 content coming from the Web. The zimlib is the standard implementation of the
7900 ZIM specification. It is a library which implements the read and write method
7902 (license license:gpl2)))
7904 (define-public kiwix-lib
7908 (home-page "https://github.com/kiwix/kiwix-lib/")
7916 "034nk6l623v78clrs2d0k1vg69sbzrd8c0q79qiqmlkinck1nkxw"))
7917 (file-name (git-file-name name version))))
7918 (build-system meson-build-system)
7921 (modify-phases %standard-phases
7922 (add-before 'configure 'fix-paths-and-includes
7923 (lambda* (#:key inputs #:allow-other-keys)
7924 (setenv "CPPFLAGS" (string-append "-I" (assoc-ref inputs "mustache")))
7925 (substitute* "src/aria2.cpp"
7926 (("ARIA2_CMD \"aria2c\"")
7927 (string-append "ARIA2_CMD \""
7928 (assoc-ref inputs "aria2")
7935 ("libmicrohttpd" ,libmicrohttpd)
7937 ("pugixml" ,pugixml)
7940 ("zstd" ,zstd "lib")))
7942 `(("mustache" ,(origin
7945 (url "https://github.com/kainjow/Mustache")
7946 ;; XXX: Readme says to use version 3. Can we use 3.2.1?
7948 (file-name (git-file-name "mustache" "4.1"))
7951 "0r9rbk6v1wpld2ismfsk2lkhbyv3dkf0p03hkjivbj05qkfhvlbb"))))
7952 ("pkg-config" ,pkg-config)))
7953 (synopsis "Common code base for all Kiwix ports")
7954 (description "The Kiwix library provides the Kiwix software suite core.
7955 It contains the code shared by all Kiwix ports.")
7956 (license license:gpl3)))
7958 (define-public kiwix-desktop
7960 (name "kiwix-desktop")
7965 "https://download.kiwix.org/release/kiwix-desktop/kiwix-desktop-"
7970 "1a9h4qmh6fkfscyp6lax0ri07dvvzw2wp4kr1sm86n0bdk3cwwha"))))
7971 (build-system gnu-build-system)
7974 (modify-phases %standard-phases
7976 (lambda* (#:key outputs #:allow-other-keys)
7978 (string-append "PREFIX="
7979 (assoc-ref outputs "out")))))
7980 (add-before 'configure 'enable-print-support
7982 (substitute* "kiwix-desktop.pro"
7983 (("webenginewidgets") "webenginewidgets printsupport"))
7985 (add-before 'configure 'substitute-source
7986 ;; Looks like .pro file is missing a feature.
7987 ;; See https://github.com/kiwix/kiwix-desktop/issues/556.
7988 (lambda* (#:key inputs #:allow-other-keys)
7989 (substitute* "kiwix-desktop.pro"
7990 (("webenginewidgets" all) (string-append all " printsupport")))
7992 (add-after 'install 'wrap-qt-process-path
7993 (lambda* (#:key inputs outputs #:allow-other-keys)
7994 (let* ((out (assoc-ref outputs "out"))
7995 (bin (string-append out "/bin/kiwix-desktop"))
7996 (qt-process-path (string-append
7997 (assoc-ref inputs "qtwebengine")
7998 "/lib/qt5/libexec/QtWebEngineProcess")))
8000 `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
8005 ("kiwix-lib" ,kiwix-lib)
8006 ("libmicrohttpd" ,libmicrohttpd)
8008 ("pugixml" ,pugixml)
8010 ("qtdeclarative" ,qtdeclarative)
8011 ("qtwebchannel" ,qtwebchannel)
8012 ("qtwebengine" ,qtwebengine)
8015 ("zstd" ,zstd "lib")))
8017 `(("pkg-config" ,pkg-config)
8019 (home-page "https://wiki.kiwix.org/wiki/Software")
8020 (synopsis "Viewer and manager of ZIM files")
8021 (description "Kiwix Desktop allows you to enjoy a lot of different content
8022 offline (such as Wikipedia), without any access to Internet.")
8023 (license license:gpl3)))
8025 (define-public uriparser
8026 (let ((commit "25dddb16cf044a7df27884e7ad3911baaaca3d7c")
8030 (version (git-version "0.9.4" revision commit))
8034 (url "https://github.com/uriparser/uriparser")
8036 (file-name (git-file-name name version))
8039 "1ffzia679axcsccx2fxjpxhb0i5xc42zxn446x6c1170w6v69qf6"))))
8040 (build-system cmake-build-system)
8041 (native-inputs `(("gtest" ,googletest)
8042 ("doxygen" ,doxygen)
8043 ("graphviz" ,graphviz)))
8044 (synopsis "Strictly RFC 3986 compliant URI parsing and handling library")
8045 (description "uriparser is a strictly RFC 3986 compliant URI parsing and
8046 handling library written in C89 (\"ANSI C\"). uriparser is fast and supports
8048 (home-page "https://uriparser.github.io/")
8049 (license license:bsd-3))))
8051 (define-public quark
8053 (let ((revision "0")
8054 (commit "c6a9055e5a30be570e30da8d216c39662c3a3f99"))
8057 (version (git-version "0.0.0" revision commit))
8061 (url "https://git.suckless.org/quark/")
8063 (file-name (git-file-name name version))
8066 "1znvnr30xi5vgd6n3wvgv9pwj992zpzzjk0fmq28ydf1l6kqvkm7"))))
8067 (build-system gnu-build-system)
8069 `(#:tests? #f ; no tests
8071 (list (string-append "CC=" ,(cc-for-target))
8072 (string-append "PREFIX=" %output))
8074 (modify-phases %standard-phases
8075 (delete 'configure)))) ; no configure script
8076 (home-page "https://tools.suckless.org/quark/")
8077 (synopsis "Small and simple HTTP GET/HEAD-only web server for static
8079 (description "Quark is an extremely small and simple HTTP GET/HEAD only
8080 web server for static content. TLS is not natively supported and should be
8081 provided by a TLS reverse proxy (e.g. tlstunnel, hitch or stunnel).")
8082 (license license:isc)
8084 ;; XXX: Ignore this CVE to work around a name clash with the unrelated
8085 ;; "cpe:2.3:a:comelz:quark" package. The proper fix is for (guix cve)
8086 ;; to account for "vendor names".
8087 (properties '((lint-hidden-cve . ("CVE-2019-15520")))))))