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, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
20 ;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
21 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
22 ;;; Copyright © 2017, 2018, 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 gtk)
122 #:use-module (gnu packages guile)
123 #:use-module (gnu packages guile-xyz)
124 #:use-module (gnu packages hurd)
125 #:use-module (gnu packages icu4c)
126 #:use-module (gnu packages image)
127 #:use-module (gnu packages java)
128 #:use-module (gnu packages jemalloc)
129 #:use-module (gnu packages imagemagick)
130 #:use-module (gnu packages kde)
131 #:use-module (gnu packages kerberos)
132 #:use-module (gnu packages libevent)
133 #:use-module (gnu packages libidn)
134 #:use-module (gnu packages libunistring)
135 #:use-module (gnu packages libunwind)
136 #:use-module (gnu packages linux)
137 #:use-module (gnu packages lisp-xyz)
138 #:use-module (gnu packages lsof)
139 #:use-module (gnu packages lua)
140 #:use-module (gnu packages mail)
141 #:use-module (gnu packages man)
142 #:use-module (gnu packages markup)
143 #:use-module (gnu packages ncurses)
144 #:use-module (gnu packages networking)
145 #:use-module (gnu packages nss)
146 #:use-module (gnu packages openldap)
147 #:use-module (gnu packages openstack)
148 #:use-module (gnu packages package-management)
149 #:use-module (gnu packages pcre)
150 #:use-module (gnu packages perl)
151 #:use-module (gnu packages perl-check)
152 #:use-module (gnu packages python)
153 #:use-module (gnu packages python-crypto)
154 #:use-module (gnu packages python-web)
155 #:use-module (gnu packages python-xyz)
156 #:use-module (gnu packages pkg-config)
157 #:use-module (gnu packages qt)
158 #:use-module (gnu packages re2c)
159 #:use-module (gnu packages readline)
160 #:use-module (gnu packages search)
161 #:use-module (gnu packages sphinx)
162 #:use-module (gnu packages texinfo)
163 #:use-module (gnu packages textutils)
164 #:use-module (gnu packages tls)
165 #:use-module (gnu packages valgrind)
166 #:use-module (gnu packages version-control)
167 #:use-module (gnu packages vim)
168 #:use-module (gnu packages xml)
169 #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
177 (uri (string-append "mirror://apache/httpd/httpd-"
181 "1sj1rwgbcjgkzac3ybjy7j68c9b3dv3ap71m48mrjhf6w7vds3kl"))))
182 (build-system gnu-build-system)
183 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
184 (inputs `(("apr" ,apr)
185 ("apr-util" ,apr-util)
187 ("perl" ,perl))) ; needed to run bin/apxs
189 `(#:test-target "test"
190 #:configure-flags (list "--enable-rewrite"
192 "--enable-vhost-alias"
194 "--enable-mime-magic"
195 (string-append "--sysconfdir="
196 (assoc-ref %outputs "out")
198 (synopsis "Featureful HTTP server")
200 "The Apache HTTP Server Project is a collaborative software development
201 effort aimed at creating a robust, commercial-grade, featureful, and
202 freely-available source code implementation of an HTTP (Web) server. The
203 project is jointly managed by a group of volunteers located around the world,
204 using the Internet and the Web to communicate, plan, and develop the server
205 and its related documentation.")
206 (license license:asl2.0)
207 (home-page "https://httpd.apache.org/")))
209 (define-public mod-wsgi
216 (url "https://github.com/GrahamDumpleton/mod_wsgi")
218 (file-name (git-file-name name version))
221 "1savh6h3qds20mwn1nqasmqzcp57pdhfc9v4b4k78d6q28y0r17s"))))
222 (build-system gnu-build-system)
224 '(#:tests? #f ; TODO: can't figure out if there are tests
226 (string-append "DESTDIR="
227 (assoc-ref %outputs "out"))
228 "LIBEXECDIR=/modules")))
231 ("python" ,python-wrapper)))
232 (synopsis "Apache HTTPD module for Python WSGI applications")
234 "The mod_wsgi module for the Apache HTTPD Server adds support for running
235 applications that support the Python @acronym{WSGI, Web Server Gateway
236 Interface} specification.")
237 (license license:asl2.0)
238 (home-page "https://modwsgi.readthedocs.io/")))
240 (define-public monolith
248 (url "https://github.com/Y2Z/monolith.git")
249 (commit (string-append "v" version))))
250 (file-name (git-file-name name version))
252 (base32 "16k5mp64a5l063rdj65hbpx414xv0bqdvhvz49k8018f2a2jj5xl"))))
253 (build-system cargo-build-system)
256 (("rust-base64" ,rust-base64-0.13)
257 ("rust-chrono" ,rust-chrono-0.4)
258 ("rust-clap" ,rust-clap-2)
259 ("rust-cssparser" ,rust-cssparser-0.27)
260 ("rust-html5ever" ,rust-html5ever-0.24)
261 ("rust-sha2" ,rust-sha2-0.9)
262 ("rust-url" ,rust-url-2))
263 #:cargo-development-inputs
264 (("rust-assert-cmd" ,rust-assert-cmd-1)
265 ("rust-reqwest" ,rust-reqwest-0.10)
266 ("rust-tempfile" ,rust-tempfile-3))))
268 `(("pkg-config" ,pkg-config)))
270 `(("openssl" ,openssl)))
271 (home-page "https://github.com/Y2Z/monolith")
272 (synopsis "Command line tool for saving web pages as a single HTML file")
274 "Monolith bundles any web page into a single HTML file.
276 Unlike conventional ``Save page as…'', Monolith not only saves the target
277 document, it embeds CSS, image, and JavaScript assets all at once, producing
278 a single HTML5 document.
280 If compared to saving websites with @samp{wget -mpk}, Monolith embeds
281 all assets as data URLs and therefore displays the saved page exactly
282 the same, being completely separated from the Internet.")
283 (license license:unlicense)))
288 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
289 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
290 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
291 ;; Consider updating the nginx-documentation package together with this one.
295 (uri (string-append "https://nginx.org/download/nginx-"
299 "173rv8gacd9bakb0r9jmkr4pqgjw9mzpdh3f7x2d8ln4ssplc2jw"))))
300 (build-system gnu-build-system)
301 (inputs `(("openssl" ,openssl)
305 `(#:tests? #f ; no test target
307 (modify-phases %standard-phases
308 (add-before 'configure 'patch-/bin/sh
310 (substitute* "auto/feature"
311 (("/bin/sh") (which "sh")))
314 ;; The configure script is hand-written, not from GNU autotools.
315 (lambda* (#:key configure-flags outputs #:allow-other-keys)
317 (append (list (string-append "--prefix=" (assoc-ref outputs "out"))
318 "--with-http_ssl_module"
319 "--with-http_v2_module"
322 ;; Even when not cross-building, we pass the
323 ;; --crossbuild option to avoid customizing for the
324 ;; kernel version on the build machine.
325 ,(let ((system "Linux") ; uname -s
326 (release "3.2.0") ; uname -r
328 (machine (match (or (%current-target-system)
330 ("x86_64-linux" "x86_64")
331 ("i686-linux" "i686")
332 ("mips64el-linux" "mips64")
333 ;; Prevent errors when querying
334 ;; this package on unsupported
335 ;; platforms, e.g. when running
336 ;; "guix package --search="
338 (string-append "--crossbuild="
339 system ":" release ":" machine)))
342 (format #t "configure flags: ~s~%" flags)
343 (apply invoke "./configure" flags)
345 (add-after 'install 'install-man-page
346 (lambda* (#:key outputs #:allow-other-keys)
347 (let* ((out (assoc-ref outputs "out"))
348 (man (string-append out "/share/man")))
349 (install-file "objs/nginx.8" (string-append man "/man8"))
351 (add-after 'install 'fix-root-dirs
352 (lambda* (#:key outputs #:allow-other-keys)
353 ;; 'make install' puts things in strange places, so we need to
354 ;; clean it up ourselves.
355 (let* ((out (assoc-ref outputs "out"))
356 (share (string-append out "/share/nginx")))
357 ;; This directory is empty, so get rid of it.
358 (rmdir (string-append out "/logs"))
359 ;; Example configuration and HTML files belong in
362 (rename-file (string-append out "/conf")
363 (string-append share "/conf"))
364 (rename-file (string-append out "/html")
365 (string-append share "/html"))
367 (home-page "https://nginx.org")
368 (synopsis "HTTP and reverse proxy server")
370 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
371 created by Igor Sysoev. It can be used both as a stand-alone web server
372 and as a proxy to reduce the load on back-end HTTP or mail servers.")
373 ;; Almost all of nginx is distributed under the bsd-2 license.
374 ;; The exceptions are:
375 ;; * The 'nginx-http-push' module is covered by the expat license.
376 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
377 ;; except for two source files which are bsd-4 licensed.
378 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
380 (define-public nginx-documentation
381 ;; This documentation should be relevant for the current nginx package.
382 (let ((version "1.19.5")
384 (changeset "64bbb9163a14"))
386 (name "nginx-documentation")
387 (version (simple-format #f "~A-~A-~A" version revision changeset))
389 (origin (method hg-fetch)
391 (url "http://hg.nginx.org/nginx.org")
392 (changeset changeset)))
393 (file-name (string-append name "-" version))
396 "085f3c00mqsaq95hp1bv9y0b517jv4zzs2q0j1c9m8nvh7k09zaa"))))
397 (build-system gnu-build-system)
399 '(#:tests? #f ; no test suite
401 (modify-phases %standard-phases
402 (delete 'configure) ; no configure script
404 (lambda* (#:key outputs #:allow-other-keys)
405 (let ((output (assoc-ref outputs "out")))
406 (substitute* "umasked.sh"
407 ((" /bin/sh") (string-append " " (which "sh"))))
408 ;; The documentation includes a banner, which makes sense on
409 ;; the NGinx website, but doesn't make much sense when
410 ;; viewing locally. Therefore, modify the CSS to remove the
412 (substitute* "xslt/style.xslt"
413 (("#banner \\{ background: black;")
414 "#banner { display: none;"))
418 (lambda* (#:key outputs #:allow-other-keys)
419 (let ((output (assoc-ref outputs "out")))
421 (copy-recursively "libxslt" output)
424 `(("libxml2" ,libxml2)
426 ("nginx-xslscript" ,nginx-xslscript)))
427 (home-page "https://nginx.org")
428 (synopsis "Documentation for the nginx web server")
430 "This package provides HTML documentation for the nginx web server.")
431 (license license:bsd-2))))
433 (define-public nginx-accept-language-module
434 ;; Upstream has never made a release; use current commit instead.
435 (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
438 (name "nginx-accept-language-module")
439 (version (git-version "0.0.0" ;upstream has no version number
445 (url "https://github.com/giom/nginx_accept_language_module")
447 (file-name (git-file-name name version))
449 (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
450 (build-system gnu-build-system)
451 (inputs `(("openssl" ,openssl)
453 ("nginx-sources" ,(package-source nginx))
456 `(#:tests? #f ; no test target
457 #:make-flags (list "modules")
458 #:modules ((guix build utils)
459 (guix build gnu-build-system)
462 (ice-9 textual-ports))
464 (modify-phases %standard-phases
465 (add-after 'unpack 'unpack-nginx-sources
466 (lambda* (#:key inputs native-inputs #:allow-other-keys)
468 ;; The nginx source code is part of the module’s source.
469 (format #t "decompressing nginx source code~%")
470 (let ((tar (assoc-ref inputs "tar"))
471 (nginx-srcs (assoc-ref inputs "nginx-sources")))
472 (invoke (string-append tar "/bin/tar")
473 "xvf" nginx-srcs "--strip-components=1"))
475 (add-after 'unpack 'convert-to-dynamic-module
478 (with-atomic-file-replacement "config"
480 ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
481 (format out "ngx_module_type=HTTP~%")
482 (format out "ngx_module_name=\
483 ngx_http_accept_language_module~%")
484 (let* ((str (get-string-all in))
486 "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
487 (m (regexp-exec rx str))
488 (srcs (match:substring m 1)))
489 (format out (string-append "ngx_module_srcs=\""
491 (format out ". auto/module~%")
492 (format out "ngx_addon_name=$ngx_module_name~%"))))))
493 (add-before 'configure 'patch-/bin/sh
495 (substitute* "auto/feature"
496 (("/bin/sh") (which "sh")))
499 ;; This phase is largely copied from the nginx package.
500 (lambda* (#:key outputs #:allow-other-keys)
502 (list ;; A copy of nginx’ flags follows, otherwise we
503 ;; get a binary compatibility error. FIXME: Code
504 ;; duplication is bad.
505 (string-append "--prefix=" (assoc-ref outputs "out"))
506 "--with-http_ssl_module"
507 "--with-http_v2_module"
510 ;; Even when not cross-building, we pass the
511 ;; --crossbuild option to avoid customizing for the
512 ;; kernel version on the build machine.
513 ,(let ((system "Linux") ; uname -s
514 (release "3.2.0") ; uname -r
516 (machine (match (or (%current-target-system)
518 ("x86_64-linux" "x86_64")
519 ("i686-linux" "i686")
520 ("mips64el-linux" "mips64")
521 ;; Prevent errors when querying
522 ;; this package on unsupported
523 ;; platforms, e.g. when running
524 ;; "guix package --search="
526 (string-append "--crossbuild="
527 system ":" release ":" machine))
528 ;; The following are the args decribed on
529 ;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
530 ;; Enabling --with-compat here and in the nginx package
531 ;; would ensure binary compatibility even when using
532 ;; different configure options from the main nginx
533 ;; package. This is not needed for Guix.
535 "--add-dynamic-module=.")))
537 (format #t "environment variable `CC' set to `gcc'~%")
538 (format #t "configure flags: ~s~%" flags)
539 (apply invoke "./configure" flags)
542 (lambda* (#:key outputs #:allow-other-keys)
543 (let* ((out (assoc-ref outputs "out"))
544 (modules-dir (string-append out "/etc/nginx/modules"))
545 (doc-dir (string-append
546 out "/share/doc/nginx-accept-language-module")))
547 (mkdir-p modules-dir)
548 (copy-file "objs/ngx_http_accept_language_module.so"
550 modules-dir "/ngx_http_accept_language_module.so"))
552 (copy-file "README.textile"
553 (string-append doc-dir "/README.textile"))
556 "https://www.nginx.com/resources/wiki/modules/accept_language/")
557 (synopsis "Nginx module for parsing the Accept-Language HTTP header")
559 "This nginx module parses the Accept-Language field in HTTP headers and
560 chooses the most suitable locale for the user from the list of locales
561 supported at your website.")
562 (license (delete-duplicates
563 (cons license:bsd-2 ;license of nginx-accept-language-module
564 ;; The module’s code is linked statically with nginx,
565 ;; therefore nginx’ other licenses may also apply to its
567 (package-license nginx)))))))
569 (define nginx-xslscript
571 (changeset "01dc9ba12e1b"))
573 (name "nginx-xslscript")
575 (simple-format #f "2014-03-31-~A-~A" revision changeset))
579 (url "http://hg.nginx.org/xslscript")
580 (changeset changeset)))
581 (file-name (string-append name "-" version))
584 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
585 (build-system gnu-build-system)
587 '(#:tests? #f ; No test suite
589 (modify-phases %standard-phases
593 (lambda* (#:key outputs #:allow-other-keys)
594 (let ((out-bin (string-append
595 (assoc-ref outputs "out")
598 (copy-file "xslscript.pl"
603 (home-page "http://hg.nginx.org/xslscript")
604 (synopsis "XSLScript with NGinx specific modifications")
606 "XSLScript is a terse notation for writing complex XSLT stylesheets.
607 This is modified version, specifically intended for use with the NGinx
609 (license license:bsd-2))))
611 (define nginx-socket-cloexec
614 (name "nginx-socket-cloexec") ;required for lua-resty-shell
617 (inherit (package-source nginx))
618 (patches (append (search-patches "nginx-socket-cloexec.patch")
619 (origin-patches (package-source nginx))))))))
621 (define-public nginx-lua-module
624 (name "nginx-lua-module")
630 (url "https://github.com/openresty/lua-nginx-module")
631 (commit (string-append "v" version))))
632 (file-name (git-file-name "lua-nginx-module" version))
634 (base32 "0nwcbqm1visg1dkxav7qa16w0d0n8cgqn4881xiqn88xfkxj0dyg"))))
635 (build-system gnu-build-system)
637 `(("nginx-sources" ,(package-source nginx-socket-cloexec))
639 ,@(package-inputs nginx)))
641 (substitute-keyword-arguments
642 `(#:configure-flags '("--add-dynamic-module=.")
643 #:make-flags '("modules")
644 #:modules ((guix build utils)
645 (guix build gnu-build-system)
648 (ice-9 textual-ports))
649 ,@(package-arguments nginx))
651 `(modify-phases ,phases
652 (add-after 'unpack 'unpack-nginx-sources
653 (lambda* (#:key inputs native-inputs #:allow-other-keys)
655 ;; The nginx source code is part of the module’s source.
656 (format #t "decompressing nginx source code~%")
657 (let ((tar (assoc-ref inputs "tar"))
658 (nginx-srcs (assoc-ref inputs "nginx-sources")))
659 (invoke (string-append tar "/bin/tar")
660 "xvf" nginx-srcs "--strip-components=1"))
662 (add-before 'configure 'set-luajit-env
663 (lambda* (#:key inputs #:allow-other-keys)
664 (let ((luajit (assoc-ref inputs "luajit")))
666 (string-append luajit "/lib"))
668 (string-append luajit "/include/luajit-2.1"))
671 (lambda* (#:key outputs #:allow-other-keys)
672 (let ((modules-dir (string-append (assoc-ref outputs "out")
673 "/etc/nginx/modules")))
674 (install-file "objs/ngx_http_lua_module.so" modules-dir)
676 (delete 'fix-root-dirs)
677 (delete 'install-man-page)))))
678 (synopsis "NGINX module for Lua programming language support")
679 (description "This NGINX module provides a scripting support with Lua
680 programming language.")))
682 (define-public lighttpd
688 (uri (string-append "https://download.lighttpd.net/lighttpd/"
689 "releases-" (version-major+minor version) ".x/"
690 "lighttpd-" version ".tar.xz"))
693 "0xyzahrkmldwskwgjgj4dc3rmfmgqiwwr9y7jfhqpbp8g76q9kp4"))))
694 (build-system gnu-build-system)
705 (modify-phases %standard-phases
706 (add-after 'unpack 'embed-/bin/sh-reference
708 (substitute* "src/mod_ssi.c"
709 (("/bin/sh") (which "sh")))
711 (add-after 'unpack 'fix-tests
713 (setenv "SHELL" (which "sh"))
714 ;; gethostbyaddr fails
715 (substitute* "tests/LightyTest.pm"
716 (("\\{HOSTNAME\\} = \\$name;")
717 "{HOSTNAME} = \"127.0.0.1\";"))
720 `(("cyrus-sasl" ,cyrus-sasl)
722 ("libunwind" ,libunwind)
723 ("linux-pam" ,linux-pam)
724 ("mit-krb5" ,mit-krb5)
725 ("openldap" ,openldap)
728 ("pcre:bin" ,pcre "bin")
731 `(("perl" ,perl) ; for tests
732 ("pkg-config" ,pkg-config)
734 (home-page "https://www.lighttpd.net/")
735 (synopsis "Lightweight HTTP and reverse proxy server")
737 "Lighttpd is a secure, fast, compliant, and very flexible web-server that
738 has been optimized for high-performance environments. It has a very low
739 memory footprint compared to other webservers. Its features include FastCGI,
740 CGI, authentication, output compression, URL rewriting and many more.")
741 (license license:bsd-3)))
750 ;; Upstream has disappeared.
752 (url "https://github.com/FastCGI-Archives/fcgi2")
754 (file-name (git-file-name name version))
756 (base32 "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"))))
757 (build-system gnu-build-system)
758 ;; Parallel building is not supported.
759 (arguments `(#:parallel-build? #f))
761 `(("autoconf" ,autoconf)
762 ("automake" ,automake)
763 ("libtool" ,libtool)))
764 ;; This is an archived fork of the original home page, www.fastcgi.com.
765 (home-page "https://fastcgi-archives.github.io/")
766 (synopsis "Language-independent, high-performant extension to CGI")
767 (description "FastCGI is a language-independent, scalable extension to CGI
768 that provides high performance without the limitations of server specific
770 ;; This package is released under the Open Market License, a variant of
771 ;; the Expat license, incompatible with the GPL.
772 (license (license:non-copyleft "file://LICENSE.TERMS"))))
774 (define-public fcgiwrap
782 (url "https://github.com/gnosek/fcgiwrap")
784 (file-name (git-file-name name version))
786 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
787 (build-system gnu-build-system)
789 `(#:tests? #f ; no tests included
790 #:make-flags (list "CC=gcc")
792 (modify-phases %standard-phases
793 (add-after 'unpack 'fix-CFLAGS
794 ;; Remove broken options unconditionally added to CFLAGS.
796 (substitute* "configure.ac"
800 `(("autoconf" ,autoconf)
801 ("automake" ,automake)
802 ("pkg-config" ,pkg-config)))
805 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
806 (synopsis "Simple server for running CGI applications over FastCGI")
807 (description "Fcgiwrap is a simple server for running CGI applications
808 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
809 servers that may need it).")
810 (license license:expat)))
812 (define-public starman
819 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
820 "Starman-" version ".tar.gz"))
822 (base32 "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h"))))
823 (build-system perl-build-system)
825 `(("perl-libwww" ,perl-libwww)
826 ("perl-module-build-tiny" ,perl-module-build-tiny)
827 ("perl-test-requires" ,perl-test-requires)))
829 `(("perl-data-dump" ,perl-data-dump)
830 ("perl-http-date" ,perl-http-date)
831 ("perl-http-message" ,perl-http-message)
832 ("perl-http-parser-xs" ,perl-http-parser-xs)
833 ("perl-net-server" ,perl-net-server)
834 ("perl-plack" ,perl-plack)
835 ("perl-test-tcp" ,perl-test-tcp)))
836 (home-page "https://metacpan.org/release/Starman")
837 (synopsis "PSGI/Plack web server")
838 (description "Starman is a PSGI perl web server that has unique features
839 such as high performance, preforking, signal support, superdaemon awareness,
840 and UNIX socket support.")
841 (license license:perl-license)))
843 (define-public icedtea-web
850 "http://icedtea.wildebeest.org/download/source/"
851 name "-" version ".tar.gz"))
854 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
855 (build-system gnu-build-system)
858 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
859 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
861 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
862 (outputs '("out" "doc"))
864 `(("pkg-config" ,pkg-config)
868 ("jdk" ,icedtea "jdk")))
869 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
870 (synopsis "Java Web Start")
872 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
873 Protocol}, also known as Java Web Start. This package provides tools and
874 libraries for working with JNLP applets.")
875 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
877 (license license:gpl2+)))
879 (define-public jansson
886 (string-append "http://www.digip.org/jansson/releases/jansson-"
890 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
891 (build-system gnu-build-system)
893 `(#:configure-flags '("--disable-static")))
894 (home-page "http://www.digip.org/jansson/")
895 (synopsis "JSON C library")
897 "Jansson is a C library for encoding, decoding and manipulating JSON
899 (license license:expat)))
901 (define-public json-c
908 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
912 "0w381krr99q5a2rypx4g437fa7gzgl82i64sgnrs6g5jr44dwxxk"))
913 (patches (search-patches "json-c-CVE-2020-12762.patch"))))
914 (build-system cmake-build-system)
915 (home-page "https://github.com/json-c/json-c/wiki")
916 (synopsis "JSON implementation in C")
918 "JSON-C implements a reference counting object model that allows you to
919 easily construct JSON objects in C, output them as JSON-formatted strings and
920 parse JSON-formatted strings back into the C representation of JSON objects.
921 It aims to conform to RFC 7159.")
922 (license license:x11)))
924 ;; TODO: Remove these old versions when all dependents have been updated.
925 (define-public json-c-0.13
932 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
935 (base32 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
936 (patches (search-patches "json-c-0.13-CVE-2020-12762.patch"))
937 (modules '((guix build utils)))
940 ;; Somehow 'config.h.in' is older than
941 ;; 'aclocal.m4', which would trigger a rule to
943 (set-file-time "config.h.in"
946 (build-system gnu-build-system)))
948 (define-public json-c-0.12
950 (inherit json-c-0.13)
955 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
958 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
959 (patches (search-patches "json-c-0.12-CVE-2020-12762.patch"))
960 (modules '((guix build utils)))
963 ;; Somehow 'config.h.in' is older than
964 ;; 'aclocal.m4', which would trigger a rule to
966 (set-file-time "config.h.in"
969 ;; Don't try to build with -Werror.
970 (substitute* (find-files "." "Makefile\\.in")
974 (define-public json-parser
979 ;; do not use auto-generated tarballs
982 (url "https://github.com/udp/json-parser")
983 (commit (string-append "v" version))))
984 (file-name (git-file-name name version))
987 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
988 ;; FIXME: we should build the python bindings in a separate package
989 (build-system gnu-build-system)
990 ;; the tests are written for the python bindings which are not built here
991 (arguments '(#:tests? #f))
992 (home-page "https://github.com/udp/json-parser")
993 (synopsis "JSON parser written in ANSI C")
994 (description "This package provides a very low footprint JSON parser
995 written in portable ANSI C.
998 @item BSD licensed with no dependencies (i.e. just drop the C file into your
1000 @item Never recurses or allocates more memory than it needs
1001 @item Very simple API with operator sugar for C++
1003 (license license:bsd-2)))
1005 (define-public qjson
1012 (url "https://github.com/flavio/qjson")
1014 (file-name (git-file-name name version))
1017 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
1018 (build-system cmake-build-system)
1020 ;; The tests require a running X server.
1021 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
1022 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
1024 (modify-phases %standard-phases
1025 (add-after 'unpack 'disable-broken-test
1027 ;; FIXME: One test fails. See
1028 ;; https://github.com/flavio/qjson/issues/105
1029 (substitute* "tests/scanner/testscanner.cpp"
1030 (("QTest::newRow\\(\"too large exponential\"\\)" line)
1031 (string-append "//" line)))
1033 (add-before 'check 'render-offscreen
1034 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
1036 `(("qtbase" ,qtbase)))
1037 (home-page "http://qjson.sourceforge.net")
1038 (synopsis "Library that maps JSON data to QVariant objects")
1039 (description "QJson is a Qt-based library that maps JSON data to
1040 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
1041 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
1042 ;; Only version 2.1 of the license
1043 (license license:lgpl2.1)))
1045 (define-public qoauth
1052 (url "https://github.com/ayoy/qoauth")
1053 (commit (string-append "v" version))))
1054 (file-name (git-file-name name version))
1057 "1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3"))))
1058 (build-system gnu-build-system)
1061 ("qtbase" ,qtbase)))
1063 '(#:tests? #f ;FIXME: some tests are failing
1065 (modify-phases %standard-phases
1066 (add-after 'unpack 'patch-code
1068 (make-file-writable "src/qoauth.pc")
1069 (substitute* "src/src.pro"
1070 (("/lib64") "/lib"))
1072 (add-after 'unpack 'adjust-mkspecs-directory
1073 (lambda* (#:key outputs #:allow-other-keys)
1074 (substitute* "src/src.pro"
1075 ;; Do not attempt to install the .prf file into qtbase
1076 ;; "lib/qt5/mkspecs/features", ref <https://bugs.gnu.org/45031>.
1077 (("\\$\\$\\[QMAKE_MKSPECS\\]")
1078 (string-append (assoc-ref outputs "out") "/lib/qt5/mkspecs")))
1081 (lambda* (#:key inputs #:allow-other-keys)
1082 (let ((qca (assoc-ref inputs "qca")))
1085 (string-append "PREFIX=" (assoc-ref %outputs "out"))
1086 (string-append "QMAKE_INCDIR+=" qca "/include/Qca-qt5/QtCrypto")
1087 (string-append "LIBS+=-L" qca "/lib")
1088 (string-append "LIBS+=-lqca-qt5"))))))))
1089 (home-page "https://github.com/ayoy/qoauth")
1090 (synopsis "Qt-based C++ library for OAuth authorization scheme")
1091 (description "QOAuth is an attempt to support interaction with
1092 OAuth-powered network services in a Qt way, i.e. simply, clearly and
1093 efficiently. It gives the application developer no more than 4 methods.")
1094 (license license:lgpl2.1+)))
1096 (define-public krona-tools
1098 (name "krona-tools")
1103 "https://github.com/marbl/Krona/releases/download/v"
1104 version "/KronaTools-" version ".tar"))
1107 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
1108 (build-system perl-build-system)
1111 (modify-phases %standard-phases
1112 ;; There is no configure or build steps.
1115 ;; Install script "install.pl" expects the build directory to remain
1116 ;; after installation, creating symlinks etc., so re-implement it
1119 (lambda* (#:key outputs #:allow-other-keys)
1120 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
1121 (perl (string-append (assoc-ref outputs "out")
1122 "/lib/perl5/site_perl/krona-tools/lib")))
1126 (let* ((executable (string-append "scripts/" script ".pl")))
1127 ;; Prefix executables with 'kt' as install script does.
1128 (copy-file executable (string-append bin "/kt" script))))
1130 "GetContigMagnitudes"
1140 "ImportMETAREP-BLAST"
1145 "ImportRDPComparison"
1151 (copy-recursively directory
1152 (string-append perl "/../" directory)))
1153 (list "data" "img" "taxonomy" "src"))
1154 (install-file "lib/KronaTools.pm" perl))))
1155 (add-after 'install 'wrap-program
1156 (lambda* (#:key inputs outputs #:allow-other-keys)
1157 (let* ((out (assoc-ref outputs "out"))
1158 (path (getenv "PERL5LIB")))
1160 (lambda (executable)
1161 (wrap-program executable
1162 `("PERL5LIB" ":" prefix
1163 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
1164 (find-files (string-append out "/bin/") ".*")))))
1166 (add-after 'wrap-program 'check
1167 (lambda* (#:key inputs outputs #:allow-other-keys)
1168 (with-directory-excursion "data"
1169 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
1173 (home-page "https://github.com/marbl/Krona/wiki")
1174 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
1176 "Krona is a flexible tool for exploring the relative proportions of
1177 hierarchical data, such as metagenomic classifications, using a radial,
1178 space-filling display. It is implemented using HTML5 and JavaScript, allowing
1179 charts to be explored locally or served over the Internet, requiring only a
1180 current version of any major web browser.")
1181 (license license:bsd-3)))
1183 (define-public rapidjson
1190 (url "https://github.com/Tencent/rapidjson")
1191 (commit (string-append "v" version))))
1192 (file-name (git-file-name name version))
1195 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
1196 (patches (search-patches "rapidjson-gcc-compat.patch"))
1197 (modules '((guix build utils)))
1200 ;; Remove code using the problematic JSON license (see
1201 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
1202 (delete-file-recursively "bin/jsonchecker")
1204 (build-system cmake-build-system)
1206 (if (string-prefix? "aarch64" (or (%current-target-system)
1209 (modify-phases %standard-phases
1210 (add-after 'unpack 'patch-aarch-march-detection
1212 (substitute* (find-files "." "^CMakeLists\\.txt$")
1213 (("native") "armv8-a"))
1215 ;; Disable CPU optimization for reproducibility.
1216 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
1217 (home-page "https://github.com/Tencent/rapidjson")
1218 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
1220 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
1222 (license license:expat)))
1224 (define-public libyajl
1231 (url "https://github.com/lloyd/yajl")
1233 (file-name (git-file-name name version))
1236 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
1237 (build-system cmake-build-system)
1240 (modify-phases %standard-phases
1241 (add-after 'patch-source-shebangs 'patch-tests
1243 (substitute* "test/parsing/run_tests.sh"
1244 (("`which echo`") (which "echo")))
1246 (home-page "https://lloyd.github.io/yajl/")
1247 (synopsis "C library for parsing JSON")
1249 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
1250 parser written in ANSI C and a small validating JSON generator.")
1251 (license license:isc)))
1253 (define-public libwebsockets
1255 (name "libwebsockets")
1258 ;; The project does not publish tarballs, so we have to take
1262 (url "https://github.com/warmcat/libwebsockets")
1263 (commit (string-append "v" version
1264 "-chrome37-firefox30"))))
1267 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
1268 (file-name (string-append name "-" version))))
1270 (build-system cmake-build-system)
1272 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
1273 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
1276 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
1277 (inputs `(("zlib" ,zlib)
1278 ("openssl" ,openssl)))
1279 (synopsis "WebSockets library written in C")
1281 "Libwebsockets is a library that allows C programs to establish client
1282 and server WebSockets connections---a protocol layered above HTTP that allows
1283 for efficient socket-like bidirectional reliable communication channels.")
1284 (home-page "https://libwebsockets.org")
1286 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
1287 (license license:lgpl2.1)))
1297 (url "https://github.com/WebAssembly/wabt")
1299 (file-name (git-file-name name version))
1301 (base32 "1zlv3740wkqj4mn6sr84h0x6wk2lcp4pwwmqsh5yyqp1j1glbsa0"))))
1302 (build-system cmake-build-system)
1304 `(#:configure-flags '("-DBUILD_TESTS=OFF")
1306 (inputs `(("python" ,python-2)
1308 (home-page "https://github.com/WebAssembly/wabt")
1309 (synopsis "WebAssembly Binary Toolkit")
1310 (description "WABT (pronounced: wabbit) is a suite of tools for
1311 WebAssembly, including:
1314 @item @command{wat2wasm} translates from WebAssembly text format to the
1315 WebAssembly binary format
1316 @item @command{wasm2wat} is the inverse; it translates from the binary format
1317 back to the text format (also known as a .wat)
1318 @item @command{wasm-objdump} prints information about a wasm binary, similarly
1319 to @command{objdump}.
1320 @item @command{wasm-interp} decodes ands run a WebAssembly binary file using a
1321 stack-based interpreter
1322 @item @command{wat-desugar} parses .wat text form as supported by the spec
1323 interpreter (s-expressions, flat syntax, or mixed) and prints the canonical
1325 @item @command{wasm2c} converts a WebAssembly binary file to a C source and
1329 These tools are intended for use in (or for development of) toolchains or
1330 other systems that want to manipulate WebAssembly files.")
1331 (license license:asl2.0)))
1333 (define-public websocketpp
1335 (name "websocketpp")
1341 (url "https://github.com/zaphoyd/websocketpp")
1343 (file-name (git-file-name name version))
1345 (base32 "1ww4fhl8qf12hkv6jaild8zzsygdspxm1gqpk2f63gv1xfi31wpm"))
1346 (patches (search-patches "websocketpp-fix-for-cmake-3.15.patch"))))
1347 (build-system cmake-build-system)
1348 (inputs `(("boost" ,boost)
1349 ("openssl" ,openssl)))
1350 (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
1352 (modify-phases %standard-phases
1353 (add-after 'install 'remove-tests
1354 (lambda* (#:key outputs #:allow-other-keys)
1355 (let* ((install-dir (assoc-ref outputs "out"))
1356 (bin-dir (string-append install-dir "/bin")))
1357 (delete-file-recursively bin-dir)
1359 (home-page "https://www.zaphoyd.com/websocketpp/")
1360 (synopsis "C++ library implementing the WebSocket protocol")
1361 (description "WebSocket++ is a C++ library that can be used to implement
1362 WebSocket functionality. The goals of the project are to provide a WebSocket
1363 implementation that is simple, portable, flexible, lightweight, low level, and
1365 (license license:bsd-3)))
1367 (define-public wslay
1375 (url "https://github.com/tatsuhiro-t/wslay")
1376 (commit (string-append "release-" version))))
1377 (file-name (git-file-name name version))
1379 (base32 "1w32iljg4inqf0712w5fxxhggvmjh6ipl2lnz0h36dv1xrj0d964"))))
1380 (build-system gnu-build-system)
1382 ;; Parallel builds don't reliably succeed.
1383 `(#:parallel-build? #f))
1385 `(("autoconf" ,autoconf)
1386 ("automake" ,automake)
1387 ("cunit" ,cunit) ; for tests
1388 ("libtool" ,libtool)
1389 ("pkg-config" ,pkg-config)
1390 ("python-sphinx" ,python-sphinx)))
1391 (home-page "https://tatsuhiro-t.github.io/wslay/")
1392 (synopsis "C WebSocket library")
1393 (description "@code{Wslay} is an event-based C library for the WebSocket
1394 protocol version 13, described in RFC 6455. Besides a high-level API it
1395 provides callbacks for sending and receiving frames directly. @code{Wslay}
1396 only supports the data transfer part of WebSocket protocol and does not
1397 perform the opening handshake in HTTP.")
1398 (license license:expat)))
1400 (define-public libpsl
1406 (uri (string-append "https://github.com/rockdaboot/libpsl/"
1407 "releases/download/" version
1408 "/libpsl-" version ".tar.gz"))
1411 "0k0d46bbh1jj2ll369f134vciplrzbqkg7fv9m62bl6lzghy2v5c"))))
1412 (build-system gnu-build-system)
1414 `(("pkg-config" ,pkg-config)
1417 ("python" ,python-wrapper)))
1419 `(("libidn2" ,libidn2)
1420 ("libunistring" ,libunistring)))
1421 (home-page "https://github.com/rockdaboot/libpsl")
1422 (synopsis "C library for the Publix Suffix List")
1424 "A \"public suffix\" is a domain name under which Internet users can
1425 directly register own names.
1427 Browsers and other web clients can use it to avoid privacy-leaking
1428 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
1429 highlighting parts of the domain in a user interface, and sorting domain lists
1432 Libpsl has built-in PSL data for fast access, allowing to load PSL data from
1433 files, checks if a given domain is a public suffix, provides immediate cookie
1434 domain verification, finds the longest public part of a given domain, finds
1435 the shortest private part of a given domain, works with international
1436 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
1438 (license license:x11)))
1443 (version "20091223")
1448 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
1450 (revision "2009-12-23")))
1451 (file-name (string-append name "-" version "-checkout"))
1454 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
1455 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
1456 (build-system gnu-build-system)
1458 '(#:phases (modify-phases %standard-phases
1460 (lambda* (#:key inputs #:allow-other-keys)
1461 ;; configure.in and Makefile.am aren't in the root of the
1463 (copy-recursively "build/gnuauto" ".")
1464 (setenv "AUTOMAKE" "automake --foreign")
1465 (invoke "autoreconf" "-vfi"))))))
1467 `(("automake" ,automake)
1468 ("autoconf" ,autoconf)
1469 ("libtool" ,libtool)))
1470 (synopsis "HTML validator and tidier")
1471 (description "HTML Tidy is a command-line tool and C library that can be
1472 used to validate and fix HTML data.")
1473 (home-page "http://tidy.sourceforge.net/")
1474 (license (license:x11-style "file:///include/tidy.h"))))
1476 (define-public esbuild
1484 (url "https://github.com/evanw/esbuild")
1485 (commit (string-append "v" version))))
1486 (file-name (git-file-name name version))
1488 (base32 "1gkh3ka7gfdqvzymj6vh9w2d0cp7n2vih42y7ghg7y8x6ry4c6mi"))
1489 (modules '((guix build utils)))
1492 ;; Remove prebuilt binaries
1493 (delete-file-recursively "npm")
1495 (build-system go-build-system)
1497 '(#:import-path "github.com/evanw/esbuild/cmd/esbuild"
1498 #:unpack-path "github.com/evanw/esbuild"
1500 (modify-phases %standard-phases
1502 (lambda* (#:key tests? unpack-path #:allow-other-keys)
1504 (with-directory-excursion (string-append "src/" unpack-path)
1505 (invoke "make" "test-go")))
1508 `(("golang.org/x/sys" ,go-golang-org-x-sys)))
1510 `(("github.com/kylelemons/godebug" ,go-github-com-kylelemons-godebug)))
1511 (home-page "https://esbuild.github.io/")
1512 (synopsis "Bundler and minifier tool for JavaScript and TypeScript")
1514 "The esbuild tool provides a unified bundler, transpiler and
1515 minifier. It packages up JavaScript and TypeScript code, along with JSON
1516 and other data, for distribution on the web.")
1517 (license license:expat)))
1519 (define-public tinyproxy
1525 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1526 "releases/download/" version "/tinyproxy-"
1530 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
1531 (build-system gnu-build-system)
1535 ;; For the log file, etc.
1536 "--localstatedir=/var")
1538 (modify-phases %standard-phases
1539 (add-before 'build 'pre-build
1540 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1541 ;; Uncommenting the next two lines may assist in debugging
1542 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1543 ;; (setenv "XML_DEBUG_CATALOG" "1")
1545 (home-page "https://tinyproxy.github.io/")
1546 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1547 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1548 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1549 solution for use cases such as embedded deployments where a full featured HTTP
1550 proxy is required, but the system resources for a larger proxy are
1552 (license license:gpl2+)))
1554 (define-public polipo
1562 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1566 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1567 (native-inputs `(("texinfo" ,texinfo)))
1568 (build-system gnu-build-system)
1570 `(#:phases (modify-phases %standard-phases
1571 (delete 'configure))
1572 #:make-flags (let ((out (assoc-ref %outputs "out")))
1573 (list (string-append "PREFIX=" out)
1574 (string-append "LOCAL_ROOT="
1575 out "/share/polipo/www")
1577 ;; No 'check' target.
1579 (home-page "https://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1580 (synopsis "Small caching web proxy")
1582 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1583 server). It was primarily designed to be used by one person or a small group
1585 (license license:expat)))
1587 (define-public websockify
1594 (url "https://github.com/novnc/websockify")
1595 (commit (string-append "v" version))))
1596 (file-name (git-file-name name version))
1599 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1600 (build-system python-build-system)
1602 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1603 ; named 'stubout'". The tests can be run by replacing the check phase with
1604 ; the command "python setup.py nosetests --verbosity=3".
1605 (native-inputs `(; Required for tests:
1606 ("python-mox3" ,python-mox3)
1607 ("python-nose" ,python-nose)))
1608 (propagated-inputs `(("python-numpy" ,python-numpy)))
1609 (home-page "https://github.com/novnc/websockify")
1610 (synopsis "WebSockets support for any application/server")
1611 (description "Websockify translates WebSockets traffic to normal socket
1612 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1613 begins forwarding traffic between the client and the target in both
1615 (license license:lgpl3)))
1617 (define-public wwwoffle
1623 (uri (string-append "https://www.gedanken.org.uk/software/"
1624 "wwwoffle/download/wwwoffle-"
1628 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1629 (build-system gnu-build-system)
1631 `(#:configure-flags '("--with-gnutls")
1632 #:tests? #f)) ; no test target
1633 (native-inputs `(("flex" ,flex)))
1634 (inputs `(("gnutls" ,gnutls)
1635 ("libcrypt" ,libgcrypt)))
1636 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1637 (synopsis "Caching web proxy optimized for intermittent internet links")
1638 (description "WWWOFFLE is a proxy web server that is especially good for
1639 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1640 protocols, and supports browsing and requesting pages while offline, indexing,
1641 modifying pages and incoming and outgoing headers, monitoring pages for
1642 changes, and much more.")
1643 (license license:gpl2+)))
1645 (define-public liboauth
1651 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1655 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1656 (build-system gnu-build-system)
1657 (arguments '(#:configure-flags '("--enable-nss")))
1658 (native-inputs `(("pkg-config" ,pkg-config)))
1662 (home-page "https://sourceforge.net/projects/liboauth")
1663 (synopsis "C library implementing the OAuth API")
1665 "liboauth is a collection of C functions implementing the OAuth API.
1666 liboauth provides functions to escape and encode strings according to OAuth
1667 specifications and offers high-level functionality built on top to sign
1668 requests or verify signatures using either NSS or OpenSSL for calculating the
1670 ;; Source code may be distributed under either license.
1671 (license (list license:expat license:gpl2+))))
1673 (define-public libyaml
1680 (uri (string-append "https://pyyaml.org/download/libyaml/yaml-"
1684 "1x4fcw13r3lqy8ndydr3ili87wicplw2awbcv6r21qgyfndswhn6"))))
1685 (build-system gnu-build-system)
1687 '(#:configure-flags '("--disable-static")))
1688 (home-page "https://pyyaml.org/wiki/LibYAML")
1689 (synopsis "YAML 1.1 parser and emitter written in C")
1691 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1692 (license license:expat)))
1694 (define-public libyaml+static
1697 (name "libyaml+static")
1699 '(#:configure-flags '("--enable-static")))))
1701 (define-public libquvi-scripts
1703 (name "libquvi-scripts")
1709 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1710 name "/" name "-" version ".tar.xz"))
1712 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1713 (build-system gnu-build-system)
1714 (home-page "http://quvi.sourceforge.net/")
1715 (synopsis "Media stream URL parser")
1716 (description "This package contains support scripts called by libquvi to
1717 parse media stream properties.")
1718 (license license:lgpl2.1+)))
1720 (define-public libquvi
1728 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1729 name "-" version ".tar.xz"))
1731 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1732 (build-system gnu-build-system)
1733 (native-inputs `(("pkg-config" ,pkg-config)))
1736 ("cyrus-sasl" ,cyrus-sasl)
1737 ("libquvi-scripts" ,libquvi-scripts)
1739 ("openssl" ,openssl)
1742 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1744 (let ((lua (assoc-ref %build-inputs "lua")))
1746 (string-append "liblua_CFLAGS=-I" lua "/include")
1747 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1748 (home-page "http://quvi.sourceforge.net/")
1749 (synopsis "Media stream URL parser")
1750 (description "libquvi is a library with a C API for parsing media stream
1751 URLs and extracting their actual media files.")
1752 (license license:lgpl2.1+)))
1762 "mirror://sourceforge/" name "/" (version-major+minor version)
1763 "/" name "/" name "-" version ".tar.xz"))
1765 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1766 (build-system gnu-build-system)
1767 (native-inputs `(("pkg-config" ,pkg-config)))
1770 ("libquvi" ,libquvi)))
1771 (home-page "http://quvi.sourceforge.net/")
1772 (synopsis "Media stream URL parser")
1773 (description "quvi is a command-line-tool suite to extract media files
1774 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1775 (license license:lgpl2.1+)))
1784 (uri (string-append "mirror://apache/serf/serf-"
1785 version ".tar.bz2"))
1787 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1788 (build-system scons-build-system)
1791 ("apr-util" ,apr-util)
1792 ("openssl" ,openssl)))
1794 `(;; TODO: Fix build with gss.
1798 `(#:scons ,scons-python2
1799 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1800 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1801 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1802 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1803 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1804 (string-append "PREFIX=" %output))
1806 (modify-phases %standard-phases
1807 (add-after 'unpack 'scons-propagate-environment
1809 ;; By design, SCons does not, by default, propagate
1810 ;; environment variables to subprocesses. See:
1811 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1812 ;; Here, we modify the SConstruct file to arrange for
1813 ;; environment variables to be propagated.
1814 (substitute* "SConstruct"
1815 (("^env = Environment\\(")
1816 "env = Environment(ENV=os.environ, "))))
1817 (add-before 'check 'disable-broken-tests
1819 ;; These tests rely on SSL certificates that expired 2017-04-18.
1820 ;; While there are newer certs available upstream, we don't want
1821 ;; this package to suddenly "expire" some time in the future.
1822 ;; https://bugs.gnu.org/26671
1824 '("test_ssl_trust_rootca"
1825 "test_ssl_certificate_chain_with_anchor"
1826 "test_ssl_certificate_chain_all_from_server"
1827 "test_ssl_no_servercert_callback_allok"
1828 "test_ssl_large_response"
1829 "test_ssl_large_request"
1830 "test_ssl_client_certificate"
1831 "test_ssl_future_server_cert"
1832 "test_setup_ssltunnel"
1833 "test_ssltunnel_basic_auth"
1834 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1835 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1836 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1837 "test_ssltunnel_digest_auth")))
1840 (substitute* "test/test_context.c"
1841 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1844 (home-page "https://serf.apache.org/")
1845 (synopsis "High-performance asynchronous HTTP client library")
1847 "serf is a C-based HTTP client library built upon the Apache Portable
1848 Runtime (APR) library. It multiplexes connections, running the read/write
1849 communication asynchronously. Memory copies and transformations are kept to a
1850 minimum to provide high performance operation.")
1851 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1852 ;; bundled CuTest framework uses a different non-copyleft license.
1853 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1855 (define-public libsass
1858 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1863 (url "https://github.com/sass/libsass")
1865 (file-name (git-file-name name version))
1868 "0r8lfqvr3rjhjd8r036zd1wc9q17gyiskppcw9m13jks9an7xp4j"))))
1869 (build-system gnu-build-system)
1872 (modify-phases %standard-phases
1873 (add-before 'bootstrap 'set-LIBSASS_VERSION
1875 (setenv "LIBSASS_VERSION" ,version)
1878 `(("autoconf" ,autoconf)
1879 ("automake" ,automake)
1880 ("libtool" ,libtool)))
1881 (home-page "https://sass-lang.com/libsass")
1882 (synopsis "SASS Compiler, implemented as a C/C++ library")
1884 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1885 library designed for portability and efficiency. To actually compile SASS
1886 stylesheets, you'll need to use another program that uses this library,
1887 @var{sassc} for example.")
1888 (license license:expat)))
1890 (define-public sassc
1897 (url "https://github.com/sass/sassc")
1899 (file-name (git-file-name name version))
1902 "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv"))))
1903 (build-system gnu-build-system)
1907 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1908 #:tests? #f ; no test suite
1910 (modify-phases %standard-phases
1911 (add-after 'unpack 'patch-Makefile
1913 (substitute* "Makefile"
1914 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1915 "build-shared: $(RESOURCES) $(OBJECTS)")
1916 (("\\$\\(SASSC_EXE\\): libsass build")
1917 "$(SASSC_EXE): build")
1918 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1921 ;; This phase fails for some reason.
1923 ;; There is no configure script.
1925 (add-before 'build 'setup-environment
1927 (setenv "BUILD" "shared")
1928 (setenv "SASSC_VERSION" ,version)
1931 `(("libsass" ,libsass)))
1932 (synopsis "CSS pre-processor")
1933 (description "SassC is a compiler written in C for the CSS pre-processor
1934 language known as SASS.")
1935 (home-page "https://sass-lang.com/libsass")
1936 (license license:expat)))
1938 (define-public sassc/libsass-3.5
1939 ;; Newer libsass versions suffor from a memory leak when building (some?)
1940 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
1954 (url "https://github.com/sass/libsass")
1956 (file-name (git-file-name name version))
1959 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
1960 (properties '((hidden? . #t)))))
1963 (define-public perl-apache-logformat-compiler
1965 (name "perl-apache-logformat-compiler")
1970 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1971 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1973 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
1974 (build-system perl-build-system)
1976 `(("perl-http-message" ,perl-http-message)
1977 ("perl-module-build-tiny" ,perl-module-build-tiny)
1978 ("perl-test-mocktime" ,perl-test-mocktime)
1979 ("perl-try-tiny" ,perl-try-tiny)
1980 ("perl-uri" ,perl-uri)))
1982 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1983 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1984 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1985 (synopsis "Compile a log format string to perl-code")
1986 (description "This module provides methods to compile a log format string
1987 to perl-code, for faster generation of access_log lines.")
1988 (license license:perl-license)))
1990 (define-public perl-authen-sasl
1992 (name "perl-authen-sasl")
1997 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1998 "Authen-SASL-" version ".tar.gz"))
2001 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
2002 (build-system perl-build-system)
2005 (modify-phases %standard-phases
2006 (add-after 'unpack 'set-env
2007 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
2008 ;; versions of perl-authen-sasl.
2009 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
2011 `(("perl-digest-hmac" ,perl-digest-hmac)
2012 ("perl-gssapi" ,perl-gssapi)))
2013 (home-page "https://metacpan.org/release/Authen-SASL")
2014 (synopsis "SASL authentication framework")
2015 (description "Authen::SASL provides an SASL authentication framework.")
2016 (license license:perl-license)))
2018 (define-public perl-catalyst-action-renderview
2020 (name "perl-catalyst-action-renderview")
2025 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2026 "Catalyst-Action-RenderView-"
2030 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
2031 (build-system perl-build-system)
2033 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
2034 ("perl-module-install" ,perl-module-install)))
2036 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2037 ("perl-data-visitor" ,perl-data-visitor)
2038 ("perl-mro-compat" ,perl-mro-compat)))
2039 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
2040 (synopsis "Sensible default Catalyst action")
2041 (description "This Catalyst action implements a sensible default end
2042 action, which will forward to the first available view.")
2043 (license license:perl-license)))
2045 (define-public perl-catalyst-action-rest
2047 (name "perl-catalyst-action-rest")
2051 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2052 "Catalyst-Action-REST-" version ".tar.gz"))
2055 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
2056 (build-system perl-build-system)
2058 `(("perl-test-requires" ,perl-test-requires)
2059 ("perl-module-install" ,perl-module-install)))
2061 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2062 ("perl-class-inspector" ,perl-class-inspector)
2063 ("perl-config-general" ,perl-config-general)
2064 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
2065 ("perl-libwww" ,perl-libwww)
2066 ("perl-moose" ,perl-moose)
2067 ("perl-mro-compat" ,perl-mro-compat)
2068 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2069 ("perl-params-validate" ,perl-params-validate)
2070 ("perl-uri-find" ,perl-uri-find)
2071 ("perl-xml-simple" ,perl-xml-simple)))
2072 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
2073 (synopsis "Automated REST Method Dispatching")
2074 (description "This Action handles doing automatic method dispatching for
2075 REST requests. It takes a normal Catalyst action, and changes the dispatch to
2076 append an underscore and method name. First it will try dispatching to an
2077 action with the generated name, and failing that it will try to dispatch to a
2079 (license license:perl-license)))
2081 (define-public perl-catalyst-authentication-store-dbix-class
2083 (name "perl-catalyst-authentication-store-dbix-class")
2088 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2089 "Catalyst-Authentication-Store-DBIx-Class-"
2093 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
2094 (build-system perl-build-system)
2096 `(("perl-catalyst-plugin-authorization-roles"
2097 ,perl-catalyst-plugin-authorization-roles)
2098 ("perl-catalyst-plugin-session-state-cookie"
2099 ,perl-catalyst-plugin-session-state-cookie)
2100 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
2101 ("perl-module-install" ,perl-module-install)
2102 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2104 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2105 ("perl-catalyst-plugin-authentication"
2106 ,perl-catalyst-plugin-authentication)
2107 ("perl-dbix-class" ,perl-dbix-class)
2108 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
2110 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
2111 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
2112 (description "The Catalyst::Authentication::Store::DBIx::Class class
2113 provides access to authentication information stored in a database via
2115 (license license:perl-license)))
2117 (define-public perl-catalyst-component-instancepercontext
2119 (name "perl-catalyst-component-instancepercontext")
2120 (version "0.001001")
2124 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
2125 "Catalyst-Component-InstancePerContext-"
2129 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
2130 (build-system perl-build-system)
2132 `(("perl-module-install" ,perl-module-install)))
2134 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2135 ("perl-moose" ,perl-moose)))
2137 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
2138 (synopsis "Create only one instance of Moose component per context")
2139 (description "Catalyst::Component::InstancePerContext returns a new
2140 instance of a component on each request.")
2141 (license license:perl-license)))
2143 (define-public perl-catalyst-devel
2145 (name "perl-catalyst-devel")
2150 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2151 "Catalyst-Devel-" version ".tar.gz"))
2153 (base32 "1r8arq7sw37d0mjyfzkc3pg1a9plgydqbscryc8qpvba4swpljls"))))
2154 (build-system perl-build-system)
2156 `(("perl-test-fatal" ,perl-test-fatal)))
2158 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
2159 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
2160 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
2161 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2162 ("perl-config-general" ,perl-config-general)
2163 ("perl-file-changenotify" ,perl-file-changenotify)
2164 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
2165 ("perl-file-sharedir" ,perl-file-sharedir)
2166 ("perl-module-install" ,perl-module-install)
2167 ("perl-moose" ,perl-moose)
2168 ("perl-moosex-emulate-class-accessor-fast"
2169 ,perl-moosex-emulate-class-accessor-fast)
2170 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2171 ("perl-namespace-clean" ,perl-namespace-clean)
2172 ("perl-path-class" ,perl-path-class)
2173 ("perl-template-toolkit" ,perl-template-toolkit)))
2174 (home-page "https://metacpan.org/release/Catalyst-Devel")
2175 (synopsis "Catalyst Development Tools")
2176 (description "The Catalyst-Devel distribution includes a variety of
2177 modules useful for the development of Catalyst applications, but not required
2178 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
2179 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
2180 extension for Catalyst; and requirements for a variety of development-related
2182 (license license:perl-license)))
2184 (define-public perl-catalyst-dispatchtype-regex
2186 (name "perl-catalyst-dispatchtype-regex")
2191 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
2192 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
2195 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
2196 (build-system perl-build-system)
2198 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
2199 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2200 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
2202 `(("perl-moose" ,perl-moose)
2203 ("perl-text-simpletable" ,perl-text-simpletable)))
2204 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
2205 (synopsis "Regex DispatchType for Catalyst")
2206 (description "Dispatch type managing path-matching behaviour using
2207 regexes. Regex dispatch types have been deprecated and removed from Catalyst
2208 core. It is recommend that you use Chained methods or other techniques
2209 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
2210 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
2211 when the dispatch type is first seen in your application.")
2212 (license license:perl-license)))
2214 (define-public perl-catalyst-model-dbic-schema
2216 (name "perl-catalyst-model-dbic-schema")
2221 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
2222 "Catalyst-Model-DBIC-Schema-"
2226 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
2227 (build-system perl-build-system)
2229 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
2230 ("perl-module-install" ,perl-module-install)
2231 ("perl-test-exception" ,perl-test-exception)
2232 ("perl-test-requires" ,perl-test-requires)))
2234 `(("perl-carp-clan" ,perl-carp-clan)
2235 ("perl-catalyst-component-instancepercontext"
2236 ,perl-catalyst-component-instancepercontext)
2237 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2238 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
2239 ("perl-dbix-class" ,perl-dbix-class)
2240 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
2241 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
2242 ("perl-hash-merge" ,perl-hash-merge)
2243 ("perl-list-moreutils" ,perl-list-moreutils)
2244 ("perl-module-runtime" ,perl-module-runtime)
2245 ("perl-moose" ,perl-moose)
2246 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
2247 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
2248 ("perl-moosex-types" ,perl-moosex-types)
2249 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
2250 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2251 ("perl-namespace-clean" ,perl-namespace-clean)
2252 ("perl-tie-ixhash" ,perl-tie-ixhash)
2253 ("perl-try-tiny" ,perl-try-tiny)))
2254 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
2255 (synopsis "DBIx::Class::Schema Model Class")
2256 (description "This is a Catalyst Model for DBIx::Class::Schema-based
2258 (license license:perl-license)))
2260 (define-public perl-catalyst-plugin-accesslog
2262 (name "perl-catalyst-plugin-accesslog")
2267 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
2268 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
2271 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
2272 (build-system perl-build-system)
2274 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2275 ("perl-datetime" ,perl-datetime)
2276 ("perl-moose" ,perl-moose)
2277 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2278 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
2279 (synopsis "Request logging from within Catalyst")
2280 (description "This Catalyst plugin enables you to create \"access logs\"
2281 from within a Catalyst application instead of requiring a webserver to do it
2282 for you. It will work even with Catalyst debug logging turned off.")
2283 (license license:perl-license)))
2285 (define-public perl-catalyst-plugin-authentication
2287 (name "perl-catalyst-plugin-authentication")
2292 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2293 "Catalyst-Plugin-Authentication-"
2297 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
2298 (build-system perl-build-system)
2300 `(("perl-module-install" ,perl-module-install)))
2302 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2303 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2304 ("perl-class-inspector" ,perl-class-inspector)
2305 ("perl-moose" ,perl-moose)
2306 ("perl-moosex-emulate-class-accessor-fast"
2307 ,perl-moosex-emulate-class-accessor-fast)
2308 ("perl-mro-compat" ,perl-mro-compat)
2309 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2310 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2311 ("perl-test-exception" ,perl-test-exception)
2312 ("perl-try-tiny" ,perl-try-tiny)))
2313 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
2314 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
2315 (description "The authentication plugin provides generic user support for
2316 Catalyst apps. It is the basis for both authentication (checking the user is
2317 who they claim to be), and authorization (allowing the user to do what the
2318 system authorises them to do).")
2319 (license license:perl-license)))
2321 (define-public perl-catalyst-plugin-authorization-roles
2323 (name "perl-catalyst-plugin-authorization-roles")
2328 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2329 "Catalyst-Plugin-Authorization-Roles-"
2333 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
2334 (build-system perl-build-system)
2336 `(("perl-module-install" ,perl-module-install)
2337 ("perl-test-exception" ,perl-test-exception)))
2339 `(("perl-catalyst-plugin-authentication"
2340 ,perl-catalyst-plugin-authentication)
2341 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2342 ("perl-set-object" ,perl-set-object)
2343 ("perl-universal-isa" ,perl-universal-isa)))
2345 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2346 (synopsis "Role-based authorization for Catalyst")
2347 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2348 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2349 (license license:perl-license)))
2351 (define-public perl-catalyst-plugin-captcha
2353 (name "perl-catalyst-plugin-captcha")
2358 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2359 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2362 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2363 (build-system perl-build-system)
2365 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2366 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2367 ("perl-gd-securityimage" ,perl-gd-securityimage)
2368 ("perl-http-date" ,perl-http-date)))
2369 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2370 (synopsis "Captchas for Catalyst")
2371 (description "This plugin creates and validates Captcha images for
2373 (license license:perl-license)))
2375 (define-public perl-catalyst-plugin-configloader
2377 (name "perl-catalyst-plugin-configloader")
2382 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2383 "Catalyst-Plugin-ConfigLoader-"
2386 (base32 "0w8r3bbxqnlykvra6sx3sh3wh8ylkj914xg5ql6nw11ddy56jaly"))))
2387 (build-system perl-build-system)
2389 `(("perl-path-class" ,perl-path-class)
2390 ("perl-module-install" ,perl-module-install)))
2392 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2393 ("perl-config-any" ,perl-config-any)
2394 ("perl-data-visitor" ,perl-data-visitor)
2395 ("perl-mro-compat" ,perl-mro-compat)))
2396 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2397 (synopsis "Load config files of various types")
2398 (description "This module will attempt to load find and load configuration
2399 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2401 (license license:perl-license)))
2403 (define-public perl-catalyst-plugin-session
2405 (name "perl-catalyst-plugin-session")
2410 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2411 "Catalyst-Plugin-Session-" version ".tar.gz"))
2413 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2414 (build-system perl-build-system)
2416 `(("perl-module-install" ,perl-module-install)
2417 ("perl-test-deep" ,perl-test-deep)
2418 ("perl-test-exception" ,perl-test-exception)))
2420 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2421 ("perl-moose" ,perl-moose)
2422 ("perl-moosex-emulate-class-accessor-fast"
2423 ,perl-moosex-emulate-class-accessor-fast)
2424 ("perl-mro-compat" ,perl-mro-compat)
2425 ("perl-namespace-clean" ,perl-namespace-clean)
2426 ("perl-object-signature" ,perl-object-signature)
2427 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2428 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2429 (synopsis "Catalyst generic session plugin")
2430 (description "This plugin links the two pieces required for session
2431 management in web applications together: the state, and the store.")
2432 (license license:perl-license)))
2434 (define-public perl-catalyst-plugin-session-state-cookie
2436 (name "perl-catalyst-plugin-session-state-cookie")
2441 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2442 "Catalyst-Plugin-Session-State-Cookie-"
2446 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2447 (build-system perl-build-system)
2449 `(("perl-module-install" ,perl-module-install)))
2451 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2452 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2453 ("perl-moose" ,perl-moose)
2454 ("perl-mro-compat" ,perl-mro-compat)
2455 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2457 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2458 (synopsis "Maintain session IDs using cookies")
2459 (description "In order for Catalyst::Plugin::Session to work, the session
2460 ID needs to be stored on the client, and the session data needs to be stored
2461 on the server. This plugin stores the session ID on the client using the
2463 (license license:perl-license)))
2465 (define-public perl-catalyst-plugin-session-store-fastmmap
2467 (name "perl-catalyst-plugin-session-store-fastmmap")
2472 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2473 "Catalyst-Plugin-Session-Store-FastMmap-"
2477 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2478 (build-system perl-build-system)
2480 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2481 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2482 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2483 ("perl-moosex-emulate-class-accessor-fast"
2484 ,perl-moosex-emulate-class-accessor-fast)
2485 ("perl-mro-compat" ,perl-mro-compat)
2486 ("perl-path-class" ,perl-path-class)))
2488 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2489 (synopsis "FastMmap session storage backend")
2490 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2491 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2492 memory interprocess cache. It is based on Cache::FastMmap.")
2493 (license license:perl-license)))
2495 (define-public perl-catalyst-plugin-stacktrace
2497 (name "perl-catalyst-plugin-stacktrace")
2502 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2503 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2506 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2507 (build-system perl-build-system)
2509 `(("perl-module-install" ,perl-module-install)))
2511 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2512 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2513 ("perl-mro-compat" ,perl-mro-compat)))
2514 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2515 (synopsis "Stack trace on the Catalyst debug screen")
2516 (description "This plugin enhances the standard Catalyst debug screen by
2517 including a stack trace of your application up to the point where the error
2518 occurred. Each stack frame is displayed along with the package name, line
2519 number, file name, and code context surrounding the line number.")
2520 (license license:perl-license)))
2522 (define-public perl-catalyst-plugin-static-simple
2524 (name "perl-catalyst-plugin-static-simple")
2529 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2530 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2533 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2534 (build-system perl-build-system)
2536 `(("perl-module-install" ,perl-module-install)))
2538 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2539 ("perl-mime-types" ,perl-mime-types)
2540 ("perl-moose" ,perl-moose)
2541 ("perl-moosex-types" ,perl-moosex-types)
2542 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2543 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2544 (synopsis "Simple serving of static pages")
2545 (description "The Static::Simple plugin is designed to make serving static
2546 content in your application during development quick and easy, without
2547 requiring a single line of code from you. This plugin detects static files by
2548 looking at the file extension in the URL (such as .css or .png or .js). The
2549 plugin uses the lightweight MIME::Types module to map file extensions to
2550 IANA-registered MIME types, and will serve your static files with the correct
2551 MIME type directly to the browser, without being processed through Catalyst.")
2552 (license license:perl-license)))
2554 (define-public perl-catalyst-runtime
2556 (name "perl-catalyst-runtime")
2561 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2562 "Catalyst-Runtime-" version ".tar.gz"))
2565 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2566 (build-system perl-build-system)
2568 `(("perl-test-fatal" ,perl-test-fatal)))
2570 `(("perl-cgi-simple" ,perl-cgi-simple)
2571 ("perl-cgi-struct" ,perl-cgi-struct)
2572 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2573 ("perl-class-date" ,perl-class-date)
2574 ("perl-class-load" ,perl-class-load)
2575 ("perl-data-dump" ,perl-data-dump)
2576 ("perl-http-body" ,perl-http-body)
2577 ("perl-http-message" ,perl-http-message)
2578 ("perl-json-maybexs" ,perl-json-maybexs)
2579 ("perl-libwww" ,perl-libwww)
2580 ("perl-module-pluggable" ,perl-module-pluggable)
2581 ("perl-moose" ,perl-moose)
2582 ("perl-moosex-emulate-class-accessor-fast"
2583 ,perl-moosex-emulate-class-accessor-fast)
2584 ("perl-moosex-getopt" ,perl-moosex-getopt)
2585 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2586 ("perl-namespace-clean" ,perl-namespace-clean)
2587 ("perl-path-class" ,perl-path-class)
2588 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2589 ("perl-plack" ,perl-plack)
2590 ("perl-plack-middleware-fixmissingbodyinredirect"
2591 ,perl-plack-middleware-fixmissingbodyinredirect)
2592 ("perl-plack-middleware-methodoverride"
2593 ,perl-plack-middleware-methodoverride)
2594 ("perl-plack-middleware-removeredundantbody"
2595 ,perl-plack-middleware-removeredundantbody)
2596 ("perl-plack-middleware-reverseproxy"
2597 ,perl-plack-middleware-reverseproxy)
2598 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2599 ("perl-safe-isa" ,perl-safe-isa)
2600 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2601 ("perl-text-simpletable" ,perl-text-simpletable)
2602 ("perl-tree-simple" ,perl-tree-simple)
2603 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2604 ("perl-try-tiny" ,perl-try-tiny)
2605 ("perl-uri" ,perl-uri)
2606 ("perl-uri-ws" ,perl-uri-ws)))
2607 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2608 (synopsis "The Catalyst Framework Runtime")
2609 (description "Catalyst is a modern framework for making web applications.
2610 It is designed to make it easy to manage the various tasks you need to do to
2611 run an application on the web, either by doing them itself, or by letting you
2612 \"plug in\" existing Perl modules that do what you need.")
2613 (license license:perl-license)))
2615 (define-public perl-catalyst-traitfor-request-proxybase
2617 (name "perl-catalyst-traitfor-request-proxybase")
2618 (version "0.000005")
2622 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2623 "Catalyst-TraitFor-Request-ProxyBase-"
2627 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2628 (build-system perl-build-system)
2630 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2631 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2632 ("perl-http-message" ,perl-http-message)
2633 ("perl-module-install" ,perl-module-install)))
2635 `(("perl-moose" ,perl-moose)
2636 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2637 ("perl-uri" ,perl-uri)))
2639 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2640 (synopsis "Replace request base with value passed by HTTP proxy")
2641 (description "This module is a Moose::Role which allows you more
2642 flexibility in your application's deployment configurations when deployed
2643 behind a proxy. Using this module, the request base ($c->req->base) is
2644 replaced with the contents of the X-Request-Base header.")
2645 (license license:perl-license)))
2647 (define-public perl-catalyst-view-download
2649 (name "perl-catalyst-view-download")
2654 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2655 "Catalyst-View-Download-" version ".tar.gz"))
2658 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2659 (build-system perl-build-system)
2661 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2662 ("perl-module-install" ,perl-module-install)
2663 ("perl-test-simple" ,perl-test-simple)
2664 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2665 ("perl-text-csv" ,perl-text-csv)
2666 ("perl-xml-simple" ,perl-xml-simple)))
2667 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2668 (synopsis "Download data in many formats")
2669 (description "The purpose of this module is to provide a method for
2670 downloading data into many supportable formats. For example, downloading a
2671 table based report in a variety of formats (CSV, HTML, etc.).")
2672 (license license:perl-license)))
2674 (define-public perl-catalyst-view-json
2676 (name "perl-catalyst-view-json")
2681 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2682 "Catalyst-View-JSON-" version ".tar.gz"))
2685 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2686 (build-system perl-build-system)
2688 `(("perl-module-install" ,perl-module-install)
2689 ("perl-yaml" ,perl-yaml)))
2691 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2692 ("perl-json-maybexs" ,perl-json-maybexs)
2693 ("perl-mro-compat" ,perl-mro-compat)))
2694 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2695 (synopsis "Catalyst JSON view")
2696 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2697 stash data in JSON format.")
2698 (license license:perl-license)))
2700 (define-public perl-catalyst-view-tt
2702 (name "perl-catalyst-view-tt")
2707 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2708 "Catalyst-View-TT-" version ".tar.gz"))
2710 (base32 "0jzgpkgq5pwq82zlb0nykdyk40dfpsyn9ilz91d0wpixgi9i5pr8"))))
2711 (build-system perl-build-system)
2713 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2714 ("perl-class-accessor" ,perl-class-accessor)
2715 ("perl-data-dump" ,perl-data-dump)
2716 ("perl-mro-compat" ,perl-mro-compat)
2717 ("perl-path-class" ,perl-path-class)
2718 ("perl-template-timer" ,perl-template-timer)
2719 ("perl-template-toolkit" ,perl-template-toolkit)))
2720 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2721 (synopsis "Template View Class")
2722 (description "This module is a Catalyst view class for the Template
2724 (license license:perl-license)))
2726 (define-public perl-catalystx-component-traits
2728 (name "perl-catalystx-component-traits")
2733 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2734 "CatalystX-Component-Traits-" version ".tar.gz"))
2737 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2738 (build-system perl-build-system)
2740 `(("perl-moose" ,perl-moose)
2741 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2742 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2744 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2745 ("perl-class-load" ,perl-class-load)
2746 ("perl-moose" ,perl-moose)
2747 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2748 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2749 ("perl-list-moreutils" ,perl-list-moreutils)))
2750 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2751 (synopsis "Trait Loading and Resolution for Catalyst Components")
2752 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2753 Catalyst component base class that reads the optional \"traits\" parameter
2754 from app and component config and instantiates the component subclass with
2755 those traits using \"new_with_traits\" in MooseX::Traits from
2756 MooseX::Traits::Pluggable.")
2757 (license license:perl-license)))
2759 (define-public perl-catalystx-roleapplicator
2761 (name "perl-catalystx-roleapplicator")
2766 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2767 "CatalystX-RoleApplicator-" version ".tar.gz"))
2770 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2771 (build-system perl-build-system)
2773 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2774 ("perl-moose" ,perl-moose)
2775 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2776 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2777 (synopsis "Apply roles to Catalyst classes")
2778 (description "CatalystX::RoleApplicator applies roles to Catalyst
2779 application classes.")
2780 (license license:perl-license)))
2782 (define-public perl-catalystx-script-server-starman
2784 (name "perl-catalystx-script-server-starman")
2789 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2790 "CatalystX-Script-Server-Starman-"
2794 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2795 (build-system perl-build-system)
2797 `(("perl-module-install" ,perl-module-install)
2798 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2800 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2801 ("perl-moose" ,perl-moose)
2802 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2803 ("starman" ,starman)))
2804 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2805 (synopsis "Catalyst development server with Starman")
2806 (description "This module provides a Catalyst extension to replace the
2807 development server with Starman.")
2808 (license license:perl-license)))
2810 (define-public perl-cgi
2817 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2818 "CGI-" version ".tar.gz"))
2820 (base32 "02k0p8zwbn0fz9r39rg8jvbmky8fwdg6kznklzk557rg07kiblhb"))))
2821 (build-system perl-build-system)
2823 `(("perl-test-deep" ,perl-test-deep)
2824 ("perl-test-nowarnings" ,perl-test-nowarnings)
2825 ("perl-test-warn" ,perl-test-warn)))
2827 `(("perl-html-parser" ,perl-html-parser)))
2828 (home-page "https://metacpan.org/release/CGI")
2829 (synopsis "Handle Common Gateway Interface requests and responses")
2830 (description "CGI.pm is a stable, complete and mature solution for
2831 processing and preparing HTTP requests and responses. Major features include
2832 processing form submissions, file uploads, reading and writing cookies, query
2833 string generation and manipulation, and processing and preparing HTTP
2835 (license license:perl-license)))
2837 (define-public perl-cgi-formbuilder
2839 (name "perl-cgi-formbuilder")
2845 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2846 "CGI-FormBuilder-" version ".tar.gz"))
2849 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2850 (build-system perl-build-system)
2851 (inputs `(("perl-cgi" ,perl-cgi)))
2853 "https://metacpan.org/release/CGI-FormBuilder")
2855 "Generate and process stateful forms")
2857 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2858 form-based applications.")
2859 (license license:perl-license)))
2861 (define-public perl-cgi-session
2863 (name "perl-cgi-session")
2869 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2874 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2875 (build-system perl-build-system)
2877 `(("perl-module-build" ,perl-module-build)))
2878 (inputs `(("perl-cgi" ,perl-cgi)))
2880 "https://metacpan.org/release/CGI-Session")
2882 "Persistent session data in CGI applications")
2884 "@code{CGI::Session} provides modular session management system across
2886 (license license:perl-license)))
2888 (define-public perl-cgi-simple
2890 (name "perl-cgi-simple")
2895 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2896 "CGI-Simple-" version ".tar.gz"))
2898 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
2899 (build-system perl-build-system)
2901 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2902 ("perl-module-build" ,perl-module-build)
2903 ("perl-test-exception" ,perl-test-exception)
2904 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2905 (home-page "https://metacpan.org/release/CGI-Simple")
2906 (synopsis "CGI interface that is CGI.pm compliant")
2907 (description "CGI::Simple provides a relatively lightweight drop in
2908 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2909 parameter parsing, file upload, cookie handling and header generation.")
2910 (license license:perl-license)))
2912 (define-public perl-cgi-struct
2914 (name "perl-cgi-struct")
2919 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2920 "CGI-Struct-" version ".tar.gz"))
2923 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2924 (build-system perl-build-system)
2926 `(("perl-test-deep" ,perl-test-deep)))
2927 (home-page "https://metacpan.org/release/CGI-Struct")
2928 (synopsis "Build structures from CGI data")
2929 (description "This is a module for building structured data from CGI
2930 inputs, in a manner reminiscent of how PHP does.")
2931 (license license:bsd-2)))
2933 (define-public perl-datetime-format-http
2935 (name "perl-datetime-format-http")
2940 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2941 "DateTime-Format-HTTP-" version ".tar.gz"))
2944 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2945 (build-system perl-build-system)
2947 `(("perl-module-build" ,perl-module-build)))
2949 `(("perl-datetime" ,perl-datetime)
2950 ("perl-http-date" ,perl-http-date)))
2951 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2952 (synopsis "Date conversion routines")
2953 (description "This module provides functions that deal with the date
2954 formats used by the HTTP protocol.")
2955 (license license:perl-license)))
2957 (define-public perl-digest-md5-file
2959 (name "perl-digest-md5-file")
2964 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2965 "Digest-MD5-File-" version ".tar.gz"))
2968 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2969 (build-system perl-build-system)
2971 `(("perl-libwww" ,perl-libwww)))
2972 (home-page "https://metacpan.org/release/Digest-MD5-File")
2973 (synopsis "MD5 sums for files and urls")
2974 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2975 for files and urls.")
2976 (license license:perl-license)))
2978 (define-public perl-encode-locale
2980 (name "perl-encode-locale")
2985 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2989 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2990 (build-system perl-build-system)
2991 (license license:perl-license)
2992 (synopsis "Perl locale encoding determination")
2994 "The POSIX locale system is used to specify both the language
2995 conventions requested by the user and the preferred character set to
2996 consume and output. The Encode::Locale module looks up the charset and
2997 encoding (called a CODESET in the locale jargon) and arranges for the
2998 Encode module to know this encoding under the name \"locale\". It means
2999 bytes obtained from the environment can be converted to Unicode strings
3000 by calling Encode::encode(locale => $bytes) and converted back again
3001 with Encode::decode(locale => $string).")
3002 (home-page "https://metacpan.org/release/Encode-Locale")))
3004 (define-public perl-feed-find
3006 (name "perl-feed-find")
3010 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
3011 "Feed-Find-" version ".tar.gz"))
3014 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
3015 (build-system perl-build-system)
3017 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
3020 (modify-phases %standard-phases
3021 (add-after 'unpack 'set-env
3022 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
3024 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3025 ("perl-html-parser" ,perl-html-parser)
3026 ("perl-libwww" ,perl-libwww)
3027 ("perl-uri" ,perl-uri)))
3028 (home-page "https://metacpan.org/release/Feed-Find")
3029 (synopsis "Syndication feed auto-discovery")
3030 (description "@code{Feed::Find} implements feed auto-discovery for finding
3031 syndication feeds, given a URI. It will discover the following feed formats:
3032 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
3033 (license license:perl-license)))
3035 (define-public perl-file-listing
3037 (name "perl-file-listing")
3042 "mirror://cpan/authors/id/P/PL/PLICEASE/File-Listing-"
3046 "0vmzw1mhv580flzkla80gvwfpficnhlbqr1dnlf9x50bw7n18k62"))))
3047 (build-system perl-build-system)
3049 `(("perl-http-date" ,perl-http-date)))
3050 (license license:perl-license)
3051 (synopsis "Perl directory listing parser")
3053 "The File::Listing module exports a single function called parse_dir(),
3054 which can be used to parse directory listings.")
3055 (home-page "https://metacpan.org/release/File-Listing")))
3057 (define-public perl-finance-quote
3059 (name "perl-finance-quote")
3064 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
3065 "Finance-Quote-" version ".tar.gz"))
3067 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
3068 (patches (search-patches
3069 "perl-finance-quote-unuse-mozilla-ca.patch"))))
3070 (build-system perl-build-system)
3072 `(("perl-cgi" ,perl-cgi)
3073 ("perl-datetime" ,perl-datetime)
3074 ("perl-html-parser" ,perl-html-parser)
3075 ("perl-html-tableextract" ,perl-html-tableextract)
3076 ("perl-html-tree" ,perl-html-tree)
3077 ("perl-http-cookies" ,perl-http-cookies)
3078 ("perl-http-message" ,perl-http-message)
3079 ("perl-json" ,perl-json)
3080 ("perl-libwww" ,perl-libwww)
3081 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
3082 ("perl-uri" ,perl-uri)))
3083 (home-page "https://metacpan.org/release/Finance-Quote")
3084 (synopsis "Stock and mutual fund quotes")
3086 "Finance::Quote gets stock quotes from various internet sources, including
3087 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
3088 (license license:gpl2)))
3090 (define-public perl-gssapi
3092 (name "perl-gssapi")
3097 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
3098 "GSSAPI-" version ".tar.gz"))
3101 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
3102 (build-system perl-build-system)
3103 (inputs `(("gssapi" ,mit-krb5)))
3105 `(#:make-maker-flags
3106 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
3107 (home-page "https://metacpan.org/release/GSSAPI")
3108 (synopsis "Perl extension providing access to the GSSAPIv2 library")
3109 (description "This is a Perl extension for using GSSAPI C bindings as
3110 described in RFC 2744.")
3111 (license license:perl-license)))
3113 (define-public perl-html-element-extended
3115 (name "perl-html-element-extended")
3120 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
3121 "HTML-Element-Extended-" version ".tar.gz"))
3124 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
3125 (build-system perl-build-system)
3127 `(("perl-html-tree" ,perl-html-tree)))
3128 (home-page "https://metacpan.org/release/HTML-Element-Extended")
3129 (synopsis "Manipulate tables of HTML::Element")
3131 "HTML::Element::Extended is a Perl extension for manipulating a table
3132 composed of HTML::Element style components.")
3133 (license license:perl-license)))
3135 (define-public perl-html-form
3137 (name "perl-html-form")
3142 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3143 "HTML-Form-" version ".tar.gz"))
3145 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
3146 (build-system perl-build-system)
3148 `(("perl-html-parser" ,perl-html-parser)
3149 ("perl-html-tagset" ,perl-html-tagset)
3150 ("perl-http-message" ,perl-http-message)
3151 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3152 ("perl-uri" ,perl-uri)))
3153 (home-page "https://metacpan.org/release/HTML-Form")
3154 (synopsis "Perl class representing an HTML form element")
3155 (description "Objects of the HTML::Form class represents a single HTML
3156 <form> ... </form> instance.")
3157 (license license:perl-license)))
3159 (define-public perl-html-scrubber
3161 (name "perl-html-scrubber")
3167 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
3172 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
3173 (build-system perl-build-system)
3175 `(("perl-module-build" ,perl-module-build)
3176 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
3177 ("perl-test-differences" ,perl-test-differences)
3178 ("perl-test-eol" ,perl-test-eol)
3179 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
3180 ("perl-test-notabs" ,perl-test-notabs)))
3182 `(("perl-html-parser" ,perl-html-parser)))
3184 "https://metacpan.org/release/HTML-Scrubber")
3186 "Perl extension for scrubbing/sanitizing html")
3188 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
3189 (license license:perl-license)))
3191 (define-public perl-html-lint
3193 (name "perl-html-lint")
3198 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3199 "HTML-Lint-" version ".tar.gz"))
3201 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
3202 (build-system perl-build-system)
3204 `(("perl-html-parser" ,perl-html-parser)
3205 ("perl-html-tagset" ,perl-html-tagset)
3206 ("perl-libwww" ,perl-libwww)))
3207 (home-page "https://metacpan.org/release/HTML-Lint")
3208 (synopsis "Check for HTML errors in a string or file")
3209 (description "HTML::Lint is a pure-Perl HTML parser and checker for
3210 syntactic legitmacy.")
3211 (license license:artistic2.0)))
3213 (define-public perl-html-tableextract
3215 (name "perl-html-tableextract")
3220 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
3221 "HTML-TableExtract-" version ".tar.gz"))
3224 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
3225 (build-system perl-build-system)
3227 `(("perl-html-element-extended" ,perl-html-element-extended)
3228 ("perl-html-parser" ,perl-html-parser)))
3229 (home-page "https://metacpan.org/release/HTML-TableExtract")
3230 (synopsis "Extract contents from HTML tables")
3232 "HTML::TableExtract is a Perl module for extracting the content contained
3233 in tables within an HTML document, either as text or encoded element trees.")
3234 (license license:perl-license)))
3236 (define-public perl-html-tree
3238 (name "perl-html-tree")
3243 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
3244 "HTML-Tree-" version ".tar.gz"))
3247 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
3248 (build-system perl-build-system)
3250 `(("perl-module-build" ,perl-module-build)
3251 ("perl-test-fatal" ,perl-test-fatal)))
3253 `(("perl-html-parser" ,perl-html-parser)
3254 ("perl-html-tagset" ,perl-html-tagset)
3255 ("perl-libwww" ,perl-libwww)))
3256 (home-page "https://metacpan.org/release/HTML-Tree")
3257 (synopsis "Work with HTML in a DOM-like tree structure")
3258 (description "This distribution contains a suite of modules for
3259 representing, creating, and extracting information from HTML syntax trees.")
3260 (license license:perl-license)))
3262 (define-public perl-html-parser
3264 (name "perl-html-parser")
3269 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
3273 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
3274 (build-system perl-build-system)
3276 `(("perl-html-tagset" ,perl-html-tagset)
3277 ("perl-http-message" ,perl-http-message)))
3278 (license license:perl-license)
3279 (synopsis "Perl HTML parser class")
3281 "Objects of the HTML::Parser class will recognize markup and separate
3282 it from plain text (alias data content) in HTML documents. As different
3283 kinds of markup and text are recognized, the corresponding event handlers
3285 (home-page "https://metacpan.org/release/HTML-Parser")))
3287 (define-public perl-html-tagset
3289 (name "perl-html-tagset")
3294 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
3298 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
3299 (build-system perl-build-system)
3300 (license license:perl-license)
3301 (synopsis "Perl data tables useful in parsing HTML")
3303 "The HTML::Tagset module contains several data tables useful in various
3304 kinds of HTML parsing operations.")
3305 (home-page "https://metacpan.org/release/HTML-Tagset")))
3307 (define-public perl-html-template
3309 (name "perl-html-template")
3313 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
3314 "HTML-Template-" version ".tar.gz"))
3317 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
3318 (build-system perl-build-system)
3320 `(("perl-cgi" ,perl-cgi)))
3321 (home-page "https://metacpan.org/release/HTML-Template")
3322 (synopsis "HTML-like templates")
3324 "This module attempts to make using HTML templates simple and natural.
3325 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
3326 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
3327 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
3328 these new tags is called a template. Using this module you fill in the values
3329 for the variables, loops and branches declared in the template. This allows
3330 you to separate design from the data.")
3331 (license license:perl-license)))
3333 (define-public perl-http-body
3335 (name "perl-http-body")
3340 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3341 "HTTP-Body-" version ".tar.gz"))
3344 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3345 (build-system perl-build-system)
3347 `(("perl-test-deep" ,perl-test-deep)))
3349 `(("perl-file-temp" ,perl-file-temp)
3350 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3351 (home-page "https://metacpan.org/release/HTTP-Body")
3352 (synopsis "HTTP Body Parser")
3353 (description "HTTP::Body parses chunks of HTTP POST data and supports
3354 application/octet-stream, application/json, application/x-www-form-urlencoded,
3355 and multipart/form-data.")
3356 (license license:perl-license)))
3358 (define-public perl-http-cookiejar
3360 (name "perl-http-cookiejar")
3365 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3366 "HTTP-CookieJar-" version ".tar.gz"))
3368 (base32 "1l7mqsca4fmls7agzwmp6yq1x16y9jwq4114i6i75n654gl37qsn"))))
3369 (build-system perl-build-system)
3371 `(("perl-test-deep" ,perl-test-deep)
3372 ("perl-test-requires" ,perl-test-requires)
3373 ("perl-time-mock" ,perl-time-mock)
3374 ("perl-uri" ,perl-uri)))
3376 `(("perl-time-local" ,perl-time-local)
3377 ("perl-http-date" ,perl-http-date)))
3378 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3379 (synopsis "Minimalist HTTP user agent cookie jar")
3380 (description "This module implements a minimalist HTTP user agent cookie
3381 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3382 (license license:asl2.0)))
3384 (define-public perl-http-cookies
3386 (name "perl-http-cookies")
3391 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3395 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3396 (build-system perl-build-system)
3398 `(("perl-http-message" ,perl-http-message)))
3399 (license license:perl-license)
3400 (synopsis "Perl HTTP cookie jars")
3402 "The HTTP::Cookies class is for objects that represent a cookie jar,
3403 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3404 object knows about.")
3405 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3407 (define-public perl-http-daemon
3409 (name "perl-http-daemon")
3414 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3418 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3419 (build-system perl-build-system)
3421 `(("perl-http-message" ,perl-http-message)
3422 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3423 (license license:perl-license)
3424 (synopsis "Perl simple http server class")
3426 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3427 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3428 IO::Socket::INET, so you can perform socket operations directly on it too.")
3429 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3431 (define-public perl-http-date
3433 (name "perl-http-date")
3438 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Date-"
3442 "0awjdbz7x0jd5pna55dwxhs3k6xp3sw6b2zg3p2yndxxvya64p9n"))))
3443 (build-system perl-build-system)
3444 (license license:perl-license)
3445 (synopsis "Perl date conversion routines")
3447 "The HTTP::Date module provides functions that deal with date formats
3448 used by the HTTP protocol (and then some more).")
3449 (home-page "https://metacpan.org/release/HTTP-Date")))
3451 (define-public perl-http-lite
3453 (name "perl-http-lite")
3459 "mirror://cpan/authors/id/N/NE/NEILB/HTTP-Lite-"
3463 "0z77nflj8zdcfg70kc93glq5kmd6qxn2nf7h70x4xhfg25wkvr1q"))))
3464 (build-system perl-build-system)
3465 (native-inputs `(("perl-cgi" ,perl-cgi)))
3466 (home-page "https://metacpan.org/release/HTTP-Lite")
3467 (synopsis "Lightweight HTTP implementation")
3468 (description "@code{HTTP::Lite} is a stand-alone lightweight
3469 HTTP/1.1 implementation for perl. It is intended for use in
3470 situations where it is desirable to install the minimal number of
3471 modules to achieve HTTP support. @code{HTTP::Lite} is ideal for
3472 CGI (or mod_perl) programs or for bundling for redistribution with
3473 larger packages where only HTTP GET and POST functionality are
3474 necessary. @code{HTTP::Lite} is compliant with the Host header,
3475 necessary for name based virtual hosting, and supports proxies.
3476 Additionally, @code{HTTP::Lite} supports a callback to allow
3477 processing of request data as it arrives.")
3478 (license license:perl-license)))
3480 (define-public perl-http-message
3482 (name "perl-http-message")
3487 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3491 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3492 (build-system perl-build-system)
3494 `(("perl-try-tiny" ,perl-try-tiny)))
3496 `(("perl-encode-locale" ,perl-encode-locale)
3497 ("perl-http-date" ,perl-http-date)
3498 ("perl-io-html" ,perl-io-html)
3499 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3500 ("perl-uri" ,perl-uri)))
3501 (license license:perl-license)
3502 (synopsis "Perl HTTP style message")
3504 "An HTTP::Message object contains some headers and a content body.")
3505 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3507 (define-public perl-http-negotiate
3509 (name "perl-http-negotiate")
3514 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3518 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3519 (build-system perl-build-system)
3521 `(("perl-http-message" ,perl-http-message)))
3522 (license license:perl-license)
3523 (synopsis "Perl http content negotiation")
3525 "The HTTP::Negotiate module provides a complete implementation of the
3526 HTTP content negotiation algorithm specified in
3527 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3528 the selection of a preferred content representation based upon attributes
3529 of the negotiable variants and the value of the various Accept* header
3530 fields in the request.")
3531 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3533 (define-public perl-http-parser
3535 (name "perl-http-parser")
3540 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3541 "HTTP-Parser-" version ".tar.gz"))
3544 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3545 (build-system perl-build-system)
3547 `(("perl-http-message" ,perl-http-message)
3548 ("perl-uri" ,perl-uri)))
3549 (home-page "https://metacpan.org/release/HTTP-Parser")
3550 (synopsis "Parse HTTP/1.1 requests")
3551 (description "This is an HTTP request parser. It takes chunks of text as
3552 received and returns a @code{hint} as to what is required, or returns the
3553 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3555 (license license:perl-license)))
3557 (define-public perl-http-parser-xs
3559 (name "perl-http-parser-xs")
3564 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3565 "HTTP-Parser-XS-" version ".tar.gz"))
3568 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3569 (build-system perl-build-system)
3571 `(("perl-module-install" ,perl-module-install)))
3572 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3573 (synopsis "Fast HTTP request parser")
3574 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3576 (license license:perl-license)))
3578 (define-public perl-http-request-ascgi
3580 (name "perl-http-request-ascgi")
3585 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3586 "HTTP-Request-AsCGI-" version ".tar.gz"))
3589 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3590 (build-system perl-build-system)
3592 `(("perl-class-accessor" ,perl-class-accessor)
3593 ("perl-http-message" ,perl-http-message)))
3594 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3595 (synopsis "Set up a CGI environment from an HTTP::Request")
3596 (description "This module provides a convenient way to set up a CGI
3597 environment from an HTTP::Request.")
3598 (license license:perl-license)))
3600 (define-public perl-http-server-simple
3602 (name "perl-http-server-simple")
3607 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3608 "HTTP-Server-Simple-" version ".tar.gz"))
3611 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3612 (build-system perl-build-system)
3614 `(("perl-cgi" ,perl-cgi)))
3616 ;; See the discussion of a related tests issue at
3617 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3620 #:phases (modify-phases %standard-phases
3621 (add-before 'configure 'set-search-path
3623 ;; Work around "dotless @INC" build failure.
3625 (string-append (getcwd) ":"
3626 (getenv "PERL5LIB")))
3628 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3629 (synopsis "Lightweight HTTP server")
3630 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3631 no non-core module dependencies. It can be used for building a standalone
3632 http-based UI to your existing tools.")
3633 (license license:perl-license)))
3635 (define-public perl-http-tiny
3637 (name "perl-http-tiny")
3642 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3643 "HTTP-Tiny-" version ".tar.gz"))
3646 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3647 (build-system perl-build-system)
3649 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3650 ("perl-io-socket-ip" ,perl-io-socket-ip)
3651 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3652 ("perl-mozilla-ca" ,perl-mozilla-ca)
3653 ("perl-net-ssleay" ,perl-net-ssleay)))
3654 (home-page "https://metacpan.org/release/HTTP-Tiny")
3655 (synopsis "HTTP/1.1 client")
3656 (description "This is a very simple HTTP/1.1 client, designed for doing
3657 simple requests without the overhead of a large framework like LWP::UserAgent.
3658 It supports proxies and redirection. It also correctly resumes after EINTR.")
3659 (license license:perl-license)))
3661 (define-public perl-http-tinyish
3663 (name "perl-http-tinyish")
3669 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3674 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3675 (build-system perl-build-system)
3677 `(("perl-file-which" ,perl-file-which)
3678 ("perl-ipc-run3" ,perl-ipc-run3)))
3679 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3680 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3682 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3683 @code{HTTP::Tiny}, curl and wget.
3685 It provides an API compatible to HTTP::Tiny.")
3686 (license license:perl-license)))
3688 (define-public perl-io-html
3690 (name "perl-io-html")
3695 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3699 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3700 (build-system perl-build-system)
3701 (license license:perl-license)
3702 (synopsis "Perl module to open an HTML file with automatic charset detection")
3704 "IO::HTML provides an easy way to open a file containing HTML while
3705 automatically determining its encoding. It uses the HTML5 encoding sniffing
3706 algorithm specified in section 8.2.2.1 of the draft standard.")
3707 (home-page "https://metacpan.org/release/IO-HTML")))
3709 (define-public perl-io-socket-ip
3711 (name "perl-io-socket-ip")
3716 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3717 "IO-Socket-IP-" version ".tar.gz"))
3719 (base32 "0ihlpxrkq1xrvhnq52nhghanskic718ch8kpp642afgq72i4b6l4"))))
3720 (build-system perl-build-system)
3721 (native-inputs `(("perl-module-build" ,perl-module-build)))
3722 (home-page "https://metacpan.org/release/IO-Socket-IP")
3723 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3724 (description "This module provides a protocol-independent way to use IPv4
3725 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3726 (license license:perl-license)))
3728 (define-public perl-io-socket-ssl
3730 (name "perl-io-socket-ssl")
3734 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3735 "IO-Socket-SSL-" version ".tar.gz"))
3738 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3739 (patches (search-patches
3740 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3741 (build-system perl-build-system)
3743 `(("perl-net-ssleay" ,perl-net-ssleay)
3745 ("perl-uri" ,perl-uri)))
3746 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3748 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3749 necessary functionality into the familiar IO::Socket interface and providing
3750 secure defaults whenever possible. This way existing applications can be made
3751 SSL-aware without much effort, at least if you do blocking I/O and don't use
3753 (license license:perl-license)
3754 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3756 (define-public perl-libwww
3758 (name "perl-libwww")
3763 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3767 "19k0cg4j4qz005a4ngy48z4r8dc99dxlpq8kvj7qnk15mvgd1r63"))))
3768 (build-system perl-build-system)
3770 `(("perl-test-fatal" ,perl-test-fatal)
3771 ("perl-test-needs" ,perl-test-needs)
3772 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3774 `(("perl-encode-locale" ,perl-encode-locale)
3775 ("perl-file-listing" ,perl-file-listing)
3776 ("perl-html-parser" ,perl-html-parser)
3777 ("perl-http-cookies" ,perl-http-cookies)
3778 ("perl-http-daemon" ,perl-http-daemon)
3779 ("perl-http-date" ,perl-http-date)
3780 ("perl-http-message" ,perl-http-message)
3781 ("perl-http-negotiate" ,perl-http-negotiate)
3782 ("perl-net-http" ,perl-net-http)
3783 ("perl-try-tiny" ,perl-try-tiny)
3784 ("perl-uri" ,perl-uri)
3785 ("perl-www-robotrules" ,perl-www-robotrules)))
3786 (license license:perl-license)
3787 (synopsis "Perl modules for the WWW")
3789 "The libwww-perl collection is a set of Perl modules which provides a
3790 simple and consistent application programming interface to the
3791 World-Wide Web. The main focus of the library is to provide classes
3792 and functions that allow you to write WWW clients. The library also
3793 contains modules that are of more general use and even classes that
3794 help you implement simple HTTP servers.")
3795 (home-page "https://metacpan.org/release/libwww-perl")))
3797 (define-public perl-lwp-online
3799 (name "perl-lwp-online")
3805 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3809 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3810 (build-system perl-build-system)
3812 `(("perl-libwww" ,perl-libwww)
3813 ("perl-uri" ,perl-uri)))
3815 `(("perl-module-install" ,perl-module-install)))
3816 (home-page "https://metacpan.org/release/LWP-Online")
3817 (synopsis "Checks whether your process has access to the web")
3818 (description "This module attempts to answer, as accurately as it can, one
3819 of the nastiest technical questions there is: am I on the internet?
3821 A host of networking and security issues make this problem very difficult.
3822 There are firewalls, proxies (both well behaved and badly behaved). We might
3823 not have DNS. We might not have a network card at all!")
3824 (license license:perl-license)))
3826 (define-public perl-lwp-mediatypes
3828 (name "perl-lwp-mediatypes")
3833 "mirror://cpan/authors/id/O/OA/OALDERS/LWP-MediaTypes-"
3837 "1n8rg6csv3dsvymg06cmxipimr6cb1g9r903ghm1qsmiv89cl6wg"))))
3838 (build-system perl-build-system)
3840 `(("perl-test-fatal" ,perl-test-fatal)))
3841 (license license:perl-license)
3842 (synopsis "Perl module to guess the media type for a file or a URL")
3844 "The LWP::MediaTypes module provides functions for handling media (also
3845 known as MIME) types and encodings. The mapping from file extensions to
3846 media types is defined by the media.types file. If the ~/.media.types file
3847 exists it is used instead.")
3848 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3850 (define-public perl-lwp-protocol-https
3852 (name "perl-lwp-protocol-https")
3857 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3858 "LWP-Protocol-https-" version ".tar.gz"))
3860 (base32 "14pm785cgyrnppks6ccasb2vkqifh0a8fz36nmnhc2v926jy3kqn"))))
3861 (build-system perl-build-system)
3864 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3866 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3867 ("perl-libwww" ,perl-libwww)
3868 ;; Users should instead make sure SSL_ca_path is set properly.
3869 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3870 ("perl-net-http" ,perl-net-http)))
3871 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3872 (synopsis "HTTPS support for LWP::UserAgent")
3873 (description "The LWP::Protocol::https module provides support for using
3874 https schemed URLs with LWP.")
3875 (license license:perl-license)))
3877 (define-public perl-lwp-useragent-cached
3879 (name "perl-lwp-useragent-cached")
3884 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3885 "LWP-UserAgent-Cached-" version ".tar.gz"))
3888 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3889 (build-system perl-build-system)
3891 `(("perl-libwww" ,perl-libwww)))
3892 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3893 (synopsis "Simple caching for LWP::UserAgent")
3894 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3895 cache support. It returns responses from the local file system, if available,
3896 instead of making an HTTP request.")
3897 (license license:perl-license)))
3899 (define-public perl-lwp-useragent-determined
3901 (name "perl-lwp-useragent-determined")
3906 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3907 "LWP-UserAgent-Determined-" version ".tar.gz"))
3910 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3911 (build-system perl-build-system)
3913 `(("perl-libwww" ,perl-libwww)))
3914 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3915 (synopsis "Virtual browser that retries errors")
3916 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3917 except that when you use it to get a web page but run into a
3918 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3919 and retry a few times.")
3920 (license license:perl-license)))
3922 (define-public perl-lwpx-paranoidagent
3924 (name "perl-lwpx-paranoidagent")
3930 "mirror://cpan/authors/id/S/SA/SAXJAZMAN/lwp/LWPx-ParanoidAgent-"
3934 "0gfhw3jbs25yya2dryv8xvyn9myngcfcmsybj7gkq62fnznil16c"))))
3935 (build-system perl-build-system)
3937 `(("perl-libwww" ,perl-libwww)
3938 ;; Users should instead make sure SSL_ca_path is set properly.
3939 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3940 ("perl-net-dns" ,perl-net-dns)))
3941 (home-page "https://metacpan.org/release/LWPx-ParanoidAgent")
3942 (synopsis "Security enhanced subclass of LWP::UserAgent")
3943 (description "@code{LWPx::ParanoidAgent} is a class subclassing
3944 @code{LWP::UserAgent} but paranoid against attackers. Its purpose is
3945 to vet requests for a remote resource on behalf of a possibly
3946 malicious user. The class can do the same as @code{LWP::UserAgent},
3947 except that proxy support has been removed. Support for URI schemes
3948 is limited to http and https.")
3949 (license license:perl-license)))
3951 (define-public perl-net-amazon-s3
3953 (name "perl-net-amazon-s3")
3958 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3959 "Net-Amazon-S3-" version ".tar.gz"))
3962 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3963 (patches (search-patches
3964 "perl-net-amazon-s3-moose-warning.patch"))))
3965 (build-system perl-build-system)
3967 `(("perl-libwww" ,perl-libwww)
3968 ("perl-test-exception" ,perl-test-exception)))
3970 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3971 ("perl-datetime-format-http" ,perl-datetime-format-http)
3972 ("perl-digest-hmac" ,perl-digest-hmac)
3973 ("perl-digest-md5-file" ,perl-digest-md5-file)
3974 ("perl-file-find-rule" ,perl-file-find-rule)
3975 ("perl-http-date" ,perl-http-date)
3976 ("perl-http-message" ,perl-http-message)
3977 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3978 ("perl-mime-types" ,perl-mime-types)
3979 ("perl-moose" ,perl-moose)
3980 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3981 ("perl-moosex-types-datetime-morecoercions"
3982 ,perl-moosex-types-datetime-morecoercions)
3983 ("perl-path-class" ,perl-path-class)
3984 ("perl-regexp-common" ,perl-regexp-common)
3985 ("perl-term-encoding" ,perl-term-encoding)
3986 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3987 ("perl-uri" ,perl-uri)
3988 ("perl-xml-libxml" ,perl-xml-libxml)))
3989 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3990 (synopsis "Perl interface to Amazon S3")
3991 (description "This module provides a Perlish interface to Amazon S3.")
3992 (license license:perl-license)))
3994 (define-public perl-net-http
3996 (name "perl-net-http")
4001 "mirror://cpan/authors/id/O/OA/OALDERS/"
4002 "Net-HTTP-" version ".tar.gz"))
4005 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
4006 (build-system perl-build-system)
4008 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
4009 ("perl-uri" ,perl-uri)))
4010 (license license:perl-license)
4011 (synopsis "Perl low-level HTTP connection (client)")
4013 "The Net::HTTP class is a low-level HTTP client. An instance of the
4014 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
4015 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
4017 (home-page "https://metacpan.org/release/Net-HTTP")))
4019 (define-public perl-net-server
4021 (name "perl-net-server")
4026 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
4027 "Net-Server-" version ".tar.gz"))
4030 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
4031 (build-system perl-build-system)
4032 (home-page "https://metacpan.org/release/Net-Server")
4033 (synopsis "Extensible Perl server engine")
4034 (description "Net::Server is an extensible, generic Perl server engine.
4035 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
4036 It includes with it the ability to run as an inetd
4037 process (Net::Server::INET), a single connection server (Net::Server or
4038 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
4039 server which maintains a constant number of preforked
4040 children (Net::Server::PreForkSimple), or as a managed preforking server which
4041 maintains the number of children based on server load (Net::Server::PreFork).
4042 In all but the inetd type, the server provides the ability to connect to one
4043 or to multiple server ports.")
4044 (license license:perl-license)))
4046 (define-public perl-net-smtp-ssl
4048 (name "perl-net-smtp-ssl")
4053 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
4054 "Net-SMTP-SSL-" version ".tar.gz"))
4057 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
4058 (build-system perl-build-system)
4060 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
4061 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
4062 (synopsis "SSL support for Net::SMTP")
4063 (description "SSL support for Net::SMTP.")
4064 (license license:perl-license)))
4066 (define-public perl-plack
4073 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4074 "Plack-" version ".tar.gz"))
4077 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
4078 (build-system perl-build-system)
4080 `(("perl-test-requires" ,perl-test-requires)
4081 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
4083 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
4084 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
4085 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
4086 ("perl-file-sharedir" ,perl-file-sharedir)
4087 ("perl-hash-multivalue" ,perl-hash-multivalue)
4088 ("perl-http-body" ,perl-http-body)
4089 ("perl-http-message" ,perl-http-message)
4090 ("perl-http-tiny" ,perl-http-tiny)
4091 ("perl-libwww" ,perl-libwww)
4092 ("perl-stream-buffered" ,perl-stream-buffered)
4093 ("perl-test-tcp" ,perl-test-tcp)
4094 ("perl-try-tiny" ,perl-try-tiny)
4095 ("perl-uri" ,perl-uri)))
4096 (home-page "https://metacpan.org/release/Plack")
4097 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
4098 (description "Plack is a set of tools for using the PSGI stack. It
4099 contains middleware components, a reference server, and utilities for Web
4100 application frameworks. Plack is like Ruby's Rack or Python's Paste for
4102 (license license:perl-license)))
4104 (define-public perl-plack-middleware-deflater
4106 (name "perl-plack-middleware-deflater")
4112 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
4113 "Plack-Middleware-Deflater-" version ".tar.gz"))
4116 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
4117 (build-system perl-build-system)
4119 `(("perl-module-install" ,perl-module-install)
4120 ("perl-test-requires" ,perl-test-requires)))
4122 `(("perl-plack" ,perl-plack)))
4123 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
4124 (synopsis "Compress response body with Gzip or Deflate")
4126 "Plack::Middleware::Deflater is a middleware to encode your response body
4127 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
4128 would save the bandwidth a little bit but should increase the Plack server
4129 load, so ideally you should handle this on the frontend reverse proxy
4131 (license license:perl-license)))
4133 (define-public perl-plack-middleware-fixmissingbodyinredirect
4135 (name "perl-plack-middleware-fixmissingbodyinredirect")
4140 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4141 "Plack-Middleware-FixMissingBodyInRedirect-"
4145 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
4146 (build-system perl-build-system)
4148 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
4149 ("perl-http-message" ,perl-http-message)
4150 ("perl-plack" ,perl-plack))) ;for Plack::Test
4152 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
4153 (synopsis "Plack::Middleware which sets body for redirect response")
4154 (description "This module sets the body in redirect response, if it's not
4156 (license license:perl-license)))
4158 (define-public perl-plack-middleware-methodoverride
4160 (name "perl-plack-middleware-methodoverride")
4165 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4166 "Plack-Middleware-MethodOverride-"
4169 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
4170 (build-system perl-build-system)
4172 `(("perl-module-build" ,perl-module-build)))
4174 `(("perl-plack" ,perl-plack)))
4175 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
4176 (synopsis "Override REST methods to Plack apps via POST")
4177 (description "This middleware allows for POST requests that pretend to be
4178 something else: by adding either a header named X-HTTP-Method-Override to the
4179 request, or a query parameter named x-tunneled-method to the URI, the client
4180 can say what method it actually meant.")
4181 (license license:perl-license)))
4183 (define-public perl-plack-middleware-removeredundantbody
4185 (name "perl-plack-middleware-removeredundantbody")
4190 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4191 "Plack-Middleware-RemoveRedundantBody-"
4194 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
4195 (build-system perl-build-system)
4197 `(("perl-plack" ,perl-plack)))
4199 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
4200 (synopsis "Plack::Middleware which removes body for HTTP response")
4201 (description "This module removes the body in an HTTP response if it's not
4203 (license license:perl-license)))
4205 (define-public perl-plack-middleware-reverseproxy
4207 (name "perl-plack-middleware-reverseproxy")
4212 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4213 "Plack-Middleware-ReverseProxy-"
4216 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
4217 (build-system perl-build-system)
4219 `(("perl-module-install" ,perl-module-install)))
4221 `(("perl-plack" ,perl-plack)))
4222 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
4223 (synopsis "Supports app to run as a reverse proxy backend")
4224 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
4225 which are changed by reverse-proxy. You can specify the reverse proxy address
4226 and stop fake requests using @code{enable_if} directive in your app.psgi.")
4227 (license license:perl-license)))
4229 (define-public perl-plack-test-externalserver
4231 (name "perl-plack-test-externalserver")
4236 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
4237 "Plack-Test-ExternalServer-" version ".tar.gz"))
4239 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
4240 (build-system perl-build-system)
4242 `(("perl-plack" ,perl-plack)))
4243 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
4244 (synopsis "Run HTTP tests on external live servers")
4245 (description "This module allows your to run your Plack::Test tests
4246 against an external server instead of just against a local application through
4247 either mocked HTTP or a locally spawned server.")
4248 (license license:perl-license)))
4250 (define-public perl-test-tcp
4252 (name "perl-test-tcp")
4257 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4258 "Test-TCP-" version ".tar.gz"))
4260 (base32 "0mvv9rqwrwlcfh8qrs0s47p85rhlnw15d4gbpyi802bddp0c6lry"))))
4261 (build-system perl-build-system)
4263 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
4264 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
4265 (home-page "https://metacpan.org/release/Test-TCP")
4266 (synopsis "Testing TCP programs")
4267 (description "Test::TCP is test utilities for TCP/IP programs.")
4268 (license license:perl-license)))
4270 (define-public perl-test-www-mechanize
4272 (name "perl-test-www-mechanize")
4277 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
4278 "Test-WWW-Mechanize-" version ".tar.gz"))
4280 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
4281 (build-system perl-build-system)
4283 `(("perl-carp-assert-more" ,perl-carp-assert-more)
4284 ("perl-html-form" ,perl-html-form)
4285 ("perl-html-lint" ,perl-html-lint)
4286 ("perl-http-server-simple" ,perl-http-server-simple)
4287 ("perl-libwww" ,perl-libwww)
4288 ("perl-test-longstring" ,perl-test-longstring)
4289 ("perl-www-mechanize" ,perl-www-mechanize)))
4290 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
4291 (synopsis "Testing-specific WWW::Mechanize subclass")
4292 (description "Test::WWW::Mechanize is a subclass of the Perl module
4293 WWW::Mechanize that incorporates features for web application testing.")
4294 (license license:artistic2.0)))
4296 (define-public perl-test-www-mechanize-catalyst
4298 (name "perl-test-www-mechanize-catalyst")
4303 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
4304 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
4306 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
4307 (build-system perl-build-system)
4309 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
4310 ("perl-catalyst-plugin-session-state-cookie"
4311 ,perl-catalyst-plugin-session-state-cookie)
4312 ("perl-module-install" ,perl-module-install)
4313 ("perl-test-exception" ,perl-test-exception)
4314 ("perl-test-pod" ,perl-test-pod)
4315 ("perl-test-utf8" ,perl-test-utf8)))
4317 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4318 ("perl-class-load" ,perl-class-load)
4319 ("perl-libwww" ,perl-libwww)
4320 ("perl-moose" ,perl-moose)
4321 ("perl-namespace-clean" ,perl-namespace-clean)
4322 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4323 ("perl-www-mechanize" ,perl-www-mechanize)))
4324 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4325 (synopsis "Test::WWW::Mechanize for Catalyst")
4326 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4327 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4328 testing of Catalyst applications without needing to start up a web server.")
4329 (license license:perl-license)))
4331 (define-public perl-test-www-mechanize-psgi
4333 (name "perl-test-www-mechanize-psgi")
4338 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4339 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4342 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4343 (build-system perl-build-system)
4345 `(("perl-test-pod" ,perl-test-pod)))
4347 `(("perl-plack" ,perl-plack)
4348 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4349 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4350 (synopsis "Test PSGI programs using WWW::Mechanize")
4351 (description "PSGI is a specification to decouple web server environments
4352 from web application framework code. Test::WWW::Mechanize is a subclass of
4353 WWW::Mechanize that incorporates features for web application testing. The
4354 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4356 (license license:perl-license)))
4358 (define-public perl-uri
4364 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4365 "URI-" version ".tar.gz"))
4368 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4369 (build-system perl-build-system)
4372 `(("perl-test-needs" ,perl-test-needs)))
4373 (license license:perl-license)
4374 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4376 "The URI module implements the URI class. Objects of this class
4377 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4378 and updated by RFC 2732.")
4379 (home-page "https://metacpan.org/release/URI")))
4381 (define-public perl-uri-fetch
4383 (name "perl-uri-fetch")
4387 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4388 "URI-Fetch-" version ".tar.gz"))
4391 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4392 (build-system perl-build-system)
4394 `(#:tests? #f)) ; Tests require internet connection to succeed
4396 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4397 ("perl-libwww" ,perl-libwww)
4398 ("perl-uri" ,perl-uri)))
4399 (home-page "https://metacpan.org/release/URI-Fetch")
4400 (synopsis "Smart URI fetching/caching")
4401 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4402 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4403 and time-saving way.")
4404 (license license:perl-license)))
4406 (define-public perl-uri-find
4408 (name "perl-uri-find")
4409 (version "20160806")
4413 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4414 "URI-Find-" version ".tar.gz"))
4417 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4418 (build-system perl-build-system)
4420 `(("perl-module-build" ,perl-module-build)))
4422 `(("perl-uri" ,perl-uri)))
4423 (home-page "https://metacpan.org/release/URI-Find")
4424 (synopsis "Find URIs in arbitrary text")
4425 (description "This module finds URIs and URLs (according to what URI.pm
4426 considers a URI) in plain text. It only finds URIs which include a
4427 scheme (http:// or the like), for something a bit less strict, consider
4428 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4429 (license license:perl-license)))
4431 (define-public perl-uri-ws
4433 (name "perl-uri-ws")
4438 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4439 "URI-ws-" version ".tar.gz"))
4442 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4443 (build-system perl-build-system)
4445 `(("perl-uri" ,perl-uri)))
4446 (home-page "https://metacpan.org/release/URI-ws")
4447 (synopsis "WebSocket support for URI package")
4448 (description "With this module, the URI package provides the same set of
4449 methods for WebSocket URIs as it does for HTTP URIs.")
4450 (license license:perl-license)))
4452 (define-public perl-uri-template
4454 (name "perl-uri-template")
4458 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4462 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4463 (build-system perl-build-system)
4465 `(("perl-uri" ,perl-uri)))
4467 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4468 ("perl-test-pod" ,perl-test-pod)
4469 ("perl-module-install" ,perl-module-install)
4470 ("perl-json" ,perl-json)))
4471 (home-page "https://metacpan.org/release/URI-Template")
4472 (synopsis "Object for handling URI templates")
4473 (description "This perl module provides a wrapper around URI templates as described in
4475 (license license:perl-license)))
4477 (define-public perl-www-curl
4479 (name "perl-www-curl")
4484 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4486 (patches (search-patches "perl-www-curl-fix-struct-void.patch"
4487 "perl-www-curl-remove-symbol.patch"))
4490 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4491 (build-system perl-build-system)
4493 '(#:tests? #f ;XXX: tests require network access
4494 #:phases (modify-phases %standard-phases
4495 (add-before 'configure 'set-search-path
4497 ;; Work around "dotless @INC" build failure.
4499 (string-append (getcwd) ":"
4500 (getenv "PERL5LIB")))
4503 `(("perl-module-install" ,perl-module-install)))
4504 (inputs `(("curl" ,curl)))
4505 (synopsis "Perl extension interface for libcurl")
4507 "This is a Perl extension interface for the libcurl file downloading
4509 (license license:perl-license)
4510 (home-page "https://metacpan.org/release/WWW-Curl")))
4512 (define-public perl-www-mechanize
4514 (name "perl-www-mechanize")
4519 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4520 "WWW-Mechanize-" version ".tar.gz"))
4522 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4523 (build-system perl-build-system)
4524 (native-inputs ;only for tests
4525 `(("perl-cgi" ,perl-cgi)
4526 ("perl-test-deep" ,perl-test-deep)
4527 ("perl-test-fatal" ,perl-test-fatal)
4528 ("perl-test-output" ,perl-test-output)
4529 ("perl-test-warnings" ,perl-test-warnings)))
4531 `(("perl-html-form" ,perl-html-form)
4532 ("perl-html-parser" ,perl-html-parser)
4533 ("perl-html-tree" ,perl-html-tree)
4534 ("perl-http-message" ,perl-http-message)
4535 ("perl-http-server-simple" ,perl-http-server-simple)
4536 ("perl-libwww" ,perl-libwww)
4537 ("perl-test-warn" ,perl-test-warn)
4538 ("perl-uri" ,perl-uri)))
4539 (home-page "https://metacpan.org/release/WWW-Mechanize")
4540 (synopsis "Web browsing in a Perl object")
4541 (description "WWW::Mechanize is a Perl module for stateful programmatic
4542 web browsing, used for automating interaction with websites.")
4543 (license license:perl-license)))
4545 (define-public perl-www-opensearch
4547 (name "perl-www-opensearch")
4551 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4552 "WWW-OpenSearch-" version ".tar.gz"))
4555 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4556 (build-system perl-build-system)
4558 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4559 ("perl-datetime" ,perl-datetime)
4560 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4561 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4562 ("perl-feed-find" ,perl-feed-find)
4563 ("perl-module-install" ,perl-module-install)
4564 ("perl-module-pluggable" ,perl-module-pluggable)
4565 ("perl-uri-fetch" ,perl-uri-fetch)
4566 ("perl-test-simple" ,perl-test-simple)
4567 ("perl-xml-atom" ,perl-xml-atom)
4568 ("perl-xml-rss" ,perl-xml-rss)))
4570 `(("perl-data-page" ,perl-data-page)
4571 ("perl-libwww" ,perl-libwww)
4572 ("perl-uri" ,perl-uri)
4573 ("perl-uri-template" ,perl-uri-template)
4574 ("perl-xml-feed" ,perl-xml-feed)
4575 ("perl-xml-libxml" ,perl-xml-libxml)))
4576 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4577 (synopsis "Search A9 OpenSearch compatible engines")
4579 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4580 http://opensearch.a9.com} compatible search engines.")
4581 (license license:perl-license)))
4583 (define-public perl-www-robotrules
4585 (name "perl-www-robotrules")
4590 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4594 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4595 (build-system perl-build-system)
4597 `(("perl-uri" ,perl-uri)))
4598 (license license:perl-license)
4599 (synopsis "Perl database of robots.txt-derived permissions")
4601 "The WWW::RobotRules module parses /robots.txt files as specified in
4602 \"A Standard for Robot Exclusion\", at
4603 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4604 /robots.txt file to forbid conforming robots from accessing parts of
4606 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4608 (define-public python-feedparser
4610 (name "python-feedparser")
4615 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4618 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4619 (build-system python-build-system)
4623 "https://github.com/kurtmckee/feedparser")
4624 (synopsis "Parse feeds in Python")
4626 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4627 CDF, Atom 0.3, and Atom 1.0 feeds.")
4628 (license (list license:bsd-2 ; source code
4629 license:freebsd-doc)))) ; documentation
4631 (define-public python2-feedparser
4632 (package-with-python2 python-feedparser))
4634 (define-public guix-data-service
4635 (let ((commit "c596a1c6a90bb2fe07da5339b8dc832b81d94194")
4638 (name "guix-data-service")
4639 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4643 (url "https://git.savannah.gnu.org/git/guix/data-service.git")
4645 (file-name (git-file-name name version))
4648 "09gn2imhh3aqkzray0xgkz7slriy567inh5lpkxm74bgmx862g3g"))))
4649 (build-system gnu-build-system)
4651 '(#:modules ((guix build utils)
4652 (guix build gnu-build-system)
4657 #:test-target "check-with-tmp-database"
4659 (modify-phases %standard-phases
4660 (add-before 'build 'set-GUILE_AUTO_COMPILE
4662 ;; To avoid warnings relating to 'guild'.
4663 (setenv "GUILE_AUTO_COMPILE" "0")
4665 (add-after 'install 'wrap-executable
4666 (lambda* (#:key inputs outputs #:allow-other-keys)
4667 (let* ((out (assoc-ref outputs "out"))
4668 (bin (string-append out "/bin"))
4669 (guile (assoc-ref inputs "guile"))
4670 (guile-effective-version
4672 (open-pipe* OPEN_READ
4673 (string-append guile "/bin/guile")
4674 "-c" "(display (effective-version))")))
4675 (scm (string-append out "/share/guile/site/"
4676 guile-effective-version))
4677 (go (string-append out "/lib/guile/"
4678 guile-effective-version
4682 (simple-format (current-error-port)
4684 (string-append bin "/" file))
4685 (wrap-program (string-append bin "/" file)
4689 (map (lambda (input)
4691 (assoc-ref inputs input)
4696 `("GUILE_LOAD_PATH" ":" prefix
4697 (,scm ,(getenv "GUILE_LOAD_PATH")))
4698 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4699 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4705 (delete 'strip)))) ; As the .go files aren't compatible
4707 `(("guix" ,guile3.0-guix)
4708 ("guile-fibers" ,guile3.0-fibers)
4709 ("guile-json" ,guile3.0-json)
4710 ("guile-email" ,guile3.0-email)
4711 ("guile-prometheus" ,guile-prometheus)
4712 ("guile-squee" ,guile3.0-squee)
4713 ("ephemeralpg" ,ephemeralpg)
4714 ("util-linux" ,util-linux)
4715 ("postgresql" ,postgresql-11)
4716 ("sqitch" ,sqitch)))
4718 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
4719 ("autoconf" ,autoconf)
4720 ("automake" ,automake)
4721 ("emacs-minimal" ,emacs-minimal)
4722 ("emacs-htmlize" ,emacs-htmlize)
4723 ("pkg-config" ,pkg-config)))
4724 (synopsis "Store and provide data about GNU Guix")
4726 "The Guix Data Service stores data about GNU Guix, and provides this
4727 through a web interface. It supports listening to the guix-commits mailing
4728 list to find out about new revisions, then loads the data from these in to a
4729 PostgreSQL database.")
4730 (home-page "http://data.guix.gnu.org/")
4731 (license license:agpl3+))))
4733 (define-public gumbo-parser
4735 (name "gumbo-parser")
4740 (url "https://github.com/google/gumbo-parser")
4741 (commit (string-append "v" version))))
4742 (file-name (git-file-name name version))
4745 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4746 (build-system gnu-build-system)
4748 `(#:tests? #f)) ;tests require bundling googletest sources
4749 ;; The release tarball lacks the generated files.
4751 `(("autoconf" ,autoconf)
4752 ("automake" ,automake)
4753 ("libtool" ,libtool)))
4754 (home-page "https://github.com/google/gumbo-parser")
4755 (synopsis "HTML5 parsing library")
4757 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4758 a pure C99 library.")
4759 (license license:asl2.0)))
4761 (define-public uwsgi
4767 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4771 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4772 (build-system gnu-build-system)
4773 (outputs '("out" "python"))
4775 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4776 ;; But there is no obvious way to run the real tests.
4779 (modify-phases %standard-phases
4781 ;; Configuration is done by writing an ini file.
4782 (lambda* (#:key outputs #:allow-other-keys)
4783 (let* ((out (assoc-ref outputs "out"))
4784 (bindir (string-append out "/bin"))
4785 (plugindir (string-append out "/lib/uwsgi")))
4786 ;; The build phase outputs files to these directories directly.
4789 ;; XXX: Enable other plugins.
4790 (call-with-output-file "buildconf/guix.ini"
4792 (format port "[uwsgi]
4798 plugins = cgi,python
4800 " bindir plugindir))))
4801 (setenv "PROFILE" "guix")
4804 ;; Move plugins into their own output.
4805 (lambda* (#:key outputs #:allow-other-keys)
4806 (let* ((out (assoc-ref outputs "out"))
4807 (plugindir (string-append out "/lib/uwsgi"))
4808 (python-plugin (string-append
4809 plugindir "/python_plugin.so")))
4810 (install-file python-plugin
4812 (assoc-ref outputs "python") "/lib/uwsgi"))
4813 (delete-file python-plugin)
4816 `(("pkg-config" ,pkg-config)
4817 ("python" ,python-wrapper)))
4819 `(("jansson" ,jansson)
4820 ("libxml2" ,libxml2)
4821 ("libyaml" ,libyaml)
4822 ("openssl" ,openssl)
4826 ("python" ,python)))
4827 (home-page "https://uwsgi-docs.readthedocs.org/")
4828 (synopsis "Application container server")
4830 "uWSGI presents a complete stack for networked/clustered web applications,
4831 implementing message/object passing, caching, RPC and process management.
4832 It uses the uwsgi protocol for all the networking/interprocess communications.")
4833 (license license:gpl2+))) ; with linking exception
4842 (uri (string-append "https://github.com/stedolan/jq"
4843 "/releases/download/jq-" version
4844 "/jq-" version ".tar.gz"))
4846 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4847 (modules '((guix build utils)))
4850 ;; Remove bundled onigurama.
4851 (delete-file-recursively "modules")
4854 `(("oniguruma" ,oniguruma)))
4856 `(;; TODO fix gems to generate documentation
4858 ;;("bundler" ,bundler)
4859 ("valgrind" ,valgrind)))
4860 (build-system gnu-build-system)
4861 (home-page "https://stedolan.github.io/jq/")
4862 (synopsis "Command-line JSON processor")
4863 (description "jq is like sed for JSON data – you can use it to slice and
4864 filter and map and transform structured data with the same ease that sed, awk,
4865 grep and friends let you play with text. It is written in portable C. jq can
4866 mangle the data format that you have into the one that you want with very
4867 little effort, and the program to do so is often shorter and simpler than
4869 (license (list license:expat license:cc-by3.0))))
4871 (define-public uhttpmock
4878 (uri (string-append "https://tecnocode.co.uk/downloads/uhttpmock/"
4879 "uhttpmock-" version ".tar.xz"))
4881 (base32 "0bqizz69hxk8rn4z57asz1d45vizl1rj6i5k3rzxn2x3qcik514h"))))
4882 (build-system glib-or-gtk-build-system)
4884 `(("gobject-introspection" ,gobject-introspection)
4886 ("glib-networking" ,glib-networking)
4887 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4888 ("pkg-config" ,pkg-config)))
4890 `(("libsoup" ,libsoup)))
4891 (home-page "https://gitlab.com/groups/uhttpmock")
4892 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4894 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4895 HTTPS. It provides a library, libuhttpmock, which implements recording and
4896 playback of HTTP request/response traces.")
4897 (license license:lgpl2.1+)))
4902 (version "2012-05-31")
4906 "http://www.home.unix-ag.org/simon/woof-"
4910 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4911 (build-system trivial-build-system)
4913 '(#:modules ((guix build utils))
4916 (use-modules (guix build utils))
4917 (let* ((source (assoc-ref %build-inputs "source"))
4918 (out (assoc-ref %outputs "out"))
4919 (bin (string-append out "/bin"))
4920 (python (assoc-ref %build-inputs "python")))
4922 (with-directory-excursion bin
4923 (copy-file source "woof")
4924 (patch-shebang "woof" (list (string-append python "/bin")))
4925 (chmod "woof" #o555))
4927 (inputs `(("python" ,python-2)))
4928 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4929 (synopsis "Single file web server")
4930 (description "Woof (Web Offer One File) is a small simple web server that
4931 can easily be invoked on a single file. Your partner can access the file with
4932 tools they trust (e.g. wget).")
4933 (license license:gpl2+)))
4935 (define netsurf-buildsystem
4937 (name "netsurf-buildsystem")
4942 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4943 "buildsystem-" version ".tar.gz"))
4946 "0alsmaig9ln8dgllb3z63gq90fiz75jz0ic71fi0k0k898qix14k"))))
4947 (build-system gnu-build-system)
4948 (inputs `(("perl" ,perl)))
4950 '(#:make-flags (list (string-append "PREFIX=" %output))
4951 #:tests? #f ;no tests
4952 #:phases (modify-phases %standard-phases
4955 (home-page "https://www.netsurf-browser.org")
4956 (synopsis "Build system for the Netsurf project")
4958 "This package provides the shared build system for Netsurf project
4960 (license license:expat)))
4962 (define netsurf-buildsystem-arguments
4963 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4964 "CC=gcc" "BUILD_CC=gcc"
4965 ,(string-append "PREFIX=" %output)
4966 ,(string-append "NSSHARED="
4967 (assoc-ref %build-inputs
4968 "netsurf-buildsystem")
4969 "/share/netsurf-buildsystem"))
4970 #:test-target "test"
4971 #:phases (modify-phases %standard-phases
4972 (delete 'configure))))
4974 (define-public libparserutils
4976 (name "libparserutils")
4981 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4982 name "-" version "-src.tar.gz"))
4985 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4986 (build-system gnu-build-system)
4988 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4989 ("pkg-config" ,pkg-config)
4990 ("perl" ,perl))) ;for test harness
4991 (arguments netsurf-buildsystem-arguments)
4992 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
4993 (synopsis "Parser building library")
4995 "LibParserUtils is a library for building efficient parsers, written in
4996 C. It is developed as part of the NetSurf project.")
4997 (license license:expat)))
4999 (define-public hubbub
5006 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5007 "libhubbub-" version "-src.tar.gz"))
5010 "1dimfyblmym98qa1b80c5jslv2zk8r44xbdrgrsrw1n9wr9y4yly"))
5011 (patches (search-patches "hubbub-sort-entities.patch"))))
5012 (build-system gnu-build-system)
5014 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5015 ("pkg-config" ,pkg-config)
5016 ("doxygen" ,doxygen)
5017 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
5020 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
5021 (arguments netsurf-buildsystem-arguments)
5022 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
5023 (synopsis "HTML5 compliant parsing library")
5025 "Hubbub is an HTML5 compliant parsing library, written in C, which can
5026 parse both valid and invalid web content. It is developed as part of the
5028 (license license:expat)))
5030 (define-public ikiwiki
5033 (version "3.20200202.3")
5038 (url "git://git.ikiwiki.info/")
5040 (file-name (git-file-name name version))
5043 "0fphyqzlk9y8v9s89ypsmrnbhyymzrpc2w0liy0n4knc7kk2pabq"))
5046 ;; The POT file requires write permission during the build
5048 (chmod "po/ikiwiki.pot" #o644)
5050 (build-system perl-build-system)
5053 (modify-phases %standard-phases
5054 (add-after 'patch-source-shebangs 'patch-Makefiles
5056 (substitute* "Makefile.PL"
5057 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
5058 (with-directory-excursion "po"
5059 (substitute* "Makefile"
5060 (("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
5062 (add-before 'build 'set-modification-times
5063 ;; The wiki '--refresh' steps, which are executed during
5064 ;; the check phase, require recent timestamps on files in
5065 ;; the 'doc' and 'underlays' directories.
5067 (invoke "find" "doc" "underlays" "-type" "f" "-exec"
5070 (add-before 'check 'pre-check
5071 (lambda* (#:key inputs #:allow-other-keys)
5072 ;; Six tests use IPC::Run. For these tests the PERL5LIB
5073 ;; variable is needed in the runtime environment and also
5074 ;; in the search path list in the setup file.
5076 '("t/aggregate-file.t" "t/git-cgi.t" "t/git-untrusted.t"
5077 "t/passwordauth.t" "t/relativity.t" "t/wrapper-environ.t")
5078 (("(.*)\"perl\"(.*)$" _ prefix suffix)
5079 (string-append prefix "qw(env), 'PERL5LIB='.$ENV{PERL5LIB}"
5080 ", qw(perl)" suffix))
5081 (("(.*) PERL5LIB=(.*) perl(.*)$" _ prefix middle suffix)
5082 (string-append prefix "), 'PERL5LIB='.$ENV{PERL5LIB}.':"
5083 middle "', qw(perl" suffix))
5084 (("(.*)setup(.* )getcwd(.*)$" _ prefix middle suffix)
5085 (string-append prefix "setup" middle
5086 "$ENV{PERL5LIB}.':'.getcwd" suffix))
5087 (("^ENV(.*): '(.*)$" _ middle suffix)
5088 (string-append "ENV" middle
5089 ": '$ENV{PERL5LIB}:" suffix)))
5090 ;; XDG_DATA_DIRS is needed by the podcast.t test.
5091 (setenv "XDG_DATA_DIRS"
5092 (string-append (assoc-ref inputs "shared-mime-info")
5094 ;; CC is needed by IkiWiki/Wrapper.pm.
5097 (add-after 'install 'wrap-programs
5098 (lambda* (#:key outputs #:allow-other-keys)
5099 (let* ((out (assoc-ref outputs "out"))
5100 (bin (string-append out "/bin/"))
5101 (path (getenv "PERL5LIB")))
5102 (for-each (lambda (file)
5104 `("PERL5LIB" ":" prefix (,path))))
5109 ("gettext" ,gettext-minimal)
5110 ("subversion" ,subversion)
5114 ("mercurial" ,mercurial)))
5116 `(("python" ,python-wrapper)
5117 ("perl-authen-passphrase" ,perl-authen-passphrase)
5118 ("perl-cgi-simple" ,perl-cgi-simple)
5119 ("perl-db-file" ,perl-db-file)
5120 ("perl-file-mimeinfo" ,perl-file-mimeinfo)
5121 ("perl-html-tagset" ,perl-html-tagset)
5122 ("perl-image-magick" ,perl-image-magick)
5123 ("perl-ipc-run" ,perl-ipc-run)
5124 ("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
5125 ("perl-xml-feed" ,perl-xml-feed)
5126 ("perl-xml-sax" ,perl-xml-sax)
5127 ("perl-xml-twig" ,perl-xml-twig)
5130 `(("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
5131 ("perl-cgi-session" ,perl-cgi-session)
5132 ("perl-html-parser" ,perl-html-parser)
5133 ("perl-html-scrubber" ,perl-html-scrubber)
5134 ("perl-html-template" ,perl-html-template)
5135 ("perl-json" ,perl-json)
5136 ("perl-mail-sendmail" ,perl-mail-sendmail)
5137 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
5138 ("perl-timedate" ,perl-timedate)
5139 ("perl-uri" ,perl-uri)
5140 ("perl-xml-simple" ,perl-xml-simple)
5141 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
5142 (home-page "https://ikiwiki.info/")
5143 (synopsis "Wiki compiler, capable of generating HTML")
5145 "Ikiwiki is a wiki compiler, capable of generating a static set of web
5146 pages, but also incorporating dynamic features like a web based editor and
5148 (license license:gpl2+)))
5150 (define-public libwapcaplet
5152 (name "libwapcaplet")
5157 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5158 "libwapcaplet-" version "-src.tar.gz"))
5161 "0p0c2q9lsj4vs97aa7vjllfhw33zv3dpysdkjblzhib6dpfs2alv"))))
5162 (build-system gnu-build-system)
5164 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5165 ("pkg-config" ,pkg-config)
5166 ("check" ,check-0.14))) ;for tests
5167 (arguments netsurf-buildsystem-arguments)
5168 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
5169 (synopsis "String internment library")
5171 "LibWapcaplet provides a reference counted string internment system
5172 designed to store small strings and allow rapid comparison of them. It is
5173 developed as part of the Netsurf project.")
5174 (license license:expat)))
5176 (define-public libcss
5183 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5184 "libcss-" version "-src.tar.gz"))
5187 "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
5188 (build-system gnu-build-system)
5190 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5191 ("pkg-config" ,pkg-config)
5193 (propagated-inputs ;needed for libcss.pc
5194 `(("libparserutils" ,libparserutils)
5195 ("libwapcaplet" ,libwapcaplet)))
5196 (arguments netsurf-buildsystem-arguments)
5197 (home-page "https://www.netsurf-browser.org/projects/libcss/")
5198 (synopsis "CSS parser and selection library")
5200 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
5201 written in C. It is developed as part of the NetSurf project.")
5202 (license license:expat)))
5204 (define-public libcyaml
5212 (url "https://github.com/tlsa/libcyaml")
5213 (commit (string-append "v" version))))
5214 (file-name (git-file-name name version))
5215 (patches (search-patches "libcyaml-libyaml-compat.patch"))
5217 (base32 "0428p0rwq71nhh5nzcbapsbrjxa0x5l6h6ns32nxv7j624f0zd93"))))
5218 (build-system gnu-build-system)
5221 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5222 (string-append "CC=gcc"))
5224 (modify-phases %standard-phases
5225 (delete 'configure) ; no configure script
5229 (invoke "make" "test"))))))
5231 `(("libyaml" ,libyaml)))
5233 `(("pkg-config" ,pkg-config)))
5234 (synopsis "C library for reading and writing YAML")
5236 "LibCYAML is a C library written in ISO C11 for reading and writing
5237 structured YAML documents. The fundamental idea behind CYAML is to allow
5238 applications to construct schemas which describe both the permissible
5239 structure of the YAML documents to read/write, and the C data structure(s)
5240 in which the loaded data is arranged in memory.")
5241 (home-page "https://github.com/tlsa/libcyaml")
5242 (license license:isc)))
5244 (define-public libdom
5251 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5252 "libdom-" version "-src.tar.gz"))
5255 "0jpg5hx3y0mdxk5szd47dyijqimd2321brbqk2620pp5f4j0gvlq"))))
5256 (build-system gnu-build-system)
5258 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5259 ("pkg-config" ,pkg-config)
5260 ("perl" ,perl) ;for test harness
5261 ("perl-libxml" ,perl-libxml)
5262 ("perl-switch" ,perl-switch)
5263 ("perl-xml-xpath" ,perl-xml-xpath)))
5265 `(("libparserutils" ,libparserutils)
5266 ("libwapcaplet" ,libwapcaplet)))
5268 `(("expat" ,expat) ;needed for headers and linking
5269 ("hubbub" ,hubbub))) ;for libdom.pc
5271 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
5272 ,@netsurf-buildsystem-arguments))
5273 (home-page "https://www.netsurf-browser.org/projects/libdom/")
5274 (synopsis "Implementation of the W3C DOM")
5276 "LibDOM is an implementation of the W3C DOM, written in C. It is
5277 developed as part of the NetSurf project.")
5278 (license license:expat)))
5280 (define-public libsvgtiny
5287 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5288 name "-" version "-src.tar.gz"))
5291 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
5292 (build-system gnu-build-system)
5294 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5295 ("pkg-config" ,pkg-config)
5296 ("gperf" ,gperf-3.0)))
5298 `(("libwapcaplet" ,libwapcaplet)))
5300 `(("libdom" ,libdom))) ;for libsvgtiny.pc
5301 (arguments netsurf-buildsystem-arguments)
5302 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
5303 (synopsis "Library for parsing SVG files")
5305 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
5306 which can be rendered easily, as defined in
5307 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
5309 (license license:expat)))
5311 (define-public libnsbmp
5318 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5319 name "-" version "-src.tar.gz"))
5322 "0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r"))))
5323 (build-system gnu-build-system)
5325 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5326 (arguments netsurf-buildsystem-arguments)
5327 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
5328 (synopsis "Decoding library for BMP and ICO files")
5330 "Libnsbmp is a decoding library for BMP and ICO image file formats,
5331 written in C. It is developed as part of the NetSurf project.")
5332 (license license:expat)))
5334 (define-public libnsgif
5341 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5342 name "-" version "-src.tar.gz"))
5345 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
5346 (build-system gnu-build-system)
5348 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5349 (arguments netsurf-buildsystem-arguments)
5350 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
5351 (synopsis "Decoding library for GIF files")
5353 "Libnsgif is a decoding library for the GIF image file format, written in
5354 C. It is developed as part of the NetSurf project.")
5355 (license license:expat)))
5357 (define-public libnslog
5364 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5365 "libnslog-" version "-src.tar.gz"))
5368 "1l2k0kdv9iv18svhv360vszjavhl4g09cp8a8yb719pgsylxr67w"))))
5369 (build-system gnu-build-system)
5371 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5372 ("pkg-config" ,pkg-config)
5373 ("check" ,check) ; For tests
5376 (arguments netsurf-buildsystem-arguments)
5377 (home-page "https://www.netsurf-browser.org/")
5378 (synopsis "Logging library")
5380 "Libnslog provides a category-based logging library which supports
5381 complex logging filters, multiple log levels, and provides context through to
5382 client applications. It is developed as part of the NetSurf project.")
5383 (license license:expat)))
5385 (define-public libnsutils
5392 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5393 name "-" version "-src.tar.gz"))
5396 "1w5fyy2i60a3v3if3iqcn9sy9sycx6966rcx53v85gja6hb6a33r"))))
5397 (build-system gnu-build-system)
5399 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5400 (arguments netsurf-buildsystem-arguments)
5401 (home-page "https://www.netsurf-browser.org/")
5402 (synopsis "Utility library for NetSurf")
5404 "Libnsutils provides a small number of useful utility routines. It is
5405 developed as part of the NetSurf project.")
5406 (license license:expat)))
5408 (define-public libnspsl
5415 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5416 "libnspsl-" version "-src.tar.gz"))
5419 "02q28n5i6fwqcz1nn167rb71k1q95mx38mfah6zi1lvqrc2q5ifk"))))
5420 (build-system gnu-build-system)
5422 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5423 (arguments netsurf-buildsystem-arguments)
5424 (home-page "https://www.netsurf-browser.org/")
5425 (synopsis "Library to generate a static Public Suffix List")
5427 "Libnspsl is a library to generate a static code representation of the
5428 Public Suffix List. It is developed as part of the NetSurf project.")
5429 (license license:expat)))
5431 (define-public nsgenbind
5438 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5439 "nsgenbind-" version "-src.tar.gz"))
5442 "1cqwgwca49jvmijwiyaab2bwxicgxdrnlpinf8kp3nha02nm73ad"))))
5443 (build-system gnu-build-system)
5445 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5449 (substitute-keyword-arguments netsurf-buildsystem-arguments
5450 ((#:make-flags flags)
5451 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5452 (home-page "https://www.netsurf-browser.org/")
5453 (synopsis "Generate JavaScript to DOM bindings")
5455 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5456 w3c webidl files and a binding configuration file.")
5457 (license license:expat)))
5459 (define-public netsurf
5466 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5467 "releases/source/netsurf-" version "-src.tar.gz"))
5470 "0plra64c5xyiw12yx2q13brxsv8apmany97zqa2lcqckw4ll8j1n"))
5471 (patches (search-patches "netsurf-system-utf8proc.patch"
5472 "netsurf-y2038-tests.patch"
5473 "netsurf-longer-test-timeout.patch"
5474 "netsurf-message-timestamp.patch"))))
5475 (build-system glib-or-gtk-build-system)
5477 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5478 ("nsgenbind" ,nsgenbind)
5479 ("libidn" ,libidn) ;only for tests
5482 ("perl-html-parser" ,perl-html-parser)
5483 ("pkg-config" ,pkg-config)
5488 ("openssl" ,openssl)
5489 ("utf8proc" ,utf8proc)
5491 ("libjpeg" ,libjpeg-turbo)
5494 ("libnsbmp" ,libnsbmp)
5495 ("libnsgif" ,libnsgif)
5496 ("libnslog" ,libnslog)
5497 ("libnspsl" ,libnspsl)
5498 ("libnsutils" ,libnsutils)
5499 ("libsvgtiny" ,libsvgtiny)
5500 ("miscfiles" ,miscfiles)))
5502 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5504 ,(string-append "PREFIX=" %output)
5505 ,(string-append "NSSHARED="
5506 (assoc-ref %build-inputs
5507 "netsurf-buildsystem")
5508 "/share/netsurf-buildsystem"))
5509 #:test-target "test"
5510 #:modules ((ice-9 rdelim)
5514 ,@%glib-or-gtk-build-system-modules)
5516 (modify-phases %standard-phases
5518 (add-after 'build 'adjust-welcome
5520 (substitute* "frontends/gtk/res/welcome.html"
5521 ;; Close some XHTML tags.
5522 (("<(img|input)([^>]*)>" _ tag contents)
5523 (string-append "<" tag contents " />"))
5524 ;; Increase freedom.
5525 ((" open source") ", free software")
5526 ;; Prefer a more privacy-respecting default search engine.
5527 (("www.google.co.uk") "www.duckduckgo.com/html")
5528 (("Google Search") "DuckDuckGo Search")
5529 (("name=\"btnG\"") ""))
5530 ;; Remove default links so it doesn't seem we're endorsing them.
5531 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5533 ;; Leave the DOCTYPE header as is.
5534 (display (read-line in 'concat) out)
5536 (let rec ((sxml (xml->sxml in
5537 #:default-entity-handler
5539 (string-append "<ENTITY>"
5540 (symbol->string name)
5542 ;; We'd like to use sxml-match here, but it can't
5543 ;; match against generic tag symbols...
5545 (`(div (@ (class "links")) . ,rest)
5554 (add-before 'check 'patch-check
5555 (lambda* (#:key inputs #:allow-other-keys)
5556 (substitute* '("test/bloom.c" "test/hashtable.c")
5557 (("/usr/share/dict/words")
5558 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5560 (add-after 'install 'install-more
5561 (lambda* (#:key outputs #:allow-other-keys)
5562 (let* ((out (assoc-ref outputs "out"))
5563 (desktop (string-append out "/share/applications/"
5564 "netsurf.desktop")))
5565 (mkdir-p (dirname desktop))
5566 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5568 (substitute* desktop
5569 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
5570 (("netsurf.png") (string-append out "/share/netsurf/"
5572 (install-file "docs/netsurf-gtk.1"
5573 (string-append out "/share/man/man1/"))
5575 (home-page "https://www.netsurf-browser.org")
5576 (synopsis "Web browser")
5578 "NetSurf is a lightweight web browser that has its own layout and
5579 rendering engine entirely written from scratch. It is small and capable of
5580 handling many of the web standards in use today.")
5581 (license license:gpl2+)))
5583 (define-public surfraw
5590 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5591 "2de827b2786ef2fe43b6f07913ca7b7f/"
5592 "surfraw-" version ".tar.gz"))
5594 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5595 (build-system gnu-build-system)
5598 (modify-phases %standard-phases
5599 (add-before 'configure 'patch-perl
5600 (lambda* (#:key inputs #:allow-other-keys)
5601 (let ((perl (assoc-ref inputs "perl")))
5602 (substitute* "surfraw.IN"
5604 (string-append perl "/bin/perl -e")))
5606 (add-after 'install 'compress-elvi.1sr
5607 (lambda* (#:key outputs #:allow-other-keys)
5608 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5609 ;; but elvi.1sr does not get compressed by our manpage phase.
5610 (let* ((out (assoc-ref %outputs "out"))
5611 (man (string-append out "/share/man/man1")))
5612 (with-directory-excursion man
5613 (invoke "gzip" "elvi.1sr"))))))))
5616 ("perl-www-opensearch" ,perl-www-opensearch)
5617 ("perl-html-parser" ,perl-html-parser)
5618 ("perl-libwww" ,perl-libwww)))
5619 (synopsis "Unix command line interface to the www")
5620 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5621 provides a unix command line interface to a variety of popular www search engines
5622 and similar services.")
5623 (home-page "https://surfraw.alioth.debian.org/")
5624 (license license:public-domain)))
5626 (define-public darkhttpd
5633 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5634 version ".tar.bz2"))
5637 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5638 (build-system gnu-build-system)
5640 `(#:make-flags '("CC=gcc")
5641 #:tests? #f ; No test suite
5643 (modify-phases %standard-phases
5646 (lambda* (#:key outputs #:allow-other-keys)
5647 (install-file "darkhttpd"
5648 (string-append (assoc-ref outputs "out")
5651 (synopsis "Simple static web server")
5652 (description "darkhttpd is a simple static web server. It is
5653 standalone and does not need inetd or ucspi-tcp. It does not need any
5654 config files---you only have to specify the www root.")
5655 (home-page "https://unix4lyfe.org/darkhttpd/")
5656 (license license:isc)))
5658 (define-public goaccess
5664 (uri (string-append "http://tar.goaccess.io/goaccess-"
5668 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5669 (modules '((guix build utils)))
5671 (substitute* "src/error.h"
5672 (("__DATE__") "\"1970-01-01\"")
5673 (("__TIME__") "\"00:00:00\""))
5675 (build-system gnu-build-system)
5677 ;; TODO: Add dependency on geoip-tools.
5679 ("ncurses" ,ncurses)))
5681 `(("pkg-config" ,pkg-config)))
5682 (home-page "https://goaccess.io")
5683 (synopsis "Analyze Web server logs in real time")
5685 "GoAccess is a real-time web log analyzer and interactive viewer that
5686 runs in a terminal or through your browser. It provides fast and valuable
5687 HTTP statistics for system administrators that require a visual server report
5689 (license license:x11)))
5691 (define-public hitch
5695 (home-page "https://hitch-tls.org/")
5698 (uri (string-append home-page "source/hitch-" version ".tar.gz"))
5701 "1i75giwyr66ip8xsvk3gg5xdbxnmcabgxz8dqi06c58mw7qzhzn9"))))
5702 (build-system gnu-build-system)
5704 `(#:phases (modify-phases %standard-phases
5705 (add-before 'check 'pre-check
5707 ;; Most tests attempts to access hitch-tls.org which is
5708 ;; unavailable in the build container. Run them against
5709 ;; a dummy local web server instead.
5710 (for-each (lambda (test)
5712 (("\\[hitch-tls\\.org\\]:80")
5713 "[localhost]:8000")))
5714 (find-files "src/tests" "\\.sh$"))
5715 (system "python3 -m http.server &")
5717 ;; The build container does not reap zombie processes,
5718 ;; causing stop_hitch to hang indefinitely while waiting
5719 ;; for the process to terminate because 'kill -0' never
5720 ;; succeeds. Use a different test to see whether the
5721 ;; process has shut down.
5722 (substitute* "src/tests/hitch_test.sh"
5723 (("kill -0 \"\\$HITCH_PID\"")
5724 "$(ps -p $HITCH_PID -o state= | grep -qv '^Z$')"))
5727 `(("pkg-config" ,pkg-config)
5733 ("python" ,python)))
5736 ("openssl" ,openssl)))
5737 (synopsis "Scalable TLS proxy")
5739 "Hitch is a performant TLS proxy based on @code{libev}. It terminates
5740 SSL/TLS connections and forwards the unencrypted traffic to a backend such
5741 as a web server. It is designed to handle many thousand connections on
5742 multicore machines.")
5743 (license license:bsd-2)))
5745 (define-public httptunnel
5752 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5753 name "-" version ".tar.gz"))
5756 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5757 (modules '((guix build utils)))
5759 ;; Remove non-free IETF RFC documentation.
5760 (delete-file-recursively "doc")
5762 (build-system gnu-build-system)
5765 (modify-phases %standard-phases
5766 ;; The default configure phase tries to pass environment variables as
5767 ;; command-line arguments, which confuses the ./configure script.
5769 (lambda* (#:key outputs #:allow-other-keys)
5770 (let* ((out (assoc-ref outputs "out")))
5771 (setenv "CONFIG_SHELL" (which "bash"))
5772 (invoke "./configure"
5773 (string-append "--prefix=" out))))))))
5774 (home-page "http://www.nocrew.org/software/httptunnel.html")
5775 (synopsis "Tunnel data connections through HTTP requests")
5776 (description "httptunnel creates a bidirectional virtual data connection
5777 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5778 useful for users behind restrictive firewalls. As long as Web traffic is
5779 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5780 tools like SSH (Secure Shell) to reach the outside world.")
5781 (license license:gpl2+)))
5783 (define-public stunnel
5790 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5793 (base32 "1q8gc05fiz7w55ws0whwzb94ffjnhzfppf1mhz1hf671vmrvjnmg"))))
5794 (build-system gnu-build-system)
5797 `(("iproute" ,iproute)
5799 ("procps" ,procps)))
5800 (inputs `(("openssl" ,openssl)))
5803 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5805 (modify-phases %standard-phases
5806 (add-after 'unpack 'patch-output-directories
5808 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5809 (substitute* (list "Makefile.in"
5811 "tools/Makefile.in")
5813 (string-append "/doc/" ,name "-" ,version)))
5815 (add-before 'check 'patch-tests
5817 (substitute* "tests/make_test"
5819 (string-append (which "sh") " ")))
5821 (home-page "https://www.stunnel.org")
5822 (synopsis "TLS proxy for clients or servers")
5823 (description "Stunnel is a proxy designed to add TLS encryption
5824 functionality to existing clients and servers without any changes in the
5825 programs' code. Its architecture is optimized for security, portability, and
5826 scalability (including load-balancing), making it suitable for large
5828 (license license:gpl2+)))
5830 (define-public varnish
5833 (home-page "https://varnish-cache.org/")
5837 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5840 "1dfdswri6lkfk6kml3szvffm91y49pajgqy1k5y26llqixl4r5hi"))))
5841 (build-system gnu-build-system)
5843 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5844 ;; Use absolute path of GCC so it's found at runtime.
5845 (string-append "PTHREAD_CC="
5846 (assoc-ref %build-inputs "gcc")
5848 "--localstatedir=/var")
5850 (modify-phases %standard-phases
5851 (add-after 'unpack 'use-absolute-file-names
5853 (substitute* '("bin/varnishtest/vtc_varnish.c"
5854 "bin/varnishtest/vtc_process.c"
5855 "bin/varnishd/mgt/mgt_vcc.c"
5856 "bin/varnishtest/tests/u00014.vtc")
5857 (("/bin/sh") (which "sh")))
5858 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5859 (("rm -rf") (string-append (which "rm") " -rf")))
5860 (substitute* "bin/varnishtest/vtc_main.c"
5861 (("/bin/rm") (which "rm")))
5863 (add-before 'install 'patch-Makefile
5865 (substitute* "Makefile"
5866 ;; Do not create /var/varnish during install.
5867 (("^install-data-am: install-data-local") "install-data-am: "))
5869 (add-after 'install 'wrap-varnishd
5870 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5871 ;; environment variables to avoid propagating them to profiles.
5872 (lambda* (#:key inputs outputs #:allow-other-keys)
5873 (let* ((out (assoc-ref outputs "out"))
5874 (varnishd (string-append out "/sbin/varnishd"))
5875 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5876 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5877 (wrap-program varnishd
5878 ;; Add binutils to PATH so gcc finds the 'as' executable.
5879 `("PATH" ":" prefix (,PATH))
5880 ;; Make sure 'crti.o' et.al is found.
5881 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5884 `(("pkg-config" ,pkg-config)
5885 ("python-sphinx" ,python-sphinx)
5886 ("rst2man" ,python-docutils)))
5888 `(("jemalloc" ,jemalloc)
5889 ("ncurses" ,ncurses)
5891 ("python" ,python-wrapper)
5892 ("readline" ,readline)))
5893 (synopsis "Web application accelerator")
5895 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5896 reverse proxy and load balancer. You install it in front of any server that
5897 speaks HTTP and configure it to cache the contents through an extensive
5898 configuration language.")
5899 (license (list license:bsd-2 ;main distribution
5900 license:zlib ;lib/libvgz/*
5901 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5902 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5904 (define-public varnish-modules
5906 (name "varnish-modules")
5907 (home-page "https://github.com/varnish/varnish-modules")
5911 (uri (git-reference (url home-page) (commit version)))
5912 (file-name (git-file-name name version))
5915 "0zg8y2sgkygdani70zp9rbx278431fmssj26d47c5qsiw939i519"))))
5916 (build-system gnu-build-system)
5918 `(("pkg-config" ,pkg-config)
5920 ;; For bootstrapping.
5921 ("autoconf" ,autoconf)
5922 ("automake" ,automake)
5923 ("libtool" ,libtool)
5925 ;; For generating manuals.
5926 ("rst2man" ,python-docutils)))
5928 `(("python" ,python)
5929 ("varnish" ,varnish)))
5930 (synopsis "Collection of Varnish modules")
5932 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5933 cache server, extending the @acronym{VCL, Varnish Configuration Language} with
5934 additional capabilities.")
5935 (license license:bsd-2)))
5937 (define-public xinetd
5940 ;; This is the maintenance fork currently used by openSUSE and Debian.
5941 (version "2.3.15.4")
5946 (url "https://github.com/openSUSE/xinetd")
5948 (file-name (git-file-name name version))
5950 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5951 (build-system gnu-build-system)
5953 `(#:configure-flags '("--with-loadavg")
5954 #:tests? #f)) ; no tests
5956 `(("autoconf" ,autoconf)
5957 ("automake" ,automake)
5958 ("libtool" ,libtool)
5959 ("pkg-config" ,pkg-config)))
5960 (home-page "https://github.com/openSUSE/xinetd")
5961 (synopsis "Internet services daemon")
5962 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5963 listens for incoming requests over a network and launches the appropriate
5964 service for that request. Requests are made using port numbers as identifiers
5965 and xinetd usually launches another daemon to handle the request. It can be
5966 used to start services with both privileged and non-privileged port numbers.")
5967 (license (license:fsf-free "file://COPYRIGHT"))))
5969 (define-public tidy-html
5977 (url "https://github.com/htacg/tidy-html5")
5979 (file-name (git-file-name name version))
5982 "01k5sqwgcsr26i8031v1yr2r8qcy9a5w7sj800660haszgfbjz2f"))))
5983 (build-system cmake-build-system)
5985 "static")) ; 1.3MiB of .a files
5987 `(#:tests? #f ; no tests available
5988 #:build-type "Release"
5990 (modify-phases %standard-phases
5991 (add-after 'install 'move-static-libraries
5992 (lambda* (#:key outputs #:allow-other-keys)
5993 ;; Move static libraries to the "static" output.
5994 (let* ((out (assoc-ref outputs "out"))
5995 (lib (string-append out "/lib"))
5996 (static (assoc-ref outputs "static"))
5997 (slib (string-append static "/lib")))
5999 (for-each (lambda (file)
6000 (install-file file slib)
6002 (find-files lib "\\.a$"))
6005 `(("libxslt" ,libxslt)))
6006 (home-page "http://www.html-tidy.org/")
6007 (synopsis "HTML Tidy with HTML5 support")
6009 "Tidy is a console application which corrects and cleans up
6010 HTML and XML documents by fixing markup errors and upgrading
6011 legacy code to modern standards.
6013 Tidy also provides @code{libtidy}, a C static and dynamic library that
6014 developers can integrate into their applications to make use of the
6015 functions of Tidy.")
6016 (license license:bsd-3)))
6018 (define-public hiawatha
6025 (uri (string-append "https://www.hiawatha-webserver.org/files/"
6026 "hiawatha-" version ".tar.gz"))
6027 (modules '((guix build utils)))
6029 ;; We use packaged libraries, so delete the bundled copies.
6030 (for-each delete-file-recursively
6031 (list "extra/nghttp2.tgz" "mbedtls"))
6034 (base32 "09wpgilbv13zal71v9lbsqr8c3fignygadykpd1p1pb8blb5vn3r"))))
6035 (build-system cmake-build-system)
6037 `(#:tests? #f ; no tests included
6038 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
6039 (string-append "-DENABLE_HTTP2=on")
6040 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
6041 (string-append "-DENABLE_TOMAHAWK=on")
6042 (string-append "-DLOG_DIR=/var/log/hiawatha")
6043 (string-append "-DPID_DIR=/run")
6044 (string-append "-DWEBROOT_DIR="
6045 (assoc-ref %outputs "out")
6046 "/share/hiawatha/html")
6047 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
6049 (modify-phases %standard-phases
6050 (add-after 'unpack 'install-no-empty-directories
6052 (substitute* "CMakeLists.txt"
6053 (("install\\(DIRECTORY DESTINATION" match)
6054 (string-append "#" match)))
6056 (add-after 'install 'wrap
6057 (lambda* (#:key inputs outputs #:allow-other-keys)
6058 ;; Make sure 'hiawatha' finds 'mbedtls'.
6059 (let* ((out (assoc-ref outputs "out"))
6060 (sbin (string-append out "/sbin"))
6061 (mbed (assoc-ref inputs "mbedtls-apache")))
6062 (wrap-program (string-append sbin "/hiawatha")
6063 `("PATH" ":" prefix (,mbed)))))))))
6065 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
6066 `(("libxslt" ,libxslt)
6067 ("libxml2" ,libxml2)
6068 ("mbedtls-apache" ,mbedtls-for-hiawatha)
6069 ("nghttp2" ,nghttp2 "lib")
6071 (home-page "https://www.hiawatha-webserver.org")
6072 (synopsis "Webserver with focus on security")
6074 "Hiawatha has been written with security in mind.
6075 Features include the ability to stop SQL injections, XSS and CSRF attacks and
6077 (license license:gpl2)))
6079 (define-public python-httpbin
6081 (name "python-httpbin")
6086 (uri (pypi-uri "httpbin" version))
6089 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
6090 (build-system python-build-system)
6092 `(("python-decorator" ,python-decorator)
6093 ("python-flask" ,python-flask)
6094 ("python-itsdangerous" ,python-itsdangerous)
6095 ("python-markupsafe" ,python-markupsafe)
6096 ("python-six" ,python-six)))
6097 (home-page "https://github.com/Runscope/httpbin")
6098 (synopsis "HTTP request and response service")
6099 (description "Testing an HTTP Library can become difficult sometimes.
6100 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
6101 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
6103 (license license:isc)))
6105 (define-public python2-httpbin
6106 (package-with-python2 python-httpbin))
6108 (define-public python-pytest-httpbin
6110 (name "python-pytest-httpbin")
6115 (uri (pypi-uri "pytest-httpbin" version))
6118 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
6119 (build-system python-build-system)
6121 `(("python-six" ,python-six)
6122 ("python-httpbin" ,python-httpbin)
6123 ("python-pytest" ,python-pytest)))
6125 "https://github.com/kevin1024/pytest-httpbin")
6127 "Test your HTTP library against a local copy of httpbin")
6129 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
6130 into your tests. It automatically starts up a HTTP server in a separate thread running
6131 @code{httpbin} and provides your test with the URL in the fixture.")
6132 (license license:expat)))
6134 (define-public python2-pytest-httpbin
6135 (package-with-python2 python-pytest-httpbin))
6137 (define-public http-parser
6139 (name "http-parser")
6141 (home-page "https://github.com/nodejs/http-parser")
6145 (uri (git-reference (url home-page)
6146 (commit (string-append "v" version))))
6148 (base32 "1vda4dp75pjf5fcph73sy0ifm3xrssrmf927qd1x8g3q46z0cv6c"))
6149 (file-name (git-file-name name version))
6153 ;; Treat an empty port (e.g. `http://hostname:/`) when parsing
6154 ;; URLs as if no port were specified. This patch is applied
6155 ;; to Fedora's http-parser and to libgit2's bundled version.
6158 "https://src.fedoraproject.org/rpms/http-parser/raw/"
6159 "e89b4c4e2874c19079a5a1a2d2ccc61b551aa289/"
6160 "f/0001-url-treat-empty-port-as-default.patch"))
6163 "0pbxf2nq9pcn299k2b2ls8ldghaqln9glnp79gi57mamx4iy0f6g")))))))
6164 (build-system gnu-build-system)
6166 `(#:test-target "test"
6168 (list (string-append "PREFIX="
6169 (assoc-ref %outputs "out"))
6171 ,@(if (%current-target-system)
6175 (modify-phases %standard-phases
6176 ,@(match (%current-system)
6178 '((add-before 'check 'apply-assertion.patch
6179 (lambda* (#:key inputs #:allow-other-keys)
6180 (let ((patch (assoc-ref inputs "assertion.patch")))
6181 (invoke "patch" "-p1" "-i" patch)
6184 ,@(if (%current-target-system)
6185 '((replace 'configure
6186 (lambda* (#:key target #:allow-other-keys)
6187 (substitute* (find-files "." "Makefile")
6189 (string-append "CC=" target "-gcc\n"))
6191 (string-append "AR=" target "-ar\n")))
6193 '((delete 'configure))))))
6195 `(,@(match (%current-system)
6197 ;; A fix for <https://issues.guix.gnu.org/40604> which in turn
6198 ;; breaks i686-linux builds.
6199 `(("assertion.patch"
6200 ,@(search-patches "http-parser-fix-assertion-on-armhf.patch"))))
6202 (synopsis "HTTP request/response parser for C")
6203 (description "This is a parser for HTTP messages written in C. It parses
6204 both requests and responses. The parser is designed to be used in
6205 high-performance HTTP applications. It does not make any syscalls nor
6206 allocations, it does not buffer data, it can be interrupted at anytime.
6207 Depending on your architecture, it only requires about 40 bytes of data per
6208 message stream (in a web server that is per connection).")
6209 (license license:expat)))
6211 (define-public python-httpretty
6213 (name "python-httpretty")
6218 (uri (pypi-uri "httpretty" version))
6220 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
6221 (build-system python-build-system)
6223 `(("python-six" ,python-six)))
6225 `(("python-coverage" ,python-coverage)
6226 ("python-httplib2" ,python-httplib2)
6227 ("python-mock" ,python-mock)
6228 ("python-nose" ,python-nose)
6229 ("python-nose-randomly" ,python-nose-randomly)
6230 ("python-rednose" ,python-rednose)
6231 ("python-requests" ,python-requests)
6232 ("python-sure" ,python-sure)
6233 ("python-tornado" ,python-tornado)
6234 ("python-urllib3" ,python-urllib3)))
6235 (home-page "https://httpretty.readthedocs.io")
6236 (synopsis "HTTP client mock for Python")
6237 (description "@code{httpretty} is a helper for faking web requests,
6238 inspired by Ruby's @code{fakeweb}.")
6239 (license license:expat)))
6248 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
6249 version "/jo-" version ".tar.gz"))
6251 (base32 "18jna9xlpxci3cak3z85c448zv2zr41baclgym3hk433p0p4vii4"))))
6252 (build-system gnu-build-system)
6253 (home-page "https://github.com/jpmens/jo")
6254 (synopsis "Output JSON from a shell")
6255 (description "jo is a command-line utility to create JSON objects or
6256 arrays. It creates a JSON string on stdout from words provided as
6257 command-line arguments or read from stdin.")
6258 (license (list license:gpl2+
6259 license:expat)))) ; json.c, json.h
6261 (define-public python-internetarchive
6263 (name "python-internetarchive")
6269 (url "https://github.com/jjjake/internetarchive")
6270 (commit (string-append "v" version))))
6271 (file-name (git-file-name name version))
6274 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
6275 (modules '((guix build utils)))
6278 ;; Python 3.7 removed `_pattern_type'.
6279 (for-each (lambda (file)
6282 (("^import re\n" line)
6283 (string-append line "re._pattern_type = re.Pattern\n"))))
6284 (find-files "." "\\.py$"))
6286 (build-system python-build-system)
6289 (modify-phases %standard-phases
6291 (add-after 'install 'check
6292 (lambda* (#:key inputs outputs #:allow-other-keys)
6293 (add-installed-pythonpath inputs outputs)
6294 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
6295 ":" (getenv "PATH")))
6296 (invoke "py.test" "-v" "-k"
6298 ;; These tests attempt to make a connection to
6299 ;; an external web service.
6300 "not test_get_item_with_kwargs"
6301 " and not test_ia")))))))
6303 `(("python-requests" ,python-requests)
6304 ("python-jsonpatch" ,python-jsonpatch-0.4)
6305 ("python-docopt" ,python-docopt)
6306 ("python-clint" ,python-clint)
6307 ("python-six" ,python-six)
6308 ("python-schema" ,python-schema-0.5)
6309 ("python-backports-csv" ,python-backports-csv)))
6311 `(("python-pytest" ,python-pytest)
6312 ("python-pytest-capturelog" ,python-pytest-capturelog)
6313 ("python-responses" ,python-responses)))
6314 (home-page "https://github.com/jjjake/internetarchive")
6315 (synopsis "Command-line interface to archive.org")
6316 (description "@code{ia} is a command-line tool for using
6317 @url{archive.org} from the command-line. It also emplements the
6318 internetarchive python module for programmatic access to archive.org.")
6319 (license license:agpl3+)))
6321 (define-public python-clf
6322 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
6329 (uri (pypi-uri "clf" version))
6332 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
6333 (build-system python-build-system)
6335 `(("python-docopt" ,python-docopt)
6336 ("python-pygments" ,python-pygments)
6337 ("python-requests" ,python-requests)
6338 ("python-nose" ,python-nose)
6339 ("python-lxml" ,python-lxml)
6340 ("python-pyaml" ,python-pyaml)))
6345 (uri (string-append "https://raw.githubusercontent.com"
6346 "/ncrocfer/clf/" commit-test-clf
6350 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
6353 (modify-phases %standard-phases
6354 (add-after 'unpack 'get-tests
6356 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
6361 ;; These tests require an Internet connection.
6362 "--exclude=test_browse"
6363 "--exclude=test_command"
6364 "--exclude=test_search"))))))
6365 (home-page "https://github.com/ncrocfer/clf")
6366 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
6367 (description "@code{clf} is a command line tool for searching code
6368 snippets on @url{https://commandlinefu.com}.")
6369 (license license:expat))))
6371 (define-public python2-clf
6372 (package-with-python2 python-clf))
6374 (define-public rss-bridge
6377 (version "2019-09-12")
6382 (url "https://github.com/RSS-Bridge/rss-bridge")
6384 (file-name (git-file-name name version))
6386 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
6387 (build-system trivial-build-system)
6389 '(#:modules ((guix build utils))
6392 (use-modules (guix build utils)
6394 (let* ((out (assoc-ref %outputs "out"))
6395 (share-rss-bridge (string-append out "/share/rss-bridge")))
6396 (mkdir-p share-rss-bridge)
6397 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
6399 (home-page "https://github.com/RSS-Bridge/rss-bridge")
6400 (synopsis "Generate Atom feeds for social networking websites")
6401 (description "rss-bridge generates Atom feeds for social networking
6402 websites lacking feeds. Supported websites include Facebook, Twitter,
6403 Instagram and YouTube.")
6404 (license (list license:public-domain
6405 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
6407 (define-public linkchecker
6409 (name "linkchecker")
6415 (url "https://github.com/linkchecker/linkchecker")
6416 (commit (string-append "v" version))))
6418 (search-patches "linkchecker-tests-require-network.patch"))
6419 (file-name (git-file-name name version))
6422 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
6423 (build-system python-build-system)
6425 `(("python2-dnspython" ,python2-dnspython)
6426 ("python2-pyxdg" ,python2-pyxdg)
6427 ("python2-requests" ,python2-requests)))
6429 `(("gettext" ,gettext-minimal)
6430 ("python2-pytest" ,python2-pytest)
6431 ("python2-miniboa" ,python2-miniboa)
6432 ("python2-parameterized" ,python2-parameterized)))
6434 `(#:python ,python-2
6436 (modify-phases %standard-phases
6437 ;; Move the 'check phase to after 'install, so that the installed
6438 ;; library can be used
6440 (add-after 'install 'check
6441 (lambda* (#:key outputs #:allow-other-keys)
6442 (let ((out (assoc-ref outputs "out")))
6443 ;; Set PYTHONPATH so that the installed linkchecker is used
6444 (setenv "PYTHONPATH"
6445 (string-append out "/lib/python2.7/site-packages"
6447 (getenv "PYTHONPATH")))
6448 ;; Remove this directory to avoid it being used when running
6450 (delete-file-recursively "linkcheck")
6452 (invoke "py.test" "tests"))
6454 (home-page "https://linkcheck.github.io/linkchecker")
6455 (synopsis "Check websites for broken links")
6456 (description "LinkChecker is a website validator. It checks for broken
6457 links in websites. It is recursive and multithreaded providing output in
6458 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
6459 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
6461 (license (list license:gpl2+
6462 license:bsd-2 ; linkcheck/better_exchook2.py
6463 license:bsd-3 ; linkcheck/colorama.py
6464 license:psfl ; linkcheck/gzip2.py
6465 license:expat)))) ; linkcheck/mem.py
6467 (define-public cadaver
6474 (uri (string-append "http://www.webdav.org/cadaver/"
6475 name "-" version ".tar.gz"))
6478 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
6479 (build-system gnu-build-system)
6480 ;; TODO: Unbundle libneon and make build succeed with new neon.
6482 `(#:configure-flags (list "--with-ssl=openssl")
6483 #:tests? #f)) ;No tests included
6485 `(("gettext" ,gettext-minimal)
6486 ("pkg-config" ,pkg-config)
6487 ("intltool" ,intltool)))
6490 ("openssl" ,openssl-1.0)))
6491 (home-page "http://www.webdav.org/cadaver/")
6492 (synopsis "Command-line WebDAV client")
6494 "Cadaver is a command-line WebDAV client for Unix. It supports
6495 file upload, download, on-screen display, namespace operations (move/copy),
6496 collection creation and deletion, and locking operations.")
6497 (license license:gpl2)))
6499 (define-public castor
6507 (url "https://git.sr.ht/~julienxx/castor")
6509 (file-name (git-file-name name version))
6511 (base32 "0rwg1w7srjwa23mkypl8zk6674nhph4xsc6nc01f6g5k959szylr"))))
6512 (build-system cargo-build-system)
6515 (("rust-ansi-parser" ,rust-ansi-parser-0.6)
6516 ("rust-dirs" ,rust-dirs-2.0)
6517 ("rust-gdk" ,rust-gdk-0.13)
6518 ("rust-gtk" ,rust-gtk-0.8)
6519 ("rust-linkify" ,rust-linkify-0.4)
6520 ("rust-native-tls" ,rust-native-tls-0.2)
6521 ("rust-open" ,rust-open-1)
6522 ("rust-percent-encoding" ,rust-percent-encoding-2)
6523 ("rust-url" ,rust-url-2))))
6525 `(("pkg-config" ,pkg-config)))
6529 ("gdk-pixbuf" ,gdk-pixbuf)
6531 ("libressl" ,libressl)
6533 (home-page "https://git.sr.ht/~julienxx/castor")
6534 (synopsis "Graphical client for plain-text protocols")
6536 "Castor is a graphical client for plain-text protocols written in
6537 Rust with GTK. It currently supports the Gemini, Gopher and Finger
6539 (license license:expat)))
6541 (define-public python-py-ubjson
6543 (name "python-py-ubjson")
6548 (uri (pypi-uri "py-ubjson" version))
6551 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
6552 (build-system python-build-system)
6553 (home-page "https://github.com/Iotic-Labs/py-ubjson")
6554 (synopsis "Universal Binary JSON encoder/decoder")
6556 "Py-ubjson is a Python module providing an Universal Binary JSON
6557 encoder/decoder based on the draft-12 specification for UBJSON.")
6558 (license license:asl2.0)))
6560 (define-public java-tomcat
6562 (name "java-tomcat")
6566 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6567 version "/src/apache-tomcat-" version "-src.tar.gz"))
6570 "15lwq3clf21hzk7mma70sffpxjqn8ww5mjq6zhmwcp4m17m22z26"))
6571 (modules '((guix build utils)))
6572 ;; Delete bundled jars.
6575 (for-each delete-file (find-files "." "\\.jar$"))
6576 (for-each delete-file (find-files "." "\\.bat$"))
6578 (build-system ant-build-system)
6580 `(("java-commons-daemon" ,java-commons-daemon)
6581 ("java-ecj" ,java-ecj)))
6583 `(#:build-target "deploy"
6584 #:tests? #f; requires downloading some files.
6586 (modify-phases %standard-phases
6587 (add-after 'unpack 'prevent-download
6589 ;; This directory must exist
6591 ;; We patch build.xml so it doesn't download any dependency, because
6592 ;; we already have all of them.
6593 (substitute* "build.xml"
6594 (("download-compile,") "")
6595 (("depends=\"validate\"") "depends=\"build-prepare\"")
6596 ((",download-validate") ""))
6598 (add-after 'unpack 'strip-timestamps
6600 (substitute* "build.xml"
6601 (("<filter token=\"YEAR\" value=.*")
6602 "<filter token=\"YEAR\" value=\"1970\"/>")
6603 (("<filter token=\"VERSION_BUILT\" value=.*")
6604 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6606 (add-after 'unpack 'modify-deploy
6608 ;; The Tomcat build downloads and copies these files to the
6609 ;; bin and lib directory.
6610 ;; We instead symlink to the input (see below).
6611 (substitute* "build.xml"
6612 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6613 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6616 (add-after 'install 'symlink-commons-daemon
6617 (lambda* (#:key inputs outputs #:allow-other-keys)
6618 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6619 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6620 (daemon-jar (car files))
6621 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6622 (target (string-append out-bin "/commons-daemon.jar")))
6623 (symlink daemon-jar target)
6625 (add-after 'install 'symlink-java-ecj
6626 (lambda* (#:key inputs outputs #:allow-other-keys)
6627 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6628 (files (find-files java-ecj "ecj.*\\.jar"))
6629 (java-ecj-jar (car files))
6630 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6631 (target (string-append out-lib "/java-ecj.jar")))
6632 (symlink java-ecj-jar target)
6634 (add-after 'unpack 'generate-properties
6636 ;; This could have been passed to make-flags, but getcwd returns
6637 ;; a different directory then.
6638 (with-output-to-file "build.properties"
6641 (string-append "base.path=" (getcwd) "/downloads\n"))))
6644 (lambda* (#:key outputs #:allow-other-keys)
6645 (let ((out (assoc-ref outputs "out")))
6646 (copy-recursively "output/build" out))
6648 (properties '((cpe-name . "tomcat")))
6649 (home-page "https://tomcat.apache.org")
6650 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6652 (description "Apache Tomcat is a free implementation of the Java
6653 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6655 (license license:asl2.0)))
6657 (define-public java-eclipse-jetty-test-helper
6659 (name "java-eclipse-jetty-test-helper")
6664 (url "https://github.com/eclipse/jetty.toolchain/")
6665 (commit (string-append "jetty-test-helper-" version))))
6666 (file-name (git-file-name name version))
6669 "1g7cdh03nfwbdxzvwm84ysgvw08xx7431lsjryj2gmf3lrqpizgb"))))
6670 (build-system ant-build-system)
6672 `(#:jar-name "eclipse-jetty-test-helper.jar"
6673 #:source-dir "src/main/java"
6674 #:test-dir "src/test"
6677 (modify-phases %standard-phases
6678 (add-before 'configure 'chdir
6680 (chdir "jetty-test-helper")
6682 (add-before 'build 'fix-paths
6685 ;; This file assumes that the build directory is named "target"
6686 ;; but it is not the case with our ant-build-system. Once we have
6687 ;; maven though, we will have to rebuild this package because this
6688 ;; assumption is correct with maven-build-system.
6690 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6691 (("\"target\"") "\"build\"")
6692 (("\"tests\"") "\"test-classes\""))
6693 ;; Tests assume we are building with maven, so that the build
6694 ;; directory is named "target", and not "build".
6695 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6696 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6697 "MavenTestingUtilsTest.java")
6698 (("target/tests") "build/test-classes")
6699 (("\"target") "\"build")))
6702 `(("junit" ,java-junit)
6703 ("hamcrest" ,java-hamcrest-all)))
6704 (home-page "https://www.eclipse.org/jetty/")
6705 (synopsis "Helper classes for jetty tests")
6706 (description "This package contains helper classes for testing the Jetty
6708 ;; This program is licensed under both epl and asl.
6709 (license (list license:epl1.0 license:asl2.0))))
6711 (define-public java-eclipse-jetty-perf-helper
6713 (inherit java-eclipse-jetty-test-helper)
6714 (name "java-eclipse-jetty-perf-helper")
6716 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6717 #:source-dir "src/main/java"
6718 #:tests? #f; no tests
6721 (modify-phases %standard-phases
6722 (add-before 'configure 'chdir
6724 (chdir "jetty-perf-helper")
6727 `(("hdrhistogram" ,java-hdrhistogram)))))
6729 (define-public java-eclipse-jetty-util
6731 (name "java-eclipse-jetty-util")
6735 (uri (string-append "https://github.com/eclipse/jetty.project/"
6736 "archive/jetty-" version ".v20170531.tar.gz"))
6739 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6740 (build-system ant-build-system)
6742 `(#:jar-name "eclipse-jetty-util.jar"
6743 #:source-dir "src/main/java"
6745 (list "**/Abstract*.java"
6747 "**/InetAddressSetTest.java"
6748 ;; Assumes we are using maven
6749 "**/TypeUtilTest.java"
6750 ;; Error on the style of log
6751 "**/StdErrLogTest.java")
6754 (modify-phases %standard-phases
6755 (add-before 'configure 'chdir
6757 (chdir "jetty-util")
6760 `(("slf4j" ,java-slf4j-api)
6761 ("servlet" ,java-javaee-servletapi)))
6763 `(("junit" ,java-junit)
6764 ("hamcrest" ,java-hamcrest-all)
6765 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6766 ("test-helper" ,java-eclipse-jetty-test-helper)))
6767 (home-page "https://www.eclipse.org/jetty/")
6768 (synopsis "Utility classes for Jetty")
6769 (description "The Jetty Web Server provides an HTTP server and Servlet
6770 container capable of serving static and dynamic content either from a standalone
6771 or embedded instantiation. This package provides utility classes.")
6772 (license (list license:epl1.0 license:asl2.0))))
6774 ;; This version is required by maven-wagon
6775 (define-public java-eclipse-jetty-util-9.2
6777 (inherit java-eclipse-jetty-util)
6781 (uri (string-append "https://github.com/eclipse/jetty.project/"
6782 "archive/jetty-" version ".v20170606.tar.gz"))
6785 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6787 `(#:jar-name "eclipse-jetty-util.jar"
6788 #:source-dir "src/main/java"
6791 (list "**/Abstract*.java"
6793 "**/InetAddressSetTest.java"
6794 ;; Assumes we are using maven
6795 "**/TypeUtilTest.java"
6796 ;; We don't have an implementation for slf4j
6798 ;; Error on the style of log
6799 "**/StdErrLogTest.java")
6801 (modify-phases %standard-phases
6802 (add-before 'configure 'chdir
6804 (chdir "jetty-util")
6806 (add-before 'build 'fix-test-sources
6808 ;; We need to fix issues caused by changes in newer versions of
6809 ;; jetty-test-helper
6810 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6811 (substitute* (string-append src "/AbstractFSResourceTest.java")
6812 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6813 (("testdir.getFile\\(\"foo\"\\)")
6814 "testdir.getPathFile(\"foo\").toFile()")
6815 (("testdir.getFile\\(name\\)")
6816 "testdir.getPathFile(name).toFile()")))
6819 (define-public java-eclipse-jetty-io
6821 (inherit java-eclipse-jetty-util)
6822 (name "java-eclipse-jetty-io")
6824 `(#:jar-name "eclipse-jetty-io.jar"
6825 #:source-dir "src/main/java"
6827 #:test-exclude (list "**/Abstract*.java"
6829 "**/EndPointTest.java")
6831 (modify-phases %standard-phases
6832 (add-before 'configure 'chdir
6837 `(("slf4j" ,java-slf4j-api)
6838 ("servlet" ,java-javaee-servletapi)
6839 ("util" ,java-eclipse-jetty-util)))
6840 (synopsis "Jetty :: IO Utility")
6841 (description "The Jetty Web Server provides an HTTP server and Servlet
6842 container capable of serving static and dynamic content either from a standalone
6843 or embedded instantiation. This package provides IO-related utility classes.")))
6845 (define-public java-eclipse-jetty-io-9.2
6847 (inherit java-eclipse-jetty-io)
6848 (version (package-version java-eclipse-jetty-util-9.2))
6849 (source (package-source java-eclipse-jetty-util-9.2))
6851 `(("util" ,java-eclipse-jetty-util-9.2)
6852 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6854 `(("mockito" ,java-mockito-1)
6855 ("cglib" ,java-cglib)
6856 ("objenesis" ,java-objenesis)
6858 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6860 (define-public java-eclipse-jetty-http
6862 (inherit java-eclipse-jetty-util)
6863 (name "java-eclipse-jetty-http")
6865 `(#:jar-name "eclipse-jetty-http.jar"
6866 #:source-dir "src/main/java"
6869 (modify-phases %standard-phases
6870 (add-before 'configure 'chdir
6872 (chdir "jetty-http")
6874 (add-before 'build 'copy-resources
6876 (mkdir-p "build/classes")
6877 (copy-recursively "src/main/resources/" "build/classes/")
6880 `(("slf4j" ,java-slf4j-api)
6881 ("servlet" ,java-javaee-servletapi)
6882 ("io" ,java-eclipse-jetty-io)
6883 ("util" ,java-eclipse-jetty-util)))
6884 (synopsis "Jetty :: Http Utility")
6885 (description "The Jetty Web Server provides an HTTP server and Servlet
6886 container capable of serving static and dynamic content either from a standalone
6887 or embedded instantiation. This package provides HTTP-related utility classes.")))
6889 (define-public java-eclipse-jetty-http-9.2
6891 (inherit java-eclipse-jetty-http)
6892 (version (package-version java-eclipse-jetty-util-9.2))
6893 (source (package-source java-eclipse-jetty-util-9.2))
6895 `(("util" ,java-eclipse-jetty-util-9.2)
6896 ("io" ,java-eclipse-jetty-io-9.2)
6897 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6899 (define-public java-eclipse-jetty-jmx
6901 (inherit java-eclipse-jetty-util)
6902 (name "java-eclipse-jetty-jmx")
6904 `(#:jar-name "eclipse-jetty-jmx.jar"
6905 #:source-dir "src/main/java"
6907 #:tests? #f; FIXME: requires com.openpojo.validation
6909 (modify-phases %standard-phases
6910 (add-before 'configure 'chdir
6915 `(("slf4j" ,java-slf4j-api)
6916 ("servlet" ,java-javaee-servletapi)
6917 ("util" ,java-eclipse-jetty-util)))
6918 (synopsis "Jetty :: JMX Management")
6919 (description "The Jetty Web Server provides an HTTP server and Servlet
6920 container capable of serving static and dynamic content either from a standalone
6921 or embedded instantiation. This package provides the JMX management.")))
6923 (define-public java-eclipse-jetty-jmx-9.2
6925 (inherit java-eclipse-jetty-jmx)
6926 (version (package-version java-eclipse-jetty-util-9.2))
6927 (source (package-source java-eclipse-jetty-util-9.2))
6929 `(("util" ,java-eclipse-jetty-util-9.2)
6930 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6932 (define java-eclipse-jetty-http-test-classes
6934 (inherit java-eclipse-jetty-util)
6935 (name "java-eclipse-jetty-http-test-classes")
6937 `(#:jar-name "eclipse-jetty-http.jar"
6938 #:source-dir "src/test"
6942 (modify-phases %standard-phases
6943 (add-before 'configure 'chdir
6945 (chdir "jetty-http")
6948 `(("slf4j" ,java-slf4j-api)
6949 ("java-javaee-servletapi" ,java-javaee-servletapi)
6950 ("http" ,java-eclipse-jetty-http)
6951 ("io" ,java-eclipse-jetty-io)
6952 ("util" ,java-eclipse-jetty-util)))))
6954 (define java-eclipse-jetty-http-test-classes-9.2
6956 (inherit java-eclipse-jetty-http-test-classes)
6957 (version (package-version java-eclipse-jetty-util-9.2))
6958 (source (package-source java-eclipse-jetty-util-9.2))
6960 `(("http" ,java-eclipse-jetty-http-9.2)
6961 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6963 (define-public java-eclipse-jetty-server
6965 (inherit java-eclipse-jetty-util)
6966 (name "java-eclipse-jetty-server")
6968 `(#:jar-name "eclipse-jetty-server.jar"
6969 #:source-dir "src/main/java"
6971 #:tests? #f; requires a mockito version we don't have
6973 (modify-phases %standard-phases
6974 (add-before 'configure 'chdir
6976 (chdir "jetty-server")
6978 (add-before 'build 'fix-source
6980 ;; Explicit casts to prevent build failures
6981 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6982 (("append\\(LazyList")
6983 "append((CharSequence)LazyList"))
6985 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6987 "Class<\\? extends EventListener> clazz = _classLoader==null"
6988 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6989 "_classLoader.loadClass\\(className\\);"))
6990 (string-append "Class<? extends EventListener> clazz = "
6991 "(Class<? extends EventListener>) "
6992 "(_classLoader==null?Loader.loadClass("
6993 "ContextHandler.class,className):"
6994 "_classLoader.loadClass(className));")))
6997 `(("slf4j" ,java-slf4j-api)
6998 ("servlet" ,java-javaee-servletapi)
6999 ("http" ,java-eclipse-jetty-http)
7000 ("io" ,java-eclipse-jetty-io)
7001 ("jmx" ,java-eclipse-jetty-jmx)
7002 ("util" ,java-eclipse-jetty-util)))
7004 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
7005 ,@(package-native-inputs java-eclipse-jetty-util)))
7006 (synopsis "Core jetty server artifact")
7007 (description "The Jetty Web Server provides an HTTP server and Servlet
7008 container capable of serving static and dynamic content either from a standalone
7009 or embedded instantiation. This package provides the core jetty server
7012 (define-public java-eclipse-jetty-server-9.2
7014 (inherit java-eclipse-jetty-server)
7015 (version (package-version java-eclipse-jetty-util-9.2))
7016 (source (package-source java-eclipse-jetty-util-9.2))
7018 `(("util" ,java-eclipse-jetty-util-9.2)
7019 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7020 ("io" ,java-eclipse-jetty-io-9.2)
7021 ("http" ,java-eclipse-jetty-http-9.2)
7022 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7024 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
7025 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7027 (define-public java-eclipse-jetty-security
7029 (inherit java-eclipse-jetty-util)
7030 (name "java-eclipse-jetty-security")
7032 `(#:jar-name "eclipse-jetty-security.jar"
7033 #:source-dir "src/main/java"
7035 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
7037 (modify-phases %standard-phases
7038 (add-before 'configure 'chdir
7040 (chdir "jetty-security")
7043 `(("slf4j" ,java-slf4j-api)
7044 ("servlet" ,java-javaee-servletapi)
7045 ("http" ,java-eclipse-jetty-http)
7046 ("server" ,java-eclipse-jetty-server)
7047 ("util" ,java-eclipse-jetty-util)))
7049 `(("io" ,java-eclipse-jetty-io)
7050 ,@(package-native-inputs java-eclipse-jetty-util)))
7051 (synopsis "Jetty security infrastructure")
7052 (description "The Jetty Web Server provides an HTTP server and Servlet
7053 container capable of serving static and dynamic content either from a standalone
7054 or embedded instantiation. This package provides the core jetty security
7057 (define-public java-eclipse-jetty-security-9.2
7059 (inherit java-eclipse-jetty-security)
7060 (version (package-version java-eclipse-jetty-util-9.2))
7061 (source (package-source java-eclipse-jetty-util-9.2))
7063 `(("util" ,java-eclipse-jetty-util-9.2)
7064 ("http" ,java-eclipse-jetty-http-9.2)
7065 ("server" ,java-eclipse-jetty-server-9.2)
7066 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7068 `(("io" ,java-eclipse-jetty-io-9.2)
7069 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7071 (define-public java-eclipse-jetty-servlet
7073 (inherit java-eclipse-jetty-util)
7074 (name "java-eclipse-jetty-servlet")
7076 `(#:jar-name "eclipse-jetty-servlet.jar"
7077 #:source-dir "src/main/java"
7080 (modify-phases %standard-phases
7081 (add-before 'configure 'chdir
7083 (chdir "jetty-servlet")
7086 `(("slf4j" ,java-slf4j-api)
7087 ("java-javaee-servletapi" ,java-javaee-servletapi)
7088 ("http" ,java-eclipse-jetty-http)
7089 ("http-test" ,java-eclipse-jetty-http-test-classes)
7090 ("io" ,java-eclipse-jetty-io)
7091 ("jmx" ,java-eclipse-jetty-jmx)
7092 ("security" ,java-eclipse-jetty-security)
7093 ("server" ,java-eclipse-jetty-server)
7094 ("util" ,java-eclipse-jetty-util)))
7095 (synopsis "Jetty Servlet Container")
7096 (description "The Jetty Web Server provides an HTTP server and Servlet
7097 container capable of serving static and dynamic content either from a standalone
7098 or embedded instantiation. This package provides the core jetty servlet
7101 (define-public java-eclipse-jetty-servlet-9.2
7103 (inherit java-eclipse-jetty-servlet)
7104 (version (package-version java-eclipse-jetty-util-9.2))
7105 (source (package-source java-eclipse-jetty-util-9.2))
7107 `(#:jar-name "eclipse-jetty-servlet.jar"
7108 #:source-dir "src/main/java"
7110 #:tests? #f; doesn't work
7112 (modify-phases %standard-phases
7113 (add-before 'configure 'chdir
7115 (chdir "jetty-servlet")
7118 `(("util" ,java-eclipse-jetty-util-9.2)
7119 ("jmx" ,java-eclipse-jetty-jmx-9.2)
7120 ("io" ,java-eclipse-jetty-io-9.2)
7121 ("http" ,java-eclipse-jetty-http-9.2)
7122 ("security" ,java-eclipse-jetty-security-9.2)
7123 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
7124 ("server" ,java-eclipse-jetty-server-9.2)
7125 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
7127 (define-public java-eclipse-jetty-xml
7129 (inherit java-eclipse-jetty-util)
7130 (name "java-eclipse-jetty-xml")
7132 `(#:jar-name "eclipse-jetty-xml.jar"
7133 #:source-dir "src/main/java"
7135 #:tests? #f; most tests require network
7137 (modify-phases %standard-phases
7138 (add-before 'configure 'chdir
7143 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
7145 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7146 ,@(package-native-inputs java-eclipse-jetty-util)))))
7148 (define-public java-eclipse-jetty-xml-9.2
7150 (inherit java-eclipse-jetty-xml)
7151 (version (package-version java-eclipse-jetty-util-9.2))
7152 (source (package-source java-eclipse-jetty-util-9.2))
7154 `(#:jar-name "eclipse-jetty-xml.jar"
7155 #:source-dir "src/main/java"
7157 #:tests? #f; most tests require network
7159 (modify-phases %standard-phases
7160 (add-before 'configure 'chdir
7165 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7166 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7168 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7169 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7171 (define-public java-eclipse-jetty-webapp
7173 (inherit java-eclipse-jetty-util)
7174 (name "java-eclipse-jetty-webapp")
7176 `(#:jar-name "eclipse-jetty-webapp.jar"
7177 #:source-dir "src/main/java"
7180 #:test-exclude (list "**/WebAppContextTest.java")
7182 (modify-phases %standard-phases
7183 (add-before 'configure 'chdir
7185 (chdir "jetty-webapp")
7188 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
7189 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
7190 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
7191 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
7192 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
7193 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
7194 ("java-javaee-servletapi" ,java-javaee-servletapi)))
7196 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
7197 ,@(package-native-inputs java-eclipse-jetty-util)))))
7199 (define-public java-eclipse-jetty-webapp-9.2
7201 (inherit java-eclipse-jetty-webapp)
7202 (version (package-version java-eclipse-jetty-util-9.2))
7203 (source (package-source java-eclipse-jetty-util-9.2))
7205 `(#:jar-name "eclipse-jetty-webapp.jar"
7206 #:source-dir "src/main/java"
7208 #:test-exclude (list "**/WebAppContextTest.java")
7210 (modify-phases %standard-phases
7211 (add-before 'configure 'chdir
7213 (chdir "jetty-webapp")
7216 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
7217 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
7218 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
7219 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
7220 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
7221 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
7222 ("java-javaee-servletapi" ,java-javaee-servletapi)
7223 ,@(package-inputs java-eclipse-jetty-util-9.2)))
7225 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
7226 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7228 (define-public java-jsoup
7235 (url "https://github.com/jhy/jsoup")
7236 (commit (string-append "jsoup-" version))))
7237 (file-name (git-file-name name version))
7240 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
7241 (build-system ant-build-system)
7243 `(#:jar-name "jsoup.jar"
7244 #:source-dir "src/main/java"
7246 (modify-phases %standard-phases
7247 (add-before 'build 'copy-resources
7249 (let ((classes-dir (string-append (getcwd) "/build/classes")))
7250 (with-directory-excursion "src/main/java"
7251 (for-each (lambda (file)
7252 (let ((dist (string-append classes-dir "/" file)))
7253 (mkdir-p (dirname dist))
7254 (copy-file file dist)))
7255 (find-files "." ".*.properties"))))
7258 `(("java-junit" ,java-junit)
7259 ("java-hamcrest-core" ,java-hamcrest-core)
7260 ("java-gson" ,java-gson)))
7261 (home-page "https://jsoup.org")
7262 (synopsis "HTML parser")
7263 (description "Jsoup is a Java library for working with real-world HTML. It
7264 provides a very convenient API for extracting and manipulating data, using the
7265 best of DOM, CSS, and jQuery-like methods.")
7266 (license license:expat)))
7268 (define-public java-signpost-core
7270 (name "java-signpost-core")
7275 (url "https://github.com/mttkay/signpost")
7277 (file-name (git-file-name name version))
7280 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
7281 (build-system ant-build-system)
7283 `(#:jar-name "signpost-core.jar"
7284 #:source-dir "signpost-core/src/main/java"
7285 #:test-dir "signpost-core/src/test"
7286 ;; Tests all fail with InstantiationException from mockito
7289 `(("java-commons-codec" ,java-commons-codec)))
7290 (home-page "https://github.com/mttkay/signpost")
7291 (synopsis "Lightweight client-side OAuth library for Java")
7292 (description "Signpost is the easy and intuitive solution for signing
7293 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
7294 standard. Signpost follows a modular and flexible design, allowing you to
7295 combine it with different HTTP messaging layers.")
7296 (license license:asl2.0)))
7298 (define-public tidyp
7305 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
7309 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
7310 (build-system gnu-build-system)
7311 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
7312 (arguments `(#:tests? #f))
7313 (home-page "http://www.tidyp.com/")
7314 (synopsis "Validate HTML")
7315 (description "Tidyp is a program that can validate your HTML, as well as
7316 modify it to be more clean and standard. tidyp does not validate HTML 5.
7318 libtidyp is the library on which the program is based. It can be used by any
7319 other program that can interface to it. The Perl module @code{HTML::Tidy} is
7320 based on this library, allowing Perl programmers to easily validate HTML.")
7321 ;; See htmldoc/license.html
7322 (license license:bsd-3)))
7324 (define-public perl-html-tidy
7326 (name "perl-html-tidy")
7331 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
7335 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
7336 (build-system perl-build-system)
7339 (modify-phases %standard-phases
7340 (add-after 'unpack 'fix-tidyp-paths
7341 (lambda* (#:key inputs #:allow-other-keys)
7342 (substitute* "Makefile.PL"
7343 (("^my \\$inc = \"" line)
7345 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
7348 "-L" (assoc-ref inputs "tidyp") "/lib")))
7351 `(("perl-libwww" ,perl-libwww)
7354 `(("perl-test-exception" ,perl-test-exception)))
7355 (home-page "https://metacpan.org/release/HTML-Tidy")
7356 (synopsis "(X)HTML validation in a Perl object")
7357 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
7358 object. It's meant as a replacement for @code{HTML::Lint}, which is written
7359 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
7360 (license license:artistic2.0)))
7362 (define-public geomyidae
7370 (url "git://r-36.net/geomyidae")
7371 (commit (string-append "v" version))))
7372 (file-name (git-file-name name version))
7374 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
7375 (build-system gnu-build-system)
7377 `(#:make-flags (list "CC=gcc"
7378 (string-append "PREFIX="
7379 (assoc-ref %outputs "out")))
7380 #:tests? #f ; no tests
7381 #:phases (modify-phases %standard-phases
7382 (delete 'configure))))
7383 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
7384 (synopsis "Small Gopher server")
7386 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
7390 @item Gopher menus (see @file{index.gph} for an example);
7391 @item directory listings (if no @file{index.gph} was found);
7392 @item CGI support (@file{.cgi} files are executed);
7393 @item search support in CGI files;
7394 @item logging with multiple log levels.
7396 (license license:expat)))
7398 (define-public cat-avatar-generator
7400 (name "cat-avatar-generator")
7405 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
7406 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
7407 (file-name (string-append name "-" version))
7410 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
7411 (build-system trivial-build-system)
7413 `(#:modules ((guix build utils))
7416 (use-modules (guix build utils)
7420 (let ((source (assoc-ref %build-inputs "source"))
7421 (php-dir (string-append %output "/share/web/" ,name "/")))
7422 ;; The cache directory must not be in the store, but in a writable
7423 ;; location. The webserver will give us this location.
7424 (copy-recursively source php-dir)
7425 (substitute* (string-append php-dir "/cat-avatar-generator.php")
7426 (("\\$cachepath = .*")
7427 "if(isset($_SERVER['CACHE_DIR']))
7428 $cachepath = $_SERVER['CACHE_DIR'];
7430 die('You need to set the CACHE_DIR variable first.');"))
7432 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
7433 (synopsis "Random avatar generator")
7434 (description "Cat avatar generator is a generator of cat pictures optimised
7435 to generate random avatars, or defined avatar from a \"seed\". This is a
7436 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
7437 ;; expat for the code, CC-BY 4.0 for the artwork
7438 (license (list license:expat
7439 license:cc-by4.0))))
7441 (define-public nghttp2
7448 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7449 "releases/download/v" version "/"
7450 "nghttp2-" version ".tar.xz"))
7453 "1hk77vngjmvvzb5y1gi1aqwf6qywrc7yak08zvzb7x81qs6mphmb"))))
7454 (build-system gnu-build-system)
7455 (outputs (list "out"
7456 "lib")) ; only libnghttp2
7458 `(("pkg-config" ,pkg-config)
7460 ;; Required by tests.
7462 ("tzdata" ,tzdata-for-tests)))
7464 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
7465 `(("c-ares" ,c-ares)
7466 ("jansson" ,jansson) ; for HPACK tools
7467 ,@(if (hurd-target?) '()
7468 `(("jemalloc" ,jemalloc))) ; fight nghttpd{,x} heap fragmentation
7470 ("libxml2" ,libxml2) ; for ‘nghttp -a’
7471 ("openssl" ,openssl)
7472 ,@(if (hurd-target?)
7473 `(("openssl-static" ,openssl "static"))
7477 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
7478 "--enable-app" ; build all the tools
7479 "--enable-hpack-tools" ; ...all the tools
7480 "--disable-examples"
7481 "--disable-static") ; don't bother building .a files
7483 (modify-phases %standard-phases
7484 (add-after 'unpack 'break-circular-reference
7485 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
7486 ;; which is not allowed. Break this cycle. While we could install
7487 ;; only the library to ‘out’ and move everything else to a separate
7488 ;; output, this would inconvenience the majority of (human) users.
7489 (lambda* (#:key outputs #:allow-other-keys)
7490 (substitute* "lib/libnghttp2.pc.in"
7492 (assoc-ref outputs "lib")))
7494 (add-before 'check 'set-timezone-directory
7495 (lambda* (#:key inputs native-inputs #:allow-other-keys)
7496 (setenv "TZDIR" (string-append
7497 (assoc-ref (or native-inputs inputs) "tzdata")
7500 (home-page "https://nghttp2.org/")
7501 (synopsis "HTTP/2 protocol client, proxy, server, and library")
7503 "nghttp2 implements the Hypertext Transfer Protocol, version
7506 A reusable C library provides the HTTP/2 framing layer, with several tools built
7510 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
7511 and low-level aspects of the protocol and is useful for debugging.
7512 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
7513 serves files from a local directory.
7514 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
7515 deployed in front of existing web servers that don't support HTTP/2.
7516 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
7517 backwards compatibility with clients that don't speak HTTP/2.
7518 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
7519 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
7520 nghttp2 provides a HPACK encoder and decoder as part of its public API.
7521 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
7522 compressed JSON header blocks.
7523 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
7525 (license license:expat)))
7527 (define-public hpcguix-web
7528 (let ((commit "9de63562b06b4aef3a3afe5ecb18d3c91e57ee74")
7531 (name "hpcguix-web")
7532 (version (git-version "0.0.1" revision commit))
7536 (url "https://github.com/UMCUGenetics/hpcguix-web")
7538 (file-name (git-file-name name version))
7541 "0wjgj2s7v2cyz6dx24c111rxs99i84sfvxl4ch8brnh02j2606jz"))))
7542 (build-system gnu-build-system)
7544 `(#:modules ((guix build gnu-build-system)
7550 (modify-phases %standard-phases
7551 (add-before 'configure 'set-variables
7553 ;; This prevents a few warnings
7554 (setenv "GUILE_AUTO_COMPILE" "0")
7555 (setenv "XDG_CACHE_HOME" (getcwd))
7557 (add-after 'install 'wrap-program
7558 (lambda* (#:key inputs outputs #:allow-other-keys)
7559 (let* ((out (assoc-ref outputs "out"))
7560 (guix (assoc-ref inputs "guix"))
7561 (guile (assoc-ref inputs "guile"))
7562 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7563 (git (assoc-ref inputs "guile-git"))
7564 (bs (assoc-ref inputs "guile-bytestructures"))
7565 (json (assoc-ref inputs "guile-json"))
7566 (guile-cm (assoc-ref inputs
7567 "guile-commonmark"))
7568 (deps (list guile gcrypt git bs guile-cm guix json))
7571 (open-pipe* OPEN_READ
7572 (string-append guile "/bin/guile")
7573 "-c" "(display (effective-version))")))
7575 (map (cut string-append <>
7576 "/share/guile/site/"
7580 (gopath (string-join
7581 (map (cut string-append <>
7582 "/lib/guile/" effective
7586 (wrap-program (string-append out "/bin/run")
7587 `("GUILE_LOAD_PATH" ":" prefix (,path))
7588 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7592 `(("autoconf" ,autoconf)
7593 ("automake" ,automake)
7594 ("uglify-js" ,uglify-js)
7595 ("pkg-config" ,pkg-config)))
7597 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7600 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7601 ("guile-commonmark" ,guile-commonmark)
7602 ("guile-json" ,guile-json-4)))
7603 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7604 (synopsis "Web interface for cluster deployments of Guix")
7605 (description "Hpcguix-web provides a web interface to the list of packages
7606 provided by Guix. The list of packages is searchable and provides
7607 instructions on how to use Guix in a shared HPC environment.")
7608 (license license:agpl3+))))
7610 (define-public httrack
7616 (uri (string-append "https://mirror.httrack.com/historical/"
7617 "httrack-" version ".tar.gz"))
7620 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7621 (build-system gnu-build-system)
7623 `(("libressl" ,libressl)
7625 (home-page "https://www.httrack.com/")
7626 (synopsis "Easy-to-use offline browser utility")
7627 (description "HTTrack allows you to download a World Wide Web site from
7628 the Internet to a local directory, building recursively all directories,
7629 getting HTML, images, and other files from the server to your computer.
7631 HTTrack arranges the original site's relative link-structure. Simply open
7632 a page of the @emph{mirrored} website in your browser, and you can browse the
7633 site from link to link, as if you were viewing it online. HTTrack can also
7634 update an existing mirrored site, and resume interrupted downloads.
7636 HTTrack is fully configurable, and has an integrated help system.")
7637 (license license:gpl3+)))
7646 (uri (pypi-uri "buku" version))
7647 (file-name (git-file-name name version))
7650 "1g1xhdskfn72xaraqzz2v8dl2iza7bzfpn17z2wdrzkq3ih7yvgg"))))
7651 (build-system python-build-system)
7653 `(#:tests? #f)) ;FIXME: many tests need network access
7655 `(("python-beautifulsoup4" ,python-beautifulsoup4)
7656 ("python-certifi" ,python-certifi)
7657 ("python-cryptography" ,python-cryptography)
7658 ("python-html5lib" ,python-html5lib)
7659 ("python-urllib3" ,python-urllib3)))
7660 (home-page "https://github.com/jarun/buku")
7661 (synopsis "Bookmark manager")
7663 "buku is a powerful bookmark manager written in Python3 and SQLite3.
7664 @command{buku} can auto-import bookmarks from your browser and present them
7665 in an interactive command-line interface that lets you compose and update
7666 bookmarks directly. It can also present them in a web interface with
7667 @command{bukuserver}.")
7668 (license license:gpl3+)))
7670 (define-public anonip
7676 (uri (pypi-uri "anonip" version))
7679 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7680 (build-system python-build-system)
7681 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7682 (synopsis "Anonymize IP addresses in log files")
7684 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7685 That way most of the relevant information is preserved, while the IP address
7686 does not match a particular individuum anymore.
7688 Depending on your Web server, the log entries may be piped to Anonip directly
7689 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7690 written to any file.
7692 It's also possible to rewrite existing log files.
7694 Anonip can also be uses as a Python module in your own Python application.")
7695 (license license:bsd-3)))
7697 (define-public poussetaches
7699 (name "poussetaches")
7705 (url "https://github.com/tsileo/poussetaches")
7707 (file-name (git-file-name name version))
7710 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7711 (build-system go-build-system)
7713 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7714 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7716 `(#:import-path "github.com/tsileo/poussetaches"))
7717 (home-page "https://github.com/tsileo/poussetaches")
7718 (synopsis "Lightweight asynchronous task execution service")
7719 (description "Poussetaches (which literally means \"push tasks\" in
7720 French) is a lightweight asynchronous task execution service that aims to
7721 replace Celery and RabbitMQ for small Python applications.
7723 The app posts base64-encoded payload to poussetaches and specifies the
7724 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7725 requests with the registered payload until the right status code is
7727 (license license:isc)))
7729 (define-public htmlcxx
7737 (string-append "mirror://sourceforge/htmlcxx/v"
7738 version "/htmlcxx-" version ".tar.gz"))
7740 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7741 (build-system gnu-build-system)
7742 (home-page "http://htmlcxx.sourceforge.net/")
7743 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7744 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7745 C++. Although there are several other HTML parsers available, htmlcxx has some
7746 characteristics that make it unique:
7748 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7750 @item It is possible to reproduce exactly, character by character, the original
7751 document from the parse tree
7752 @item Bundled CSS parser
7753 @item Optional parsing of attributes
7754 @item C++ code that looks like C++ (not so true anymore)
7755 @item Offsets of tags/elements in the original document are stored in the nodes
7758 (license (list license:lgpl2.0
7762 (define-public librocket
7771 (url "https://github.com/libRocket/libRocket")
7772 (commit (string-append "release-" version))))
7773 (file-name (git-file-name name version))
7775 (base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
7776 (build-system cmake-build-system)
7778 `(#:tests? #f ; No tests.
7780 (modify-phases %standard-phases
7781 (add-after 'unpack 'chdir
7783 (chdir "Build"))))))
7785 `(("freetype" ,freetype)))
7786 (home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
7787 (synopsis "HTML/CSS user interface library")
7788 (description "libRocket is a C++ user interface package based on the HTML
7789 and CSS standards. libRocket uses the open standards XHTML1.0 and
7790 CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
7791 features suited towards real-time applications. It is designed as a complete
7792 solution for any project's interface needs:
7795 @item Dynamic layout system.
7796 @item Efficient application-wide styling, with a custom-built templating engine.
7797 @item Fully featured control set: buttons, sliders, drop-downs, etc.
7798 @item Runtime visual debugging suite.
7799 @item Easily integrated and extensible with Python or Lua scripting.
7801 (license license:expat)))
7803 (define-public gmnisrv
7804 (let ((commit "d484ba0ab0020866535a44be5948c9482b8f2b8d")
7808 (version (git-version "0" revision commit))
7809 (home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
7817 "11phipixsxx1jgm42agp76p5s68l0zj65kgb41vzaymgwcq79ivn"))
7818 (file-name (git-file-name name version))))
7819 (build-system gnu-build-system)
7822 (modify-phases %standard-phases
7823 (add-before 'configure 'set-variables
7829 `(("openssl" ,openssl)))
7831 `(("pkg-config" ,pkg-config)
7834 `(("mailcap" ,mailcap)))
7835 (synopsis "Simple Gemini protocol server")
7836 (description "gmnisrv is a simple Gemini protocol server written in C.")
7837 (license (list license:gpl3+
7838 license:bsd-3))))) ;; for ini.c and ini.h
7840 (define-public libzim
7847 (url "https://github.com/openzim/libzim")
7851 "0p2317cp19lx0hw9n4fsb3nw2vc4hc1yyi98k3yrs41pkr840kwa"))
7852 (file-name (git-file-name name version))))
7853 (build-system meson-build-system)
7855 ;; TODO: Find out why tests fail.
7860 ("libuuid" ,util-linux "lib")
7863 ("zstd" ,zstd "lib")))
7865 `(("pkg-config" ,pkg-config)
7866 ("googletest" ,googletest)))
7867 (home-page "https://wiki.openzim.org/wiki/Main_Page")
7868 (synopsis "Reference implementation of the ZIM specification")
7869 (description "The openZIM project proposes offline storage solutions for
7870 content coming from the Web. The zimlib is the standard implementation of the
7871 ZIM specification. It is a library which implements the read and write method
7873 (license license:gpl2)))
7875 (define-public kiwix-lib
7879 (home-page "https://github.com/kiwix/kiwix-lib/")
7887 "0nsm4qgl0cb6wv983n0px1kf217k4kykb8q56b8j6ikp061lzamm"))
7888 (file-name (git-file-name name version))))
7889 (build-system meson-build-system)
7892 (modify-phases %standard-phases
7893 (add-before 'configure 'fix-paths-and-includes
7894 (lambda* (#:key inputs #:allow-other-keys)
7895 (setenv "CPPFLAGS" (string-append "-I" (assoc-ref inputs "mustache")))
7896 (substitute* "src/aria2.cpp"
7897 (("ARIA2_CMD \"aria2c\"")
7898 (string-append "ARIA2_CMD \""
7899 (assoc-ref inputs "aria2")
7906 ("libmicrohttpd" ,libmicrohttpd)
7908 ("pugixml" ,pugixml)
7911 ("zstd" ,zstd "lib")))
7913 `(("mustache" ,(origin
7916 (url "https://github.com/kainjow/Mustache")
7917 ;; XXX: Readme says to use version 3. Can we use 3.2.1?
7919 (file-name (git-file-name "mustache" "4.1"))
7922 "0r9rbk6v1wpld2ismfsk2lkhbyv3dkf0p03hkjivbj05qkfhvlbb"))))
7923 ("pkg-config" ,pkg-config)))
7924 (synopsis "Common code base for all Kiwix ports")
7925 (description "The Kiwix library provides the Kiwix software suite core.
7926 It contains the code shared by all Kiwix ports.")
7927 (license license:gpl3)))
7929 (define-public kiwix-desktop
7931 (name "kiwix-desktop")
7936 "https://download.kiwix.org/release/kiwix-desktop/kiwix-desktop-"
7941 "1a9h4qmh6fkfscyp6lax0ri07dvvzw2wp4kr1sm86n0bdk3cwwha"))))
7942 (build-system gnu-build-system)
7945 (modify-phases %standard-phases
7947 (lambda* (#:key outputs #:allow-other-keys)
7949 (string-append "PREFIX="
7950 (assoc-ref outputs "out")))))
7951 (add-before 'configrue 'enable-print-support
7953 (substitute* "kiwix-desktop.pro"
7954 (("webenginewidgets") "webenginewidgets printsupport"))
7956 (add-before 'configure 'substitute-source
7957 ;; Looks like .pro file is missing a feature.
7958 ;; See https://github.com/kiwix/kiwix-desktop/issues/556.
7959 (lambda* (#:key inputs #:allow-other-keys)
7960 (substitute* "kiwix-desktop.pro"
7961 (("webenginewidgets" all) (string-append all " printsupport")))
7966 ("kiwix-lib" ,kiwix-lib)
7968 ("pugixml" ,pugixml)
7970 ("qtdeclarative" ,qtdeclarative)
7971 ("qtwebchannel" ,qtwebchannel)
7972 ("qtwebengine" ,qtwebengine)
7975 ("zstd" ,zstd "lib")))
7977 `(("pkg-config" ,pkg-config)
7979 (home-page "https://wiki.kiwix.org/wiki/Software")
7980 (synopsis "Viewer and manager of ZIM files")
7981 (description "Kiwix Desktop allows you to enjoy a lot of different content
7982 offline (such as Wikipedia), without any access to Internet.")
7983 (license license:gpl3)))