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 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>
48 ;;; This file is part of GNU Guix.
50 ;;; GNU Guix is free software; you can redistribute it and/or modify it
51 ;;; under the terms of the GNU General Public License as published by
52 ;;; the Free Software Foundation; either version 3 of the License, or (at
53 ;;; your option) any later version.
55 ;;; GNU Guix is distributed in the hope that it will be useful, but
56 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
57 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
58 ;;; GNU General Public License for more details.
60 ;;; You should have received a copy of the GNU General Public License
61 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
63 (define-module (gnu packages web)
64 #:use-module (ice-9 match)
65 #:use-module ((guix licenses) #:prefix license:)
66 #:use-module (guix packages)
67 #:use-module (guix download)
68 #:use-module (guix gexp)
69 #:use-module (guix git-download)
70 #:use-module (guix cvs-download)
71 #:use-module (guix hg-download)
72 #:use-module (guix utils)
73 #:use-module (guix build-system gnu)
74 #:use-module (guix build-system glib-or-gtk)
75 #:use-module (guix build-system perl)
76 #:use-module (guix build-system cmake)
77 #:use-module (guix build-system trivial)
78 #:use-module (guix build-system python)
79 #:use-module (guix build-system ant)
80 #:use-module (guix build-system scons)
81 #:use-module (guix build-system go)
82 #:use-module (gnu packages)
83 #:use-module (gnu packages admin)
84 #:use-module (gnu packages adns)
85 #:use-module (gnu packages apr)
86 #:use-module (gnu packages boost)
87 #:use-module (gnu packages check)
88 #:use-module (gnu packages documentation)
89 #:use-module (gnu packages docbook)
90 #:use-module (gnu packages emacs)
91 #:use-module (gnu packages emacs-xyz)
92 #:use-module (gnu packages autotools)
93 #:use-module (gnu packages compression)
94 #:use-module (gnu packages curl)
95 #:use-module (gnu packages cyrus-sasl)
96 #:use-module (gnu packages databases)
97 #:use-module (gnu packages bison)
98 #:use-module (gnu packages flex)
99 #:use-module (gnu packages fontutils)
100 #:use-module (gnu packages freedesktop)
101 #:use-module (gnu packages kerberos)
102 #:use-module (gnu packages gcc)
103 #:use-module (gnu packages gd)
104 #:use-module (gnu packages gettext)
105 #:use-module (gnu packages glib)
106 #:use-module (gnu packages gnome)
107 #:use-module (gnu packages gnu-doc)
108 #:use-module (gnu packages gnupg)
109 #:use-module (gnu packages golang)
110 #:use-module (gnu packages gperf)
111 #:use-module (gnu packages gtk)
112 #:use-module (gnu packages guile)
113 #:use-module (gnu packages guile-xyz)
114 #:use-module (gnu packages hurd)
115 #:use-module (gnu packages java)
116 #:use-module (gnu packages jemalloc)
117 #:use-module (gnu packages image)
118 #:use-module (gnu packages imagemagick)
119 #:use-module (gnu packages kde)
120 #:use-module (gnu packages libevent)
121 #:use-module (gnu packages libidn)
122 #:use-module (gnu packages libunistring)
123 #:use-module (gnu packages libunwind)
124 #:use-module (gnu packages linux)
125 #:use-module (gnu packages lisp-xyz)
126 #:use-module (gnu packages lsof)
127 #:use-module (gnu packages lua)
128 #:use-module (gnu packages markup)
129 #:use-module (gnu packages ncurses)
130 #:use-module (gnu packages networking)
131 #:use-module (gnu packages nss)
132 #:use-module (gnu packages openldap)
133 #:use-module (gnu packages openstack)
134 #:use-module (gnu packages base)
135 #:use-module (gnu packages package-management)
136 #:use-module (gnu packages perl)
137 #:use-module (gnu packages perl-check)
138 #:use-module (gnu packages python)
139 #:use-module (gnu packages python-web)
140 #:use-module (gnu packages python-xyz)
141 #:use-module (gnu packages pcre)
142 #:use-module (gnu packages pkg-config)
143 #:use-module (gnu packages qt)
144 #:use-module (gnu packages readline)
145 #:use-module (gnu packages re2c)
146 #:use-module (gnu packages sphinx)
147 #:use-module (gnu packages texinfo)
148 #:use-module (gnu packages textutils)
149 #:use-module (gnu packages tls)
150 #:use-module (gnu packages valgrind)
151 #:use-module (gnu packages version-control)
152 #:use-module (gnu packages vim)
153 #:use-module (gnu packages xml)
154 #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
162 (uri (string-append "mirror://apache/httpd/httpd-"
166 "0hqgw47r3p3521ygkkqs8s30s5crm683081avj6330gwncm6b5x4"))))
167 (build-system gnu-build-system)
168 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
169 (inputs `(("apr" ,apr)
170 ("apr-util" ,apr-util)
172 ("perl" ,perl))) ; needed to run bin/apxs
174 `(#:test-target "test"
175 #:configure-flags (list "--enable-rewrite"
177 "--enable-vhost-alias"
179 "--enable-mime-magic"
180 (string-append "--sysconfdir="
181 (assoc-ref %outputs "out")
183 (synopsis "Featureful HTTP server")
185 "The Apache HTTP Server Project is a collaborative software development
186 effort aimed at creating a robust, commercial-grade, featureful, and
187 freely-available source code implementation of an HTTP (Web) server. The
188 project is jointly managed by a group of volunteers located around the world,
189 using the Internet and the Web to communicate, plan, and develop the server
190 and its related documentation.")
191 (license license:asl2.0)
192 (home-page "https://httpd.apache.org/")))
194 (define-public mod-wsgi
201 (url "https://github.com/GrahamDumpleton/mod_wsgi")
203 (file-name (git-file-name name version))
206 "1q90xw2cbhka5gcd6yc69iir73x4gm7fm75qpkins2ryfl6w1q3f"))))
207 (build-system gnu-build-system)
209 '(#:tests? #f ; TODO: can't figure out if there are tests
211 (string-append "DESTDIR="
212 (assoc-ref %outputs "out"))
213 "LIBEXECDIR=/modules")))
216 ("python" ,python-wrapper)))
217 (synopsis "Apache HTTPD module for Python WSGI applications")
219 "The mod_wsgi module for the Apache HTTPD Server adds support for running
220 applications that support the Python @acronym{WSGI, Web Server Gateway
221 Interface} specification.")
222 (license license:asl2.0)
223 (home-page "https://modwsgi.readthedocs.io/")))
228 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
229 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
230 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
231 ;; Consider updating the nginx-documentation package together with this one.
235 (uri (string-append "https://nginx.org/download/nginx-"
239 "1j1n3rlvan6l9j3vw8axbbdm96w7s0x6ygmgqvbplzfd3wbid9j4"))))
240 (build-system gnu-build-system)
241 (inputs `(("openssl" ,openssl)
245 `(#:tests? #f ; no test target
247 (modify-phases %standard-phases
248 (add-before 'configure 'patch-/bin/sh
250 (substitute* "auto/feature"
251 (("/bin/sh") (which "sh")))
254 ;; The configure script is hand-written, not from GNU autotools.
255 (lambda* (#:key outputs #:allow-other-keys)
257 (list (string-append "--prefix=" (assoc-ref outputs "out"))
258 "--with-http_ssl_module"
259 "--with-http_v2_module"
262 ;; Even when not cross-building, we pass the
263 ;; --crossbuild option to avoid customizing for the
264 ;; kernel version on the build machine.
265 ,(let ((system "Linux") ; uname -s
266 (release "3.2.0") ; uname -r
268 (machine (match (or (%current-target-system)
270 ("x86_64-linux" "x86_64")
271 ("i686-linux" "i686")
272 ("mips64el-linux" "mips64")
273 ;; Prevent errors when querying
274 ;; this package on unsupported
275 ;; platforms, e.g. when running
276 ;; "guix package --search="
278 (string-append "--crossbuild="
279 system ":" release ":" machine)))))
281 (format #t "configure flags: ~s~%" flags)
282 (apply invoke "./configure" flags)
284 (add-after 'install 'install-man-page
285 (lambda* (#:key outputs #:allow-other-keys)
286 (let* ((out (assoc-ref outputs "out"))
287 (man (string-append out "/share/man")))
288 (install-file "objs/nginx.8" (string-append man "/man8"))
290 (add-after 'install 'fix-root-dirs
291 (lambda* (#:key outputs #:allow-other-keys)
292 ;; 'make install' puts things in strange places, so we need to
293 ;; clean it up ourselves.
294 (let* ((out (assoc-ref outputs "out"))
295 (share (string-append out "/share/nginx")))
296 ;; This directory is empty, so get rid of it.
297 (rmdir (string-append out "/logs"))
298 ;; Example configuration and HTML files belong in
301 (rename-file (string-append out "/conf")
302 (string-append share "/conf"))
303 (rename-file (string-append out "/html")
304 (string-append share "/html"))
306 (home-page "https://nginx.org")
307 (synopsis "HTTP and reverse proxy server")
309 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
310 created by Igor Sysoev. It can be used both as a stand-alone web server
311 and as a proxy to reduce the load on back-end HTTP or mail servers.")
312 ;; Almost all of nginx is distributed under the bsd-2 license.
313 ;; The exceptions are:
314 ;; * The 'nginx-http-push' module is covered by the expat license.
315 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
316 ;; except for two source files which are bsd-4 licensed.
317 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
319 (define nginx-xslscript
321 (changeset "01dc9ba12e1b"))
323 (name "nginx-xslscript")
325 (simple-format #f "2014-03-31-~A-~A" revision changeset))
329 (url "http://hg.nginx.org/xslscript")
330 (changeset changeset)))
331 (file-name (string-append name "-" version))
334 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
335 (build-system gnu-build-system)
337 '(#:tests? #f ; No test suite
339 (modify-phases %standard-phases
343 (lambda* (#:key outputs #:allow-other-keys)
344 (let ((out-bin (string-append
345 (assoc-ref outputs "out")
348 (copy-file "xslscript.pl"
353 (home-page "http://hg.nginx.org/xslscript")
354 (synopsis "XSLScript with NGinx specific modifications")
356 "XSLScript is a terse notation for writing complex XSLT stylesheets.
357 This is modified version, specifically intended for use with the NGinx
359 (license license:bsd-2))))
361 (define-public nginx-documentation
362 ;; This documentation should be relevant for the current nginx package.
363 (let ((version "1.19.0")
365 (changeset "c13a55aae487"))
367 (name "nginx-documentation")
368 (version (simple-format #f "~A-~A-~A" version revision changeset))
370 (origin (method hg-fetch)
372 (url "http://hg.nginx.org/nginx.org")
373 (changeset changeset)))
374 (file-name (string-append name "-" version))
377 "0vwwvk6wf8f6c6n6yffmya9a287s6dbx1p739hdl3hwxfyh2ygc5"))))
378 (build-system gnu-build-system)
380 '(#:tests? #f ; no test suite
382 (modify-phases %standard-phases
383 (delete 'configure) ; no configure script
385 (lambda* (#:key outputs #:allow-other-keys)
386 (let ((output (assoc-ref outputs "out")))
387 (substitute* "umasked.sh"
388 ((" /bin/sh") (string-append " " (which "sh"))))
389 ;; The documentation includes a banner, which makes sense on
390 ;; the NGinx website, but doesn't make much sense when
391 ;; viewing locally. Therefore, modify the CSS to remove the
393 (substitute* "xslt/style.xslt"
394 (("#banner \\{ background: black;")
395 "#banner { display: none;"))
399 (lambda* (#:key outputs #:allow-other-keys)
400 (let ((output (assoc-ref outputs "out")))
402 (copy-recursively "libxslt" output)
405 `(("libxml2" ,libxml2)
407 ("nginx-xslscript" ,nginx-xslscript)))
408 (home-page "https://nginx.org")
409 (synopsis "Documentation for the nginx web server")
411 "This package provides HTML documentation for the nginx web server.")
412 (license license:bsd-2))))
414 (define-public nginx-accept-language-module
415 ;; Upstream has never made a release; use current commit instead.
416 (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
419 (name "nginx-accept-language-module")
420 (version (git-version "0.0.0" ;upstream has no version number
426 (url "https://github.com/giom/nginx_accept_language_module")
428 (file-name (git-file-name name version))
430 (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
431 (build-system gnu-build-system)
432 (inputs `(("openssl" ,openssl)
434 ("nginx-sources" ,(package-source nginx))
437 `(#:tests? #f ; no test target
438 #:make-flags (list "modules")
439 #:modules ((guix build utils)
440 (guix build gnu-build-system)
443 (ice-9 textual-ports))
445 (modify-phases %standard-phases
446 (add-after 'unpack 'unpack-nginx-sources
447 (lambda* (#:key inputs native-inputs #:allow-other-keys)
449 ;; The nginx source code is part of the module’s source.
450 (format #t "decompressing nginx source code~%")
451 (let ((tar (assoc-ref inputs "tar"))
452 (nginx-srcs (assoc-ref inputs "nginx-sources")))
453 (invoke (string-append tar "/bin/tar")
454 "xvf" nginx-srcs "--strip-components=1"))
456 (add-after 'unpack 'convert-to-dynamic-module
459 (with-atomic-file-replacement "config"
461 ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
462 (format out "ngx_module_type=HTTP~%")
463 (format out "ngx_module_name=\
464 ngx_http_accept_language_module~%")
465 (let* ((str (get-string-all in))
467 "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
468 (m (regexp-exec rx str))
469 (srcs (match:substring m 1)))
470 (format out (string-append "ngx_module_srcs=\""
472 (format out ". auto/module~%")
473 (format out "ngx_addon_name=$ngx_module_name~%"))))))
474 (add-before 'configure 'patch-/bin/sh
476 (substitute* "auto/feature"
477 (("/bin/sh") (which "sh")))
480 ;; This phase is largely copied from the nginx package.
481 (lambda* (#:key outputs #:allow-other-keys)
483 (list ;; A copy of nginx’ flags follows, otherwise we
484 ;; get a binary compatibility error. FIXME: Code
485 ;; duplication is bad.
486 (string-append "--prefix=" (assoc-ref outputs "out"))
487 "--with-http_ssl_module"
488 "--with-http_v2_module"
491 ;; Even when not cross-building, we pass the
492 ;; --crossbuild option to avoid customizing for the
493 ;; kernel version on the build machine.
494 ,(let ((system "Linux") ; uname -s
495 (release "3.2.0") ; uname -r
497 (machine (match (or (%current-target-system)
499 ("x86_64-linux" "x86_64")
500 ("i686-linux" "i686")
501 ("mips64el-linux" "mips64")
502 ;; Prevent errors when querying
503 ;; this package on unsupported
504 ;; platforms, e.g. when running
505 ;; "guix package --search="
507 (string-append "--crossbuild="
508 system ":" release ":" machine))
509 ;; The following are the args decribed on
510 ;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
511 ;; Enabling --with-compat here and in the nginx package
512 ;; would ensure binary compatibility even when using
513 ;; different configure options from the main nginx
514 ;; package. This is not needed for Guix.
516 "--add-dynamic-module=.")))
518 (format #t "environment variable `CC' set to `gcc'~%")
519 (format #t "configure flags: ~s~%" flags)
520 (apply invoke "./configure" flags)
523 (lambda* (#:key outputs #:allow-other-keys)
524 (let* ((out (assoc-ref outputs "out"))
525 (modules-dir (string-append out "/etc/nginx/modules"))
526 (doc-dir (string-append
527 out "/share/doc/nginx-accept-language-module")))
528 (mkdir-p modules-dir)
529 (copy-file "objs/ngx_http_accept_language_module.so"
531 modules-dir "/ngx_http_accept_language_module.so"))
533 (copy-file "README.textile"
534 (string-append doc-dir "/README.textile"))
537 "https://www.nginx.com/resources/wiki/modules/accept_language/")
538 (synopsis "Nginx module for parsing the Accept-Language HTTP header")
540 "This nginx module parses the Accept-Language field in HTTP headers and
541 chooses the most suitable locale for the user from the list of locales
542 supported at your website.")
543 (license (delete-duplicates
544 (cons license:bsd-2 ;license of nginx-accept-language-module
545 ;; The module’s code is linked statically with nginx,
546 ;; therefore nginx’ other licenses may also apply to its
548 (package-license nginx)))))))
550 (define-public lighttpd
556 (uri (string-append "https://download.lighttpd.net/lighttpd/"
557 "releases-" (version-major+minor version) ".x/"
558 "lighttpd-" version ".tar.xz"))
561 "09z947730yjh438wrqb3z1c5hr1dbb11a8sr92g3vk6mr7lm02va"))))
562 (build-system gnu-build-system)
573 (modify-phases %standard-phases
574 (add-after 'unpack 'embed-/bin/sh-reference
576 (substitute* "src/mod_ssi.c"
577 (("/bin/sh") (which "sh")))
579 (add-after 'unpack 'fix-tests
581 (setenv "SHELL" (which "sh"))
582 ;; gethostbyaddr fails
583 (substitute* "tests/LightyTest.pm"
584 (("\\{HOSTNAME\\} = \\$name;")
585 "{HOSTNAME} = \"127.0.0.1\";"))
588 `(("cyrus-sasl" ,cyrus-sasl)
590 ("libunwind" ,libunwind)
591 ("linux-pam" ,linux-pam)
592 ("mit-krb5" ,mit-krb5)
593 ("openldap" ,openldap)
596 ("pcre:bin" ,pcre "bin")
599 `(("perl" ,perl) ; for tests
600 ("pkg-config" ,pkg-config)
602 (home-page "https://www.lighttpd.net/")
603 (synopsis "Lightweight HTTP and reverse proxy server")
605 "Lighttpd is a secure, fast, compliant, and very flexible web-server that
606 has been optimized for high-performance environments. It has a very low
607 memory footprint compared to other webservers. Its features include FastCGI,
608 CGI, authentication, output compression, URL rewriting and many more.")
609 (license license:bsd-3)))
618 ;; Upstream has disappeared.
620 (url "https://github.com/FastCGI-Archives/fcgi2")
622 (file-name (git-file-name name version))
624 (base32 "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"))))
625 (build-system gnu-build-system)
626 ;; Parallel building is not supported.
627 (arguments `(#:parallel-build? #f))
629 `(("autoconf" ,autoconf)
630 ("automake" ,automake)
631 ("libtool" ,libtool)))
632 ;; This is an archived fork of the original home page, www.fastcgi.com.
633 (home-page "https://fastcgi-archives.github.io/")
634 (synopsis "Language-independent, high-performant extension to CGI")
635 (description "FastCGI is a language-independent, scalable extension to CGI
636 that provides high performance without the limitations of server specific
638 ;; This package is released under the Open Market License, a variant of
639 ;; the Expat license, incompatible with the GPL.
640 (license (license:non-copyleft "file://LICENSE.TERMS"))))
642 (define-public fcgiwrap
650 (url "https://github.com/gnosek/fcgiwrap")
652 (file-name (git-file-name name version))
654 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
655 (build-system gnu-build-system)
657 `(#:tests? #f ; no tests included
658 #:make-flags (list "CC=gcc")
660 (modify-phases %standard-phases
661 (add-after 'unpack 'fix-CFLAGS
662 ;; Remove broken options unconditionally added to CFLAGS.
664 (substitute* "configure.ac"
668 `(("autoconf" ,autoconf)
669 ("automake" ,automake)
670 ("pkg-config" ,pkg-config)))
673 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
674 (synopsis "Simple server for running CGI applications over FastCGI")
675 (description "Fcgiwrap is a simple server for running CGI applications
676 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
677 servers that may need it).")
678 (license license:expat)))
680 (define-public starman
687 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
688 "Starman-" version ".tar.gz"))
690 (base32 "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h"))))
691 (build-system perl-build-system)
693 `(("perl-libwww" ,perl-libwww)
694 ("perl-module-build-tiny" ,perl-module-build-tiny)
695 ("perl-test-requires" ,perl-test-requires)))
697 `(("perl-data-dump" ,perl-data-dump)
698 ("perl-http-date" ,perl-http-date)
699 ("perl-http-message" ,perl-http-message)
700 ("perl-http-parser-xs" ,perl-http-parser-xs)
701 ("perl-net-server" ,perl-net-server)
702 ("perl-plack" ,perl-plack)
703 ("perl-test-tcp" ,perl-test-tcp)))
704 (home-page "https://metacpan.org/release/Starman")
705 (synopsis "PSGI/Plack web server")
706 (description "Starman is a PSGI perl web server that has unique features
707 such as high performance, preforking, signal support, superdaemon awareness,
708 and UNIX socket support.")
709 (license license:perl-license)))
711 (define-public icedtea-web
718 "http://icedtea.wildebeest.org/download/source/"
719 name "-" version ".tar.gz"))
722 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
723 (build-system gnu-build-system)
726 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
727 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
729 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
730 (outputs '("out" "doc"))
732 `(("pkg-config" ,pkg-config)
736 ("jdk" ,icedtea "jdk")))
737 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
738 (synopsis "Java Web Start")
740 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
741 Protocol}, also known as Java Web Start. This package provides tools and
742 libraries for working with JNLP applets.")
743 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
745 (license license:gpl2+)))
747 (define-public jansson
754 (string-append "http://www.digip.org/jansson/releases/jansson-"
758 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
759 (build-system gnu-build-system)
761 `(#:configure-flags '("--disable-static")))
762 (home-page "http://www.digip.org/jansson/")
763 (synopsis "JSON C library")
765 "Jansson is a C library for encoding, decoding and manipulating JSON
767 (license license:expat)))
769 (define-public json-c
776 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
780 "0w381krr99q5a2rypx4g437fa7gzgl82i64sgnrs6g5jr44dwxxk"))))
781 (build-system cmake-build-system)
782 (home-page "https://github.com/json-c/json-c/wiki")
783 (synopsis "JSON implementation in C")
785 "JSON-C implements a reference counting object model that allows you to
786 easily construct JSON objects in C, output them as JSON-formatted strings and
787 parse JSON-formatted strings back into the C representation of JSON objects.
788 It aims to conform to RFC 7159.")
789 (license license:x11)))
791 ;; TODO: Remove these old versions when all dependents have been updated.
792 (define-public json-c-0.13
799 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
802 (base32 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
803 (modules '((guix build utils)))
806 ;; Somehow 'config.h.in' is older than
807 ;; 'aclocal.m4', which would trigger a rule to
809 (set-file-time "config.h.in"
812 (build-system gnu-build-system)))
814 (define-public json-c-0.12
816 (inherit json-c-0.13)
821 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
824 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
825 (modules '((guix build utils)))
828 ;; Somehow 'config.h.in' is older than
829 ;; 'aclocal.m4', which would trigger a rule to
831 (set-file-time "config.h.in"
834 ;; Don't try to build with -Werror.
835 (substitute* (find-files "." "Makefile\\.in")
839 (define-public json-parser
844 ;; do not use auto-generated tarballs
847 (url "https://github.com/udp/json-parser")
848 (commit (string-append "v" version))))
849 (file-name (git-file-name name version))
852 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
853 ;; FIXME: we should build the python bindings in a separate package
854 (build-system gnu-build-system)
855 ;; the tests are written for the python bindings which are not built here
856 (arguments '(#:tests? #f))
857 (home-page "https://github.com/udp/json-parser")
858 (synopsis "JSON parser written in ANSI C")
859 (description "This package provides a very low footprint JSON parser
860 written in portable ANSI C.
863 @item BSD licensed with no dependencies (i.e. just drop the C file into your
865 @item Never recurses or allocates more memory than it needs
866 @item Very simple API with operator sugar for C++
868 (license license:bsd-2)))
877 (url "https://github.com/flavio/qjson")
879 (file-name (git-file-name name version))
882 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
883 (build-system cmake-build-system)
885 ;; The tests require a running X server.
886 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
887 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
889 (modify-phases %standard-phases
890 (add-after 'unpack 'disable-broken-test
892 ;; FIXME: One test fails. See
893 ;; https://github.com/flavio/qjson/issues/105
894 (substitute* "tests/scanner/testscanner.cpp"
895 (("QTest::newRow\\(\"too large exponential\"\\)" line)
896 (string-append "//" line)))
898 (add-before 'check 'render-offscreen
899 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
901 `(("qtbase" ,qtbase)))
902 (home-page "http://qjson.sourceforge.net")
903 (synopsis "Library that maps JSON data to QVariant objects")
904 (description "QJson is a Qt-based library that maps JSON data to
905 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
906 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
907 ;; Only version 2.1 of the license
908 (license license:lgpl2.1)))
910 (define-public qoauth
917 (url "https://github.com/ayoy/qoauth")
918 (commit (string-append "v" version))))
919 (file-name (git-file-name name version))
922 "1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3"))))
923 (build-system gnu-build-system)
929 (modify-phases %standard-phases
930 (add-after 'unpack 'patch-code
932 (make-file-writable "src/qoauth.pc")
933 (substitute* "src/src.pro"
936 (delete 'configure) ; no configure script
937 (delete 'check) ; no test target
938 (add-before 'build 'qmake
940 (let ((qca (assoc-ref %build-inputs "qca")))
943 (string-append "PREFIX=" (assoc-ref %outputs "out"))
944 (string-append "QMAKE_INCDIR+=" qca "/include/Qca-qt5/QtCrypto")
945 (string-append "LIBS+=-L" qca "/lib")
946 (string-append "LIBS+=-lqca-qt5"))))))))
947 (home-page "https://github.com/ayoy/qoauth")
948 (synopsis "Qt-based C++ library for OAuth authorization scheme")
949 (description "QOAuth is an attempt to support interaction with
950 OAuth-powered network services in a Qt way, i.e. simply, clearly and
951 efficiently. It gives the application developer no more than 4 methods.")
952 (license license:lgpl2.1+)))
954 (define-public krona-tools
961 "https://github.com/marbl/Krona/releases/download/v"
962 version "/KronaTools-" version ".tar"))
965 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
966 (build-system perl-build-system)
969 (modify-phases %standard-phases
970 ;; There is no configure or build steps.
973 ;; Install script "install.pl" expects the build directory to remain
974 ;; after installation, creating symlinks etc., so re-implement it
977 (lambda* (#:key outputs #:allow-other-keys)
978 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
979 (perl (string-append (assoc-ref outputs "out")
980 "/lib/perl5/site_perl/krona-tools/lib")))
984 (let* ((executable (string-append "scripts/" script ".pl")))
985 ;; Prefix executables with 'kt' as install script does.
986 (copy-file executable (string-append bin "/kt" script))))
988 "GetContigMagnitudes"
998 "ImportMETAREP-BLAST"
1003 "ImportRDPComparison"
1009 (copy-recursively directory
1010 (string-append perl "/../" directory)))
1011 (list "data" "img" "taxonomy" "src"))
1012 (install-file "lib/KronaTools.pm" perl))))
1013 (add-after 'install 'wrap-program
1014 (lambda* (#:key inputs outputs #:allow-other-keys)
1015 (let* ((out (assoc-ref outputs "out"))
1016 (path (getenv "PERL5LIB")))
1018 (lambda (executable)
1019 (wrap-program executable
1020 `("PERL5LIB" ":" prefix
1021 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
1022 (find-files (string-append out "/bin/") ".*")))))
1024 (add-after 'wrap-program 'check
1025 (lambda* (#:key inputs outputs #:allow-other-keys)
1026 (with-directory-excursion "data"
1027 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
1031 (home-page "https://github.com/marbl/Krona/wiki")
1032 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
1034 "Krona is a flexible tool for exploring the relative proportions of
1035 hierarchical data, such as metagenomic classifications, using a radial,
1036 space-filling display. It is implemented using HTML5 and JavaScript, allowing
1037 charts to be explored locally or served over the Internet, requiring only a
1038 current version of any major web browser.")
1039 (license license:bsd-3)))
1041 (define-public rapidjson
1048 (url "https://github.com/Tencent/rapidjson")
1049 (commit (string-append "v" version))))
1050 (file-name (git-file-name name version))
1053 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
1054 (patches (search-patches "rapidjson-gcc-compat.patch"))
1055 (modules '((guix build utils)))
1058 ;; Remove code using the problematic JSON license (see
1059 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
1060 (delete-file-recursively "bin/jsonchecker")
1062 (build-system cmake-build-system)
1064 (if (string-prefix? "aarch64" (or (%current-target-system)
1067 (modify-phases %standard-phases
1068 (add-after 'unpack 'patch-aarch-march-detection
1070 (substitute* (find-files "." "^CMakeLists\\.txt$")
1071 (("native") "armv8-a"))
1073 ;; Disable CPU optimization for reproducibility.
1074 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
1075 (home-page "https://github.com/Tencent/rapidjson")
1076 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
1078 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
1080 (license license:expat)))
1082 (define-public libyajl
1089 (url "https://github.com/lloyd/yajl")
1091 (file-name (git-file-name name version))
1094 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
1095 (build-system cmake-build-system)
1098 (modify-phases %standard-phases
1099 (add-after 'patch-source-shebangs 'patch-tests
1101 (substitute* "test/parsing/run_tests.sh"
1102 (("`which echo`") (which "echo")))
1104 (home-page "https://lloyd.github.io/yajl/")
1105 (synopsis "C library for parsing JSON")
1107 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
1108 parser written in ANSI C and a small validating JSON generator.")
1109 (license license:isc)))
1111 (define-public libwebsockets
1113 (name "libwebsockets")
1116 ;; The project does not publish tarballs, so we have to take
1120 (url "https://github.com/warmcat/libwebsockets")
1121 (commit (string-append "v" version
1122 "-chrome37-firefox30"))))
1125 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
1126 (file-name (string-append name "-" version))))
1128 (build-system cmake-build-system)
1130 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
1131 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
1134 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
1135 (inputs `(("zlib" ,zlib)
1136 ("openssl" ,openssl)))
1137 (synopsis "WebSockets library written in C")
1139 "Libwebsockets is a library that allows C programs to establish client
1140 and server WebSockets connections---a protocol layered above HTTP that allows
1141 for efficient socket-like bidirectional reliable communication channels.")
1142 (home-page "https://libwebsockets.org")
1144 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
1145 (license license:lgpl2.1)))
1155 (url "https://github.com/WebAssembly/wabt")
1157 (file-name (git-file-name name version))
1159 (base32 "1zlv3740wkqj4mn6sr84h0x6wk2lcp4pwwmqsh5yyqp1j1glbsa0"))))
1160 (build-system cmake-build-system)
1162 `(#:configure-flags '("-DBUILD_TESTS=OFF")
1164 (inputs `(("python" ,python-2)
1166 (home-page "https://github.com/WebAssembly/wabt")
1167 (synopsis "WebAssembly Binary Toolkit")
1168 (description "WABT (pronounced: wabbit) is a suite of tools for
1169 WebAssembly, including:
1172 @item @command{wat2wasm} translates from WebAssembly text format to the
1173 WebAssembly binary format
1174 @item @command{wasm2wat} is the inverse; it translates from the binary format
1175 back to the text format (also known as a .wat)
1176 @item @command{wasm-objdump} prints information about a wasm binary, similarly
1177 to @command{objdump}.
1178 @item @command{wasm-interp} decodes ands run a WebAssembly binary file using a
1179 stack-based interpreter
1180 @item @command{wat-desugar} parses .wat text form as supported by the spec
1181 interpreter (s-expressions, flat syntax, or mixed) and prints the canonical
1183 @item @command{wasm2c} converts a WebAssembly binary file to a C source and
1187 These tools are intended for use in (or for development of) toolchains or
1188 other systems that want to manipulate WebAssembly files.")
1189 (license license:asl2.0)))
1191 (define-public websocketpp
1193 (name "websocketpp")
1199 (url "https://github.com/zaphoyd/websocketpp")
1201 (file-name (git-file-name name version))
1203 (base32 "1ww4fhl8qf12hkv6jaild8zzsygdspxm1gqpk2f63gv1xfi31wpm"))
1204 (patches (search-patches "websocketpp-fix-for-cmake-3.15.patch"))))
1205 (build-system cmake-build-system)
1206 (inputs `(("boost" ,boost)
1207 ("openssl" ,openssl)))
1208 (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
1210 (modify-phases %standard-phases
1211 (add-after 'install 'remove-tests
1212 (lambda* (#:key outputs #:allow-other-keys)
1213 (let* ((install-dir (assoc-ref outputs "out"))
1214 (bin-dir (string-append install-dir "/bin")))
1215 (delete-file-recursively bin-dir)
1217 (home-page "https://www.zaphoyd.com/websocketpp/")
1218 (synopsis "C++ library implementing the WebSocket protocol")
1219 (description "WebSocket++ is a C++ library that can be used to implement
1220 WebSocket functionality. The goals of the project are to provide a WebSocket
1221 implementation that is simple, portable, flexible, lightweight, low level, and
1223 (license license:bsd-3)))
1225 (define-public wslay
1233 (url "https://github.com/tatsuhiro-t/wslay")
1234 (commit (string-append "release-" version))))
1235 (file-name (git-file-name name version))
1237 (base32 "1w32iljg4inqf0712w5fxxhggvmjh6ipl2lnz0h36dv1xrj0d964"))))
1238 (build-system gnu-build-system)
1240 ;; Parallel builds don't reliably succeed.
1241 `(#:parallel-build? #f))
1243 `(("autoconf" ,autoconf)
1244 ("automake" ,automake)
1245 ("cunit" ,cunit) ; for tests
1246 ("libtool" ,libtool)
1247 ("pkg-config" ,pkg-config)
1248 ("python-sphinx" ,python-sphinx)))
1249 (home-page "https://tatsuhiro-t.github.io/wslay/")
1250 (synopsis "C WebSocket library")
1251 (description "@code{Wslay} is an event-based C library for the WebSocket
1252 protocol version 13, described in RFC 6455. Besides a high-level API it
1253 provides callbacks for sending and receiving frames directly. @code{Wslay}
1254 only supports the data transfer part of WebSocket protocol and does not
1255 perform the opening handshake in HTTP.")
1256 (license license:expat)))
1258 (define-public libpsl
1264 (uri (string-append "https://github.com/rockdaboot/libpsl/"
1265 "releases/download/libpsl-" version
1266 "/libpsl-" version ".tar.gz"))
1269 "04pfagb7ppq3yibx4lhazd1v9nwkxdfkyy2rgcrmrf3mldsirga1"))))
1270 (build-system gnu-build-system)
1272 `(("pkg-config" ,pkg-config)
1275 ("python" ,python-wrapper)))
1277 `(("libidn2" ,libidn2)
1278 ("libunistring" ,libunistring)))
1279 (home-page "https://github.com/rockdaboot/libpsl")
1280 (synopsis "C library for the Publix Suffix List")
1282 "A \"public suffix\" is a domain name under which Internet users can
1283 directly register own names.
1285 Browsers and other web clients can use it to avoid privacy-leaking
1286 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
1287 highlighting parts of the domain in a user interface, and sorting domain lists
1290 Libpsl has built-in PSL data for fast access, allowing to load PSL data from
1291 files, checks if a given domain is a public suffix, provides immediate cookie
1292 domain verification, finds the longest public part of a given domain, finds
1293 the shortest private part of a given domain, works with international
1294 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
1296 (license license:x11)))
1301 (version "20091223")
1306 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
1308 (revision "2009-12-23")))
1309 (file-name (string-append name "-" version "-checkout"))
1312 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
1313 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
1314 (build-system gnu-build-system)
1316 '(#:phases (modify-phases %standard-phases
1318 (lambda* (#:key inputs #:allow-other-keys)
1319 ;; configure.in and Makefile.am aren't in the root of the
1321 (copy-recursively "build/gnuauto" ".")
1322 (setenv "AUTOMAKE" "automake --foreign")
1323 (invoke "autoreconf" "-vfi"))))))
1325 `(("automake" ,automake)
1326 ("autoconf" ,autoconf)
1327 ("libtool" ,libtool)))
1328 (synopsis "HTML validator and tidier")
1329 (description "HTML Tidy is a command-line tool and C library that can be
1330 used to validate and fix HTML data.")
1331 (home-page "http://tidy.sourceforge.net/")
1332 (license (license:x11-style "file:///include/tidy.h"))))
1334 (define-public tinyproxy
1340 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1341 "releases/download/" version "/tinyproxy-"
1345 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
1346 (build-system gnu-build-system)
1350 ;; For the log file, etc.
1351 "--localstatedir=/var")
1353 (modify-phases %standard-phases
1354 (add-before 'build 'pre-build
1355 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1356 ;; Uncommenting the next two lines may assist in debugging
1357 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1358 ;; (setenv "XML_DEBUG_CATALOG" "1")
1360 (home-page "https://tinyproxy.github.io/")
1361 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1362 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1363 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1364 solution for use cases such as embedded deployments where a full featured HTTP
1365 proxy is required, but the system resources for a larger proxy are
1367 (license license:gpl2+)))
1369 (define-public polipo
1377 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1381 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1382 (native-inputs `(("texinfo" ,texinfo)))
1383 (build-system gnu-build-system)
1385 `(#:phases (modify-phases %standard-phases
1386 (delete 'configure))
1387 #:make-flags (let ((out (assoc-ref %outputs "out")))
1388 (list (string-append "PREFIX=" out)
1389 (string-append "LOCAL_ROOT="
1390 out "/share/polipo/www")
1392 ;; No 'check' target.
1394 (home-page "https://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1395 (synopsis "Small caching web proxy")
1397 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1398 server). It was primarily designed to be used by one person or a small group
1400 (license license:expat)))
1402 (define-public websockify
1409 (url "https://github.com/novnc/websockify")
1410 (commit (string-append "v" version))))
1411 (file-name (git-file-name name version))
1414 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1415 (build-system python-build-system)
1417 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1418 ; named 'stubout'". The tests can be run by replacing the check phase with
1419 ; the command "python setup.py nosetests --verbosity=3".
1420 (native-inputs `(; Required for tests:
1421 ("python-mox3" ,python-mox3)
1422 ("python-nose" ,python-nose)))
1423 (propagated-inputs `(("python-numpy" ,python-numpy)))
1424 (home-page "https://github.com/novnc/websockify")
1425 (synopsis "WebSockets support for any application/server")
1426 (description "Websockify translates WebSockets traffic to normal socket
1427 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1428 begins forwarding traffic between the client and the target in both
1430 (license license:lgpl3)))
1432 (define-public wwwoffle
1438 (uri (string-append "https://www.gedanken.org.uk/software/"
1439 "wwwoffle/download/wwwoffle-"
1443 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1444 (build-system gnu-build-system)
1446 `(#:configure-flags '("--with-gnutls")
1447 #:tests? #f)) ; no test target
1448 (native-inputs `(("flex" ,flex)))
1449 (inputs `(("gnutls" ,gnutls)
1450 ("libcrypt" ,libgcrypt)))
1451 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1452 (synopsis "Caching web proxy optimized for intermittent internet links")
1453 (description "WWWOFFLE is a proxy web server that is especially good for
1454 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1455 protocols, and supports browsing and requesting pages while offline, indexing,
1456 modifying pages and incoming and outgoing headers, monitoring pages for
1457 changes, and much more.")
1458 (license license:gpl2+)))
1460 (define-public liboauth
1466 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1470 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1471 (build-system gnu-build-system)
1472 (arguments '(#:configure-flags '("--enable-nss")))
1473 (native-inputs `(("pkg-config" ,pkg-config)))
1477 (home-page "https://sourceforge.net/projects/liboauth")
1478 (synopsis "C library implementing the OAuth API")
1480 "liboauth is a collection of C functions implementing the OAuth API.
1481 liboauth provides functions to escape and encode strings according to OAuth
1482 specifications and offers high-level functionality built on top to sign
1483 requests or verify signatures using either NSS or OpenSSL for calculating the
1485 ;; Source code may be distributed under either license.
1486 (license (list license:expat license:gpl2+))))
1488 (define-public libyaml
1495 (uri (string-append "https://pyyaml.org/download/libyaml/yaml-"
1498 (base32 "0mq5wf17ifcwwxq3kbimhi53jn3fg23vcynqpzxjcz3vfjlfs2nq"))))
1499 (build-system gnu-build-system)
1500 (home-page "https://pyyaml.org/wiki/LibYAML")
1501 (synopsis "YAML 1.1 parser and emitter written in C")
1503 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1504 (license license:expat)))
1506 (define-public libquvi-scripts
1508 (name "libquvi-scripts")
1514 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1515 name "/" name "-" version ".tar.xz"))
1517 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1518 (build-system gnu-build-system)
1519 (home-page "http://quvi.sourceforge.net/")
1520 (synopsis "Media stream URL parser")
1521 (description "This package contains support scripts called by libquvi to
1522 parse media stream properties.")
1523 (license license:lgpl2.1+)))
1525 (define-public libquvi
1533 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1534 name "-" version ".tar.xz"))
1536 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1537 (build-system gnu-build-system)
1538 (native-inputs `(("pkg-config" ,pkg-config)))
1541 ("cyrus-sasl" ,cyrus-sasl)
1542 ("libquvi-scripts" ,libquvi-scripts)
1544 ("openssl" ,openssl)
1547 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1549 (let ((lua (assoc-ref %build-inputs "lua")))
1551 (string-append "liblua_CFLAGS=-I" lua "/include")
1552 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1553 (home-page "http://quvi.sourceforge.net/")
1554 (synopsis "Media stream URL parser")
1555 (description "libquvi is a library with a C API for parsing media stream
1556 URLs and extracting their actual media files.")
1557 (license license:lgpl2.1+)))
1567 "mirror://sourceforge/" name "/" (version-major+minor version)
1568 "/" name "/" name "-" version ".tar.xz"))
1570 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1571 (build-system gnu-build-system)
1572 (native-inputs `(("pkg-config" ,pkg-config)))
1575 ("libquvi" ,libquvi)))
1576 (home-page "http://quvi.sourceforge.net/")
1577 (synopsis "Media stream URL parser")
1578 (description "quvi is a command-line-tool suite to extract media files
1579 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1580 (license license:lgpl2.1+)))
1589 (uri (string-append "mirror://apache/serf/serf-"
1590 version ".tar.bz2"))
1592 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1593 (build-system scons-build-system)
1596 ("apr-util" ,apr-util)
1597 ("openssl" ,openssl)))
1599 `(;; TODO: Fix build with gss.
1603 `(#:scons ,scons-python2
1604 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1605 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1606 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1607 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1608 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1609 (string-append "PREFIX=" %output))
1611 (modify-phases %standard-phases
1612 (add-after 'unpack 'scons-propagate-environment
1614 ;; By design, SCons does not, by default, propagate
1615 ;; environment variables to subprocesses. See:
1616 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1617 ;; Here, we modify the SConstruct file to arrange for
1618 ;; environment variables to be propagated.
1619 (substitute* "SConstruct"
1620 (("^env = Environment\\(")
1621 "env = Environment(ENV=os.environ, "))))
1622 (add-before 'check 'disable-broken-tests
1624 ;; These tests rely on SSL certificates that expired 2017-04-18.
1625 ;; While there are newer certs available upstream, we don't want
1626 ;; this package to suddenly "expire" some time in the future.
1627 ;; https://bugs.gnu.org/26671
1629 '("test_ssl_trust_rootca"
1630 "test_ssl_certificate_chain_with_anchor"
1631 "test_ssl_certificate_chain_all_from_server"
1632 "test_ssl_no_servercert_callback_allok"
1633 "test_ssl_large_response"
1634 "test_ssl_large_request"
1635 "test_ssl_client_certificate"
1636 "test_ssl_future_server_cert"
1637 "test_setup_ssltunnel"
1638 "test_ssltunnel_basic_auth"
1639 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1640 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1641 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1642 "test_ssltunnel_digest_auth")))
1645 (substitute* "test/test_context.c"
1646 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1649 (home-page "https://serf.apache.org/")
1650 (synopsis "High-performance asynchronous HTTP client library")
1652 "serf is a C-based HTTP client library built upon the Apache Portable
1653 Runtime (APR) library. It multiplexes connections, running the read/write
1654 communication asynchronously. Memory copies and transformations are kept to a
1655 minimum to provide high performance operation.")
1656 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1657 ;; bundled CuTest framework uses a different non-copyleft license.
1658 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1660 (define-public libsass
1663 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1668 (url "https://github.com/sass/libsass")
1670 (file-name (git-file-name name version))
1673 "1vn0q343d1vxz5q0xb6f9dzjah8z6j0s6x0lwvwdd55xa8z7rsnh"))))
1674 (build-system gnu-build-system)
1677 (modify-phases %standard-phases
1678 (add-before 'bootstrap 'set-LIBSASS_VERSION
1680 (setenv "LIBSASS_VERSION" ,version)
1683 `(("autoconf" ,autoconf)
1684 ("automake" ,automake)
1685 ("libtool" ,libtool)))
1686 (home-page "https://sass-lang.com/libsass")
1687 (synopsis "SASS Compiler, implemented as a C/C++ library")
1689 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1690 library designed for portability and efficiency. To actually compile SASS
1691 stylesheets, you'll need to use another program that uses this library,
1692 @var{sassc} for example.")
1693 (license license:expat)))
1695 (define-public sassc
1702 (url "https://github.com/sass/sassc")
1704 (file-name (git-file-name name version))
1707 "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv"))))
1708 (build-system gnu-build-system)
1712 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1713 #:tests? #f ; no test suite
1715 (modify-phases %standard-phases
1716 (add-after 'unpack 'patch-Makefile
1718 (substitute* "Makefile"
1719 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1720 "build-shared: $(RESOURCES) $(OBJECTS)")
1721 (("\\$\\(SASSC_EXE\\): libsass build")
1722 "$(SASSC_EXE): build")
1723 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1726 ;; This phase fails for some reason.
1728 ;; There is no configure script.
1730 (add-before 'build 'setup-environment
1732 (setenv "BUILD" "shared")
1733 (setenv "SASSC_VERSION" ,version)
1736 `(("libsass" ,libsass)))
1737 (synopsis "CSS pre-processor")
1738 (description "SassC is a compiler written in C for the CSS pre-processor
1739 language known as SASS.")
1740 (home-page "https://sass-lang.com/libsass")
1741 (license license:expat)))
1743 (define-public sassc/libsass-3.5
1744 ;; Newer libsass versions suffor from a memory leak when building (some?)
1745 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
1759 (url "https://github.com/sass/libsass")
1761 (file-name (git-file-name name version))
1764 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
1765 (properties '((hidden? . #t)))))
1768 (define-public perl-apache-logformat-compiler
1770 (name "perl-apache-logformat-compiler")
1775 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1776 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1778 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
1779 (build-system perl-build-system)
1781 `(("perl-http-message" ,perl-http-message)
1782 ("perl-module-build-tiny" ,perl-module-build-tiny)
1783 ("perl-test-mocktime" ,perl-test-mocktime)
1784 ("perl-try-tiny" ,perl-try-tiny)
1785 ("perl-uri" ,perl-uri)))
1787 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1788 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1789 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1790 (synopsis "Compile a log format string to perl-code")
1791 (description "This module provides methods to compile a log format string
1792 to perl-code, for faster generation of access_log lines.")
1793 (license license:perl-license)))
1795 (define-public perl-authen-sasl
1797 (name "perl-authen-sasl")
1802 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1803 "Authen-SASL-" version ".tar.gz"))
1806 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1807 (build-system perl-build-system)
1810 (modify-phases %standard-phases
1811 (add-after 'unpack 'set-env
1812 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1813 ;; versions of perl-authen-sasl.
1814 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1816 `(("perl-digest-hmac" ,perl-digest-hmac)
1817 ("perl-gssapi" ,perl-gssapi)))
1818 (home-page "https://metacpan.org/release/Authen-SASL")
1819 (synopsis "SASL authentication framework")
1820 (description "Authen::SASL provides an SASL authentication framework.")
1821 (license license:perl-license)))
1823 (define-public perl-catalyst-action-renderview
1825 (name "perl-catalyst-action-renderview")
1830 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1831 "Catalyst-Action-RenderView-"
1835 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1836 (build-system perl-build-system)
1838 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1839 ("perl-module-install" ,perl-module-install)))
1841 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1842 ("perl-data-visitor" ,perl-data-visitor)
1843 ("perl-mro-compat" ,perl-mro-compat)))
1844 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
1845 (synopsis "Sensible default Catalyst action")
1846 (description "This Catalyst action implements a sensible default end
1847 action, which will forward to the first available view.")
1848 (license license:perl-license)))
1850 (define-public perl-catalyst-action-rest
1852 (name "perl-catalyst-action-rest")
1856 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1857 "Catalyst-Action-REST-" version ".tar.gz"))
1860 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
1861 (build-system perl-build-system)
1863 `(("perl-test-requires" ,perl-test-requires)
1864 ("perl-module-install" ,perl-module-install)))
1866 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1867 ("perl-class-inspector" ,perl-class-inspector)
1868 ("perl-config-general" ,perl-config-general)
1869 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1870 ("perl-libwww" ,perl-libwww)
1871 ("perl-moose" ,perl-moose)
1872 ("perl-mro-compat" ,perl-mro-compat)
1873 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1874 ("perl-params-validate" ,perl-params-validate)
1875 ("perl-uri-find" ,perl-uri-find)
1876 ("perl-xml-simple" ,perl-xml-simple)))
1877 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
1878 (synopsis "Automated REST Method Dispatching")
1879 (description "This Action handles doing automatic method dispatching for
1880 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1881 append an underscore and method name. First it will try dispatching to an
1882 action with the generated name, and failing that it will try to dispatch to a
1884 (license license:perl-license)))
1886 (define-public perl-catalyst-authentication-store-dbix-class
1888 (name "perl-catalyst-authentication-store-dbix-class")
1893 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1894 "Catalyst-Authentication-Store-DBIx-Class-"
1898 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1899 (build-system perl-build-system)
1901 `(("perl-catalyst-plugin-authorization-roles"
1902 ,perl-catalyst-plugin-authorization-roles)
1903 ("perl-catalyst-plugin-session-state-cookie"
1904 ,perl-catalyst-plugin-session-state-cookie)
1905 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1906 ("perl-module-install" ,perl-module-install)
1907 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1909 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1910 ("perl-catalyst-plugin-authentication"
1911 ,perl-catalyst-plugin-authentication)
1912 ("perl-dbix-class" ,perl-dbix-class)
1913 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1915 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
1916 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1917 (description "The Catalyst::Authentication::Store::DBIx::Class class
1918 provides access to authentication information stored in a database via
1920 (license license:perl-license)))
1922 (define-public perl-catalyst-component-instancepercontext
1924 (name "perl-catalyst-component-instancepercontext")
1925 (version "0.001001")
1929 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1930 "Catalyst-Component-InstancePerContext-"
1934 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1935 (build-system perl-build-system)
1937 `(("perl-module-install" ,perl-module-install)))
1939 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1940 ("perl-moose" ,perl-moose)))
1942 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
1943 (synopsis "Create only one instance of Moose component per context")
1944 (description "Catalyst::Component::InstancePerContext returns a new
1945 instance of a component on each request.")
1946 (license license:perl-license)))
1948 (define-public perl-catalyst-devel
1950 (name "perl-catalyst-devel")
1955 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1956 "Catalyst-Devel-" version ".tar.gz"))
1958 (base32 "1fqnw6cizpxnfr87rpid8w1wpi1p1lxg6imfjpixqn7s055hcpwc"))))
1959 (build-system perl-build-system)
1961 `(("perl-test-fatal" ,perl-test-fatal)))
1963 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1964 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1965 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1966 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1967 ("perl-config-general" ,perl-config-general)
1968 ("perl-file-changenotify" ,perl-file-changenotify)
1969 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1970 ("perl-file-sharedir" ,perl-file-sharedir)
1971 ("perl-module-install" ,perl-module-install)
1972 ("perl-moose" ,perl-moose)
1973 ("perl-moosex-emulate-class-accessor-fast"
1974 ,perl-moosex-emulate-class-accessor-fast)
1975 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1976 ("perl-namespace-clean" ,perl-namespace-clean)
1977 ("perl-path-class" ,perl-path-class)
1978 ("perl-template-toolkit" ,perl-template-toolkit)))
1979 (home-page "https://metacpan.org/release/Catalyst-Devel")
1980 (synopsis "Catalyst Development Tools")
1981 (description "The Catalyst-Devel distribution includes a variety of
1982 modules useful for the development of Catalyst applications, but not required
1983 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1984 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1985 extension for Catalyst; and requirements for a variety of development-related
1987 (license license:perl-license)))
1989 (define-public perl-catalyst-dispatchtype-regex
1991 (name "perl-catalyst-dispatchtype-regex")
1996 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1997 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
2000 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
2001 (build-system perl-build-system)
2003 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
2004 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2005 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
2007 `(("perl-moose" ,perl-moose)
2008 ("perl-text-simpletable" ,perl-text-simpletable)))
2009 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
2010 (synopsis "Regex DispatchType for Catalyst")
2011 (description "Dispatch type managing path-matching behaviour using
2012 regexes. Regex dispatch types have been deprecated and removed from Catalyst
2013 core. It is recommend that you use Chained methods or other techniques
2014 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
2015 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
2016 when the dispatch type is first seen in your application.")
2017 (license license:perl-license)))
2019 (define-public perl-catalyst-model-dbic-schema
2021 (name "perl-catalyst-model-dbic-schema")
2026 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
2027 "Catalyst-Model-DBIC-Schema-"
2031 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
2032 (build-system perl-build-system)
2034 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
2035 ("perl-module-install" ,perl-module-install)
2036 ("perl-test-exception" ,perl-test-exception)
2037 ("perl-test-requires" ,perl-test-requires)))
2039 `(("perl-carp-clan" ,perl-carp-clan)
2040 ("perl-catalyst-component-instancepercontext"
2041 ,perl-catalyst-component-instancepercontext)
2042 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2043 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
2044 ("perl-dbix-class" ,perl-dbix-class)
2045 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
2046 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
2047 ("perl-hash-merge" ,perl-hash-merge)
2048 ("perl-list-moreutils" ,perl-list-moreutils)
2049 ("perl-module-runtime" ,perl-module-runtime)
2050 ("perl-moose" ,perl-moose)
2051 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
2052 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
2053 ("perl-moosex-types" ,perl-moosex-types)
2054 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
2055 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2056 ("perl-namespace-clean" ,perl-namespace-clean)
2057 ("perl-tie-ixhash" ,perl-tie-ixhash)
2058 ("perl-try-tiny" ,perl-try-tiny)))
2059 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
2060 (synopsis "DBIx::Class::Schema Model Class")
2061 (description "This is a Catalyst Model for DBIx::Class::Schema-based
2063 (license license:perl-license)))
2065 (define-public perl-catalyst-plugin-accesslog
2067 (name "perl-catalyst-plugin-accesslog")
2072 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
2073 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
2076 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
2077 (build-system perl-build-system)
2079 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2080 ("perl-datetime" ,perl-datetime)
2081 ("perl-moose" ,perl-moose)
2082 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2083 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
2084 (synopsis "Request logging from within Catalyst")
2085 (description "This Catalyst plugin enables you to create \"access logs\"
2086 from within a Catalyst application instead of requiring a webserver to do it
2087 for you. It will work even with Catalyst debug logging turned off.")
2088 (license license:perl-license)))
2090 (define-public perl-catalyst-plugin-authentication
2092 (name "perl-catalyst-plugin-authentication")
2097 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2098 "Catalyst-Plugin-Authentication-"
2102 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
2103 (build-system perl-build-system)
2105 `(("perl-module-install" ,perl-module-install)))
2107 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2108 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2109 ("perl-class-inspector" ,perl-class-inspector)
2110 ("perl-moose" ,perl-moose)
2111 ("perl-moosex-emulate-class-accessor-fast"
2112 ,perl-moosex-emulate-class-accessor-fast)
2113 ("perl-mro-compat" ,perl-mro-compat)
2114 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2115 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2116 ("perl-test-exception" ,perl-test-exception)
2117 ("perl-try-tiny" ,perl-try-tiny)))
2118 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
2119 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
2120 (description "The authentication plugin provides generic user support for
2121 Catalyst apps. It is the basis for both authentication (checking the user is
2122 who they claim to be), and authorization (allowing the user to do what the
2123 system authorises them to do).")
2124 (license license:perl-license)))
2126 (define-public perl-catalyst-plugin-authorization-roles
2128 (name "perl-catalyst-plugin-authorization-roles")
2133 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2134 "Catalyst-Plugin-Authorization-Roles-"
2138 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
2139 (build-system perl-build-system)
2141 `(("perl-module-install" ,perl-module-install)
2142 ("perl-test-exception" ,perl-test-exception)))
2144 `(("perl-catalyst-plugin-authentication"
2145 ,perl-catalyst-plugin-authentication)
2146 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2147 ("perl-set-object" ,perl-set-object)
2148 ("perl-universal-isa" ,perl-universal-isa)))
2150 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2151 (synopsis "Role-based authorization for Catalyst")
2152 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2153 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2154 (license license:perl-license)))
2156 (define-public perl-catalyst-plugin-captcha
2158 (name "perl-catalyst-plugin-captcha")
2163 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2164 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2167 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2168 (build-system perl-build-system)
2170 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2171 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2172 ("perl-gd-securityimage" ,perl-gd-securityimage)
2173 ("perl-http-date" ,perl-http-date)))
2174 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2175 (synopsis "Captchas for Catalyst")
2176 (description "This plugin creates and validates Captcha images for
2178 (license license:perl-license)))
2180 (define-public perl-catalyst-plugin-configloader
2182 (name "perl-catalyst-plugin-configloader")
2187 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2188 "Catalyst-Plugin-ConfigLoader-"
2192 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
2193 (build-system perl-build-system)
2195 `(("perl-path-class" ,perl-path-class)
2196 ("perl-module-install" ,perl-module-install)))
2198 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2199 ("perl-config-any" ,perl-config-any)
2200 ("perl-data-visitor" ,perl-data-visitor)
2201 ("perl-mro-compat" ,perl-mro-compat)))
2202 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2203 (synopsis "Load config files of various types")
2204 (description "This module will attempt to load find and load configuration
2205 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2207 (license license:perl-license)))
2209 (define-public perl-catalyst-plugin-session
2211 (name "perl-catalyst-plugin-session")
2216 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2217 "Catalyst-Plugin-Session-" version ".tar.gz"))
2219 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2220 (build-system perl-build-system)
2222 `(("perl-module-install" ,perl-module-install)
2223 ("perl-test-deep" ,perl-test-deep)
2224 ("perl-test-exception" ,perl-test-exception)))
2226 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2227 ("perl-moose" ,perl-moose)
2228 ("perl-moosex-emulate-class-accessor-fast"
2229 ,perl-moosex-emulate-class-accessor-fast)
2230 ("perl-mro-compat" ,perl-mro-compat)
2231 ("perl-namespace-clean" ,perl-namespace-clean)
2232 ("perl-object-signature" ,perl-object-signature)
2233 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2234 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2235 (synopsis "Catalyst generic session plugin")
2236 (description "This plugin links the two pieces required for session
2237 management in web applications together: the state, and the store.")
2238 (license license:perl-license)))
2240 (define-public perl-catalyst-plugin-session-state-cookie
2242 (name "perl-catalyst-plugin-session-state-cookie")
2247 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2248 "Catalyst-Plugin-Session-State-Cookie-"
2252 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2253 (build-system perl-build-system)
2255 `(("perl-module-install" ,perl-module-install)))
2257 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2258 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2259 ("perl-moose" ,perl-moose)
2260 ("perl-mro-compat" ,perl-mro-compat)
2261 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2263 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2264 (synopsis "Maintain session IDs using cookies")
2265 (description "In order for Catalyst::Plugin::Session to work, the session
2266 ID needs to be stored on the client, and the session data needs to be stored
2267 on the server. This plugin stores the session ID on the client using the
2269 (license license:perl-license)))
2271 (define-public perl-catalyst-plugin-session-store-fastmmap
2273 (name "perl-catalyst-plugin-session-store-fastmmap")
2278 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2279 "Catalyst-Plugin-Session-Store-FastMmap-"
2283 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2284 (build-system perl-build-system)
2286 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2287 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2288 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2289 ("perl-moosex-emulate-class-accessor-fast"
2290 ,perl-moosex-emulate-class-accessor-fast)
2291 ("perl-mro-compat" ,perl-mro-compat)
2292 ("perl-path-class" ,perl-path-class)))
2294 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2295 (synopsis "FastMmap session storage backend")
2296 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2297 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2298 memory interprocess cache. It is based on Cache::FastMmap.")
2299 (license license:perl-license)))
2301 (define-public perl-catalyst-plugin-stacktrace
2303 (name "perl-catalyst-plugin-stacktrace")
2308 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2309 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2312 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2313 (build-system perl-build-system)
2315 `(("perl-module-install" ,perl-module-install)))
2317 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2318 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2319 ("perl-mro-compat" ,perl-mro-compat)))
2320 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2321 (synopsis "Stack trace on the Catalyst debug screen")
2322 (description "This plugin enhances the standard Catalyst debug screen by
2323 including a stack trace of your application up to the point where the error
2324 occurred. Each stack frame is displayed along with the package name, line
2325 number, file name, and code context surrounding the line number.")
2326 (license license:perl-license)))
2328 (define-public perl-catalyst-plugin-static-simple
2330 (name "perl-catalyst-plugin-static-simple")
2335 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2336 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2339 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2340 (build-system perl-build-system)
2342 `(("perl-module-install" ,perl-module-install)))
2344 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2345 ("perl-mime-types" ,perl-mime-types)
2346 ("perl-moose" ,perl-moose)
2347 ("perl-moosex-types" ,perl-moosex-types)
2348 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2349 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2350 (synopsis "Simple serving of static pages")
2351 (description "The Static::Simple plugin is designed to make serving static
2352 content in your application during development quick and easy, without
2353 requiring a single line of code from you. This plugin detects static files by
2354 looking at the file extension in the URL (such as .css or .png or .js). The
2355 plugin uses the lightweight MIME::Types module to map file extensions to
2356 IANA-registered MIME types, and will serve your static files with the correct
2357 MIME type directly to the browser, without being processed through Catalyst.")
2358 (license license:perl-license)))
2360 (define-public perl-catalyst-runtime
2362 (name "perl-catalyst-runtime")
2367 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2368 "Catalyst-Runtime-" version ".tar.gz"))
2371 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2372 (build-system perl-build-system)
2374 `(("perl-test-fatal" ,perl-test-fatal)))
2376 `(("perl-cgi-simple" ,perl-cgi-simple)
2377 ("perl-cgi-struct" ,perl-cgi-struct)
2378 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2379 ("perl-class-date" ,perl-class-date)
2380 ("perl-class-load" ,perl-class-load)
2381 ("perl-data-dump" ,perl-data-dump)
2382 ("perl-http-body" ,perl-http-body)
2383 ("perl-http-message" ,perl-http-message)
2384 ("perl-json-maybexs" ,perl-json-maybexs)
2385 ("perl-libwww" ,perl-libwww)
2386 ("perl-module-pluggable" ,perl-module-pluggable)
2387 ("perl-moose" ,perl-moose)
2388 ("perl-moosex-emulate-class-accessor-fast"
2389 ,perl-moosex-emulate-class-accessor-fast)
2390 ("perl-moosex-getopt" ,perl-moosex-getopt)
2391 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2392 ("perl-namespace-clean" ,perl-namespace-clean)
2393 ("perl-path-class" ,perl-path-class)
2394 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2395 ("perl-plack" ,perl-plack)
2396 ("perl-plack-middleware-fixmissingbodyinredirect"
2397 ,perl-plack-middleware-fixmissingbodyinredirect)
2398 ("perl-plack-middleware-methodoverride"
2399 ,perl-plack-middleware-methodoverride)
2400 ("perl-plack-middleware-removeredundantbody"
2401 ,perl-plack-middleware-removeredundantbody)
2402 ("perl-plack-middleware-reverseproxy"
2403 ,perl-plack-middleware-reverseproxy)
2404 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2405 ("perl-safe-isa" ,perl-safe-isa)
2406 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2407 ("perl-text-simpletable" ,perl-text-simpletable)
2408 ("perl-tree-simple" ,perl-tree-simple)
2409 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2410 ("perl-try-tiny" ,perl-try-tiny)
2411 ("perl-uri" ,perl-uri)
2412 ("perl-uri-ws" ,perl-uri-ws)))
2413 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2414 (synopsis "The Catalyst Framework Runtime")
2415 (description "Catalyst is a modern framework for making web applications.
2416 It is designed to make it easy to manage the various tasks you need to do to
2417 run an application on the web, either by doing them itself, or by letting you
2418 \"plug in\" existing Perl modules that do what you need.")
2419 (license license:perl-license)))
2421 (define-public perl-catalyst-traitfor-request-proxybase
2423 (name "perl-catalyst-traitfor-request-proxybase")
2424 (version "0.000005")
2428 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2429 "Catalyst-TraitFor-Request-ProxyBase-"
2433 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2434 (build-system perl-build-system)
2436 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2437 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2438 ("perl-http-message" ,perl-http-message)
2439 ("perl-module-install" ,perl-module-install)))
2441 `(("perl-moose" ,perl-moose)
2442 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2443 ("perl-uri" ,perl-uri)))
2445 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2446 (synopsis "Replace request base with value passed by HTTP proxy")
2447 (description "This module is a Moose::Role which allows you more
2448 flexibility in your application's deployment configurations when deployed
2449 behind a proxy. Using this module, the request base ($c->req->base) is
2450 replaced with the contents of the X-Request-Base header.")
2451 (license license:perl-license)))
2453 (define-public perl-catalyst-view-download
2455 (name "perl-catalyst-view-download")
2460 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2461 "Catalyst-View-Download-" version ".tar.gz"))
2464 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2465 (build-system perl-build-system)
2467 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2468 ("perl-module-install" ,perl-module-install)
2469 ("perl-test-simple" ,perl-test-simple)
2470 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2471 ("perl-text-csv" ,perl-text-csv)
2472 ("perl-xml-simple" ,perl-xml-simple)))
2473 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2474 (synopsis "Download data in many formats")
2475 (description "The purpose of this module is to provide a method for
2476 downloading data into many supportable formats. For example, downloading a
2477 table based report in a variety of formats (CSV, HTML, etc.).")
2478 (license license:perl-license)))
2480 (define-public perl-catalyst-view-json
2482 (name "perl-catalyst-view-json")
2487 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2488 "Catalyst-View-JSON-" version ".tar.gz"))
2491 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2492 (build-system perl-build-system)
2494 `(("perl-module-install" ,perl-module-install)
2495 ("perl-yaml" ,perl-yaml)))
2497 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2498 ("perl-json-maybexs" ,perl-json-maybexs)
2499 ("perl-mro-compat" ,perl-mro-compat)))
2500 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2501 (synopsis "Catalyst JSON view")
2502 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2503 stash data in JSON format.")
2504 (license license:perl-license)))
2506 (define-public perl-catalyst-view-tt
2508 (name "perl-catalyst-view-tt")
2513 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2514 "Catalyst-View-TT-" version ".tar.gz"))
2517 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2518 (build-system perl-build-system)
2520 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2521 ("perl-class-accessor" ,perl-class-accessor)
2522 ("perl-data-dump" ,perl-data-dump)
2523 ("perl-mro-compat" ,perl-mro-compat)
2524 ("perl-path-class" ,perl-path-class)
2525 ("perl-template-timer" ,perl-template-timer)
2526 ("perl-template-toolkit" ,perl-template-toolkit)))
2527 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2528 (synopsis "Template View Class")
2529 (description "This module is a Catalyst view class for the Template
2531 (license license:perl-license)))
2533 (define-public perl-catalystx-component-traits
2535 (name "perl-catalystx-component-traits")
2540 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2541 "CatalystX-Component-Traits-" version ".tar.gz"))
2544 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2545 (build-system perl-build-system)
2547 `(("perl-moose" ,perl-moose)
2548 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2549 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2551 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2552 ("perl-class-load" ,perl-class-load)
2553 ("perl-moose" ,perl-moose)
2554 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2555 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2556 ("perl-list-moreutils" ,perl-list-moreutils)))
2557 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2558 (synopsis "Trait Loading and Resolution for Catalyst Components")
2559 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2560 Catalyst component base class that reads the optional \"traits\" parameter
2561 from app and component config and instantiates the component subclass with
2562 those traits using \"new_with_traits\" in MooseX::Traits from
2563 MooseX::Traits::Pluggable.")
2564 (license license:perl-license)))
2566 (define-public perl-catalystx-roleapplicator
2568 (name "perl-catalystx-roleapplicator")
2573 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2574 "CatalystX-RoleApplicator-" version ".tar.gz"))
2577 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2578 (build-system perl-build-system)
2580 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2581 ("perl-moose" ,perl-moose)
2582 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2583 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2584 (synopsis "Apply roles to Catalyst classes")
2585 (description "CatalystX::RoleApplicator applies roles to Catalyst
2586 application classes.")
2587 (license license:perl-license)))
2589 (define-public perl-catalystx-script-server-starman
2591 (name "perl-catalystx-script-server-starman")
2596 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2597 "CatalystX-Script-Server-Starman-"
2601 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2602 (build-system perl-build-system)
2604 `(("perl-module-install" ,perl-module-install)
2605 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2607 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2608 ("perl-moose" ,perl-moose)
2609 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2610 ("starman" ,starman)))
2611 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2612 (synopsis "Catalyst development server with Starman")
2613 (description "This module provides a Catalyst extension to replace the
2614 development server with Starman.")
2615 (license license:perl-license)))
2617 (define-public perl-cgi
2624 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2625 "CGI-" version ".tar.gz"))
2628 "1a9cylhqsm5icvbg09m21nj0xx4zy5gbk4p74npm1ch3qlryzyyr"))))
2629 (build-system perl-build-system)
2631 `(("perl-test-deep" ,perl-test-deep)
2632 ("perl-test-nowarnings" ,perl-test-nowarnings)
2633 ("perl-test-warn" ,perl-test-warn)))
2635 `(("perl-html-parser" ,perl-html-parser)))
2636 (home-page "https://metacpan.org/release/CGI")
2637 (synopsis "Handle Common Gateway Interface requests and responses")
2638 (description "CGI.pm is a stable, complete and mature solution for
2639 processing and preparing HTTP requests and responses. Major features include
2640 processing form submissions, file uploads, reading and writing cookies, query
2641 string generation and manipulation, and processing and preparing HTTP
2643 (license license:perl-license)))
2645 (define-public perl-cgi-formbuilder
2647 (name "perl-cgi-formbuilder")
2653 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2654 "CGI-FormBuilder-" version ".tar.gz"))
2657 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2658 (build-system perl-build-system)
2659 (inputs `(("perl-cgi" ,perl-cgi)))
2661 "https://metacpan.org/release/CGI-FormBuilder")
2663 "Generate and process stateful forms")
2665 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2666 form-based applications.")
2667 (license license:perl-license)))
2669 (define-public perl-cgi-session
2671 (name "perl-cgi-session")
2677 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2682 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2683 (build-system perl-build-system)
2685 `(("perl-module-build" ,perl-module-build)))
2686 (inputs `(("perl-cgi" ,perl-cgi)))
2688 "https://metacpan.org/release/CGI-Session")
2690 "Persistent session data in CGI applications")
2692 "@code{CGI::Session} provides modular session management system across
2694 (license license:perl-license)))
2696 (define-public perl-cgi-simple
2698 (name "perl-cgi-simple")
2703 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2704 "CGI-Simple-" version ".tar.gz"))
2706 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
2707 (build-system perl-build-system)
2709 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2710 ("perl-module-build" ,perl-module-build)
2711 ("perl-test-exception" ,perl-test-exception)
2712 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2713 (home-page "https://metacpan.org/release/CGI-Simple")
2714 (synopsis "CGI interface that is CGI.pm compliant")
2715 (description "CGI::Simple provides a relatively lightweight drop in
2716 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2717 parameter parsing, file upload, cookie handling and header generation.")
2718 (license license:perl-license)))
2720 (define-public perl-cgi-struct
2722 (name "perl-cgi-struct")
2727 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2728 "CGI-Struct-" version ".tar.gz"))
2731 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2732 (build-system perl-build-system)
2734 `(("perl-test-deep" ,perl-test-deep)))
2735 (home-page "https://metacpan.org/release/CGI-Struct")
2736 (synopsis "Build structures from CGI data")
2737 (description "This is a module for building structured data from CGI
2738 inputs, in a manner reminiscent of how PHP does.")
2739 (license license:bsd-2)))
2741 (define-public perl-datetime-format-http
2743 (name "perl-datetime-format-http")
2748 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2749 "DateTime-Format-HTTP-" version ".tar.gz"))
2752 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2753 (build-system perl-build-system)
2755 `(("perl-module-build" ,perl-module-build)))
2757 `(("perl-datetime" ,perl-datetime)
2758 ("perl-http-date" ,perl-http-date)))
2759 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2760 (synopsis "Date conversion routines")
2761 (description "This module provides functions that deal with the date
2762 formats used by the HTTP protocol.")
2763 (license license:perl-license)))
2765 (define-public perl-digest-md5-file
2767 (name "perl-digest-md5-file")
2772 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2773 "Digest-MD5-File-" version ".tar.gz"))
2776 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2777 (build-system perl-build-system)
2779 `(("perl-libwww" ,perl-libwww)))
2780 (home-page "https://metacpan.org/release/Digest-MD5-File")
2781 (synopsis "MD5 sums for files and urls")
2782 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2783 for files and urls.")
2784 (license license:perl-license)))
2786 (define-public perl-encode-locale
2788 (name "perl-encode-locale")
2793 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2797 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2798 (build-system perl-build-system)
2799 (license license:perl-license)
2800 (synopsis "Perl locale encoding determination")
2802 "The POSIX locale system is used to specify both the language
2803 conventions requested by the user and the preferred character set to
2804 consume and output. The Encode::Locale module looks up the charset and
2805 encoding (called a CODESET in the locale jargon) and arranges for the
2806 Encode module to know this encoding under the name \"locale\". It means
2807 bytes obtained from the environment can be converted to Unicode strings
2808 by calling Encode::encode(locale => $bytes) and converted back again
2809 with Encode::decode(locale => $string).")
2810 (home-page "https://metacpan.org/release/Encode-Locale")))
2812 (define-public perl-feed-find
2814 (name "perl-feed-find")
2818 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2819 "Feed-Find-" version ".tar.gz"))
2822 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2823 (build-system perl-build-system)
2825 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2828 (modify-phases %standard-phases
2829 (add-after 'unpack 'set-env
2830 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2832 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2833 ("perl-html-parser" ,perl-html-parser)
2834 ("perl-libwww" ,perl-libwww)
2835 ("perl-uri" ,perl-uri)))
2836 (home-page "https://metacpan.org/release/Feed-Find")
2837 (synopsis "Syndication feed auto-discovery")
2838 (description "@code{Feed::Find} implements feed auto-discovery for finding
2839 syndication feeds, given a URI. It will discover the following feed formats:
2840 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2841 (license license:perl-license)))
2843 (define-public perl-file-listing
2845 (name "perl-file-listing")
2850 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2854 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2855 (build-system perl-build-system)
2857 `(("perl-http-date" ,perl-http-date)))
2858 (license license:perl-license)
2859 (synopsis "Perl directory listing parser")
2861 "The File::Listing module exports a single function called parse_dir(),
2862 which can be used to parse directory listings.")
2863 (home-page "https://metacpan.org/release/File-Listing")))
2865 (define-public perl-finance-quote
2867 (name "perl-finance-quote")
2872 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2873 "Finance-Quote-" version ".tar.gz"))
2875 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
2876 (patches (search-patches
2877 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2878 (build-system perl-build-system)
2880 `(("perl-cgi" ,perl-cgi)
2881 ("perl-datetime" ,perl-datetime)
2882 ("perl-html-parser" ,perl-html-parser)
2883 ("perl-html-tableextract" ,perl-html-tableextract)
2884 ("perl-html-tree" ,perl-html-tree)
2885 ("perl-http-cookies" ,perl-http-cookies)
2886 ("perl-http-message" ,perl-http-message)
2887 ("perl-json" ,perl-json)
2888 ("perl-libwww" ,perl-libwww)
2889 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2890 ("perl-uri" ,perl-uri)))
2891 (home-page "https://metacpan.org/release/Finance-Quote")
2892 (synopsis "Stock and mutual fund quotes")
2894 "Finance::Quote gets stock quotes from various internet sources, including
2895 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2896 (license license:gpl2)))
2898 (define-public perl-gssapi
2900 (name "perl-gssapi")
2905 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2906 "GSSAPI-" version ".tar.gz"))
2909 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2910 (build-system perl-build-system)
2911 (inputs `(("gssapi" ,mit-krb5)))
2913 `(#:make-maker-flags
2914 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2915 (home-page "https://metacpan.org/release/GSSAPI")
2916 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2917 (description "This is a Perl extension for using GSSAPI C bindings as
2918 described in RFC 2744.")
2919 (license license:perl-license)))
2921 (define-public perl-html-element-extended
2923 (name "perl-html-element-extended")
2928 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2929 "HTML-Element-Extended-" version ".tar.gz"))
2932 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2933 (build-system perl-build-system)
2935 `(("perl-html-tree" ,perl-html-tree)))
2936 (home-page "https://metacpan.org/release/HTML-Element-Extended")
2937 (synopsis "Manipulate tables of HTML::Element")
2939 "HTML::Element::Extended is a Perl extension for manipulating a table
2940 composed of HTML::Element style components.")
2941 (license license:perl-license)))
2943 (define-public perl-html-form
2945 (name "perl-html-form")
2950 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
2951 "HTML-Form-" version ".tar.gz"))
2953 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
2954 (build-system perl-build-system)
2956 `(("perl-html-parser" ,perl-html-parser)
2957 ("perl-html-tagset" ,perl-html-tagset)
2958 ("perl-http-message" ,perl-http-message)
2959 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2960 ("perl-uri" ,perl-uri)))
2961 (home-page "https://metacpan.org/release/HTML-Form")
2962 (synopsis "Perl class representing an HTML form element")
2963 (description "Objects of the HTML::Form class represents a single HTML
2964 <form> ... </form> instance.")
2965 (license license:perl-license)))
2967 (define-public perl-html-scrubber
2969 (name "perl-html-scrubber")
2975 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2980 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
2981 (build-system perl-build-system)
2983 `(("perl-module-build" ,perl-module-build)
2984 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2985 ("perl-test-differences" ,perl-test-differences)
2986 ("perl-test-eol" ,perl-test-eol)
2987 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2988 ("perl-test-notabs" ,perl-test-notabs)))
2990 `(("perl-html-parser" ,perl-html-parser)))
2992 "https://metacpan.org/release/HTML-Scrubber")
2994 "Perl extension for scrubbing/sanitizing html")
2996 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2997 (license license:perl-license)))
2999 (define-public perl-html-lint
3001 (name "perl-html-lint")
3006 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3007 "HTML-Lint-" version ".tar.gz"))
3009 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
3010 (build-system perl-build-system)
3012 `(("perl-html-parser" ,perl-html-parser)
3013 ("perl-html-tagset" ,perl-html-tagset)
3014 ("perl-libwww" ,perl-libwww)))
3015 (home-page "https://metacpan.org/release/HTML-Lint")
3016 (synopsis "Check for HTML errors in a string or file")
3017 (description "HTML::Lint is a pure-Perl HTML parser and checker for
3018 syntactic legitmacy.")
3019 (license license:artistic2.0)))
3021 (define-public perl-html-tableextract
3023 (name "perl-html-tableextract")
3028 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
3029 "HTML-TableExtract-" version ".tar.gz"))
3032 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
3033 (build-system perl-build-system)
3035 `(("perl-html-element-extended" ,perl-html-element-extended)
3036 ("perl-html-parser" ,perl-html-parser)))
3037 (home-page "https://metacpan.org/release/HTML-TableExtract")
3038 (synopsis "Extract contents from HTML tables")
3040 "HTML::TableExtract is a Perl module for extracting the content contained
3041 in tables within an HTML document, either as text or encoded element trees.")
3042 (license license:perl-license)))
3044 (define-public perl-html-tree
3046 (name "perl-html-tree")
3051 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
3052 "HTML-Tree-" version ".tar.gz"))
3055 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
3056 (build-system perl-build-system)
3058 `(("perl-module-build" ,perl-module-build)
3059 ("perl-test-fatal" ,perl-test-fatal)))
3061 `(("perl-html-parser" ,perl-html-parser)
3062 ("perl-html-tagset" ,perl-html-tagset)
3063 ("perl-libwww" ,perl-libwww)))
3064 (home-page "https://metacpan.org/release/HTML-Tree")
3065 (synopsis "Work with HTML in a DOM-like tree structure")
3066 (description "This distribution contains a suite of modules for
3067 representing, creating, and extracting information from HTML syntax trees.")
3068 (license license:perl-license)))
3070 (define-public perl-html-parser
3072 (name "perl-html-parser")
3077 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
3081 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
3082 (build-system perl-build-system)
3084 `(("perl-html-tagset" ,perl-html-tagset)
3085 ("perl-http-message" ,perl-http-message)))
3086 (license license:perl-license)
3087 (synopsis "Perl HTML parser class")
3089 "Objects of the HTML::Parser class will recognize markup and separate
3090 it from plain text (alias data content) in HTML documents. As different
3091 kinds of markup and text are recognized, the corresponding event handlers
3093 (home-page "https://metacpan.org/release/HTML-Parser")))
3095 (define-public perl-html-tagset
3097 (name "perl-html-tagset")
3102 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
3106 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
3107 (build-system perl-build-system)
3108 (license license:perl-license)
3109 (synopsis "Perl data tables useful in parsing HTML")
3111 "The HTML::Tagset module contains several data tables useful in various
3112 kinds of HTML parsing operations.")
3113 (home-page "https://metacpan.org/release/HTML-Tagset")))
3115 (define-public perl-html-template
3117 (name "perl-html-template")
3121 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
3122 "HTML-Template-" version ".tar.gz"))
3125 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
3126 (build-system perl-build-system)
3128 `(("perl-cgi" ,perl-cgi)))
3129 (home-page "https://metacpan.org/release/HTML-Template")
3130 (synopsis "HTML-like templates")
3132 "This module attempts to make using HTML templates simple and natural.
3133 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
3134 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
3135 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
3136 these new tags is called a template. Using this module you fill in the values
3137 for the variables, loops and branches declared in the template. This allows
3138 you to separate design from the data.")
3139 (license license:perl-license)))
3141 (define-public perl-http-body
3143 (name "perl-http-body")
3148 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3149 "HTTP-Body-" version ".tar.gz"))
3152 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3153 (build-system perl-build-system)
3155 `(("perl-test-deep" ,perl-test-deep)))
3157 `(("perl-file-temp" ,perl-file-temp)
3158 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3159 (home-page "https://metacpan.org/release/HTTP-Body")
3160 (synopsis "HTTP Body Parser")
3161 (description "HTTP::Body parses chunks of HTTP POST data and supports
3162 application/octet-stream, application/json, application/x-www-form-urlencoded,
3163 and multipart/form-data.")
3164 (license license:perl-license)))
3166 (define-public perl-http-cookiejar
3168 (name "perl-http-cookiejar")
3173 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3174 "HTTP-CookieJar-" version ".tar.gz"))
3177 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
3178 (build-system perl-build-system)
3180 `(("perl-test-deep" ,perl-test-deep)
3181 ("perl-test-requires" ,perl-test-requires)
3182 ("perl-time-mock" ,perl-time-mock)
3183 ("perl-uri" ,perl-uri)))
3185 `(("perl-time-local" ,perl-time-local)
3186 ("perl-http-date" ,perl-http-date)))
3187 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3188 (synopsis "Minimalist HTTP user agent cookie jar")
3189 (description "This module implements a minimalist HTTP user agent cookie
3190 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3191 (license license:asl2.0)))
3193 (define-public perl-http-cookies
3195 (name "perl-http-cookies")
3200 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3204 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3205 (build-system perl-build-system)
3207 `(("perl-http-message" ,perl-http-message)))
3208 (license license:perl-license)
3209 (synopsis "Perl HTTP cookie jars")
3211 "The HTTP::Cookies class is for objects that represent a cookie jar,
3212 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3213 object knows about.")
3214 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3216 (define-public perl-http-daemon
3218 (name "perl-http-daemon")
3223 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3227 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3228 (build-system perl-build-system)
3230 `(("perl-http-message" ,perl-http-message)
3231 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3232 (license license:perl-license)
3233 (synopsis "Perl simple http server class")
3235 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3236 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3237 IO::Socket::INET, so you can perform socket operations directly on it too.")
3238 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3240 (define-public perl-http-date
3242 (name "perl-http-date")
3247 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Date-"
3251 "0awjdbz7x0jd5pna55dwxhs3k6xp3sw6b2zg3p2yndxxvya64p9n"))))
3252 (build-system perl-build-system)
3253 (license license:perl-license)
3254 (synopsis "Perl date conversion routines")
3256 "The HTTP::Date module provides functions that deal with date formats
3257 used by the HTTP protocol (and then some more).")
3258 (home-page "https://metacpan.org/release/HTTP-Date")))
3260 (define-public perl-http-lite
3262 (name "perl-http-lite")
3268 "mirror://cpan/authors/id/N/NE/NEILB/HTTP-Lite-"
3272 "0z77nflj8zdcfg70kc93glq5kmd6qxn2nf7h70x4xhfg25wkvr1q"))))
3273 (build-system perl-build-system)
3274 (native-inputs `(("perl-cgi" ,perl-cgi)))
3275 (home-page "https://metacpan.org/release/HTTP-Lite")
3276 (synopsis "Lightweight HTTP implementation")
3277 (description "@code{HTTP::Lite} is a stand-alone lightweight
3278 HTTP/1.1 implementation for perl. It is intended for use in
3279 situations where it is desirable to install the minimal number of
3280 modules to achieve HTTP support. @code{HTTP::Lite} is ideal for
3281 CGI (or mod_perl) programs or for bundling for redistribution with
3282 larger packages where only HTTP GET and POST functionality are
3283 necessary. @code{HTTP::Lite} is compliant with the Host header,
3284 necessary for name based virtual hosting, and supports proxies.
3285 Additionally, @code{HTTP::Lite} supports a callback to allow
3286 processing of request data as it arrives.")
3287 (license license:perl-license)))
3289 (define-public perl-http-message
3291 (name "perl-http-message")
3296 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3300 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3301 (build-system perl-build-system)
3303 `(("perl-try-tiny" ,perl-try-tiny)))
3305 `(("perl-encode-locale" ,perl-encode-locale)
3306 ("perl-http-date" ,perl-http-date)
3307 ("perl-io-html" ,perl-io-html)
3308 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3309 ("perl-uri" ,perl-uri)))
3310 (license license:perl-license)
3311 (synopsis "Perl HTTP style message")
3313 "An HTTP::Message object contains some headers and a content body.")
3314 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3316 (define-public perl-http-negotiate
3318 (name "perl-http-negotiate")
3323 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3327 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3328 (build-system perl-build-system)
3330 `(("perl-http-message" ,perl-http-message)))
3331 (license license:perl-license)
3332 (synopsis "Perl http content negotiation")
3334 "The HTTP::Negotiate module provides a complete implementation of the
3335 HTTP content negotiation algorithm specified in
3336 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3337 the selection of a preferred content representation based upon attributes
3338 of the negotiable variants and the value of the various Accept* header
3339 fields in the request.")
3340 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3342 (define-public perl-http-parser
3344 (name "perl-http-parser")
3349 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3350 "HTTP-Parser-" version ".tar.gz"))
3353 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3354 (build-system perl-build-system)
3356 `(("perl-http-message" ,perl-http-message)
3357 ("perl-uri" ,perl-uri)))
3358 (home-page "https://metacpan.org/release/HTTP-Parser")
3359 (synopsis "Parse HTTP/1.1 requests")
3360 (description "This is an HTTP request parser. It takes chunks of text as
3361 received and returns a @code{hint} as to what is required, or returns the
3362 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3364 (license license:perl-license)))
3366 (define-public perl-http-parser-xs
3368 (name "perl-http-parser-xs")
3373 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3374 "HTTP-Parser-XS-" version ".tar.gz"))
3377 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3378 (build-system perl-build-system)
3380 `(("perl-module-install" ,perl-module-install)))
3381 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3382 (synopsis "Fast HTTP request parser")
3383 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3385 (license license:perl-license)))
3387 (define-public perl-http-request-ascgi
3389 (name "perl-http-request-ascgi")
3394 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3395 "HTTP-Request-AsCGI-" version ".tar.gz"))
3398 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3399 (build-system perl-build-system)
3401 `(("perl-class-accessor" ,perl-class-accessor)
3402 ("perl-http-message" ,perl-http-message)))
3403 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3404 (synopsis "Set up a CGI environment from an HTTP::Request")
3405 (description "This module provides a convenient way to set up a CGI
3406 environment from an HTTP::Request.")
3407 (license license:perl-license)))
3409 (define-public perl-http-server-simple
3411 (name "perl-http-server-simple")
3416 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3417 "HTTP-Server-Simple-" version ".tar.gz"))
3420 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3421 (build-system perl-build-system)
3423 `(("perl-cgi" ,perl-cgi)))
3425 ;; See the discussion of a related tests issue at
3426 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3429 #:phases (modify-phases %standard-phases
3430 (add-before 'configure 'set-search-path
3432 ;; Work around "dotless @INC" build failure.
3434 (string-append (getcwd) ":"
3435 (getenv "PERL5LIB")))
3437 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3438 (synopsis "Lightweight HTTP server")
3439 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3440 no non-core module dependencies. It can be used for building a standalone
3441 http-based UI to your existing tools.")
3442 (license license:perl-license)))
3444 (define-public perl-http-tiny
3446 (name "perl-http-tiny")
3451 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3452 "HTTP-Tiny-" version ".tar.gz"))
3455 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3456 (build-system perl-build-system)
3458 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3459 ("perl-io-socket-ip" ,perl-io-socket-ip)
3460 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3461 ("perl-mozilla-ca" ,perl-mozilla-ca)
3462 ("perl-net-ssleay" ,perl-net-ssleay)))
3463 (home-page "https://metacpan.org/release/HTTP-Tiny")
3464 (synopsis "HTTP/1.1 client")
3465 (description "This is a very simple HTTP/1.1 client, designed for doing
3466 simple requests without the overhead of a large framework like LWP::UserAgent.
3467 It supports proxies and redirection. It also correctly resumes after EINTR.")
3468 (license license:perl-license)))
3470 (define-public perl-http-tinyish
3472 (name "perl-http-tinyish")
3478 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3483 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3484 (build-system perl-build-system)
3486 `(("perl-file-which" ,perl-file-which)
3487 ("perl-ipc-run3" ,perl-ipc-run3)))
3488 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3489 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3491 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3492 @code{HTTP::Tiny}, curl and wget.
3494 It provides an API compatible to HTTP::Tiny.")
3495 (license license:perl-license)))
3497 (define-public perl-io-html
3499 (name "perl-io-html")
3504 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3508 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3509 (build-system perl-build-system)
3510 (license license:perl-license)
3511 (synopsis "Perl module to open an HTML file with automatic charset detection")
3513 "IO::HTML provides an easy way to open a file containing HTML while
3514 automatically determining its encoding. It uses the HTML5 encoding sniffing
3515 algorithm specified in section 8.2.2.1 of the draft standard.")
3516 (home-page "https://metacpan.org/release/IO-HTML")))
3518 (define-public perl-io-socket-ip
3520 (name "perl-io-socket-ip")
3525 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3526 "IO-Socket-IP-" version ".tar.gz"))
3529 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
3530 (build-system perl-build-system)
3531 (native-inputs `(("perl-module-build" ,perl-module-build)))
3532 (home-page "https://metacpan.org/release/IO-Socket-IP")
3533 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3534 (description "This module provides a protocol-independent way to use IPv4
3535 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3536 (license license:perl-license)))
3538 (define-public perl-io-socket-ssl
3540 (name "perl-io-socket-ssl")
3544 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3545 "IO-Socket-SSL-" version ".tar.gz"))
3548 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3549 (patches (search-patches
3550 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3551 (build-system perl-build-system)
3553 `(("perl-net-ssleay" ,perl-net-ssleay)
3555 ("perl-uri" ,perl-uri)))
3556 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3558 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3559 necessary functionality into the familiar IO::Socket interface and providing
3560 secure defaults whenever possible. This way existing applications can be made
3561 SSL-aware without much effort, at least if you do blocking I/O and don't use
3563 (license license:perl-license)
3564 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3566 (define-public perl-libwww
3568 (name "perl-libwww")
3573 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3577 "0jh67946fwd33ap3xy8df0421d2mr6lmhalhkf1p7dx2b7fil9wf"))))
3578 (build-system perl-build-system)
3580 `(("perl-test-fatal" ,perl-test-fatal)
3581 ("perl-test-needs" ,perl-test-needs)
3582 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3584 `(("perl-encode-locale" ,perl-encode-locale)
3585 ("perl-file-listing" ,perl-file-listing)
3586 ("perl-html-parser" ,perl-html-parser)
3587 ("perl-http-cookies" ,perl-http-cookies)
3588 ("perl-http-daemon" ,perl-http-daemon)
3589 ("perl-http-date" ,perl-http-date)
3590 ("perl-http-message" ,perl-http-message)
3591 ("perl-http-negotiate" ,perl-http-negotiate)
3592 ("perl-net-http" ,perl-net-http)
3593 ("perl-try-tiny" ,perl-try-tiny)
3594 ("perl-uri" ,perl-uri)
3595 ("perl-www-robotrules" ,perl-www-robotrules)))
3596 (license license:perl-license)
3597 (synopsis "Perl modules for the WWW")
3599 "The libwww-perl collection is a set of Perl modules which provides a
3600 simple and consistent application programming interface to the
3601 World-Wide Web. The main focus of the library is to provide classes
3602 and functions that allow you to write WWW clients. The library also
3603 contains modules that are of more general use and even classes that
3604 help you implement simple HTTP servers.")
3605 (home-page "https://metacpan.org/release/libwww-perl")))
3607 (define-public perl-lwp-online
3609 (name "perl-lwp-online")
3615 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3619 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3620 (build-system perl-build-system)
3622 `(("perl-libwww" ,perl-libwww)
3623 ("perl-uri" ,perl-uri)))
3625 `(("perl-module-install" ,perl-module-install)))
3626 (home-page "https://metacpan.org/release/LWP-Online")
3627 (synopsis "Checks whether your process has access to the web")
3628 (description "This module attempts to answer, as accurately as it can, one
3629 of the nastiest technical questions there is: am I on the internet?
3631 A host of networking and security issues make this problem very difficult.
3632 There are firewalls, proxies (both well behaved and badly behaved). We might
3633 not have DNS. We might not have a network card at all!")
3634 (license license:perl-license)))
3636 (define-public perl-lwp-mediatypes
3638 (name "perl-lwp-mediatypes")
3643 "mirror://cpan/authors/id/O/OA/OALDERS/LWP-MediaTypes-"
3647 "1n8rg6csv3dsvymg06cmxipimr6cb1g9r903ghm1qsmiv89cl6wg"))))
3648 (build-system perl-build-system)
3650 `(("perl-test-fatal" ,perl-test-fatal)))
3651 (license license:perl-license)
3652 (synopsis "Perl module to guess the media type for a file or a URL")
3654 "The LWP::MediaTypes module provides functions for handling media (also
3655 known as MIME) types and encodings. The mapping from file extensions to
3656 media types is defined by the media.types file. If the ~/.media.types file
3657 exists it is used instead.")
3658 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3660 (define-public perl-lwp-protocol-https
3662 (name "perl-lwp-protocol-https")
3667 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3668 "LWP-Protocol-https-" version ".tar.gz"))
3671 "1rxrpwylfw1afah0nk96kgkwjbl2p1a7lwx50iipg8c4rx3cjb2j"))))
3672 (build-system perl-build-system)
3675 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3677 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3678 ("perl-libwww" ,perl-libwww)
3679 ;; Users should instead make sure SSL_ca_path is set properly.
3680 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3681 ("perl-net-http" ,perl-net-http)))
3682 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3683 (synopsis "HTTPS support for LWP::UserAgent")
3684 (description "The LWP::Protocol::https module provides support for using
3685 https schemed URLs with LWP.")
3686 (license license:perl-license)))
3688 (define-public perl-lwp-useragent-cached
3690 (name "perl-lwp-useragent-cached")
3695 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3696 "LWP-UserAgent-Cached-" version ".tar.gz"))
3699 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3700 (build-system perl-build-system)
3702 `(("perl-libwww" ,perl-libwww)))
3703 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3704 (synopsis "Simple caching for LWP::UserAgent")
3705 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3706 cache support. It returns responses from the local filesystem if available
3707 instead of making an HTTP request.")
3708 (license license:perl-license)))
3710 (define-public perl-lwp-useragent-determined
3712 (name "perl-lwp-useragent-determined")
3717 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3718 "LWP-UserAgent-Determined-" version ".tar.gz"))
3721 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3722 (build-system perl-build-system)
3724 `(("perl-libwww" ,perl-libwww)))
3725 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3726 (synopsis "Virtual browser that retries errors")
3727 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3728 except that when you use it to get a web page but run into a
3729 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3730 and retry a few times.")
3731 (license license:perl-license)))
3733 (define-public perl-lwpx-paranoidagent
3735 (name "perl-lwpx-paranoidagent")
3741 "mirror://cpan/authors/id/S/SA/SAXJAZMAN/lwp/LWPx-ParanoidAgent-"
3745 "0gfhw3jbs25yya2dryv8xvyn9myngcfcmsybj7gkq62fnznil16c"))))
3746 (build-system perl-build-system)
3748 `(("perl-libwww" ,perl-libwww)
3749 ;; Users should instead make sure SSL_ca_path is set properly.
3750 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3751 ("perl-net-dns" ,perl-net-dns)))
3752 (home-page "https://metacpan.org/release/LWPx-ParanoidAgent")
3753 (synopsis "Security enhanced subclass of LWP::UserAgent")
3754 (description "@code{LWPx::ParanoidAgent} is a class subclassing
3755 @code{LWP::UserAgent} but paranoid against attackers. Its purpose is
3756 to vet requests for a remote resource on behalf of a possibly
3757 malicious user. The class can do the same as @code{LWP::UserAgent},
3758 except that proxy support has been removed. Support for URI schemes
3759 is limited to http and https.")
3760 (license license:perl-license)))
3762 (define-public perl-net-amazon-s3
3764 (name "perl-net-amazon-s3")
3769 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3770 "Net-Amazon-S3-" version ".tar.gz"))
3773 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3774 (patches (search-patches
3775 "perl-net-amazon-s3-moose-warning.patch"))))
3776 (build-system perl-build-system)
3778 `(("perl-libwww" ,perl-libwww)
3779 ("perl-test-exception" ,perl-test-exception)))
3781 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3782 ("perl-datetime-format-http" ,perl-datetime-format-http)
3783 ("perl-digest-hmac" ,perl-digest-hmac)
3784 ("perl-digest-md5-file" ,perl-digest-md5-file)
3785 ("perl-file-find-rule" ,perl-file-find-rule)
3786 ("perl-http-date" ,perl-http-date)
3787 ("perl-http-message" ,perl-http-message)
3788 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3789 ("perl-mime-types" ,perl-mime-types)
3790 ("perl-moose" ,perl-moose)
3791 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3792 ("perl-moosex-types-datetime-morecoercions"
3793 ,perl-moosex-types-datetime-morecoercions)
3794 ("perl-path-class" ,perl-path-class)
3795 ("perl-regexp-common" ,perl-regexp-common)
3796 ("perl-term-encoding" ,perl-term-encoding)
3797 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3798 ("perl-uri" ,perl-uri)
3799 ("perl-xml-libxml" ,perl-xml-libxml)))
3800 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3801 (synopsis "Perl interface to Amazon S3")
3802 (description "This module provides a Perlish interface to Amazon S3.")
3803 (license license:perl-license)))
3805 (define-public perl-net-http
3807 (name "perl-net-http")
3812 "mirror://cpan/authors/id/O/OA/OALDERS/"
3813 "Net-HTTP-" version ".tar.gz"))
3816 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
3817 (build-system perl-build-system)
3819 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3820 ("perl-uri" ,perl-uri)))
3821 (license license:perl-license)
3822 (synopsis "Perl low-level HTTP connection (client)")
3824 "The Net::HTTP class is a low-level HTTP client. An instance of the
3825 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3826 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3828 (home-page "https://metacpan.org/release/Net-HTTP")))
3830 (define-public perl-net-server
3832 (name "perl-net-server")
3837 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3838 "Net-Server-" version ".tar.gz"))
3841 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3842 (build-system perl-build-system)
3843 (home-page "https://metacpan.org/release/Net-Server")
3844 (synopsis "Extensible Perl server engine")
3845 (description "Net::Server is an extensible, generic Perl server engine.
3846 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3847 It includes with it the ability to run as an inetd
3848 process (Net::Server::INET), a single connection server (Net::Server or
3849 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3850 server which maintains a constant number of preforked
3851 children (Net::Server::PreForkSimple), or as a managed preforking server which
3852 maintains the number of children based on server load (Net::Server::PreFork).
3853 In all but the inetd type, the server provides the ability to connect to one
3854 or to multiple server ports.")
3855 (license license:perl-license)))
3857 (define-public perl-net-smtp-ssl
3859 (name "perl-net-smtp-ssl")
3864 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3865 "Net-SMTP-SSL-" version ".tar.gz"))
3868 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3869 (build-system perl-build-system)
3871 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3872 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
3873 (synopsis "SSL support for Net::SMTP")
3874 (description "SSL support for Net::SMTP.")
3875 (license license:perl-license)))
3877 (define-public perl-plack
3884 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3885 "Plack-" version ".tar.gz"))
3888 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3889 (build-system perl-build-system)
3891 `(("perl-test-requires" ,perl-test-requires)
3892 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3894 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3895 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3896 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3897 ("perl-file-sharedir" ,perl-file-sharedir)
3898 ("perl-hash-multivalue" ,perl-hash-multivalue)
3899 ("perl-http-body" ,perl-http-body)
3900 ("perl-http-message" ,perl-http-message)
3901 ("perl-http-tiny" ,perl-http-tiny)
3902 ("perl-libwww" ,perl-libwww)
3903 ("perl-stream-buffered" ,perl-stream-buffered)
3904 ("perl-test-tcp" ,perl-test-tcp)
3905 ("perl-try-tiny" ,perl-try-tiny)
3906 ("perl-uri" ,perl-uri)))
3907 (home-page "https://metacpan.org/release/Plack")
3908 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3909 (description "Plack is a set of tools for using the PSGI stack. It
3910 contains middleware components, a reference server, and utilities for Web
3911 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3913 (license license:perl-license)))
3915 (define-public perl-plack-middleware-deflater
3917 (name "perl-plack-middleware-deflater")
3923 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
3924 "Plack-Middleware-Deflater-" version ".tar.gz"))
3927 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
3928 (build-system perl-build-system)
3930 `(("perl-module-install" ,perl-module-install)
3931 ("perl-test-requires" ,perl-test-requires)))
3933 `(("perl-plack" ,perl-plack)))
3934 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
3935 (synopsis "Compress response body with Gzip or Deflate")
3937 "Plack::Middleware::Deflater is a middleware to encode your response body
3938 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
3939 would save the bandwidth a little bit but should increase the Plack server
3940 load, so ideally you should handle this on the frontend reverse proxy
3942 (license license:perl-license)))
3944 (define-public perl-plack-middleware-fixmissingbodyinredirect
3946 (name "perl-plack-middleware-fixmissingbodyinredirect")
3951 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3952 "Plack-Middleware-FixMissingBodyInRedirect-"
3956 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3957 (build-system perl-build-system)
3959 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3960 ("perl-http-message" ,perl-http-message)
3961 ("perl-plack" ,perl-plack))) ;for Plack::Test
3963 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
3964 (synopsis "Plack::Middleware which sets body for redirect response")
3965 (description "This module sets the body in redirect response, if it's not
3967 (license license:perl-license)))
3969 (define-public perl-plack-middleware-methodoverride
3971 (name "perl-plack-middleware-methodoverride")
3976 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3977 "Plack-Middleware-MethodOverride-"
3980 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
3981 (build-system perl-build-system)
3983 `(("perl-module-build" ,perl-module-build)))
3985 `(("perl-plack" ,perl-plack)))
3986 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
3987 (synopsis "Override REST methods to Plack apps via POST")
3988 (description "This middleware allows for POST requests that pretend to be
3989 something else: by adding either a header named X-HTTP-Method-Override to the
3990 request, or a query parameter named x-tunneled-method to the URI, the client
3991 can say what method it actually meant.")
3992 (license license:perl-license)))
3994 (define-public perl-plack-middleware-removeredundantbody
3996 (name "perl-plack-middleware-removeredundantbody")
4001 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4002 "Plack-Middleware-RemoveRedundantBody-"
4005 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
4006 (build-system perl-build-system)
4008 `(("perl-plack" ,perl-plack)))
4010 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
4011 (synopsis "Plack::Middleware which removes body for HTTP response")
4012 (description "This module removes the body in an HTTP response if it's not
4014 (license license:perl-license)))
4016 (define-public perl-plack-middleware-reverseproxy
4018 (name "perl-plack-middleware-reverseproxy")
4023 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4024 "Plack-Middleware-ReverseProxy-"
4027 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
4028 (build-system perl-build-system)
4030 `(("perl-module-install" ,perl-module-install)))
4032 `(("perl-plack" ,perl-plack)))
4033 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
4034 (synopsis "Supports app to run as a reverse proxy backend")
4035 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
4036 which are changed by reverse-proxy. You can specify the reverse proxy address
4037 and stop fake requests using @code{enable_if} directive in your app.psgi.")
4038 (license license:perl-license)))
4040 (define-public perl-plack-test-externalserver
4042 (name "perl-plack-test-externalserver")
4047 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
4048 "Plack-Test-ExternalServer-" version ".tar.gz"))
4050 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
4051 (build-system perl-build-system)
4053 `(("perl-plack" ,perl-plack)))
4054 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
4055 (synopsis "Run HTTP tests on external live servers")
4056 (description "This module allows your to run your Plack::Test tests
4057 against an external server instead of just against a local application through
4058 either mocked HTTP or a locally spawned server.")
4059 (license license:perl-license)))
4061 (define-public perl-test-tcp
4063 (name "perl-test-tcp")
4068 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
4069 "Test-TCP-" version ".tar.gz"))
4071 (base32 "1djnaw1yli0kcd7azchqnp59l62f6mp13q50xyrjirpaxhd51j32"))))
4072 (build-system perl-build-system)
4074 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
4075 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
4076 (home-page "https://metacpan.org/release/Test-TCP")
4077 (synopsis "Testing TCP programs")
4078 (description "Test::TCP is test utilities for TCP/IP programs.")
4079 (license license:perl-license)))
4081 (define-public perl-test-www-mechanize
4083 (name "perl-test-www-mechanize")
4088 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
4089 "Test-WWW-Mechanize-" version ".tar.gz"))
4091 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
4092 (build-system perl-build-system)
4094 `(("perl-carp-assert-more" ,perl-carp-assert-more)
4095 ("perl-html-form" ,perl-html-form)
4096 ("perl-html-lint" ,perl-html-lint)
4097 ("perl-http-server-simple" ,perl-http-server-simple)
4098 ("perl-libwww" ,perl-libwww)
4099 ("perl-test-longstring" ,perl-test-longstring)
4100 ("perl-www-mechanize" ,perl-www-mechanize)))
4101 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
4102 (synopsis "Testing-specific WWW::Mechanize subclass")
4103 (description "Test::WWW::Mechanize is a subclass of the Perl module
4104 WWW::Mechanize that incorporates features for web application testing.")
4105 (license license:artistic2.0)))
4107 (define-public perl-test-www-mechanize-catalyst
4109 (name "perl-test-www-mechanize-catalyst")
4114 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
4115 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
4117 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
4118 (build-system perl-build-system)
4120 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
4121 ("perl-catalyst-plugin-session-state-cookie"
4122 ,perl-catalyst-plugin-session-state-cookie)
4123 ("perl-module-install" ,perl-module-install)
4124 ("perl-test-exception" ,perl-test-exception)
4125 ("perl-test-pod" ,perl-test-pod)
4126 ("perl-test-utf8" ,perl-test-utf8)))
4128 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4129 ("perl-class-load" ,perl-class-load)
4130 ("perl-libwww" ,perl-libwww)
4131 ("perl-moose" ,perl-moose)
4132 ("perl-namespace-clean" ,perl-namespace-clean)
4133 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4134 ("perl-www-mechanize" ,perl-www-mechanize)))
4135 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4136 (synopsis "Test::WWW::Mechanize for Catalyst")
4137 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4138 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4139 testing of Catalyst applications without needing to start up a web server.")
4140 (license license:perl-license)))
4142 (define-public perl-test-www-mechanize-psgi
4144 (name "perl-test-www-mechanize-psgi")
4149 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4150 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4153 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4154 (build-system perl-build-system)
4156 `(("perl-test-pod" ,perl-test-pod)))
4158 `(("perl-plack" ,perl-plack)
4159 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4160 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4161 (synopsis "Test PSGI programs using WWW::Mechanize")
4162 (description "PSGI is a specification to decouple web server environments
4163 from web application framework code. Test::WWW::Mechanize is a subclass of
4164 WWW::Mechanize that incorporates features for web application testing. The
4165 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4167 (license license:perl-license)))
4169 (define-public perl-uri
4175 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4176 "URI-" version ".tar.gz"))
4179 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4180 (build-system perl-build-system)
4183 `(("perl-test-needs" ,perl-test-needs)))
4184 (license license:perl-license)
4185 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4187 "The URI module implements the URI class. Objects of this class
4188 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4189 and updated by RFC 2732.")
4190 (home-page "https://metacpan.org/release/URI")))
4192 (define-public perl-uri-fetch
4194 (name "perl-uri-fetch")
4198 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4199 "URI-Fetch-" version ".tar.gz"))
4202 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4203 (build-system perl-build-system)
4205 `(#:tests? #f)) ; Tests require internet connection to succeed
4207 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4208 ("perl-libwww" ,perl-libwww)
4209 ("perl-uri" ,perl-uri)))
4210 (home-page "https://metacpan.org/release/URI-Fetch")
4211 (synopsis "Smart URI fetching/caching")
4212 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4213 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4214 and time-saving way.")
4215 (license license:perl-license)))
4217 (define-public perl-uri-find
4219 (name "perl-uri-find")
4220 (version "20160806")
4224 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4225 "URI-Find-" version ".tar.gz"))
4228 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4229 (build-system perl-build-system)
4231 `(("perl-module-build" ,perl-module-build)))
4233 `(("perl-uri" ,perl-uri)))
4234 (home-page "https://metacpan.org/release/URI-Find")
4235 (synopsis "Find URIs in arbitrary text")
4236 (description "This module finds URIs and URLs (according to what URI.pm
4237 considers a URI) in plain text. It only finds URIs which include a
4238 scheme (http:// or the like), for something a bit less strict, consider
4239 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4240 (license license:perl-license)))
4242 (define-public perl-uri-ws
4244 (name "perl-uri-ws")
4249 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4250 "URI-ws-" version ".tar.gz"))
4253 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4254 (build-system perl-build-system)
4256 `(("perl-uri" ,perl-uri)))
4257 (home-page "https://metacpan.org/release/URI-ws")
4258 (synopsis "WebSocket support for URI package")
4259 (description "With this module, the URI package provides the same set of
4260 methods for WebSocket URIs as it does for HTTP URIs.")
4261 (license license:perl-license)))
4263 (define-public perl-uri-template
4265 (name "perl-uri-template")
4269 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4273 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4274 (build-system perl-build-system)
4276 `(("perl-uri" ,perl-uri)))
4278 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4279 ("perl-test-pod" ,perl-test-pod)
4280 ("perl-module-install" ,perl-module-install)
4281 ("perl-json" ,perl-json)))
4282 (home-page "https://metacpan.org/release/URI-Template")
4283 (synopsis "Object for handling URI templates")
4284 (description "This perl module provides a wrapper around URI templates as described in
4286 (license license:perl-license)))
4288 (define-public perl-www-curl
4290 (name "perl-www-curl")
4295 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4297 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
4300 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4301 (build-system perl-build-system)
4303 '(#:tests? #f ;XXX: tests require network access
4305 #:phases (modify-phases %standard-phases
4306 (add-before 'configure 'set-search-path
4308 ;; Work around "dotless @INC" build failure.
4310 (string-append (getcwd) ":"
4311 (getenv "PERL5LIB")))
4314 `(("perl-module-install" ,perl-module-install)))
4315 (inputs `(("curl" ,curl)))
4316 (synopsis "Perl extension interface for libcurl")
4318 "This is a Perl extension interface for the libcurl file downloading
4320 (license license:perl-license)
4321 (home-page "https://metacpan.org/release/WWW-Curl")))
4323 (define-public perl-www-mechanize
4325 (name "perl-www-mechanize")
4330 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4331 "WWW-Mechanize-" version ".tar.gz"))
4333 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4334 (build-system perl-build-system)
4335 (native-inputs ;only for tests
4336 `(("perl-cgi" ,perl-cgi)
4337 ("perl-test-deep" ,perl-test-deep)
4338 ("perl-test-fatal" ,perl-test-fatal)
4339 ("perl-test-output" ,perl-test-output)
4340 ("perl-test-warnings" ,perl-test-warnings)))
4342 `(("perl-html-form" ,perl-html-form)
4343 ("perl-html-parser" ,perl-html-parser)
4344 ("perl-html-tree" ,perl-html-tree)
4345 ("perl-http-message" ,perl-http-message)
4346 ("perl-http-server-simple" ,perl-http-server-simple)
4347 ("perl-libwww" ,perl-libwww)
4348 ("perl-test-warn" ,perl-test-warn)
4349 ("perl-uri" ,perl-uri)))
4350 (home-page "https://metacpan.org/release/WWW-Mechanize")
4351 (synopsis "Web browsing in a Perl object")
4352 (description "WWW::Mechanize is a Perl module for stateful programmatic
4353 web browsing, used for automating interaction with websites.")
4354 (license license:perl-license)))
4356 (define-public perl-www-opensearch
4358 (name "perl-www-opensearch")
4362 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4363 "WWW-OpenSearch-" version ".tar.gz"))
4366 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4367 (build-system perl-build-system)
4369 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4370 ("perl-datetime" ,perl-datetime)
4371 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4372 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4373 ("perl-feed-find" ,perl-feed-find)
4374 ("perl-module-install" ,perl-module-install)
4375 ("perl-module-pluggable" ,perl-module-pluggable)
4376 ("perl-uri-fetch" ,perl-uri-fetch)
4377 ("perl-test-simple" ,perl-test-simple)
4378 ("perl-xml-atom" ,perl-xml-atom)
4379 ("perl-xml-rss" ,perl-xml-rss)))
4381 `(("perl-data-page" ,perl-data-page)
4382 ("perl-libwww" ,perl-libwww)
4383 ("perl-uri" ,perl-uri)
4384 ("perl-uri-template" ,perl-uri-template)
4385 ("perl-xml-feed" ,perl-xml-feed)
4386 ("perl-xml-libxml" ,perl-xml-libxml)))
4387 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4388 (synopsis "Search A9 OpenSearch compatible engines")
4390 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4391 http://opensearch.a9.com} compatible search engines.")
4392 (license license:perl-license)))
4394 (define-public perl-www-robotrules
4396 (name "perl-www-robotrules")
4401 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4405 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4406 (build-system perl-build-system)
4408 `(("perl-uri" ,perl-uri)))
4409 (license license:perl-license)
4410 (synopsis "Perl database of robots.txt-derived permissions")
4412 "The WWW::RobotRules module parses /robots.txt files as specified in
4413 \"A Standard for Robot Exclusion\", at
4414 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4415 /robots.txt file to forbid conforming robots from accessing parts of
4417 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4419 (define-public python-feedparser
4421 (name "python-feedparser")
4426 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4429 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4430 (build-system python-build-system)
4434 "https://github.com/kurtmckee/feedparser")
4435 (synopsis "Parse feeds in Python")
4437 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4438 CDF, Atom 0.3, and Atom 1.0 feeds.")
4439 (license (list license:bsd-2 ; source code
4440 license:freebsd-doc)))) ; documentation
4442 (define-public python2-feedparser
4443 (package-with-python2 python-feedparser))
4445 (define-public guix-data-service
4446 (let ((commit "d1c243f7fd8902f359ff06fb78dce663cf4297ce")
4449 (name "guix-data-service")
4450 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4454 (url "https://git.savannah.gnu.org/git/guix/data-service.git")
4456 (file-name (git-file-name name version))
4459 "1ji8d4vwmv7j9h7z96hvzi3zvik594yngjrdal37w13fbxy2v6sw"))))
4460 (build-system gnu-build-system)
4462 '(#:modules ((guix build utils)
4463 (guix build gnu-build-system)
4468 #:test-target "check-with-tmp-database"
4470 (modify-phases %standard-phases
4471 (add-before 'build 'set-GUILE_AUTO_COMPILE
4473 ;; To avoid errors relating to guild
4474 (setenv "GUILE_AUTO_COMPILE" "0")
4476 (add-after 'install 'wrap-executable
4477 (lambda* (#:key inputs outputs #:allow-other-keys)
4478 (let* ((out (assoc-ref outputs "out"))
4479 (bin (string-append out "/bin"))
4480 (guile (assoc-ref inputs "guile"))
4481 (guile-effective-version
4483 (open-pipe* OPEN_READ
4484 (string-append guile "/bin/guile")
4485 "-c" "(display (effective-version))")))
4486 (scm (string-append out "/share/guile/site/"
4487 guile-effective-version))
4488 (go (string-append out "/lib/guile/"
4489 guile-effective-version
4493 (simple-format (current-error-port)
4495 (string-append bin "/" file))
4496 (wrap-program (string-append bin "/" file)
4500 (map (lambda (input)
4502 (assoc-ref inputs input)
4507 `("GUILE_LOAD_PATH" ":" prefix
4508 (,scm ,(getenv "GUILE_LOAD_PATH")))
4509 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4510 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4516 (delete 'strip)))) ; As the .go files aren't compatible
4518 `(("guix" ,guile3.0-guix)
4519 ("guile-fibers" ,guile3.0-fibers)
4520 ("guile-json" ,guile3.0-json)
4521 ("guile-email" ,guile3.0-email)
4522 ("guile-squee" ,guile3.0-squee)
4523 ("ephemeralpg" ,ephemeralpg)
4524 ("util-linux" ,util-linux)
4525 ("postgresql" ,postgresql-11)
4526 ("sqitch" ,sqitch)))
4528 `(("guile" ,guile-3.0)
4529 ("autoconf" ,autoconf)
4530 ("automake" ,automake)
4531 ("emacs-minimal" ,emacs-minimal)
4532 ("emacs-htmlize" ,emacs-htmlize)
4533 ("pkg-config" ,pkg-config)))
4534 (synopsis "Store and provide data about GNU Guix")
4536 "The Guix Data Service stores data about GNU Guix, and provides this
4537 through a web interface. It supports listening to the guix-commits mailing
4538 list to find out about new revisions, then loads the data from these in to a
4539 PostgreSQL database.")
4540 (home-page "http://data.guix.gnu.org/")
4541 (license license:agpl3+))))
4543 (define-public gumbo-parser
4545 (name "gumbo-parser")
4550 (url "https://github.com/google/gumbo-parser")
4551 (commit (string-append "v" version))))
4552 (file-name (git-file-name name version))
4555 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4556 (build-system gnu-build-system)
4558 `(#:tests? #f)) ;tests require bundling googletest sources
4559 ;; The release tarball lacks the generated files.
4561 `(("autoconf" ,autoconf)
4562 ("automake" ,automake)
4563 ("libtool" ,libtool)))
4564 (home-page "https://github.com/google/gumbo-parser")
4565 (synopsis "HTML5 parsing library")
4567 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4568 a pure C99 library.")
4569 (license license:asl2.0)))
4571 (define-public uwsgi
4577 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4581 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4582 (build-system gnu-build-system)
4583 (outputs '("out" "python"))
4585 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4586 ;; But there is no obvious way to run the real tests.
4589 (modify-phases %standard-phases
4591 ;; Configuration is done by writing an ini file.
4592 (lambda* (#:key outputs #:allow-other-keys)
4593 (let* ((out (assoc-ref outputs "out"))
4594 (bindir (string-append out "/bin"))
4595 (plugindir (string-append out "/lib/uwsgi")))
4596 ;; The build phase outputs files to these directories directly.
4599 ;; XXX: Enable other plugins.
4600 (call-with-output-file "buildconf/guix.ini"
4602 (format port "[uwsgi]
4608 plugins = cgi,python
4610 " bindir plugindir))))
4611 (setenv "PROFILE" "guix")
4614 ;; Move plugins into their own output.
4615 (lambda* (#:key outputs #:allow-other-keys)
4616 (let* ((out (assoc-ref outputs "out"))
4617 (plugindir (string-append out "/lib/uwsgi"))
4618 (python-plugin (string-append
4619 plugindir "/python_plugin.so")))
4620 (install-file python-plugin
4622 (assoc-ref outputs "python") "/lib/uwsgi"))
4623 (delete-file python-plugin)
4626 `(("pkg-config" ,pkg-config)
4627 ("python" ,python-wrapper)))
4629 `(("jansson" ,jansson)
4630 ("libxml2" ,libxml2)
4631 ("libyaml" ,libyaml)
4632 ("openssl" ,openssl)
4636 ("python" ,python)))
4637 (home-page "https://uwsgi-docs.readthedocs.org/")
4638 (synopsis "Application container server")
4640 "uWSGI presents a complete stack for networked/clustered web applications,
4641 implementing message/object passing, caching, RPC and process management.
4642 It uses the uwsgi protocol for all the networking/interprocess communications.")
4643 (license license:gpl2+))) ; with linking exception
4652 (uri (string-append "https://github.com/stedolan/jq"
4653 "/releases/download/jq-" version
4654 "/jq-" version ".tar.gz"))
4656 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4657 (modules '((guix build utils)))
4660 ;; Remove bundled onigurama.
4661 (delete-file-recursively "modules")
4664 `(("oniguruma" ,oniguruma)))
4666 `(;; TODO fix gems to generate documentation
4668 ;;("bundler" ,bundler)
4669 ("valgrind" ,valgrind)))
4670 (build-system gnu-build-system)
4671 (home-page "https://stedolan.github.io/jq/")
4672 (synopsis "Command-line JSON processor")
4673 (description "jq is like sed for JSON data – you can use it to slice and
4674 filter and map and transform structured data with the same ease that sed, awk,
4675 grep and friends let you play with text. It is written in portable C. jq can
4676 mangle the data format that you have into the one that you want with very
4677 little effort, and the program to do so is often shorter and simpler than
4679 (license (list license:expat license:cc-by3.0))))
4681 (define-public uhttpmock
4688 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4689 "uhttpmock-" version ".tar.xz"))
4691 (base32 "0glyx07kxc3s3cx5vp30kfgscl9q6bghcq1zysfyxm24r0h6j58p"))))
4692 (build-system glib-or-gtk-build-system)
4694 `(("gobject-introspection" ,gobject-introspection)
4696 ("glib-networking" ,glib-networking)
4697 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4698 ("pkg-config" ,pkg-config)))
4700 `(("libsoup" ,libsoup)))
4701 (home-page "https://gitlab.com/groups/uhttpmock")
4702 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4704 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4705 HTTPS. It provides a library, libuhttpmock, which implements recording and
4706 playback of HTTP request/response traces.")
4707 (license license:lgpl2.1+)))
4712 (version "2012-05-31")
4716 "http://www.home.unix-ag.org/simon/woof-"
4720 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4721 (build-system trivial-build-system)
4723 '(#:modules ((guix build utils))
4726 (use-modules (guix build utils))
4727 (let* ((source (assoc-ref %build-inputs "source"))
4728 (out (assoc-ref %outputs "out"))
4729 (bin (string-append out "/bin"))
4730 (python (assoc-ref %build-inputs "python")))
4732 (with-directory-excursion bin
4733 (copy-file source "woof")
4734 (patch-shebang "woof" (list (string-append python "/bin")))
4735 (chmod "woof" #o555))
4737 (inputs `(("python" ,python-2)))
4738 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4739 (synopsis "Single file web server")
4740 (description "Woof (Web Offer One File) is a small simple web server that
4741 can easily be invoked on a single file. Your partner can access the file with
4742 tools they trust (e.g. wget).")
4743 (license license:gpl2+)))
4745 (define netsurf-buildsystem
4747 (name "netsurf-buildsystem")
4752 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4753 "buildsystem-" version ".tar.gz"))
4756 "0alsmaig9ln8dgllb3z63gq90fiz75jz0ic71fi0k0k898qix14k"))))
4757 (build-system gnu-build-system)
4758 (inputs `(("perl" ,perl)))
4760 '(#:make-flags (list (string-append "PREFIX=" %output))
4761 #:tests? #f ;no tests
4762 #:phases (modify-phases %standard-phases
4765 (home-page "https://www.netsurf-browser.org")
4766 (synopsis "Build system for the Netsurf project")
4768 "This package provides the shared build system for Netsurf project
4770 (license license:expat)))
4772 (define netsurf-buildsystem-arguments
4773 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4774 "CC=gcc" "BUILD_CC=gcc"
4775 ,(string-append "PREFIX=" %output)
4776 ,(string-append "NSSHARED="
4777 (assoc-ref %build-inputs
4778 "netsurf-buildsystem")
4779 "/share/netsurf-buildsystem"))
4780 #:test-target "test"
4781 #:phases (modify-phases %standard-phases
4782 (delete 'configure))))
4784 (define-public libparserutils
4786 (name "libparserutils")
4791 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4792 name "-" version "-src.tar.gz"))
4795 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4796 (build-system gnu-build-system)
4798 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4799 ("pkg-config" ,pkg-config)
4800 ("perl" ,perl))) ;for test harness
4801 (arguments netsurf-buildsystem-arguments)
4802 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
4803 (synopsis "Parser building library")
4805 "LibParserUtils is a library for building efficient parsers, written in
4806 C. It is developed as part of the NetSurf project.")
4807 (license license:expat)))
4809 (define-public hubbub
4816 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4817 "libhubbub-" version "-src.tar.gz"))
4820 "1dimfyblmym98qa1b80c5jslv2zk8r44xbdrgrsrw1n9wr9y4yly"))
4821 (patches (search-patches "hubbub-sort-entities.patch"))))
4822 (build-system gnu-build-system)
4824 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4825 ("pkg-config" ,pkg-config)
4826 ("doxygen" ,doxygen)
4827 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4830 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4831 (arguments netsurf-buildsystem-arguments)
4832 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
4833 (synopsis "HTML5 compliant parsing library")
4835 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4836 parse both valid and invalid web content. It is developed as part of the
4838 (license license:expat)))
4840 (define-public ikiwiki
4843 (version "3.20200202.3")
4848 (url "git://git.ikiwiki.info/")
4850 (file-name (git-file-name name version))
4853 "0fphyqzlk9y8v9s89ypsmrnbhyymzrpc2w0liy0n4knc7kk2pabq"))
4856 ;; The POT file requires write permission during the build
4858 (chmod "po/ikiwiki.pot" #o644)
4860 (build-system perl-build-system)
4863 (modify-phases %standard-phases
4864 (add-after 'patch-source-shebangs 'patch-Makefiles
4866 (substitute* "Makefile.PL"
4867 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
4868 (with-directory-excursion "po"
4869 (substitute* "Makefile"
4870 (("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
4872 (add-before 'build 'set-modification-times
4873 ;; The wiki '--refresh' steps, which are executed during
4874 ;; the check phase, require recent timestamps on files in
4875 ;; the 'doc' and 'underlays' directories.
4877 (invoke "find" "doc" "underlays" "-type" "f" "-exec"
4880 (add-before 'check 'pre-check
4881 (lambda* (#:key inputs #:allow-other-keys)
4882 ;; Six tests use IPC::Run. For these tests the PERL5LIB
4883 ;; variable is needed in the runtime environment and also
4884 ;; in the search path list in the setup file.
4886 '("t/aggregate-file.t" "t/git-cgi.t" "t/git-untrusted.t"
4887 "t/passwordauth.t" "t/relativity.t" "t/wrapper-environ.t")
4888 (("(.*)\"perl\"(.*)$" _ prefix suffix)
4889 (string-append prefix "qw(env), 'PERL5LIB='.$ENV{PERL5LIB}"
4890 ", qw(perl)" suffix))
4891 (("(.*) PERL5LIB=(.*) perl(.*)$" _ prefix middle suffix)
4892 (string-append prefix "), 'PERL5LIB='.$ENV{PERL5LIB}.':"
4893 middle "', qw(perl" suffix))
4894 (("(.*)setup(.* )getcwd(.*)$" _ prefix middle suffix)
4895 (string-append prefix "setup" middle
4896 "$ENV{PERL5LIB}.':'.getcwd" suffix))
4897 (("^ENV(.*): '(.*)$" _ middle suffix)
4898 (string-append "ENV" middle
4899 ": '$ENV{PERL5LIB}:" suffix)))
4900 ;; XDG_DATA_DIRS is needed by the podcast.t test.
4901 (setenv "XDG_DATA_DIRS"
4902 (string-append (assoc-ref inputs "shared-mime-info")
4904 ;; CC is needed by IkiWiki/Wrapper.pm.
4907 (add-after 'install 'wrap-programs
4908 (lambda* (#:key outputs #:allow-other-keys)
4909 (let* ((out (assoc-ref outputs "out"))
4910 (bin (string-append out "/bin/"))
4911 (path (getenv "PERL5LIB")))
4912 (for-each (lambda (file)
4914 `("PERL5LIB" ":" prefix (,path))))
4919 ("gettext" ,gettext-minimal)
4920 ("subversion" ,subversion)
4924 ("mercurial" ,mercurial)))
4926 `(("python" ,python-wrapper)
4927 ("perl-authen-passphrase" ,perl-authen-passphrase)
4928 ("perl-cgi-simple" ,perl-cgi-simple)
4929 ("perl-db-file" ,perl-db-file)
4930 ("perl-file-mimeinfo" ,perl-file-mimeinfo)
4931 ("perl-html-tagset" ,perl-html-tagset)
4932 ("perl-image-magick" ,perl-image-magick)
4933 ("perl-ipc-run" ,perl-ipc-run)
4934 ("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
4935 ("perl-xml-feed" ,perl-xml-feed)
4936 ("perl-xml-sax" ,perl-xml-sax)
4937 ("perl-xml-twig" ,perl-xml-twig)
4940 `(("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
4941 ("perl-cgi-session" ,perl-cgi-session)
4942 ("perl-html-parser" ,perl-html-parser)
4943 ("perl-html-scrubber" ,perl-html-scrubber)
4944 ("perl-html-template" ,perl-html-template)
4945 ("perl-json" ,perl-json)
4946 ("perl-mail-sendmail" ,perl-mail-sendmail)
4947 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4948 ("perl-timedate" ,perl-timedate)
4949 ("perl-uri" ,perl-uri)
4950 ("perl-xml-simple" ,perl-xml-simple)
4951 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4952 (home-page "https://ikiwiki.info/")
4953 (synopsis "Wiki compiler, capable of generating HTML")
4955 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4956 pages, but also incorporating dynamic features like a web based editor and
4958 (license license:gpl2+)))
4960 (define-public libwapcaplet
4962 (name "libwapcaplet")
4967 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4968 "libwapcaplet-" version "-src.tar.gz"))
4971 "0p0c2q9lsj4vs97aa7vjllfhw33zv3dpysdkjblzhib6dpfs2alv"))))
4972 (build-system gnu-build-system)
4974 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4975 ("pkg-config" ,pkg-config)
4976 ("check" ,check))) ;for tests
4977 (arguments netsurf-buildsystem-arguments)
4978 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
4979 (synopsis "String internment library")
4981 "LibWapcaplet provides a reference counted string internment system
4982 designed to store small strings and allow rapid comparison of them. It is
4983 developed as part of the Netsurf project.")
4984 (license license:expat)))
4986 (define-public libcss
4993 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4994 "libcss-" version "-src.tar.gz"))
4997 "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
4998 (build-system gnu-build-system)
5000 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5001 ("pkg-config" ,pkg-config)
5003 (propagated-inputs ;needed for libcss.pc
5004 `(("libparserutils" ,libparserutils)
5005 ("libwapcaplet" ,libwapcaplet)))
5006 (arguments netsurf-buildsystem-arguments)
5007 (home-page "https://www.netsurf-browser.org/projects/libcss/")
5008 (synopsis "CSS parser and selection library")
5010 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
5011 written in C. It is developed as part of the NetSurf project.")
5012 (license license:expat)))
5014 (define-public libcyaml
5022 (url "https://github.com/tlsa/libcyaml")
5023 (commit (string-append "v" version))))
5024 (file-name (git-file-name name version))
5026 (base32 "0h5ydyqdl8kzh526np3jsi0pm7ks16nh1hjkdsjcd6pacw7y6i6z"))))
5027 (build-system gnu-build-system)
5030 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5031 (string-append "CC=gcc"))
5033 (modify-phases %standard-phases
5034 (delete 'configure) ; no configure script
5038 (invoke "make" "test"))))))
5040 `(("libyaml" ,libyaml)))
5042 `(("pkg-config", pkg-config)))
5043 (synopsis "C library for reading and writing YAML")
5045 "LibCYAML is a C library written in ISO C11 for reading and writing
5046 structured YAML documents. The fundamental idea behind CYAML is to allow
5047 applications to construct schemas which describe both the permissible
5048 structure of the YAML documents to read/write, and the C data structure(s)
5049 in which the loaded data is arranged in memory.")
5050 (home-page "https://github.com/tlsa/libcyaml")
5051 (license license:isc)))
5053 (define-public libdom
5060 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5061 "libdom-" version "-src.tar.gz"))
5064 "0jpg5hx3y0mdxk5szd47dyijqimd2321brbqk2620pp5f4j0gvlq"))))
5065 (build-system gnu-build-system)
5067 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5068 ("pkg-config" ,pkg-config)
5069 ("perl" ,perl) ;for test harness
5070 ("perl-libxml" ,perl-libxml)
5071 ("perl-switch" ,perl-switch)
5072 ("perl-xml-xpath" ,perl-xml-xpath)))
5074 `(("libparserutils" ,libparserutils)
5075 ("libwapcaplet" ,libwapcaplet)))
5077 `(("expat" ,expat) ;needed for headers and linking
5078 ("hubbub" ,hubbub))) ;for libdom.pc
5080 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
5081 ,@netsurf-buildsystem-arguments))
5082 (home-page "https://www.netsurf-browser.org/projects/libdom/")
5083 (synopsis "Implementation of the W3C DOM")
5085 "LibDOM is an implementation of the W3C DOM, written in C. It is
5086 developed as part of the NetSurf project.")
5087 (license license:expat)))
5089 (define-public libsvgtiny
5096 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5097 name "-" version "-src.tar.gz"))
5100 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
5101 (build-system gnu-build-system)
5103 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5104 ("pkg-config" ,pkg-config)
5105 ("gperf" ,gperf-3.0)))
5107 `(("libwapcaplet" ,libwapcaplet)))
5109 `(("libdom" ,libdom))) ;for libsvgtiny.pc
5110 (arguments netsurf-buildsystem-arguments)
5111 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
5112 (synopsis "Library for parsing SVG files")
5114 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
5115 which can be rendered easily, as defined in
5116 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
5118 (license license:expat)))
5120 (define-public libnsbmp
5127 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5128 name "-" version "-src.tar.gz"))
5131 "0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r"))))
5132 (build-system gnu-build-system)
5134 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5135 (arguments netsurf-buildsystem-arguments)
5136 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
5137 (synopsis "Decoding library for BMP and ICO files")
5139 "Libnsbmp is a decoding library for BMP and ICO image file formats,
5140 written in C. It is developed as part of the NetSurf project.")
5141 (license license:expat)))
5143 (define-public libnsgif
5150 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5151 name "-" version "-src.tar.gz"))
5154 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
5155 (build-system gnu-build-system)
5157 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5158 (arguments netsurf-buildsystem-arguments)
5159 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
5160 (synopsis "Decoding library for GIF files")
5162 "Libnsgif is a decoding library for the GIF image file format, written in
5163 C. It is developed as part of the NetSurf project.")
5164 (license license:expat)))
5166 (define-public libnslog
5173 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5174 "libnslog-" version "-src.tar.gz"))
5177 "1l2k0kdv9iv18svhv360vszjavhl4g09cp8a8yb719pgsylxr67w"))))
5178 (build-system gnu-build-system)
5180 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5181 ("pkg-config" ,pkg-config)
5182 ("check" ,check) ; For tests
5185 (arguments netsurf-buildsystem-arguments)
5186 (home-page "https://www.netsurf-browser.org/")
5187 (synopsis "Logging library")
5189 "Libnslog provides a category-based logging library which supports
5190 complex logging filters, multiple log levels, and provides context through to
5191 client applications. It is developed as part of the NetSurf project.")
5192 (license license:expat)))
5194 (define-public libnsutils
5201 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5202 name "-" version "-src.tar.gz"))
5205 "1w5fyy2i60a3v3if3iqcn9sy9sycx6966rcx53v85gja6hb6a33r"))))
5206 (build-system gnu-build-system)
5208 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5209 (arguments netsurf-buildsystem-arguments)
5210 (home-page "https://www.netsurf-browser.org/")
5211 (synopsis "Utility library for NetSurf")
5213 "Libnsutils provides a small number of useful utility routines. It is
5214 developed as part of the NetSurf project.")
5215 (license license:expat)))
5217 (define-public libnspsl
5224 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5225 "libnspsl-" version "-src.tar.gz"))
5228 "02q28n5i6fwqcz1nn167rb71k1q95mx38mfah6zi1lvqrc2q5ifk"))))
5229 (build-system gnu-build-system)
5231 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5232 (arguments netsurf-buildsystem-arguments)
5233 (home-page "https://www.netsurf-browser.org/")
5234 (synopsis "Library to generate a static Public Suffix List")
5236 "Libnspsl is a library to generate a static code representation of the
5237 Public Suffix List. It is developed as part of the NetSurf project.")
5238 (license license:expat)))
5240 (define-public nsgenbind
5247 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5248 "nsgenbind-" version "-src.tar.gz"))
5251 "1cqwgwca49jvmijwiyaab2bwxicgxdrnlpinf8kp3nha02nm73ad"))))
5252 (build-system gnu-build-system)
5254 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5258 (substitute-keyword-arguments netsurf-buildsystem-arguments
5259 ((#:make-flags flags)
5260 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5261 (home-page "https://www.netsurf-browser.org/")
5262 (synopsis "Generate JavaScript to DOM bindings")
5264 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5265 w3c webidl files and a binding configuration file.")
5266 (license license:expat)))
5268 (define-public netsurf
5275 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5276 "releases/source/netsurf-" version "-src.tar.gz"))
5279 "0plra64c5xyiw12yx2q13brxsv8apmany97zqa2lcqckw4ll8j1n"))
5280 (patches (search-patches "netsurf-system-utf8proc.patch"
5281 "netsurf-y2038-tests.patch"
5282 "netsurf-longer-test-timeout.patch"
5283 "netsurf-message-timestamp.patch"))))
5284 (build-system glib-or-gtk-build-system)
5286 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5287 ("nsgenbind" ,nsgenbind)
5288 ("libidn" ,libidn) ;only for tests
5291 ("perl-html-parser" ,perl-html-parser)
5292 ("pkg-config" ,pkg-config)
5297 ("openssl" ,openssl)
5298 ("utf8proc" ,utf8proc)
5300 ("libjpeg" ,libjpeg-turbo)
5303 ("libnsbmp" ,libnsbmp)
5304 ("libnsgif" ,libnsgif)
5305 ("libnslog" ,libnslog)
5306 ("libnspsl" ,libnspsl)
5307 ("libnsutils" ,libnsutils)
5308 ("libsvgtiny" ,libsvgtiny)
5309 ("miscfiles" ,miscfiles)))
5311 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5313 ,(string-append "PREFIX=" %output)
5314 ,(string-append "NSSHARED="
5315 (assoc-ref %build-inputs
5316 "netsurf-buildsystem")
5317 "/share/netsurf-buildsystem"))
5318 #:test-target "test"
5319 #:modules ((ice-9 rdelim)
5323 ,@%glib-or-gtk-build-system-modules)
5325 (modify-phases %standard-phases
5327 (add-after 'build 'adjust-welcome
5329 (substitute* "frontends/gtk/res/welcome.html"
5330 ;; Close some XHTML tags.
5331 (("<(img|input)([^>]*)>" _ tag contents)
5332 (string-append "<" tag contents " />"))
5333 ;; Increase freedom.
5334 ((" open source") ", free software")
5335 ;; Prefer a more privacy-respecting default search engine.
5336 (("www.google.co.uk") "www.duckduckgo.com/html")
5337 (("Google Search") "DuckDuckGo Search")
5338 (("name=\"btnG\"") ""))
5339 ;; Remove default links so it doesn't seem we're endorsing them.
5340 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5342 ;; Leave the DOCTYPE header as is.
5343 (display (read-line in 'concat) out)
5345 (let rec ((sxml (xml->sxml in
5346 #:default-entity-handler
5348 (string-append "<ENTITY>"
5349 (symbol->string name)
5351 ;; We'd like to use sxml-match here, but it can't
5352 ;; match against generic tag symbols...
5354 (`(div (@ (class "links")) . ,rest)
5363 (add-before 'check 'patch-check
5364 (lambda* (#:key inputs #:allow-other-keys)
5365 (substitute* '("test/bloom.c" "test/hashtable.c")
5366 (("/usr/share/dict/words")
5367 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5369 (add-after 'install 'install-more
5370 (lambda* (#:key outputs #:allow-other-keys)
5371 (let* ((out (assoc-ref outputs "out"))
5372 (desktop (string-append out "/share/applications/"
5373 "netsurf.desktop")))
5374 (mkdir-p (dirname desktop))
5375 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5377 (substitute* desktop
5378 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
5379 (("netsurf.png") (string-append out "/share/netsurf/"
5381 (install-file "docs/netsurf-gtk.1"
5382 (string-append out "/share/man/man1/"))
5384 (home-page "https://www.netsurf-browser.org")
5385 (synopsis "Web browser")
5387 "NetSurf is a lightweight web browser that has its own layout and
5388 rendering engine entirely written from scratch. It is small and capable of
5389 handling many of the web standards in use today.")
5390 (license license:gpl2+)))
5392 (define-public surfraw
5399 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5400 "2de827b2786ef2fe43b6f07913ca7b7f/"
5401 "surfraw-" version ".tar.gz"))
5403 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5404 (build-system gnu-build-system)
5407 (modify-phases %standard-phases
5408 (add-before 'configure 'patch-perl
5409 (lambda* (#:key inputs #:allow-other-keys)
5410 (let ((perl (assoc-ref inputs "perl")))
5411 (substitute* "surfraw.IN"
5413 (string-append perl "/bin/perl -e")))
5415 (add-after 'install 'compress-elvi.1sr
5416 (lambda* (#:key outputs #:allow-other-keys)
5417 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5418 ;; but elvi.1sr does not get compressed by our manpage phase.
5419 (let* ((out (assoc-ref %outputs "out"))
5420 (man (string-append out "/share/man/man1")))
5421 (with-directory-excursion man
5422 (invoke "gzip" "elvi.1sr"))))))))
5425 ("perl-www-opensearch" ,perl-www-opensearch)
5426 ("perl-html-parser" ,perl-html-parser)
5427 ("perl-libwww" ,perl-libwww)))
5428 (synopsis "Unix command line interface to the www")
5429 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5430 provides a unix command line interface to a variety of popular www search engines
5431 and similar services.")
5432 (home-page "https://surfraw.alioth.debian.org/")
5433 (license license:public-domain)))
5435 (define-public darkhttpd
5442 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5443 version ".tar.bz2"))
5446 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5447 (build-system gnu-build-system)
5449 `(#:make-flags '("CC=gcc")
5450 #:tests? #f ; No test suite
5452 (modify-phases %standard-phases
5455 (lambda* (#:key outputs #:allow-other-keys)
5456 (install-file "darkhttpd"
5457 (string-append (assoc-ref outputs "out")
5460 (synopsis "Simple static web server")
5461 (description "darkhttpd is a simple static web server. It is
5462 standalone and does not need inetd or ucspi-tcp. It does not need any
5463 config files---you only have to specify the www root.")
5464 (home-page "https://unix4lyfe.org/darkhttpd/")
5465 (license license:isc)))
5467 (define-public goaccess
5473 (uri (string-append "http://tar.goaccess.io/goaccess-"
5477 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5478 (modules '((guix build utils)))
5480 (substitute* "src/error.h"
5481 (("__DATE__") "\"1970-01-01\"")
5482 (("__TIME__") "\"00:00:00\""))
5484 (build-system gnu-build-system)
5486 ;; TODO: Add dependency on geoip-tools.
5488 ("ncurses" ,ncurses)))
5490 `(("pkg-config" ,pkg-config)))
5491 (home-page "https://goaccess.io")
5492 (synopsis "Analyze Web server logs in real time")
5494 "GoAccess is a real-time web log analyzer and interactive viewer that
5495 runs in a terminal or through your browser. It provides fast and valuable
5496 HTTP statistics for system administrators that require a visual server report
5498 (license license:x11)))
5500 (define-public hitch
5504 (home-page "https://hitch-tls.org/")
5507 (uri (string-append home-page "source/hitch-" version ".tar.gz"))
5510 "1nnzqqigfw78nqhp81a72x1s8d6v49ayw4w5df0zzm2cb1jgv95i"))))
5511 (build-system gnu-build-system)
5513 `(#:phases (modify-phases %standard-phases
5514 (add-before 'check 'pre-check
5516 ;; Most tests attempts to access hitch-tls.org which is
5517 ;; unavailable in the build container. Run them against
5518 ;; a dummy local web server instead.
5519 (for-each (lambda (test)
5521 (("\\[hitch-tls\\.org\\]:80")
5522 "[localhost]:8000")))
5523 (find-files "src/tests" "\\.sh$"))
5524 (system "python3 -m http.server &")
5526 ;; The build container does not reap zombie processes,
5527 ;; causing stop_hitch to hang indefinitely while waiting
5528 ;; for the process to terminate because 'kill -0' never
5529 ;; succeeds. Use a different test to see whether the
5530 ;; process has shut down.
5531 (substitute* "src/tests/hitch_test.sh"
5532 (("kill -0 \"\\$HITCH_PID\"")
5533 "$(ps -p $HITCH_PID -o state= | grep -qv '^Z$')"))
5536 `(("pkg-config" ,pkg-config)
5542 ("python" ,python)))
5545 ("openssl" ,openssl)))
5546 (synopsis "Scalable TLS proxy")
5548 "Hitch is a performant TLS proxy based on @code{libev}. It terminates
5549 SSL/TLS connections and forwards the unencrypted traffic to a backend such
5550 as a web server. It is designed to handle many thousand connections on
5551 multicore machines.")
5552 (license license:bsd-2)))
5554 (define-public httptunnel
5561 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5562 name "-" version ".tar.gz"))
5565 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5566 (modules '((guix build utils)))
5568 ;; Remove non-free IETF RFC documentation.
5569 (delete-file-recursively "doc")
5571 (build-system gnu-build-system)
5574 (modify-phases %standard-phases
5575 ;; The default configure phase tries to pass environment variables as
5576 ;; command-line arguments, which confuses the ./configure script.
5578 (lambda* (#:key outputs #:allow-other-keys)
5579 (let* ((out (assoc-ref outputs "out")))
5580 (setenv "CONFIG_SHELL" (which "bash"))
5581 (invoke "./configure"
5582 (string-append "--prefix=" out))))))))
5583 (home-page "http://www.nocrew.org/software/httptunnel.html")
5584 (synopsis "Tunnel data connections through HTTP requests")
5585 (description "httptunnel creates a bidirectional virtual data connection
5586 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5587 useful for users behind restrictive firewalls. As long as Web traffic is
5588 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5589 tools like SSH (Secure Shell) to reach the outside world.")
5590 (license license:gpl2+)))
5592 (define-public stunnel
5599 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5602 (base32 "08kb4gi9fzqngrczykvba6xhaxhq9m4wmdbhxvgrva5rasrvz13k"))))
5603 (build-system gnu-build-system)
5606 `(("iproute" ,iproute)
5608 ("procps" ,procps)))
5609 (inputs `(("openssl" ,openssl)))
5612 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5614 (modify-phases %standard-phases
5615 (add-after 'unpack 'patch-output-directories
5617 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5618 (substitute* (list "Makefile.in"
5620 "tools/Makefile.in")
5622 (string-append "/doc/" ,name "-" ,version)))
5624 (add-before 'check 'patch-tests
5626 (substitute* "tests/make_test"
5628 (string-append (which "sh") " ")))
5630 (home-page "https://www.stunnel.org")
5631 (synopsis "TLS proxy for clients or servers")
5632 (description "Stunnel is a proxy designed to add TLS encryption
5633 functionality to existing clients and servers without any changes in the
5634 programs' code. Its architecture is optimized for security, portability, and
5635 scalability (including load-balancing), making it suitable for large
5637 (license license:gpl2+)))
5639 (define-public varnish
5642 (home-page "https://varnish-cache.org/")
5646 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5649 "1hkn98vbxk7rc1sd08367qn6rcv8wkxgwbmm1x46y50vi0nvldpn"))))
5650 (build-system gnu-build-system)
5652 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5653 ;; Use absolute path of GCC so it's found at runtime.
5654 (string-append "PTHREAD_CC="
5655 (assoc-ref %build-inputs "gcc")
5657 "--localstatedir=/var")
5659 (modify-phases %standard-phases
5660 (add-after 'unpack 'use-absolute-file-names
5662 (substitute* '("bin/varnishtest/vtc_varnish.c"
5663 "bin/varnishtest/vtc_process.c"
5664 "bin/varnishd/mgt/mgt_vcc.c"
5665 "bin/varnishtest/tests/u00014.vtc")
5666 (("/bin/sh") (which "sh")))
5667 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5668 (("rm -rf") (string-append (which "rm") " -rf")))
5669 (substitute* "bin/varnishtest/vtc_main.c"
5670 (("/bin/rm") (which "rm")))
5672 (add-before 'install 'patch-Makefile
5674 (substitute* "Makefile"
5675 ;; Do not create /var/varnish during install.
5676 (("^install-data-am: install-data-local") "install-data-am: "))
5678 (add-after 'install 'wrap-varnishd
5679 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5680 ;; environment variables to avoid propagating them to profiles.
5681 (lambda* (#:key inputs outputs #:allow-other-keys)
5682 (let* ((out (assoc-ref outputs "out"))
5683 (varnishd (string-append out "/sbin/varnishd"))
5684 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5685 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5686 (wrap-program varnishd
5687 ;; Add binutils to PATH so gcc finds the 'as' executable.
5688 `("PATH" ":" prefix (,PATH))
5689 ;; Make sure 'crti.o' et.al is found.
5690 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5693 `(("pkg-config" ,pkg-config)
5694 ("python-sphinx" ,python-sphinx)
5695 ("rst2man" ,python-docutils)))
5697 `(("jemalloc" ,jemalloc)
5698 ("ncurses" ,ncurses)
5700 ("python" ,python-wrapper)
5701 ("readline" ,readline)))
5702 (synopsis "Web application accelerator")
5704 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5705 reverse proxy and load balancer. You install it in front of any server that
5706 speaks HTTP and configure it to cache the contents through an extensive
5707 configuration language.")
5708 (license (list license:bsd-2 ;main distribution
5709 license:zlib ;lib/libvgz/*
5710 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5711 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5713 (define-public varnish-modules
5715 (name "varnish-modules")
5716 (home-page "https://github.com/varnish/varnish-modules")
5720 (uri (string-append "https://github.com/varnish/varnish-modules"
5721 "/releases/download/varnish-modules-" version
5722 "/varnish-modules-" version ".tar.gz"))
5725 "1ph5bplsip4rycql1c2hgbvmrwbgcrgv2ldgfp7saxxbsv5cpcds"))))
5726 (build-system gnu-build-system)
5728 `(("pkg-config" ,pkg-config)))
5730 `(("python" ,python)
5731 ("varnish" ,varnish)))
5732 (synopsis "Collection of Varnish modules")
5734 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5735 cache server, extending the @acronym{VCL, Varnish Configuration Language} with
5736 additional capabilities.")
5737 (license license:bsd-2)))
5739 (define-public xinetd
5742 ;; This is the maintenance fork currently used by openSUSE and Debian.
5743 (version "2.3.15.4")
5748 (url "https://github.com/openSUSE/xinetd")
5750 (file-name (git-file-name name version))
5752 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5753 (build-system gnu-build-system)
5755 `(#:configure-flags '("--with-loadavg")
5756 #:tests? #f)) ; no tests
5758 `(("autoconf" ,autoconf)
5759 ("automake" ,automake)
5760 ("libtool" ,libtool)
5761 ("pkg-config" ,pkg-config)))
5762 (home-page "https://github.com/openSUSE/xinetd")
5763 (synopsis "Internet services daemon")
5764 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5765 listens for incoming requests over a network and launches the appropriate
5766 service for that request. Requests are made using port numbers as identifiers
5767 and xinetd usually launches another daemon to handle the request. It can be
5768 used to start services with both privileged and non-privileged port numbers.")
5769 (license (license:fsf-free "file://COPYRIGHT"))))
5771 (define-public tidy-html
5779 (url "https://github.com/htacg/tidy-html5")
5781 (file-name (git-file-name name version))
5784 "0w175c5d1babq0w1zzdzw9gl6iqbgyq58v8587s7srp05y3hwy9k"))))
5785 (build-system cmake-build-system)
5787 "static")) ; 1.3MiB of .a files
5789 `(#:tests? #f ; no tests available
5790 #:build-type "Release"
5792 (modify-phases %standard-phases
5793 (add-after 'install 'move-static-libraries
5794 (lambda* (#:key outputs #:allow-other-keys)
5795 ;; Move static libraries to the "static" output.
5796 (let* ((out (assoc-ref outputs "out"))
5797 (lib (string-append out "/lib"))
5798 (static (assoc-ref outputs "static"))
5799 (slib (string-append static "/lib")))
5801 (for-each (lambda (file)
5802 (install-file file slib)
5804 (find-files lib "\\.a$"))
5807 `(("libxslt" ,libxslt)))
5808 (home-page "http://www.html-tidy.org/")
5809 (synopsis "HTML Tidy with HTML5 support")
5811 "Tidy is a console application which corrects and cleans up
5812 HTML and XML documents by fixing markup errors and upgrading
5813 legacy code to modern standards.
5815 Tidy also provides @code{libtidy}, a C static and dynamic library that
5816 developers can integrate into their applications to make use of the
5817 functions of Tidy.")
5818 (license license:bsd-3)))
5820 (define-public hiawatha
5827 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5828 "hiawatha-" version ".tar.gz"))
5829 (modules '((guix build utils)))
5831 ;; We use packaged libraries, so delete the bundled copies.
5832 (for-each delete-file-recursively
5833 (list "extra/nghttp2.tgz" "mbedtls"))
5836 (base32 "09wpgilbv13zal71v9lbsqr8c3fignygadykpd1p1pb8blb5vn3r"))))
5837 (build-system cmake-build-system)
5839 `(#:tests? #f ; no tests included
5840 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5841 (string-append "-DENABLE_HTTP2=on")
5842 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
5843 (string-append "-DENABLE_TOMAHAWK=on")
5844 (string-append "-DLOG_DIR=/var/log/hiawatha")
5845 (string-append "-DPID_DIR=/run")
5846 (string-append "-DWEBROOT_DIR="
5847 (assoc-ref %outputs "out")
5848 "/share/hiawatha/html")
5849 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
5851 (modify-phases %standard-phases
5852 (add-after 'unpack 'install-no-empty-directories
5854 (substitute* "CMakeLists.txt"
5855 (("install\\(DIRECTORY DESTINATION" match)
5856 (string-append "#" match)))
5858 (add-after 'install 'wrap
5859 (lambda* (#:key inputs outputs #:allow-other-keys)
5860 ;; Make sure 'hiawatha' finds 'mbedtls'.
5861 (let* ((out (assoc-ref outputs "out"))
5862 (sbin (string-append out "/sbin"))
5863 (mbed (assoc-ref inputs "mbedtls-apache")))
5864 (wrap-program (string-append sbin "/hiawatha")
5865 `("PATH" ":" prefix (,mbed)))))))))
5867 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
5868 `(("libxslt" ,libxslt)
5869 ("libxml2" ,libxml2)
5870 ("mbedtls-apache" ,mbedtls-for-hiawatha)
5871 ("nghttp2" ,nghttp2 "lib")
5873 (home-page "https://www.hiawatha-webserver.org")
5874 (synopsis "Webserver with focus on security")
5876 "Hiawatha has been written with security in mind.
5877 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5879 (license license:gpl2)))
5881 (define-public python-httpbin
5883 (name "python-httpbin")
5888 (uri (pypi-uri "httpbin" version))
5891 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5892 (build-system python-build-system)
5894 `(("python-decorator" ,python-decorator)
5895 ("python-flask" ,python-flask)
5896 ("python-itsdangerous" ,python-itsdangerous)
5897 ("python-markupsafe" ,python-markupsafe)
5898 ("python-six" ,python-six)))
5899 (home-page "https://github.com/Runscope/httpbin")
5900 (synopsis "HTTP request and response service")
5901 (description "Testing an HTTP Library can become difficult sometimes.
5902 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5903 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5905 (license license:isc)))
5907 (define-public python2-httpbin
5908 (package-with-python2 python-httpbin))
5910 (define-public python-pytest-httpbin
5912 (name "python-pytest-httpbin")
5917 (uri (pypi-uri "pytest-httpbin" version))
5920 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5921 (build-system python-build-system)
5923 `(("python-six" ,python-six)
5924 ("python-httpbin" ,python-httpbin)
5925 ("python-pytest" ,python-pytest)))
5927 "https://github.com/kevin1024/pytest-httpbin")
5929 "Test your HTTP library against a local copy of httpbin")
5931 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5932 into your tests. It automatically starts up a HTTP server in a separate thread running
5933 @code{httpbin} and provides your test with the URL in the fixture.")
5934 (license license:expat)))
5936 (define-public python2-pytest-httpbin
5937 (package-with-python2 python-pytest-httpbin))
5939 (define-public http-parser
5941 (name "http-parser")
5943 (home-page "https://github.com/nodejs/http-parser")
5947 (uri (git-reference (url home-page)
5948 (commit (string-append "v" version))))
5950 (base32 "1vda4dp75pjf5fcph73sy0ifm3xrssrmf927qd1x8g3q46z0cv6c"))
5951 (file-name (git-file-name name version))
5955 ;; Treat an empty port (e.g. `http://hostname:/`) when parsing
5956 ;; URLs as if no port were specified. This patch is applied
5957 ;; to Fedora's http-parser and to libgit2's bundled version.
5960 "https://src.fedoraproject.org/rpms/http-parser/raw/"
5961 "e89b4c4e2874c19079a5a1a2d2ccc61b551aa289/"
5962 "f/0001-url-treat-empty-port-as-default.patch"))
5965 "0pbxf2nq9pcn299k2b2ls8ldghaqln9glnp79gi57mamx4iy0f6g")))))))
5966 (build-system gnu-build-system)
5968 `(#:test-target "test"
5970 (list (string-append "PREFIX="
5971 (assoc-ref %outputs "out"))
5973 ,@(if (%current-target-system)
5977 (modify-phases %standard-phases
5978 ,@(match (%current-system)
5980 '((add-before 'check 'apply-assertion.patch
5981 (lambda* (#:key inputs #:allow-other-keys)
5982 (let ((patch (assoc-ref inputs "assertion.patch")))
5983 (invoke "patch" "-p1" "-i" patch)
5986 ,@(if (%current-target-system)
5987 '((replace 'configure
5988 (lambda* (#:key target #:allow-other-keys)
5989 (substitute* (find-files "." "Makefile")
5991 (string-append "CC=" target "-gcc\n"))
5993 (string-append "AR=" target "-ar\n")))
5995 '((delete 'configure))))))
5997 `(,@(match (%current-system)
5999 ;; A fix for <https://issues.guix.gnu.org/40604> which in turn
6000 ;; breaks i686-linux builds.
6001 `(("assertion.patch"
6002 ,@(search-patches "http-parser-fix-assertion-on-armhf.patch"))))
6004 (synopsis "HTTP request/response parser for C")
6005 (description "This is a parser for HTTP messages written in C. It parses
6006 both requests and responses. The parser is designed to be used in
6007 high-performance HTTP applications. It does not make any syscalls nor
6008 allocations, it does not buffer data, it can be interrupted at anytime.
6009 Depending on your architecture, it only requires about 40 bytes of data per
6010 message stream (in a web server that is per connection).")
6011 (license license:expat)))
6013 (define-public python-httpretty
6015 (name "python-httpretty")
6020 (uri (pypi-uri "httpretty" version))
6022 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
6023 (build-system python-build-system)
6025 `(("python-six" ,python-six)))
6027 `(("python-coverage" ,python-coverage)
6028 ("python-httplib2" ,python-httplib2)
6029 ("python-mock" ,python-mock)
6030 ("python-nose" ,python-nose)
6031 ("python-nose-randomly" ,python-nose-randomly)
6032 ("python-rednose" ,python-rednose)
6033 ("python-requests" ,python-requests)
6034 ("python-sure" ,python-sure)
6035 ("python-tornado" ,python-tornado)
6036 ("python-urllib3" ,python-urllib3)))
6037 (home-page "https://httpretty.readthedocs.io")
6038 (synopsis "HTTP client mock for Python")
6039 (description "@code{httpretty} is a helper for faking web requests,
6040 inspired by Ruby's @code{fakeweb}.")
6041 (license license:expat)))
6050 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
6051 version "/jo-" version ".tar.gz"))
6054 "0r6yb8pjsbcqfyac4240a0sj93pb91fv385bpk395cx3f5bcj9fy"))))
6055 (build-system gnu-build-system)
6056 (home-page "https://github.com/jpmens/jo")
6057 (synopsis "Output JSON from a shell")
6058 (description "jo is a command-line utility to create JSON objects or
6059 arrays. It creates a JSON string on stdout from words provided as
6060 command-line arguments or read from stdin.")
6061 (license (list license:gpl2+
6062 license:expat)))) ; json.c, json.h
6064 (define-public python-internetarchive
6066 (name "python-internetarchive")
6072 (url "https://github.com/jjjake/internetarchive")
6073 (commit (string-append "v" version))))
6074 (file-name (git-file-name name version))
6077 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
6078 (modules '((guix build utils)))
6081 ;; Python 3.7 removed `_pattern_type'.
6082 (for-each (lambda (file)
6085 (("^import re\n" line)
6086 (string-append line "re._pattern_type = re.Pattern\n"))))
6087 (find-files "." "\\.py$"))
6089 (build-system python-build-system)
6092 (modify-phases %standard-phases
6094 (add-after 'install 'check
6095 (lambda* (#:key inputs outputs #:allow-other-keys)
6096 (add-installed-pythonpath inputs outputs)
6097 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
6098 ":" (getenv "PATH")))
6099 (invoke "py.test" "-v" "-k"
6101 ;; These tests attempt to make a connection to
6102 ;; an external web service.
6103 "not test_get_item_with_kwargs"
6104 " and not test_ia")))))))
6106 `(("python-requests" ,python-requests)
6107 ("python-jsonpatch" ,python-jsonpatch-0.4)
6108 ("python-docopt" ,python-docopt)
6109 ("python-clint" ,python-clint)
6110 ("python-six" ,python-six)
6111 ("python-schema" ,python-schema-0.5)
6112 ("python-backports-csv" ,python-backports-csv)))
6114 `(("python-pytest" ,python-pytest)
6115 ("python-pytest-capturelog" ,python-pytest-capturelog)
6116 ("python-responses" ,python-responses)))
6117 (home-page "https://github.com/jjjake/internetarchive")
6118 (synopsis "Command-line interface to archive.org")
6119 (description "@code{ia} is a command-line tool for using
6120 @url{archive.org} from the command-line. It also emplements the
6121 internetarchive python module for programmatic access to archive.org.")
6122 (license license:agpl3+)))
6124 (define-public python-clf
6125 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
6132 (uri (pypi-uri "clf" version))
6135 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
6136 (build-system python-build-system)
6138 `(("python-docopt" ,python-docopt)
6139 ("python-pygments" ,python-pygments)
6140 ("python-requests" ,python-requests)
6141 ("python-nose" ,python-nose)
6142 ("python-lxml" ,python-lxml)
6143 ("python-pyaml" ,python-pyaml)))
6148 (uri (string-append "https://raw.githubusercontent.com"
6149 "/ncrocfer/clf/" commit-test-clf
6153 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
6156 (modify-phases %standard-phases
6157 (add-after 'unpack 'get-tests
6159 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
6164 ;; These tests require an Internet connection.
6165 "--exclude=test_browse"
6166 "--exclude=test_command"
6167 "--exclude=test_search"))))))
6168 (home-page "https://github.com/ncrocfer/clf")
6169 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
6170 (description "@code{clf} is a command line tool for searching code
6171 snippets on @url{https://commandlinefu.com}.")
6172 (license license:expat))))
6174 (define-public python2-clf
6175 (package-with-python2 python-clf))
6177 (define-public rss-bridge
6180 (version "2019-09-12")
6185 (url "https://github.com/RSS-Bridge/rss-bridge")
6187 (file-name (git-file-name name version))
6189 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
6190 (build-system trivial-build-system)
6192 '(#:modules ((guix build utils))
6195 (use-modules (guix build utils)
6197 (let* ((out (assoc-ref %outputs "out"))
6198 (share-rss-bridge (string-append out "/share/rss-bridge")))
6199 (mkdir-p share-rss-bridge)
6200 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
6202 (home-page "https://github.com/RSS-Bridge/rss-bridge")
6203 (synopsis "Generate Atom feeds for social networking websites")
6204 (description "rss-bridge generates Atom feeds for social networking
6205 websites lacking feeds. Supported websites include Facebook, Twitter,
6206 Instagram and YouTube.")
6207 (license (list license:public-domain
6208 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
6210 (define-public linkchecker
6212 (name "linkchecker")
6218 (url "https://github.com/linkchecker/linkchecker")
6219 (commit (string-append "v" version))))
6221 (search-patches "linkchecker-tests-require-network.patch"))
6222 (file-name (git-file-name name version))
6225 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
6226 (build-system python-build-system)
6228 `(("python2-dnspython" ,python2-dnspython)
6229 ("python2-pyxdg" ,python2-pyxdg)
6230 ("python2-requests" ,python2-requests)))
6232 `(("gettext" ,gettext-minimal)
6233 ("python2-pytest" ,python2-pytest)
6234 ("python2-miniboa" ,python2-miniboa)
6235 ("python2-parameterized" ,python2-parameterized)))
6237 `(#:python ,python-2
6239 (modify-phases %standard-phases
6240 ;; Move the 'check phase to after 'install, so that the installed
6241 ;; library can be used
6243 (add-after 'install 'check
6244 (lambda* (#:key outputs #:allow-other-keys)
6245 (let ((out (assoc-ref outputs "out")))
6246 ;; Set PYTHONPATH so that the installed linkchecker is used
6247 (setenv "PYTHONPATH"
6248 (string-append out "/lib/python2.7/site-packages"
6250 (getenv "PYTHONPATH")))
6251 ;; Remove this directory to avoid it being used when running
6253 (delete-file-recursively "linkcheck")
6255 (invoke "py.test" "tests"))
6257 (home-page "https://linkcheck.github.io/linkchecker")
6258 (synopsis "Check websites for broken links")
6259 (description "LinkChecker is a website validator. It checks for broken
6260 links in websites. It is recursive and multithreaded providing output in
6261 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
6262 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
6264 (license (list license:gpl2+
6265 license:bsd-2 ; linkcheck/better_exchook2.py
6266 license:bsd-3 ; linkcheck/colorama.py
6267 license:psfl ; linkcheck/gzip2.py
6268 license:expat)))) ; linkcheck/mem.py
6270 (define-public cadaver
6277 (uri (string-append "http://www.webdav.org/cadaver/"
6278 name "-" version ".tar.gz"))
6281 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
6282 (build-system gnu-build-system)
6283 ;; TODO: Unbundle libneon and make build succeed with new neon.
6285 `(#:configure-flags (list "--with-ssl=openssl")
6286 #:tests? #f)) ;No tests included
6288 `(("gettext" ,gettext-minimal)
6289 ("pkg-config" ,pkg-config)
6290 ("intltool" ,intltool)))
6293 ("openssl" ,openssl-1.0)))
6294 (home-page "http://www.webdav.org/cadaver/")
6295 (synopsis "Command-line WebDAV client")
6297 "Cadaver is a command-line WebDAV client for Unix. It supports
6298 file upload, download, on-screen display, namespace operations (move/copy),
6299 collection creation and deletion, and locking operations.")
6300 (license license:gpl2)))
6302 (define-public python-py-ubjson
6304 (name "python-py-ubjson")
6309 (uri (pypi-uri "py-ubjson" version))
6312 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
6313 (build-system python-build-system)
6314 (home-page "https://github.com/Iotic-Labs/py-ubjson")
6315 (synopsis "Universal Binary JSON encoder/decoder")
6317 "Py-ubjson is a Python module providing an Universal Binary JSON
6318 encoder/decoder based on the draft-12 specification for UBJSON.")
6319 (license license:asl2.0)))
6321 (define-public java-tomcat
6323 (name "java-tomcat")
6327 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6328 version "/src/apache-tomcat-" version "-src.tar.gz"))
6331 "15lwq3clf21hzk7mma70sffpxjqn8ww5mjq6zhmwcp4m17m22z26"))
6332 (modules '((guix build utils)))
6333 ;; Delete bundled jars.
6336 (for-each delete-file (find-files "." "\\.jar$"))
6337 (for-each delete-file (find-files "." "\\.bat$"))
6339 (build-system ant-build-system)
6341 `(("java-commons-daemon" ,java-commons-daemon)
6342 ("java-ecj" ,java-ecj)))
6344 `(#:build-target "deploy"
6345 #:tests? #f; requires downloading some files.
6347 (modify-phases %standard-phases
6348 (add-after 'unpack 'prevent-download
6350 ;; This directory must exist
6352 ;; We patch build.xml so it doesn't download any dependency, because
6353 ;; we already have all of them.
6354 (substitute* "build.xml"
6355 (("download-compile,") "")
6356 (("depends=\"validate\"") "depends=\"build-prepare\"")
6357 ((",download-validate") ""))
6359 (add-after 'unpack 'strip-timestamps
6361 (substitute* "build.xml"
6362 (("<filter token=\"YEAR\" value=.*")
6363 "<filter token=\"YEAR\" value=\"1970\"/>")
6364 (("<filter token=\"VERSION_BUILT\" value=.*")
6365 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6367 (add-after 'unpack 'modify-deploy
6369 ;; The Tomcat build downloads and copies these files to the
6370 ;; bin and lib directory.
6371 ;; We instead symlink to the input (see below).
6372 (substitute* "build.xml"
6373 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6374 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6377 (add-after 'install 'symlink-commons-daemon
6378 (lambda* (#:key inputs outputs #:allow-other-keys)
6379 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6380 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6381 (daemon-jar (car files))
6382 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6383 (target (string-append out-bin "/commons-daemon.jar")))
6384 (symlink daemon-jar target)
6386 (add-after 'install 'symlink-java-ecj
6387 (lambda* (#:key inputs outputs #:allow-other-keys)
6388 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6389 (files (find-files java-ecj "ecj.*\\.jar"))
6390 (java-ecj-jar (car files))
6391 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6392 (target (string-append out-lib "/java-ecj.jar")))
6393 (symlink java-ecj-jar target)
6395 (add-after 'unpack 'generate-properties
6397 ;; This could have been passed to make-flags, but getcwd returns
6398 ;; a different directory then.
6399 (with-output-to-file "build.properties"
6402 (string-append "base.path=" (getcwd) "/downloads\n"))))
6405 (lambda* (#:key outputs #:allow-other-keys)
6406 (let ((out (assoc-ref outputs "out")))
6407 (copy-recursively "output/build" out))
6409 (properties '((cpe-name . "tomcat")))
6410 (home-page "https://tomcat.apache.org")
6411 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6413 (description "Apache Tomcat is a free implementation of the Java
6414 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6416 (license license:asl2.0)))
6418 (define-public java-eclipse-jetty-test-helper
6420 (name "java-eclipse-jetty-test-helper")
6425 (url "https://github.com/eclipse/jetty.toolchain/")
6426 (commit (string-append "jetty-test-helper-" version))))
6427 (file-name (git-file-name name version))
6430 "1g7cdh03nfwbdxzvwm84ysgvw08xx7431lsjryj2gmf3lrqpizgb"))))
6431 (build-system ant-build-system)
6433 `(#:jar-name "eclipse-jetty-test-helper.jar"
6434 #:source-dir "src/main/java"
6435 #:test-dir "src/test"
6438 (modify-phases %standard-phases
6439 (add-before 'configure 'chdir
6441 (chdir "jetty-test-helper")
6443 (add-before 'build 'fix-paths
6446 ;; This file assumes that the build directory is named "target"
6447 ;; but it is not the case with our ant-build-system. Once we have
6448 ;; maven though, we will have to rebuild this package because this
6449 ;; assumption is correct with maven-build-system.
6451 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6452 (("\"target\"") "\"build\"")
6453 (("\"tests\"") "\"test-classes\""))
6454 ;; Tests assume we are building with maven, so that the build
6455 ;; directory is named "target", and not "build".
6456 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6457 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6458 "MavenTestingUtilsTest.java")
6459 (("target/tests") "build/test-classes")
6460 (("\"target") "\"build")))
6463 `(("junit" ,java-junit)
6464 ("hamcrest" ,java-hamcrest-all)))
6465 (home-page "https://www.eclipse.org/jetty/")
6466 (synopsis "Helper classes for jetty tests")
6467 (description "This package contains helper classes for testing the Jetty
6469 ;; This program is licensed under both epl and asl.
6470 (license (list license:epl1.0 license:asl2.0))))
6472 (define-public java-eclipse-jetty-perf-helper
6474 (inherit java-eclipse-jetty-test-helper)
6475 (name "java-eclipse-jetty-perf-helper")
6477 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6478 #:source-dir "src/main/java"
6479 #:tests? #f; no tests
6482 (modify-phases %standard-phases
6483 (add-before 'configure 'chdir
6485 (chdir "jetty-perf-helper")
6488 `(("hdrhistogram" ,java-hdrhistogram)))))
6490 (define-public java-eclipse-jetty-util
6492 (name "java-eclipse-jetty-util")
6496 (uri (string-append "https://github.com/eclipse/jetty.project/"
6497 "archive/jetty-" version ".v20170531.tar.gz"))
6500 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6501 (build-system ant-build-system)
6503 `(#:jar-name "eclipse-jetty-util.jar"
6504 #:source-dir "src/main/java"
6506 (list "**/Abstract*.java"
6508 "**/InetAddressSetTest.java"
6509 ;; Assumes we are using maven
6510 "**/TypeUtilTest.java"
6511 ;; Error on the style of log
6512 "**/StdErrLogTest.java")
6515 (modify-phases %standard-phases
6516 (add-before 'configure 'chdir
6518 (chdir "jetty-util")
6521 `(("slf4j" ,java-slf4j-api)
6522 ("servlet" ,java-javaee-servletapi)))
6524 `(("junit" ,java-junit)
6525 ("hamcrest" ,java-hamcrest-all)
6526 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6527 ("test-helper" ,java-eclipse-jetty-test-helper)))
6528 (home-page "https://www.eclipse.org/jetty/")
6529 (synopsis "Utility classes for Jetty")
6530 (description "The Jetty Web Server provides an HTTP server and Servlet
6531 container capable of serving static and dynamic content either from a standalone
6532 or embedded instantiation. This package provides utility classes.")
6533 (license (list license:epl1.0 license:asl2.0))))
6535 ;; This version is required by maven-wagon
6536 (define-public java-eclipse-jetty-util-9.2
6538 (inherit java-eclipse-jetty-util)
6542 (uri (string-append "https://github.com/eclipse/jetty.project/"
6543 "archive/jetty-" version ".v20170606.tar.gz"))
6546 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6548 `(#:jar-name "eclipse-jetty-util.jar"
6549 #:source-dir "src/main/java"
6552 (list "**/Abstract*.java"
6554 "**/InetAddressSetTest.java"
6555 ;; Assumes we are using maven
6556 "**/TypeUtilTest.java"
6557 ;; We don't have an implementation for slf4j
6559 ;; Error on the style of log
6560 "**/StdErrLogTest.java")
6562 (modify-phases %standard-phases
6563 (add-before 'configure 'chdir
6565 (chdir "jetty-util")
6567 (add-before 'build 'fix-test-sources
6569 ;; We need to fix issues caused by changes in newer versions of
6570 ;; jetty-test-helper
6571 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6572 (substitute* (string-append src "/AbstractFSResourceTest.java")
6573 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6574 (("testdir.getFile\\(\"foo\"\\)")
6575 "testdir.getPathFile(\"foo\").toFile()")
6576 (("testdir.getFile\\(name\\)")
6577 "testdir.getPathFile(name).toFile()")))
6580 (define-public java-eclipse-jetty-io
6582 (inherit java-eclipse-jetty-util)
6583 (name "java-eclipse-jetty-io")
6585 `(#:jar-name "eclipse-jetty-io.jar"
6586 #:source-dir "src/main/java"
6588 #:test-exclude (list "**/Abstract*.java"
6590 "**/EndPointTest.java")
6592 (modify-phases %standard-phases
6593 (add-before 'configure 'chdir
6598 `(("slf4j" ,java-slf4j-api)
6599 ("servlet" ,java-javaee-servletapi)
6600 ("util" ,java-eclipse-jetty-util)))
6601 (synopsis "Jetty :: IO Utility")
6602 (description "The Jetty Web Server provides an HTTP server and Servlet
6603 container capable of serving static and dynamic content either from a standalone
6604 or embedded instantiation. This package provides IO-related utility classes.")))
6606 (define-public java-eclipse-jetty-io-9.2
6608 (inherit java-eclipse-jetty-io)
6609 (version (package-version java-eclipse-jetty-util-9.2))
6610 (source (package-source java-eclipse-jetty-util-9.2))
6612 `(("util" ,java-eclipse-jetty-util-9.2)
6613 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6615 `(("mockito" ,java-mockito-1)
6616 ("cglib" ,java-cglib)
6617 ("objenesis" ,java-objenesis)
6619 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6621 (define-public java-eclipse-jetty-http
6623 (inherit java-eclipse-jetty-util)
6624 (name "java-eclipse-jetty-http")
6626 `(#:jar-name "eclipse-jetty-http.jar"
6627 #:source-dir "src/main/java"
6630 (modify-phases %standard-phases
6631 (add-before 'configure 'chdir
6633 (chdir "jetty-http")
6635 (add-before 'build 'copy-resources
6637 (mkdir-p "build/classes")
6638 (copy-recursively "src/main/resources/" "build/classes/")
6641 `(("slf4j" ,java-slf4j-api)
6642 ("servlet" ,java-javaee-servletapi)
6643 ("io" ,java-eclipse-jetty-io)
6644 ("util" ,java-eclipse-jetty-util)))
6645 (synopsis "Jetty :: Http Utility")
6646 (description "The Jetty Web Server provides an HTTP server and Servlet
6647 container capable of serving static and dynamic content either from a standalone
6648 or embedded instantiation. This package provides HTTP-related utility classes.")))
6650 (define-public java-eclipse-jetty-http-9.2
6652 (inherit java-eclipse-jetty-http)
6653 (version (package-version java-eclipse-jetty-util-9.2))
6654 (source (package-source java-eclipse-jetty-util-9.2))
6656 `(("util" ,java-eclipse-jetty-util-9.2)
6657 ("io" ,java-eclipse-jetty-io-9.2)
6658 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6660 (define-public java-eclipse-jetty-jmx
6662 (inherit java-eclipse-jetty-util)
6663 (name "java-eclipse-jetty-jmx")
6665 `(#:jar-name "eclipse-jetty-jmx.jar"
6666 #:source-dir "src/main/java"
6668 #:tests? #f; FIXME: requires com.openpojo.validation
6670 (modify-phases %standard-phases
6671 (add-before 'configure 'chdir
6676 `(("slf4j" ,java-slf4j-api)
6677 ("servlet" ,java-javaee-servletapi)
6678 ("util" ,java-eclipse-jetty-util)))
6679 (synopsis "Jetty :: JMX Management")
6680 (description "The Jetty Web Server provides an HTTP server and Servlet
6681 container capable of serving static and dynamic content either from a standalone
6682 or embedded instantiation. This package provides the JMX management.")))
6684 (define-public java-eclipse-jetty-jmx-9.2
6686 (inherit java-eclipse-jetty-jmx)
6687 (version (package-version java-eclipse-jetty-util-9.2))
6688 (source (package-source java-eclipse-jetty-util-9.2))
6690 `(("util" ,java-eclipse-jetty-util-9.2)
6691 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6693 (define java-eclipse-jetty-http-test-classes
6695 (inherit java-eclipse-jetty-util)
6696 (name "java-eclipse-jetty-http-test-classes")
6698 `(#:jar-name "eclipse-jetty-http.jar"
6699 #:source-dir "src/test"
6703 (modify-phases %standard-phases
6704 (add-before 'configure 'chdir
6706 (chdir "jetty-http")
6709 `(("slf4j" ,java-slf4j-api)
6710 ("java-javaee-servletapi" ,java-javaee-servletapi)
6711 ("http" ,java-eclipse-jetty-http)
6712 ("io" ,java-eclipse-jetty-io)
6713 ("util" ,java-eclipse-jetty-util)))))
6715 (define java-eclipse-jetty-http-test-classes-9.2
6717 (inherit java-eclipse-jetty-http-test-classes)
6718 (version (package-version java-eclipse-jetty-util-9.2))
6719 (source (package-source java-eclipse-jetty-util-9.2))
6721 `(("http" ,java-eclipse-jetty-http-9.2)
6722 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6724 (define-public java-eclipse-jetty-server
6726 (inherit java-eclipse-jetty-util)
6727 (name "java-eclipse-jetty-server")
6729 `(#:jar-name "eclipse-jetty-server.jar"
6730 #:source-dir "src/main/java"
6732 #:tests? #f; requires a mockito version we don't have
6734 (modify-phases %standard-phases
6735 (add-before 'configure 'chdir
6737 (chdir "jetty-server")
6739 (add-before 'build 'fix-source
6741 ;; Explicit casts to prevent build failures
6742 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6743 (("append\\(LazyList")
6744 "append((CharSequence)LazyList"))
6746 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6748 "Class<\\? extends EventListener> clazz = _classLoader==null"
6749 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6750 "_classLoader.loadClass\\(className\\);"))
6751 (string-append "Class<? extends EventListener> clazz = "
6752 "(Class<? extends EventListener>) "
6753 "(_classLoader==null?Loader.loadClass("
6754 "ContextHandler.class,className):"
6755 "_classLoader.loadClass(className));")))
6758 `(("slf4j" ,java-slf4j-api)
6759 ("servlet" ,java-javaee-servletapi)
6760 ("http" ,java-eclipse-jetty-http)
6761 ("io" ,java-eclipse-jetty-io)
6762 ("jmx" ,java-eclipse-jetty-jmx)
6763 ("util" ,java-eclipse-jetty-util)))
6765 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6766 ,@(package-native-inputs java-eclipse-jetty-util)))
6767 (synopsis "Core jetty server artifact")
6768 (description "The Jetty Web Server provides an HTTP server and Servlet
6769 container capable of serving static and dynamic content either from a standalone
6770 or embedded instantiation. This package provides the core jetty server
6773 (define-public java-eclipse-jetty-server-9.2
6775 (inherit java-eclipse-jetty-server)
6776 (version (package-version java-eclipse-jetty-util-9.2))
6777 (source (package-source java-eclipse-jetty-util-9.2))
6779 `(("util" ,java-eclipse-jetty-util-9.2)
6780 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6781 ("io" ,java-eclipse-jetty-io-9.2)
6782 ("http" ,java-eclipse-jetty-http-9.2)
6783 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6785 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6786 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6788 (define-public java-eclipse-jetty-security
6790 (inherit java-eclipse-jetty-util)
6791 (name "java-eclipse-jetty-security")
6793 `(#:jar-name "eclipse-jetty-security.jar"
6794 #:source-dir "src/main/java"
6796 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
6798 (modify-phases %standard-phases
6799 (add-before 'configure 'chdir
6801 (chdir "jetty-security")
6804 `(("slf4j" ,java-slf4j-api)
6805 ("servlet" ,java-javaee-servletapi)
6806 ("http" ,java-eclipse-jetty-http)
6807 ("server" ,java-eclipse-jetty-server)
6808 ("util" ,java-eclipse-jetty-util)))
6810 `(("io" ,java-eclipse-jetty-io)
6811 ,@(package-native-inputs java-eclipse-jetty-util)))
6812 (synopsis "Jetty security infrastructure")
6813 (description "The Jetty Web Server provides an HTTP server and Servlet
6814 container capable of serving static and dynamic content either from a standalone
6815 or embedded instantiation. This package provides the core jetty security
6818 (define-public java-eclipse-jetty-security-9.2
6820 (inherit java-eclipse-jetty-security)
6821 (version (package-version java-eclipse-jetty-util-9.2))
6822 (source (package-source java-eclipse-jetty-util-9.2))
6824 `(("util" ,java-eclipse-jetty-util-9.2)
6825 ("http" ,java-eclipse-jetty-http-9.2)
6826 ("server" ,java-eclipse-jetty-server-9.2)
6827 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6829 `(("io" ,java-eclipse-jetty-io-9.2)
6830 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6832 (define-public java-eclipse-jetty-servlet
6834 (inherit java-eclipse-jetty-util)
6835 (name "java-eclipse-jetty-servlet")
6837 `(#:jar-name "eclipse-jetty-servlet.jar"
6838 #:source-dir "src/main/java"
6841 (modify-phases %standard-phases
6842 (add-before 'configure 'chdir
6844 (chdir "jetty-servlet")
6847 `(("slf4j" ,java-slf4j-api)
6848 ("java-javaee-servletapi" ,java-javaee-servletapi)
6849 ("http" ,java-eclipse-jetty-http)
6850 ("http-test" ,java-eclipse-jetty-http-test-classes)
6851 ("io" ,java-eclipse-jetty-io)
6852 ("jmx" ,java-eclipse-jetty-jmx)
6853 ("security" ,java-eclipse-jetty-security)
6854 ("server" ,java-eclipse-jetty-server)
6855 ("util" ,java-eclipse-jetty-util)))
6856 (synopsis "Jetty Servlet Container")
6857 (description "The Jetty Web Server provides an HTTP server and Servlet
6858 container capable of serving static and dynamic content either from a standalone
6859 or embedded instantiation. This package provides the core jetty servlet
6862 (define-public java-eclipse-jetty-servlet-9.2
6864 (inherit java-eclipse-jetty-servlet)
6865 (version (package-version java-eclipse-jetty-util-9.2))
6866 (source (package-source java-eclipse-jetty-util-9.2))
6868 `(#:jar-name "eclipse-jetty-servlet.jar"
6869 #:source-dir "src/main/java"
6871 #:tests? #f; doesn't work
6873 (modify-phases %standard-phases
6874 (add-before 'configure 'chdir
6876 (chdir "jetty-servlet")
6879 `(("util" ,java-eclipse-jetty-util-9.2)
6880 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6881 ("io" ,java-eclipse-jetty-io-9.2)
6882 ("http" ,java-eclipse-jetty-http-9.2)
6883 ("security" ,java-eclipse-jetty-security-9.2)
6884 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
6885 ("server" ,java-eclipse-jetty-server-9.2)
6886 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6888 (define-public java-eclipse-jetty-xml
6890 (inherit java-eclipse-jetty-util)
6891 (name "java-eclipse-jetty-xml")
6893 `(#:jar-name "eclipse-jetty-xml.jar"
6894 #:source-dir "src/main/java"
6896 #:tests? #f; most tests require network
6898 (modify-phases %standard-phases
6899 (add-before 'configure 'chdir
6904 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
6906 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6907 ,@(package-native-inputs java-eclipse-jetty-util)))))
6909 (define-public java-eclipse-jetty-xml-9.2
6911 (inherit java-eclipse-jetty-xml)
6912 (version (package-version java-eclipse-jetty-util-9.2))
6913 (source (package-source java-eclipse-jetty-util-9.2))
6915 `(#:jar-name "eclipse-jetty-xml.jar"
6916 #:source-dir "src/main/java"
6918 #:tests? #f; most tests require network
6920 (modify-phases %standard-phases
6921 (add-before 'configure 'chdir
6926 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6927 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6929 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6930 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6932 (define-public java-eclipse-jetty-webapp
6934 (inherit java-eclipse-jetty-util)
6935 (name "java-eclipse-jetty-webapp")
6937 `(#:jar-name "eclipse-jetty-webapp.jar"
6938 #:source-dir "src/main/java"
6941 #:test-exclude (list "**/WebAppContextTest.java")
6943 (modify-phases %standard-phases
6944 (add-before 'configure 'chdir
6946 (chdir "jetty-webapp")
6949 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
6950 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
6951 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
6952 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
6953 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
6954 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
6955 ("java-javaee-servletapi" ,java-javaee-servletapi)))
6957 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6958 ,@(package-native-inputs java-eclipse-jetty-util)))))
6960 (define-public java-eclipse-jetty-webapp-9.2
6962 (inherit java-eclipse-jetty-webapp)
6963 (version (package-version java-eclipse-jetty-util-9.2))
6964 (source (package-source java-eclipse-jetty-util-9.2))
6966 `(#:jar-name "eclipse-jetty-webapp.jar"
6967 #:source-dir "src/main/java"
6969 #:test-exclude (list "**/WebAppContextTest.java")
6971 (modify-phases %standard-phases
6972 (add-before 'configure 'chdir
6974 (chdir "jetty-webapp")
6977 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6978 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
6979 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
6980 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
6981 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
6982 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
6983 ("java-javaee-servletapi" ,java-javaee-servletapi)
6984 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6986 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6987 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6989 (define-public java-jsoup
6996 (url "https://github.com/jhy/jsoup")
6997 (commit (string-append "jsoup-" version))))
6998 (file-name (git-file-name name version))
7001 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
7002 (build-system ant-build-system)
7004 `(#:jar-name "jsoup.jar"
7005 #:source-dir "src/main/java"
7007 (modify-phases %standard-phases
7008 (add-before 'build 'copy-resources
7010 (let ((classes-dir (string-append (getcwd) "/build/classes")))
7011 (with-directory-excursion "src/main/java"
7012 (for-each (lambda (file)
7013 (let ((dist (string-append classes-dir "/" file)))
7014 (mkdir-p (dirname dist))
7015 (copy-file file dist)))
7016 (find-files "." ".*.properties"))))
7019 `(("java-junit" ,java-junit)
7020 ("java-hamcrest-core" ,java-hamcrest-core)
7021 ("java-gson" ,java-gson)))
7022 (home-page "https://jsoup.org")
7023 (synopsis "HTML parser")
7024 (description "Jsoup is a Java library for working with real-world HTML. It
7025 provides a very convenient API for extracting and manipulating data, using the
7026 best of DOM, CSS, and jQuery-like methods.")
7027 (license license:expat)))
7029 (define-public java-signpost-core
7031 (name "java-signpost-core")
7036 (url "https://github.com/mttkay/signpost")
7038 (file-name (git-file-name name version))
7041 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
7042 (build-system ant-build-system)
7044 `(#:jar-name "signpost-core.jar"
7045 #:source-dir "signpost-core/src/main/java"
7046 #:test-dir "signpost-core/src/test"
7047 ;; Tests all fail with InstantiationException from mockito
7050 `(("java-commons-codec" ,java-commons-codec)))
7051 (home-page "https://github.com/mttkay/signpost")
7052 (synopsis "Lightweight client-side OAuth library for Java")
7053 (description "Signpost is the easy and intuitive solution for signing
7054 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
7055 standard. Signpost follows a modular and flexible design, allowing you to
7056 combine it with different HTTP messaging layers.")
7057 (license license:asl2.0)))
7059 (define-public tidyp
7066 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
7070 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
7071 (build-system gnu-build-system)
7072 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
7073 (arguments `(#:tests? #f))
7074 (home-page "http://www.tidyp.com/")
7075 (synopsis "Validate HTML")
7076 (description "Tidyp is a program that can validate your HTML, as well as
7077 modify it to be more clean and standard. tidyp does not validate HTML 5.
7079 libtidyp is the library on which the program is based. It can be used by any
7080 other program that can interface to it. The Perl module @code{HTML::Tidy} is
7081 based on this library, allowing Perl programmers to easily validate HTML.")
7082 ;; See htmldoc/license.html
7083 (license license:bsd-3)))
7085 (define-public perl-html-tidy
7087 (name "perl-html-tidy")
7092 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
7096 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
7097 (build-system perl-build-system)
7100 (modify-phases %standard-phases
7101 (add-after 'unpack 'fix-tidyp-paths
7102 (lambda* (#:key inputs #:allow-other-keys)
7103 (substitute* "Makefile.PL"
7104 (("^my \\$inc = \"" line)
7106 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
7109 "-L" (assoc-ref inputs "tidyp") "/lib")))
7112 `(("perl-libwww" ,perl-libwww)
7115 `(("perl-test-exception" ,perl-test-exception)))
7116 (home-page "https://metacpan.org/release/HTML-Tidy")
7117 (synopsis "(X)HTML validation in a Perl object")
7118 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
7119 object. It's meant as a replacement for @code{HTML::Lint}, which is written
7120 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
7121 (license license:artistic2.0)))
7123 (define-public geomyidae
7131 (url "git://r-36.net/geomyidae")
7132 (commit (string-append "v" version))))
7133 (file-name (git-file-name name version))
7135 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
7136 (build-system gnu-build-system)
7138 `(#:make-flags (list "CC=gcc"
7139 (string-append "PREFIX="
7140 (assoc-ref %outputs "out")))
7141 #:tests? #f ; no tests
7142 #:phases (modify-phases %standard-phases
7143 (delete 'configure))))
7144 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
7145 (synopsis "Small Gopher server")
7147 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
7151 @item Gopher menus (see @file{index.gph} for an example);
7152 @item directory listings (if no @file{index.gph} was found);
7153 @item CGI support (@file{.cgi} files are executed);
7154 @item search support in CGI files;
7155 @item logging with multiple log levels.
7157 (license license:expat)))
7159 (define-public cat-avatar-generator
7161 (name "cat-avatar-generator")
7166 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
7167 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
7168 (file-name (string-append name "-" version))
7171 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
7172 (build-system trivial-build-system)
7174 `(#:modules ((guix build utils))
7177 (use-modules (guix build utils)
7181 (let ((source (assoc-ref %build-inputs "source"))
7182 (php-dir (string-append %output "/share/web/" ,name "/")))
7183 ;; The cache directory must not be in the store, but in a writable
7184 ;; location. The webserver will give us this location.
7185 (copy-recursively source php-dir)
7186 (substitute* (string-append php-dir "/cat-avatar-generator.php")
7187 (("\\$cachepath = .*")
7188 "if(isset($_SERVER['CACHE_DIR']))
7189 $cachepath = $_SERVER['CACHE_DIR'];
7191 die('You need to set the CACHE_DIR variable first.');"))
7193 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
7194 (synopsis "Random avatar generator")
7195 (description "Cat avatar generator is a generator of cat pictures optimised
7196 to generate random avatars, or defined avatar from a \"seed\". This is a
7197 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
7198 ;; expat for the code, CC-BY 4.0 for the artwork
7199 (license (list license:expat
7200 license:cc-by4.0))))
7202 (define-public nghttp2
7206 (replacement nghttp2-1.41)
7210 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7211 "releases/download/v" version "/"
7212 "nghttp2-" version ".tar.xz"))
7215 "0wwhwv7cvi1vxpdjwvg0kpa4jzhszclpnwrwfcw728zz53a47z09"))))
7216 (build-system gnu-build-system)
7217 (outputs (list "out"
7218 "lib")) ; only libnghttp2
7220 `(("pkg-config" ,pkg-config)
7222 ;; Required by tests.
7224 ("tzdata" ,tzdata-for-tests)))
7226 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
7227 `(("c-ares" ,c-ares)
7228 ("jansson" ,jansson) ; for HPACK tools
7229 ,@(if (hurd-target?) '()
7230 `(("jemalloc" ,jemalloc))) ; fight nghttpd{,x} heap fragmentation
7232 ("libxml2" ,libxml2) ; for ‘nghttp -a’
7233 ("openssl" ,openssl)
7234 ,@(if (hurd-target?)
7235 `(("openssl-static" ,openssl "static"))
7239 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
7240 "--enable-app" ; build all the tools
7241 "--enable-hpack-tools" ; ...all the tools
7242 "--disable-examples"
7243 "--disable-static") ; don't bother building .a files
7245 (modify-phases %standard-phases
7246 (add-after 'unpack 'break-circular-reference
7247 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
7248 ;; which is not allowed. Break this cycle. While we could install
7249 ;; only the library to ‘out’ and move everything else to a separate
7250 ;; output, this would inconvenience the majority of (human) users.
7251 (lambda* (#:key outputs #:allow-other-keys)
7252 (substitute* "lib/libnghttp2.pc.in"
7254 (assoc-ref outputs "lib")))
7256 (add-before 'check 'set-timezone-directory
7257 (lambda* (#:key inputs native-inputs #:allow-other-keys)
7258 (setenv "TZDIR" (string-append
7259 (assoc-ref (or native-inputs inputs) "tzdata")
7262 (home-page "https://nghttp2.org/")
7263 (synopsis "HTTP/2 protocol client, proxy, server, and library")
7265 "nghttp2 implements the Hypertext Transfer Protocol, version
7268 A reusable C library provides the HTTP/2 framing layer, with several tools built
7272 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
7273 and low-level aspects of the protocol and is useful for debugging.
7274 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
7275 serves files from a local directory.
7276 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
7277 deployed in front of existing web servers that don't support HTTP/2.
7278 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
7279 backwards compatibility with clients that don't speak HTTP/2.
7280 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
7281 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
7282 nghttp2 provides a HPACK encoder and decoder as part of its public API.
7283 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
7284 compressed JSON header blocks.
7285 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
7287 (license license:expat)))
7289 (define-public nghttp2-1.41 ;fixes CVE-2020-11080
7296 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7297 "releases/download/v" version "/"
7298 "nghttp2-" version ".tar.xz"))
7301 "1hk77vngjmvvzb5y1gi1aqwf6qywrc7yak08zvzb7x81qs6mphmb"))))))
7303 (define-public hpcguix-web
7304 (let ((commit "9de63562b06b4aef3a3afe5ecb18d3c91e57ee74")
7307 (name "hpcguix-web")
7308 (version (git-version "0.0.1" revision commit))
7312 (url "https://github.com/UMCUGenetics/hpcguix-web")
7314 (file-name (git-file-name name version))
7317 "0wjgj2s7v2cyz6dx24c111rxs99i84sfvxl4ch8brnh02j2606jz"))))
7318 (build-system gnu-build-system)
7320 `(#:modules ((guix build gnu-build-system)
7326 (modify-phases %standard-phases
7327 (add-before 'configure 'set-variables
7329 ;; This prevents a few warnings
7330 (setenv "GUILE_AUTO_COMPILE" "0")
7331 (setenv "XDG_CACHE_HOME" (getcwd))
7333 (add-after 'install 'wrap-program
7334 (lambda* (#:key inputs outputs #:allow-other-keys)
7335 (let* ((out (assoc-ref outputs "out"))
7336 (guix (assoc-ref inputs "guix"))
7337 (guile (assoc-ref inputs "guile"))
7338 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7339 (git (assoc-ref inputs "guile-git"))
7340 (bs (assoc-ref inputs "guile-bytestructures"))
7341 (json (assoc-ref inputs "guile-json"))
7342 (guile-cm (assoc-ref inputs
7343 "guile-commonmark"))
7344 (deps (list guile gcrypt git bs guile-cm guix json))
7347 (open-pipe* OPEN_READ
7348 (string-append guile "/bin/guile")
7349 "-c" "(display (effective-version))")))
7351 (map (cut string-append <>
7352 "/share/guile/site/"
7356 (gopath (string-join
7357 (map (cut string-append <>
7358 "/lib/guile/" effective
7362 (wrap-program (string-append out "/bin/run")
7363 `("GUILE_LOAD_PATH" ":" prefix (,path))
7364 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7368 `(("autoconf" ,autoconf)
7369 ("automake" ,automake)
7370 ("uglify-js" ,uglify-js)
7371 ("pkg-config" ,pkg-config)))
7373 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7376 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7377 ("guile-commonmark" ,guile-commonmark)
7378 ("guile-json" ,guile-json-4)))
7379 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7380 (synopsis "Web interface for cluster deployments of Guix")
7381 (description "Hpcguix-web provides a web interface to the list of packages
7382 provided by Guix. The list of packages is searchable and provides
7383 instructions on how to use Guix in a shared HPC environment.")
7384 (license license:agpl3+))))
7386 (define-public httrack
7392 (uri (string-append "https://mirror.httrack.com/historical/"
7393 "httrack-" version ".tar.gz"))
7396 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7397 (build-system gnu-build-system)
7399 `(("libressl" ,libressl)
7401 (home-page "https://www.httrack.com/")
7402 (synopsis "Easy-to-use offline browser utility")
7403 (description "HTTrack allows you to download a World Wide Web site from
7404 the Internet to a local directory, building recursively all directories,
7405 getting HTML, images, and other files from the server to your computer.
7407 HTTrack arranges the original site's relative link-structure. Simply open
7408 a page of the @emph{mirrored} website in your browser, and you can browse the
7409 site from link to link, as if you were viewing it online. HTTrack can also
7410 update an existing mirrored site, and resume interrupted downloads.
7412 HTTrack is fully configurable, and has an integrated help system.")
7413 (license license:gpl3+)))
7415 (define-public anonip
7421 (uri (pypi-uri "anonip" version))
7424 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7425 (build-system python-build-system)
7426 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7427 (synopsis "Anonymize IP addresses in log files")
7429 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7430 That way most of the relevant information is preserved, while the IP address
7431 does not match a particular individuum anymore.
7433 Depending on your Web server, the log entries may be piped to Anonip directly
7434 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7435 written to any file.
7437 It's also possible to rewrite existing log files.
7439 Anonip can also be uses as a Python module in your own Python application.")
7440 (license license:bsd-3)))
7442 (define-public poussetaches
7444 (name "poussetaches")
7450 (url "https://github.com/tsileo/poussetaches")
7452 (file-name (git-file-name name version))
7455 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7456 (build-system go-build-system)
7458 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7459 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7461 `(#:import-path "github.com/tsileo/poussetaches"))
7462 (home-page "https://github.com/tsileo/poussetaches")
7463 (synopsis "Lightweight asynchronous task execution service")
7464 (description "Poussetaches (which literally means \"push tasks\" in
7465 French) is a lightweight asynchronous task execution service that aims to
7466 replace Celery and RabbitMQ for small Python applications.
7468 The app posts base64-encoded payload to poussetaches and specifies the
7469 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7470 requests with the registered payload until the right status code is
7472 (license license:isc)))
7474 (define-public htmlcxx
7482 (string-append "mirror://sourceforge/htmlcxx/v"
7483 version "/htmlcxx-" version ".tar.gz"))
7485 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7486 (build-system gnu-build-system)
7487 (home-page "http://htmlcxx.sourceforge.net/")
7488 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7489 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7490 C++. Although there are several other HTML parsers available, htmlcxx has some
7491 characteristics that make it unique:
7493 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7495 @item It is possible to reproduce exactly, character by character, the original
7496 document from the parse tree
7497 @item Bundled CSS parser
7498 @item Optional parsing of attributes
7499 @item C++ code that looks like C++ (not so true anymore)
7500 @item Offsets of tags/elements in the original document are stored in the nodes
7503 (license (list license:lgpl2.0
7507 (define-public librocket
7516 (url "https://github.com/libRocket/libRocket")
7517 (commit (string-append "release-" version))))
7518 (file-name (git-file-name name version))
7520 (base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
7521 (build-system cmake-build-system)
7523 `(#:tests? #f ; No tests.
7525 (modify-phases %standard-phases
7526 (add-after 'unpack 'chdir
7528 (chdir "Build"))))))
7530 `(("freetype" ,freetype)))
7531 (home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
7532 (synopsis "HTML/CSS user interface library")
7533 (description "libRocket is a C++ user interface package based on the HTML
7534 and CSS standards. libRocket uses the open standards XHTML1.0 and
7535 CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
7536 features suited towards real-time applications. It is designed as a complete
7537 solution for any project's interface needs:
7540 @item Dynamic layout system.
7541 @item Efficient application-wide styling, with a custom-built templating engine.
7542 @item Fully featured control set: buttons, sliders, drop-downs, etc.
7543 @item Runtime visual debugging suite.
7544 @item Easily integrated and extensible with Python or Lua scripting.
7546 (license license:expat)))