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 ;; Users should instead make sure SSL_ca_path is set properly.
3880 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3881 ("perl-net-http" ,perl-net-http)))
3882 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3883 (synopsis "HTTPS support for LWP::UserAgent")
3884 (description "The LWP::Protocol::https module provides support for using
3885 https schemed URLs with LWP.")
3886 (license license:perl-license)))
3888 (define-public perl-lwp-useragent-cached
3890 (name "perl-lwp-useragent-cached")
3895 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3896 "LWP-UserAgent-Cached-" version ".tar.gz"))
3899 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3900 (build-system perl-build-system)
3902 `(("perl-libwww" ,perl-libwww)))
3903 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3904 (synopsis "Simple caching for LWP::UserAgent")
3905 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3906 cache support. It returns responses from the local file system, if available,
3907 instead of making an HTTP request.")
3908 (license license:perl-license)))
3910 (define-public perl-lwp-useragent-determined
3912 (name "perl-lwp-useragent-determined")
3917 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3918 "LWP-UserAgent-Determined-" version ".tar.gz"))
3921 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3922 (build-system perl-build-system)
3924 `(("perl-libwww" ,perl-libwww)))
3925 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3926 (synopsis "Virtual browser that retries errors")
3927 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3928 except that when you use it to get a web page but run into a
3929 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3930 and retry a few times.")
3931 (license license:perl-license)))
3933 (define-public perl-lwpx-paranoidagent
3935 (name "perl-lwpx-paranoidagent")
3941 "mirror://cpan/authors/id/S/SA/SAXJAZMAN/lwp/LWPx-ParanoidAgent-"
3945 "0gfhw3jbs25yya2dryv8xvyn9myngcfcmsybj7gkq62fnznil16c"))))
3946 (build-system perl-build-system)
3948 `(("perl-libwww" ,perl-libwww)
3949 ;; Users should instead make sure SSL_ca_path is set properly.
3950 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3951 ("perl-net-dns" ,perl-net-dns)))
3952 (home-page "https://metacpan.org/release/LWPx-ParanoidAgent")
3953 (synopsis "Security enhanced subclass of LWP::UserAgent")
3954 (description "@code{LWPx::ParanoidAgent} is a class subclassing
3955 @code{LWP::UserAgent} but paranoid against attackers. Its purpose is
3956 to vet requests for a remote resource on behalf of a possibly
3957 malicious user. The class can do the same as @code{LWP::UserAgent},
3958 except that proxy support has been removed. Support for URI schemes
3959 is limited to http and https.")
3960 (license license:perl-license)))
3962 (define-public perl-net-amazon-s3
3964 (name "perl-net-amazon-s3")
3969 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3970 "Net-Amazon-S3-" version ".tar.gz"))
3973 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3974 (patches (search-patches
3975 "perl-net-amazon-s3-moose-warning.patch"))))
3976 (build-system perl-build-system)
3978 `(("perl-libwww" ,perl-libwww)
3979 ("perl-test-exception" ,perl-test-exception)))
3981 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3982 ("perl-datetime-format-http" ,perl-datetime-format-http)
3983 ("perl-digest-hmac" ,perl-digest-hmac)
3984 ("perl-digest-md5-file" ,perl-digest-md5-file)
3985 ("perl-file-find-rule" ,perl-file-find-rule)
3986 ("perl-http-date" ,perl-http-date)
3987 ("perl-http-message" ,perl-http-message)
3988 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3989 ("perl-mime-types" ,perl-mime-types)
3990 ("perl-moose" ,perl-moose)
3991 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3992 ("perl-moosex-types-datetime-morecoercions"
3993 ,perl-moosex-types-datetime-morecoercions)
3994 ("perl-path-class" ,perl-path-class)
3995 ("perl-regexp-common" ,perl-regexp-common)
3996 ("perl-term-encoding" ,perl-term-encoding)
3997 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3998 ("perl-uri" ,perl-uri)
3999 ("perl-xml-libxml" ,perl-xml-libxml)))
4000 (home-page "https://metacpan.org/release/Net-Amazon-S3")
4001 (synopsis "Perl interface to Amazon S3")
4002 (description "This module provides a Perlish interface to Amazon S3.")
4003 (license license:perl-license)))
4005 (define-public perl-net-http
4007 (name "perl-net-http")
4012 "mirror://cpan/authors/id/O/OA/OALDERS/"
4013 "Net-HTTP-" version ".tar.gz"))
4016 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
4017 (build-system perl-build-system)
4019 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
4020 ("perl-uri" ,perl-uri)))
4021 (license license:perl-license)
4022 (synopsis "Perl low-level HTTP connection (client)")
4024 "The Net::HTTP class is a low-level HTTP client. An instance of the
4025 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
4026 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
4028 (home-page "https://metacpan.org/release/Net-HTTP")))
4030 (define-public perl-net-server
4032 (name "perl-net-server")
4037 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
4038 "Net-Server-" version ".tar.gz"))
4041 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
4042 (build-system perl-build-system)
4043 (home-page "https://metacpan.org/release/Net-Server")
4044 (synopsis "Extensible Perl server engine")
4045 (description "Net::Server is an extensible, generic Perl server engine.
4046 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
4047 It includes with it the ability to run as an inetd
4048 process (Net::Server::INET), a single connection server (Net::Server or
4049 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
4050 server which maintains a constant number of preforked
4051 children (Net::Server::PreForkSimple), or as a managed preforking server which
4052 maintains the number of children based on server load (Net::Server::PreFork).
4053 In all but the inetd type, the server provides the ability to connect to one
4054 or to multiple server ports.")
4055 (license license:perl-license)))
4057 (define-public perl-net-smtp-ssl
4059 (name "perl-net-smtp-ssl")
4064 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
4065 "Net-SMTP-SSL-" version ".tar.gz"))
4068 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
4069 (build-system perl-build-system)
4071 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
4072 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
4073 (synopsis "SSL support for Net::SMTP")
4074 (description "SSL support for Net::SMTP.")
4075 (license license:perl-license)))
4077 (define-public perl-plack
4084 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4085 "Plack-" version ".tar.gz"))
4088 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
4089 (build-system perl-build-system)
4091 `(("perl-test-requires" ,perl-test-requires)
4092 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
4094 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
4095 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
4096 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
4097 ("perl-file-sharedir" ,perl-file-sharedir)
4098 ("perl-hash-multivalue" ,perl-hash-multivalue)
4099 ("perl-http-body" ,perl-http-body)
4100 ("perl-http-message" ,perl-http-message)
4101 ("perl-http-tiny" ,perl-http-tiny)
4102 ("perl-libwww" ,perl-libwww)
4103 ("perl-stream-buffered" ,perl-stream-buffered)
4104 ("perl-test-tcp" ,perl-test-tcp)
4105 ("perl-try-tiny" ,perl-try-tiny)
4106 ("perl-uri" ,perl-uri)))
4107 (home-page "https://metacpan.org/release/Plack")
4108 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
4109 (description "Plack is a set of tools for using the PSGI stack. It
4110 contains middleware components, a reference server, and utilities for Web
4111 application frameworks. Plack is like Ruby's Rack or Python's Paste for
4113 (license license:perl-license)))
4115 (define-public perl-plack-middleware-deflater
4117 (name "perl-plack-middleware-deflater")
4123 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
4124 "Plack-Middleware-Deflater-" version ".tar.gz"))
4127 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
4128 (build-system perl-build-system)
4130 `(("perl-module-install" ,perl-module-install)
4131 ("perl-test-requires" ,perl-test-requires)))
4133 `(("perl-plack" ,perl-plack)))
4134 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
4135 (synopsis "Compress response body with Gzip or Deflate")
4137 "Plack::Middleware::Deflater is a middleware to encode your response body
4138 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
4139 would save the bandwidth a little bit but should increase the Plack server
4140 load, so ideally you should handle this on the frontend reverse proxy
4142 (license license:perl-license)))
4144 (define-public perl-plack-middleware-fixmissingbodyinredirect
4146 (name "perl-plack-middleware-fixmissingbodyinredirect")
4151 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4152 "Plack-Middleware-FixMissingBodyInRedirect-"
4156 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
4157 (build-system perl-build-system)
4159 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
4160 ("perl-http-message" ,perl-http-message)
4161 ("perl-plack" ,perl-plack))) ;for Plack::Test
4163 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
4164 (synopsis "Plack::Middleware which sets body for redirect response")
4165 (description "This module sets the body in redirect response, if it's not
4167 (license license:perl-license)))
4169 (define-public perl-plack-middleware-methodoverride
4171 (name "perl-plack-middleware-methodoverride")
4176 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4177 "Plack-Middleware-MethodOverride-"
4180 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
4181 (build-system perl-build-system)
4183 `(("perl-module-build" ,perl-module-build)))
4185 `(("perl-plack" ,perl-plack)))
4186 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
4187 (synopsis "Override REST methods to Plack apps via POST")
4188 (description "This middleware allows for POST requests that pretend to be
4189 something else: by adding either a header named X-HTTP-Method-Override to the
4190 request, or a query parameter named x-tunneled-method to the URI, the client
4191 can say what method it actually meant.")
4192 (license license:perl-license)))
4194 (define-public perl-plack-middleware-removeredundantbody
4196 (name "perl-plack-middleware-removeredundantbody")
4201 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4202 "Plack-Middleware-RemoveRedundantBody-"
4205 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
4206 (build-system perl-build-system)
4208 `(("perl-plack" ,perl-plack)))
4210 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
4211 (synopsis "Plack::Middleware which removes body for HTTP response")
4212 (description "This module removes the body in an HTTP response if it's not
4214 (license license:perl-license)))
4216 (define-public perl-plack-middleware-reverseproxy
4218 (name "perl-plack-middleware-reverseproxy")
4223 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4224 "Plack-Middleware-ReverseProxy-"
4227 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
4228 (build-system perl-build-system)
4230 `(("perl-module-install" ,perl-module-install)))
4232 `(("perl-plack" ,perl-plack)))
4233 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
4234 (synopsis "Supports app to run as a reverse proxy backend")
4235 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
4236 which are changed by reverse-proxy. You can specify the reverse proxy address
4237 and stop fake requests using @code{enable_if} directive in your app.psgi.")
4238 (license license:perl-license)))
4240 (define-public perl-plack-test-externalserver
4242 (name "perl-plack-test-externalserver")
4247 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
4248 "Plack-Test-ExternalServer-" version ".tar.gz"))
4250 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
4251 (build-system perl-build-system)
4253 `(("perl-plack" ,perl-plack)))
4254 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
4255 (synopsis "Run HTTP tests on external live servers")
4256 (description "This module allows your to run your Plack::Test tests
4257 against an external server instead of just against a local application through
4258 either mocked HTTP or a locally spawned server.")
4259 (license license:perl-license)))
4261 (define-public perl-test-tcp
4263 (name "perl-test-tcp")
4268 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4269 "Test-TCP-" version ".tar.gz"))
4271 (base32 "0mvv9rqwrwlcfh8qrs0s47p85rhlnw15d4gbpyi802bddp0c6lry"))))
4272 (build-system perl-build-system)
4274 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
4275 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
4276 (home-page "https://metacpan.org/release/Test-TCP")
4277 (synopsis "Testing TCP programs")
4278 (description "Test::TCP is test utilities for TCP/IP programs.")
4279 (license license:perl-license)))
4281 (define-public perl-test-www-mechanize
4283 (name "perl-test-www-mechanize")
4288 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
4289 "Test-WWW-Mechanize-" version ".tar.gz"))
4291 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
4292 (build-system perl-build-system)
4294 `(("perl-carp-assert-more" ,perl-carp-assert-more)
4295 ("perl-html-form" ,perl-html-form)
4296 ("perl-html-lint" ,perl-html-lint)
4297 ("perl-http-server-simple" ,perl-http-server-simple)
4298 ("perl-libwww" ,perl-libwww)
4299 ("perl-test-longstring" ,perl-test-longstring)
4300 ("perl-www-mechanize" ,perl-www-mechanize)))
4301 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
4302 (synopsis "Testing-specific WWW::Mechanize subclass")
4303 (description "Test::WWW::Mechanize is a subclass of the Perl module
4304 WWW::Mechanize that incorporates features for web application testing.")
4305 (license license:artistic2.0)))
4307 (define-public perl-test-www-mechanize-catalyst
4309 (name "perl-test-www-mechanize-catalyst")
4314 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
4315 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
4317 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
4318 (build-system perl-build-system)
4320 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
4321 ("perl-catalyst-plugin-session-state-cookie"
4322 ,perl-catalyst-plugin-session-state-cookie)
4323 ("perl-module-install" ,perl-module-install)
4324 ("perl-test-exception" ,perl-test-exception)
4325 ("perl-test-pod" ,perl-test-pod)
4326 ("perl-test-utf8" ,perl-test-utf8)))
4328 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4329 ("perl-class-load" ,perl-class-load)
4330 ("perl-libwww" ,perl-libwww)
4331 ("perl-moose" ,perl-moose)
4332 ("perl-namespace-clean" ,perl-namespace-clean)
4333 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4334 ("perl-www-mechanize" ,perl-www-mechanize)))
4335 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4336 (synopsis "Test::WWW::Mechanize for Catalyst")
4337 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4338 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4339 testing of Catalyst applications without needing to start up a web server.")
4340 (license license:perl-license)))
4342 (define-public perl-test-www-mechanize-psgi
4344 (name "perl-test-www-mechanize-psgi")
4349 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4350 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4353 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4354 (build-system perl-build-system)
4356 `(("perl-test-pod" ,perl-test-pod)))
4358 `(("perl-plack" ,perl-plack)
4359 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4360 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4361 (synopsis "Test PSGI programs using WWW::Mechanize")
4362 (description "PSGI is a specification to decouple web server environments
4363 from web application framework code. Test::WWW::Mechanize is a subclass of
4364 WWW::Mechanize that incorporates features for web application testing. The
4365 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4367 (license license:perl-license)))
4369 (define-public perl-uri
4375 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4376 "URI-" version ".tar.gz"))
4379 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4380 (build-system perl-build-system)
4383 `(("perl-test-needs" ,perl-test-needs)))
4384 (license license:perl-license)
4385 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4387 "The URI module implements the URI class. Objects of this class
4388 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4389 and updated by RFC 2732.")
4390 (home-page "https://metacpan.org/release/URI")))
4392 (define-public perl-uri-fetch
4394 (name "perl-uri-fetch")
4398 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4399 "URI-Fetch-" version ".tar.gz"))
4402 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4403 (build-system perl-build-system)
4405 `(#:tests? #f)) ; Tests require internet connection to succeed
4407 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4408 ("perl-libwww" ,perl-libwww)
4409 ("perl-uri" ,perl-uri)))
4410 (home-page "https://metacpan.org/release/URI-Fetch")
4411 (synopsis "Smart URI fetching/caching")
4412 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4413 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4414 and time-saving way.")
4415 (license license:perl-license)))
4417 (define-public perl-uri-find
4419 (name "perl-uri-find")
4420 (version "20160806")
4424 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4425 "URI-Find-" version ".tar.gz"))
4428 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4429 (build-system perl-build-system)
4431 `(("perl-module-build" ,perl-module-build)))
4433 `(("perl-uri" ,perl-uri)))
4434 (home-page "https://metacpan.org/release/URI-Find")
4435 (synopsis "Find URIs in arbitrary text")
4436 (description "This module finds URIs and URLs (according to what URI.pm
4437 considers a URI) in plain text. It only finds URIs which include a
4438 scheme (http:// or the like), for something a bit less strict, consider
4439 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4440 (license license:perl-license)))
4442 (define-public perl-uri-ws
4444 (name "perl-uri-ws")
4449 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4450 "URI-ws-" version ".tar.gz"))
4453 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4454 (build-system perl-build-system)
4456 `(("perl-uri" ,perl-uri)))
4457 (home-page "https://metacpan.org/release/URI-ws")
4458 (synopsis "WebSocket support for URI package")
4459 (description "With this module, the URI package provides the same set of
4460 methods for WebSocket URIs as it does for HTTP URIs.")
4461 (license license:perl-license)))
4463 (define-public perl-uri-template
4465 (name "perl-uri-template")
4469 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4473 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4474 (build-system perl-build-system)
4476 `(("perl-uri" ,perl-uri)))
4478 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4479 ("perl-test-pod" ,perl-test-pod)
4480 ("perl-module-install" ,perl-module-install)
4481 ("perl-json" ,perl-json)))
4482 (home-page "https://metacpan.org/release/URI-Template")
4483 (synopsis "Object for handling URI templates")
4484 (description "This perl module provides a wrapper around URI templates as described in
4486 (license license:perl-license)))
4488 (define-public perl-www-curl
4490 (name "perl-www-curl")
4495 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4497 (patches (search-patches "perl-www-curl-fix-struct-void.patch"
4498 "perl-www-curl-remove-symbol.patch"))
4501 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4502 (build-system perl-build-system)
4504 '(#:tests? #f ;XXX: tests require network access
4505 #:phases (modify-phases %standard-phases
4506 (add-before 'configure 'set-search-path
4508 ;; Work around "dotless @INC" build failure.
4510 (string-append (getcwd) ":"
4511 (getenv "PERL5LIB")))
4514 `(("perl-module-install" ,perl-module-install)))
4515 (inputs `(("curl" ,curl)))
4516 (synopsis "Perl extension interface for libcurl")
4518 "This is a Perl extension interface for the libcurl file downloading
4520 (license license:perl-license)
4521 (home-page "https://metacpan.org/release/WWW-Curl")))
4523 (define-public perl-www-mechanize
4525 (name "perl-www-mechanize")
4530 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4531 "WWW-Mechanize-" version ".tar.gz"))
4533 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4534 (build-system perl-build-system)
4535 (native-inputs ;only for tests
4536 `(("perl-cgi" ,perl-cgi)
4537 ("perl-test-deep" ,perl-test-deep)
4538 ("perl-test-fatal" ,perl-test-fatal)
4539 ("perl-test-output" ,perl-test-output)
4540 ("perl-test-warnings" ,perl-test-warnings)))
4542 `(("perl-html-form" ,perl-html-form)
4543 ("perl-html-parser" ,perl-html-parser)
4544 ("perl-html-tree" ,perl-html-tree)
4545 ("perl-http-message" ,perl-http-message)
4546 ("perl-http-server-simple" ,perl-http-server-simple)
4547 ("perl-libwww" ,perl-libwww)
4548 ("perl-test-warn" ,perl-test-warn)
4549 ("perl-uri" ,perl-uri)))
4550 (home-page "https://metacpan.org/release/WWW-Mechanize")
4551 (synopsis "Web browsing in a Perl object")
4552 (description "WWW::Mechanize is a Perl module for stateful programmatic
4553 web browsing, used for automating interaction with websites.")
4554 (license license:perl-license)))
4556 (define-public perl-www-opensearch
4558 (name "perl-www-opensearch")
4562 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4563 "WWW-OpenSearch-" version ".tar.gz"))
4566 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4567 (build-system perl-build-system)
4569 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4570 ("perl-datetime" ,perl-datetime)
4571 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4572 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4573 ("perl-feed-find" ,perl-feed-find)
4574 ("perl-module-install" ,perl-module-install)
4575 ("perl-module-pluggable" ,perl-module-pluggable)
4576 ("perl-uri-fetch" ,perl-uri-fetch)
4577 ("perl-test-simple" ,perl-test-simple)
4578 ("perl-xml-atom" ,perl-xml-atom)
4579 ("perl-xml-rss" ,perl-xml-rss)))
4581 `(("perl-data-page" ,perl-data-page)
4582 ("perl-libwww" ,perl-libwww)
4583 ("perl-uri" ,perl-uri)
4584 ("perl-uri-template" ,perl-uri-template)
4585 ("perl-xml-feed" ,perl-xml-feed)
4586 ("perl-xml-libxml" ,perl-xml-libxml)))
4587 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4588 (synopsis "Search A9 OpenSearch compatible engines")
4590 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4591 http://opensearch.a9.com} compatible search engines.")
4592 (license license:perl-license)))
4594 (define-public perl-www-robotrules
4596 (name "perl-www-robotrules")
4601 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4605 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4606 (build-system perl-build-system)
4608 `(("perl-uri" ,perl-uri)))
4609 (license license:perl-license)
4610 (synopsis "Perl database of robots.txt-derived permissions")
4612 "The WWW::RobotRules module parses /robots.txt files as specified in
4613 \"A Standard for Robot Exclusion\", at
4614 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4615 /robots.txt file to forbid conforming robots from accessing parts of
4617 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4619 (define-public python-feedparser
4621 (name "python-feedparser")
4626 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4629 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4630 (build-system python-build-system)
4634 "https://github.com/kurtmckee/feedparser")
4635 (synopsis "Parse feeds in Python")
4637 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4638 CDF, Atom 0.3, and Atom 1.0 feeds.")
4639 (license (list license:bsd-2 ; source code
4640 license:freebsd-doc)))) ; documentation
4642 (define-public python2-feedparser
4643 (package-with-python2 python-feedparser))
4645 (define-public guix-data-service
4646 (let ((commit "c596a1c6a90bb2fe07da5339b8dc832b81d94194")
4649 (name "guix-data-service")
4650 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4654 (url "https://git.savannah.gnu.org/git/guix/data-service.git")
4656 (file-name (git-file-name name version))
4659 "09gn2imhh3aqkzray0xgkz7slriy567inh5lpkxm74bgmx862g3g"))))
4660 (build-system gnu-build-system)
4662 '(#:modules ((guix build utils)
4663 (guix build gnu-build-system)
4668 #:test-target "check-with-tmp-database"
4670 (modify-phases %standard-phases
4671 (add-before 'build 'set-GUILE_AUTO_COMPILE
4673 ;; To avoid warnings relating to 'guild'.
4674 (setenv "GUILE_AUTO_COMPILE" "0")
4676 (add-after 'install 'wrap-executable
4677 (lambda* (#:key inputs outputs #:allow-other-keys)
4678 (let* ((out (assoc-ref outputs "out"))
4679 (bin (string-append out "/bin"))
4680 (guile (assoc-ref inputs "guile"))
4681 (guile-effective-version
4683 (open-pipe* OPEN_READ
4684 (string-append guile "/bin/guile")
4685 "-c" "(display (effective-version))")))
4686 (scm (string-append out "/share/guile/site/"
4687 guile-effective-version))
4688 (go (string-append out "/lib/guile/"
4689 guile-effective-version
4693 (simple-format (current-error-port)
4695 (string-append bin "/" file))
4696 (wrap-program (string-append bin "/" file)
4700 (map (lambda (input)
4702 (assoc-ref inputs input)
4707 `("GUILE_LOAD_PATH" ":" prefix
4708 (,scm ,(getenv "GUILE_LOAD_PATH")))
4709 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4710 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4716 (delete 'strip)))) ; As the .go files aren't compatible
4718 `(("guix" ,guile3.0-guix)
4719 ("guile-fibers" ,guile3.0-fibers)
4720 ("guile-json" ,guile3.0-json)
4721 ("guile-email" ,guile3.0-email)
4722 ("guile-prometheus" ,guile-prometheus)
4723 ("guile-squee" ,guile3.0-squee)
4724 ("ephemeralpg" ,ephemeralpg)
4725 ("util-linux" ,util-linux)
4726 ("postgresql" ,postgresql-11)
4727 ("sqitch" ,sqitch)))
4729 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
4730 ("autoconf" ,autoconf)
4731 ("automake" ,automake)
4732 ("emacs-minimal" ,emacs-minimal)
4733 ("emacs-htmlize" ,emacs-htmlize)
4734 ("pkg-config" ,pkg-config)))
4735 (synopsis "Store and provide data about GNU Guix")
4737 "The Guix Data Service stores data about GNU Guix, and provides this
4738 through a web interface. It supports listening to the guix-commits mailing
4739 list to find out about new revisions, then loads the data from these in to a
4740 PostgreSQL database.")
4741 (home-page "http://data.guix.gnu.org/")
4742 (license license:agpl3+))))
4744 (define-public gumbo-parser
4746 (name "gumbo-parser")
4751 (url "https://github.com/google/gumbo-parser")
4752 (commit (string-append "v" version))))
4753 (file-name (git-file-name name version))
4756 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4757 (build-system gnu-build-system)
4759 `(#:tests? #f)) ;tests require bundling googletest sources
4760 ;; The release tarball lacks the generated files.
4762 `(("autoconf" ,autoconf)
4763 ("automake" ,automake)
4764 ("libtool" ,libtool)))
4765 (home-page "https://github.com/google/gumbo-parser")
4766 (synopsis "HTML5 parsing library")
4768 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4769 a pure C99 library.")
4770 (license license:asl2.0)))
4772 (define-public uwsgi
4778 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4782 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4783 (build-system gnu-build-system)
4784 (outputs '("out" "python"))
4786 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4787 ;; But there is no obvious way to run the real tests.
4790 (modify-phases %standard-phases
4792 ;; Configuration is done by writing an ini file.
4793 (lambda* (#:key outputs #:allow-other-keys)
4794 (let* ((out (assoc-ref outputs "out"))
4795 (bindir (string-append out "/bin"))
4796 (plugindir (string-append out "/lib/uwsgi")))
4797 ;; The build phase outputs files to these directories directly.
4800 ;; XXX: Enable other plugins.
4801 (call-with-output-file "buildconf/guix.ini"
4803 (format port "[uwsgi]
4809 plugins = cgi,python
4811 " bindir plugindir))))
4812 (setenv "PROFILE" "guix")
4815 ;; Move plugins into their own output.
4816 (lambda* (#:key outputs #:allow-other-keys)
4817 (let* ((out (assoc-ref outputs "out"))
4818 (plugindir (string-append out "/lib/uwsgi"))
4819 (python-plugin (string-append
4820 plugindir "/python_plugin.so")))
4821 (install-file python-plugin
4823 (assoc-ref outputs "python") "/lib/uwsgi"))
4824 (delete-file python-plugin)
4827 `(("pkg-config" ,pkg-config)
4828 ("python" ,python-wrapper)))
4830 `(("jansson" ,jansson)
4831 ("libxml2" ,libxml2)
4832 ("libyaml" ,libyaml)
4833 ("openssl" ,openssl)
4837 ("python" ,python)))
4838 (home-page "https://uwsgi-docs.readthedocs.org/")
4839 (synopsis "Application container server")
4841 "uWSGI presents a complete stack for networked/clustered web applications,
4842 implementing message/object passing, caching, RPC and process management.
4843 It uses the uwsgi protocol for all the networking/interprocess communications.")
4844 (license license:gpl2+))) ; with linking exception
4853 (uri (string-append "https://github.com/stedolan/jq"
4854 "/releases/download/jq-" version
4855 "/jq-" version ".tar.gz"))
4857 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4858 (modules '((guix build utils)))
4861 ;; Remove bundled onigurama.
4862 (delete-file-recursively "modules")
4865 `(("oniguruma" ,oniguruma)))
4867 `(;; TODO fix gems to generate documentation
4869 ;;("bundler" ,bundler)
4870 ("valgrind" ,valgrind)))
4871 (build-system gnu-build-system)
4872 (home-page "https://stedolan.github.io/jq/")
4873 (synopsis "Command-line JSON processor")
4874 (description "jq is like sed for JSON data – you can use it to slice and
4875 filter and map and transform structured data with the same ease that sed, awk,
4876 grep and friends let you play with text. It is written in portable C. jq can
4877 mangle the data format that you have into the one that you want with very
4878 little effort, and the program to do so is often shorter and simpler than
4880 (license (list license:expat license:cc-by3.0))))
4882 (define-public uhttpmock
4889 (uri (string-append "https://tecnocode.co.uk/downloads/uhttpmock/"
4890 "uhttpmock-" version ".tar.xz"))
4892 (base32 "0bqizz69hxk8rn4z57asz1d45vizl1rj6i5k3rzxn2x3qcik514h"))))
4893 (build-system glib-or-gtk-build-system)
4895 `(("gobject-introspection" ,gobject-introspection)
4897 ("glib-networking" ,glib-networking)
4898 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4899 ("pkg-config" ,pkg-config)))
4901 `(("libsoup" ,libsoup)))
4902 (home-page "https://gitlab.com/groups/uhttpmock")
4903 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4905 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4906 HTTPS. It provides a library, libuhttpmock, which implements recording and
4907 playback of HTTP request/response traces.")
4908 (license license:lgpl2.1+)))
4913 (version "2012-05-31")
4917 "http://www.home.unix-ag.org/simon/woof-"
4921 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4922 (build-system trivial-build-system)
4924 '(#:modules ((guix build utils))
4927 (use-modules (guix build utils))
4928 (let* ((source (assoc-ref %build-inputs "source"))
4929 (out (assoc-ref %outputs "out"))
4930 (bin (string-append out "/bin"))
4931 (python (assoc-ref %build-inputs "python")))
4933 (with-directory-excursion bin
4934 (copy-file source "woof")
4935 (patch-shebang "woof" (list (string-append python "/bin")))
4936 (chmod "woof" #o555))
4938 (inputs `(("python" ,python-2)))
4939 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4940 (synopsis "Single file web server")
4941 (description "Woof (Web Offer One File) is a small simple web server that
4942 can easily be invoked on a single file. Your partner can access the file with
4943 tools they trust (e.g. wget).")
4944 (license license:gpl2+)))
4946 (define netsurf-buildsystem
4948 (name "netsurf-buildsystem")
4953 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4954 "buildsystem-" version ".tar.gz"))
4957 "0alsmaig9ln8dgllb3z63gq90fiz75jz0ic71fi0k0k898qix14k"))))
4958 (build-system gnu-build-system)
4959 (inputs `(("perl" ,perl)))
4961 '(#:make-flags (list (string-append "PREFIX=" %output))
4962 #:tests? #f ;no tests
4963 #:phases (modify-phases %standard-phases
4966 (home-page "https://www.netsurf-browser.org")
4967 (synopsis "Build system for the Netsurf project")
4969 "This package provides the shared build system for Netsurf project
4971 (license license:expat)))
4973 (define netsurf-buildsystem-arguments
4974 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4975 "CC=gcc" "BUILD_CC=gcc"
4976 ,(string-append "PREFIX=" %output)
4977 ,(string-append "NSSHARED="
4978 (assoc-ref %build-inputs
4979 "netsurf-buildsystem")
4980 "/share/netsurf-buildsystem"))
4981 #:test-target "test"
4982 #:phases (modify-phases %standard-phases
4983 (delete 'configure))))
4985 (define-public libparserutils
4987 (name "libparserutils")
4992 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4993 name "-" version "-src.tar.gz"))
4996 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4997 (build-system gnu-build-system)
4999 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5000 ("pkg-config" ,pkg-config)
5001 ("perl" ,perl))) ;for test harness
5002 (arguments netsurf-buildsystem-arguments)
5003 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
5004 (synopsis "Parser building library")
5006 "LibParserUtils is a library for building efficient parsers, written in
5007 C. It is developed as part of the NetSurf project.")
5008 (license license:expat)))
5010 (define-public hubbub
5017 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5018 "libhubbub-" version "-src.tar.gz"))
5021 "1dimfyblmym98qa1b80c5jslv2zk8r44xbdrgrsrw1n9wr9y4yly"))
5022 (patches (search-patches "hubbub-sort-entities.patch"))))
5023 (build-system gnu-build-system)
5025 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5026 ("pkg-config" ,pkg-config)
5027 ("doxygen" ,doxygen)
5028 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
5031 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
5032 (arguments netsurf-buildsystem-arguments)
5033 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
5034 (synopsis "HTML5 compliant parsing library")
5036 "Hubbub is an HTML5 compliant parsing library, written in C, which can
5037 parse both valid and invalid web content. It is developed as part of the
5039 (license license:expat)))
5041 (define-public ikiwiki
5044 (version "3.20200202.3")
5049 (url "git://git.ikiwiki.info/")
5051 (file-name (git-file-name name version))
5054 "0fphyqzlk9y8v9s89ypsmrnbhyymzrpc2w0liy0n4knc7kk2pabq"))
5057 ;; The POT file requires write permission during the build
5059 (chmod "po/ikiwiki.pot" #o644)
5061 (build-system perl-build-system)
5064 (modify-phases %standard-phases
5065 (add-after 'patch-source-shebangs 'patch-Makefiles
5067 (substitute* "Makefile.PL"
5068 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
5069 (with-directory-excursion "po"
5070 (substitute* "Makefile"
5071 (("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
5073 (add-before 'build 'set-modification-times
5074 ;; The wiki '--refresh' steps, which are executed during
5075 ;; the check phase, require recent timestamps on files in
5076 ;; the 'doc' and 'underlays' directories.
5078 (invoke "find" "doc" "underlays" "-type" "f" "-exec"
5081 (add-before 'check 'pre-check
5082 (lambda* (#:key inputs #:allow-other-keys)
5083 ;; Six tests use IPC::Run. For these tests the PERL5LIB
5084 ;; variable is needed in the runtime environment and also
5085 ;; in the search path list in the setup file.
5087 '("t/aggregate-file.t" "t/git-cgi.t" "t/git-untrusted.t"
5088 "t/passwordauth.t" "t/relativity.t" "t/wrapper-environ.t")
5089 (("(.*)\"perl\"(.*)$" _ prefix suffix)
5090 (string-append prefix "qw(env), 'PERL5LIB='.$ENV{PERL5LIB}"
5091 ", qw(perl)" suffix))
5092 (("(.*) PERL5LIB=(.*) perl(.*)$" _ prefix middle suffix)
5093 (string-append prefix "), 'PERL5LIB='.$ENV{PERL5LIB}.':"
5094 middle "', qw(perl" suffix))
5095 (("(.*)setup(.* )getcwd(.*)$" _ prefix middle suffix)
5096 (string-append prefix "setup" middle
5097 "$ENV{PERL5LIB}.':'.getcwd" suffix))
5098 (("^ENV(.*): '(.*)$" _ middle suffix)
5099 (string-append "ENV" middle
5100 ": '$ENV{PERL5LIB}:" suffix)))
5101 ;; XDG_DATA_DIRS is needed by the podcast.t test.
5102 (setenv "XDG_DATA_DIRS"
5103 (string-append (assoc-ref inputs "shared-mime-info")
5105 ;; CC is needed by IkiWiki/Wrapper.pm.
5108 (add-after 'install 'wrap-programs
5109 (lambda* (#:key outputs #:allow-other-keys)
5110 (let* ((out (assoc-ref outputs "out"))
5111 (bin (string-append out "/bin/"))
5112 (path (getenv "PERL5LIB")))
5113 (for-each (lambda (file)
5115 `("PERL5LIB" ":" prefix (,path))))
5120 ("gettext" ,gettext-minimal)
5121 ("subversion" ,subversion)
5125 ("mercurial" ,mercurial)))
5127 `(("python" ,python-wrapper)
5128 ("perl-authen-passphrase" ,perl-authen-passphrase)
5129 ("perl-cgi-simple" ,perl-cgi-simple)
5130 ("perl-db-file" ,perl-db-file)
5131 ("perl-file-mimeinfo" ,perl-file-mimeinfo)
5132 ("perl-html-tagset" ,perl-html-tagset)
5133 ("perl-image-magick" ,perl-image-magick)
5134 ("perl-ipc-run" ,perl-ipc-run)
5135 ("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
5136 ("perl-xml-feed" ,perl-xml-feed)
5137 ("perl-xml-sax" ,perl-xml-sax)
5138 ("perl-xml-twig" ,perl-xml-twig)
5141 `(("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
5142 ("perl-cgi-session" ,perl-cgi-session)
5143 ("perl-html-parser" ,perl-html-parser)
5144 ("perl-html-scrubber" ,perl-html-scrubber)
5145 ("perl-html-template" ,perl-html-template)
5146 ("perl-json" ,perl-json)
5147 ("perl-mail-sendmail" ,perl-mail-sendmail)
5148 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
5149 ("perl-timedate" ,perl-timedate)
5150 ("perl-uri" ,perl-uri)
5151 ("perl-xml-simple" ,perl-xml-simple)
5152 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
5153 (home-page "https://ikiwiki.info/")
5154 (synopsis "Wiki compiler, capable of generating HTML")
5156 "Ikiwiki is a wiki compiler, capable of generating a static set of web
5157 pages, but also incorporating dynamic features like a web based editor and
5159 (license license:gpl2+)))
5161 (define-public libwapcaplet
5163 (name "libwapcaplet")
5168 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5169 "libwapcaplet-" version "-src.tar.gz"))
5172 "0p0c2q9lsj4vs97aa7vjllfhw33zv3dpysdkjblzhib6dpfs2alv"))))
5173 (build-system gnu-build-system)
5175 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5176 ("pkg-config" ,pkg-config)
5177 ("check" ,check-0.14))) ;for tests
5178 (arguments netsurf-buildsystem-arguments)
5179 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
5180 (synopsis "String internment library")
5182 "LibWapcaplet provides a reference counted string internment system
5183 designed to store small strings and allow rapid comparison of them. It is
5184 developed as part of the Netsurf project.")
5185 (license license:expat)))
5187 (define-public libcss
5194 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5195 "libcss-" version "-src.tar.gz"))
5198 "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
5199 (build-system gnu-build-system)
5201 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5202 ("pkg-config" ,pkg-config)
5204 (propagated-inputs ;needed for libcss.pc
5205 `(("libparserutils" ,libparserutils)
5206 ("libwapcaplet" ,libwapcaplet)))
5207 (arguments netsurf-buildsystem-arguments)
5208 (home-page "https://www.netsurf-browser.org/projects/libcss/")
5209 (synopsis "CSS parser and selection library")
5211 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
5212 written in C. It is developed as part of the NetSurf project.")
5213 (license license:expat)))
5215 (define-public libcyaml
5223 (url "https://github.com/tlsa/libcyaml")
5224 (commit (string-append "v" version))))
5225 (file-name (git-file-name name version))
5226 (patches (search-patches "libcyaml-libyaml-compat.patch"))
5228 (base32 "0428p0rwq71nhh5nzcbapsbrjxa0x5l6h6ns32nxv7j624f0zd93"))))
5229 (build-system gnu-build-system)
5232 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5233 (string-append "CC=gcc"))
5235 (modify-phases %standard-phases
5236 (delete 'configure) ; no configure script
5240 (invoke "make" "test"))))))
5242 `(("libyaml" ,libyaml)))
5244 `(("pkg-config" ,pkg-config)))
5245 (synopsis "C library for reading and writing YAML")
5247 "LibCYAML is a C library written in ISO C11 for reading and writing
5248 structured YAML documents. The fundamental idea behind CYAML is to allow
5249 applications to construct schemas which describe both the permissible
5250 structure of the YAML documents to read/write, and the C data structure(s)
5251 in which the loaded data is arranged in memory.")
5252 (home-page "https://github.com/tlsa/libcyaml")
5253 (license license:isc)))
5255 (define-public libdom
5262 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5263 "libdom-" version "-src.tar.gz"))
5266 "0jpg5hx3y0mdxk5szd47dyijqimd2321brbqk2620pp5f4j0gvlq"))))
5267 (build-system gnu-build-system)
5269 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5270 ("pkg-config" ,pkg-config)
5271 ("perl" ,perl) ;for test harness
5272 ("perl-libxml" ,perl-libxml)
5273 ("perl-switch" ,perl-switch)
5274 ("perl-xml-xpath" ,perl-xml-xpath)))
5276 `(("libparserutils" ,libparserutils)
5277 ("libwapcaplet" ,libwapcaplet)))
5279 `(("expat" ,expat) ;needed for headers and linking
5280 ("hubbub" ,hubbub))) ;for libdom.pc
5282 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
5283 ,@netsurf-buildsystem-arguments))
5284 (home-page "https://www.netsurf-browser.org/projects/libdom/")
5285 (synopsis "Implementation of the W3C DOM")
5287 "LibDOM is an implementation of the W3C DOM, written in C. It is
5288 developed as part of the NetSurf project.")
5289 (license license:expat)))
5291 (define-public libsvgtiny
5298 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5299 name "-" version "-src.tar.gz"))
5302 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
5303 (build-system gnu-build-system)
5305 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5306 ("pkg-config" ,pkg-config)
5307 ("gperf" ,gperf-3.0)))
5309 `(("libwapcaplet" ,libwapcaplet)))
5311 `(("libdom" ,libdom))) ;for libsvgtiny.pc
5312 (arguments netsurf-buildsystem-arguments)
5313 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
5314 (synopsis "Library for parsing SVG files")
5316 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
5317 which can be rendered easily, as defined in
5318 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
5320 (license license:expat)))
5322 (define-public libnsbmp
5329 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5330 name "-" version "-src.tar.gz"))
5333 "0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r"))))
5334 (build-system gnu-build-system)
5336 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5337 (arguments netsurf-buildsystem-arguments)
5338 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
5339 (synopsis "Decoding library for BMP and ICO files")
5341 "Libnsbmp is a decoding library for BMP and ICO image file formats,
5342 written in C. It is developed as part of the NetSurf project.")
5343 (license license:expat)))
5345 (define-public libnsgif
5352 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5353 name "-" version "-src.tar.gz"))
5356 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
5357 (build-system gnu-build-system)
5359 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5360 (arguments netsurf-buildsystem-arguments)
5361 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
5362 (synopsis "Decoding library for GIF files")
5364 "Libnsgif is a decoding library for the GIF image file format, written in
5365 C. It is developed as part of the NetSurf project.")
5366 (license license:expat)))
5368 (define-public libnslog
5375 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5376 "libnslog-" version "-src.tar.gz"))
5379 "1l2k0kdv9iv18svhv360vszjavhl4g09cp8a8yb719pgsylxr67w"))))
5380 (build-system gnu-build-system)
5382 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5383 ("pkg-config" ,pkg-config)
5384 ("check" ,check) ; For tests
5387 (arguments netsurf-buildsystem-arguments)
5388 (home-page "https://www.netsurf-browser.org/")
5389 (synopsis "Logging library")
5391 "Libnslog provides a category-based logging library which supports
5392 complex logging filters, multiple log levels, and provides context through to
5393 client applications. It is developed as part of the NetSurf project.")
5394 (license license:expat)))
5396 (define-public libnsutils
5403 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5404 name "-" version "-src.tar.gz"))
5407 "1w5fyy2i60a3v3if3iqcn9sy9sycx6966rcx53v85gja6hb6a33r"))))
5408 (build-system gnu-build-system)
5410 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5411 (arguments netsurf-buildsystem-arguments)
5412 (home-page "https://www.netsurf-browser.org/")
5413 (synopsis "Utility library for NetSurf")
5415 "Libnsutils provides a small number of useful utility routines. It is
5416 developed as part of the NetSurf project.")
5417 (license license:expat)))
5419 (define-public libnspsl
5426 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5427 "libnspsl-" version "-src.tar.gz"))
5430 "02q28n5i6fwqcz1nn167rb71k1q95mx38mfah6zi1lvqrc2q5ifk"))))
5431 (build-system gnu-build-system)
5433 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5434 (arguments netsurf-buildsystem-arguments)
5435 (home-page "https://www.netsurf-browser.org/")
5436 (synopsis "Library to generate a static Public Suffix List")
5438 "Libnspsl is a library to generate a static code representation of the
5439 Public Suffix List. It is developed as part of the NetSurf project.")
5440 (license license:expat)))
5442 (define-public nsgenbind
5449 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5450 "nsgenbind-" version "-src.tar.gz"))
5453 "1cqwgwca49jvmijwiyaab2bwxicgxdrnlpinf8kp3nha02nm73ad"))))
5454 (build-system gnu-build-system)
5456 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5460 (substitute-keyword-arguments netsurf-buildsystem-arguments
5461 ((#:make-flags flags)
5462 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5463 (home-page "https://www.netsurf-browser.org/")
5464 (synopsis "Generate JavaScript to DOM bindings")
5466 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5467 w3c webidl files and a binding configuration file.")
5468 (license license:expat)))
5470 (define-public netsurf
5477 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5478 "releases/source/netsurf-" version "-src.tar.gz"))
5481 "0plra64c5xyiw12yx2q13brxsv8apmany97zqa2lcqckw4ll8j1n"))
5482 (patches (search-patches "netsurf-system-utf8proc.patch"
5483 "netsurf-y2038-tests.patch"
5484 "netsurf-longer-test-timeout.patch"
5485 "netsurf-message-timestamp.patch"))))
5486 (build-system glib-or-gtk-build-system)
5488 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5489 ("nsgenbind" ,nsgenbind)
5490 ("libidn" ,libidn) ;only for tests
5493 ("perl-html-parser" ,perl-html-parser)
5494 ("pkg-config" ,pkg-config)
5499 ("openssl" ,openssl)
5500 ("utf8proc" ,utf8proc)
5502 ("libjpeg" ,libjpeg-turbo)
5505 ("libnsbmp" ,libnsbmp)
5506 ("libnsgif" ,libnsgif)
5507 ("libnslog" ,libnslog)
5508 ("libnspsl" ,libnspsl)
5509 ("libnsutils" ,libnsutils)
5510 ("libsvgtiny" ,libsvgtiny)
5511 ("miscfiles" ,miscfiles)))
5513 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5515 ,(string-append "PREFIX=" %output)
5516 ,(string-append "NSSHARED="
5517 (assoc-ref %build-inputs
5518 "netsurf-buildsystem")
5519 "/share/netsurf-buildsystem"))
5520 #:test-target "test"
5521 #:modules ((ice-9 rdelim)
5525 ,@%glib-or-gtk-build-system-modules)
5527 (modify-phases %standard-phases
5529 (add-after 'build 'adjust-welcome
5531 (substitute* "frontends/gtk/res/welcome.html"
5532 ;; Close some XHTML tags.
5533 (("<(img|input)([^>]*)>" _ tag contents)
5534 (string-append "<" tag contents " />"))
5535 ;; Increase freedom.
5536 ((" open source") ", free software")
5537 ;; Prefer a more privacy-respecting default search engine.
5538 (("www.google.co.uk") "www.duckduckgo.com/html")
5539 (("Google Search") "DuckDuckGo Search")
5540 (("name=\"btnG\"") ""))
5541 ;; Remove default links so it doesn't seem we're endorsing them.
5542 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5544 ;; Leave the DOCTYPE header as is.
5545 (display (read-line in 'concat) out)
5547 (let rec ((sxml (xml->sxml in
5548 #:default-entity-handler
5550 (string-append "<ENTITY>"
5551 (symbol->string name)
5553 ;; We'd like to use sxml-match here, but it can't
5554 ;; match against generic tag symbols...
5556 (`(div (@ (class "links")) . ,rest)
5565 (add-before 'check 'patch-check
5566 (lambda* (#:key inputs #:allow-other-keys)
5567 (substitute* '("test/bloom.c" "test/hashtable.c")
5568 (("/usr/share/dict/words")
5569 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5571 (add-after 'install 'install-more
5572 (lambda* (#:key outputs #:allow-other-keys)
5573 (let* ((out (assoc-ref outputs "out"))
5574 (desktop (string-append out "/share/applications/"
5575 "netsurf.desktop")))
5576 (mkdir-p (dirname desktop))
5577 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5579 (substitute* desktop
5580 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
5581 (("netsurf.png") (string-append out "/share/netsurf/"
5583 (install-file "docs/netsurf-gtk.1"
5584 (string-append out "/share/man/man1/"))
5586 (home-page "https://www.netsurf-browser.org")
5587 (synopsis "Web browser")
5589 "NetSurf is a lightweight web browser that has its own layout and
5590 rendering engine entirely written from scratch. It is small and capable of
5591 handling many of the web standards in use today.")
5592 (license license:gpl2+)))
5594 (define-public surfraw
5601 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5602 "2de827b2786ef2fe43b6f07913ca7b7f/"
5603 "surfraw-" version ".tar.gz"))
5605 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5606 (build-system gnu-build-system)
5609 (modify-phases %standard-phases
5610 (add-before 'configure 'patch-perl
5611 (lambda* (#:key inputs #:allow-other-keys)
5612 (let ((perl (assoc-ref inputs "perl")))
5613 (substitute* "surfraw.IN"
5615 (string-append perl "/bin/perl -e")))
5617 (add-after 'install 'compress-elvi.1sr
5618 (lambda* (#:key outputs #:allow-other-keys)
5619 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5620 ;; but elvi.1sr does not get compressed by our manpage phase.
5621 (let* ((out (assoc-ref %outputs "out"))
5622 (man (string-append out "/share/man/man1")))
5623 (with-directory-excursion man
5624 (invoke "gzip" "elvi.1sr"))))))))
5627 ("perl-www-opensearch" ,perl-www-opensearch)
5628 ("perl-html-parser" ,perl-html-parser)
5629 ("perl-libwww" ,perl-libwww)))
5630 (synopsis "Unix command line interface to the www")
5631 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5632 provides a unix command line interface to a variety of popular www search engines
5633 and similar services.")
5634 (home-page "https://surfraw.alioth.debian.org/")
5635 (license license:public-domain)))
5637 (define-public darkhttpd
5644 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5645 version ".tar.bz2"))
5648 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5649 (build-system gnu-build-system)
5651 `(#:make-flags '("CC=gcc")
5652 #:tests? #f ; No test suite
5654 (modify-phases %standard-phases
5657 (lambda* (#:key outputs #:allow-other-keys)
5658 (install-file "darkhttpd"
5659 (string-append (assoc-ref outputs "out")
5662 (synopsis "Simple static web server")
5663 (description "darkhttpd is a simple static web server. It is
5664 standalone and does not need inetd or ucspi-tcp. It does not need any
5665 config files---you only have to specify the www root.")
5666 (home-page "https://unix4lyfe.org/darkhttpd/")
5667 (license license:isc)))
5669 (define-public goaccess
5675 (uri (string-append "http://tar.goaccess.io/goaccess-"
5679 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5680 (modules '((guix build utils)))
5682 (substitute* "src/error.h"
5683 (("__DATE__") "\"1970-01-01\"")
5684 (("__TIME__") "\"00:00:00\""))
5686 (build-system gnu-build-system)
5688 ;; TODO: Add dependency on geoip-tools.
5690 ("ncurses" ,ncurses)))
5692 `(("pkg-config" ,pkg-config)))
5693 (home-page "https://goaccess.io")
5694 (synopsis "Analyze Web server logs in real time")
5696 "GoAccess is a real-time web log analyzer and interactive viewer that
5697 runs in a terminal or through your browser. It provides fast and valuable
5698 HTTP statistics for system administrators that require a visual server report
5700 (license license:x11)))
5702 (define-public hitch
5706 (home-page "https://hitch-tls.org/")
5709 (uri (string-append home-page "source/hitch-" version ".tar.gz"))
5712 "1i75giwyr66ip8xsvk3gg5xdbxnmcabgxz8dqi06c58mw7qzhzn9"))))
5713 (build-system gnu-build-system)
5715 `(#:phases (modify-phases %standard-phases
5716 (add-before 'check 'pre-check
5718 ;; Most tests attempts to access hitch-tls.org which is
5719 ;; unavailable in the build container. Run them against
5720 ;; a dummy local web server instead.
5721 (for-each (lambda (test)
5723 (("\\[hitch-tls\\.org\\]:80")
5724 "[localhost]:8000")))
5725 (find-files "src/tests" "\\.sh$"))
5726 (system "python3 -m http.server &")
5728 ;; The build container does not reap zombie processes,
5729 ;; causing stop_hitch to hang indefinitely while waiting
5730 ;; for the process to terminate because 'kill -0' never
5731 ;; succeeds. Use a different test to see whether the
5732 ;; process has shut down.
5733 (substitute* "src/tests/hitch_test.sh"
5734 (("kill -0 \"\\$HITCH_PID\"")
5735 "$(ps -p $HITCH_PID -o state= | grep -qv '^Z$')"))
5738 `(("pkg-config" ,pkg-config)
5744 ("python" ,python)))
5747 ("openssl" ,openssl)))
5748 (synopsis "Scalable TLS proxy")
5750 "Hitch is a performant TLS proxy based on @code{libev}. It terminates
5751 SSL/TLS connections and forwards the unencrypted traffic to a backend such
5752 as a web server. It is designed to handle many thousand connections on
5753 multicore machines.")
5754 (license license:bsd-2)))
5756 (define-public httptunnel
5763 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5764 name "-" version ".tar.gz"))
5767 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5768 (modules '((guix build utils)))
5770 ;; Remove non-free IETF RFC documentation.
5771 (delete-file-recursively "doc")
5773 (build-system gnu-build-system)
5776 (modify-phases %standard-phases
5777 ;; The default configure phase tries to pass environment variables as
5778 ;; command-line arguments, which confuses the ./configure script.
5780 (lambda* (#:key outputs #:allow-other-keys)
5781 (let* ((out (assoc-ref outputs "out")))
5782 (setenv "CONFIG_SHELL" (which "bash"))
5783 (invoke "./configure"
5784 (string-append "--prefix=" out))))))))
5785 (home-page "http://www.nocrew.org/software/httptunnel.html")
5786 (synopsis "Tunnel data connections through HTTP requests")
5787 (description "httptunnel creates a bidirectional virtual data connection
5788 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5789 useful for users behind restrictive firewalls. As long as Web traffic is
5790 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5791 tools like SSH (Secure Shell) to reach the outside world.")
5792 (license license:gpl2+)))
5794 (define-public stunnel
5801 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5804 (base32 "1q8gc05fiz7w55ws0whwzb94ffjnhzfppf1mhz1hf671vmrvjnmg"))))
5805 (build-system gnu-build-system)
5808 `(("iproute" ,iproute)
5810 ("procps" ,procps)))
5811 (inputs `(("openssl" ,openssl)))
5814 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5816 (modify-phases %standard-phases
5817 (add-after 'unpack 'patch-output-directories
5819 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5820 (substitute* (list "Makefile.in"
5822 "tools/Makefile.in")
5824 (string-append "/doc/" ,name "-" ,version)))
5826 (add-before 'check 'patch-tests
5828 (substitute* "tests/make_test"
5830 (string-append (which "sh") " ")))
5832 (home-page "https://www.stunnel.org")
5833 (synopsis "TLS proxy for clients or servers")
5834 (description "Stunnel is a proxy designed to add TLS encryption
5835 functionality to existing clients and servers without any changes in the
5836 programs' code. Its architecture is optimized for security, portability, and
5837 scalability (including load-balancing), making it suitable for large
5839 (license license:gpl2+)))
5841 (define-public varnish
5844 (home-page "https://varnish-cache.org/")
5848 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5851 "1dfdswri6lkfk6kml3szvffm91y49pajgqy1k5y26llqixl4r5hi"))))
5852 (build-system gnu-build-system)
5854 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5855 ;; Use absolute path of GCC so it's found at runtime.
5856 (string-append "PTHREAD_CC="
5857 (assoc-ref %build-inputs "gcc")
5859 "--localstatedir=/var")
5861 (modify-phases %standard-phases
5862 (add-after 'unpack 'use-absolute-file-names
5864 (substitute* '("bin/varnishtest/vtc_varnish.c"
5865 "bin/varnishtest/vtc_process.c"
5866 "bin/varnishd/mgt/mgt_vcc.c"
5867 "bin/varnishtest/tests/u00014.vtc")
5868 (("/bin/sh") (which "sh")))
5869 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5870 (("rm -rf") (string-append (which "rm") " -rf")))
5871 (substitute* "bin/varnishtest/vtc_main.c"
5872 (("/bin/rm") (which "rm")))
5874 (add-before 'install 'patch-Makefile
5876 (substitute* "Makefile"
5877 ;; Do not create /var/varnish during install.
5878 (("^install-data-am: install-data-local") "install-data-am: "))
5880 (add-after 'install 'wrap-varnishd
5881 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5882 ;; environment variables to avoid propagating them to profiles.
5883 (lambda* (#:key inputs outputs #:allow-other-keys)
5884 (let* ((out (assoc-ref outputs "out"))
5885 (varnishd (string-append out "/sbin/varnishd"))
5886 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5887 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5888 (wrap-program varnishd
5889 ;; Add binutils to PATH so gcc finds the 'as' executable.
5890 `("PATH" ":" prefix (,PATH))
5891 ;; Make sure 'crti.o' et.al is found.
5892 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5895 `(("pkg-config" ,pkg-config)
5896 ("python-sphinx" ,python-sphinx)
5897 ("rst2man" ,python-docutils)))
5899 `(("jemalloc" ,jemalloc)
5900 ("ncurses" ,ncurses)
5902 ("python" ,python-wrapper)
5903 ("readline" ,readline)))
5904 (synopsis "Web application accelerator")
5906 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5907 reverse proxy and load balancer. You install it in front of any server that
5908 speaks HTTP and configure it to cache the contents through an extensive
5909 configuration language.")
5910 (license (list license:bsd-2 ;main distribution
5911 license:zlib ;lib/libvgz/*
5912 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5913 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5915 (define-public varnish-modules
5917 (name "varnish-modules")
5918 (home-page "https://github.com/varnish/varnish-modules")
5922 (uri (git-reference (url home-page) (commit version)))
5923 (file-name (git-file-name name version))
5926 "0zg8y2sgkygdani70zp9rbx278431fmssj26d47c5qsiw939i519"))))
5927 (build-system gnu-build-system)
5929 `(("pkg-config" ,pkg-config)
5931 ;; For bootstrapping.
5932 ("autoconf" ,autoconf)
5933 ("automake" ,automake)
5934 ("libtool" ,libtool)
5936 ;; For generating manuals.
5937 ("rst2man" ,python-docutils)))
5939 `(("python" ,python)
5940 ("varnish" ,varnish)))
5941 (synopsis "Collection of Varnish modules")
5943 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5944 cache server, extending the @acronym{VCL, Varnish Configuration Language} with
5945 additional capabilities.")
5946 (license license:bsd-2)))
5948 (define-public xinetd
5951 ;; This is the maintenance fork currently used by openSUSE and Debian.
5952 (version "2.3.15.4")
5957 (url "https://github.com/openSUSE/xinetd")
5959 (file-name (git-file-name name version))
5961 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5962 (build-system gnu-build-system)
5964 `(#:configure-flags '("--with-loadavg")
5965 #:tests? #f)) ; no tests
5967 `(("autoconf" ,autoconf)
5968 ("automake" ,automake)
5969 ("libtool" ,libtool)
5970 ("pkg-config" ,pkg-config)))
5971 (home-page "https://github.com/openSUSE/xinetd")
5972 (synopsis "Internet services daemon")
5973 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5974 listens for incoming requests over a network and launches the appropriate
5975 service for that request. Requests are made using port numbers as identifiers
5976 and xinetd usually launches another daemon to handle the request. It can be
5977 used to start services with both privileged and non-privileged port numbers.")
5978 (license (license:fsf-free "file://COPYRIGHT"))))
5980 (define-public tidy-html
5988 (url "https://github.com/htacg/tidy-html5")
5990 (file-name (git-file-name name version))
5993 "01k5sqwgcsr26i8031v1yr2r8qcy9a5w7sj800660haszgfbjz2f"))))
5994 (build-system cmake-build-system)
5996 "static")) ; 1.3MiB of .a files
5998 `(#:tests? #f ; no tests available
5999 #:build-type "Release"
6001 (modify-phases %standard-phases
6002 (add-after 'install 'move-static-libraries
6003 (lambda* (#:key outputs #:allow-other-keys)
6004 ;; Move static libraries to the "static" output.
6005 (let* ((out (assoc-ref outputs "out"))
6006 (lib (string-append out "/lib"))
6007 (static (assoc-ref outputs "static"))
6008 (slib (string-append static "/lib")))
6010 (for-each (lambda (file)
6011 (install-file file slib)
6013 (find-files lib "\\.a$"))
6016 `(("libxslt" ,libxslt)))
6017 (home-page "http://www.html-tidy.org/")
6018 (synopsis "HTML Tidy with HTML5 support")
6020 "Tidy is a console application which corrects and cleans up
6021 HTML and XML documents by fixing markup errors and upgrading
6022 legacy code to modern standards.
6024 Tidy also provides @code{libtidy}, a C static and dynamic library that
6025 developers can integrate into their applications to make use of the
6026 functions of Tidy.")
6027 (license license:bsd-3)))
6029 (define-public hiawatha
6036 (uri (string-append "https://www.hiawatha-webserver.org/files/"
6037 "hiawatha-" version ".tar.gz"))
6038 (modules '((guix build utils)))
6040 ;; We use packaged libraries, so delete the bundled copies.
6041 (for-each delete-file-recursively
6042 (list "extra/nghttp2.tgz" "mbedtls"))
6045 (base32 "09wpgilbv13zal71v9lbsqr8c3fignygadykpd1p1pb8blb5vn3r"))))
6046 (build-system cmake-build-system)
6048 `(#:tests? #f ; no tests included
6049 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
6050 (string-append "-DENABLE_HTTP2=on")
6051 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
6052 (string-append "-DENABLE_TOMAHAWK=on")
6053 (string-append "-DLOG_DIR=/var/log/hiawatha")
6054 (string-append "-DPID_DIR=/run")
6055 (string-append "-DWEBROOT_DIR="
6056 (assoc-ref %outputs "out")
6057 "/share/hiawatha/html")
6058 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
6060 (modify-phases %standard-phases
6061 (add-after 'unpack 'install-no-empty-directories
6063 (substitute* "CMakeLists.txt"
6064 (("install\\(DIRECTORY DESTINATION" match)
6065 (string-append "#" match)))
6067 (add-after 'install 'wrap
6068 (lambda* (#:key inputs outputs #:allow-other-keys)
6069 ;; Make sure 'hiawatha' finds 'mbedtls'.
6070 (let* ((out (assoc-ref outputs "out"))
6071 (sbin (string-append out "/sbin"))
6072 (mbed (assoc-ref inputs "mbedtls-apache")))
6073 (wrap-program (string-append sbin "/hiawatha")
6074 `("PATH" ":" prefix (,mbed)))))))))
6076 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
6077 `(("libxslt" ,libxslt)
6078 ("libxml2" ,libxml2)
6079 ("mbedtls-apache" ,mbedtls-for-hiawatha)
6080 ("nghttp2" ,nghttp2 "lib")
6082 (home-page "https://www.hiawatha-webserver.org")
6083 (synopsis "Webserver with focus on security")
6085 "Hiawatha has been written with security in mind.
6086 Features include the ability to stop SQL injections, XSS and CSRF attacks and
6088 (license license:gpl2)))
6090 (define-public python-httpbin
6092 (name "python-httpbin")
6097 (uri (pypi-uri "httpbin" version))
6100 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
6101 (build-system python-build-system)
6103 `(("python-decorator" ,python-decorator)
6104 ("python-flask" ,python-flask)
6105 ("python-itsdangerous" ,python-itsdangerous)
6106 ("python-markupsafe" ,python-markupsafe)
6107 ("python-six" ,python-six)))
6108 (home-page "https://github.com/Runscope/httpbin")
6109 (synopsis "HTTP request and response service")
6110 (description "Testing an HTTP Library can become difficult sometimes.
6111 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
6112 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
6114 (license license:isc)))
6116 (define-public python2-httpbin
6117 (package-with-python2 python-httpbin))
6119 (define-public python-pytest-httpbin
6121 (name "python-pytest-httpbin")
6126 (uri (pypi-uri "pytest-httpbin" version))
6129 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
6130 (build-system python-build-system)
6132 `(("python-six" ,python-six)
6133 ("python-httpbin" ,python-httpbin)
6134 ("python-pytest" ,python-pytest)))
6136 "https://github.com/kevin1024/pytest-httpbin")
6138 "Test your HTTP library against a local copy of httpbin")
6140 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
6141 into your tests. It automatically starts up a HTTP server in a separate thread running
6142 @code{httpbin} and provides your test with the URL in the fixture.")
6143 (license license:expat)))
6145 (define-public http-parser
6147 (name "http-parser")
6149 (home-page "https://github.com/nodejs/http-parser")
6153 (uri (git-reference (url home-page)
6154 (commit (string-append "v" version))))
6156 (base32 "1vda4dp75pjf5fcph73sy0ifm3xrssrmf927qd1x8g3q46z0cv6c"))
6157 (file-name (git-file-name name version))
6161 ;; Treat an empty port (e.g. `http://hostname:/`) when parsing
6162 ;; URLs as if no port were specified. This patch is applied
6163 ;; to Fedora's http-parser and to libgit2's bundled version.
6166 "https://src.fedoraproject.org/rpms/http-parser/raw/"
6167 "e89b4c4e2874c19079a5a1a2d2ccc61b551aa289/"
6168 "f/0001-url-treat-empty-port-as-default.patch"))
6171 "0pbxf2nq9pcn299k2b2ls8ldghaqln9glnp79gi57mamx4iy0f6g")))))))
6172 (build-system gnu-build-system)
6174 `(#:test-target "test"
6176 (list (string-append "PREFIX="
6177 (assoc-ref %outputs "out"))
6179 ,@(if (%current-target-system)
6183 (modify-phases %standard-phases
6184 ,@(match (%current-system)
6186 '((add-before 'check 'apply-assertion.patch
6187 (lambda* (#:key inputs #:allow-other-keys)
6188 (let ((patch (assoc-ref inputs "assertion.patch")))
6189 (invoke "patch" "-p1" "-i" patch)
6192 ,@(if (%current-target-system)
6193 '((replace 'configure
6194 (lambda* (#:key target #:allow-other-keys)
6195 (substitute* (find-files "." "Makefile")
6197 (string-append "CC=" target "-gcc\n"))
6199 (string-append "AR=" target "-ar\n")))
6201 '((delete 'configure))))))
6203 `(,@(match (%current-system)
6205 ;; A fix for <https://issues.guix.gnu.org/40604> which in turn
6206 ;; breaks i686-linux builds.
6207 `(("assertion.patch"
6208 ,@(search-patches "http-parser-fix-assertion-on-armhf.patch"))))
6210 (synopsis "HTTP request/response parser for C")
6211 (description "This is a parser for HTTP messages written in C. It parses
6212 both requests and responses. The parser is designed to be used in
6213 high-performance HTTP applications. It does not make any syscalls nor
6214 allocations, it does not buffer data, it can be interrupted at anytime.
6215 Depending on your architecture, it only requires about 40 bytes of data per
6216 message stream (in a web server that is per connection).")
6217 (license license:expat)))
6219 (define-public python-httpretty
6221 (name "python-httpretty")
6226 (uri (pypi-uri "httpretty" version))
6228 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
6229 (build-system python-build-system)
6231 `(("python-six" ,python-six)))
6233 `(("python-coverage" ,python-coverage)
6234 ("python-httplib2" ,python-httplib2)
6235 ("python-mock" ,python-mock)
6236 ("python-nose" ,python-nose)
6237 ("python-nose-randomly" ,python-nose-randomly)
6238 ("python-rednose" ,python-rednose)
6239 ("python-requests" ,python-requests)
6240 ("python-sure" ,python-sure)
6241 ("python-tornado" ,python-tornado)
6242 ("python-urllib3" ,python-urllib3)))
6243 (home-page "https://httpretty.readthedocs.io")
6244 (synopsis "HTTP client mock for Python")
6245 (description "@code{httpretty} is a helper for faking web requests,
6246 inspired by Ruby's @code{fakeweb}.")
6247 (license license:expat)))
6256 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
6257 version "/jo-" version ".tar.gz"))
6259 (base32 "18jna9xlpxci3cak3z85c448zv2zr41baclgym3hk433p0p4vii4"))))
6260 (build-system gnu-build-system)
6261 (home-page "https://github.com/jpmens/jo")
6262 (synopsis "Output JSON from a shell")
6263 (description "jo is a command-line utility to create JSON objects or
6264 arrays. It creates a JSON string on stdout from words provided as
6265 command-line arguments or read from stdin.")
6266 (license (list license:gpl2+
6267 license:expat)))) ; json.c, json.h
6269 (define-public python-internetarchive
6271 (name "python-internetarchive")
6277 (url "https://github.com/jjjake/internetarchive")
6278 (commit (string-append "v" version))))
6279 (file-name (git-file-name name version))
6282 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
6283 (modules '((guix build utils)))
6286 ;; Python 3.7 removed `_pattern_type'.
6287 (for-each (lambda (file)
6290 (("^import re\n" line)
6291 (string-append line "re._pattern_type = re.Pattern\n"))))
6292 (find-files "." "\\.py$"))
6294 (build-system python-build-system)
6297 (modify-phases %standard-phases
6299 (add-after 'install 'check
6300 (lambda* (#:key inputs outputs #:allow-other-keys)
6301 (add-installed-pythonpath inputs outputs)
6302 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
6303 ":" (getenv "PATH")))
6304 (invoke "py.test" "-v" "-k"
6306 ;; These tests attempt to make a connection to
6307 ;; an external web service.
6308 "not test_get_item_with_kwargs"
6309 " and not test_ia")))))))
6311 `(("python-requests" ,python-requests)
6312 ("python-jsonpatch" ,python-jsonpatch-0.4)
6313 ("python-docopt" ,python-docopt)
6314 ("python-clint" ,python-clint)
6315 ("python-six" ,python-six)
6316 ("python-schema" ,python-schema-0.5)
6317 ("python-backports-csv" ,python-backports-csv)))
6319 `(("python-pytest" ,python-pytest)
6320 ("python-pytest-capturelog" ,python-pytest-capturelog)
6321 ("python-responses" ,python-responses)))
6322 (home-page "https://github.com/jjjake/internetarchive")
6323 (synopsis "Command-line interface to archive.org")
6324 (description "@code{ia} is a command-line tool for using
6325 @url{archive.org} from the command-line. It also implements the
6326 internetarchive python module for programmatic access to archive.org.")
6327 (license license:agpl3+)))
6329 (define-public python-clf
6330 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
6337 (uri (pypi-uri "clf" version))
6340 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
6341 (build-system python-build-system)
6343 `(("python-docopt" ,python-docopt)
6344 ("python-pygments" ,python-pygments)
6345 ("python-requests" ,python-requests)
6346 ("python-nose" ,python-nose)
6347 ("python-lxml" ,python-lxml)
6348 ("python-pyaml" ,python-pyaml)))
6353 (uri (string-append "https://raw.githubusercontent.com"
6354 "/ncrocfer/clf/" commit-test-clf
6358 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
6361 (modify-phases %standard-phases
6362 (add-after 'unpack 'get-tests
6364 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
6369 ;; These tests require an Internet connection.
6370 "--exclude=test_browse"
6371 "--exclude=test_command"
6372 "--exclude=test_search"))))))
6373 (home-page "https://github.com/ncrocfer/clf")
6374 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
6375 (description "@code{clf} is a command line tool for searching code
6376 snippets on @url{https://commandlinefu.com}.")
6377 (license license:expat))))
6379 (define-public python2-clf
6380 (package-with-python2 python-clf))
6382 (define-public rss-bridge
6385 (version "2019-09-12")
6390 (url "https://github.com/RSS-Bridge/rss-bridge")
6392 (file-name (git-file-name name version))
6394 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
6395 (build-system trivial-build-system)
6397 '(#:modules ((guix build utils))
6400 (use-modules (guix build utils)
6402 (let* ((out (assoc-ref %outputs "out"))
6403 (share-rss-bridge (string-append out "/share/rss-bridge")))
6404 (mkdir-p share-rss-bridge)
6405 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
6407 (home-page "https://github.com/RSS-Bridge/rss-bridge")
6408 (synopsis "Generate Atom feeds for social networking websites")
6409 (description "rss-bridge generates Atom feeds for social networking
6410 websites lacking feeds. Supported websites include Facebook, Twitter,
6411 Instagram and YouTube.")
6412 (license (list license:public-domain
6413 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
6415 (define-public linkchecker
6417 (name "linkchecker")
6423 (url "https://github.com/linkchecker/linkchecker")
6424 (commit (string-append "v" version))))
6426 (search-patches "linkchecker-tests-require-network.patch"))
6427 (file-name (git-file-name name version))
6430 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
6431 (build-system python-build-system)
6433 `(("python2-dnspython" ,python2-dnspython-1.16)
6434 ("python2-pyxdg" ,python2-pyxdg)
6435 ("python2-requests" ,python2-requests)))
6437 `(("gettext" ,gettext-minimal)
6438 ("python2-pytest" ,python2-pytest)
6439 ("python2-miniboa" ,python2-miniboa)
6440 ("python2-parameterized" ,python2-parameterized)))
6442 `(#:python ,python-2
6444 (modify-phases %standard-phases
6445 ;; Move the 'check phase to after 'install, so that the installed
6446 ;; library can be used
6448 (add-after 'install 'check
6449 (lambda* (#:key outputs #:allow-other-keys)
6450 (let ((out (assoc-ref outputs "out")))
6451 ;; Set PYTHONPATH so that the installed linkchecker is used
6452 (setenv "PYTHONPATH"
6453 (string-append out "/lib/python2.7/site-packages"
6455 (getenv "PYTHONPATH")))
6456 ;; Remove this directory to avoid it being used when running
6458 (delete-file-recursively "linkcheck")
6460 (invoke "py.test" "tests"))
6462 (home-page "https://linkcheck.github.io/linkchecker")
6463 (synopsis "Check websites for broken links")
6464 (description "LinkChecker is a website validator. It checks for broken
6465 links in websites. It is recursive and multithreaded providing output in
6466 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
6467 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
6469 (license (list license:gpl2+
6470 license:bsd-2 ; linkcheck/better_exchook2.py
6471 license:bsd-3 ; linkcheck/colorama.py
6472 license:psfl ; linkcheck/gzip2.py
6473 license:expat)))) ; linkcheck/mem.py
6475 (define-public cadaver
6482 (uri (string-append "http://www.webdav.org/cadaver/"
6483 name "-" version ".tar.gz"))
6486 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
6487 (build-system gnu-build-system)
6488 ;; TODO: Unbundle libneon and make build succeed with new neon.
6490 `(#:configure-flags (list "--with-ssl=openssl")
6491 #:tests? #f)) ;No tests included
6493 `(("gettext" ,gettext-minimal)
6494 ("pkg-config" ,pkg-config)
6495 ("intltool" ,intltool)))
6498 ("openssl" ,openssl-1.0)))
6499 (home-page "http://www.webdav.org/cadaver/")
6500 (synopsis "Command-line WebDAV client")
6502 "Cadaver is a command-line WebDAV client for Unix. It supports
6503 file upload, download, on-screen display, namespace operations (move/copy),
6504 collection creation and deletion, and locking operations.")
6505 (license license:gpl2)))
6507 (define-public castor
6515 (url "https://git.sr.ht/~julienxx/castor")
6517 (file-name (git-file-name name version))
6519 (base32 "0rwg1w7srjwa23mkypl8zk6674nhph4xsc6nc01f6g5k959szylr"))))
6520 (build-system cargo-build-system)
6523 (("rust-ansi-parser" ,rust-ansi-parser-0.6)
6524 ("rust-dirs" ,rust-dirs-2.0)
6525 ("rust-gdk" ,rust-gdk-0.13)
6526 ("rust-gtk" ,rust-gtk-0.8)
6527 ("rust-linkify" ,rust-linkify-0.4)
6528 ("rust-native-tls" ,rust-native-tls-0.2)
6529 ("rust-open" ,rust-open-1)
6530 ("rust-percent-encoding" ,rust-percent-encoding-2)
6531 ("rust-url" ,rust-url-2))))
6533 `(("pkg-config" ,pkg-config)))
6537 ("gdk-pixbuf" ,gdk-pixbuf)
6539 ("libressl" ,libressl)
6541 (home-page "https://git.sr.ht/~julienxx/castor")
6542 (synopsis "Graphical client for plain-text protocols")
6544 "Castor is a graphical client for plain-text protocols written in
6545 Rust with GTK. It currently supports the Gemini, Gopher and Finger
6547 (license license:expat)))
6549 (define-public python-py-ubjson
6551 (name "python-py-ubjson")
6556 (uri (pypi-uri "py-ubjson" version))
6559 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
6560 (build-system python-build-system)
6561 (home-page "https://github.com/Iotic-Labs/py-ubjson")
6562 (synopsis "Universal Binary JSON encoder/decoder")
6564 "Py-ubjson is a Python module providing an Universal Binary JSON
6565 encoder/decoder based on the draft-12 specification for UBJSON.")
6566 (license license:asl2.0)))
6568 (define-public java-tomcat
6570 (name "java-tomcat")
6574 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6575 version "/src/apache-tomcat-" version "-src.tar.gz"))
6578 "15lwq3clf21hzk7mma70sffpxjqn8ww5mjq6zhmwcp4m17m22z26"))
6579 (modules '((guix build utils)))
6580 ;; Delete bundled jars.
6583 (for-each delete-file (find-files "." "\\.jar$"))
6584 (for-each delete-file (find-files "." "\\.bat$"))
6586 (build-system ant-build-system)
6588 `(("java-commons-daemon" ,java-commons-daemon)
6589 ("java-ecj" ,java-ecj)))
6591 `(#:build-target "deploy"
6592 #:tests? #f; requires downloading some files.
6594 (modify-phases %standard-phases
6595 (add-after 'unpack 'prevent-download
6597 ;; This directory must exist
6599 ;; We patch build.xml so it doesn't download any dependency, because
6600 ;; we already have all of them.
6601 (substitute* "build.xml"
6602 (("download-compile,") "")
6603 (("depends=\"validate\"") "depends=\"build-prepare\"")
6604 ((",download-validate") ""))
6606 (add-after 'unpack 'strip-timestamps
6608 (substitute* "build.xml"
6609 (("<filter token=\"YEAR\" value=.*")
6610 "<filter token=\"YEAR\" value=\"1970\"/>")
6611 (("<filter token=\"VERSION_BUILT\" value=.*")
6612 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6614 (add-after 'unpack 'modify-deploy
6616 ;; The Tomcat build downloads and copies these files to the
6617 ;; bin and lib directory.
6618 ;; We instead symlink to the input (see below).
6619 (substitute* "build.xml"
6620 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6621 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6624 (add-after 'install 'symlink-commons-daemon
6625 (lambda* (#:key inputs outputs #:allow-other-keys)
6626 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6627 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6628 (daemon-jar (car files))
6629 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6630 (target (string-append out-bin "/commons-daemon.jar")))
6631 (symlink daemon-jar target)
6633 (add-after 'install 'symlink-java-ecj
6634 (lambda* (#:key inputs outputs #:allow-other-keys)
6635 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6636 (files (find-files java-ecj "ecj.*\\.jar"))
6637 (java-ecj-jar (car files))
6638 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6639 (target (string-append out-lib "/java-ecj.jar")))
6640 (symlink java-ecj-jar target)
6642 (add-after 'unpack 'generate-properties
6644 ;; This could have been passed to make-flags, but getcwd returns
6645 ;; a different directory then.
6646 (with-output-to-file "build.properties"
6649 (string-append "base.path=" (getcwd) "/downloads\n"))))
6652 (lambda* (#:key outputs #:allow-other-keys)
6653 (let ((out (assoc-ref outputs "out")))
6654 (copy-recursively "output/build" out))
6656 (properties '((cpe-name . "tomcat")))
6657 (home-page "https://tomcat.apache.org")
6658 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6660 (description "Apache Tomcat is a free implementation of the Java
6661 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6663 (license license:asl2.0)))
6665 (define-public java-eclipse-jetty-test-helper
6667 (name "java-eclipse-jetty-test-helper")
6672 (url "https://github.com/eclipse/jetty.toolchain/")
6673 (commit (string-append "jetty-test-helper-" version))))
6674 (file-name (git-file-name name version))
6677 "1g7cdh03nfwbdxzvwm84ysgvw08xx7431lsjryj2gmf3lrqpizgb"))))
6678 (build-system ant-build-system)
6680 `(#:jar-name "eclipse-jetty-test-helper.jar"
6681 #:source-dir "src/main/java"
6682 #:test-dir "src/test"
6685 (modify-phases %standard-phases
6686 (add-before 'configure 'chdir
6688 (chdir "jetty-test-helper")
6690 (add-before 'build 'fix-paths
6693 ;; This file assumes that the build directory is named "target"
6694 ;; but it is not the case with our ant-build-system. Once we have
6695 ;; maven though, we will have to rebuild this package because this
6696 ;; assumption is correct with maven-build-system.
6698 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6699 (("\"target\"") "\"build\"")
6700 (("\"tests\"") "\"test-classes\""))
6701 ;; Tests assume we are building with maven, so that the build
6702 ;; directory is named "target", and not "build".
6703 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6704 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6705 "MavenTestingUtilsTest.java")
6706 (("target/tests") "build/test-classes")
6707 (("\"target") "\"build")))
6710 `(("junit" ,java-junit)
6711 ("hamcrest" ,java-hamcrest-all)))
6712 (home-page "https://www.eclipse.org/jetty/")
6713 (synopsis "Helper classes for jetty tests")
6714 (description "This package contains helper classes for testing the Jetty
6716 ;; This program is licensed under both epl and asl.
6717 (license (list license:epl1.0 license:asl2.0))))
6719 (define-public java-eclipse-jetty-perf-helper
6721 (inherit java-eclipse-jetty-test-helper)
6722 (name "java-eclipse-jetty-perf-helper")
6724 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6725 #:source-dir "src/main/java"
6726 #:tests? #f; no tests
6729 (modify-phases %standard-phases
6730 (add-before 'configure 'chdir
6732 (chdir "jetty-perf-helper")
6735 `(("hdrhistogram" ,java-hdrhistogram)))))
6737 (define-public java-eclipse-jetty-util
6739 (name "java-eclipse-jetty-util")
6743 (uri (string-append "https://github.com/eclipse/jetty.project/"
6744 "archive/jetty-" version ".v20170531.tar.gz"))
6747 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6748 (build-system ant-build-system)
6750 `(#:jar-name "eclipse-jetty-util.jar"
6751 #:source-dir "src/main/java"
6753 (list "**/Abstract*.java"
6755 "**/InetAddressSetTest.java"
6756 ;; Assumes we are using maven
6757 "**/TypeUtilTest.java"
6758 ;; Error on the style of log
6759 "**/StdErrLogTest.java")
6762 (modify-phases %standard-phases
6763 (add-before 'configure 'chdir
6765 (chdir "jetty-util")
6768 `(("slf4j" ,java-slf4j-api)
6769 ("servlet" ,java-javaee-servletapi)))
6771 `(("junit" ,java-junit)
6772 ("hamcrest" ,java-hamcrest-all)
6773 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6774 ("test-helper" ,java-eclipse-jetty-test-helper)))
6775 (home-page "https://www.eclipse.org/jetty/")
6776 (synopsis "Utility classes for Jetty")
6777 (description "The Jetty Web Server provides an HTTP server and Servlet
6778 container capable of serving static and dynamic content either from a standalone
6779 or embedded instantiation. This package provides utility classes.")
6780 (license (list license:epl1.0 license:asl2.0))))
6782 ;; This version is required by maven-wagon
6783 (define-public java-eclipse-jetty-util-9.2
6785 (inherit java-eclipse-jetty-util)
6789 (uri (string-append "https://github.com/eclipse/jetty.project/"
6790 "archive/jetty-" version ".v20170606.tar.gz"))
6793 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6795 `(#:jar-name "eclipse-jetty-util.jar"
6796 #:source-dir "src/main/java"
6799 (list "**/Abstract*.java"
6801 "**/InetAddressSetTest.java"
6802 ;; Assumes we are using maven
6803 "**/TypeUtilTest.java"
6804 ;; We don't have an implementation for slf4j
6806 ;; Error on the style of log
6807 "**/StdErrLogTest.java")
6809 (modify-phases %standard-phases
6810 (add-before 'configure 'chdir
6812 (chdir "jetty-util")
6814 (add-before 'build 'fix-test-sources
6816 ;; We need to fix issues caused by changes in newer versions of
6817 ;; jetty-test-helper
6818 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6819 (substitute* (string-append src "/AbstractFSResourceTest.java")
6820 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6821 (("testdir.getFile\\(\"foo\"\\)")
6822 "testdir.getPathFile(\"foo\").toFile()")
6823 (("testdir.getFile\\(name\\)")
6824 "testdir.getPathFile(name).toFile()")))
6827 (define-public java-eclipse-jetty-io
6829 (inherit java-eclipse-jetty-util)
6830 (name "java-eclipse-jetty-io")
6832 `(#:jar-name "eclipse-jetty-io.jar"
6833 #:source-dir "src/main/java"
6835 #:test-exclude (list "**/Abstract*.java"
6837 "**/EndPointTest.java")
6839 (modify-phases %standard-phases
6840 (add-before 'configure 'chdir
6845 `(("slf4j" ,java-slf4j-api)
6846 ("servlet" ,java-javaee-servletapi)
6847 ("util" ,java-eclipse-jetty-util)))
6848 (synopsis "Jetty :: IO Utility")
6849 (description "The Jetty Web Server provides an HTTP server and Servlet
6850 container capable of serving static and dynamic content either from a standalone
6851 or embedded instantiation. This package provides IO-related utility classes.")))
6853 (define-public java-eclipse-jetty-io-9.2
6855 (inherit java-eclipse-jetty-io)
6856 (version (package-version java-eclipse-jetty-util-9.2))
6857 (source (package-source java-eclipse-jetty-util-9.2))
6859 `(("util" ,java-eclipse-jetty-util-9.2)
6860 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6862 `(("mockito" ,java-mockito-1)
6863 ("cglib" ,java-cglib)
6864 ("objenesis" ,java-objenesis)
6866 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6868 (define-public java-eclipse-jetty-http
6870 (inherit java-eclipse-jetty-util)
6871 (name "java-eclipse-jetty-http")
6873 `(#:jar-name "eclipse-jetty-http.jar"
6874 #:source-dir "src/main/java"
6877 (modify-phases %standard-phases
6878 (add-before 'configure 'chdir
6880 (chdir "jetty-http")
6882 (add-before 'build 'copy-resources
6884 (mkdir-p "build/classes")
6885 (copy-recursively "src/main/resources/" "build/classes/")
6888 `(("slf4j" ,java-slf4j-api)
6889 ("servlet" ,java-javaee-servletapi)
6890 ("io" ,java-eclipse-jetty-io)
6891 ("util" ,java-eclipse-jetty-util)))
6892 (synopsis "Jetty :: Http Utility")
6893 (description "The Jetty Web Server provides an HTTP server and Servlet
6894 container capable of serving static and dynamic content either from a standalone
6895 or embedded instantiation. This package provides HTTP-related utility classes.")))
6897 (define-public java-eclipse-jetty-http-9.2
6899 (inherit java-eclipse-jetty-http)
6900 (version (package-version java-eclipse-jetty-util-9.2))
6901 (source (package-source java-eclipse-jetty-util-9.2))
6903 `(("util" ,java-eclipse-jetty-util-9.2)
6904 ("io" ,java-eclipse-jetty-io-9.2)
6905 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6907 (define-public java-eclipse-jetty-jmx
6909 (inherit java-eclipse-jetty-util)
6910 (name "java-eclipse-jetty-jmx")
6912 `(#:jar-name "eclipse-jetty-jmx.jar"
6913 #:source-dir "src/main/java"
6915 #:tests? #f; FIXME: requires com.openpojo.validation
6917 (modify-phases %standard-phases
6918 (add-before 'configure 'chdir
6923 `(("slf4j" ,java-slf4j-api)
6924 ("servlet" ,java-javaee-servletapi)
6925 ("util" ,java-eclipse-jetty-util)))
6926 (synopsis "Jetty :: JMX Management")
6927 (description "The Jetty Web Server provides an HTTP server and Servlet
6928 container capable of serving static and dynamic content either from a standalone
6929 or embedded instantiation. This package provides the JMX management.")))
6931 (define-public java-eclipse-jetty-jmx-9.2
6933 (inherit java-eclipse-jetty-jmx)
6934 (version (package-version java-eclipse-jetty-util-9.2))
6935 (source (package-source java-eclipse-jetty-util-9.2))
6937 `(("util" ,java-eclipse-jetty-util-9.2)
6938 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6940 (define java-eclipse-jetty-http-test-classes
6942 (inherit java-eclipse-jetty-util)
6943 (name "java-eclipse-jetty-http-test-classes")
6945 `(#:jar-name "eclipse-jetty-http.jar"
6946 #:source-dir "src/test"
6950 (modify-phases %standard-phases
6951 (add-before 'configure 'chdir
6953 (chdir "jetty-http")
6956 `(("slf4j" ,java-slf4j-api)
6957 ("java-javaee-servletapi" ,java-javaee-servletapi)
6958 ("http" ,java-eclipse-jetty-http)
6959 ("io" ,java-eclipse-jetty-io)
6960 ("util" ,java-eclipse-jetty-util)))))
6962 (define java-eclipse-jetty-http-test-classes-9.2
6964 (inherit java-eclipse-jetty-http-test-classes)
6965 (version (package-version java-eclipse-jetty-util-9.2))
6966 (source (package-source java-eclipse-jetty-util-9.2))
6968 `(("http" ,java-eclipse-jetty-http-9.2)
6969 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6971 (define-public java-eclipse-jetty-server
6973 (inherit java-eclipse-jetty-util)
6974 (name "java-eclipse-jetty-server")
6976 `(#:jar-name "eclipse-jetty-server.jar"
6977 #:source-dir "src/main/java"
6979 #:tests? #f; requires a mockito version we don't have
6981 (modify-phases %standard-phases
6982 (add-before 'configure 'chdir
6984 (chdir "jetty-server")
6986 (add-before 'build 'fix-source
6988 ;; Explicit casts to prevent build failures
6989 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6990 (("append\\(LazyList")
6991 "append((CharSequence)LazyList"))
6993 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6995 "Class<\\? extends EventListener> clazz = _classLoader==null"
6996 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6997 "_classLoader.loadClass\\(className\\);"))
6998 (string-append "Class<? extends EventListener> clazz = "
6999 "(Class<? extends EventListener>) "
7000 "(_classLoader==null?Loader.loadClass("
7001 "ContextHandler.class,className):"
7002 "_classLoader.loadClass(className));")))
7005 `(("slf4j" ,java-slf4j-api)
7006 ("servlet" ,java-javaee-servletapi)
7007 ("http" ,java-eclipse-jetty-http)
7008 ("io" ,java-eclipse-jetty-io)
7009 ("jmx" ,java-eclipse-jetty-jmx)
7010 ("util" ,java-eclipse-jetty-util)))
7012 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
7013 ,@(package-native-inputs java-eclipse-jetty-util)))
7014 (synopsis "Core jetty server artifact")
7015 (description "The Jetty Web Server provides an HTTP server and Servlet
7016 container capable of serving static and dynamic content either from a standalone
7017 or embedded instantiation. This package provides the core jetty server
7020 (define-public java-eclipse-jetty-server-9.2
7022 (inherit java-eclipse-jetty-server)
7023 (version (package-version java-eclipse-jetty-util-9.2))
7024 (source (package-source java-eclipse-jetty-util-9.2))
7026 `(("util" ,java-eclipse-jetty-util-9.2)
7027 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7028 ("io" ,java-eclipse-jetty-io-9.2)
7029 ("http" ,java-eclipse-jetty-http-9.2)
7030 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7032 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
7033 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7035 (define-public java-eclipse-jetty-security
7037 (inherit java-eclipse-jetty-util)
7038 (name "java-eclipse-jetty-security")
7040 `(#:jar-name "eclipse-jetty-security.jar"
7041 #:source-dir "src/main/java"
7043 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
7045 (modify-phases %standard-phases
7046 (add-before 'configure 'chdir
7048 (chdir "jetty-security")
7051 `(("slf4j" ,java-slf4j-api)
7052 ("servlet" ,java-javaee-servletapi)
7053 ("http" ,java-eclipse-jetty-http)
7054 ("server" ,java-eclipse-jetty-server)
7055 ("util" ,java-eclipse-jetty-util)))
7057 `(("io" ,java-eclipse-jetty-io)
7058 ,@(package-native-inputs java-eclipse-jetty-util)))
7059 (synopsis "Jetty security infrastructure")
7060 (description "The Jetty Web Server provides an HTTP server and Servlet
7061 container capable of serving static and dynamic content either from a standalone
7062 or embedded instantiation. This package provides the core jetty security
7065 (define-public java-eclipse-jetty-security-9.2
7067 (inherit java-eclipse-jetty-security)
7068 (version (package-version java-eclipse-jetty-util-9.2))
7069 (source (package-source java-eclipse-jetty-util-9.2))
7071 `(("util" ,java-eclipse-jetty-util-9.2)
7072 ("http" ,java-eclipse-jetty-http-9.2)
7073 ("server" ,java-eclipse-jetty-server-9.2)
7074 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7076 `(("io" ,java-eclipse-jetty-io-9.2)
7077 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7079 (define-public java-eclipse-jetty-servlet
7081 (inherit java-eclipse-jetty-util)
7082 (name "java-eclipse-jetty-servlet")
7084 `(#:jar-name "eclipse-jetty-servlet.jar"
7085 #:source-dir "src/main/java"
7088 (modify-phases %standard-phases
7089 (add-before 'configure 'chdir
7091 (chdir "jetty-servlet")
7094 `(("slf4j" ,java-slf4j-api)
7095 ("java-javaee-servletapi" ,java-javaee-servletapi)
7096 ("http" ,java-eclipse-jetty-http)
7097 ("http-test" ,java-eclipse-jetty-http-test-classes)
7098 ("io" ,java-eclipse-jetty-io)
7099 ("jmx" ,java-eclipse-jetty-jmx)
7100 ("security" ,java-eclipse-jetty-security)
7101 ("server" ,java-eclipse-jetty-server)
7102 ("util" ,java-eclipse-jetty-util)))
7103 (synopsis "Jetty Servlet Container")
7104 (description "The Jetty Web Server provides an HTTP server and Servlet
7105 container capable of serving static and dynamic content either from a standalone
7106 or embedded instantiation. This package provides the core jetty servlet
7109 (define-public java-eclipse-jetty-servlet-9.2
7111 (inherit java-eclipse-jetty-servlet)
7112 (version (package-version java-eclipse-jetty-util-9.2))
7113 (source (package-source java-eclipse-jetty-util-9.2))
7115 `(#:jar-name "eclipse-jetty-servlet.jar"
7116 #:source-dir "src/main/java"
7118 #:tests? #f; doesn't work
7120 (modify-phases %standard-phases
7121 (add-before 'configure 'chdir
7123 (chdir "jetty-servlet")
7126 `(("util" ,java-eclipse-jetty-util-9.2)
7127 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7128 ("io" ,java-eclipse-jetty-io-9.2)
7129 ("http" ,java-eclipse-jetty-http-9.2)
7130 ("security" ,java-eclipse-jetty-security-9.2)
7131 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
7132 ("server" ,java-eclipse-jetty-server-9.2)
7133 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
7135 (define-public java-eclipse-jetty-xml
7137 (inherit java-eclipse-jetty-util)
7138 (name "java-eclipse-jetty-xml")
7140 `(#:jar-name "eclipse-jetty-xml.jar"
7141 #:source-dir "src/main/java"
7143 #:tests? #f; most tests require network
7145 (modify-phases %standard-phases
7146 (add-before 'configure 'chdir
7151 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
7153 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7154 ,@(package-native-inputs java-eclipse-jetty-util)))))
7156 (define-public java-eclipse-jetty-xml-9.2
7158 (inherit java-eclipse-jetty-xml)
7159 (version (package-version java-eclipse-jetty-util-9.2))
7160 (source (package-source java-eclipse-jetty-util-9.2))
7162 `(#:jar-name "eclipse-jetty-xml.jar"
7163 #:source-dir "src/main/java"
7165 #:tests? #f; most tests require network
7167 (modify-phases %standard-phases
7168 (add-before 'configure 'chdir
7173 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7174 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7176 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7177 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7179 (define-public java-eclipse-jetty-webapp
7181 (inherit java-eclipse-jetty-util)
7182 (name "java-eclipse-jetty-webapp")
7184 `(#:jar-name "eclipse-jetty-webapp.jar"
7185 #:source-dir "src/main/java"
7188 #:test-exclude (list "**/WebAppContextTest.java")
7190 (modify-phases %standard-phases
7191 (add-before 'configure 'chdir
7193 (chdir "jetty-webapp")
7196 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
7197 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
7198 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
7199 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
7200 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
7201 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
7202 ("java-javaee-servletapi" ,java-javaee-servletapi)))
7204 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7205 ,@(package-native-inputs java-eclipse-jetty-util)))))
7207 (define-public java-eclipse-jetty-webapp-9.2
7209 (inherit java-eclipse-jetty-webapp)
7210 (version (package-version java-eclipse-jetty-util-9.2))
7211 (source (package-source java-eclipse-jetty-util-9.2))
7213 `(#:jar-name "eclipse-jetty-webapp.jar"
7214 #:source-dir "src/main/java"
7216 #:test-exclude (list "**/WebAppContextTest.java")
7218 (modify-phases %standard-phases
7219 (add-before 'configure 'chdir
7221 (chdir "jetty-webapp")
7224 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7225 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
7226 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
7227 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
7228 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
7229 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
7230 ("java-javaee-servletapi" ,java-javaee-servletapi)
7231 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7233 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7234 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7236 (define-public java-jsoup
7243 (url "https://github.com/jhy/jsoup")
7244 (commit (string-append "jsoup-" version))))
7245 (file-name (git-file-name name version))
7248 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
7249 (build-system ant-build-system)
7251 `(#:jar-name "jsoup.jar"
7252 #:source-dir "src/main/java"
7254 (modify-phases %standard-phases
7255 (add-before 'build 'copy-resources
7257 (let ((classes-dir (string-append (getcwd) "/build/classes")))
7258 (with-directory-excursion "src/main/java"
7259 (for-each (lambda (file)
7260 (let ((dist (string-append classes-dir "/" file)))
7261 (mkdir-p (dirname dist))
7262 (copy-file file dist)))
7263 (find-files "." ".*.properties"))))
7266 `(("java-junit" ,java-junit)
7267 ("java-hamcrest-core" ,java-hamcrest-core)
7268 ("java-gson" ,java-gson)))
7269 (home-page "https://jsoup.org")
7270 (synopsis "HTML parser")
7271 (description "Jsoup is a Java library for working with real-world HTML. It
7272 provides a very convenient API for extracting and manipulating data, using the
7273 best of DOM, CSS, and jQuery-like methods.")
7274 (license license:expat)))
7276 (define-public java-signpost-core
7278 (name "java-signpost-core")
7283 (url "https://github.com/mttkay/signpost")
7285 (file-name (git-file-name name version))
7288 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
7289 (build-system ant-build-system)
7291 `(#:jar-name "signpost-core.jar"
7292 #:source-dir "signpost-core/src/main/java"
7293 #:test-dir "signpost-core/src/test"
7294 ;; Tests all fail with InstantiationException from mockito
7297 `(("java-commons-codec" ,java-commons-codec)))
7298 (home-page "https://github.com/mttkay/signpost")
7299 (synopsis "Lightweight client-side OAuth library for Java")
7300 (description "Signpost is the easy and intuitive solution for signing
7301 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
7302 standard. Signpost follows a modular and flexible design, allowing you to
7303 combine it with different HTTP messaging layers.")
7304 (license license:asl2.0)))
7306 (define-public tidyp
7313 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
7317 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
7318 (build-system gnu-build-system)
7319 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
7320 (arguments `(#:tests? #f))
7321 (home-page "http://www.tidyp.com/")
7322 (synopsis "Validate HTML")
7323 (description "Tidyp is a program that can validate your HTML, as well as
7324 modify it to be more clean and standard. tidyp does not validate HTML 5.
7326 libtidyp is the library on which the program is based. It can be used by any
7327 other program that can interface to it. The Perl module @code{HTML::Tidy} is
7328 based on this library, allowing Perl programmers to easily validate HTML.")
7329 ;; See htmldoc/license.html
7330 (license license:bsd-3)))
7332 (define-public perl-html-tidy
7334 (name "perl-html-tidy")
7339 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
7343 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
7344 (build-system perl-build-system)
7347 (modify-phases %standard-phases
7348 (add-after 'unpack 'fix-tidyp-paths
7349 (lambda* (#:key inputs #:allow-other-keys)
7350 (substitute* "Makefile.PL"
7351 (("^my \\$inc = \"" line)
7353 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
7356 "-L" (assoc-ref inputs "tidyp") "/lib")))
7359 `(("perl-libwww" ,perl-libwww)
7362 `(("perl-test-exception" ,perl-test-exception)))
7363 (home-page "https://metacpan.org/release/HTML-Tidy")
7364 (synopsis "(X)HTML validation in a Perl object")
7365 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
7366 object. It's meant as a replacement for @code{HTML::Lint}, which is written
7367 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
7368 (license license:artistic2.0)))
7370 (define-public geomyidae
7378 (url "git://r-36.net/geomyidae")
7379 (commit (string-append "v" version))))
7380 (file-name (git-file-name name version))
7382 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
7383 (build-system gnu-build-system)
7385 `(#:make-flags (list "CC=gcc"
7386 (string-append "PREFIX="
7387 (assoc-ref %outputs "out")))
7388 #:tests? #f ; no tests
7389 #:phases (modify-phases %standard-phases
7390 (delete 'configure))))
7391 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
7392 (synopsis "Small Gopher server")
7394 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
7398 @item Gopher menus (see @file{index.gph} for an example);
7399 @item directory listings (if no @file{index.gph} was found);
7400 @item CGI support (@file{.cgi} files are executed);
7401 @item search support in CGI files;
7402 @item logging with multiple log levels.
7404 (license license:expat)))
7406 (define-public cat-avatar-generator
7408 (name "cat-avatar-generator")
7413 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
7414 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
7415 (file-name (string-append name "-" version))
7418 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
7419 (build-system trivial-build-system)
7421 `(#:modules ((guix build utils))
7424 (use-modules (guix build utils)
7428 (let ((source (assoc-ref %build-inputs "source"))
7429 (php-dir (string-append %output "/share/web/" ,name "/")))
7430 ;; The cache directory must not be in the store, but in a writable
7431 ;; location. The webserver will give us this location.
7432 (copy-recursively source php-dir)
7433 (substitute* (string-append php-dir "/cat-avatar-generator.php")
7434 (("\\$cachepath = .*")
7435 "if(isset($_SERVER['CACHE_DIR']))
7436 $cachepath = $_SERVER['CACHE_DIR'];
7438 die('You need to set the CACHE_DIR variable first.');"))
7440 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
7441 (synopsis "Random avatar generator")
7442 (description "Cat avatar generator is a generator of cat pictures optimised
7443 to generate random avatars, or defined avatar from a \"seed\". This is a
7444 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
7445 ;; expat for the code, CC-BY 4.0 for the artwork
7446 (license (list license:expat
7447 license:cc-by4.0))))
7449 (define-public nghttp2
7453 (replacement nghttp2-1.41)
7457 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7458 "releases/download/v" version "/"
7459 "nghttp2-" version ".tar.xz"))
7462 "0wwhwv7cvi1vxpdjwvg0kpa4jzhszclpnwrwfcw728zz53a47z09"))))
7463 (build-system gnu-build-system)
7464 (outputs (list "out"
7465 "lib")) ; only libnghttp2
7467 `(("pkg-config" ,pkg-config)
7469 ;; Required by tests.
7471 ("tzdata" ,tzdata-for-tests)))
7473 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
7474 `(("c-ares" ,c-ares)
7475 ("jansson" ,jansson) ; for HPACK tools
7476 ,@(if (hurd-target?) '()
7477 `(("jemalloc" ,jemalloc))) ; fight nghttpd{,x} heap fragmentation
7479 ("libxml2" ,libxml2) ; for ‘nghttp -a’
7480 ("openssl" ,openssl)
7481 ,@(if (hurd-target?)
7482 `(("openssl-static" ,openssl "static"))
7486 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
7487 "--enable-app" ; build all the tools
7488 "--enable-hpack-tools" ; ...all the tools
7489 "--disable-examples"
7490 "--disable-static") ; don't bother building .a files
7492 (modify-phases %standard-phases
7493 (add-after 'unpack 'break-circular-reference
7494 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
7495 ;; which is not allowed. Break this cycle. While we could install
7496 ;; only the library to ‘out’ and move everything else to a separate
7497 ;; output, this would inconvenience the majority of (human) users.
7498 (lambda* (#:key outputs #:allow-other-keys)
7499 (substitute* "lib/libnghttp2.pc.in"
7501 (assoc-ref outputs "lib")))
7503 (add-before 'check 'set-timezone-directory
7504 (lambda* (#:key inputs native-inputs #:allow-other-keys)
7505 (setenv "TZDIR" (string-append
7506 (assoc-ref (or native-inputs inputs) "tzdata")
7509 (home-page "https://nghttp2.org/")
7510 (synopsis "HTTP/2 protocol client, proxy, server, and library")
7512 "nghttp2 implements the Hypertext Transfer Protocol, version
7515 A reusable C library provides the HTTP/2 framing layer, with several tools built
7519 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
7520 and low-level aspects of the protocol and is useful for debugging.
7521 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
7522 serves files from a local directory.
7523 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
7524 deployed in front of existing web servers that don't support HTTP/2.
7525 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
7526 backwards compatibility with clients that don't speak HTTP/2.
7527 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
7528 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
7529 nghttp2 provides a HPACK encoder and decoder as part of its public API.
7530 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
7531 compressed JSON header blocks.
7532 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
7534 (license license:expat)))
7536 (define-public nghttp2-1.41 ;fixes CVE-2020-11080
7543 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7544 "releases/download/v" version "/"
7545 "nghttp2-" version ".tar.xz"))
7548 "1hk77vngjmvvzb5y1gi1aqwf6qywrc7yak08zvzb7x81qs6mphmb"))))))
7550 (define-public hpcguix-web
7551 (let ((commit "9de63562b06b4aef3a3afe5ecb18d3c91e57ee74")
7554 (name "hpcguix-web")
7555 (version (git-version "0.0.1" revision commit))
7559 (url "https://github.com/UMCUGenetics/hpcguix-web")
7561 (file-name (git-file-name name version))
7564 "0wjgj2s7v2cyz6dx24c111rxs99i84sfvxl4ch8brnh02j2606jz"))))
7565 (build-system gnu-build-system)
7567 `(#:modules ((guix build gnu-build-system)
7573 (modify-phases %standard-phases
7574 (add-before 'configure 'set-variables
7576 ;; This prevents a few warnings
7577 (setenv "GUILE_AUTO_COMPILE" "0")
7578 (setenv "XDG_CACHE_HOME" (getcwd))
7580 (add-after 'install 'wrap-program
7581 (lambda* (#:key inputs outputs #:allow-other-keys)
7582 (let* ((out (assoc-ref outputs "out"))
7583 (guix (assoc-ref inputs "guix"))
7584 (guile (assoc-ref inputs "guile"))
7585 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7586 (git (assoc-ref inputs "guile-git"))
7587 (bs (assoc-ref inputs "guile-bytestructures"))
7588 (json (assoc-ref inputs "guile-json"))
7589 (guile-cm (assoc-ref inputs
7590 "guile-commonmark"))
7591 (deps (list guile gcrypt git bs guile-cm guix json))
7594 (open-pipe* OPEN_READ
7595 (string-append guile "/bin/guile")
7596 "-c" "(display (effective-version))")))
7598 (map (cut string-append <>
7599 "/share/guile/site/"
7603 (gopath (string-join
7604 (map (cut string-append <>
7605 "/lib/guile/" effective
7609 (wrap-program (string-append out "/bin/run")
7610 `("GUILE_LOAD_PATH" ":" prefix (,path))
7611 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7615 `(("autoconf" ,autoconf)
7616 ("automake" ,automake)
7617 ("uglify-js" ,uglify-js)
7618 ("pkg-config" ,pkg-config)))
7620 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7623 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7624 ("guile-commonmark" ,guile-commonmark)
7625 ("guile-json" ,guile-json-4)))
7626 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7627 (synopsis "Web interface for cluster deployments of Guix")
7628 (description "Hpcguix-web provides a web interface to the list of packages
7629 provided by Guix. The list of packages is searchable and provides
7630 instructions on how to use Guix in a shared HPC environment.")
7631 (license license:agpl3+))))
7633 (define-public httrack
7639 (uri (string-append "https://mirror.httrack.com/historical/"
7640 "httrack-" version ".tar.gz"))
7643 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7644 (build-system gnu-build-system)
7646 `(("libressl" ,libressl)
7648 (home-page "https://www.httrack.com/")
7649 (synopsis "Easy-to-use offline browser utility")
7650 (description "HTTrack allows you to download a World Wide Web site from
7651 the Internet to a local directory, building recursively all directories,
7652 getting HTML, images, and other files from the server to your computer.
7654 HTTrack arranges the original site's relative link-structure. Simply open
7655 a page of the @emph{mirrored} website in your browser, and you can browse the
7656 site from link to link, as if you were viewing it online. HTTrack can also
7657 update an existing mirrored site, and resume interrupted downloads.
7659 HTTrack is fully configurable, and has an integrated help system.")
7660 (license license:gpl3+)))
7669 (uri (pypi-uri "buku" version))
7670 (file-name (git-file-name name version))
7673 "1g1xhdskfn72xaraqzz2v8dl2iza7bzfpn17z2wdrzkq3ih7yvgg"))))
7674 (build-system python-build-system)
7676 `(#:tests? #f)) ;FIXME: many tests need network access
7678 `(("python-beautifulsoup4" ,python-beautifulsoup4)
7679 ("python-certifi" ,python-certifi)
7680 ("python-cryptography" ,python-cryptography)
7681 ("python-html5lib" ,python-html5lib)
7682 ("python-urllib3" ,python-urllib3)))
7683 (home-page "https://github.com/jarun/buku")
7684 (synopsis "Bookmark manager")
7686 "buku is a powerful bookmark manager written in Python3 and SQLite3.
7687 @command{buku} can auto-import bookmarks from your browser and present them
7688 in an interactive command-line interface that lets you compose and update
7689 bookmarks directly. It can also present them in a web interface with
7690 @command{bukuserver}.")
7691 (license license:gpl3+)))
7693 (define-public anonip
7699 (uri (pypi-uri "anonip" version))
7702 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7703 (build-system python-build-system)
7704 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7705 (synopsis "Anonymize IP addresses in log files")
7707 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7708 That way most of the relevant information is preserved, while the IP address
7709 does not match a particular individuum anymore.
7711 Depending on your Web server, the log entries may be piped to Anonip directly
7712 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7713 written to any file.
7715 It's also possible to rewrite existing log files.
7717 Anonip can also be uses as a Python module in your own Python application.")
7718 (license license:bsd-3)))
7720 (define-public poussetaches
7722 (name "poussetaches")
7728 (url "https://github.com/tsileo/poussetaches")
7730 (file-name (git-file-name name version))
7733 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7734 (build-system go-build-system)
7736 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7737 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7739 `(#:import-path "github.com/tsileo/poussetaches"))
7740 (home-page "https://github.com/tsileo/poussetaches")
7741 (synopsis "Lightweight asynchronous task execution service")
7742 (description "Poussetaches (which literally means \"push tasks\" in
7743 French) is a lightweight asynchronous task execution service that aims to
7744 replace Celery and RabbitMQ for small Python applications.
7746 The app posts base64-encoded payload to poussetaches and specifies the
7747 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7748 requests with the registered payload until the right status code is
7750 (license license:isc)))
7752 (define-public htmlcxx
7760 (string-append "mirror://sourceforge/htmlcxx/v"
7761 version "/htmlcxx-" version ".tar.gz"))
7763 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7764 (build-system gnu-build-system)
7765 (home-page "http://htmlcxx.sourceforge.net/")
7766 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7767 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7768 C++. Although there are several other HTML parsers available, htmlcxx has some
7769 characteristics that make it unique:
7771 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7773 @item It is possible to reproduce exactly, character by character, the original
7774 document from the parse tree
7775 @item Bundled CSS parser
7776 @item Optional parsing of attributes
7777 @item C++ code that looks like C++ (not so true anymore)
7778 @item Offsets of tags/elements in the original document are stored in the nodes
7781 (license (list license:lgpl2.0
7785 (define-public librocket
7794 (url "https://github.com/libRocket/libRocket")
7795 (commit (string-append "release-" version))))
7796 (file-name (git-file-name name version))
7798 (base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
7799 (build-system cmake-build-system)
7801 `(#:tests? #f ; No tests.
7803 (modify-phases %standard-phases
7804 (add-after 'unpack 'chdir
7806 (chdir "Build"))))))
7808 `(("freetype" ,freetype)))
7809 (home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
7810 (synopsis "HTML/CSS user interface library")
7811 (description "libRocket is a C++ user interface package based on the HTML
7812 and CSS standards. libRocket uses the open standards XHTML1.0 and
7813 CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
7814 features suited towards real-time applications. It is designed as a complete
7815 solution for any project's interface needs:
7818 @item Dynamic layout system.
7819 @item Efficient application-wide styling, with a custom-built templating engine.
7820 @item Fully featured control set: buttons, sliders, drop-downs, etc.
7821 @item Runtime visual debugging suite.
7822 @item Easily integrated and extensible with Python or Lua scripting.
7824 (license license:expat)))
7826 (define-public gmnisrv
7827 (let ((commit "d484ba0ab0020866535a44be5948c9482b8f2b8d")
7831 (version (git-version "0" revision commit))
7832 (home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
7840 "11phipixsxx1jgm42agp76p5s68l0zj65kgb41vzaymgwcq79ivn"))
7841 (file-name (git-file-name name version))))
7842 (build-system gnu-build-system)
7845 (modify-phases %standard-phases
7846 (add-before 'configure 'set-variables
7852 `(("openssl" ,openssl)))
7854 `(("pkg-config" ,pkg-config)
7857 `(("mailcap" ,mailcap)))
7858 (synopsis "Simple Gemini protocol server")
7859 (description "gmnisrv is a simple Gemini protocol server written in C.")
7860 (license (list license:gpl3+
7861 license:bsd-3))))) ;; for ini.c and ini.h
7863 (define-public libzim
7870 (url "https://github.com/openzim/libzim")
7874 "0iy0f1clhihq277x218ccx3mszgpr3h9l0by48b9ykr115nffw3s"))
7875 (file-name (git-file-name name version))))
7876 (build-system meson-build-system)
7878 ;; TODO: Find out why tests fail.
7883 ("libuuid" ,util-linux "lib")
7885 ("zstd" ,zstd "lib")))
7887 `(("pkg-config" ,pkg-config)
7888 ("googletest" ,googletest)))
7889 (home-page "https://wiki.openzim.org/wiki/Main_Page")
7890 (synopsis "Reference implementation of the ZIM specification")
7891 (description "The openZIM project proposes offline storage solutions for
7892 content coming from the Web. The zimlib is the standard implementation of the
7893 ZIM specification. It is a library which implements the read and write method
7895 (license license:gpl2)))
7897 (define-public kiwix-lib
7901 (home-page "https://github.com/kiwix/kiwix-lib/")
7909 "034nk6l623v78clrs2d0k1vg69sbzrd8c0q79qiqmlkinck1nkxw"))
7910 (file-name (git-file-name name version))))
7911 (build-system meson-build-system)
7914 (modify-phases %standard-phases
7915 (add-before 'configure 'fix-paths-and-includes
7916 (lambda* (#:key inputs #:allow-other-keys)
7917 (setenv "CPPFLAGS" (string-append "-I" (assoc-ref inputs "mustache")))
7918 (substitute* "src/aria2.cpp"
7919 (("ARIA2_CMD \"aria2c\"")
7920 (string-append "ARIA2_CMD \""
7921 (assoc-ref inputs "aria2")
7928 ("libmicrohttpd" ,libmicrohttpd)
7930 ("pugixml" ,pugixml)
7933 ("zstd" ,zstd "lib")))
7935 `(("mustache" ,(origin
7938 (url "https://github.com/kainjow/Mustache")
7939 ;; XXX: Readme says to use version 3. Can we use 3.2.1?
7941 (file-name (git-file-name "mustache" "4.1"))
7944 "0r9rbk6v1wpld2ismfsk2lkhbyv3dkf0p03hkjivbj05qkfhvlbb"))))
7945 ("pkg-config" ,pkg-config)))
7946 (synopsis "Common code base for all Kiwix ports")
7947 (description "The Kiwix library provides the Kiwix software suite core.
7948 It contains the code shared by all Kiwix ports.")
7949 (license license:gpl3)))
7951 (define-public kiwix-desktop
7953 (name "kiwix-desktop")
7958 "https://download.kiwix.org/release/kiwix-desktop/kiwix-desktop-"
7963 "1a9h4qmh6fkfscyp6lax0ri07dvvzw2wp4kr1sm86n0bdk3cwwha"))))
7964 (build-system gnu-build-system)
7967 (modify-phases %standard-phases
7969 (lambda* (#:key outputs #:allow-other-keys)
7971 (string-append "PREFIX="
7972 (assoc-ref outputs "out")))))
7973 (add-before 'configure 'enable-print-support
7975 (substitute* "kiwix-desktop.pro"
7976 (("webenginewidgets") "webenginewidgets printsupport"))
7978 (add-before 'configure 'substitute-source
7979 ;; Looks like .pro file is missing a feature.
7980 ;; See https://github.com/kiwix/kiwix-desktop/issues/556.
7981 (lambda* (#:key inputs #:allow-other-keys)
7982 (substitute* "kiwix-desktop.pro"
7983 (("webenginewidgets" all) (string-append all " printsupport")))
7985 (add-after 'install 'wrap-qt-process-path
7986 (lambda* (#:key inputs outputs #:allow-other-keys)
7987 (let* ((out (assoc-ref outputs "out"))
7988 (bin (string-append out "/bin/kiwix-desktop"))
7989 (qt-process-path (string-append
7990 (assoc-ref inputs "qtwebengine")
7991 "/lib/qt5/libexec/QtWebEngineProcess")))
7993 `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
7998 ("kiwix-lib" ,kiwix-lib)
7999 ("libmicrohttpd" ,libmicrohttpd)
8001 ("pugixml" ,pugixml)
8003 ("qtdeclarative" ,qtdeclarative)
8004 ("qtwebchannel" ,qtwebchannel)
8005 ("qtwebengine" ,qtwebengine)
8008 ("zstd" ,zstd "lib")))
8010 `(("pkg-config" ,pkg-config)
8012 (home-page "https://wiki.kiwix.org/wiki/Software")
8013 (synopsis "Viewer and manager of ZIM files")
8014 (description "Kiwix Desktop allows you to enjoy a lot of different content
8015 offline (such as Wikipedia), without any access to Internet.")
8016 (license license:gpl3)))
8018 (define-public uriparser
8019 (let ((commit "25dddb16cf044a7df27884e7ad3911baaaca3d7c")
8023 (version (git-version "0.9.4" revision commit))
8027 (url "https://github.com/uriparser/uriparser")
8029 (file-name (git-file-name name version))
8032 "1ffzia679axcsccx2fxjpxhb0i5xc42zxn446x6c1170w6v69qf6"))))
8033 (build-system cmake-build-system)
8034 (native-inputs `(("gtest" ,googletest)
8035 ("doxygen" ,doxygen)
8036 ("graphviz" ,graphviz)))
8037 (synopsis "Strictly RFC 3986 compliant URI parsing and handling library")
8038 (description "uriparser is a strictly RFC 3986 compliant URI parsing and
8039 handling library written in C89 (\"ANSI C\"). uriparser is fast and supports
8041 (home-page "https://uriparser.github.io/")
8042 (license license:bsd-3))))