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 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 Paul Garlick <pgarlick@tourbillion-technology.com>
47 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
48 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
49 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
51 ;;; This file is part of GNU Guix.
53 ;;; GNU Guix is free software; you can redistribute it and/or modify it
54 ;;; under the terms of the GNU General Public License as published by
55 ;;; the Free Software Foundation; either version 3 of the License, or (at
56 ;;; your option) any later version.
58 ;;; GNU Guix is distributed in the hope that it will be useful, but
59 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
60 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
61 ;;; GNU General Public License for more details.
63 ;;; You should have received a copy of the GNU General Public License
64 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
66 (define-module (gnu packages web)
67 #:use-module (ice-9 match)
68 #:use-module ((guix licenses) #:prefix license:)
69 #:use-module (guix packages)
70 #:use-module (guix download)
71 #:use-module (guix gexp)
72 #:use-module (guix cvs-download)
73 #:use-module (guix hg-download)
74 #:use-module (guix git-download)
75 #:use-module (guix utils)
76 #:use-module (guix build-system ant)
77 #:use-module (guix build-system cargo)
78 #:use-module (guix build-system cmake)
79 #:use-module (guix build-system glib-or-gtk)
80 #:use-module (guix build-system gnu)
81 #:use-module (guix build-system go)
82 #:use-module (guix build-system meson)
83 #:use-module (guix build-system perl)
84 #:use-module (guix build-system python)
85 #:use-module (guix build-system qt)
86 #:use-module (guix build-system scons)
87 #:use-module (guix build-system trivial)
88 #:use-module (gnu packages)
89 #:use-module (gnu packages admin)
90 #:use-module (gnu packages adns)
91 #:use-module (gnu packages apr)
92 #:use-module (gnu packages autotools)
93 #:use-module (gnu packages base)
94 #:use-module (gnu packages bison)
95 #:use-module (gnu packages bittorrent)
96 #:use-module (gnu packages boost)
97 #:use-module (gnu packages check)
98 #:use-module (gnu packages compression)
99 #:use-module (gnu packages crates-gtk)
100 #:use-module (gnu packages crates-io)
101 #:use-module (gnu packages curl)
102 #:use-module (gnu packages cyrus-sasl)
103 #:use-module (gnu packages databases)
104 #:use-module (gnu packages docbook)
105 #:use-module (gnu packages documentation)
106 #:use-module (gnu packages emacs)
107 #:use-module (gnu packages emacs-xyz)
108 #:use-module (gnu packages flex)
109 #:use-module (gnu packages fontutils)
110 #:use-module (gnu packages freedesktop)
111 #:use-module (gnu packages gcc)
112 #:use-module (gnu packages gd)
113 #:use-module (gnu packages gettext)
114 #:use-module (gnu packages glib)
115 #:use-module (gnu packages gnome)
116 #:use-module (gnu packages gnu-doc)
117 #:use-module (gnu packages gnunet)
118 #:use-module (gnu packages gnupg)
119 #:use-module (gnu packages golang)
120 #:use-module (gnu packages gperf)
121 #:use-module (gnu packages graphviz)
122 #:use-module (gnu packages gtk)
123 #:use-module (gnu packages guile)
124 #:use-module (gnu packages guile-xyz)
125 #:use-module (gnu packages hurd)
126 #:use-module (gnu packages icu4c)
127 #:use-module (gnu packages image)
128 #:use-module (gnu packages java)
129 #:use-module (gnu packages jemalloc)
130 #:use-module (gnu packages imagemagick)
131 #:use-module (gnu packages kde)
132 #:use-module (gnu packages kerberos)
133 #:use-module (gnu packages libevent)
134 #:use-module (gnu packages libidn)
135 #:use-module (gnu packages libunistring)
136 #:use-module (gnu packages libunwind)
137 #:use-module (gnu packages linux)
138 #:use-module (gnu packages lisp-xyz)
139 #:use-module (gnu packages lsof)
140 #:use-module (gnu packages lua)
141 #:use-module (gnu packages mail)
142 #:use-module (gnu packages man)
143 #:use-module (gnu packages markup)
144 #:use-module (gnu packages ncurses)
145 #:use-module (gnu packages networking)
146 #:use-module (gnu packages nss)
147 #:use-module (gnu packages openldap)
148 #:use-module (gnu packages openstack)
149 #:use-module (gnu packages package-management)
150 #:use-module (gnu packages pcre)
151 #:use-module (gnu packages perl)
152 #:use-module (gnu packages perl-check)
153 #:use-module (gnu packages python)
154 #:use-module (gnu packages python-crypto)
155 #:use-module (gnu packages python-web)
156 #:use-module (gnu packages python-xyz)
157 #:use-module (gnu packages pkg-config)
158 #:use-module (gnu packages qt)
159 #:use-module (gnu packages re2c)
160 #:use-module (gnu packages readline)
161 #:use-module (gnu packages search)
162 #:use-module (gnu packages sphinx)
163 #:use-module (gnu packages texinfo)
164 #:use-module (gnu packages textutils)
165 #:use-module (gnu packages tls)
166 #:use-module (gnu packages valgrind)
167 #:use-module (gnu packages version-control)
168 #:use-module (gnu packages vim)
169 #:use-module (gnu packages xml)
170 #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
178 (uri (string-append "mirror://apache/httpd/httpd-"
182 "1sj1rwgbcjgkzac3ybjy7j68c9b3dv3ap71m48mrjhf6w7vds3kl"))))
183 (build-system gnu-build-system)
184 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
185 (inputs `(("apr" ,apr)
186 ("apr-util" ,apr-util)
188 ("perl" ,perl))) ; needed to run bin/apxs
190 `(#:test-target "test"
191 #:configure-flags (list "--enable-rewrite"
193 "--enable-vhost-alias"
195 "--enable-mime-magic"
196 (string-append "--sysconfdir="
197 (assoc-ref %outputs "out")
199 (synopsis "Featureful HTTP server")
201 "The Apache HTTP Server Project is a collaborative software development
202 effort aimed at creating a robust, commercial-grade, featureful, and
203 freely-available source code implementation of an HTTP (Web) server. The
204 project is jointly managed by a group of volunteers located around the world,
205 using the Internet and the Web to communicate, plan, and develop the server
206 and its related documentation.")
207 (license license:asl2.0)
208 (home-page "https://httpd.apache.org/")))
210 (define-public mod-wsgi
217 (url "https://github.com/GrahamDumpleton/mod_wsgi")
219 (file-name (git-file-name name version))
222 "1savh6h3qds20mwn1nqasmqzcp57pdhfc9v4b4k78d6q28y0r17s"))))
223 (build-system gnu-build-system)
225 '(#:tests? #f ; TODO: can't figure out if there are tests
227 (string-append "DESTDIR="
228 (assoc-ref %outputs "out"))
229 "LIBEXECDIR=/modules")))
232 ("python" ,python-wrapper)))
233 (synopsis "Apache HTTPD module for Python WSGI applications")
235 "The mod_wsgi module for the Apache HTTPD Server adds support for running
236 applications that support the Python @acronym{WSGI, Web Server Gateway
237 Interface} specification.")
238 (license license:asl2.0)
239 (home-page "https://modwsgi.readthedocs.io/")))
241 (define-public monolith
249 (url "https://github.com/Y2Z/monolith.git")
250 (commit (string-append "v" version))))
251 (file-name (git-file-name name version))
253 (base32 "18c6bsv9m3spiyfhqp08v807m93r6n9hrlv4qbfiqp4kw5aryb4h"))))
254 (build-system cargo-build-system)
257 (("rust-base64" ,rust-base64-0.13)
258 ("rust-chrono" ,rust-chrono-0.4)
259 ("rust-clap" ,rust-clap-2)
260 ("rust-cssparser" ,rust-cssparser-0.27)
261 ("rust-html5ever" ,rust-html5ever-0.24)
262 ("rust-regex" ,rust-regex-1)
263 ("rust-reqwest" ,rust-reqwest-0.10)
264 ("rust-sha2" ,rust-sha2-0.9)
265 ("rust-url" ,rust-url-2))
266 #:cargo-development-inputs
267 (("rust-assert-cmd" ,rust-assert-cmd-1)
268 ("rust-tempfile" ,rust-tempfile-3))))
270 `(("pkg-config" ,pkg-config)))
272 `(("openssl" ,openssl)))
273 (home-page "https://github.com/Y2Z/monolith")
274 (synopsis "Command line tool for saving web pages as a single HTML file")
276 "Monolith bundles any web page into a single HTML file.
278 Unlike conventional ``Save page as…'', Monolith not only saves the target
279 document, it embeds CSS, image, and JavaScript assets all at once, producing
280 a single HTML5 document.
282 If compared to saving websites with @samp{wget -mpk}, Monolith embeds
283 all assets as data URLs and therefore displays the saved page exactly
284 the same, being completely separated from the Internet.")
285 (license license:unlicense)))
290 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
291 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
292 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
293 ;; Consider updating the nginx-documentation package together with this one.
297 (uri (string-append "https://nginx.org/download/nginx-"
301 "1d9kzks8x1226prjbpdin4dz93fjnv304zlqybfqachx5fh9a4di"))))
302 (build-system gnu-build-system)
303 (inputs `(("openssl" ,openssl)
307 `(#:tests? #f ; no test target
309 (modify-phases %standard-phases
310 (add-before 'configure 'patch-/bin/sh
312 (substitute* "auto/feature"
313 (("/bin/sh") (which "sh")))
316 ;; The configure script is hand-written, not from GNU autotools.
317 (lambda* (#:key configure-flags outputs #:allow-other-keys)
319 (append (list (string-append "--prefix=" (assoc-ref outputs "out"))
320 "--with-http_ssl_module"
321 "--with-http_v2_module"
324 ;; Even when not cross-building, we pass the
325 ;; --crossbuild option to avoid customizing for the
326 ;; kernel version on the build machine.
327 ,(let ((system "Linux") ; uname -s
328 (release "3.2.0") ; uname -r
330 (machine (match (or (%current-target-system)
332 ("x86_64-linux" "x86_64")
333 ("i686-linux" "i686")
334 ("mips64el-linux" "mips64")
335 ;; Prevent errors when querying
336 ;; this package on unsupported
337 ;; platforms, e.g. when running
338 ;; "guix package --search="
340 (string-append "--crossbuild="
341 system ":" release ":" machine)))
344 (format #t "configure flags: ~s~%" flags)
345 (apply invoke "./configure" flags)
347 (add-after 'install 'install-man-page
348 (lambda* (#:key outputs #:allow-other-keys)
349 (let* ((out (assoc-ref outputs "out"))
350 (man (string-append out "/share/man")))
351 (install-file "objs/nginx.8" (string-append man "/man8"))
353 (add-after 'install 'fix-root-dirs
354 (lambda* (#:key outputs #:allow-other-keys)
355 ;; 'make install' puts things in strange places, so we need to
356 ;; clean it up ourselves.
357 (let* ((out (assoc-ref outputs "out"))
358 (share (string-append out "/share/nginx")))
359 ;; This directory is empty, so get rid of it.
360 (rmdir (string-append out "/logs"))
361 ;; Example configuration and HTML files belong in
364 (rename-file (string-append out "/conf")
365 (string-append share "/conf"))
366 (rename-file (string-append out "/html")
367 (string-append share "/html"))
369 (home-page "https://nginx.org")
370 (synopsis "HTTP and reverse proxy server")
372 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
373 created by Igor Sysoev. It can be used both as a stand-alone web server
374 and as a proxy to reduce the load on back-end HTTP or mail servers.")
375 ;; Almost all of nginx is distributed under the bsd-2 license.
376 ;; The exceptions are:
377 ;; * The 'nginx-http-push' module is covered by the expat license.
378 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
379 ;; except for two source files which are bsd-4 licensed.
380 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
382 (define-public nginx-documentation
383 ;; This documentation should be relevant for the current nginx package.
384 (let ((version "1.19.6")
386 (changeset "a0824dab33ff"))
388 (name "nginx-documentation")
389 (version (simple-format #f "~A-~A-~A" version revision changeset))
391 (origin (method hg-fetch)
393 (url "http://hg.nginx.org/nginx.org")
394 (changeset changeset)))
395 (file-name (string-append name "-" version))
398 "06w6fg33pnkqpaagzp9rqizill61vj7db7083mrd6i6by0j7cp1b"))))
399 (build-system gnu-build-system)
401 '(#:tests? #f ; no test suite
403 (modify-phases %standard-phases
404 (delete 'configure) ; no configure script
406 (lambda* (#:key outputs #:allow-other-keys)
407 (let ((output (assoc-ref outputs "out")))
408 (substitute* "umasked.sh"
409 ((" /bin/sh") (string-append " " (which "sh"))))
410 ;; The documentation includes a banner, which makes sense on
411 ;; the NGinx website, but doesn't make much sense when
412 ;; viewing locally. Therefore, modify the CSS to remove the
414 (substitute* "xslt/style.xslt"
415 (("#banner \\{ background: black;")
416 "#banner { display: none;"))
420 (lambda* (#:key outputs #:allow-other-keys)
421 (let ((output (assoc-ref outputs "out")))
423 (copy-recursively "libxslt" output)
426 `(("libxml2" ,libxml2)
428 ("nginx-xslscript" ,nginx-xslscript)))
429 (home-page "https://nginx.org")
430 (synopsis "Documentation for the nginx web server")
432 "This package provides HTML documentation for the nginx web server.")
433 (license license:bsd-2))))
435 (define-public nginx-accept-language-module
436 ;; Upstream has never made a release; use current commit instead.
437 (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
440 (name "nginx-accept-language-module")
441 (version (git-version "0.0.0" ;upstream has no version number
447 (url "https://github.com/giom/nginx_accept_language_module")
449 (file-name (git-file-name name version))
451 (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
452 (build-system gnu-build-system)
453 (inputs `(("openssl" ,openssl)
455 ("nginx-sources" ,(package-source nginx))
458 `(#:tests? #f ; no test target
459 #:make-flags (list "modules")
460 #:modules ((guix build utils)
461 (guix build gnu-build-system)
464 (ice-9 textual-ports))
466 (modify-phases %standard-phases
467 (add-after 'unpack 'unpack-nginx-sources
468 (lambda* (#:key inputs native-inputs #:allow-other-keys)
470 ;; The nginx source code is part of the module’s source.
471 (format #t "decompressing nginx source code~%")
472 (let ((tar (assoc-ref inputs "tar"))
473 (nginx-srcs (assoc-ref inputs "nginx-sources")))
474 (invoke (string-append tar "/bin/tar")
475 "xvf" nginx-srcs "--strip-components=1"))
477 (add-after 'unpack 'convert-to-dynamic-module
480 (with-atomic-file-replacement "config"
482 ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
483 (format out "ngx_module_type=HTTP~%")
484 (format out "ngx_module_name=\
485 ngx_http_accept_language_module~%")
486 (let* ((str (get-string-all in))
488 "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
489 (m (regexp-exec rx str))
490 (srcs (match:substring m 1)))
491 (format out (string-append "ngx_module_srcs=\""
493 (format out ". auto/module~%")
494 (format out "ngx_addon_name=$ngx_module_name~%"))))))
495 (add-before 'configure 'patch-/bin/sh
497 (substitute* "auto/feature"
498 (("/bin/sh") (which "sh")))
501 ;; This phase is largely copied from the nginx package.
502 (lambda* (#:key outputs #:allow-other-keys)
504 (list ;; A copy of nginx’ flags follows, otherwise we
505 ;; get a binary compatibility error. FIXME: Code
506 ;; duplication is bad.
507 (string-append "--prefix=" (assoc-ref outputs "out"))
508 "--with-http_ssl_module"
509 "--with-http_v2_module"
512 ;; Even when not cross-building, we pass the
513 ;; --crossbuild option to avoid customizing for the
514 ;; kernel version on the build machine.
515 ,(let ((system "Linux") ; uname -s
516 (release "3.2.0") ; uname -r
518 (machine (match (or (%current-target-system)
520 ("x86_64-linux" "x86_64")
521 ("i686-linux" "i686")
522 ("mips64el-linux" "mips64")
523 ;; Prevent errors when querying
524 ;; this package on unsupported
525 ;; platforms, e.g. when running
526 ;; "guix package --search="
528 (string-append "--crossbuild="
529 system ":" release ":" machine))
530 ;; The following are the args decribed on
531 ;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
532 ;; Enabling --with-compat here and in the nginx package
533 ;; would ensure binary compatibility even when using
534 ;; different configure options from the main nginx
535 ;; package. This is not needed for Guix.
537 "--add-dynamic-module=.")))
539 (format #t "environment variable `CC' set to `gcc'~%")
540 (format #t "configure flags: ~s~%" flags)
541 (apply invoke "./configure" flags)
544 (lambda* (#:key outputs #:allow-other-keys)
545 (let* ((out (assoc-ref outputs "out"))
546 (modules-dir (string-append out "/etc/nginx/modules"))
547 (doc-dir (string-append
548 out "/share/doc/nginx-accept-language-module")))
549 (mkdir-p modules-dir)
550 (copy-file "objs/ngx_http_accept_language_module.so"
552 modules-dir "/ngx_http_accept_language_module.so"))
554 (copy-file "README.textile"
555 (string-append doc-dir "/README.textile"))
558 "https://www.nginx.com/resources/wiki/modules/accept_language/")
559 (synopsis "Nginx module for parsing the Accept-Language HTTP header")
561 "This nginx module parses the Accept-Language field in HTTP headers and
562 chooses the most suitable locale for the user from the list of locales
563 supported at your website.")
564 (license (delete-duplicates
565 (cons license:bsd-2 ;license of nginx-accept-language-module
566 ;; The module’s code is linked statically with nginx,
567 ;; therefore nginx’ other licenses may also apply to its
569 (package-license nginx)))))))
571 (define nginx-xslscript
573 (changeset "01dc9ba12e1b"))
575 (name "nginx-xslscript")
577 (simple-format #f "2014-03-31-~A-~A" revision changeset))
581 (url "http://hg.nginx.org/xslscript")
582 (changeset changeset)))
583 (file-name (string-append name "-" version))
586 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
587 (build-system gnu-build-system)
589 '(#:tests? #f ; No test suite
591 (modify-phases %standard-phases
595 (lambda* (#:key outputs #:allow-other-keys)
596 (let ((out-bin (string-append
597 (assoc-ref outputs "out")
600 (copy-file "xslscript.pl"
605 (home-page "http://hg.nginx.org/xslscript")
606 (synopsis "XSLScript with NGinx specific modifications")
608 "XSLScript is a terse notation for writing complex XSLT stylesheets.
609 This is modified version, specifically intended for use with the NGinx
611 (license license:bsd-2))))
613 (define nginx-socket-cloexec
616 (name "nginx-socket-cloexec") ;required for lua-resty-shell
619 (inherit (package-source nginx))
620 (patches (append (search-patches "nginx-socket-cloexec.patch")
621 (origin-patches (package-source nginx))))))))
623 (define-public nginx-lua-module
626 (name "nginx-lua-module")
632 (url "https://github.com/openresty/lua-nginx-module")
633 (commit (string-append "v" version))))
634 (file-name (git-file-name "lua-nginx-module" version))
636 (base32 "0nwcbqm1visg1dkxav7qa16w0d0n8cgqn4881xiqn88xfkxj0dyg"))))
637 (build-system gnu-build-system)
639 `(("nginx-sources" ,(package-source nginx-socket-cloexec))
641 ,@(package-inputs nginx)))
643 (substitute-keyword-arguments
644 `(#:configure-flags '("--add-dynamic-module=.")
645 #:make-flags '("modules")
646 #:modules ((guix build utils)
647 (guix build gnu-build-system)
650 (ice-9 textual-ports))
651 ,@(package-arguments nginx))
653 `(modify-phases ,phases
654 (add-after 'unpack 'unpack-nginx-sources
655 (lambda* (#:key inputs native-inputs #:allow-other-keys)
657 ;; The nginx source code is part of the module’s source.
658 (format #t "decompressing nginx source code~%")
659 (let ((tar (assoc-ref inputs "tar"))
660 (nginx-srcs (assoc-ref inputs "nginx-sources")))
661 (invoke (string-append tar "/bin/tar")
662 "xvf" nginx-srcs "--strip-components=1"))
664 (add-before 'configure 'set-luajit-env
665 (lambda* (#:key inputs #:allow-other-keys)
666 (let ((luajit (assoc-ref inputs "luajit")))
668 (string-append luajit "/lib"))
670 (string-append luajit "/include/luajit-2.1"))
673 (lambda* (#:key outputs #:allow-other-keys)
674 (let ((modules-dir (string-append (assoc-ref outputs "out")
675 "/etc/nginx/modules")))
676 (install-file "objs/ngx_http_lua_module.so" modules-dir)
678 (delete 'fix-root-dirs)
679 (delete 'install-man-page)))))
680 (synopsis "NGINX module for Lua programming language support")
681 (description "This NGINX module provides a scripting support with Lua
682 programming language.")))
684 (define-public lighttpd
690 (uri (string-append "https://download.lighttpd.net/lighttpd/"
691 "releases-" (version-major+minor version) ".x/"
692 "lighttpd-" version ".tar.xz"))
695 "03kd28nq6wndvvyk0zs5120ajvg1icnif5bvrsyhw69sl7yyyzr6"))))
696 (build-system gnu-build-system)
707 (modify-phases %standard-phases
708 (add-after 'unpack 'embed-/bin/sh-reference
710 (substitute* "src/mod_ssi.c"
711 (("/bin/sh") (which "sh")))
713 (add-after 'unpack 'fix-tests
715 (setenv "SHELL" (which "sh"))
716 ;; gethostbyaddr fails
717 (substitute* "tests/LightyTest.pm"
718 (("\\{HOSTNAME\\} = \\$name;")
719 "{HOSTNAME} = \"127.0.0.1\";"))
722 `(("cyrus-sasl" ,cyrus-sasl)
724 ("libunwind" ,libunwind)
725 ("linux-pam" ,linux-pam)
726 ("mit-krb5" ,mit-krb5)
727 ("openldap" ,openldap)
730 ("pcre:bin" ,pcre "bin")
733 `(("perl" ,perl) ; for tests
734 ("pkg-config" ,pkg-config)
736 (home-page "https://www.lighttpd.net/")
737 (synopsis "Lightweight HTTP and reverse proxy server")
739 "Lighttpd is a secure, fast, compliant, and very flexible web-server that
740 has been optimized for high-performance environments. It has a very low
741 memory footprint compared to other webservers. Its features include FastCGI,
742 CGI, authentication, output compression, URL rewriting and many more.")
743 (license license:bsd-3)))
752 ;; Upstream has disappeared.
754 (url "https://github.com/FastCGI-Archives/fcgi2")
756 (file-name (git-file-name name version))
758 (base32 "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"))))
759 (build-system gnu-build-system)
760 ;; Parallel building is not supported.
761 (arguments `(#:parallel-build? #f))
763 `(("autoconf" ,autoconf)
764 ("automake" ,automake)
765 ("libtool" ,libtool)))
766 ;; This is an archived fork of the original home page, www.fastcgi.com.
767 (home-page "https://fastcgi-archives.github.io/")
768 (synopsis "Language-independent, high-performant extension to CGI")
769 (description "FastCGI is a language-independent, scalable extension to CGI
770 that provides high performance without the limitations of server specific
772 ;; This package is released under the Open Market License, a variant of
773 ;; the Expat license, incompatible with the GPL.
774 (license (license:non-copyleft "file://LICENSE.TERMS"))))
776 (define-public fcgiwrap
784 (url "https://github.com/gnosek/fcgiwrap")
786 (file-name (git-file-name name version))
788 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
789 (build-system gnu-build-system)
791 `(#:tests? #f ; no tests included
792 #:make-flags (list "CC=gcc")
794 (modify-phases %standard-phases
795 (add-after 'unpack 'fix-CFLAGS
796 ;; Remove broken options unconditionally added to CFLAGS.
798 (substitute* "configure.ac"
802 `(("autoconf" ,autoconf)
803 ("automake" ,automake)
804 ("pkg-config" ,pkg-config)))
807 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
808 (synopsis "Simple server for running CGI applications over FastCGI")
809 (description "Fcgiwrap is a simple server for running CGI applications
810 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
811 servers that may need it).")
812 (license license:expat)))
814 (define-public starman
821 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
822 "Starman-" version ".tar.gz"))
824 (base32 "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h"))))
825 (build-system perl-build-system)
827 `(("perl-libwww" ,perl-libwww)
828 ("perl-module-build-tiny" ,perl-module-build-tiny)
829 ("perl-test-requires" ,perl-test-requires)))
831 `(("perl-data-dump" ,perl-data-dump)
832 ("perl-http-date" ,perl-http-date)
833 ("perl-http-message" ,perl-http-message)
834 ("perl-http-parser-xs" ,perl-http-parser-xs)
835 ("perl-net-server" ,perl-net-server)
836 ("perl-plack" ,perl-plack)
837 ("perl-test-tcp" ,perl-test-tcp)))
838 (home-page "https://metacpan.org/release/Starman")
839 (synopsis "PSGI/Plack web server")
840 (description "Starman is a PSGI perl web server that has unique features
841 such as high performance, preforking, signal support, superdaemon awareness,
842 and UNIX socket support.")
843 (license license:perl-license)))
845 (define-public icedtea-web
852 "http://icedtea.wildebeest.org/download/source/"
853 name "-" version ".tar.gz"))
856 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
857 (build-system gnu-build-system)
860 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
861 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
863 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
864 (outputs '("out" "doc"))
866 `(("pkg-config" ,pkg-config)
870 ("jdk" ,icedtea "jdk")))
871 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
872 (synopsis "Java Web Start")
874 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
875 Protocol}, also known as Java Web Start. This package provides tools and
876 libraries for working with JNLP applets.")
877 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
879 (license license:gpl2+)))
881 (define-public jansson
888 (string-append "http://www.digip.org/jansson/releases/jansson-"
892 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
893 (build-system gnu-build-system)
895 `(#:configure-flags '("--disable-static")))
896 (home-page "http://www.digip.org/jansson/")
897 (synopsis "JSON C library")
899 "Jansson is a C library for encoding, decoding and manipulating JSON
901 (license license:expat)))
903 (define-public json-c
905 (replacement json-c/fixed)
911 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
915 "0w381krr99q5a2rypx4g437fa7gzgl82i64sgnrs6g5jr44dwxxk"))))
916 (build-system cmake-build-system)
917 (home-page "https://github.com/json-c/json-c/wiki")
918 (synopsis "JSON implementation in C")
920 "JSON-C implements a reference counting object model that allows you to
921 easily construct JSON objects in C, output them as JSON-formatted strings and
922 parse JSON-formatted strings back into the C representation of JSON objects.
923 It aims to conform to RFC 7159.")
924 (license license:x11)))
932 (inherit (package-source json-c))
933 (patches (search-patches "json-c-CVE-2020-12762.patch"))))))
935 ;; TODO: Remove these old versions when all dependents have been updated.
936 (define-public json-c-0.13
943 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
946 (base32 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
947 (patches (search-patches "json-c-0.13-CVE-2020-12762.patch"))
948 (modules '((guix build utils)))
951 ;; Somehow 'config.h.in' is older than
952 ;; 'aclocal.m4', which would trigger a rule to
954 (set-file-time "config.h.in"
957 (build-system gnu-build-system)))
959 (define-public json-c-0.12
961 (inherit json-c-0.13)
966 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
969 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
970 (patches (search-patches "json-c-0.12-CVE-2020-12762.patch"))
971 (modules '((guix build utils)))
974 ;; Somehow 'config.h.in' is older than
975 ;; 'aclocal.m4', which would trigger a rule to
977 (set-file-time "config.h.in"
980 ;; Don't try to build with -Werror.
981 (substitute* (find-files "." "Makefile\\.in")
985 (define-public json-parser
990 ;; do not use auto-generated tarballs
993 (url "https://github.com/udp/json-parser")
994 (commit (string-append "v" version))))
995 (file-name (git-file-name name version))
998 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
999 ;; FIXME: we should build the python bindings in a separate package
1000 (build-system gnu-build-system)
1001 ;; the tests are written for the python bindings which are not built here
1002 (arguments '(#:tests? #f))
1003 (home-page "https://github.com/udp/json-parser")
1004 (synopsis "JSON parser written in ANSI C")
1005 (description "This package provides a very low footprint JSON parser
1006 written in portable ANSI C.
1009 @item BSD licensed with no dependencies (i.e. just drop the C file into your
1011 @item Never recurses or allocates more memory than it needs
1012 @item Very simple API with operator sugar for C++
1014 (license license:bsd-2)))
1016 (define-public qjson
1023 (url "https://github.com/flavio/qjson")
1025 (file-name (git-file-name name version))
1028 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
1029 (build-system cmake-build-system)
1031 ;; The tests require a running X server.
1032 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
1033 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
1035 (modify-phases %standard-phases
1036 (add-after 'unpack 'disable-broken-test
1038 ;; FIXME: One test fails. See
1039 ;; https://github.com/flavio/qjson/issues/105
1040 (substitute* "tests/scanner/testscanner.cpp"
1041 (("QTest::newRow\\(\"too large exponential\"\\)" line)
1042 (string-append "//" line)))
1044 (add-before 'check 'render-offscreen
1045 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
1047 `(("qtbase" ,qtbase)))
1048 (home-page "http://qjson.sourceforge.net")
1049 (synopsis "Library that maps JSON data to QVariant objects")
1050 (description "QJson is a Qt-based library that maps JSON data to
1051 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
1052 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
1053 ;; Only version 2.1 of the license
1054 (license license:lgpl2.1)))
1056 (define-public qoauth
1063 (url "https://github.com/ayoy/qoauth")
1064 (commit (string-append "v" version))))
1065 (file-name (git-file-name name version))
1068 "1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3"))))
1069 (build-system gnu-build-system)
1072 ("qtbase" ,qtbase)))
1074 '(#:tests? #f ;FIXME: some tests are failing
1076 (modify-phases %standard-phases
1077 (add-after 'unpack 'patch-code
1079 (make-file-writable "src/qoauth.pc")
1080 (substitute* "src/src.pro"
1081 (("/lib64") "/lib"))
1083 (add-after 'unpack 'adjust-mkspecs-directory
1084 (lambda* (#:key outputs #:allow-other-keys)
1085 (substitute* "src/src.pro"
1086 ;; Do not attempt to install the .prf file into qtbase
1087 ;; "lib/qt5/mkspecs/features", ref <https://bugs.gnu.org/45031>.
1088 (("\\$\\$\\[QMAKE_MKSPECS\\]")
1089 (string-append (assoc-ref outputs "out") "/lib/qt5/mkspecs")))
1092 (lambda* (#:key inputs #:allow-other-keys)
1093 (let ((qca (assoc-ref inputs "qca")))
1096 (string-append "PREFIX=" (assoc-ref %outputs "out"))
1097 (string-append "QMAKE_INCDIR+=" qca "/include/Qca-qt5/QtCrypto")
1098 (string-append "LIBS+=-L" qca "/lib")
1099 (string-append "LIBS+=-lqca-qt5"))))))))
1100 (home-page "https://github.com/ayoy/qoauth")
1101 (synopsis "Qt-based C++ library for OAuth authorization scheme")
1102 (description "QOAuth is an attempt to support interaction with
1103 OAuth-powered network services in a Qt way, i.e. simply, clearly and
1104 efficiently. It gives the application developer no more than 4 methods.")
1105 (license license:lgpl2.1+)))
1107 (define-public krona-tools
1109 (name "krona-tools")
1114 "https://github.com/marbl/Krona/releases/download/v"
1115 version "/KronaTools-" version ".tar"))
1118 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
1119 (build-system perl-build-system)
1122 (modify-phases %standard-phases
1123 ;; There is no configure or build steps.
1126 ;; Install script "install.pl" expects the build directory to remain
1127 ;; after installation, creating symlinks etc., so re-implement it
1130 (lambda* (#:key outputs #:allow-other-keys)
1131 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
1132 (perl (string-append (assoc-ref outputs "out")
1133 "/lib/perl5/site_perl/krona-tools/lib")))
1137 (let* ((executable (string-append "scripts/" script ".pl")))
1138 ;; Prefix executables with 'kt' as install script does.
1139 (copy-file executable (string-append bin "/kt" script))))
1141 "GetContigMagnitudes"
1151 "ImportMETAREP-BLAST"
1156 "ImportRDPComparison"
1162 (copy-recursively directory
1163 (string-append perl "/../" directory)))
1164 (list "data" "img" "taxonomy" "src"))
1165 (install-file "lib/KronaTools.pm" perl))))
1166 (add-after 'install 'wrap-program
1167 (lambda* (#:key inputs outputs #:allow-other-keys)
1168 (let* ((out (assoc-ref outputs "out"))
1169 (path (getenv "PERL5LIB")))
1171 (lambda (executable)
1172 (wrap-program executable
1173 `("PERL5LIB" ":" prefix
1174 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
1175 (find-files (string-append out "/bin/") ".*")))))
1177 (add-after 'wrap-program 'check
1178 (lambda* (#:key inputs outputs #:allow-other-keys)
1179 (with-directory-excursion "data"
1180 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
1184 (home-page "https://github.com/marbl/Krona/wiki")
1185 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
1187 "Krona is a flexible tool for exploring the relative proportions of
1188 hierarchical data, such as metagenomic classifications, using a radial,
1189 space-filling display. It is implemented using HTML5 and JavaScript, allowing
1190 charts to be explored locally or served over the Internet, requiring only a
1191 current version of any major web browser.")
1192 (license license:bsd-3)))
1194 (define-public rapidjson
1201 (url "https://github.com/Tencent/rapidjson")
1202 (commit (string-append "v" version))))
1203 (file-name (git-file-name name version))
1206 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
1207 (patches (search-patches "rapidjson-gcc-compat.patch"))
1208 (modules '((guix build utils)))
1211 ;; Remove code using the problematic JSON license (see
1212 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
1213 (delete-file-recursively "bin/jsonchecker")
1215 (build-system cmake-build-system)
1217 (if (string-prefix? "aarch64" (or (%current-target-system)
1220 (modify-phases %standard-phases
1221 (add-after 'unpack 'patch-aarch-march-detection
1223 (substitute* (find-files "." "^CMakeLists\\.txt$")
1224 (("native") "armv8-a"))
1226 ;; Disable CPU optimization for reproducibility.
1227 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
1228 (home-page "https://github.com/Tencent/rapidjson")
1229 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
1231 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
1233 (license license:expat)))
1235 (define-public libyajl
1242 (url "https://github.com/lloyd/yajl")
1244 (file-name (git-file-name name version))
1247 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
1248 (build-system cmake-build-system)
1251 (modify-phases %standard-phases
1252 (add-after 'patch-source-shebangs 'patch-tests
1254 (substitute* "test/parsing/run_tests.sh"
1255 (("`which echo`") (which "echo")))
1257 (home-page "https://lloyd.github.io/yajl/")
1258 (synopsis "C library for parsing JSON")
1260 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
1261 parser written in ANSI C and a small validating JSON generator.")
1262 (license license:isc)))
1264 (define-public libwebsockets
1266 (name "libwebsockets")
1269 ;; The project does not publish tarballs, so we have to take
1273 (url "https://github.com/warmcat/libwebsockets")
1274 (commit (string-append "v" version
1275 "-chrome37-firefox30"))))
1278 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
1279 (file-name (string-append name "-" version))))
1281 (build-system cmake-build-system)
1283 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
1284 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
1287 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
1288 (inputs `(("zlib" ,zlib)
1289 ("openssl" ,openssl)))
1290 (synopsis "WebSockets library written in C")
1292 "Libwebsockets is a library that allows C programs to establish client
1293 and server WebSockets connections---a protocol layered above HTTP that allows
1294 for efficient socket-like bidirectional reliable communication channels.")
1295 (home-page "https://libwebsockets.org")
1297 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
1298 (license license:lgpl2.1)))
1308 (url "https://github.com/WebAssembly/wabt")
1310 (file-name (git-file-name name version))
1312 (base32 "1zlv3740wkqj4mn6sr84h0x6wk2lcp4pwwmqsh5yyqp1j1glbsa0"))))
1313 (build-system cmake-build-system)
1315 `(#:configure-flags '("-DBUILD_TESTS=OFF")
1317 (inputs `(("python" ,python-2)
1319 (home-page "https://github.com/WebAssembly/wabt")
1320 (synopsis "WebAssembly Binary Toolkit")
1321 (description "WABT (pronounced: wabbit) is a suite of tools for
1322 WebAssembly, including:
1325 @item @command{wat2wasm} translates from WebAssembly text format to the
1326 WebAssembly binary format
1327 @item @command{wasm2wat} is the inverse; it translates from the binary format
1328 back to the text format (also known as a .wat)
1329 @item @command{wasm-objdump} prints information about a wasm binary, similarly
1330 to @command{objdump}.
1331 @item @command{wasm-interp} decodes ands run a WebAssembly binary file using a
1332 stack-based interpreter
1333 @item @command{wat-desugar} parses .wat text form as supported by the spec
1334 interpreter (s-expressions, flat syntax, or mixed) and prints the canonical
1336 @item @command{wasm2c} converts a WebAssembly binary file to a C source and
1340 These tools are intended for use in (or for development of) toolchains or
1341 other systems that want to manipulate WebAssembly files.")
1342 (license license:asl2.0)))
1344 (define-public websocketpp
1346 (name "websocketpp")
1352 (url "https://github.com/zaphoyd/websocketpp")
1354 (file-name (git-file-name name version))
1356 (base32 "1ww4fhl8qf12hkv6jaild8zzsygdspxm1gqpk2f63gv1xfi31wpm"))
1357 (patches (search-patches "websocketpp-fix-for-cmake-3.15.patch"))))
1358 (build-system cmake-build-system)
1359 (inputs `(("boost" ,boost)
1360 ("openssl" ,openssl)))
1361 (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
1363 (modify-phases %standard-phases
1364 (add-after 'install 'remove-tests
1365 (lambda* (#:key outputs #:allow-other-keys)
1366 (let* ((install-dir (assoc-ref outputs "out"))
1367 (bin-dir (string-append install-dir "/bin")))
1368 (delete-file-recursively bin-dir)
1370 (home-page "https://www.zaphoyd.com/websocketpp/")
1371 (synopsis "C++ library implementing the WebSocket protocol")
1372 (description "WebSocket++ is a C++ library that can be used to implement
1373 WebSocket functionality. The goals of the project are to provide a WebSocket
1374 implementation that is simple, portable, flexible, lightweight, low level, and
1376 (license license:bsd-3)))
1378 (define-public wslay
1386 (url "https://github.com/tatsuhiro-t/wslay")
1387 (commit (string-append "release-" version))))
1388 (file-name (git-file-name name version))
1390 (base32 "1w32iljg4inqf0712w5fxxhggvmjh6ipl2lnz0h36dv1xrj0d964"))))
1391 (build-system gnu-build-system)
1393 ;; Parallel builds don't reliably succeed.
1394 `(#:parallel-build? #f))
1396 `(("autoconf" ,autoconf)
1397 ("automake" ,automake)
1398 ("cunit" ,cunit) ; for tests
1399 ("libtool" ,libtool)
1400 ("pkg-config" ,pkg-config)
1401 ("python-sphinx" ,python-sphinx)))
1402 (home-page "https://tatsuhiro-t.github.io/wslay/")
1403 (synopsis "C WebSocket library")
1404 (description "@code{Wslay} is an event-based C library for the WebSocket
1405 protocol version 13, described in RFC 6455. Besides a high-level API it
1406 provides callbacks for sending and receiving frames directly. @code{Wslay}
1407 only supports the data transfer part of WebSocket protocol and does not
1408 perform the opening handshake in HTTP.")
1409 (license license:expat)))
1411 (define-public libpsl
1417 (uri (string-append "https://github.com/rockdaboot/libpsl/"
1418 "releases/download/" version
1419 "/libpsl-" version ".tar.gz"))
1422 "0k0d46bbh1jj2ll369f134vciplrzbqkg7fv9m62bl6lzghy2v5c"))))
1423 (build-system gnu-build-system)
1425 `(("pkg-config" ,pkg-config)
1428 ("python" ,python-wrapper)))
1430 `(("libidn2" ,libidn2)
1431 ("libunistring" ,libunistring)))
1432 (home-page "https://github.com/rockdaboot/libpsl")
1433 (synopsis "C library for the Publix Suffix List")
1435 "A \"public suffix\" is a domain name under which Internet users can
1436 directly register own names.
1438 Browsers and other web clients can use it to avoid privacy-leaking
1439 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
1440 highlighting parts of the domain in a user interface, and sorting domain lists
1443 Libpsl has built-in PSL data for fast access, allowing to load PSL data from
1444 files, checks if a given domain is a public suffix, provides immediate cookie
1445 domain verification, finds the longest public part of a given domain, finds
1446 the shortest private part of a given domain, works with international
1447 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
1449 (license license:x11)))
1454 (version "20091223")
1459 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
1461 (revision "2009-12-23")))
1462 (file-name (string-append name "-" version "-checkout"))
1465 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
1466 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
1467 (build-system gnu-build-system)
1469 '(#:phases (modify-phases %standard-phases
1471 (lambda* (#:key inputs #:allow-other-keys)
1472 ;; configure.in and Makefile.am aren't in the root of the
1474 (copy-recursively "build/gnuauto" ".")
1475 (setenv "AUTOMAKE" "automake --foreign")
1476 (invoke "autoreconf" "-vfi"))))))
1478 `(("automake" ,automake)
1479 ("autoconf" ,autoconf)
1480 ("libtool" ,libtool)))
1481 (synopsis "HTML validator and tidier")
1482 (description "HTML Tidy is a command-line tool and C library that can be
1483 used to validate and fix HTML data.")
1484 (home-page "http://tidy.sourceforge.net/")
1485 (license (license:x11-style "file:///include/tidy.h"))))
1487 (define-public esbuild
1495 (url "https://github.com/evanw/esbuild")
1496 (commit (string-append "v" version))))
1497 (file-name (git-file-name name version))
1499 (base32 "1n9h6r3q6mik7p5j0cyybh1sdcllig0awbryrx28r03cxv4ip2ij"))
1500 (modules '((guix build utils)))
1503 ;; Remove prebuilt binaries
1504 (delete-file-recursively "npm")
1506 (build-system go-build-system)
1508 '(#:import-path "github.com/evanw/esbuild/cmd/esbuild"
1509 #:unpack-path "github.com/evanw/esbuild"
1511 (modify-phases %standard-phases
1513 (lambda* (#:key tests? unpack-path #:allow-other-keys)
1515 (with-directory-excursion (string-append "src/" unpack-path)
1516 (invoke "make" "test-go")))
1519 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1521 `(("github.com/kylelemons/godebug" ,go-github-com-kylelemons-godebug)))
1522 (home-page "https://esbuild.github.io/")
1523 (synopsis "Bundler and minifier tool for JavaScript and TypeScript")
1525 "The esbuild tool provides a unified bundler, transpiler and
1526 minifier. It packages up JavaScript and TypeScript code, along with JSON
1527 and other data, for distribution on the web.")
1528 (license license:expat)))
1530 (define-public tinyproxy
1536 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1537 "releases/download/" version "/tinyproxy-"
1541 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
1542 (build-system gnu-build-system)
1546 ;; For the log file, etc.
1547 "--localstatedir=/var")
1549 (modify-phases %standard-phases
1550 (add-before 'build 'pre-build
1551 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1552 ;; Uncommenting the next two lines may assist in debugging
1553 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1554 ;; (setenv "XML_DEBUG_CATALOG" "1")
1556 (home-page "https://tinyproxy.github.io/")
1557 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1558 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1559 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1560 solution for use cases such as embedded deployments where a full featured HTTP
1561 proxy is required, but the system resources for a larger proxy are
1563 (license license:gpl2+)))
1565 (define-public polipo
1573 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1577 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1578 (native-inputs `(("texinfo" ,texinfo)))
1579 (build-system gnu-build-system)
1581 `(#:phases (modify-phases %standard-phases
1582 (delete 'configure))
1583 #:make-flags (let ((out (assoc-ref %outputs "out")))
1584 (list (string-append "PREFIX=" out)
1585 (string-append "LOCAL_ROOT="
1586 out "/share/polipo/www")
1588 ;; No 'check' target.
1590 (home-page "https://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1591 (synopsis "Small caching web proxy")
1593 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1594 server). It was primarily designed to be used by one person or a small group
1596 (license license:expat)))
1598 (define-public websockify
1605 (url "https://github.com/novnc/websockify")
1606 (commit (string-append "v" version))))
1607 (file-name (git-file-name name version))
1610 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1611 (build-system python-build-system)
1613 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1614 ; named 'stubout'". The tests can be run by replacing the check phase with
1615 ; the command "python setup.py nosetests --verbosity=3".
1616 (native-inputs `(; Required for tests:
1617 ("python-mox3" ,python-mox3)
1618 ("python-nose" ,python-nose)))
1619 (propagated-inputs `(("python-numpy" ,python-numpy)))
1620 (home-page "https://github.com/novnc/websockify")
1621 (synopsis "WebSockets support for any application/server")
1622 (description "Websockify translates WebSockets traffic to normal socket
1623 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1624 begins forwarding traffic between the client and the target in both
1626 (license license:lgpl3)))
1628 (define-public wwwoffle
1634 (uri (string-append "https://www.gedanken.org.uk/software/"
1635 "wwwoffle/download/wwwoffle-"
1639 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1640 (build-system gnu-build-system)
1642 `(#:configure-flags '("--with-gnutls")
1643 #:tests? #f)) ; no test target
1644 (native-inputs `(("flex" ,flex)))
1645 (inputs `(("gnutls" ,gnutls)
1646 ("libcrypt" ,libgcrypt)))
1647 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1648 (synopsis "Caching web proxy optimized for intermittent internet links")
1649 (description "WWWOFFLE is a proxy web server that is especially good for
1650 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1651 protocols, and supports browsing and requesting pages while offline, indexing,
1652 modifying pages and incoming and outgoing headers, monitoring pages for
1653 changes, and much more.")
1654 (license license:gpl2+)))
1656 (define-public liboauth
1662 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1666 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1667 (build-system gnu-build-system)
1668 (arguments '(#:configure-flags '("--enable-nss")))
1669 (native-inputs `(("pkg-config" ,pkg-config)))
1673 (home-page "https://sourceforge.net/projects/liboauth")
1674 (synopsis "C library implementing the OAuth API")
1676 "liboauth is a collection of C functions implementing the OAuth API.
1677 liboauth provides functions to escape and encode strings according to OAuth
1678 specifications and offers high-level functionality built on top to sign
1679 requests or verify signatures using either NSS or OpenSSL for calculating the
1681 ;; Source code may be distributed under either license.
1682 (license (list license:expat license:gpl2+))))
1684 (define-public libyaml
1691 (uri (string-append "https://pyyaml.org/download/libyaml/yaml-"
1695 "1x4fcw13r3lqy8ndydr3ili87wicplw2awbcv6r21qgyfndswhn6"))))
1696 (build-system gnu-build-system)
1698 '(#:configure-flags '("--disable-static")))
1699 (home-page "https://pyyaml.org/wiki/LibYAML")
1700 (synopsis "YAML 1.1 parser and emitter written in C")
1702 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1703 (license license:expat)))
1705 (define-public libyaml+static
1708 (name "libyaml+static")
1710 '(#:configure-flags '("--enable-static")))))
1712 (define-public libquvi-scripts
1714 (name "libquvi-scripts")
1720 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1721 name "/" name "-" version ".tar.xz"))
1723 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1724 (build-system gnu-build-system)
1725 (home-page "http://quvi.sourceforge.net/")
1726 (synopsis "Media stream URL parser")
1727 (description "This package contains support scripts called by libquvi to
1728 parse media stream properties.")
1729 (license license:lgpl2.1+)))
1731 (define-public libquvi
1739 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1740 name "-" version ".tar.xz"))
1742 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1743 (build-system gnu-build-system)
1744 (native-inputs `(("pkg-config" ,pkg-config)))
1747 ("cyrus-sasl" ,cyrus-sasl)
1748 ("libquvi-scripts" ,libquvi-scripts)
1750 ("openssl" ,openssl)
1753 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1755 (let ((lua (assoc-ref %build-inputs "lua")))
1757 (string-append "liblua_CFLAGS=-I" lua "/include")
1758 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1759 (home-page "http://quvi.sourceforge.net/")
1760 (synopsis "Media stream URL parser")
1761 (description "libquvi is a library with a C API for parsing media stream
1762 URLs and extracting their actual media files.")
1763 (license license:lgpl2.1+)))
1773 "mirror://sourceforge/" name "/" (version-major+minor version)
1774 "/" name "/" name "-" version ".tar.xz"))
1776 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1777 (build-system gnu-build-system)
1778 (native-inputs `(("pkg-config" ,pkg-config)))
1781 ("libquvi" ,libquvi)))
1782 (home-page "http://quvi.sourceforge.net/")
1783 (synopsis "Media stream URL parser")
1784 (description "quvi is a command-line-tool suite to extract media files
1785 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1786 (license license:lgpl2.1+)))
1795 (uri (string-append "mirror://apache/serf/serf-"
1796 version ".tar.bz2"))
1797 (patches (search-patches "serf-python3.patch"))
1799 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1800 (build-system scons-build-system)
1803 ("apr-util" ,apr-util)
1804 ("openssl" ,openssl)))
1806 `(;; TODO: Fix build with gss.
1810 `(#:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1811 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1812 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1813 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1814 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1815 (string-append "PREFIX=" %output))
1817 (modify-phases %standard-phases
1818 (add-after 'unpack 'scons-propagate-environment
1820 ;; By design, SCons does not, by default, propagate
1821 ;; environment variables to subprocesses. See:
1822 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1823 ;; Here, we modify the SConstruct file to arrange for
1824 ;; environment variables to be propagated.
1825 (substitute* "SConstruct"
1826 (("^env = Environment\\(")
1827 "env = Environment(ENV=os.environ, "))))
1828 (add-before 'check 'disable-broken-tests
1830 ;; These tests rely on SSL certificates that expired 2017-04-18.
1831 ;; While there are newer certs available upstream, we don't want
1832 ;; this package to suddenly "expire" some time in the future.
1833 ;; https://bugs.gnu.org/26671
1835 '("test_ssl_trust_rootca"
1836 "test_ssl_certificate_chain_with_anchor"
1837 "test_ssl_certificate_chain_all_from_server"
1838 "test_ssl_no_servercert_callback_allok"
1839 "test_ssl_large_response"
1840 "test_ssl_large_request"
1841 "test_ssl_client_certificate"
1842 "test_ssl_future_server_cert"
1843 "test_setup_ssltunnel"
1844 "test_ssltunnel_basic_auth"
1845 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1846 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1847 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1848 "test_ssltunnel_digest_auth")))
1851 (substitute* "test/test_context.c"
1852 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1855 (home-page "https://serf.apache.org/")
1856 (synopsis "High-performance asynchronous HTTP client library")
1858 "serf is a C-based HTTP client library built upon the Apache Portable
1859 Runtime (APR) library. It multiplexes connections, running the read/write
1860 communication asynchronously. Memory copies and transformations are kept to a
1861 minimum to provide high performance operation.")
1862 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1863 ;; bundled CuTest framework uses a different non-copyleft license.
1864 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1866 (define-public libsass
1869 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1874 (url "https://github.com/sass/libsass")
1876 (file-name (git-file-name name version))
1879 "0r8lfqvr3rjhjd8r036zd1wc9q17gyiskppcw9m13jks9an7xp4j"))))
1880 (build-system gnu-build-system)
1883 (modify-phases %standard-phases
1884 (add-before 'bootstrap 'set-LIBSASS_VERSION
1886 (setenv "LIBSASS_VERSION" ,version)
1889 `(("autoconf" ,autoconf)
1890 ("automake" ,automake)
1891 ("libtool" ,libtool)))
1892 (home-page "https://sass-lang.com/libsass")
1893 (synopsis "SASS Compiler, implemented as a C/C++ library")
1895 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1896 library designed for portability and efficiency. To actually compile SASS
1897 stylesheets, you'll need to use another program that uses this library,
1898 @var{sassc} for example.")
1899 (license license:expat)))
1901 (define-public sassc
1908 (url "https://github.com/sass/sassc")
1910 (file-name (git-file-name name version))
1913 "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv"))))
1914 (build-system gnu-build-system)
1918 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1919 #:tests? #f ; no test suite
1921 (modify-phases %standard-phases
1922 (add-after 'unpack 'patch-Makefile
1924 (substitute* "Makefile"
1925 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1926 "build-shared: $(RESOURCES) $(OBJECTS)")
1927 (("\\$\\(SASSC_EXE\\): libsass build")
1928 "$(SASSC_EXE): build")
1929 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1932 ;; This phase fails for some reason.
1934 ;; There is no configure script.
1936 (add-before 'build 'setup-environment
1938 (setenv "BUILD" "shared")
1939 (setenv "SASSC_VERSION" ,version)
1942 `(("libsass" ,libsass)))
1943 (synopsis "CSS pre-processor")
1944 (description "SassC is a compiler written in C for the CSS pre-processor
1945 language known as SASS.")
1946 (home-page "https://sass-lang.com/libsass")
1947 (license license:expat)))
1949 (define-public sassc/libsass-3.5
1950 ;; Newer libsass versions suffor from a memory leak when building (some?)
1951 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
1965 (url "https://github.com/sass/libsass")
1967 (file-name (git-file-name name version))
1970 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
1971 (properties '((hidden? . #t)))))
1974 (define-public perl-apache-logformat-compiler
1976 (name "perl-apache-logformat-compiler")
1981 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1982 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1984 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
1985 (build-system perl-build-system)
1987 `(("perl-http-message" ,perl-http-message)
1988 ("perl-module-build-tiny" ,perl-module-build-tiny)
1989 ("perl-test-mocktime" ,perl-test-mocktime)
1990 ("perl-try-tiny" ,perl-try-tiny)
1991 ("perl-uri" ,perl-uri)))
1993 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1994 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1995 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1996 (synopsis "Compile a log format string to perl-code")
1997 (description "This module provides methods to compile a log format string
1998 to perl-code, for faster generation of access_log lines.")
1999 (license license:perl-license)))
2001 (define-public perl-authen-sasl
2003 (name "perl-authen-sasl")
2008 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
2009 "Authen-SASL-" version ".tar.gz"))
2012 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
2013 (build-system perl-build-system)
2016 (modify-phases %standard-phases
2017 (add-after 'unpack 'set-env
2018 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
2019 ;; versions of perl-authen-sasl.
2020 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
2022 `(("perl-digest-hmac" ,perl-digest-hmac)
2023 ("perl-gssapi" ,perl-gssapi)))
2024 (home-page "https://metacpan.org/release/Authen-SASL")
2025 (synopsis "SASL authentication framework")
2026 (description "Authen::SASL provides an SASL authentication framework.")
2027 (license license:perl-license)))
2029 (define-public perl-catalyst-action-renderview
2031 (name "perl-catalyst-action-renderview")
2036 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2037 "Catalyst-Action-RenderView-"
2041 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
2042 (build-system perl-build-system)
2044 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
2045 ("perl-module-install" ,perl-module-install)))
2047 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2048 ("perl-data-visitor" ,perl-data-visitor)
2049 ("perl-mro-compat" ,perl-mro-compat)))
2050 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
2051 (synopsis "Sensible default Catalyst action")
2052 (description "This Catalyst action implements a sensible default end
2053 action, which will forward to the first available view.")
2054 (license license:perl-license)))
2056 (define-public perl-catalyst-action-rest
2058 (name "perl-catalyst-action-rest")
2062 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2063 "Catalyst-Action-REST-" version ".tar.gz"))
2066 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
2067 (build-system perl-build-system)
2069 `(("perl-test-requires" ,perl-test-requires)
2070 ("perl-module-install" ,perl-module-install)))
2072 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2073 ("perl-class-inspector" ,perl-class-inspector)
2074 ("perl-config-general" ,perl-config-general)
2075 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
2076 ("perl-libwww" ,perl-libwww)
2077 ("perl-moose" ,perl-moose)
2078 ("perl-mro-compat" ,perl-mro-compat)
2079 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2080 ("perl-params-validate" ,perl-params-validate)
2081 ("perl-uri-find" ,perl-uri-find)
2082 ("perl-xml-simple" ,perl-xml-simple)))
2083 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
2084 (synopsis "Automated REST Method Dispatching")
2085 (description "This Action handles doing automatic method dispatching for
2086 REST requests. It takes a normal Catalyst action, and changes the dispatch to
2087 append an underscore and method name. First it will try dispatching to an
2088 action with the generated name, and failing that it will try to dispatch to a
2090 (license license:perl-license)))
2092 (define-public perl-catalyst-authentication-store-dbix-class
2094 (name "perl-catalyst-authentication-store-dbix-class")
2099 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2100 "Catalyst-Authentication-Store-DBIx-Class-"
2104 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
2105 (build-system perl-build-system)
2107 `(("perl-catalyst-plugin-authorization-roles"
2108 ,perl-catalyst-plugin-authorization-roles)
2109 ("perl-catalyst-plugin-session-state-cookie"
2110 ,perl-catalyst-plugin-session-state-cookie)
2111 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
2112 ("perl-module-install" ,perl-module-install)
2113 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2115 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2116 ("perl-catalyst-plugin-authentication"
2117 ,perl-catalyst-plugin-authentication)
2118 ("perl-dbix-class" ,perl-dbix-class)
2119 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
2121 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
2122 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
2123 (description "The Catalyst::Authentication::Store::DBIx::Class class
2124 provides access to authentication information stored in a database via
2126 (license license:perl-license)))
2128 (define-public perl-catalyst-component-instancepercontext
2130 (name "perl-catalyst-component-instancepercontext")
2131 (version "0.001001")
2135 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
2136 "Catalyst-Component-InstancePerContext-"
2140 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
2141 (build-system perl-build-system)
2143 `(("perl-module-install" ,perl-module-install)))
2145 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2146 ("perl-moose" ,perl-moose)))
2148 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
2149 (synopsis "Create only one instance of Moose component per context")
2150 (description "Catalyst::Component::InstancePerContext returns a new
2151 instance of a component on each request.")
2152 (license license:perl-license)))
2154 (define-public perl-catalyst-devel
2156 (name "perl-catalyst-devel")
2161 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2162 "Catalyst-Devel-" version ".tar.gz"))
2164 (base32 "1r8arq7sw37d0mjyfzkc3pg1a9plgydqbscryc8qpvba4swpljls"))))
2165 (build-system perl-build-system)
2167 `(("perl-test-fatal" ,perl-test-fatal)))
2169 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
2170 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
2171 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
2172 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2173 ("perl-config-general" ,perl-config-general)
2174 ("perl-file-changenotify" ,perl-file-changenotify)
2175 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
2176 ("perl-file-sharedir" ,perl-file-sharedir)
2177 ("perl-module-install" ,perl-module-install)
2178 ("perl-moose" ,perl-moose)
2179 ("perl-moosex-emulate-class-accessor-fast"
2180 ,perl-moosex-emulate-class-accessor-fast)
2181 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2182 ("perl-namespace-clean" ,perl-namespace-clean)
2183 ("perl-path-class" ,perl-path-class)
2184 ("perl-template-toolkit" ,perl-template-toolkit)))
2185 (home-page "https://metacpan.org/release/Catalyst-Devel")
2186 (synopsis "Catalyst Development Tools")
2187 (description "The Catalyst-Devel distribution includes a variety of
2188 modules useful for the development of Catalyst applications, but not required
2189 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
2190 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
2191 extension for Catalyst; and requirements for a variety of development-related
2193 (license license:perl-license)))
2195 (define-public perl-catalyst-dispatchtype-regex
2197 (name "perl-catalyst-dispatchtype-regex")
2202 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
2203 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
2206 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
2207 (build-system perl-build-system)
2209 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
2210 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2211 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
2213 `(("perl-moose" ,perl-moose)
2214 ("perl-text-simpletable" ,perl-text-simpletable)))
2215 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
2216 (synopsis "Regex DispatchType for Catalyst")
2217 (description "Dispatch type managing path-matching behaviour using
2218 regexes. Regex dispatch types have been deprecated and removed from Catalyst
2219 core. It is recommend that you use Chained methods or other techniques
2220 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
2221 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
2222 when the dispatch type is first seen in your application.")
2223 (license license:perl-license)))
2225 (define-public perl-catalyst-model-dbic-schema
2227 (name "perl-catalyst-model-dbic-schema")
2232 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
2233 "Catalyst-Model-DBIC-Schema-"
2237 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
2238 (build-system perl-build-system)
2240 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
2241 ("perl-module-install" ,perl-module-install)
2242 ("perl-test-exception" ,perl-test-exception)
2243 ("perl-test-requires" ,perl-test-requires)))
2245 `(("perl-carp-clan" ,perl-carp-clan)
2246 ("perl-catalyst-component-instancepercontext"
2247 ,perl-catalyst-component-instancepercontext)
2248 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2249 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
2250 ("perl-dbix-class" ,perl-dbix-class)
2251 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
2252 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
2253 ("perl-hash-merge" ,perl-hash-merge)
2254 ("perl-list-moreutils" ,perl-list-moreutils)
2255 ("perl-module-runtime" ,perl-module-runtime)
2256 ("perl-moose" ,perl-moose)
2257 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
2258 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
2259 ("perl-moosex-types" ,perl-moosex-types)
2260 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
2261 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2262 ("perl-namespace-clean" ,perl-namespace-clean)
2263 ("perl-tie-ixhash" ,perl-tie-ixhash)
2264 ("perl-try-tiny" ,perl-try-tiny)))
2265 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
2266 (synopsis "DBIx::Class::Schema Model Class")
2267 (description "This is a Catalyst Model for DBIx::Class::Schema-based
2269 (license license:perl-license)))
2271 (define-public perl-catalyst-plugin-accesslog
2273 (name "perl-catalyst-plugin-accesslog")
2278 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
2279 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
2282 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
2283 (build-system perl-build-system)
2285 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2286 ("perl-datetime" ,perl-datetime)
2287 ("perl-moose" ,perl-moose)
2288 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2289 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
2290 (synopsis "Request logging from within Catalyst")
2291 (description "This Catalyst plugin enables you to create \"access logs\"
2292 from within a Catalyst application instead of requiring a webserver to do it
2293 for you. It will work even with Catalyst debug logging turned off.")
2294 (license license:perl-license)))
2296 (define-public perl-catalyst-plugin-authentication
2298 (name "perl-catalyst-plugin-authentication")
2303 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2304 "Catalyst-Plugin-Authentication-"
2308 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
2309 (build-system perl-build-system)
2311 `(("perl-module-install" ,perl-module-install)))
2313 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2314 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2315 ("perl-class-inspector" ,perl-class-inspector)
2316 ("perl-moose" ,perl-moose)
2317 ("perl-moosex-emulate-class-accessor-fast"
2318 ,perl-moosex-emulate-class-accessor-fast)
2319 ("perl-mro-compat" ,perl-mro-compat)
2320 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2321 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2322 ("perl-test-exception" ,perl-test-exception)
2323 ("perl-try-tiny" ,perl-try-tiny)))
2324 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
2325 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
2326 (description "The authentication plugin provides generic user support for
2327 Catalyst apps. It is the basis for both authentication (checking the user is
2328 who they claim to be), and authorization (allowing the user to do what the
2329 system authorises them to do).")
2330 (license license:perl-license)))
2332 (define-public perl-catalyst-plugin-authorization-roles
2334 (name "perl-catalyst-plugin-authorization-roles")
2339 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2340 "Catalyst-Plugin-Authorization-Roles-"
2344 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
2345 (build-system perl-build-system)
2347 `(("perl-module-install" ,perl-module-install)
2348 ("perl-test-exception" ,perl-test-exception)))
2350 `(("perl-catalyst-plugin-authentication"
2351 ,perl-catalyst-plugin-authentication)
2352 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2353 ("perl-set-object" ,perl-set-object)
2354 ("perl-universal-isa" ,perl-universal-isa)))
2356 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2357 (synopsis "Role-based authorization for Catalyst")
2358 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2359 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2360 (license license:perl-license)))
2362 (define-public perl-catalyst-plugin-captcha
2364 (name "perl-catalyst-plugin-captcha")
2369 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2370 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2373 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2374 (build-system perl-build-system)
2376 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2377 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2378 ("perl-gd-securityimage" ,perl-gd-securityimage)
2379 ("perl-http-date" ,perl-http-date)))
2380 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2381 (synopsis "Captchas for Catalyst")
2382 (description "This plugin creates and validates Captcha images for
2384 (license license:perl-license)))
2386 (define-public perl-catalyst-plugin-configloader
2388 (name "perl-catalyst-plugin-configloader")
2393 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2394 "Catalyst-Plugin-ConfigLoader-"
2397 (base32 "0w8r3bbxqnlykvra6sx3sh3wh8ylkj914xg5ql6nw11ddy56jaly"))))
2398 (build-system perl-build-system)
2400 `(("perl-path-class" ,perl-path-class)
2401 ("perl-module-install" ,perl-module-install)))
2403 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2404 ("perl-config-any" ,perl-config-any)
2405 ("perl-data-visitor" ,perl-data-visitor)
2406 ("perl-mro-compat" ,perl-mro-compat)))
2407 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2408 (synopsis "Load config files of various types")
2409 (description "This module will attempt to load find and load configuration
2410 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2412 (license license:perl-license)))
2414 (define-public perl-catalyst-plugin-session
2416 (name "perl-catalyst-plugin-session")
2421 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2422 "Catalyst-Plugin-Session-" version ".tar.gz"))
2424 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2425 (build-system perl-build-system)
2427 `(("perl-module-install" ,perl-module-install)
2428 ("perl-test-deep" ,perl-test-deep)
2429 ("perl-test-exception" ,perl-test-exception)))
2431 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2432 ("perl-moose" ,perl-moose)
2433 ("perl-moosex-emulate-class-accessor-fast"
2434 ,perl-moosex-emulate-class-accessor-fast)
2435 ("perl-mro-compat" ,perl-mro-compat)
2436 ("perl-namespace-clean" ,perl-namespace-clean)
2437 ("perl-object-signature" ,perl-object-signature)
2438 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2439 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2440 (synopsis "Catalyst generic session plugin")
2441 (description "This plugin links the two pieces required for session
2442 management in web applications together: the state, and the store.")
2443 (license license:perl-license)))
2445 (define-public perl-catalyst-plugin-session-state-cookie
2447 (name "perl-catalyst-plugin-session-state-cookie")
2452 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2453 "Catalyst-Plugin-Session-State-Cookie-"
2457 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2458 (build-system perl-build-system)
2460 `(("perl-module-install" ,perl-module-install)))
2462 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2463 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2464 ("perl-moose" ,perl-moose)
2465 ("perl-mro-compat" ,perl-mro-compat)
2466 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2468 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2469 (synopsis "Maintain session IDs using cookies")
2470 (description "In order for Catalyst::Plugin::Session to work, the session
2471 ID needs to be stored on the client, and the session data needs to be stored
2472 on the server. This plugin stores the session ID on the client using the
2474 (license license:perl-license)))
2476 (define-public perl-catalyst-plugin-session-store-fastmmap
2478 (name "perl-catalyst-plugin-session-store-fastmmap")
2483 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2484 "Catalyst-Plugin-Session-Store-FastMmap-"
2488 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2489 (build-system perl-build-system)
2491 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2492 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2493 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2494 ("perl-moosex-emulate-class-accessor-fast"
2495 ,perl-moosex-emulate-class-accessor-fast)
2496 ("perl-mro-compat" ,perl-mro-compat)
2497 ("perl-path-class" ,perl-path-class)))
2499 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2500 (synopsis "FastMmap session storage backend")
2501 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2502 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2503 memory interprocess cache. It is based on Cache::FastMmap.")
2504 (license license:perl-license)))
2506 (define-public perl-catalyst-plugin-stacktrace
2508 (name "perl-catalyst-plugin-stacktrace")
2513 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2514 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2517 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2518 (build-system perl-build-system)
2520 `(("perl-module-install" ,perl-module-install)))
2522 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2523 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2524 ("perl-mro-compat" ,perl-mro-compat)))
2525 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2526 (synopsis "Stack trace on the Catalyst debug screen")
2527 (description "This plugin enhances the standard Catalyst debug screen by
2528 including a stack trace of your application up to the point where the error
2529 occurred. Each stack frame is displayed along with the package name, line
2530 number, file name, and code context surrounding the line number.")
2531 (license license:perl-license)))
2533 (define-public perl-catalyst-plugin-static-simple
2535 (name "perl-catalyst-plugin-static-simple")
2540 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2541 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2544 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2545 (build-system perl-build-system)
2547 `(("perl-module-install" ,perl-module-install)))
2549 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2550 ("perl-mime-types" ,perl-mime-types)
2551 ("perl-moose" ,perl-moose)
2552 ("perl-moosex-types" ,perl-moosex-types)
2553 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2554 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2555 (synopsis "Simple serving of static pages")
2556 (description "The Static::Simple plugin is designed to make serving static
2557 content in your application during development quick and easy, without
2558 requiring a single line of code from you. This plugin detects static files by
2559 looking at the file extension in the URL (such as .css or .png or .js). The
2560 plugin uses the lightweight MIME::Types module to map file extensions to
2561 IANA-registered MIME types, and will serve your static files with the correct
2562 MIME type directly to the browser, without being processed through Catalyst.")
2563 (license license:perl-license)))
2565 (define-public perl-catalyst-runtime
2567 (name "perl-catalyst-runtime")
2572 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2573 "Catalyst-Runtime-" version ".tar.gz"))
2576 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2577 (build-system perl-build-system)
2579 `(("perl-test-fatal" ,perl-test-fatal)))
2581 `(("perl-cgi-simple" ,perl-cgi-simple)
2582 ("perl-cgi-struct" ,perl-cgi-struct)
2583 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2584 ("perl-class-date" ,perl-class-date)
2585 ("perl-class-load" ,perl-class-load)
2586 ("perl-data-dump" ,perl-data-dump)
2587 ("perl-http-body" ,perl-http-body)
2588 ("perl-http-message" ,perl-http-message)
2589 ("perl-json-maybexs" ,perl-json-maybexs)
2590 ("perl-libwww" ,perl-libwww)
2591 ("perl-module-pluggable" ,perl-module-pluggable)
2592 ("perl-moose" ,perl-moose)
2593 ("perl-moosex-emulate-class-accessor-fast"
2594 ,perl-moosex-emulate-class-accessor-fast)
2595 ("perl-moosex-getopt" ,perl-moosex-getopt)
2596 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2597 ("perl-namespace-clean" ,perl-namespace-clean)
2598 ("perl-path-class" ,perl-path-class)
2599 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2600 ("perl-plack" ,perl-plack)
2601 ("perl-plack-middleware-fixmissingbodyinredirect"
2602 ,perl-plack-middleware-fixmissingbodyinredirect)
2603 ("perl-plack-middleware-methodoverride"
2604 ,perl-plack-middleware-methodoverride)
2605 ("perl-plack-middleware-removeredundantbody"
2606 ,perl-plack-middleware-removeredundantbody)
2607 ("perl-plack-middleware-reverseproxy"
2608 ,perl-plack-middleware-reverseproxy)
2609 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2610 ("perl-safe-isa" ,perl-safe-isa)
2611 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2612 ("perl-text-simpletable" ,perl-text-simpletable)
2613 ("perl-tree-simple" ,perl-tree-simple)
2614 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2615 ("perl-try-tiny" ,perl-try-tiny)
2616 ("perl-uri" ,perl-uri)
2617 ("perl-uri-ws" ,perl-uri-ws)))
2618 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2619 (synopsis "The Catalyst Framework Runtime")
2620 (description "Catalyst is a modern framework for making web applications.
2621 It is designed to make it easy to manage the various tasks you need to do to
2622 run an application on the web, either by doing them itself, or by letting you
2623 \"plug in\" existing Perl modules that do what you need.")
2624 (license license:perl-license)))
2626 (define-public perl-catalyst-traitfor-request-proxybase
2628 (name "perl-catalyst-traitfor-request-proxybase")
2629 (version "0.000005")
2633 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2634 "Catalyst-TraitFor-Request-ProxyBase-"
2638 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2639 (build-system perl-build-system)
2641 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2642 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2643 ("perl-http-message" ,perl-http-message)
2644 ("perl-module-install" ,perl-module-install)))
2646 `(("perl-moose" ,perl-moose)
2647 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2648 ("perl-uri" ,perl-uri)))
2650 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2651 (synopsis "Replace request base with value passed by HTTP proxy")
2652 (description "This module is a Moose::Role which allows you more
2653 flexibility in your application's deployment configurations when deployed
2654 behind a proxy. Using this module, the request base ($c->req->base) is
2655 replaced with the contents of the X-Request-Base header.")
2656 (license license:perl-license)))
2658 (define-public perl-catalyst-view-download
2660 (name "perl-catalyst-view-download")
2665 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2666 "Catalyst-View-Download-" version ".tar.gz"))
2669 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2670 (build-system perl-build-system)
2672 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2673 ("perl-module-install" ,perl-module-install)
2674 ("perl-test-simple" ,perl-test-simple)
2675 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2676 ("perl-text-csv" ,perl-text-csv)
2677 ("perl-xml-simple" ,perl-xml-simple)))
2678 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2679 (synopsis "Download data in many formats")
2680 (description "The purpose of this module is to provide a method for
2681 downloading data into many supportable formats. For example, downloading a
2682 table based report in a variety of formats (CSV, HTML, etc.).")
2683 (license license:perl-license)))
2685 (define-public perl-catalyst-view-json
2687 (name "perl-catalyst-view-json")
2692 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2693 "Catalyst-View-JSON-" version ".tar.gz"))
2696 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2697 (build-system perl-build-system)
2699 `(("perl-module-install" ,perl-module-install)
2700 ("perl-yaml" ,perl-yaml)))
2702 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2703 ("perl-json-maybexs" ,perl-json-maybexs)
2704 ("perl-mro-compat" ,perl-mro-compat)))
2705 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2706 (synopsis "Catalyst JSON view")
2707 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2708 stash data in JSON format.")
2709 (license license:perl-license)))
2711 (define-public perl-catalyst-view-tt
2713 (name "perl-catalyst-view-tt")
2718 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2719 "Catalyst-View-TT-" version ".tar.gz"))
2721 (base32 "0jzgpkgq5pwq82zlb0nykdyk40dfpsyn9ilz91d0wpixgi9i5pr8"))))
2722 (build-system perl-build-system)
2724 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2725 ("perl-class-accessor" ,perl-class-accessor)
2726 ("perl-data-dump" ,perl-data-dump)
2727 ("perl-mro-compat" ,perl-mro-compat)
2728 ("perl-path-class" ,perl-path-class)
2729 ("perl-template-timer" ,perl-template-timer)
2730 ("perl-template-toolkit" ,perl-template-toolkit)))
2731 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2732 (synopsis "Template View Class")
2733 (description "This module is a Catalyst view class for the Template
2735 (license license:perl-license)))
2737 (define-public perl-catalystx-component-traits
2739 (name "perl-catalystx-component-traits")
2744 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2745 "CatalystX-Component-Traits-" version ".tar.gz"))
2748 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2749 (build-system perl-build-system)
2751 `(("perl-moose" ,perl-moose)
2752 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2753 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2755 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2756 ("perl-class-load" ,perl-class-load)
2757 ("perl-moose" ,perl-moose)
2758 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2759 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2760 ("perl-list-moreutils" ,perl-list-moreutils)))
2761 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2762 (synopsis "Trait Loading and Resolution for Catalyst Components")
2763 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2764 Catalyst component base class that reads the optional \"traits\" parameter
2765 from app and component config and instantiates the component subclass with
2766 those traits using \"new_with_traits\" in MooseX::Traits from
2767 MooseX::Traits::Pluggable.")
2768 (license license:perl-license)))
2770 (define-public perl-catalystx-roleapplicator
2772 (name "perl-catalystx-roleapplicator")
2777 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2778 "CatalystX-RoleApplicator-" version ".tar.gz"))
2781 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2782 (build-system perl-build-system)
2784 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2785 ("perl-moose" ,perl-moose)
2786 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2787 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2788 (synopsis "Apply roles to Catalyst classes")
2789 (description "CatalystX::RoleApplicator applies roles to Catalyst
2790 application classes.")
2791 (license license:perl-license)))
2793 (define-public perl-catalystx-script-server-starman
2795 (name "perl-catalystx-script-server-starman")
2800 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2801 "CatalystX-Script-Server-Starman-"
2805 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2806 (build-system perl-build-system)
2808 `(("perl-module-install" ,perl-module-install)
2809 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2811 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2812 ("perl-moose" ,perl-moose)
2813 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2814 ("starman" ,starman)))
2815 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2816 (synopsis "Catalyst development server with Starman")
2817 (description "This module provides a Catalyst extension to replace the
2818 development server with Starman.")
2819 (license license:perl-license)))
2821 (define-public perl-cgi
2828 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2829 "CGI-" version ".tar.gz"))
2831 (base32 "02k0p8zwbn0fz9r39rg8jvbmky8fwdg6kznklzk557rg07kiblhb"))))
2832 (build-system perl-build-system)
2834 `(("perl-test-deep" ,perl-test-deep)
2835 ("perl-test-nowarnings" ,perl-test-nowarnings)
2836 ("perl-test-warn" ,perl-test-warn)))
2838 `(("perl-html-parser" ,perl-html-parser)))
2839 (home-page "https://metacpan.org/release/CGI")
2840 (synopsis "Handle Common Gateway Interface requests and responses")
2841 (description "CGI.pm is a stable, complete and mature solution for
2842 processing and preparing HTTP requests and responses. Major features include
2843 processing form submissions, file uploads, reading and writing cookies, query
2844 string generation and manipulation, and processing and preparing HTTP
2846 (license license:perl-license)))
2848 (define-public perl-cgi-formbuilder
2850 (name "perl-cgi-formbuilder")
2856 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2857 "CGI-FormBuilder-" version ".tar.gz"))
2860 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2861 (build-system perl-build-system)
2862 (inputs `(("perl-cgi" ,perl-cgi)))
2864 "https://metacpan.org/release/CGI-FormBuilder")
2866 "Generate and process stateful forms")
2868 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2869 form-based applications.")
2870 (license license:perl-license)))
2872 (define-public perl-cgi-session
2874 (name "perl-cgi-session")
2880 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2885 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2886 (build-system perl-build-system)
2888 `(("perl-module-build" ,perl-module-build)))
2889 (inputs `(("perl-cgi" ,perl-cgi)))
2891 "https://metacpan.org/release/CGI-Session")
2893 "Persistent session data in CGI applications")
2895 "@code{CGI::Session} provides modular session management system across
2897 (license license:perl-license)))
2899 (define-public perl-cgi-simple
2901 (name "perl-cgi-simple")
2906 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2907 "CGI-Simple-" version ".tar.gz"))
2909 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
2910 (build-system perl-build-system)
2912 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2913 ("perl-module-build" ,perl-module-build)
2914 ("perl-test-exception" ,perl-test-exception)
2915 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2916 (home-page "https://metacpan.org/release/CGI-Simple")
2917 (synopsis "CGI interface that is CGI.pm compliant")
2918 (description "CGI::Simple provides a relatively lightweight drop in
2919 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2920 parameter parsing, file upload, cookie handling and header generation.")
2921 (license license:perl-license)))
2923 (define-public perl-cgi-struct
2925 (name "perl-cgi-struct")
2930 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2931 "CGI-Struct-" version ".tar.gz"))
2934 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2935 (build-system perl-build-system)
2937 `(("perl-test-deep" ,perl-test-deep)))
2938 (home-page "https://metacpan.org/release/CGI-Struct")
2939 (synopsis "Build structures from CGI data")
2940 (description "This is a module for building structured data from CGI
2941 inputs, in a manner reminiscent of how PHP does.")
2942 (license license:bsd-2)))
2944 (define-public perl-datetime-format-http
2946 (name "perl-datetime-format-http")
2951 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2952 "DateTime-Format-HTTP-" version ".tar.gz"))
2955 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2956 (build-system perl-build-system)
2958 `(("perl-module-build" ,perl-module-build)))
2960 `(("perl-datetime" ,perl-datetime)
2961 ("perl-http-date" ,perl-http-date)))
2962 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2963 (synopsis "Date conversion routines")
2964 (description "This module provides functions that deal with the date
2965 formats used by the HTTP protocol.")
2966 (license license:perl-license)))
2968 (define-public perl-digest-md5-file
2970 (name "perl-digest-md5-file")
2975 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2976 "Digest-MD5-File-" version ".tar.gz"))
2979 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2980 (build-system perl-build-system)
2982 `(("perl-libwww" ,perl-libwww)))
2983 (home-page "https://metacpan.org/release/Digest-MD5-File")
2984 (synopsis "MD5 sums for files and urls")
2985 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2986 for files and urls.")
2987 (license license:perl-license)))
2989 (define-public perl-encode-locale
2991 (name "perl-encode-locale")
2996 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
3000 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
3001 (build-system perl-build-system)
3002 (license license:perl-license)
3003 (synopsis "Perl locale encoding determination")
3005 "The POSIX locale system is used to specify both the language
3006 conventions requested by the user and the preferred character set to
3007 consume and output. The Encode::Locale module looks up the charset and
3008 encoding (called a CODESET in the locale jargon) and arranges for the
3009 Encode module to know this encoding under the name \"locale\". It means
3010 bytes obtained from the environment can be converted to Unicode strings
3011 by calling Encode::encode(locale => $bytes) and converted back again
3012 with Encode::decode(locale => $string).")
3013 (home-page "https://metacpan.org/release/Encode-Locale")))
3015 (define-public perl-feed-find
3017 (name "perl-feed-find")
3021 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
3022 "Feed-Find-" version ".tar.gz"))
3025 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
3026 (build-system perl-build-system)
3028 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
3031 (modify-phases %standard-phases
3032 (add-after 'unpack 'set-env
3033 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
3035 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3036 ("perl-html-parser" ,perl-html-parser)
3037 ("perl-libwww" ,perl-libwww)
3038 ("perl-uri" ,perl-uri)))
3039 (home-page "https://metacpan.org/release/Feed-Find")
3040 (synopsis "Syndication feed auto-discovery")
3041 (description "@code{Feed::Find} implements feed auto-discovery for finding
3042 syndication feeds, given a URI. It will discover the following feed formats:
3043 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
3044 (license license:perl-license)))
3046 (define-public perl-file-listing
3048 (name "perl-file-listing")
3053 "mirror://cpan/authors/id/P/PL/PLICEASE/File-Listing-"
3057 "0vmzw1mhv580flzkla80gvwfpficnhlbqr1dnlf9x50bw7n18k62"))))
3058 (build-system perl-build-system)
3060 `(("perl-http-date" ,perl-http-date)))
3061 (license license:perl-license)
3062 (synopsis "Perl directory listing parser")
3064 "The File::Listing module exports a single function called parse_dir(),
3065 which can be used to parse directory listings.")
3066 (home-page "https://metacpan.org/release/File-Listing")))
3068 (define-public perl-finance-quote
3070 (name "perl-finance-quote")
3075 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
3076 "Finance-Quote-" version ".tar.gz"))
3078 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
3079 (patches (search-patches
3080 "perl-finance-quote-unuse-mozilla-ca.patch"))))
3081 (build-system perl-build-system)
3083 `(("perl-cgi" ,perl-cgi)
3084 ("perl-datetime" ,perl-datetime)
3085 ("perl-html-parser" ,perl-html-parser)
3086 ("perl-html-tableextract" ,perl-html-tableextract)
3087 ("perl-html-tree" ,perl-html-tree)
3088 ("perl-http-cookies" ,perl-http-cookies)
3089 ("perl-http-message" ,perl-http-message)
3090 ("perl-json" ,perl-json)
3091 ("perl-libwww" ,perl-libwww)
3092 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
3093 ("perl-uri" ,perl-uri)))
3094 (home-page "https://metacpan.org/release/Finance-Quote")
3095 (synopsis "Stock and mutual fund quotes")
3097 "Finance::Quote gets stock quotes from various internet sources, including
3098 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
3099 (license license:gpl2)))
3101 (define-public perl-gssapi
3103 (name "perl-gssapi")
3108 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
3109 "GSSAPI-" version ".tar.gz"))
3112 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
3113 (build-system perl-build-system)
3114 (inputs `(("gssapi" ,mit-krb5)))
3116 `(#:make-maker-flags
3117 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
3118 (home-page "https://metacpan.org/release/GSSAPI")
3119 (synopsis "Perl extension providing access to the GSSAPIv2 library")
3120 (description "This is a Perl extension for using GSSAPI C bindings as
3121 described in RFC 2744.")
3122 (license license:perl-license)))
3124 (define-public perl-html-element-extended
3126 (name "perl-html-element-extended")
3131 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
3132 "HTML-Element-Extended-" version ".tar.gz"))
3135 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
3136 (build-system perl-build-system)
3138 `(("perl-html-tree" ,perl-html-tree)))
3139 (home-page "https://metacpan.org/release/HTML-Element-Extended")
3140 (synopsis "Manipulate tables of HTML::Element")
3142 "HTML::Element::Extended is a Perl extension for manipulating a table
3143 composed of HTML::Element style components.")
3144 (license license:perl-license)))
3146 (define-public perl-html-form
3148 (name "perl-html-form")
3153 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3154 "HTML-Form-" version ".tar.gz"))
3156 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
3157 (build-system perl-build-system)
3159 `(("perl-html-parser" ,perl-html-parser)
3160 ("perl-html-tagset" ,perl-html-tagset)
3161 ("perl-http-message" ,perl-http-message)
3162 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3163 ("perl-uri" ,perl-uri)))
3164 (home-page "https://metacpan.org/release/HTML-Form")
3165 (synopsis "Perl class representing an HTML form element")
3166 (description "Objects of the HTML::Form class represents a single HTML
3167 <form> ... </form> instance.")
3168 (license license:perl-license)))
3170 (define-public perl-html-scrubber
3172 (name "perl-html-scrubber")
3178 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
3183 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
3184 (build-system perl-build-system)
3186 `(("perl-module-build" ,perl-module-build)
3187 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
3188 ("perl-test-differences" ,perl-test-differences)
3189 ("perl-test-eol" ,perl-test-eol)
3190 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
3191 ("perl-test-notabs" ,perl-test-notabs)))
3193 `(("perl-html-parser" ,perl-html-parser)))
3195 "https://metacpan.org/release/HTML-Scrubber")
3197 "Perl extension for scrubbing/sanitizing html")
3199 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
3200 (license license:perl-license)))
3202 (define-public perl-html-lint
3204 (name "perl-html-lint")
3209 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3210 "HTML-Lint-" version ".tar.gz"))
3212 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
3213 (build-system perl-build-system)
3215 `(("perl-html-parser" ,perl-html-parser)
3216 ("perl-html-tagset" ,perl-html-tagset)
3217 ("perl-libwww" ,perl-libwww)))
3218 (home-page "https://metacpan.org/release/HTML-Lint")
3219 (synopsis "Check for HTML errors in a string or file")
3220 (description "HTML::Lint is a pure-Perl HTML parser and checker for
3221 syntactic legitmacy.")
3222 (license license:artistic2.0)))
3224 (define-public perl-html-tableextract
3226 (name "perl-html-tableextract")
3231 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
3232 "HTML-TableExtract-" version ".tar.gz"))
3235 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
3236 (build-system perl-build-system)
3238 `(("perl-html-element-extended" ,perl-html-element-extended)
3239 ("perl-html-parser" ,perl-html-parser)))
3240 (home-page "https://metacpan.org/release/HTML-TableExtract")
3241 (synopsis "Extract contents from HTML tables")
3243 "HTML::TableExtract is a Perl module for extracting the content contained
3244 in tables within an HTML document, either as text or encoded element trees.")
3245 (license license:perl-license)))
3247 (define-public perl-html-tree
3249 (name "perl-html-tree")
3254 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
3255 "HTML-Tree-" version ".tar.gz"))
3258 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
3259 (build-system perl-build-system)
3261 `(("perl-module-build" ,perl-module-build)
3262 ("perl-test-fatal" ,perl-test-fatal)))
3264 `(("perl-html-parser" ,perl-html-parser)
3265 ("perl-html-tagset" ,perl-html-tagset)
3266 ("perl-libwww" ,perl-libwww)))
3267 (home-page "https://metacpan.org/release/HTML-Tree")
3268 (synopsis "Work with HTML in a DOM-like tree structure")
3269 (description "This distribution contains a suite of modules for
3270 representing, creating, and extracting information from HTML syntax trees.")
3271 (license license:perl-license)))
3273 (define-public perl-html-parser
3275 (name "perl-html-parser")
3280 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
3284 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
3285 (build-system perl-build-system)
3287 `(("perl-html-tagset" ,perl-html-tagset)
3288 ("perl-http-message" ,perl-http-message)))
3289 (license license:perl-license)
3290 (synopsis "Perl HTML parser class")
3292 "Objects of the HTML::Parser class will recognize markup and separate
3293 it from plain text (alias data content) in HTML documents. As different
3294 kinds of markup and text are recognized, the corresponding event handlers
3296 (home-page "https://metacpan.org/release/HTML-Parser")))
3298 (define-public perl-html-tagset
3300 (name "perl-html-tagset")
3305 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
3309 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
3310 (build-system perl-build-system)
3311 (license license:perl-license)
3312 (synopsis "Perl data tables useful in parsing HTML")
3314 "The HTML::Tagset module contains several data tables useful in various
3315 kinds of HTML parsing operations.")
3316 (home-page "https://metacpan.org/release/HTML-Tagset")))
3318 (define-public perl-html-template
3320 (name "perl-html-template")
3324 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
3325 "HTML-Template-" version ".tar.gz"))
3328 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
3329 (build-system perl-build-system)
3331 `(("perl-cgi" ,perl-cgi)))
3332 (home-page "https://metacpan.org/release/HTML-Template")
3333 (synopsis "HTML-like templates")
3335 "This module attempts to make using HTML templates simple and natural.
3336 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
3337 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
3338 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
3339 these new tags is called a template. Using this module you fill in the values
3340 for the variables, loops and branches declared in the template. This allows
3341 you to separate design from the data.")
3342 (license license:perl-license)))
3344 (define-public perl-http-body
3346 (name "perl-http-body")
3351 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3352 "HTTP-Body-" version ".tar.gz"))
3355 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3356 (build-system perl-build-system)
3358 `(("perl-test-deep" ,perl-test-deep)))
3360 `(("perl-file-temp" ,perl-file-temp)
3361 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3362 (home-page "https://metacpan.org/release/HTTP-Body")
3363 (synopsis "HTTP Body Parser")
3364 (description "HTTP::Body parses chunks of HTTP POST data and supports
3365 application/octet-stream, application/json, application/x-www-form-urlencoded,
3366 and multipart/form-data.")
3367 (license license:perl-license)))
3369 (define-public perl-http-cookiejar
3371 (name "perl-http-cookiejar")
3376 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3377 "HTTP-CookieJar-" version ".tar.gz"))
3379 (base32 "1l7mqsca4fmls7agzwmp6yq1x16y9jwq4114i6i75n654gl37qsn"))))
3380 (build-system perl-build-system)
3382 `(("perl-test-deep" ,perl-test-deep)
3383 ("perl-test-requires" ,perl-test-requires)
3384 ("perl-time-mock" ,perl-time-mock)
3385 ("perl-uri" ,perl-uri)))
3387 `(("perl-time-local" ,perl-time-local)
3388 ("perl-http-date" ,perl-http-date)))
3389 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3390 (synopsis "Minimalist HTTP user agent cookie jar")
3391 (description "This module implements a minimalist HTTP user agent cookie
3392 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3393 (license license:asl2.0)))
3395 (define-public perl-http-cookies
3397 (name "perl-http-cookies")
3402 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3406 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3407 (build-system perl-build-system)
3409 `(("perl-http-message" ,perl-http-message)))
3410 (license license:perl-license)
3411 (synopsis "Perl HTTP cookie jars")
3413 "The HTTP::Cookies class is for objects that represent a cookie jar,
3414 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3415 object knows about.")
3416 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3418 (define-public perl-http-daemon
3420 (name "perl-http-daemon")
3425 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3429 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3430 (build-system perl-build-system)
3432 `(("perl-http-message" ,perl-http-message)
3433 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3434 (license license:perl-license)
3435 (synopsis "Perl simple http server class")
3437 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3438 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3439 IO::Socket::INET, so you can perform socket operations directly on it too.")
3440 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3442 (define-public perl-http-date
3444 (name "perl-http-date")
3449 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Date-"
3453 "0awjdbz7x0jd5pna55dwxhs3k6xp3sw6b2zg3p2yndxxvya64p9n"))))
3454 (build-system perl-build-system)
3455 (license license:perl-license)
3456 (synopsis "Perl date conversion routines")
3458 "The HTTP::Date module provides functions that deal with date formats
3459 used by the HTTP protocol (and then some more).")
3460 (home-page "https://metacpan.org/release/HTTP-Date")))
3462 (define-public perl-http-lite
3464 (name "perl-http-lite")
3470 "mirror://cpan/authors/id/N/NE/NEILB/HTTP-Lite-"
3474 "0z77nflj8zdcfg70kc93glq5kmd6qxn2nf7h70x4xhfg25wkvr1q"))))
3475 (build-system perl-build-system)
3476 (native-inputs `(("perl-cgi" ,perl-cgi)))
3477 (home-page "https://metacpan.org/release/HTTP-Lite")
3478 (synopsis "Lightweight HTTP implementation")
3479 (description "@code{HTTP::Lite} is a stand-alone lightweight
3480 HTTP/1.1 implementation for perl. It is intended for use in
3481 situations where it is desirable to install the minimal number of
3482 modules to achieve HTTP support. @code{HTTP::Lite} is ideal for
3483 CGI (or mod_perl) programs or for bundling for redistribution with
3484 larger packages where only HTTP GET and POST functionality are
3485 necessary. @code{HTTP::Lite} is compliant with the Host header,
3486 necessary for name based virtual hosting, and supports proxies.
3487 Additionally, @code{HTTP::Lite} supports a callback to allow
3488 processing of request data as it arrives.")
3489 (license license:perl-license)))
3491 (define-public perl-http-message
3493 (name "perl-http-message")
3498 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3502 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3503 (build-system perl-build-system)
3505 `(("perl-try-tiny" ,perl-try-tiny)))
3507 `(("perl-encode-locale" ,perl-encode-locale)
3508 ("perl-http-date" ,perl-http-date)
3509 ("perl-io-html" ,perl-io-html)
3510 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3511 ("perl-uri" ,perl-uri)))
3512 (license license:perl-license)
3513 (synopsis "Perl HTTP style message")
3515 "An HTTP::Message object contains some headers and a content body.")
3516 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3518 (define-public perl-http-negotiate
3520 (name "perl-http-negotiate")
3525 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3529 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3530 (build-system perl-build-system)
3532 `(("perl-http-message" ,perl-http-message)))
3533 (license license:perl-license)
3534 (synopsis "Perl http content negotiation")
3536 "The HTTP::Negotiate module provides a complete implementation of the
3537 HTTP content negotiation algorithm specified in
3538 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3539 the selection of a preferred content representation based upon attributes
3540 of the negotiable variants and the value of the various Accept* header
3541 fields in the request.")
3542 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3544 (define-public perl-http-parser
3546 (name "perl-http-parser")
3551 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3552 "HTTP-Parser-" version ".tar.gz"))
3555 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3556 (build-system perl-build-system)
3558 `(("perl-http-message" ,perl-http-message)
3559 ("perl-uri" ,perl-uri)))
3560 (home-page "https://metacpan.org/release/HTTP-Parser")
3561 (synopsis "Parse HTTP/1.1 requests")
3562 (description "This is an HTTP request parser. It takes chunks of text as
3563 received and returns a @code{hint} as to what is required, or returns the
3564 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3566 (license license:perl-license)))
3568 (define-public perl-http-parser-xs
3570 (name "perl-http-parser-xs")
3575 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3576 "HTTP-Parser-XS-" version ".tar.gz"))
3579 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3580 (build-system perl-build-system)
3582 `(("perl-module-install" ,perl-module-install)))
3583 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3584 (synopsis "Fast HTTP request parser")
3585 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3587 (license license:perl-license)))
3589 (define-public perl-http-request-ascgi
3591 (name "perl-http-request-ascgi")
3596 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3597 "HTTP-Request-AsCGI-" version ".tar.gz"))
3600 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3601 (build-system perl-build-system)
3603 `(("perl-class-accessor" ,perl-class-accessor)
3604 ("perl-http-message" ,perl-http-message)))
3605 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3606 (synopsis "Set up a CGI environment from an HTTP::Request")
3607 (description "This module provides a convenient way to set up a CGI
3608 environment from an HTTP::Request.")
3609 (license license:perl-license)))
3611 (define-public perl-http-server-simple
3613 (name "perl-http-server-simple")
3618 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3619 "HTTP-Server-Simple-" version ".tar.gz"))
3622 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3623 (build-system perl-build-system)
3625 `(("perl-cgi" ,perl-cgi)))
3627 ;; See the discussion of a related tests issue at
3628 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3631 #:phases (modify-phases %standard-phases
3632 (add-before 'configure 'set-search-path
3634 ;; Work around "dotless @INC" build failure.
3636 (string-append (getcwd) ":"
3637 (getenv "PERL5LIB")))
3639 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3640 (synopsis "Lightweight HTTP server")
3641 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3642 no non-core module dependencies. It can be used for building a standalone
3643 http-based UI to your existing tools.")
3644 (license license:perl-license)))
3646 (define-public perl-http-tiny
3648 (name "perl-http-tiny")
3653 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3654 "HTTP-Tiny-" version ".tar.gz"))
3657 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3658 (build-system perl-build-system)
3660 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3661 ("perl-io-socket-ip" ,perl-io-socket-ip)
3662 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3663 ("perl-mozilla-ca" ,perl-mozilla-ca)
3664 ("perl-net-ssleay" ,perl-net-ssleay)))
3665 (home-page "https://metacpan.org/release/HTTP-Tiny")
3666 (synopsis "HTTP/1.1 client")
3667 (description "This is a very simple HTTP/1.1 client, designed for doing
3668 simple requests without the overhead of a large framework like LWP::UserAgent.
3669 It supports proxies and redirection. It also correctly resumes after EINTR.")
3670 (license license:perl-license)))
3672 (define-public perl-http-tinyish
3674 (name "perl-http-tinyish")
3680 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3685 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3686 (build-system perl-build-system)
3688 `(("perl-file-which" ,perl-file-which)
3689 ("perl-ipc-run3" ,perl-ipc-run3)))
3690 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3691 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3693 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3694 @code{HTTP::Tiny}, curl and wget.
3696 It provides an API compatible to HTTP::Tiny.")
3697 (license license:perl-license)))
3699 (define-public perl-io-html
3701 (name "perl-io-html")
3706 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3710 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3711 (build-system perl-build-system)
3712 (license license:perl-license)
3713 (synopsis "Perl module to open an HTML file with automatic charset detection")
3715 "IO::HTML provides an easy way to open a file containing HTML while
3716 automatically determining its encoding. It uses the HTML5 encoding sniffing
3717 algorithm specified in section 8.2.2.1 of the draft standard.")
3718 (home-page "https://metacpan.org/release/IO-HTML")))
3720 (define-public perl-io-socket-ip
3722 (name "perl-io-socket-ip")
3727 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3728 "IO-Socket-IP-" version ".tar.gz"))
3730 (base32 "0ihlpxrkq1xrvhnq52nhghanskic718ch8kpp642afgq72i4b6l4"))))
3731 (build-system perl-build-system)
3732 (native-inputs `(("perl-module-build" ,perl-module-build)))
3733 (home-page "https://metacpan.org/release/IO-Socket-IP")
3734 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3735 (description "This module provides a protocol-independent way to use IPv4
3736 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3737 (license license:perl-license)))
3739 (define-public perl-io-socket-ssl
3741 (name "perl-io-socket-ssl")
3745 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3746 "IO-Socket-SSL-" version ".tar.gz"))
3749 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3750 (patches (search-patches
3751 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3752 (build-system perl-build-system)
3754 `(("perl-net-ssleay" ,perl-net-ssleay)
3756 ("perl-uri" ,perl-uri)))
3757 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3759 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3760 necessary functionality into the familiar IO::Socket interface and providing
3761 secure defaults whenever possible. This way existing applications can be made
3762 SSL-aware without much effort, at least if you do blocking I/O and don't use
3764 (license license:perl-license)
3765 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3767 (define-public perl-libwww
3769 (name "perl-libwww")
3774 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3778 "19k0cg4j4qz005a4ngy48z4r8dc99dxlpq8kvj7qnk15mvgd1r63"))))
3779 (build-system perl-build-system)
3781 `(("perl-test-fatal" ,perl-test-fatal)
3782 ("perl-test-needs" ,perl-test-needs)
3783 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3785 `(("perl-encode-locale" ,perl-encode-locale)
3786 ("perl-file-listing" ,perl-file-listing)
3787 ("perl-html-parser" ,perl-html-parser)
3788 ("perl-http-cookies" ,perl-http-cookies)
3789 ("perl-http-daemon" ,perl-http-daemon)
3790 ("perl-http-date" ,perl-http-date)
3791 ("perl-http-message" ,perl-http-message)
3792 ("perl-http-negotiate" ,perl-http-negotiate)
3793 ("perl-net-http" ,perl-net-http)
3794 ("perl-try-tiny" ,perl-try-tiny)
3795 ("perl-uri" ,perl-uri)
3796 ("perl-www-robotrules" ,perl-www-robotrules)))
3797 (license license:perl-license)
3798 (synopsis "Perl modules for the WWW")
3800 "The libwww-perl collection is a set of Perl modules which provides a
3801 simple and consistent application programming interface to the
3802 World-Wide Web. The main focus of the library is to provide classes
3803 and functions that allow you to write WWW clients. The library also
3804 contains modules that are of more general use and even classes that
3805 help you implement simple HTTP servers.")
3806 (home-page "https://metacpan.org/release/libwww-perl")))
3808 (define-public perl-lwp-online
3810 (name "perl-lwp-online")
3816 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3820 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3821 (build-system perl-build-system)
3823 `(("perl-libwww" ,perl-libwww)
3824 ("perl-uri" ,perl-uri)))
3826 `(("perl-module-install" ,perl-module-install)))
3827 (home-page "https://metacpan.org/release/LWP-Online")
3828 (synopsis "Checks whether your process has access to the web")
3829 (description "This module attempts to answer, as accurately as it can, one
3830 of the nastiest technical questions there is: am I on the internet?
3832 A host of networking and security issues make this problem very difficult.
3833 There are firewalls, proxies (both well behaved and badly behaved). We might
3834 not have DNS. We might not have a network card at all!")
3835 (license license:perl-license)))
3837 (define-public perl-lwp-mediatypes
3839 (name "perl-lwp-mediatypes")
3844 "mirror://cpan/authors/id/O/OA/OALDERS/LWP-MediaTypes-"
3848 "1n8rg6csv3dsvymg06cmxipimr6cb1g9r903ghm1qsmiv89cl6wg"))))
3849 (build-system perl-build-system)
3851 `(("perl-test-fatal" ,perl-test-fatal)))
3852 (license license:perl-license)
3853 (synopsis "Perl module to guess the media type for a file or a URL")
3855 "The LWP::MediaTypes module provides functions for handling media (also
3856 known as MIME) types and encodings. The mapping from file extensions to
3857 media types is defined by the media.types file. If the ~/.media.types file
3858 exists it is used instead.")
3859 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3861 (define-public perl-lwp-protocol-https
3863 (name "perl-lwp-protocol-https")
3868 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3869 "LWP-Protocol-https-" version ".tar.gz"))
3871 (base32 "14pm785cgyrnppks6ccasb2vkqifh0a8fz36nmnhc2v926jy3kqn"))))
3872 (build-system perl-build-system)
3875 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3877 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3878 ("perl-libwww" ,perl-libwww)
3879 ("perl-mozilla-ca" ,perl-mozilla-ca)
3880 ("perl-net-http" ,perl-net-http)))
3881 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3882 (synopsis "HTTPS support for LWP::UserAgent")
3883 (description "The LWP::Protocol::https module provides support for using
3884 https schemed URLs with LWP.")
3885 (license license:perl-license)))
3887 (define-public perl-lwp-useragent-cached
3889 (name "perl-lwp-useragent-cached")
3894 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3895 "LWP-UserAgent-Cached-" version ".tar.gz"))
3898 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3899 (build-system perl-build-system)
3901 `(("perl-libwww" ,perl-libwww)))
3902 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3903 (synopsis "Simple caching for LWP::UserAgent")
3904 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3905 cache support. It returns responses from the local file system, if available,
3906 instead of making an HTTP request.")
3907 (license license:perl-license)))
3909 (define-public perl-lwp-useragent-determined
3911 (name "perl-lwp-useragent-determined")
3916 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3917 "LWP-UserAgent-Determined-" version ".tar.gz"))
3920 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3921 (build-system perl-build-system)
3923 `(("perl-libwww" ,perl-libwww)))
3924 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3925 (synopsis "Virtual browser that retries errors")
3926 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3927 except that when you use it to get a web page but run into a
3928 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3929 and retry a few times.")
3930 (license license:perl-license)))
3932 (define-public perl-lwpx-paranoidagent
3934 (name "perl-lwpx-paranoidagent")
3940 "mirror://cpan/authors/id/S/SA/SAXJAZMAN/lwp/LWPx-ParanoidAgent-"
3944 "0gfhw3jbs25yya2dryv8xvyn9myngcfcmsybj7gkq62fnznil16c"))))
3945 (build-system perl-build-system)
3947 `(("perl-libwww" ,perl-libwww)
3948 ;; Users should instead make sure SSL_ca_path is set properly.
3949 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3950 ("perl-net-dns" ,perl-net-dns)))
3951 (home-page "https://metacpan.org/release/LWPx-ParanoidAgent")
3952 (synopsis "Security enhanced subclass of LWP::UserAgent")
3953 (description "@code{LWPx::ParanoidAgent} is a class subclassing
3954 @code{LWP::UserAgent} but paranoid against attackers. Its purpose is
3955 to vet requests for a remote resource on behalf of a possibly
3956 malicious user. The class can do the same as @code{LWP::UserAgent},
3957 except that proxy support has been removed. Support for URI schemes
3958 is limited to http and https.")
3959 (license license:perl-license)))
3961 (define-public perl-net-amazon-s3
3963 (name "perl-net-amazon-s3")
3968 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3969 "Net-Amazon-S3-" version ".tar.gz"))
3972 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3973 (patches (search-patches
3974 "perl-net-amazon-s3-moose-warning.patch"))))
3975 (build-system perl-build-system)
3977 `(("perl-libwww" ,perl-libwww)
3978 ("perl-test-exception" ,perl-test-exception)))
3980 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3981 ("perl-datetime-format-http" ,perl-datetime-format-http)
3982 ("perl-digest-hmac" ,perl-digest-hmac)
3983 ("perl-digest-md5-file" ,perl-digest-md5-file)
3984 ("perl-file-find-rule" ,perl-file-find-rule)
3985 ("perl-http-date" ,perl-http-date)
3986 ("perl-http-message" ,perl-http-message)
3987 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3988 ("perl-mime-types" ,perl-mime-types)
3989 ("perl-moose" ,perl-moose)
3990 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3991 ("perl-moosex-types-datetime-morecoercions"
3992 ,perl-moosex-types-datetime-morecoercions)
3993 ("perl-path-class" ,perl-path-class)
3994 ("perl-regexp-common" ,perl-regexp-common)
3995 ("perl-term-encoding" ,perl-term-encoding)
3996 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3997 ("perl-uri" ,perl-uri)
3998 ("perl-xml-libxml" ,perl-xml-libxml)))
3999 (home-page "https://metacpan.org/release/Net-Amazon-S3")
4000 (synopsis "Perl interface to Amazon S3")
4001 (description "This module provides a Perlish interface to Amazon S3.")
4002 (license license:perl-license)))
4004 (define-public perl-net-http
4006 (name "perl-net-http")
4011 "mirror://cpan/authors/id/O/OA/OALDERS/"
4012 "Net-HTTP-" version ".tar.gz"))
4015 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
4016 (build-system perl-build-system)
4018 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
4019 ("perl-uri" ,perl-uri)))
4020 (license license:perl-license)
4021 (synopsis "Perl low-level HTTP connection (client)")
4023 "The Net::HTTP class is a low-level HTTP client. An instance of the
4024 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
4025 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
4027 (home-page "https://metacpan.org/release/Net-HTTP")))
4029 (define-public perl-net-server
4031 (name "perl-net-server")
4036 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
4037 "Net-Server-" version ".tar.gz"))
4040 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
4041 (build-system perl-build-system)
4042 (home-page "https://metacpan.org/release/Net-Server")
4043 (synopsis "Extensible Perl server engine")
4044 (description "Net::Server is an extensible, generic Perl server engine.
4045 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
4046 It includes with it the ability to run as an inetd
4047 process (Net::Server::INET), a single connection server (Net::Server or
4048 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
4049 server which maintains a constant number of preforked
4050 children (Net::Server::PreForkSimple), or as a managed preforking server which
4051 maintains the number of children based on server load (Net::Server::PreFork).
4052 In all but the inetd type, the server provides the ability to connect to one
4053 or to multiple server ports.")
4054 (license license:perl-license)))
4056 (define-public perl-net-smtp-ssl
4058 (name "perl-net-smtp-ssl")
4063 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
4064 "Net-SMTP-SSL-" version ".tar.gz"))
4067 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
4068 (build-system perl-build-system)
4070 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
4071 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
4072 (synopsis "SSL support for Net::SMTP")
4073 (description "SSL support for Net::SMTP.")
4074 (license license:perl-license)))
4076 (define-public perl-plack
4083 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4084 "Plack-" version ".tar.gz"))
4087 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
4088 (build-system perl-build-system)
4090 `(("perl-test-requires" ,perl-test-requires)
4091 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
4093 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
4094 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
4095 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
4096 ("perl-file-sharedir" ,perl-file-sharedir)
4097 ("perl-hash-multivalue" ,perl-hash-multivalue)
4098 ("perl-http-body" ,perl-http-body)
4099 ("perl-http-message" ,perl-http-message)
4100 ("perl-http-tiny" ,perl-http-tiny)
4101 ("perl-libwww" ,perl-libwww)
4102 ("perl-stream-buffered" ,perl-stream-buffered)
4103 ("perl-test-tcp" ,perl-test-tcp)
4104 ("perl-try-tiny" ,perl-try-tiny)
4105 ("perl-uri" ,perl-uri)))
4106 (home-page "https://metacpan.org/release/Plack")
4107 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
4108 (description "Plack is a set of tools for using the PSGI stack. It
4109 contains middleware components, a reference server, and utilities for Web
4110 application frameworks. Plack is like Ruby's Rack or Python's Paste for
4112 (license license:perl-license)))
4114 (define-public perl-plack-middleware-deflater
4116 (name "perl-plack-middleware-deflater")
4122 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
4123 "Plack-Middleware-Deflater-" version ".tar.gz"))
4126 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
4127 (build-system perl-build-system)
4129 `(("perl-module-install" ,perl-module-install)
4130 ("perl-test-requires" ,perl-test-requires)))
4132 `(("perl-plack" ,perl-plack)))
4133 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
4134 (synopsis "Compress response body with Gzip or Deflate")
4136 "Plack::Middleware::Deflater is a middleware to encode your response body
4137 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
4138 would save the bandwidth a little bit but should increase the Plack server
4139 load, so ideally you should handle this on the frontend reverse proxy
4141 (license license:perl-license)))
4143 (define-public perl-plack-middleware-fixmissingbodyinredirect
4145 (name "perl-plack-middleware-fixmissingbodyinredirect")
4150 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4151 "Plack-Middleware-FixMissingBodyInRedirect-"
4155 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
4156 (build-system perl-build-system)
4158 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
4159 ("perl-http-message" ,perl-http-message)
4160 ("perl-plack" ,perl-plack))) ;for Plack::Test
4162 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
4163 (synopsis "Plack::Middleware which sets body for redirect response")
4164 (description "This module sets the body in redirect response, if it's not
4166 (license license:perl-license)))
4168 (define-public perl-plack-middleware-methodoverride
4170 (name "perl-plack-middleware-methodoverride")
4175 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4176 "Plack-Middleware-MethodOverride-"
4179 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
4180 (build-system perl-build-system)
4182 `(("perl-module-build" ,perl-module-build)))
4184 `(("perl-plack" ,perl-plack)))
4185 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
4186 (synopsis "Override REST methods to Plack apps via POST")
4187 (description "This middleware allows for POST requests that pretend to be
4188 something else: by adding either a header named X-HTTP-Method-Override to the
4189 request, or a query parameter named x-tunneled-method to the URI, the client
4190 can say what method it actually meant.")
4191 (license license:perl-license)))
4193 (define-public perl-plack-middleware-removeredundantbody
4195 (name "perl-plack-middleware-removeredundantbody")
4200 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4201 "Plack-Middleware-RemoveRedundantBody-"
4204 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
4205 (build-system perl-build-system)
4207 `(("perl-plack" ,perl-plack)))
4209 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
4210 (synopsis "Plack::Middleware which removes body for HTTP response")
4211 (description "This module removes the body in an HTTP response if it's not
4213 (license license:perl-license)))
4215 (define-public perl-plack-middleware-reverseproxy
4217 (name "perl-plack-middleware-reverseproxy")
4222 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4223 "Plack-Middleware-ReverseProxy-"
4226 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
4227 (build-system perl-build-system)
4229 `(("perl-module-install" ,perl-module-install)))
4231 `(("perl-plack" ,perl-plack)))
4232 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
4233 (synopsis "Supports app to run as a reverse proxy backend")
4234 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
4235 which are changed by reverse-proxy. You can specify the reverse proxy address
4236 and stop fake requests using @code{enable_if} directive in your app.psgi.")
4237 (license license:perl-license)))
4239 (define-public perl-plack-test-externalserver
4241 (name "perl-plack-test-externalserver")
4246 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
4247 "Plack-Test-ExternalServer-" version ".tar.gz"))
4249 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
4250 (build-system perl-build-system)
4252 `(("perl-plack" ,perl-plack)))
4253 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
4254 (synopsis "Run HTTP tests on external live servers")
4255 (description "This module allows your to run your Plack::Test tests
4256 against an external server instead of just against a local application through
4257 either mocked HTTP or a locally spawned server.")
4258 (license license:perl-license)))
4260 (define-public perl-test-tcp
4262 (name "perl-test-tcp")
4267 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4268 "Test-TCP-" version ".tar.gz"))
4270 (base32 "0mvv9rqwrwlcfh8qrs0s47p85rhlnw15d4gbpyi802bddp0c6lry"))))
4271 (build-system perl-build-system)
4273 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
4274 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
4275 (home-page "https://metacpan.org/release/Test-TCP")
4276 (synopsis "Testing TCP programs")
4277 (description "Test::TCP is test utilities for TCP/IP programs.")
4278 (license license:perl-license)))
4280 (define-public perl-test-www-mechanize
4282 (name "perl-test-www-mechanize")
4287 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
4288 "Test-WWW-Mechanize-" version ".tar.gz"))
4290 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
4291 (build-system perl-build-system)
4293 `(("perl-carp-assert-more" ,perl-carp-assert-more)
4294 ("perl-html-form" ,perl-html-form)
4295 ("perl-html-lint" ,perl-html-lint)
4296 ("perl-http-server-simple" ,perl-http-server-simple)
4297 ("perl-libwww" ,perl-libwww)
4298 ("perl-test-longstring" ,perl-test-longstring)
4299 ("perl-www-mechanize" ,perl-www-mechanize)))
4300 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
4301 (synopsis "Testing-specific WWW::Mechanize subclass")
4302 (description "Test::WWW::Mechanize is a subclass of the Perl module
4303 WWW::Mechanize that incorporates features for web application testing.")
4304 (license license:artistic2.0)))
4306 (define-public perl-test-www-mechanize-catalyst
4308 (name "perl-test-www-mechanize-catalyst")
4313 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
4314 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
4316 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
4317 (build-system perl-build-system)
4319 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
4320 ("perl-catalyst-plugin-session-state-cookie"
4321 ,perl-catalyst-plugin-session-state-cookie)
4322 ("perl-module-install" ,perl-module-install)
4323 ("perl-test-exception" ,perl-test-exception)
4324 ("perl-test-pod" ,perl-test-pod)
4325 ("perl-test-utf8" ,perl-test-utf8)))
4327 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4328 ("perl-class-load" ,perl-class-load)
4329 ("perl-libwww" ,perl-libwww)
4330 ("perl-moose" ,perl-moose)
4331 ("perl-namespace-clean" ,perl-namespace-clean)
4332 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4333 ("perl-www-mechanize" ,perl-www-mechanize)))
4334 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4335 (synopsis "Test::WWW::Mechanize for Catalyst")
4336 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4337 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4338 testing of Catalyst applications without needing to start up a web server.")
4339 (license license:perl-license)))
4341 (define-public perl-test-www-mechanize-psgi
4343 (name "perl-test-www-mechanize-psgi")
4348 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4349 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4352 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4353 (build-system perl-build-system)
4355 `(("perl-test-pod" ,perl-test-pod)))
4357 `(("perl-plack" ,perl-plack)
4358 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4359 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4360 (synopsis "Test PSGI programs using WWW::Mechanize")
4361 (description "PSGI is a specification to decouple web server environments
4362 from web application framework code. Test::WWW::Mechanize is a subclass of
4363 WWW::Mechanize that incorporates features for web application testing. The
4364 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4366 (license license:perl-license)))
4368 (define-public perl-uri
4374 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4375 "URI-" version ".tar.gz"))
4378 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4379 (build-system perl-build-system)
4382 `(("perl-test-needs" ,perl-test-needs)))
4383 (license license:perl-license)
4384 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4386 "The URI module implements the URI class. Objects of this class
4387 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4388 and updated by RFC 2732.")
4389 (home-page "https://metacpan.org/release/URI")))
4391 (define-public perl-uri-fetch
4393 (name "perl-uri-fetch")
4397 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4398 "URI-Fetch-" version ".tar.gz"))
4401 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4402 (build-system perl-build-system)
4404 `(#:tests? #f)) ; Tests require internet connection to succeed
4406 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4407 ("perl-libwww" ,perl-libwww)
4408 ("perl-uri" ,perl-uri)))
4409 (home-page "https://metacpan.org/release/URI-Fetch")
4410 (synopsis "Smart URI fetching/caching")
4411 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4412 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4413 and time-saving way.")
4414 (license license:perl-license)))
4416 (define-public perl-uri-find
4418 (name "perl-uri-find")
4419 (version "20160806")
4423 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4424 "URI-Find-" version ".tar.gz"))
4427 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4428 (build-system perl-build-system)
4430 `(("perl-module-build" ,perl-module-build)))
4432 `(("perl-uri" ,perl-uri)))
4433 (home-page "https://metacpan.org/release/URI-Find")
4434 (synopsis "Find URIs in arbitrary text")
4435 (description "This module finds URIs and URLs (according to what URI.pm
4436 considers a URI) in plain text. It only finds URIs which include a
4437 scheme (http:// or the like), for something a bit less strict, consider
4438 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4439 (license license:perl-license)))
4441 (define-public perl-uri-ws
4443 (name "perl-uri-ws")
4448 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4449 "URI-ws-" version ".tar.gz"))
4452 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4453 (build-system perl-build-system)
4455 `(("perl-uri" ,perl-uri)))
4456 (home-page "https://metacpan.org/release/URI-ws")
4457 (synopsis "WebSocket support for URI package")
4458 (description "With this module, the URI package provides the same set of
4459 methods for WebSocket URIs as it does for HTTP URIs.")
4460 (license license:perl-license)))
4462 (define-public perl-uri-template
4464 (name "perl-uri-template")
4468 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4472 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4473 (build-system perl-build-system)
4475 `(("perl-uri" ,perl-uri)))
4477 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4478 ("perl-test-pod" ,perl-test-pod)
4479 ("perl-module-install" ,perl-module-install)
4480 ("perl-json" ,perl-json)))
4481 (home-page "https://metacpan.org/release/URI-Template")
4482 (synopsis "Object for handling URI templates")
4483 (description "This perl module provides a wrapper around URI templates as described in
4485 (license license:perl-license)))
4487 (define-public perl-www-curl
4489 (name "perl-www-curl")
4494 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4496 (patches (search-patches "perl-www-curl-fix-struct-void.patch"
4497 "perl-www-curl-remove-symbol.patch"))
4500 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4501 (build-system perl-build-system)
4503 '(#:tests? #f ;XXX: tests require network access
4504 #:phases (modify-phases %standard-phases
4505 (add-before 'configure 'set-search-path
4507 ;; Work around "dotless @INC" build failure.
4509 (string-append (getcwd) ":"
4510 (getenv "PERL5LIB")))
4513 `(("perl-module-install" ,perl-module-install)))
4514 (inputs `(("curl" ,curl)))
4515 (synopsis "Perl extension interface for libcurl")
4517 "This is a Perl extension interface for the libcurl file downloading
4519 (license license:perl-license)
4520 (home-page "https://metacpan.org/release/WWW-Curl")))
4522 (define-public perl-www-mechanize
4524 (name "perl-www-mechanize")
4529 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4530 "WWW-Mechanize-" version ".tar.gz"))
4532 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4533 (build-system perl-build-system)
4534 (native-inputs ;only for tests
4535 `(("perl-cgi" ,perl-cgi)
4536 ("perl-test-deep" ,perl-test-deep)
4537 ("perl-test-fatal" ,perl-test-fatal)
4538 ("perl-test-output" ,perl-test-output)
4539 ("perl-test-warnings" ,perl-test-warnings)))
4541 `(("perl-html-form" ,perl-html-form)
4542 ("perl-html-parser" ,perl-html-parser)
4543 ("perl-html-tree" ,perl-html-tree)
4544 ("perl-http-message" ,perl-http-message)
4545 ("perl-http-server-simple" ,perl-http-server-simple)
4546 ("perl-libwww" ,perl-libwww)
4547 ("perl-test-warn" ,perl-test-warn)
4548 ("perl-uri" ,perl-uri)))
4549 (home-page "https://metacpan.org/release/WWW-Mechanize")
4550 (synopsis "Web browsing in a Perl object")
4551 (description "WWW::Mechanize is a Perl module for stateful programmatic
4552 web browsing, used for automating interaction with websites.")
4553 (license license:perl-license)))
4555 (define-public perl-www-opensearch
4557 (name "perl-www-opensearch")
4561 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4562 "WWW-OpenSearch-" version ".tar.gz"))
4565 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4566 (build-system perl-build-system)
4568 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4569 ("perl-datetime" ,perl-datetime)
4570 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4571 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4572 ("perl-feed-find" ,perl-feed-find)
4573 ("perl-module-install" ,perl-module-install)
4574 ("perl-module-pluggable" ,perl-module-pluggable)
4575 ("perl-uri-fetch" ,perl-uri-fetch)
4576 ("perl-test-simple" ,perl-test-simple)
4577 ("perl-xml-atom" ,perl-xml-atom)
4578 ("perl-xml-rss" ,perl-xml-rss)))
4580 `(("perl-data-page" ,perl-data-page)
4581 ("perl-libwww" ,perl-libwww)
4582 ("perl-uri" ,perl-uri)
4583 ("perl-uri-template" ,perl-uri-template)
4584 ("perl-xml-feed" ,perl-xml-feed)
4585 ("perl-xml-libxml" ,perl-xml-libxml)))
4586 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4587 (synopsis "Search A9 OpenSearch compatible engines")
4589 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4590 http://opensearch.a9.com} compatible search engines.")
4591 (license license:perl-license)))
4593 (define-public perl-www-robotrules
4595 (name "perl-www-robotrules")
4600 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4604 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4605 (build-system perl-build-system)
4607 `(("perl-uri" ,perl-uri)))
4608 (license license:perl-license)
4609 (synopsis "Perl database of robots.txt-derived permissions")
4611 "The WWW::RobotRules module parses /robots.txt files as specified in
4612 \"A Standard for Robot Exclusion\", at
4613 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4614 /robots.txt file to forbid conforming robots from accessing parts of
4616 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4618 (define-public python-feedparser
4620 (name "python-feedparser")
4625 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4628 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4629 (build-system python-build-system)
4633 "https://github.com/kurtmckee/feedparser")
4634 (synopsis "Parse feeds in Python")
4636 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4637 CDF, Atom 0.3, and Atom 1.0 feeds.")
4638 (license (list license:bsd-2 ; source code
4639 license:freebsd-doc)))) ; documentation
4641 (define-public python2-feedparser
4642 (package-with-python2 python-feedparser))
4644 (define-public guix-data-service
4645 (let ((commit "e3878fefb4184f3ad45a6e6f434767c0bf109db8")
4648 (name "guix-data-service")
4649 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4653 (url "https://git.savannah.gnu.org/git/guix/data-service.git")
4655 (file-name (git-file-name name version))
4658 "0002ckayjnd6mw7a0m7q307jdwc9vsjgiidp72463xyp0yrnjdjf"))))
4659 (build-system gnu-build-system)
4661 '(#:modules ((guix build utils)
4662 (guix build gnu-build-system)
4667 #:test-target "check-with-tmp-database"
4669 (modify-phases %standard-phases
4670 (add-before 'build 'set-GUILE_AUTO_COMPILE
4672 ;; To avoid warnings relating to 'guild'.
4673 (setenv "GUILE_AUTO_COMPILE" "0")
4675 (add-after 'install 'wrap-executable
4676 (lambda* (#:key inputs outputs #:allow-other-keys)
4677 (let* ((out (assoc-ref outputs "out"))
4678 (bin (string-append out "/bin"))
4679 (guile (assoc-ref inputs "guile"))
4680 (guile-effective-version
4682 (open-pipe* OPEN_READ
4683 (string-append guile "/bin/guile")
4684 "-c" "(display (effective-version))")))
4685 (scm (string-append out "/share/guile/site/"
4686 guile-effective-version))
4687 (go (string-append out "/lib/guile/"
4688 guile-effective-version
4692 (simple-format (current-error-port)
4694 (string-append bin "/" file))
4695 (wrap-program (string-append bin "/" file)
4699 (map (lambda (input)
4701 (assoc-ref inputs input)
4706 `("GUILE_LOAD_PATH" ":" prefix
4707 (,scm ,(getenv "GUILE_LOAD_PATH")))
4708 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4709 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4715 (delete 'strip)))) ; As the .go files aren't compatible
4717 `(("guix" ,guile3.0-guix)
4718 ("guile-fibers" ,guile3.0-fibers)
4719 ("guile-json" ,guile3.0-json)
4720 ("guile-email" ,guile3.0-email)
4721 ("guile-prometheus" ,guile-prometheus)
4722 ("guile-squee" ,guile3.0-squee)
4723 ("ephemeralpg" ,ephemeralpg)
4724 ("util-linux" ,util-linux)
4725 ("postgresql" ,postgresql-11)
4726 ("sqitch" ,sqitch)))
4728 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
4729 ("autoconf" ,autoconf)
4730 ("automake" ,automake)
4731 ("emacs-minimal" ,emacs-minimal)
4732 ("emacs-htmlize" ,emacs-htmlize)
4733 ("pkg-config" ,pkg-config)))
4734 (synopsis "Store and provide data about GNU Guix")
4736 "The Guix Data Service stores data about GNU Guix, and provides this
4737 through a web interface. It supports listening to the guix-commits mailing
4738 list to find out about new revisions, then loads the data from these in to a
4739 PostgreSQL database.")
4740 (home-page "http://data.guix.gnu.org/")
4741 (license license:agpl3+))))
4743 (define-public gumbo-parser
4745 (name "gumbo-parser")
4750 (url "https://github.com/google/gumbo-parser")
4751 (commit (string-append "v" version))))
4752 (file-name (git-file-name name version))
4755 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4756 (build-system gnu-build-system)
4758 `(#:tests? #f)) ;tests require bundling googletest sources
4759 ;; The release tarball lacks the generated files.
4761 `(("autoconf" ,autoconf)
4762 ("automake" ,automake)
4763 ("libtool" ,libtool)))
4764 (home-page "https://github.com/google/gumbo-parser")
4765 (synopsis "HTML5 parsing library")
4767 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4768 a pure C99 library.")
4769 (license license:asl2.0)))
4771 (define-public uwsgi
4777 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4781 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4782 (build-system gnu-build-system)
4783 (outputs '("out" "python"))
4785 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4786 ;; But there is no obvious way to run the real tests.
4789 (modify-phases %standard-phases
4791 ;; Configuration is done by writing an ini file.
4792 (lambda* (#:key outputs #:allow-other-keys)
4793 (let* ((out (assoc-ref outputs "out"))
4794 (bindir (string-append out "/bin"))
4795 (plugindir (string-append out "/lib/uwsgi")))
4796 ;; The build phase outputs files to these directories directly.
4799 ;; XXX: Enable other plugins.
4800 (call-with-output-file "buildconf/guix.ini"
4802 (format port "[uwsgi]
4808 plugins = cgi,python
4810 " bindir plugindir))))
4811 (setenv "PROFILE" "guix")
4814 ;; Move plugins into their own output.
4815 (lambda* (#:key outputs #:allow-other-keys)
4816 (let* ((out (assoc-ref outputs "out"))
4817 (plugindir (string-append out "/lib/uwsgi"))
4818 (python-plugin (string-append
4819 plugindir "/python_plugin.so")))
4820 (install-file python-plugin
4822 (assoc-ref outputs "python") "/lib/uwsgi"))
4823 (delete-file python-plugin)
4826 `(("pkg-config" ,pkg-config)
4827 ("python" ,python-wrapper)))
4829 `(("jansson" ,jansson)
4830 ("libxml2" ,libxml2)
4831 ("libyaml" ,libyaml)
4832 ("openssl" ,openssl)
4836 ("python" ,python)))
4837 (home-page "https://uwsgi-docs.readthedocs.org/")
4838 (synopsis "Application container server")
4840 "uWSGI presents a complete stack for networked/clustered web applications,
4841 implementing message/object passing, caching, RPC and process management.
4842 It uses the uwsgi protocol for all the networking/interprocess communications.")
4843 (license license:gpl2+))) ; with linking exception
4852 (uri (string-append "https://github.com/stedolan/jq"
4853 "/releases/download/jq-" version
4854 "/jq-" version ".tar.gz"))
4856 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4857 (modules '((guix build utils)))
4860 ;; Remove bundled onigurama.
4861 (delete-file-recursively "modules")
4864 `(("oniguruma" ,oniguruma)))
4866 `(;; TODO fix gems to generate documentation
4868 ;;("bundler" ,bundler)
4869 ("valgrind" ,valgrind)))
4870 (build-system gnu-build-system)
4871 (home-page "https://stedolan.github.io/jq/")
4872 (synopsis "Command-line JSON processor")
4873 (description "jq is like sed for JSON data – you can use it to slice and
4874 filter and map and transform structured data with the same ease that sed, awk,
4875 grep and friends let you play with text. It is written in portable C. jq can
4876 mangle the data format that you have into the one that you want with very
4877 little effort, and the program to do so is often shorter and simpler than
4879 (license (list license:expat license:cc-by3.0))))
4881 (define-public uhttpmock
4888 (uri (string-append "https://tecnocode.co.uk/downloads/uhttpmock/"
4889 "uhttpmock-" version ".tar.xz"))
4891 (base32 "0bqizz69hxk8rn4z57asz1d45vizl1rj6i5k3rzxn2x3qcik514h"))))
4892 (build-system glib-or-gtk-build-system)
4894 `(("gobject-introspection" ,gobject-introspection)
4896 ("glib-networking" ,glib-networking)
4897 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4898 ("pkg-config" ,pkg-config)))
4900 `(("libsoup" ,libsoup)))
4901 (home-page "https://gitlab.com/groups/uhttpmock")
4902 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4904 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4905 HTTPS. It provides a library, libuhttpmock, which implements recording and
4906 playback of HTTP request/response traces.")
4907 (license license:lgpl2.1+)))
4912 (version "2012-05-31")
4916 "http://www.home.unix-ag.org/simon/woof-"
4920 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4921 (build-system trivial-build-system)
4923 '(#:modules ((guix build utils))
4926 (use-modules (guix build utils))
4927 (let* ((source (assoc-ref %build-inputs "source"))
4928 (out (assoc-ref %outputs "out"))
4929 (bin (string-append out "/bin"))
4930 (python (assoc-ref %build-inputs "python")))
4932 (with-directory-excursion bin
4933 (copy-file source "woof")
4934 (patch-shebang "woof" (list (string-append python "/bin")))
4935 (chmod "woof" #o555))
4937 (inputs `(("python" ,python-2)))
4938 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4939 (synopsis "Single file web server")
4940 (description "Woof (Web Offer One File) is a small simple web server that
4941 can easily be invoked on a single file. Your partner can access the file with
4942 tools they trust (e.g. wget).")
4943 (license license:gpl2+)))
4945 (define netsurf-buildsystem
4947 (name "netsurf-buildsystem")
4952 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4953 "buildsystem-" version ".tar.gz"))
4956 "0alsmaig9ln8dgllb3z63gq90fiz75jz0ic71fi0k0k898qix14k"))))
4957 (build-system gnu-build-system)
4958 (inputs `(("perl" ,perl)))
4960 '(#:make-flags (list (string-append "PREFIX=" %output))
4961 #:tests? #f ;no tests
4962 #:phases (modify-phases %standard-phases
4965 (home-page "https://www.netsurf-browser.org")
4966 (synopsis "Build system for the Netsurf project")
4968 "This package provides the shared build system for Netsurf project
4970 (license license:expat)))
4972 (define netsurf-buildsystem-arguments
4973 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4974 "CC=gcc" "BUILD_CC=gcc"
4975 ,(string-append "PREFIX=" %output)
4976 ,(string-append "NSSHARED="
4977 (assoc-ref %build-inputs
4978 "netsurf-buildsystem")
4979 "/share/netsurf-buildsystem"))
4980 #:test-target "test"
4981 #:phases (modify-phases %standard-phases
4982 (delete 'configure))))
4984 (define-public libparserutils
4986 (name "libparserutils")
4991 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4992 name "-" version "-src.tar.gz"))
4995 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4996 (build-system gnu-build-system)
4998 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4999 ("pkg-config" ,pkg-config)
5000 ("perl" ,perl))) ;for test harness
5001 (arguments netsurf-buildsystem-arguments)
5002 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
5003 (synopsis "Parser building library")
5005 "LibParserUtils is a library for building efficient parsers, written in
5006 C. It is developed as part of the NetSurf project.")
5007 (license license:expat)))
5009 (define-public hubbub
5016 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5017 "libhubbub-" version "-src.tar.gz"))
5020 "1dimfyblmym98qa1b80c5jslv2zk8r44xbdrgrsrw1n9wr9y4yly"))
5021 (patches (search-patches "hubbub-sort-entities.patch"))))
5022 (build-system gnu-build-system)
5024 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5025 ("pkg-config" ,pkg-config)
5026 ("doxygen" ,doxygen)
5027 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
5030 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
5031 (arguments netsurf-buildsystem-arguments)
5032 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
5033 (synopsis "HTML5 compliant parsing library")
5035 "Hubbub is an HTML5 compliant parsing library, written in C, which can
5036 parse both valid and invalid web content. It is developed as part of the
5038 (license license:expat)))
5040 (define-public ikiwiki
5043 (version "3.20200202.3")
5048 (url "git://git.ikiwiki.info/")
5050 (file-name (git-file-name name version))
5053 "0fphyqzlk9y8v9s89ypsmrnbhyymzrpc2w0liy0n4knc7kk2pabq"))
5056 ;; The POT file requires write permission during the build
5058 (chmod "po/ikiwiki.pot" #o644)
5060 (build-system perl-build-system)
5063 (modify-phases %standard-phases
5064 (add-after 'patch-source-shebangs 'patch-Makefiles
5066 (substitute* "Makefile.PL"
5067 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
5068 (with-directory-excursion "po"
5069 (substitute* "Makefile"
5070 (("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
5072 (add-before 'build 'set-modification-times
5073 ;; The wiki '--refresh' steps, which are executed during
5074 ;; the check phase, require recent timestamps on files in
5075 ;; the 'doc' and 'underlays' directories.
5077 (invoke "find" "doc" "underlays" "-type" "f" "-exec"
5080 (add-before 'check 'pre-check
5081 (lambda* (#:key inputs #:allow-other-keys)
5082 ;; Six tests use IPC::Run. For these tests the PERL5LIB
5083 ;; variable is needed in the runtime environment and also
5084 ;; in the search path list in the setup file.
5086 '("t/aggregate-file.t" "t/git-cgi.t" "t/git-untrusted.t"
5087 "t/passwordauth.t" "t/relativity.t" "t/wrapper-environ.t")
5088 (("(.*)\"perl\"(.*)$" _ prefix suffix)
5089 (string-append prefix "qw(env), 'PERL5LIB='.$ENV{PERL5LIB}"
5090 ", qw(perl)" suffix))
5091 (("(.*) PERL5LIB=(.*) perl(.*)$" _ prefix middle suffix)
5092 (string-append prefix "), 'PERL5LIB='.$ENV{PERL5LIB}.':"
5093 middle "', qw(perl" suffix))
5094 (("(.*)setup(.* )getcwd(.*)$" _ prefix middle suffix)
5095 (string-append prefix "setup" middle
5096 "$ENV{PERL5LIB}.':'.getcwd" suffix))
5097 (("^ENV(.*): '(.*)$" _ middle suffix)
5098 (string-append "ENV" middle
5099 ": '$ENV{PERL5LIB}:" suffix)))
5100 ;; XDG_DATA_DIRS is needed by the podcast.t test.
5101 (setenv "XDG_DATA_DIRS"
5102 (string-append (assoc-ref inputs "shared-mime-info")
5104 ;; CC is needed by IkiWiki/Wrapper.pm.
5107 (add-after 'install 'wrap-programs
5108 (lambda* (#:key outputs #:allow-other-keys)
5109 (let* ((out (assoc-ref outputs "out"))
5110 (bin (string-append out "/bin/"))
5111 (path (getenv "PERL5LIB")))
5112 (for-each (lambda (file)
5114 `("PERL5LIB" ":" prefix (,path))))
5119 ("gettext" ,gettext-minimal)
5120 ("subversion" ,subversion)
5124 ("mercurial" ,mercurial)))
5126 `(("python" ,python-wrapper)
5127 ("perl-authen-passphrase" ,perl-authen-passphrase)
5128 ("perl-cgi-simple" ,perl-cgi-simple)
5129 ("perl-db-file" ,perl-db-file)
5130 ("perl-file-mimeinfo" ,perl-file-mimeinfo)
5131 ("perl-html-tagset" ,perl-html-tagset)
5132 ("perl-image-magick" ,perl-image-magick)
5133 ("perl-ipc-run" ,perl-ipc-run)
5134 ("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
5135 ("perl-xml-feed" ,perl-xml-feed)
5136 ("perl-xml-sax" ,perl-xml-sax)
5137 ("perl-xml-twig" ,perl-xml-twig)
5140 `(("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
5141 ("perl-cgi-session" ,perl-cgi-session)
5142 ("perl-html-parser" ,perl-html-parser)
5143 ("perl-html-scrubber" ,perl-html-scrubber)
5144 ("perl-html-template" ,perl-html-template)
5145 ("perl-json" ,perl-json)
5146 ("perl-mail-sendmail" ,perl-mail-sendmail)
5147 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
5148 ("perl-timedate" ,perl-timedate)
5149 ("perl-uri" ,perl-uri)
5150 ("perl-xml-simple" ,perl-xml-simple)
5151 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
5152 (home-page "https://ikiwiki.info/")
5153 (synopsis "Wiki compiler, capable of generating HTML")
5155 "Ikiwiki is a wiki compiler, capable of generating a static set of web
5156 pages, but also incorporating dynamic features like a web based editor and
5158 (license license:gpl2+)))
5160 (define-public libwapcaplet
5162 (name "libwapcaplet")
5167 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5168 "libwapcaplet-" version "-src.tar.gz"))
5171 "0p0c2q9lsj4vs97aa7vjllfhw33zv3dpysdkjblzhib6dpfs2alv"))))
5172 (build-system gnu-build-system)
5174 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5175 ("pkg-config" ,pkg-config)
5176 ("check" ,check-0.14))) ;for tests
5177 (arguments netsurf-buildsystem-arguments)
5178 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
5179 (synopsis "String internment library")
5181 "LibWapcaplet provides a reference counted string internment system
5182 designed to store small strings and allow rapid comparison of them. It is
5183 developed as part of the Netsurf project.")
5184 (license license:expat)))
5186 (define-public libcss
5193 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5194 "libcss-" version "-src.tar.gz"))
5197 "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
5198 (build-system gnu-build-system)
5200 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5201 ("pkg-config" ,pkg-config)
5203 (propagated-inputs ;needed for libcss.pc
5204 `(("libparserutils" ,libparserutils)
5205 ("libwapcaplet" ,libwapcaplet)))
5206 (arguments netsurf-buildsystem-arguments)
5207 (home-page "https://www.netsurf-browser.org/projects/libcss/")
5208 (synopsis "CSS parser and selection library")
5210 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
5211 written in C. It is developed as part of the NetSurf project.")
5212 (license license:expat)))
5214 (define-public libcyaml
5222 (url "https://github.com/tlsa/libcyaml")
5223 (commit (string-append "v" version))))
5224 (file-name (git-file-name name version))
5225 (patches (search-patches "libcyaml-libyaml-compat.patch"))
5227 (base32 "0428p0rwq71nhh5nzcbapsbrjxa0x5l6h6ns32nxv7j624f0zd93"))))
5228 (build-system gnu-build-system)
5231 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5232 (string-append "CC=gcc"))
5234 (modify-phases %standard-phases
5235 (delete 'configure) ; no configure script
5239 (invoke "make" "test"))))))
5241 `(("libyaml" ,libyaml)))
5243 `(("pkg-config" ,pkg-config)))
5244 (synopsis "C library for reading and writing YAML")
5246 "LibCYAML is a C library written in ISO C11 for reading and writing
5247 structured YAML documents. The fundamental idea behind CYAML is to allow
5248 applications to construct schemas which describe both the permissible
5249 structure of the YAML documents to read/write, and the C data structure(s)
5250 in which the loaded data is arranged in memory.")
5251 (home-page "https://github.com/tlsa/libcyaml")
5252 (license license:isc)))
5254 (define-public libdom
5261 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5262 "libdom-" version "-src.tar.gz"))
5265 "0jpg5hx3y0mdxk5szd47dyijqimd2321brbqk2620pp5f4j0gvlq"))))
5266 (build-system gnu-build-system)
5268 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5269 ("pkg-config" ,pkg-config)
5270 ("perl" ,perl) ;for test harness
5271 ("perl-libxml" ,perl-libxml)
5272 ("perl-switch" ,perl-switch)
5273 ("perl-xml-xpath" ,perl-xml-xpath)))
5275 `(("libparserutils" ,libparserutils)
5276 ("libwapcaplet" ,libwapcaplet)))
5278 `(("expat" ,expat) ;needed for headers and linking
5279 ("hubbub" ,hubbub))) ;for libdom.pc
5281 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
5282 ,@netsurf-buildsystem-arguments))
5283 (home-page "https://www.netsurf-browser.org/projects/libdom/")
5284 (synopsis "Implementation of the W3C DOM")
5286 "LibDOM is an implementation of the W3C DOM, written in C. It is
5287 developed as part of the NetSurf project.")
5288 (license license:expat)))
5290 (define-public libsvgtiny
5297 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5298 name "-" version "-src.tar.gz"))
5301 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
5302 (build-system gnu-build-system)
5304 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5305 ("pkg-config" ,pkg-config)
5306 ("gperf" ,gperf-3.0)))
5308 `(("libwapcaplet" ,libwapcaplet)))
5310 `(("libdom" ,libdom))) ;for libsvgtiny.pc
5311 (arguments netsurf-buildsystem-arguments)
5312 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
5313 (synopsis "Library for parsing SVG files")
5315 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
5316 which can be rendered easily, as defined in
5317 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
5319 (license license:expat)))
5321 (define-public libnsbmp
5328 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5329 name "-" version "-src.tar.gz"))
5332 "0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r"))))
5333 (build-system gnu-build-system)
5335 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5336 (arguments netsurf-buildsystem-arguments)
5337 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
5338 (synopsis "Decoding library for BMP and ICO files")
5340 "Libnsbmp is a decoding library for BMP and ICO image file formats,
5341 written in C. It is developed as part of the NetSurf project.")
5342 (license license:expat)))
5344 (define-public libnsgif
5351 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5352 name "-" version "-src.tar.gz"))
5355 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
5356 (build-system gnu-build-system)
5358 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5359 (arguments netsurf-buildsystem-arguments)
5360 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
5361 (synopsis "Decoding library for GIF files")
5363 "Libnsgif is a decoding library for the GIF image file format, written in
5364 C. It is developed as part of the NetSurf project.")
5365 (license license:expat)))
5367 (define-public libnslog
5374 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5375 "libnslog-" version "-src.tar.gz"))
5378 "1l2k0kdv9iv18svhv360vszjavhl4g09cp8a8yb719pgsylxr67w"))))
5379 (build-system gnu-build-system)
5381 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5382 ("pkg-config" ,pkg-config)
5383 ("check" ,check) ; For tests
5386 (arguments netsurf-buildsystem-arguments)
5387 (home-page "https://www.netsurf-browser.org/")
5388 (synopsis "Logging library")
5390 "Libnslog provides a category-based logging library which supports
5391 complex logging filters, multiple log levels, and provides context through to
5392 client applications. It is developed as part of the NetSurf project.")
5393 (license license:expat)))
5395 (define-public libnsutils
5402 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5403 name "-" version "-src.tar.gz"))
5406 "1w5fyy2i60a3v3if3iqcn9sy9sycx6966rcx53v85gja6hb6a33r"))))
5407 (build-system gnu-build-system)
5409 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5410 (arguments netsurf-buildsystem-arguments)
5411 (home-page "https://www.netsurf-browser.org/")
5412 (synopsis "Utility library for NetSurf")
5414 "Libnsutils provides a small number of useful utility routines. It is
5415 developed as part of the NetSurf project.")
5416 (license license:expat)))
5418 (define-public libnspsl
5425 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5426 "libnspsl-" version "-src.tar.gz"))
5429 "02q28n5i6fwqcz1nn167rb71k1q95mx38mfah6zi1lvqrc2q5ifk"))))
5430 (build-system gnu-build-system)
5432 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5433 (arguments netsurf-buildsystem-arguments)
5434 (home-page "https://www.netsurf-browser.org/")
5435 (synopsis "Library to generate a static Public Suffix List")
5437 "Libnspsl is a library to generate a static code representation of the
5438 Public Suffix List. It is developed as part of the NetSurf project.")
5439 (license license:expat)))
5441 (define-public nsgenbind
5448 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5449 "nsgenbind-" version "-src.tar.gz"))
5452 "1cqwgwca49jvmijwiyaab2bwxicgxdrnlpinf8kp3nha02nm73ad"))))
5453 (build-system gnu-build-system)
5455 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5459 (substitute-keyword-arguments netsurf-buildsystem-arguments
5460 ((#:make-flags flags)
5461 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5462 (home-page "https://www.netsurf-browser.org/")
5463 (synopsis "Generate JavaScript to DOM bindings")
5465 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5466 w3c webidl files and a binding configuration file.")
5467 (license license:expat)))
5469 (define-public netsurf
5476 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5477 "releases/source/netsurf-" version "-src.tar.gz"))
5480 "0plra64c5xyiw12yx2q13brxsv8apmany97zqa2lcqckw4ll8j1n"))
5481 (patches (search-patches "netsurf-system-utf8proc.patch"
5482 "netsurf-y2038-tests.patch"
5483 "netsurf-longer-test-timeout.patch"
5484 "netsurf-message-timestamp.patch"))))
5485 (build-system glib-or-gtk-build-system)
5487 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5488 ("nsgenbind" ,nsgenbind)
5489 ("libidn" ,libidn) ;only for tests
5492 ("perl-html-parser" ,perl-html-parser)
5493 ("pkg-config" ,pkg-config)
5498 ("openssl" ,openssl)
5499 ("utf8proc" ,utf8proc)
5501 ("libjpeg" ,libjpeg-turbo)
5504 ("libnsbmp" ,libnsbmp)
5505 ("libnsgif" ,libnsgif)
5506 ("libnslog" ,libnslog)
5507 ("libnspsl" ,libnspsl)
5508 ("libnsutils" ,libnsutils)
5509 ("libsvgtiny" ,libsvgtiny)
5510 ("miscfiles" ,miscfiles)))
5512 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5514 ,(string-append "PREFIX=" %output)
5515 ,(string-append "NSSHARED="
5516 (assoc-ref %build-inputs
5517 "netsurf-buildsystem")
5518 "/share/netsurf-buildsystem"))
5519 #:test-target "test"
5520 #:modules ((ice-9 rdelim)
5524 ,@%glib-or-gtk-build-system-modules)
5526 (modify-phases %standard-phases
5528 (add-after 'build 'adjust-welcome
5530 (substitute* "frontends/gtk/res/welcome.html"
5531 ;; Close some XHTML tags.
5532 (("<(img|input)([^>]*)>" _ tag contents)
5533 (string-append "<" tag contents " />"))
5534 ;; Increase freedom.
5535 ((" open source") ", free software")
5536 ;; Prefer a more privacy-respecting default search engine.
5537 (("www.google.co.uk") "www.duckduckgo.com/html")
5538 (("Google Search") "DuckDuckGo Search")
5539 (("name=\"btnG\"") ""))
5540 ;; Remove default links so it doesn't seem we're endorsing them.
5541 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5543 ;; Leave the DOCTYPE header as is.
5544 (display (read-line in 'concat) out)
5546 (let rec ((sxml (xml->sxml in
5547 #:default-entity-handler
5549 (string-append "<ENTITY>"
5550 (symbol->string name)
5552 ;; We'd like to use sxml-match here, but it can't
5553 ;; match against generic tag symbols...
5555 (`(div (@ (class "links")) . ,rest)
5564 (add-before 'check 'patch-check
5565 (lambda* (#:key inputs #:allow-other-keys)
5566 (substitute* '("test/bloom.c" "test/hashtable.c")
5567 (("/usr/share/dict/words")
5568 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5570 (add-after 'install 'install-more
5571 (lambda* (#:key outputs #:allow-other-keys)
5572 (let* ((out (assoc-ref outputs "out"))
5573 (desktop (string-append out "/share/applications/"
5574 "netsurf.desktop")))
5575 (mkdir-p (dirname desktop))
5576 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5578 (substitute* desktop
5579 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
5580 (("netsurf.png") (string-append out "/share/netsurf/"
5582 (install-file "docs/netsurf-gtk.1"
5583 (string-append out "/share/man/man1/"))
5585 (home-page "https://www.netsurf-browser.org")
5586 (synopsis "Web browser")
5588 "NetSurf is a lightweight web browser that has its own layout and
5589 rendering engine entirely written from scratch. It is small and capable of
5590 handling many of the web standards in use today.")
5591 (license license:gpl2+)))
5593 (define-public surfraw
5600 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5601 "2de827b2786ef2fe43b6f07913ca7b7f/"
5602 "surfraw-" version ".tar.gz"))
5604 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5605 (build-system gnu-build-system)
5608 (modify-phases %standard-phases
5609 (add-before 'configure 'patch-perl
5610 (lambda* (#:key inputs #:allow-other-keys)
5611 (let ((perl (assoc-ref inputs "perl")))
5612 (substitute* "surfraw.IN"
5614 (string-append perl "/bin/perl -e")))
5616 (add-after 'install 'compress-elvi.1sr
5617 (lambda* (#:key outputs #:allow-other-keys)
5618 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5619 ;; but elvi.1sr does not get compressed by our manpage phase.
5620 (let* ((out (assoc-ref %outputs "out"))
5621 (man (string-append out "/share/man/man1")))
5622 (with-directory-excursion man
5623 (invoke "gzip" "elvi.1sr"))))))))
5626 ("perl-www-opensearch" ,perl-www-opensearch)
5627 ("perl-html-parser" ,perl-html-parser)
5628 ("perl-libwww" ,perl-libwww)))
5629 (synopsis "Unix command line interface to the www")
5630 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5631 provides a unix command line interface to a variety of popular www search engines
5632 and similar services.")
5633 (home-page "https://surfraw.alioth.debian.org/")
5634 (license license:public-domain)))
5636 (define-public darkhttpd
5643 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5644 version ".tar.bz2"))
5647 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5648 (build-system gnu-build-system)
5650 `(#:make-flags '("CC=gcc")
5651 #:tests? #f ; No test suite
5653 (modify-phases %standard-phases
5656 (lambda* (#:key outputs #:allow-other-keys)
5657 (install-file "darkhttpd"
5658 (string-append (assoc-ref outputs "out")
5661 (synopsis "Simple static web server")
5662 (description "darkhttpd is a simple static web server. It is
5663 standalone and does not need inetd or ucspi-tcp. It does not need any
5664 config files---you only have to specify the www root.")
5665 (home-page "https://unix4lyfe.org/darkhttpd/")
5666 (license license:isc)))
5668 (define-public goaccess
5674 (uri (string-append "http://tar.goaccess.io/goaccess-"
5678 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5679 (modules '((guix build utils)))
5681 (substitute* "src/error.h"
5682 (("__DATE__") "\"1970-01-01\"")
5683 (("__TIME__") "\"00:00:00\""))
5685 (build-system gnu-build-system)
5687 ;; TODO: Add dependency on geoip-tools.
5689 ("ncurses" ,ncurses)))
5691 `(("pkg-config" ,pkg-config)))
5692 (home-page "https://goaccess.io")
5693 (synopsis "Analyze Web server logs in real time")
5695 "GoAccess is a real-time web log analyzer and interactive viewer that
5696 runs in a terminal or through your browser. It provides fast and valuable
5697 HTTP statistics for system administrators that require a visual server report
5699 (license license:x11)))
5701 (define-public hitch
5705 (home-page "https://hitch-tls.org/")
5708 (uri (string-append home-page "source/hitch-" version ".tar.gz"))
5711 "1i75giwyr66ip8xsvk3gg5xdbxnmcabgxz8dqi06c58mw7qzhzn9"))))
5712 (build-system gnu-build-system)
5714 `(#:phases (modify-phases %standard-phases
5715 (add-before 'check 'pre-check
5717 ;; Most tests attempts to access hitch-tls.org which is
5718 ;; unavailable in the build container. Run them against
5719 ;; a dummy local web server instead.
5720 (for-each (lambda (test)
5722 (("\\[hitch-tls\\.org\\]:80")
5723 "[localhost]:8000")))
5724 (find-files "src/tests" "\\.sh$"))
5725 (system "python3 -m http.server &")
5727 ;; The build container does not reap zombie processes,
5728 ;; causing stop_hitch to hang indefinitely while waiting
5729 ;; for the process to terminate because 'kill -0' never
5730 ;; succeeds. Use a different test to see whether the
5731 ;; process has shut down.
5732 (substitute* "src/tests/hitch_test.sh"
5733 (("kill -0 \"\\$HITCH_PID\"")
5734 "$(ps -p $HITCH_PID -o state= | grep -qv '^Z$')"))
5737 `(("pkg-config" ,pkg-config)
5743 ("python" ,python)))
5746 ("openssl" ,openssl)))
5747 (synopsis "Scalable TLS proxy")
5749 "Hitch is a performant TLS proxy based on @code{libev}. It terminates
5750 SSL/TLS connections and forwards the unencrypted traffic to a backend such
5751 as a web server. It is designed to handle many thousand connections on
5752 multicore machines.")
5753 (license license:bsd-2)))
5755 (define-public httptunnel
5762 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5763 name "-" version ".tar.gz"))
5766 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5767 (modules '((guix build utils)))
5769 ;; Remove non-free IETF RFC documentation.
5770 (delete-file-recursively "doc")
5772 (build-system gnu-build-system)
5775 (modify-phases %standard-phases
5776 ;; The default configure phase tries to pass environment variables as
5777 ;; command-line arguments, which confuses the ./configure script.
5779 (lambda* (#:key outputs #:allow-other-keys)
5780 (let* ((out (assoc-ref outputs "out")))
5781 (setenv "CONFIG_SHELL" (which "bash"))
5782 (invoke "./configure"
5783 (string-append "--prefix=" out))))))))
5784 (home-page "http://www.nocrew.org/software/httptunnel.html")
5785 (synopsis "Tunnel data connections through HTTP requests")
5786 (description "httptunnel creates a bidirectional virtual data connection
5787 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5788 useful for users behind restrictive firewalls. As long as Web traffic is
5789 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5790 tools like SSH (Secure Shell) to reach the outside world.")
5791 (license license:gpl2+)))
5793 (define-public stunnel
5800 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5803 (base32 "1q8gc05fiz7w55ws0whwzb94ffjnhzfppf1mhz1hf671vmrvjnmg"))))
5804 (build-system gnu-build-system)
5807 `(("iproute" ,iproute)
5809 ("procps" ,procps)))
5810 (inputs `(("openssl" ,openssl)))
5813 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5815 (modify-phases %standard-phases
5816 (add-after 'unpack 'patch-output-directories
5818 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5819 (substitute* (list "Makefile.in"
5821 "tools/Makefile.in")
5823 (string-append "/doc/" ,name "-" ,version)))
5825 (add-before 'check 'patch-tests
5827 (substitute* "tests/make_test"
5829 (string-append (which "sh") " ")))
5831 (home-page "https://www.stunnel.org")
5832 (synopsis "TLS proxy for clients or servers")
5833 (description "Stunnel is a proxy designed to add TLS encryption
5834 functionality to existing clients and servers without any changes in the
5835 programs' code. Its architecture is optimized for security, portability, and
5836 scalability (including load-balancing), making it suitable for large
5838 (license license:gpl2+)))
5840 (define-public varnish
5843 (home-page "https://varnish-cache.org/")
5847 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5850 "1dfdswri6lkfk6kml3szvffm91y49pajgqy1k5y26llqixl4r5hi"))))
5851 (build-system gnu-build-system)
5853 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5854 ;; Use absolute path of GCC so it's found at runtime.
5855 (string-append "PTHREAD_CC="
5856 (assoc-ref %build-inputs "gcc")
5858 "--localstatedir=/var")
5860 (modify-phases %standard-phases
5861 (add-after 'unpack 'use-absolute-file-names
5863 (substitute* '("bin/varnishtest/vtc_varnish.c"
5864 "bin/varnishtest/vtc_process.c"
5865 "bin/varnishd/mgt/mgt_vcc.c"
5866 "bin/varnishtest/tests/u00014.vtc")
5867 (("/bin/sh") (which "sh")))
5868 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5869 (("rm -rf") (string-append (which "rm") " -rf")))
5870 (substitute* "bin/varnishtest/vtc_main.c"
5871 (("/bin/rm") (which "rm")))
5873 (add-before 'install 'patch-Makefile
5875 (substitute* "Makefile"
5876 ;; Do not create /var/varnish during install.
5877 (("^install-data-am: install-data-local") "install-data-am: "))
5879 (add-after 'install 'wrap-varnishd
5880 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5881 ;; environment variables to avoid propagating them to profiles.
5882 (lambda* (#:key inputs outputs #:allow-other-keys)
5883 (let* ((out (assoc-ref outputs "out"))
5884 (varnishd (string-append out "/sbin/varnishd"))
5885 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5886 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5887 (wrap-program varnishd
5888 ;; Add binutils to PATH so gcc finds the 'as' executable.
5889 `("PATH" ":" prefix (,PATH))
5890 ;; Make sure 'crti.o' et.al is found.
5891 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5894 `(("pkg-config" ,pkg-config)
5895 ("python-sphinx" ,python-sphinx)
5896 ("rst2man" ,python-docutils)))
5898 `(("jemalloc" ,jemalloc)
5899 ("ncurses" ,ncurses)
5901 ("python" ,python-wrapper)
5902 ("readline" ,readline)))
5903 (synopsis "Web application accelerator")
5905 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5906 reverse proxy and load balancer. You install it in front of any server that
5907 speaks HTTP and configure it to cache the contents through an extensive
5908 configuration language.")
5909 (license (list license:bsd-2 ;main distribution
5910 license:zlib ;lib/libvgz/*
5911 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5912 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5914 (define-public varnish-modules
5916 (name "varnish-modules")
5917 (home-page "https://github.com/varnish/varnish-modules")
5921 (uri (git-reference (url home-page) (commit version)))
5922 (file-name (git-file-name name version))
5925 "0zg8y2sgkygdani70zp9rbx278431fmssj26d47c5qsiw939i519"))))
5926 (build-system gnu-build-system)
5928 `(("pkg-config" ,pkg-config)
5930 ;; For bootstrapping.
5931 ("autoconf" ,autoconf)
5932 ("automake" ,automake)
5933 ("libtool" ,libtool)
5935 ;; For generating manuals.
5936 ("rst2man" ,python-docutils)))
5938 `(("python" ,python)
5939 ("varnish" ,varnish)))
5940 (synopsis "Collection of Varnish modules")
5942 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5943 cache server, extending the @acronym{VCL, Varnish Configuration Language} with
5944 additional capabilities.")
5945 (license license:bsd-2)))
5947 (define-public xinetd
5950 ;; This is the maintenance fork currently used by openSUSE and Debian.
5951 (version "2.3.15.4")
5956 (url "https://github.com/openSUSE/xinetd")
5958 (file-name (git-file-name name version))
5960 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5961 (build-system gnu-build-system)
5963 `(#:configure-flags '("--with-loadavg")
5964 #:tests? #f)) ; no tests
5966 `(("autoconf" ,autoconf)
5967 ("automake" ,automake)
5968 ("libtool" ,libtool)
5969 ("pkg-config" ,pkg-config)))
5970 (home-page "https://github.com/openSUSE/xinetd")
5971 (synopsis "Internet services daemon")
5972 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5973 listens for incoming requests over a network and launches the appropriate
5974 service for that request. Requests are made using port numbers as identifiers
5975 and xinetd usually launches another daemon to handle the request. It can be
5976 used to start services with both privileged and non-privileged port numbers.")
5977 (license (license:fsf-free "file://COPYRIGHT"))))
5979 (define-public tidy-html
5987 (url "https://github.com/htacg/tidy-html5")
5989 (file-name (git-file-name name version))
5992 "01k5sqwgcsr26i8031v1yr2r8qcy9a5w7sj800660haszgfbjz2f"))))
5993 (build-system cmake-build-system)
5995 "static")) ; 1.3MiB of .a files
5997 `(#:tests? #f ; no tests available
5998 #:build-type "Release"
6000 (modify-phases %standard-phases
6001 (add-after 'install 'move-static-libraries
6002 (lambda* (#:key outputs #:allow-other-keys)
6003 ;; Move static libraries to the "static" output.
6004 (let* ((out (assoc-ref outputs "out"))
6005 (lib (string-append out "/lib"))
6006 (static (assoc-ref outputs "static"))
6007 (slib (string-append static "/lib")))
6009 (for-each (lambda (file)
6010 (install-file file slib)
6012 (find-files lib "\\.a$"))
6015 `(("libxslt" ,libxslt)))
6016 (home-page "http://www.html-tidy.org/")
6017 (synopsis "HTML Tidy with HTML5 support")
6019 "Tidy is a console application which corrects and cleans up
6020 HTML and XML documents by fixing markup errors and upgrading
6021 legacy code to modern standards.
6023 Tidy also provides @code{libtidy}, a C static and dynamic library that
6024 developers can integrate into their applications to make use of the
6025 functions of Tidy.")
6026 (license license:bsd-3)))
6028 (define-public hiawatha
6035 (uri (string-append "https://www.hiawatha-webserver.org/files/"
6036 "hiawatha-" version ".tar.gz"))
6037 (modules '((guix build utils)))
6039 ;; We use packaged libraries, so delete the bundled copies.
6040 (for-each delete-file-recursively
6041 (list "extra/nghttp2.tgz" "mbedtls"))
6044 (base32 "09wpgilbv13zal71v9lbsqr8c3fignygadykpd1p1pb8blb5vn3r"))))
6045 (build-system cmake-build-system)
6047 `(#:tests? #f ; no tests included
6048 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
6049 (string-append "-DENABLE_HTTP2=on")
6050 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
6051 (string-append "-DENABLE_TOMAHAWK=on")
6052 (string-append "-DLOG_DIR=/var/log/hiawatha")
6053 (string-append "-DPID_DIR=/run")
6054 (string-append "-DWEBROOT_DIR="
6055 (assoc-ref %outputs "out")
6056 "/share/hiawatha/html")
6057 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
6059 (modify-phases %standard-phases
6060 (add-after 'unpack 'install-no-empty-directories
6062 (substitute* "CMakeLists.txt"
6063 (("install\\(DIRECTORY DESTINATION" match)
6064 (string-append "#" match)))
6066 (add-after 'install 'wrap
6067 (lambda* (#:key inputs outputs #:allow-other-keys)
6068 ;; Make sure 'hiawatha' finds 'mbedtls'.
6069 (let* ((out (assoc-ref outputs "out"))
6070 (sbin (string-append out "/sbin"))
6071 (mbed (assoc-ref inputs "mbedtls-apache")))
6072 (wrap-program (string-append sbin "/hiawatha")
6073 `("PATH" ":" prefix (,mbed)))))))))
6075 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
6076 `(("libxslt" ,libxslt)
6077 ("libxml2" ,libxml2)
6078 ("mbedtls-apache" ,mbedtls-for-hiawatha)
6079 ("nghttp2" ,nghttp2 "lib")
6081 (home-page "https://www.hiawatha-webserver.org")
6082 (synopsis "Webserver with focus on security")
6084 "Hiawatha has been written with security in mind.
6085 Features include the ability to stop SQL injections, XSS and CSRF attacks and
6087 (license license:gpl2)))
6089 (define-public python-httpbin
6091 (name "python-httpbin")
6096 (uri (pypi-uri "httpbin" version))
6099 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
6100 (build-system python-build-system)
6102 `(("python-decorator" ,python-decorator)
6103 ("python-flask" ,python-flask)
6104 ("python-itsdangerous" ,python-itsdangerous)
6105 ("python-markupsafe" ,python-markupsafe)
6106 ("python-six" ,python-six)))
6107 (home-page "https://github.com/Runscope/httpbin")
6108 (synopsis "HTTP request and response service")
6109 (description "Testing an HTTP Library can become difficult sometimes.
6110 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
6111 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
6113 (license license:isc)))
6115 (define-public python2-httpbin
6116 (package-with-python2 python-httpbin))
6118 (define-public python-pytest-httpbin
6120 (name "python-pytest-httpbin")
6125 (uri (pypi-uri "pytest-httpbin" version))
6128 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
6129 (build-system python-build-system)
6131 `(("python-six" ,python-six)
6132 ("python-httpbin" ,python-httpbin)
6133 ("python-pytest" ,python-pytest)))
6135 "https://github.com/kevin1024/pytest-httpbin")
6137 "Test your HTTP library against a local copy of httpbin")
6139 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
6140 into your tests. It automatically starts up a HTTP server in a separate thread running
6141 @code{httpbin} and provides your test with the URL in the fixture.")
6142 (license license:expat)))
6144 (define-public http-parser
6146 (name "http-parser")
6148 (home-page "https://github.com/nodejs/http-parser")
6152 (uri (git-reference (url home-page)
6153 (commit (string-append "v" version))))
6155 (base32 "1vda4dp75pjf5fcph73sy0ifm3xrssrmf927qd1x8g3q46z0cv6c"))
6156 (file-name (git-file-name name version))
6160 ;; Treat an empty port (e.g. `http://hostname:/`) when parsing
6161 ;; URLs as if no port were specified. This patch is applied
6162 ;; to Fedora's http-parser and to libgit2's bundled version.
6165 "https://src.fedoraproject.org/rpms/http-parser/raw/"
6166 "e89b4c4e2874c19079a5a1a2d2ccc61b551aa289/"
6167 "f/0001-url-treat-empty-port-as-default.patch"))
6170 "0pbxf2nq9pcn299k2b2ls8ldghaqln9glnp79gi57mamx4iy0f6g")))))))
6171 (build-system gnu-build-system)
6173 `(#:test-target "test"
6175 (list (string-append "PREFIX="
6176 (assoc-ref %outputs "out"))
6178 ,@(if (%current-target-system)
6182 (modify-phases %standard-phases
6183 ,@(match (%current-system)
6185 '((add-before 'check 'apply-assertion.patch
6186 (lambda* (#:key inputs #:allow-other-keys)
6187 (let ((patch (assoc-ref inputs "assertion.patch")))
6188 (invoke "patch" "-p1" "-i" patch)
6191 ,@(if (%current-target-system)
6192 '((replace 'configure
6193 (lambda* (#:key target #:allow-other-keys)
6194 (substitute* (find-files "." "Makefile")
6196 (string-append "CC=" target "-gcc\n"))
6198 (string-append "AR=" target "-ar\n")))
6200 '((delete 'configure))))))
6202 `(,@(match (%current-system)
6204 ;; A fix for <https://issues.guix.gnu.org/40604> which in turn
6205 ;; breaks i686-linux builds.
6206 `(("assertion.patch"
6207 ,@(search-patches "http-parser-fix-assertion-on-armhf.patch"))))
6209 (synopsis "HTTP request/response parser for C")
6210 (description "This is a parser for HTTP messages written in C. It parses
6211 both requests and responses. The parser is designed to be used in
6212 high-performance HTTP applications. It does not make any syscalls nor
6213 allocations, it does not buffer data, it can be interrupted at anytime.
6214 Depending on your architecture, it only requires about 40 bytes of data per
6215 message stream (in a web server that is per connection).")
6216 (license license:expat)))
6218 (define-public python-httpretty
6220 (name "python-httpretty")
6225 (uri (pypi-uri "httpretty" version))
6227 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
6228 (build-system python-build-system)
6230 `(("python-six" ,python-six)))
6232 `(("python-coverage" ,python-coverage)
6233 ("python-httplib2" ,python-httplib2)
6234 ("python-mock" ,python-mock)
6235 ("python-nose" ,python-nose)
6236 ("python-nose-randomly" ,python-nose-randomly)
6237 ("python-rednose" ,python-rednose)
6238 ("python-requests" ,python-requests)
6239 ("python-sure" ,python-sure)
6240 ("python-tornado" ,python-tornado)
6241 ("python-urllib3" ,python-urllib3)))
6242 (home-page "https://httpretty.readthedocs.io")
6243 (synopsis "HTTP client mock for Python")
6244 (description "@code{httpretty} is a helper for faking web requests,
6245 inspired by Ruby's @code{fakeweb}.")
6246 (license license:expat)))
6255 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
6256 version "/jo-" version ".tar.gz"))
6258 (base32 "18jna9xlpxci3cak3z85c448zv2zr41baclgym3hk433p0p4vii4"))))
6259 (build-system gnu-build-system)
6260 (home-page "https://github.com/jpmens/jo")
6261 (synopsis "Output JSON from a shell")
6262 (description "jo is a command-line utility to create JSON objects or
6263 arrays. It creates a JSON string on stdout from words provided as
6264 command-line arguments or read from stdin.")
6265 (license (list license:gpl2+
6266 license:expat)))) ; json.c, json.h
6268 (define-public python-internetarchive
6270 (name "python-internetarchive")
6276 (url "https://github.com/jjjake/internetarchive")
6277 (commit (string-append "v" version))))
6278 (file-name (git-file-name name version))
6281 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
6282 (modules '((guix build utils)))
6285 ;; Python 3.7 removed `_pattern_type'.
6286 (for-each (lambda (file)
6289 (("^import re\n" line)
6290 (string-append line "re._pattern_type = re.Pattern\n"))))
6291 (find-files "." "\\.py$"))
6293 (build-system python-build-system)
6296 (modify-phases %standard-phases
6298 (add-after 'install 'check
6299 (lambda* (#:key inputs outputs #:allow-other-keys)
6300 (add-installed-pythonpath inputs outputs)
6301 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
6302 ":" (getenv "PATH")))
6303 (invoke "py.test" "-v" "-k"
6305 ;; These tests attempt to make a connection to
6306 ;; an external web service.
6307 "not test_get_item_with_kwargs"
6308 " and not test_ia")))))))
6310 `(("python-requests" ,python-requests)
6311 ("python-jsonpatch" ,python-jsonpatch-0.4)
6312 ("python-docopt" ,python-docopt)
6313 ("python-clint" ,python-clint)
6314 ("python-six" ,python-six)
6315 ("python-schema" ,python-schema-0.5)
6316 ("python-backports-csv" ,python-backports-csv)))
6318 `(("python-pytest" ,python-pytest)
6319 ("python-pytest-capturelog" ,python-pytest-capturelog)
6320 ("python-responses" ,python-responses)))
6321 (home-page "https://github.com/jjjake/internetarchive")
6322 (synopsis "Command-line interface to archive.org")
6323 (description "@code{ia} is a command-line tool for using
6324 @url{archive.org} from the command-line. It also implements the
6325 internetarchive python module for programmatic access to archive.org.")
6326 (license license:agpl3+)))
6328 (define-public python-clf
6329 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
6336 (uri (pypi-uri "clf" version))
6339 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
6340 (build-system python-build-system)
6342 `(("python-docopt" ,python-docopt)
6343 ("python-pygments" ,python-pygments)
6344 ("python-requests" ,python-requests)
6345 ("python-nose" ,python-nose)
6346 ("python-lxml" ,python-lxml)
6347 ("python-pyaml" ,python-pyaml)))
6352 (uri (string-append "https://raw.githubusercontent.com"
6353 "/ncrocfer/clf/" commit-test-clf
6357 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
6360 (modify-phases %standard-phases
6361 (add-after 'unpack 'get-tests
6363 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
6368 ;; These tests require an Internet connection.
6369 "--exclude=test_browse"
6370 "--exclude=test_command"
6371 "--exclude=test_search"))))))
6372 (home-page "https://github.com/ncrocfer/clf")
6373 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
6374 (description "@code{clf} is a command line tool for searching code
6375 snippets on @url{https://commandlinefu.com}.")
6376 (license license:expat))))
6378 (define-public python2-clf
6379 (package-with-python2 python-clf))
6381 (define-public rss-bridge
6384 (version "2019-09-12")
6389 (url "https://github.com/RSS-Bridge/rss-bridge")
6391 (file-name (git-file-name name version))
6393 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
6394 (build-system trivial-build-system)
6396 '(#:modules ((guix build utils))
6399 (use-modules (guix build utils)
6401 (let* ((out (assoc-ref %outputs "out"))
6402 (share-rss-bridge (string-append out "/share/rss-bridge")))
6403 (mkdir-p share-rss-bridge)
6404 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
6406 (home-page "https://github.com/RSS-Bridge/rss-bridge")
6407 (synopsis "Generate Atom feeds for social networking websites")
6408 (description "rss-bridge generates Atom feeds for social networking
6409 websites lacking feeds. Supported websites include Facebook, Twitter,
6410 Instagram and YouTube.")
6411 (license (list license:public-domain
6412 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
6414 (define-public linkchecker
6416 (name "linkchecker")
6422 (url "https://github.com/linkchecker/linkchecker")
6423 (commit (string-append "v" version))))
6425 (search-patches "linkchecker-tests-require-network.patch"))
6426 (file-name (git-file-name name version))
6429 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
6430 (build-system python-build-system)
6432 `(("python2-dnspython" ,python2-dnspython-1.16)
6433 ("python2-pyxdg" ,python2-pyxdg)
6434 ("python2-requests" ,python2-requests)))
6436 `(("gettext" ,gettext-minimal)
6437 ("python2-pytest" ,python2-pytest)
6438 ("python2-miniboa" ,python2-miniboa)
6439 ("python2-parameterized" ,python2-parameterized)))
6441 `(#:python ,python-2
6443 (modify-phases %standard-phases
6444 ;; Move the 'check phase to after 'install, so that the installed
6445 ;; library can be used
6447 (add-after 'install 'check
6448 (lambda* (#:key outputs #:allow-other-keys)
6449 (let ((out (assoc-ref outputs "out")))
6450 ;; Set PYTHONPATH so that the installed linkchecker is used
6451 (setenv "PYTHONPATH"
6452 (string-append out "/lib/python2.7/site-packages"
6454 (getenv "PYTHONPATH")))
6455 ;; Remove this directory to avoid it being used when running
6457 (delete-file-recursively "linkcheck")
6459 (invoke "py.test" "tests"))
6461 (home-page "https://linkcheck.github.io/linkchecker")
6462 (synopsis "Check websites for broken links")
6463 (description "LinkChecker is a website validator. It checks for broken
6464 links in websites. It is recursive and multithreaded providing output in
6465 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
6466 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
6468 (license (list license:gpl2+
6469 license:bsd-2 ; linkcheck/better_exchook2.py
6470 license:bsd-3 ; linkcheck/colorama.py
6471 license:psfl ; linkcheck/gzip2.py
6472 license:expat)))) ; linkcheck/mem.py
6474 (define-public cadaver
6481 (uri (string-append "http://www.webdav.org/cadaver/"
6482 name "-" version ".tar.gz"))
6485 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
6486 (build-system gnu-build-system)
6487 ;; TODO: Unbundle libneon and make build succeed with new neon.
6489 `(#:configure-flags (list "--with-ssl=openssl")
6490 #:tests? #f)) ;No tests included
6492 `(("gettext" ,gettext-minimal)
6493 ("pkg-config" ,pkg-config)
6494 ("intltool" ,intltool)))
6497 ("openssl" ,openssl-1.0)))
6498 (home-page "http://www.webdav.org/cadaver/")
6499 (synopsis "Command-line WebDAV client")
6501 "Cadaver is a command-line WebDAV client for Unix. It supports
6502 file upload, download, on-screen display, namespace operations (move/copy),
6503 collection creation and deletion, and locking operations.")
6504 (license license:gpl2)))
6506 (define-public castor
6514 (url "https://git.sr.ht/~julienxx/castor")
6516 (file-name (git-file-name name version))
6518 (base32 "0rwg1w7srjwa23mkypl8zk6674nhph4xsc6nc01f6g5k959szylr"))))
6519 (build-system cargo-build-system)
6522 (("rust-ansi-parser" ,rust-ansi-parser-0.6)
6523 ("rust-dirs" ,rust-dirs-2.0)
6524 ("rust-gdk" ,rust-gdk-0.13)
6525 ("rust-gtk" ,rust-gtk-0.8)
6526 ("rust-linkify" ,rust-linkify-0.4)
6527 ("rust-native-tls" ,rust-native-tls-0.2)
6528 ("rust-open" ,rust-open-1)
6529 ("rust-percent-encoding" ,rust-percent-encoding-2)
6530 ("rust-url" ,rust-url-2))))
6532 `(("pkg-config" ,pkg-config)))
6536 ("gdk-pixbuf" ,gdk-pixbuf)
6538 ("libressl" ,libressl)
6540 (home-page "https://git.sr.ht/~julienxx/castor")
6541 (synopsis "Graphical client for plain-text protocols")
6543 "Castor is a graphical client for plain-text protocols written in
6544 Rust with GTK. It currently supports the Gemini, Gopher and Finger
6546 (license license:expat)))
6548 (define-public python-py-ubjson
6550 (name "python-py-ubjson")
6555 (uri (pypi-uri "py-ubjson" version))
6558 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
6559 (build-system python-build-system)
6560 (home-page "https://github.com/Iotic-Labs/py-ubjson")
6561 (synopsis "Universal Binary JSON encoder/decoder")
6563 "Py-ubjson is a Python module providing an Universal Binary JSON
6564 encoder/decoder based on the draft-12 specification for UBJSON.")
6565 (license license:asl2.0)))
6567 (define-public java-tomcat
6569 (name "java-tomcat")
6573 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6574 version "/src/apache-tomcat-" version "-src.tar.gz"))
6577 "15lwq3clf21hzk7mma70sffpxjqn8ww5mjq6zhmwcp4m17m22z26"))
6578 (modules '((guix build utils)))
6579 ;; Delete bundled jars.
6582 (for-each delete-file (find-files "." "\\.jar$"))
6583 (for-each delete-file (find-files "." "\\.bat$"))
6585 (build-system ant-build-system)
6587 `(("java-commons-daemon" ,java-commons-daemon)
6588 ("java-ecj" ,java-ecj)))
6590 `(#:build-target "deploy"
6591 #:tests? #f; requires downloading some files.
6593 (modify-phases %standard-phases
6594 (add-after 'unpack 'prevent-download
6596 ;; This directory must exist
6598 ;; We patch build.xml so it doesn't download any dependency, because
6599 ;; we already have all of them.
6600 (substitute* "build.xml"
6601 (("download-compile,") "")
6602 (("depends=\"validate\"") "depends=\"build-prepare\"")
6603 ((",download-validate") ""))
6605 (add-after 'unpack 'strip-timestamps
6607 (substitute* "build.xml"
6608 (("<filter token=\"YEAR\" value=.*")
6609 "<filter token=\"YEAR\" value=\"1970\"/>")
6610 (("<filter token=\"VERSION_BUILT\" value=.*")
6611 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6613 (add-after 'unpack 'modify-deploy
6615 ;; The Tomcat build downloads and copies these files to the
6616 ;; bin and lib directory.
6617 ;; We instead symlink to the input (see below).
6618 (substitute* "build.xml"
6619 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6620 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6623 (add-after 'install 'symlink-commons-daemon
6624 (lambda* (#:key inputs outputs #:allow-other-keys)
6625 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6626 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6627 (daemon-jar (car files))
6628 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6629 (target (string-append out-bin "/commons-daemon.jar")))
6630 (symlink daemon-jar target)
6632 (add-after 'install 'symlink-java-ecj
6633 (lambda* (#:key inputs outputs #:allow-other-keys)
6634 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6635 (files (find-files java-ecj "ecj.*\\.jar"))
6636 (java-ecj-jar (car files))
6637 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6638 (target (string-append out-lib "/java-ecj.jar")))
6639 (symlink java-ecj-jar target)
6641 (add-after 'unpack 'generate-properties
6643 ;; This could have been passed to make-flags, but getcwd returns
6644 ;; a different directory then.
6645 (with-output-to-file "build.properties"
6648 (string-append "base.path=" (getcwd) "/downloads\n"))))
6651 (lambda* (#:key outputs #:allow-other-keys)
6652 (let ((out (assoc-ref outputs "out")))
6653 (copy-recursively "output/build" out))
6655 (properties '((cpe-name . "tomcat")))
6656 (home-page "https://tomcat.apache.org")
6657 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6659 (description "Apache Tomcat is a free implementation of the Java
6660 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6662 (license license:asl2.0)))
6664 (define-public java-eclipse-jetty-test-helper
6666 (name "java-eclipse-jetty-test-helper")
6671 (url "https://github.com/eclipse/jetty.toolchain/")
6672 (commit (string-append "jetty-test-helper-" version))))
6673 (file-name (git-file-name name version))
6676 "1g7cdh03nfwbdxzvwm84ysgvw08xx7431lsjryj2gmf3lrqpizgb"))))
6677 (build-system ant-build-system)
6679 `(#:jar-name "eclipse-jetty-test-helper.jar"
6680 #:source-dir "src/main/java"
6681 #:test-dir "src/test"
6684 (modify-phases %standard-phases
6685 (add-before 'configure 'chdir
6687 (chdir "jetty-test-helper")
6689 (add-before 'build 'fix-paths
6692 ;; This file assumes that the build directory is named "target"
6693 ;; but it is not the case with our ant-build-system. Once we have
6694 ;; maven though, we will have to rebuild this package because this
6695 ;; assumption is correct with maven-build-system.
6697 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6698 (("\"target\"") "\"build\"")
6699 (("\"tests\"") "\"test-classes\""))
6700 ;; Tests assume we are building with maven, so that the build
6701 ;; directory is named "target", and not "build".
6702 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6703 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6704 "MavenTestingUtilsTest.java")
6705 (("target/tests") "build/test-classes")
6706 (("\"target") "\"build")))
6709 `(("junit" ,java-junit)
6710 ("hamcrest" ,java-hamcrest-all)))
6711 (home-page "https://www.eclipse.org/jetty/")
6712 (synopsis "Helper classes for jetty tests")
6713 (description "This package contains helper classes for testing the Jetty
6715 ;; This program is licensed under both epl and asl.
6716 (license (list license:epl1.0 license:asl2.0))))
6718 (define-public java-eclipse-jetty-perf-helper
6720 (inherit java-eclipse-jetty-test-helper)
6721 (name "java-eclipse-jetty-perf-helper")
6723 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6724 #:source-dir "src/main/java"
6725 #:tests? #f; no tests
6728 (modify-phases %standard-phases
6729 (add-before 'configure 'chdir
6731 (chdir "jetty-perf-helper")
6734 `(("hdrhistogram" ,java-hdrhistogram)))))
6736 (define-public java-eclipse-jetty-util
6738 (name "java-eclipse-jetty-util")
6742 (uri (string-append "https://github.com/eclipse/jetty.project/"
6743 "archive/jetty-" version ".v20170531.tar.gz"))
6746 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6747 (build-system ant-build-system)
6749 `(#:jar-name "eclipse-jetty-util.jar"
6750 #:source-dir "src/main/java"
6752 (list "**/Abstract*.java"
6754 "**/InetAddressSetTest.java"
6755 ;; Assumes we are using maven
6756 "**/TypeUtilTest.java"
6757 ;; Error on the style of log
6758 "**/StdErrLogTest.java")
6761 (modify-phases %standard-phases
6762 (add-before 'configure 'chdir
6764 (chdir "jetty-util")
6767 `(("slf4j" ,java-slf4j-api)
6768 ("servlet" ,java-javaee-servletapi)))
6770 `(("junit" ,java-junit)
6771 ("hamcrest" ,java-hamcrest-all)
6772 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6773 ("test-helper" ,java-eclipse-jetty-test-helper)))
6774 (home-page "https://www.eclipse.org/jetty/")
6775 (synopsis "Utility classes for Jetty")
6776 (description "The Jetty Web Server provides an HTTP server and Servlet
6777 container capable of serving static and dynamic content either from a standalone
6778 or embedded instantiation. This package provides utility classes.")
6779 (license (list license:epl1.0 license:asl2.0))))
6781 ;; This version is required by maven-wagon
6782 (define-public java-eclipse-jetty-util-9.2
6784 (inherit java-eclipse-jetty-util)
6788 (uri (string-append "https://github.com/eclipse/jetty.project/"
6789 "archive/jetty-" version ".v20170606.tar.gz"))
6792 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6794 `(#:jar-name "eclipse-jetty-util.jar"
6795 #:source-dir "src/main/java"
6798 (list "**/Abstract*.java"
6800 "**/InetAddressSetTest.java"
6801 ;; Assumes we are using maven
6802 "**/TypeUtilTest.java"
6803 ;; We don't have an implementation for slf4j
6805 ;; Error on the style of log
6806 "**/StdErrLogTest.java")
6808 (modify-phases %standard-phases
6809 (add-before 'configure 'chdir
6811 (chdir "jetty-util")
6813 (add-before 'build 'fix-test-sources
6815 ;; We need to fix issues caused by changes in newer versions of
6816 ;; jetty-test-helper
6817 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6818 (substitute* (string-append src "/AbstractFSResourceTest.java")
6819 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6820 (("testdir.getFile\\(\"foo\"\\)")
6821 "testdir.getPathFile(\"foo\").toFile()")
6822 (("testdir.getFile\\(name\\)")
6823 "testdir.getPathFile(name).toFile()")))
6826 (define-public java-eclipse-jetty-io
6828 (inherit java-eclipse-jetty-util)
6829 (name "java-eclipse-jetty-io")
6831 `(#:jar-name "eclipse-jetty-io.jar"
6832 #:source-dir "src/main/java"
6834 #:test-exclude (list "**/Abstract*.java"
6836 "**/EndPointTest.java")
6838 (modify-phases %standard-phases
6839 (add-before 'configure 'chdir
6844 `(("slf4j" ,java-slf4j-api)
6845 ("servlet" ,java-javaee-servletapi)
6846 ("util" ,java-eclipse-jetty-util)))
6847 (synopsis "Jetty :: IO Utility")
6848 (description "The Jetty Web Server provides an HTTP server and Servlet
6849 container capable of serving static and dynamic content either from a standalone
6850 or embedded instantiation. This package provides IO-related utility classes.")))
6852 (define-public java-eclipse-jetty-io-9.2
6854 (inherit java-eclipse-jetty-io)
6855 (version (package-version java-eclipse-jetty-util-9.2))
6856 (source (package-source java-eclipse-jetty-util-9.2))
6858 `(("util" ,java-eclipse-jetty-util-9.2)
6859 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6861 `(("mockito" ,java-mockito-1)
6862 ("cglib" ,java-cglib)
6863 ("objenesis" ,java-objenesis)
6865 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6867 (define-public java-eclipse-jetty-http
6869 (inherit java-eclipse-jetty-util)
6870 (name "java-eclipse-jetty-http")
6872 `(#:jar-name "eclipse-jetty-http.jar"
6873 #:source-dir "src/main/java"
6876 (modify-phases %standard-phases
6877 (add-before 'configure 'chdir
6879 (chdir "jetty-http")
6881 (add-before 'build 'copy-resources
6883 (mkdir-p "build/classes")
6884 (copy-recursively "src/main/resources/" "build/classes/")
6887 `(("slf4j" ,java-slf4j-api)
6888 ("servlet" ,java-javaee-servletapi)
6889 ("io" ,java-eclipse-jetty-io)
6890 ("util" ,java-eclipse-jetty-util)))
6891 (synopsis "Jetty :: Http Utility")
6892 (description "The Jetty Web Server provides an HTTP server and Servlet
6893 container capable of serving static and dynamic content either from a standalone
6894 or embedded instantiation. This package provides HTTP-related utility classes.")))
6896 (define-public java-eclipse-jetty-http-9.2
6898 (inherit java-eclipse-jetty-http)
6899 (version (package-version java-eclipse-jetty-util-9.2))
6900 (source (package-source java-eclipse-jetty-util-9.2))
6902 `(("util" ,java-eclipse-jetty-util-9.2)
6903 ("io" ,java-eclipse-jetty-io-9.2)
6904 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6906 (define-public java-eclipse-jetty-jmx
6908 (inherit java-eclipse-jetty-util)
6909 (name "java-eclipse-jetty-jmx")
6911 `(#:jar-name "eclipse-jetty-jmx.jar"
6912 #:source-dir "src/main/java"
6914 #:tests? #f; FIXME: requires com.openpojo.validation
6916 (modify-phases %standard-phases
6917 (add-before 'configure 'chdir
6922 `(("slf4j" ,java-slf4j-api)
6923 ("servlet" ,java-javaee-servletapi)
6924 ("util" ,java-eclipse-jetty-util)))
6925 (synopsis "Jetty :: JMX Management")
6926 (description "The Jetty Web Server provides an HTTP server and Servlet
6927 container capable of serving static and dynamic content either from a standalone
6928 or embedded instantiation. This package provides the JMX management.")))
6930 (define-public java-eclipse-jetty-jmx-9.2
6932 (inherit java-eclipse-jetty-jmx)
6933 (version (package-version java-eclipse-jetty-util-9.2))
6934 (source (package-source java-eclipse-jetty-util-9.2))
6936 `(("util" ,java-eclipse-jetty-util-9.2)
6937 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6939 (define java-eclipse-jetty-http-test-classes
6941 (inherit java-eclipse-jetty-util)
6942 (name "java-eclipse-jetty-http-test-classes")
6944 `(#:jar-name "eclipse-jetty-http.jar"
6945 #:source-dir "src/test"
6949 (modify-phases %standard-phases
6950 (add-before 'configure 'chdir
6952 (chdir "jetty-http")
6955 `(("slf4j" ,java-slf4j-api)
6956 ("java-javaee-servletapi" ,java-javaee-servletapi)
6957 ("http" ,java-eclipse-jetty-http)
6958 ("io" ,java-eclipse-jetty-io)
6959 ("util" ,java-eclipse-jetty-util)))))
6961 (define java-eclipse-jetty-http-test-classes-9.2
6963 (inherit java-eclipse-jetty-http-test-classes)
6964 (version (package-version java-eclipse-jetty-util-9.2))
6965 (source (package-source java-eclipse-jetty-util-9.2))
6967 `(("http" ,java-eclipse-jetty-http-9.2)
6968 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6970 (define-public java-eclipse-jetty-server
6972 (inherit java-eclipse-jetty-util)
6973 (name "java-eclipse-jetty-server")
6975 `(#:jar-name "eclipse-jetty-server.jar"
6976 #:source-dir "src/main/java"
6978 #:tests? #f; requires a mockito version we don't have
6980 (modify-phases %standard-phases
6981 (add-before 'configure 'chdir
6983 (chdir "jetty-server")
6985 (add-before 'build 'fix-source
6987 ;; Explicit casts to prevent build failures
6988 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6989 (("append\\(LazyList")
6990 "append((CharSequence)LazyList"))
6992 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6994 "Class<\\? extends EventListener> clazz = _classLoader==null"
6995 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6996 "_classLoader.loadClass\\(className\\);"))
6997 (string-append "Class<? extends EventListener> clazz = "
6998 "(Class<? extends EventListener>) "
6999 "(_classLoader==null?Loader.loadClass("
7000 "ContextHandler.class,className):"
7001 "_classLoader.loadClass(className));")))
7004 `(("slf4j" ,java-slf4j-api)
7005 ("servlet" ,java-javaee-servletapi)
7006 ("http" ,java-eclipse-jetty-http)
7007 ("io" ,java-eclipse-jetty-io)
7008 ("jmx" ,java-eclipse-jetty-jmx)
7009 ("util" ,java-eclipse-jetty-util)))
7011 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
7012 ,@(package-native-inputs java-eclipse-jetty-util)))
7013 (synopsis "Core jetty server artifact")
7014 (description "The Jetty Web Server provides an HTTP server and Servlet
7015 container capable of serving static and dynamic content either from a standalone
7016 or embedded instantiation. This package provides the core jetty server
7019 (define-public java-eclipse-jetty-server-9.2
7021 (inherit java-eclipse-jetty-server)
7022 (version (package-version java-eclipse-jetty-util-9.2))
7023 (source (package-source java-eclipse-jetty-util-9.2))
7025 `(("util" ,java-eclipse-jetty-util-9.2)
7026 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7027 ("io" ,java-eclipse-jetty-io-9.2)
7028 ("http" ,java-eclipse-jetty-http-9.2)
7029 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7031 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
7032 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7034 (define-public java-eclipse-jetty-security
7036 (inherit java-eclipse-jetty-util)
7037 (name "java-eclipse-jetty-security")
7039 `(#:jar-name "eclipse-jetty-security.jar"
7040 #:source-dir "src/main/java"
7042 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
7044 (modify-phases %standard-phases
7045 (add-before 'configure 'chdir
7047 (chdir "jetty-security")
7050 `(("slf4j" ,java-slf4j-api)
7051 ("servlet" ,java-javaee-servletapi)
7052 ("http" ,java-eclipse-jetty-http)
7053 ("server" ,java-eclipse-jetty-server)
7054 ("util" ,java-eclipse-jetty-util)))
7056 `(("io" ,java-eclipse-jetty-io)
7057 ,@(package-native-inputs java-eclipse-jetty-util)))
7058 (synopsis "Jetty security infrastructure")
7059 (description "The Jetty Web Server provides an HTTP server and Servlet
7060 container capable of serving static and dynamic content either from a standalone
7061 or embedded instantiation. This package provides the core jetty security
7064 (define-public java-eclipse-jetty-security-9.2
7066 (inherit java-eclipse-jetty-security)
7067 (version (package-version java-eclipse-jetty-util-9.2))
7068 (source (package-source java-eclipse-jetty-util-9.2))
7070 `(("util" ,java-eclipse-jetty-util-9.2)
7071 ("http" ,java-eclipse-jetty-http-9.2)
7072 ("server" ,java-eclipse-jetty-server-9.2)
7073 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7075 `(("io" ,java-eclipse-jetty-io-9.2)
7076 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7078 (define-public java-eclipse-jetty-servlet
7080 (inherit java-eclipse-jetty-util)
7081 (name "java-eclipse-jetty-servlet")
7083 `(#:jar-name "eclipse-jetty-servlet.jar"
7084 #:source-dir "src/main/java"
7087 (modify-phases %standard-phases
7088 (add-before 'configure 'chdir
7090 (chdir "jetty-servlet")
7093 `(("slf4j" ,java-slf4j-api)
7094 ("java-javaee-servletapi" ,java-javaee-servletapi)
7095 ("http" ,java-eclipse-jetty-http)
7096 ("http-test" ,java-eclipse-jetty-http-test-classes)
7097 ("io" ,java-eclipse-jetty-io)
7098 ("jmx" ,java-eclipse-jetty-jmx)
7099 ("security" ,java-eclipse-jetty-security)
7100 ("server" ,java-eclipse-jetty-server)
7101 ("util" ,java-eclipse-jetty-util)))
7102 (synopsis "Jetty Servlet Container")
7103 (description "The Jetty Web Server provides an HTTP server and Servlet
7104 container capable of serving static and dynamic content either from a standalone
7105 or embedded instantiation. This package provides the core jetty servlet
7108 (define-public java-eclipse-jetty-servlet-9.2
7110 (inherit java-eclipse-jetty-servlet)
7111 (version (package-version java-eclipse-jetty-util-9.2))
7112 (source (package-source java-eclipse-jetty-util-9.2))
7114 `(#:jar-name "eclipse-jetty-servlet.jar"
7115 #:source-dir "src/main/java"
7117 #:tests? #f; doesn't work
7119 (modify-phases %standard-phases
7120 (add-before 'configure 'chdir
7122 (chdir "jetty-servlet")
7125 `(("util" ,java-eclipse-jetty-util-9.2)
7126 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7127 ("io" ,java-eclipse-jetty-io-9.2)
7128 ("http" ,java-eclipse-jetty-http-9.2)
7129 ("security" ,java-eclipse-jetty-security-9.2)
7130 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
7131 ("server" ,java-eclipse-jetty-server-9.2)
7132 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
7134 (define-public java-eclipse-jetty-xml
7136 (inherit java-eclipse-jetty-util)
7137 (name "java-eclipse-jetty-xml")
7139 `(#:jar-name "eclipse-jetty-xml.jar"
7140 #:source-dir "src/main/java"
7142 #:tests? #f; most tests require network
7144 (modify-phases %standard-phases
7145 (add-before 'configure 'chdir
7150 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
7152 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7153 ,@(package-native-inputs java-eclipse-jetty-util)))))
7155 (define-public java-eclipse-jetty-xml-9.2
7157 (inherit java-eclipse-jetty-xml)
7158 (version (package-version java-eclipse-jetty-util-9.2))
7159 (source (package-source java-eclipse-jetty-util-9.2))
7161 `(#:jar-name "eclipse-jetty-xml.jar"
7162 #:source-dir "src/main/java"
7164 #:tests? #f; most tests require network
7166 (modify-phases %standard-phases
7167 (add-before 'configure 'chdir
7172 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7173 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7175 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7176 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7178 (define-public java-eclipse-jetty-webapp
7180 (inherit java-eclipse-jetty-util)
7181 (name "java-eclipse-jetty-webapp")
7183 `(#:jar-name "eclipse-jetty-webapp.jar"
7184 #:source-dir "src/main/java"
7187 #:test-exclude (list "**/WebAppContextTest.java")
7189 (modify-phases %standard-phases
7190 (add-before 'configure 'chdir
7192 (chdir "jetty-webapp")
7195 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
7196 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
7197 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
7198 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
7199 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
7200 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
7201 ("java-javaee-servletapi" ,java-javaee-servletapi)))
7203 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7204 ,@(package-native-inputs java-eclipse-jetty-util)))))
7206 (define-public java-eclipse-jetty-webapp-9.2
7208 (inherit java-eclipse-jetty-webapp)
7209 (version (package-version java-eclipse-jetty-util-9.2))
7210 (source (package-source java-eclipse-jetty-util-9.2))
7212 `(#:jar-name "eclipse-jetty-webapp.jar"
7213 #:source-dir "src/main/java"
7215 #:test-exclude (list "**/WebAppContextTest.java")
7217 (modify-phases %standard-phases
7218 (add-before 'configure 'chdir
7220 (chdir "jetty-webapp")
7223 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7224 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
7225 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
7226 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
7227 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
7228 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
7229 ("java-javaee-servletapi" ,java-javaee-servletapi)
7230 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7232 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7233 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7235 (define-public java-jsoup
7242 (url "https://github.com/jhy/jsoup")
7243 (commit (string-append "jsoup-" version))))
7244 (file-name (git-file-name name version))
7247 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
7248 (build-system ant-build-system)
7250 `(#:jar-name "jsoup.jar"
7251 #:source-dir "src/main/java"
7253 (modify-phases %standard-phases
7254 (add-before 'build 'copy-resources
7256 (let ((classes-dir (string-append (getcwd) "/build/classes")))
7257 (with-directory-excursion "src/main/java"
7258 (for-each (lambda (file)
7259 (let ((dist (string-append classes-dir "/" file)))
7260 (mkdir-p (dirname dist))
7261 (copy-file file dist)))
7262 (find-files "." ".*.properties"))))
7265 `(("java-junit" ,java-junit)
7266 ("java-hamcrest-core" ,java-hamcrest-core)
7267 ("java-gson" ,java-gson)))
7268 (home-page "https://jsoup.org")
7269 (synopsis "HTML parser")
7270 (description "Jsoup is a Java library for working with real-world HTML. It
7271 provides a very convenient API for extracting and manipulating data, using the
7272 best of DOM, CSS, and jQuery-like methods.")
7273 (license license:expat)))
7275 (define-public java-signpost-core
7277 (name "java-signpost-core")
7282 (url "https://github.com/mttkay/signpost")
7284 (file-name (git-file-name name version))
7287 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
7288 (build-system ant-build-system)
7290 `(#:jar-name "signpost-core.jar"
7291 #:source-dir "signpost-core/src/main/java"
7292 #:test-dir "signpost-core/src/test"
7293 ;; Tests all fail with InstantiationException from mockito
7296 `(("java-commons-codec" ,java-commons-codec)))
7297 (home-page "https://github.com/mttkay/signpost")
7298 (synopsis "Lightweight client-side OAuth library for Java")
7299 (description "Signpost is the easy and intuitive solution for signing
7300 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
7301 standard. Signpost follows a modular and flexible design, allowing you to
7302 combine it with different HTTP messaging layers.")
7303 (license license:asl2.0)))
7305 (define-public tidyp
7312 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
7316 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
7317 (build-system gnu-build-system)
7318 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
7319 (arguments `(#:tests? #f))
7320 (home-page "http://www.tidyp.com/")
7321 (synopsis "Validate HTML")
7322 (description "Tidyp is a program that can validate your HTML, as well as
7323 modify it to be more clean and standard. tidyp does not validate HTML 5.
7325 libtidyp is the library on which the program is based. It can be used by any
7326 other program that can interface to it. The Perl module @code{HTML::Tidy} is
7327 based on this library, allowing Perl programmers to easily validate HTML.")
7328 ;; See htmldoc/license.html
7329 (license license:bsd-3)))
7331 (define-public perl-html-tidy
7333 (name "perl-html-tidy")
7338 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
7342 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
7343 (build-system perl-build-system)
7346 (modify-phases %standard-phases
7347 (add-after 'unpack 'fix-tidyp-paths
7348 (lambda* (#:key inputs #:allow-other-keys)
7349 (substitute* "Makefile.PL"
7350 (("^my \\$inc = \"" line)
7352 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
7355 "-L" (assoc-ref inputs "tidyp") "/lib")))
7358 `(("perl-libwww" ,perl-libwww)
7361 `(("perl-test-exception" ,perl-test-exception)))
7362 (home-page "https://metacpan.org/release/HTML-Tidy")
7363 (synopsis "(X)HTML validation in a Perl object")
7364 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
7365 object. It's meant as a replacement for @code{HTML::Lint}, which is written
7366 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
7367 (license license:artistic2.0)))
7369 (define-public geomyidae
7377 (url "git://r-36.net/geomyidae")
7378 (commit (string-append "v" version))))
7379 (file-name (git-file-name name version))
7381 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
7382 (build-system gnu-build-system)
7384 `(#:make-flags (list "CC=gcc"
7385 (string-append "PREFIX="
7386 (assoc-ref %outputs "out")))
7387 #:tests? #f ; no tests
7388 #:phases (modify-phases %standard-phases
7389 (delete 'configure))))
7390 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
7391 (synopsis "Small Gopher server")
7393 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
7397 @item Gopher menus (see @file{index.gph} for an example);
7398 @item directory listings (if no @file{index.gph} was found);
7399 @item CGI support (@file{.cgi} files are executed);
7400 @item search support in CGI files;
7401 @item logging with multiple log levels.
7403 (license license:expat)))
7405 (define-public cat-avatar-generator
7407 (name "cat-avatar-generator")
7412 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
7413 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
7414 (file-name (string-append name "-" version))
7417 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
7418 (build-system trivial-build-system)
7420 `(#:modules ((guix build utils))
7423 (use-modules (guix build utils)
7427 (let ((source (assoc-ref %build-inputs "source"))
7428 (php-dir (string-append %output "/share/web/" ,name "/")))
7429 ;; The cache directory must not be in the store, but in a writable
7430 ;; location. The webserver will give us this location.
7431 (copy-recursively source php-dir)
7432 (substitute* (string-append php-dir "/cat-avatar-generator.php")
7433 (("\\$cachepath = .*")
7434 "if(isset($_SERVER['CACHE_DIR']))
7435 $cachepath = $_SERVER['CACHE_DIR'];
7437 die('You need to set the CACHE_DIR variable first.');"))
7439 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
7440 (synopsis "Random avatar generator")
7441 (description "Cat avatar generator is a generator of cat pictures optimised
7442 to generate random avatars, or defined avatar from a \"seed\". This is a
7443 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
7444 ;; expat for the code, CC-BY 4.0 for the artwork
7445 (license (list license:expat
7446 license:cc-by4.0))))
7448 (define-public nghttp2
7452 (replacement nghttp2-1.41)
7456 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7457 "releases/download/v" version "/"
7458 "nghttp2-" version ".tar.xz"))
7461 "0wwhwv7cvi1vxpdjwvg0kpa4jzhszclpnwrwfcw728zz53a47z09"))))
7462 (build-system gnu-build-system)
7463 (outputs (list "out"
7464 "lib")) ; only libnghttp2
7466 `(("pkg-config" ,pkg-config)
7468 ;; Required by tests.
7470 ("tzdata" ,tzdata-for-tests)))
7472 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
7473 `(("c-ares" ,c-ares)
7474 ("jansson" ,jansson) ; for HPACK tools
7475 ,@(if (hurd-target?) '()
7476 `(("jemalloc" ,jemalloc))) ; fight nghttpd{,x} heap fragmentation
7478 ("libxml2" ,libxml2) ; for ‘nghttp -a’
7479 ("openssl" ,openssl)
7480 ,@(if (hurd-target?)
7481 `(("openssl-static" ,openssl "static"))
7485 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
7486 "--enable-app" ; build all the tools
7487 "--enable-hpack-tools" ; ...all the tools
7488 "--disable-examples"
7489 "--disable-static") ; don't bother building .a files
7491 (modify-phases %standard-phases
7492 (add-after 'unpack 'break-circular-reference
7493 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
7494 ;; which is not allowed. Break this cycle. While we could install
7495 ;; only the library to ‘out’ and move everything else to a separate
7496 ;; output, this would inconvenience the majority of (human) users.
7497 (lambda* (#:key outputs #:allow-other-keys)
7498 (substitute* "lib/libnghttp2.pc.in"
7500 (assoc-ref outputs "lib")))
7502 (add-before 'check 'set-timezone-directory
7503 (lambda* (#:key inputs native-inputs #:allow-other-keys)
7504 (setenv "TZDIR" (string-append
7505 (assoc-ref (or native-inputs inputs) "tzdata")
7508 (home-page "https://nghttp2.org/")
7509 (synopsis "HTTP/2 protocol client, proxy, server, and library")
7511 "nghttp2 implements the Hypertext Transfer Protocol, version
7514 A reusable C library provides the HTTP/2 framing layer, with several tools built
7518 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
7519 and low-level aspects of the protocol and is useful for debugging.
7520 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
7521 serves files from a local directory.
7522 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
7523 deployed in front of existing web servers that don't support HTTP/2.
7524 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
7525 backwards compatibility with clients that don't speak HTTP/2.
7526 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
7527 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
7528 nghttp2 provides a HPACK encoder and decoder as part of its public API.
7529 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
7530 compressed JSON header blocks.
7531 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
7533 (license license:expat)))
7535 (define-public nghttp2-1.41 ;fixes CVE-2020-11080
7542 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7543 "releases/download/v" version "/"
7544 "nghttp2-" version ".tar.xz"))
7547 "1hk77vngjmvvzb5y1gi1aqwf6qywrc7yak08zvzb7x81qs6mphmb"))))))
7549 (define-public hpcguix-web
7550 (let ((commit "9de63562b06b4aef3a3afe5ecb18d3c91e57ee74")
7553 (name "hpcguix-web")
7554 (version (git-version "0.0.1" revision commit))
7558 (url "https://github.com/UMCUGenetics/hpcguix-web")
7560 (file-name (git-file-name name version))
7563 "0wjgj2s7v2cyz6dx24c111rxs99i84sfvxl4ch8brnh02j2606jz"))))
7564 (build-system gnu-build-system)
7566 `(#:modules ((guix build gnu-build-system)
7572 (modify-phases %standard-phases
7573 (add-before 'configure 'set-variables
7575 ;; This prevents a few warnings
7576 (setenv "GUILE_AUTO_COMPILE" "0")
7577 (setenv "XDG_CACHE_HOME" (getcwd))
7579 (add-after 'install 'wrap-program
7580 (lambda* (#:key inputs outputs #:allow-other-keys)
7581 (let* ((out (assoc-ref outputs "out"))
7582 (guix (assoc-ref inputs "guix"))
7583 (guile (assoc-ref inputs "guile"))
7584 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7585 (git (assoc-ref inputs "guile-git"))
7586 (bs (assoc-ref inputs "guile-bytestructures"))
7587 (json (assoc-ref inputs "guile-json"))
7588 (guile-cm (assoc-ref inputs
7589 "guile-commonmark"))
7590 (deps (list guile gcrypt git bs guile-cm guix json))
7593 (open-pipe* OPEN_READ
7594 (string-append guile "/bin/guile")
7595 "-c" "(display (effective-version))")))
7597 (map (cut string-append <>
7598 "/share/guile/site/"
7602 (gopath (string-join
7603 (map (cut string-append <>
7604 "/lib/guile/" effective
7608 (wrap-program (string-append out "/bin/run")
7609 `("GUILE_LOAD_PATH" ":" prefix (,path))
7610 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7614 `(("autoconf" ,autoconf)
7615 ("automake" ,automake)
7616 ("uglify-js" ,uglify-js)
7617 ("pkg-config" ,pkg-config)))
7619 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7622 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7623 ("guile-commonmark" ,guile-commonmark)
7624 ("guile-json" ,guile-json-4)))
7625 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7626 (synopsis "Web interface for cluster deployments of Guix")
7627 (description "Hpcguix-web provides a web interface to the list of packages
7628 provided by Guix. The list of packages is searchable and provides
7629 instructions on how to use Guix in a shared HPC environment.")
7630 (license license:agpl3+))))
7632 (define-public httrack
7638 (uri (string-append "https://mirror.httrack.com/historical/"
7639 "httrack-" version ".tar.gz"))
7642 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7643 (build-system gnu-build-system)
7645 `(("libressl" ,libressl)
7647 (home-page "https://www.httrack.com/")
7648 (synopsis "Easy-to-use offline browser utility")
7649 (description "HTTrack allows you to download a World Wide Web site from
7650 the Internet to a local directory, building recursively all directories,
7651 getting HTML, images, and other files from the server to your computer.
7653 HTTrack arranges the original site's relative link-structure. Simply open
7654 a page of the @emph{mirrored} website in your browser, and you can browse the
7655 site from link to link, as if you were viewing it online. HTTrack can also
7656 update an existing mirrored site, and resume interrupted downloads.
7658 HTTrack is fully configurable, and has an integrated help system.")
7659 (license license:gpl3+)))
7668 (uri (pypi-uri "buku" version))
7669 (file-name (git-file-name name version))
7672 "1g1xhdskfn72xaraqzz2v8dl2iza7bzfpn17z2wdrzkq3ih7yvgg"))))
7673 (build-system python-build-system)
7675 `(#:tests? #f)) ;FIXME: many tests need network access
7677 `(("python-beautifulsoup4" ,python-beautifulsoup4)
7678 ("python-certifi" ,python-certifi)
7679 ("python-cryptography" ,python-cryptography)
7680 ("python-html5lib" ,python-html5lib)
7681 ("python-urllib3" ,python-urllib3)))
7682 (home-page "https://github.com/jarun/buku")
7683 (synopsis "Bookmark manager")
7685 "buku is a powerful bookmark manager written in Python3 and SQLite3.
7686 @command{buku} can auto-import bookmarks from your browser and present them
7687 in an interactive command-line interface that lets you compose and update
7688 bookmarks directly. It can also present them in a web interface with
7689 @command{bukuserver}.")
7690 (license license:gpl3+)))
7692 (define-public anonip
7698 (uri (pypi-uri "anonip" version))
7701 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7702 (build-system python-build-system)
7703 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7704 (synopsis "Anonymize IP addresses in log files")
7706 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7707 That way most of the relevant information is preserved, while the IP address
7708 does not match a particular individuum anymore.
7710 Depending on your Web server, the log entries may be piped to Anonip directly
7711 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7712 written to any file.
7714 It's also possible to rewrite existing log files.
7716 Anonip can also be uses as a Python module in your own Python application.")
7717 (license license:bsd-3)))
7719 (define-public poussetaches
7721 (name "poussetaches")
7727 (url "https://github.com/tsileo/poussetaches")
7729 (file-name (git-file-name name version))
7732 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7733 (build-system go-build-system)
7735 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7736 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7738 `(#:import-path "github.com/tsileo/poussetaches"))
7739 (home-page "https://github.com/tsileo/poussetaches")
7740 (synopsis "Lightweight asynchronous task execution service")
7741 (description "Poussetaches (which literally means \"push tasks\" in
7742 French) is a lightweight asynchronous task execution service that aims to
7743 replace Celery and RabbitMQ for small Python applications.
7745 The app posts base64-encoded payload to poussetaches and specifies the
7746 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7747 requests with the registered payload until the right status code is
7749 (license license:isc)))
7751 (define-public htmlcxx
7759 (string-append "mirror://sourceforge/htmlcxx/v"
7760 version "/htmlcxx-" version ".tar.gz"))
7762 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7763 (build-system gnu-build-system)
7764 (home-page "http://htmlcxx.sourceforge.net/")
7765 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7766 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7767 C++. Although there are several other HTML parsers available, htmlcxx has some
7768 characteristics that make it unique:
7770 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7772 @item It is possible to reproduce exactly, character by character, the original
7773 document from the parse tree
7774 @item Bundled CSS parser
7775 @item Optional parsing of attributes
7776 @item C++ code that looks like C++ (not so true anymore)
7777 @item Offsets of tags/elements in the original document are stored in the nodes
7780 (license (list license:lgpl2.0
7784 (define-public librocket
7793 (url "https://github.com/libRocket/libRocket")
7794 (commit (string-append "release-" version))))
7795 (file-name (git-file-name name version))
7797 (base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
7798 (build-system cmake-build-system)
7800 `(#:tests? #f ; No tests.
7802 (modify-phases %standard-phases
7803 (add-after 'unpack 'chdir
7805 (chdir "Build"))))))
7807 `(("freetype" ,freetype)))
7808 (home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
7809 (synopsis "HTML/CSS user interface library")
7810 (description "libRocket is a C++ user interface package based on the HTML
7811 and CSS standards. libRocket uses the open standards XHTML1.0 and
7812 CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
7813 features suited towards real-time applications. It is designed as a complete
7814 solution for any project's interface needs:
7817 @item Dynamic layout system.
7818 @item Efficient application-wide styling, with a custom-built templating engine.
7819 @item Fully featured control set: buttons, sliders, drop-downs, etc.
7820 @item Runtime visual debugging suite.
7821 @item Easily integrated and extensible with Python or Lua scripting.
7823 (license license:expat)))
7825 (define-public gmnisrv
7826 (let ((commit "d484ba0ab0020866535a44be5948c9482b8f2b8d")
7830 (version (git-version "0" revision commit))
7831 (home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
7839 "11phipixsxx1jgm42agp76p5s68l0zj65kgb41vzaymgwcq79ivn"))
7840 (file-name (git-file-name name version))))
7841 (build-system gnu-build-system)
7844 (modify-phases %standard-phases
7845 (add-before 'configure 'set-variables
7851 `(("openssl" ,openssl)))
7853 `(("pkg-config" ,pkg-config)
7856 `(("mailcap" ,mailcap)))
7857 (synopsis "Simple Gemini protocol server")
7858 (description "gmnisrv is a simple Gemini protocol server written in C.")
7859 (license (list license:gpl3+
7860 license:bsd-3))))) ;; for ini.c and ini.h
7862 (define-public libzim
7869 (url "https://github.com/openzim/libzim")
7873 "0iy0f1clhihq277x218ccx3mszgpr3h9l0by48b9ykr115nffw3s"))
7874 (file-name (git-file-name name version))))
7875 (build-system meson-build-system)
7877 ;; TODO: Find out why tests fail.
7882 ("libuuid" ,util-linux "lib")
7884 ("zstd" ,zstd "lib")))
7886 `(("pkg-config" ,pkg-config)
7887 ("googletest" ,googletest)))
7888 (home-page "https://wiki.openzim.org/wiki/Main_Page")
7889 (synopsis "Reference implementation of the ZIM specification")
7890 (description "The openZIM project proposes offline storage solutions for
7891 content coming from the Web. The zimlib is the standard implementation of the
7892 ZIM specification. It is a library which implements the read and write method
7894 (license license:gpl2)))
7896 (define-public kiwix-lib
7900 (home-page "https://github.com/kiwix/kiwix-lib/")
7908 "034nk6l623v78clrs2d0k1vg69sbzrd8c0q79qiqmlkinck1nkxw"))
7909 (file-name (git-file-name name version))))
7910 (build-system meson-build-system)
7913 (modify-phases %standard-phases
7914 (add-before 'configure 'fix-paths-and-includes
7915 (lambda* (#:key inputs #:allow-other-keys)
7916 (setenv "CPPFLAGS" (string-append "-I" (assoc-ref inputs "mustache")))
7917 (substitute* "src/aria2.cpp"
7918 (("ARIA2_CMD \"aria2c\"")
7919 (string-append "ARIA2_CMD \""
7920 (assoc-ref inputs "aria2")
7927 ("libmicrohttpd" ,libmicrohttpd)
7929 ("pugixml" ,pugixml)
7932 ("zstd" ,zstd "lib")))
7934 `(("mustache" ,(origin
7937 (url "https://github.com/kainjow/Mustache")
7938 ;; XXX: Readme says to use version 3. Can we use 3.2.1?
7940 (file-name (git-file-name "mustache" "4.1"))
7943 "0r9rbk6v1wpld2ismfsk2lkhbyv3dkf0p03hkjivbj05qkfhvlbb"))))
7944 ("pkg-config" ,pkg-config)))
7945 (synopsis "Common code base for all Kiwix ports")
7946 (description "The Kiwix library provides the Kiwix software suite core.
7947 It contains the code shared by all Kiwix ports.")
7948 (license license:gpl3)))
7950 (define-public kiwix-desktop
7952 (name "kiwix-desktop")
7957 "https://download.kiwix.org/release/kiwix-desktop/kiwix-desktop-"
7962 "1a9h4qmh6fkfscyp6lax0ri07dvvzw2wp4kr1sm86n0bdk3cwwha"))))
7963 (build-system gnu-build-system)
7966 (modify-phases %standard-phases
7968 (lambda* (#:key outputs #:allow-other-keys)
7970 (string-append "PREFIX="
7971 (assoc-ref outputs "out")))))
7972 (add-before 'configure 'enable-print-support
7974 (substitute* "kiwix-desktop.pro"
7975 (("webenginewidgets") "webenginewidgets printsupport"))
7977 (add-before 'configure 'substitute-source
7978 ;; Looks like .pro file is missing a feature.
7979 ;; See https://github.com/kiwix/kiwix-desktop/issues/556.
7980 (lambda* (#:key inputs #:allow-other-keys)
7981 (substitute* "kiwix-desktop.pro"
7982 (("webenginewidgets" all) (string-append all " printsupport")))
7984 (add-after 'install 'wrap-qt-process-path
7985 (lambda* (#:key inputs outputs #:allow-other-keys)
7986 (let* ((out (assoc-ref outputs "out"))
7987 (bin (string-append out "/bin/kiwix-desktop"))
7988 (qt-process-path (string-append
7989 (assoc-ref inputs "qtwebengine")
7990 "/lib/qt5/libexec/QtWebEngineProcess")))
7992 `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
7997 ("kiwix-lib" ,kiwix-lib)
7998 ("libmicrohttpd" ,libmicrohttpd)
8000 ("pugixml" ,pugixml)
8002 ("qtdeclarative" ,qtdeclarative)
8003 ("qtwebchannel" ,qtwebchannel)
8004 ("qtwebengine" ,qtwebengine)
8007 ("zstd" ,zstd "lib")))
8009 `(("pkg-config" ,pkg-config)
8011 (home-page "https://wiki.kiwix.org/wiki/Software")
8012 (synopsis "Viewer and manager of ZIM files")
8013 (description "Kiwix Desktop allows you to enjoy a lot of different content
8014 offline (such as Wikipedia), without any access to Internet.")
8015 (license license:gpl3)))
8017 (define-public uriparser
8018 (let ((commit "25dddb16cf044a7df27884e7ad3911baaaca3d7c")
8022 (version (git-version "0.9.4" revision commit))
8026 (url "https://github.com/uriparser/uriparser")
8028 (file-name (git-file-name name version))
8031 "1ffzia679axcsccx2fxjpxhb0i5xc42zxn446x6c1170w6v69qf6"))))
8032 (build-system cmake-build-system)
8033 (native-inputs `(("gtest" ,googletest)
8034 ("doxygen" ,doxygen)
8035 ("graphviz" ,graphviz)))
8036 (synopsis "Strictly RFC 3986 compliant URI parsing and handling library")
8037 (description "uriparser is a strictly RFC 3986 compliant URI parsing and
8038 handling library written in C89 (\"ANSI C\"). uriparser is fast and supports
8040 (home-page "https://uriparser.github.io/")
8041 (license license:bsd-3))))