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>
47 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
49 ;;; This file is part of GNU Guix.
51 ;;; GNU Guix is free software; you can redistribute it and/or modify it
52 ;;; under the terms of the GNU General Public License as published by
53 ;;; the Free Software Foundation; either version 3 of the License, or (at
54 ;;; your option) any later version.
56 ;;; GNU Guix is distributed in the hope that it will be useful, but
57 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
58 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
59 ;;; GNU General Public License for more details.
61 ;;; You should have received a copy of the GNU General Public License
62 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
64 (define-module (gnu packages web)
65 #:use-module (ice-9 match)
66 #:use-module ((guix licenses) #:prefix license:)
67 #:use-module (guix packages)
68 #:use-module (guix download)
69 #:use-module (guix gexp)
70 #:use-module (guix git-download)
71 #:use-module (guix cvs-download)
72 #:use-module (guix hg-download)
73 #:use-module (guix utils)
74 #:use-module (guix build-system gnu)
75 #:use-module (guix build-system glib-or-gtk)
76 #:use-module (guix build-system perl)
77 #:use-module (guix build-system cmake)
78 #:use-module (guix build-system trivial)
79 #:use-module (guix build-system python)
80 #:use-module (guix build-system ant)
81 #:use-module (guix build-system scons)
82 #:use-module (guix build-system go)
83 #:use-module (gnu packages)
84 #:use-module (gnu packages admin)
85 #:use-module (gnu packages adns)
86 #:use-module (gnu packages apr)
87 #:use-module (gnu packages boost)
88 #:use-module (gnu packages check)
89 #:use-module (gnu packages documentation)
90 #:use-module (gnu packages docbook)
91 #:use-module (gnu packages emacs)
92 #:use-module (gnu packages emacs-xyz)
93 #:use-module (gnu packages autotools)
94 #:use-module (gnu packages compression)
95 #:use-module (gnu packages curl)
96 #:use-module (gnu packages cyrus-sasl)
97 #:use-module (gnu packages databases)
98 #:use-module (gnu packages bison)
99 #:use-module (gnu packages flex)
100 #:use-module (gnu packages fontutils)
101 #:use-module (gnu packages freedesktop)
102 #:use-module (gnu packages kerberos)
103 #:use-module (gnu packages gcc)
104 #:use-module (gnu packages gd)
105 #:use-module (gnu packages gettext)
106 #:use-module (gnu packages glib)
107 #:use-module (gnu packages gnome)
108 #:use-module (gnu packages gnu-doc)
109 #:use-module (gnu packages gnupg)
110 #:use-module (gnu packages golang)
111 #:use-module (gnu packages gperf)
112 #:use-module (gnu packages gtk)
113 #:use-module (gnu packages guile)
114 #:use-module (gnu packages guile-xyz)
115 #:use-module (gnu packages hurd)
116 #:use-module (gnu packages java)
117 #:use-module (gnu packages jemalloc)
118 #:use-module (gnu packages image)
119 #:use-module (gnu packages imagemagick)
120 #:use-module (gnu packages kde)
121 #:use-module (gnu packages libevent)
122 #:use-module (gnu packages libidn)
123 #:use-module (gnu packages libunistring)
124 #:use-module (gnu packages libunwind)
125 #:use-module (gnu packages linux)
126 #:use-module (gnu packages lisp-xyz)
127 #:use-module (gnu packages lsof)
128 #:use-module (gnu packages lua)
129 #:use-module (gnu packages markup)
130 #:use-module (gnu packages ncurses)
131 #:use-module (gnu packages networking)
132 #:use-module (gnu packages nss)
133 #:use-module (gnu packages openldap)
134 #:use-module (gnu packages openstack)
135 #:use-module (gnu packages base)
136 #:use-module (gnu packages package-management)
137 #:use-module (gnu packages perl)
138 #:use-module (gnu packages perl-check)
139 #:use-module (gnu packages python)
140 #:use-module (gnu packages python-crypto)
141 #:use-module (gnu packages python-web)
142 #:use-module (gnu packages python-xyz)
143 #:use-module (gnu packages pcre)
144 #:use-module (gnu packages pkg-config)
145 #:use-module (gnu packages qt)
146 #:use-module (gnu packages readline)
147 #:use-module (gnu packages re2c)
148 #:use-module (gnu packages sphinx)
149 #:use-module (gnu packages texinfo)
150 #:use-module (gnu packages textutils)
151 #:use-module (gnu packages tls)
152 #:use-module (gnu packages valgrind)
153 #:use-module (gnu packages version-control)
154 #:use-module (gnu packages vim)
155 #:use-module (gnu packages xml)
156 #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
164 (uri (string-append "mirror://apache/httpd/httpd-"
168 "1sj1rwgbcjgkzac3ybjy7j68c9b3dv3ap71m48mrjhf6w7vds3kl"))))
169 (build-system gnu-build-system)
170 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
171 (inputs `(("apr" ,apr)
172 ("apr-util" ,apr-util)
174 ("perl" ,perl))) ; needed to run bin/apxs
176 `(#:test-target "test"
177 #:configure-flags (list "--enable-rewrite"
179 "--enable-vhost-alias"
181 "--enable-mime-magic"
182 (string-append "--sysconfdir="
183 (assoc-ref %outputs "out")
185 (synopsis "Featureful HTTP server")
187 "The Apache HTTP Server Project is a collaborative software development
188 effort aimed at creating a robust, commercial-grade, featureful, and
189 freely-available source code implementation of an HTTP (Web) server. The
190 project is jointly managed by a group of volunteers located around the world,
191 using the Internet and the Web to communicate, plan, and develop the server
192 and its related documentation.")
193 (license license:asl2.0)
194 (home-page "https://httpd.apache.org/")))
196 (define-public mod-wsgi
203 (url "https://github.com/GrahamDumpleton/mod_wsgi")
205 (file-name (git-file-name name version))
208 "1savh6h3qds20mwn1nqasmqzcp57pdhfc9v4b4k78d6q28y0r17s"))))
209 (build-system gnu-build-system)
211 '(#:tests? #f ; TODO: can't figure out if there are tests
213 (string-append "DESTDIR="
214 (assoc-ref %outputs "out"))
215 "LIBEXECDIR=/modules")))
218 ("python" ,python-wrapper)))
219 (synopsis "Apache HTTPD module for Python WSGI applications")
221 "The mod_wsgi module for the Apache HTTPD Server adds support for running
222 applications that support the Python @acronym{WSGI, Web Server Gateway
223 Interface} specification.")
224 (license license:asl2.0)
225 (home-page "https://modwsgi.readthedocs.io/")))
230 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
231 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
232 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
233 ;; Consider updating the nginx-documentation package together with this one.
237 (uri (string-append "https://nginx.org/download/nginx-"
241 "0wr4ss4gld7x717m4j3a6l6f7ijblrrd55y563lkwhvr7sqpn7vw"))))
242 (build-system gnu-build-system)
243 (inputs `(("openssl" ,openssl)
247 `(#:tests? #f ; no test target
249 (modify-phases %standard-phases
250 (add-before 'configure 'patch-/bin/sh
252 (substitute* "auto/feature"
253 (("/bin/sh") (which "sh")))
256 ;; The configure script is hand-written, not from GNU autotools.
257 (lambda* (#:key outputs #:allow-other-keys)
259 (list (string-append "--prefix=" (assoc-ref outputs "out"))
260 "--with-http_ssl_module"
261 "--with-http_v2_module"
264 ;; Even when not cross-building, we pass the
265 ;; --crossbuild option to avoid customizing for the
266 ;; kernel version on the build machine.
267 ,(let ((system "Linux") ; uname -s
268 (release "3.2.0") ; uname -r
270 (machine (match (or (%current-target-system)
272 ("x86_64-linux" "x86_64")
273 ("i686-linux" "i686")
274 ("mips64el-linux" "mips64")
275 ;; Prevent errors when querying
276 ;; this package on unsupported
277 ;; platforms, e.g. when running
278 ;; "guix package --search="
280 (string-append "--crossbuild="
281 system ":" release ":" machine)))))
283 (format #t "configure flags: ~s~%" flags)
284 (apply invoke "./configure" flags)
286 (add-after 'install 'install-man-page
287 (lambda* (#:key outputs #:allow-other-keys)
288 (let* ((out (assoc-ref outputs "out"))
289 (man (string-append out "/share/man")))
290 (install-file "objs/nginx.8" (string-append man "/man8"))
292 (add-after 'install 'fix-root-dirs
293 (lambda* (#:key outputs #:allow-other-keys)
294 ;; 'make install' puts things in strange places, so we need to
295 ;; clean it up ourselves.
296 (let* ((out (assoc-ref outputs "out"))
297 (share (string-append out "/share/nginx")))
298 ;; This directory is empty, so get rid of it.
299 (rmdir (string-append out "/logs"))
300 ;; Example configuration and HTML files belong in
303 (rename-file (string-append out "/conf")
304 (string-append share "/conf"))
305 (rename-file (string-append out "/html")
306 (string-append share "/html"))
308 (home-page "https://nginx.org")
309 (synopsis "HTTP and reverse proxy server")
311 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
312 created by Igor Sysoev. It can be used both as a stand-alone web server
313 and as a proxy to reduce the load on back-end HTTP or mail servers.")
314 ;; Almost all of nginx is distributed under the bsd-2 license.
315 ;; The exceptions are:
316 ;; * The 'nginx-http-push' module is covered by the expat license.
317 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
318 ;; except for two source files which are bsd-4 licensed.
319 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
321 (define nginx-xslscript
323 (changeset "01dc9ba12e1b"))
325 (name "nginx-xslscript")
327 (simple-format #f "2014-03-31-~A-~A" revision changeset))
331 (url "http://hg.nginx.org/xslscript")
332 (changeset changeset)))
333 (file-name (string-append name "-" version))
336 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
337 (build-system gnu-build-system)
339 '(#:tests? #f ; No test suite
341 (modify-phases %standard-phases
345 (lambda* (#:key outputs #:allow-other-keys)
346 (let ((out-bin (string-append
347 (assoc-ref outputs "out")
350 (copy-file "xslscript.pl"
355 (home-page "http://hg.nginx.org/xslscript")
356 (synopsis "XSLScript with NGinx specific modifications")
358 "XSLScript is a terse notation for writing complex XSLT stylesheets.
359 This is modified version, specifically intended for use with the NGinx
361 (license license:bsd-2))))
363 (define-public nginx-documentation
364 ;; This documentation should be relevant for the current nginx package.
365 (let ((version "1.19.2")
367 (changeset "324ca14c3003"))
369 (name "nginx-documentation")
370 (version (simple-format #f "~A-~A-~A" version revision changeset))
372 (origin (method hg-fetch)
374 (url "http://hg.nginx.org/nginx.org")
375 (changeset changeset)))
376 (file-name (string-append name "-" version))
379 "15bdbi6cjqhx8lqsyr3hnwagq2r80bsyh2im80ajmbfv7y47djqi"))))
380 (build-system gnu-build-system)
382 '(#:tests? #f ; no test suite
384 (modify-phases %standard-phases
385 (delete 'configure) ; no configure script
387 (lambda* (#:key outputs #:allow-other-keys)
388 (let ((output (assoc-ref outputs "out")))
389 (substitute* "umasked.sh"
390 ((" /bin/sh") (string-append " " (which "sh"))))
391 ;; The documentation includes a banner, which makes sense on
392 ;; the NGinx website, but doesn't make much sense when
393 ;; viewing locally. Therefore, modify the CSS to remove the
395 (substitute* "xslt/style.xslt"
396 (("#banner \\{ background: black;")
397 "#banner { display: none;"))
401 (lambda* (#:key outputs #:allow-other-keys)
402 (let ((output (assoc-ref outputs "out")))
404 (copy-recursively "libxslt" output)
407 `(("libxml2" ,libxml2)
409 ("nginx-xslscript" ,nginx-xslscript)))
410 (home-page "https://nginx.org")
411 (synopsis "Documentation for the nginx web server")
413 "This package provides HTML documentation for the nginx web server.")
414 (license license:bsd-2))))
416 (define-public nginx-accept-language-module
417 ;; Upstream has never made a release; use current commit instead.
418 (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
421 (name "nginx-accept-language-module")
422 (version (git-version "0.0.0" ;upstream has no version number
428 (url "https://github.com/giom/nginx_accept_language_module")
430 (file-name (git-file-name name version))
432 (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
433 (build-system gnu-build-system)
434 (inputs `(("openssl" ,openssl)
436 ("nginx-sources" ,(package-source nginx))
439 `(#:tests? #f ; no test target
440 #:make-flags (list "modules")
441 #:modules ((guix build utils)
442 (guix build gnu-build-system)
445 (ice-9 textual-ports))
447 (modify-phases %standard-phases
448 (add-after 'unpack 'unpack-nginx-sources
449 (lambda* (#:key inputs native-inputs #:allow-other-keys)
451 ;; The nginx source code is part of the module’s source.
452 (format #t "decompressing nginx source code~%")
453 (let ((tar (assoc-ref inputs "tar"))
454 (nginx-srcs (assoc-ref inputs "nginx-sources")))
455 (invoke (string-append tar "/bin/tar")
456 "xvf" nginx-srcs "--strip-components=1"))
458 (add-after 'unpack 'convert-to-dynamic-module
461 (with-atomic-file-replacement "config"
463 ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
464 (format out "ngx_module_type=HTTP~%")
465 (format out "ngx_module_name=\
466 ngx_http_accept_language_module~%")
467 (let* ((str (get-string-all in))
469 "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
470 (m (regexp-exec rx str))
471 (srcs (match:substring m 1)))
472 (format out (string-append "ngx_module_srcs=\""
474 (format out ". auto/module~%")
475 (format out "ngx_addon_name=$ngx_module_name~%"))))))
476 (add-before 'configure 'patch-/bin/sh
478 (substitute* "auto/feature"
479 (("/bin/sh") (which "sh")))
482 ;; This phase is largely copied from the nginx package.
483 (lambda* (#:key outputs #:allow-other-keys)
485 (list ;; A copy of nginx’ flags follows, otherwise we
486 ;; get a binary compatibility error. FIXME: Code
487 ;; duplication is bad.
488 (string-append "--prefix=" (assoc-ref outputs "out"))
489 "--with-http_ssl_module"
490 "--with-http_v2_module"
493 ;; Even when not cross-building, we pass the
494 ;; --crossbuild option to avoid customizing for the
495 ;; kernel version on the build machine.
496 ,(let ((system "Linux") ; uname -s
497 (release "3.2.0") ; uname -r
499 (machine (match (or (%current-target-system)
501 ("x86_64-linux" "x86_64")
502 ("i686-linux" "i686")
503 ("mips64el-linux" "mips64")
504 ;; Prevent errors when querying
505 ;; this package on unsupported
506 ;; platforms, e.g. when running
507 ;; "guix package --search="
509 (string-append "--crossbuild="
510 system ":" release ":" machine))
511 ;; The following are the args decribed on
512 ;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
513 ;; Enabling --with-compat here and in the nginx package
514 ;; would ensure binary compatibility even when using
515 ;; different configure options from the main nginx
516 ;; package. This is not needed for Guix.
518 "--add-dynamic-module=.")))
520 (format #t "environment variable `CC' set to `gcc'~%")
521 (format #t "configure flags: ~s~%" flags)
522 (apply invoke "./configure" flags)
525 (lambda* (#:key outputs #:allow-other-keys)
526 (let* ((out (assoc-ref outputs "out"))
527 (modules-dir (string-append out "/etc/nginx/modules"))
528 (doc-dir (string-append
529 out "/share/doc/nginx-accept-language-module")))
530 (mkdir-p modules-dir)
531 (copy-file "objs/ngx_http_accept_language_module.so"
533 modules-dir "/ngx_http_accept_language_module.so"))
535 (copy-file "README.textile"
536 (string-append doc-dir "/README.textile"))
539 "https://www.nginx.com/resources/wiki/modules/accept_language/")
540 (synopsis "Nginx module for parsing the Accept-Language HTTP header")
542 "This nginx module parses the Accept-Language field in HTTP headers and
543 chooses the most suitable locale for the user from the list of locales
544 supported at your website.")
545 (license (delete-duplicates
546 (cons license:bsd-2 ;license of nginx-accept-language-module
547 ;; The module’s code is linked statically with nginx,
548 ;; therefore nginx’ other licenses may also apply to its
550 (package-license nginx)))))))
552 (define-public lighttpd
558 (uri (string-append "https://download.lighttpd.net/lighttpd/"
559 "releases-" (version-major+minor version) ".x/"
560 "lighttpd-" version ".tar.xz"))
563 "09z947730yjh438wrqb3z1c5hr1dbb11a8sr92g3vk6mr7lm02va"))))
564 (build-system gnu-build-system)
575 (modify-phases %standard-phases
576 (add-after 'unpack 'embed-/bin/sh-reference
578 (substitute* "src/mod_ssi.c"
579 (("/bin/sh") (which "sh")))
581 (add-after 'unpack 'fix-tests
583 (setenv "SHELL" (which "sh"))
584 ;; gethostbyaddr fails
585 (substitute* "tests/LightyTest.pm"
586 (("\\{HOSTNAME\\} = \\$name;")
587 "{HOSTNAME} = \"127.0.0.1\";"))
590 `(("cyrus-sasl" ,cyrus-sasl)
592 ("libunwind" ,libunwind)
593 ("linux-pam" ,linux-pam)
594 ("mit-krb5" ,mit-krb5)
595 ("openldap" ,openldap)
598 ("pcre:bin" ,pcre "bin")
601 `(("perl" ,perl) ; for tests
602 ("pkg-config" ,pkg-config)
604 (home-page "https://www.lighttpd.net/")
605 (synopsis "Lightweight HTTP and reverse proxy server")
607 "Lighttpd is a secure, fast, compliant, and very flexible web-server that
608 has been optimized for high-performance environments. It has a very low
609 memory footprint compared to other webservers. Its features include FastCGI,
610 CGI, authentication, output compression, URL rewriting and many more.")
611 (license license:bsd-3)))
620 ;; Upstream has disappeared.
622 (url "https://github.com/FastCGI-Archives/fcgi2")
624 (file-name (git-file-name name version))
626 (base32 "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"))))
627 (build-system gnu-build-system)
628 ;; Parallel building is not supported.
629 (arguments `(#:parallel-build? #f))
631 `(("autoconf" ,autoconf)
632 ("automake" ,automake)
633 ("libtool" ,libtool)))
634 ;; This is an archived fork of the original home page, www.fastcgi.com.
635 (home-page "https://fastcgi-archives.github.io/")
636 (synopsis "Language-independent, high-performant extension to CGI")
637 (description "FastCGI is a language-independent, scalable extension to CGI
638 that provides high performance without the limitations of server specific
640 ;; This package is released under the Open Market License, a variant of
641 ;; the Expat license, incompatible with the GPL.
642 (license (license:non-copyleft "file://LICENSE.TERMS"))))
644 (define-public fcgiwrap
652 (url "https://github.com/gnosek/fcgiwrap")
654 (file-name (git-file-name name version))
656 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
657 (build-system gnu-build-system)
659 `(#:tests? #f ; no tests included
660 #:make-flags (list "CC=gcc")
662 (modify-phases %standard-phases
663 (add-after 'unpack 'fix-CFLAGS
664 ;; Remove broken options unconditionally added to CFLAGS.
666 (substitute* "configure.ac"
670 `(("autoconf" ,autoconf)
671 ("automake" ,automake)
672 ("pkg-config" ,pkg-config)))
675 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
676 (synopsis "Simple server for running CGI applications over FastCGI")
677 (description "Fcgiwrap is a simple server for running CGI applications
678 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
679 servers that may need it).")
680 (license license:expat)))
682 (define-public starman
689 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
690 "Starman-" version ".tar.gz"))
692 (base32 "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h"))))
693 (build-system perl-build-system)
695 `(("perl-libwww" ,perl-libwww)
696 ("perl-module-build-tiny" ,perl-module-build-tiny)
697 ("perl-test-requires" ,perl-test-requires)))
699 `(("perl-data-dump" ,perl-data-dump)
700 ("perl-http-date" ,perl-http-date)
701 ("perl-http-message" ,perl-http-message)
702 ("perl-http-parser-xs" ,perl-http-parser-xs)
703 ("perl-net-server" ,perl-net-server)
704 ("perl-plack" ,perl-plack)
705 ("perl-test-tcp" ,perl-test-tcp)))
706 (home-page "https://metacpan.org/release/Starman")
707 (synopsis "PSGI/Plack web server")
708 (description "Starman is a PSGI perl web server that has unique features
709 such as high performance, preforking, signal support, superdaemon awareness,
710 and UNIX socket support.")
711 (license license:perl-license)))
713 (define-public icedtea-web
720 "http://icedtea.wildebeest.org/download/source/"
721 name "-" version ".tar.gz"))
724 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
725 (build-system gnu-build-system)
728 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
729 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
731 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
732 (outputs '("out" "doc"))
734 `(("pkg-config" ,pkg-config)
738 ("jdk" ,icedtea "jdk")))
739 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
740 (synopsis "Java Web Start")
742 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
743 Protocol}, also known as Java Web Start. This package provides tools and
744 libraries for working with JNLP applets.")
745 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
747 (license license:gpl2+)))
749 (define-public jansson
756 (string-append "http://www.digip.org/jansson/releases/jansson-"
760 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
761 (build-system gnu-build-system)
763 `(#:configure-flags '("--disable-static")))
764 (home-page "http://www.digip.org/jansson/")
765 (synopsis "JSON C library")
767 "Jansson is a C library for encoding, decoding and manipulating JSON
769 (license license:expat)))
771 (define-public json-c
773 (replacement json-c/fixed)
779 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
783 "0w381krr99q5a2rypx4g437fa7gzgl82i64sgnrs6g5jr44dwxxk"))))
784 (build-system cmake-build-system)
785 (home-page "https://github.com/json-c/json-c/wiki")
786 (synopsis "JSON implementation in C")
788 "JSON-C implements a reference counting object model that allows you to
789 easily construct JSON objects in C, output them as JSON-formatted strings and
790 parse JSON-formatted strings back into the C representation of JSON objects.
791 It aims to conform to RFC 7159.")
792 (license license:x11)))
800 (inherit (package-source json-c))
801 (patches (search-patches "json-c-CVE-2020-12762.patch"))))))
803 ;; TODO: Remove these old versions when all dependents have been updated.
804 (define-public json-c-0.13
811 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
814 (base32 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
815 (patches (search-patches "json-c-0.13-CVE-2020-12762.patch"))
816 (modules '((guix build utils)))
819 ;; Somehow 'config.h.in' is older than
820 ;; 'aclocal.m4', which would trigger a rule to
822 (set-file-time "config.h.in"
825 (build-system gnu-build-system)))
827 (define-public json-c-0.12
829 (inherit json-c-0.13)
834 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
837 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
838 (patches (search-patches "json-c-0.12-CVE-2020-12762.patch"))
839 (modules '((guix build utils)))
842 ;; Somehow 'config.h.in' is older than
843 ;; 'aclocal.m4', which would trigger a rule to
845 (set-file-time "config.h.in"
848 ;; Don't try to build with -Werror.
849 (substitute* (find-files "." "Makefile\\.in")
853 (define-public json-parser
858 ;; do not use auto-generated tarballs
861 (url "https://github.com/udp/json-parser")
862 (commit (string-append "v" version))))
863 (file-name (git-file-name name version))
866 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
867 ;; FIXME: we should build the python bindings in a separate package
868 (build-system gnu-build-system)
869 ;; the tests are written for the python bindings which are not built here
870 (arguments '(#:tests? #f))
871 (home-page "https://github.com/udp/json-parser")
872 (synopsis "JSON parser written in ANSI C")
873 (description "This package provides a very low footprint JSON parser
874 written in portable ANSI C.
877 @item BSD licensed with no dependencies (i.e. just drop the C file into your
879 @item Never recurses or allocates more memory than it needs
880 @item Very simple API with operator sugar for C++
882 (license license:bsd-2)))
891 (url "https://github.com/flavio/qjson")
893 (file-name (git-file-name name version))
896 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
897 (build-system cmake-build-system)
899 ;; The tests require a running X server.
900 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
901 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
903 (modify-phases %standard-phases
904 (add-after 'unpack 'disable-broken-test
906 ;; FIXME: One test fails. See
907 ;; https://github.com/flavio/qjson/issues/105
908 (substitute* "tests/scanner/testscanner.cpp"
909 (("QTest::newRow\\(\"too large exponential\"\\)" line)
910 (string-append "//" line)))
912 (add-before 'check 'render-offscreen
913 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
915 `(("qtbase" ,qtbase)))
916 (home-page "http://qjson.sourceforge.net")
917 (synopsis "Library that maps JSON data to QVariant objects")
918 (description "QJson is a Qt-based library that maps JSON data to
919 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
920 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
921 ;; Only version 2.1 of the license
922 (license license:lgpl2.1)))
924 (define-public qoauth
931 (url "https://github.com/ayoy/qoauth")
932 (commit (string-append "v" version))))
933 (file-name (git-file-name name version))
936 "1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3"))))
937 (build-system gnu-build-system)
943 (modify-phases %standard-phases
944 (add-after 'unpack 'patch-code
946 (make-file-writable "src/qoauth.pc")
947 (substitute* "src/src.pro"
950 (delete 'configure) ; no configure script
951 (delete 'check) ; no test target
952 (add-before 'build 'qmake
954 (let ((qca (assoc-ref %build-inputs "qca")))
957 (string-append "PREFIX=" (assoc-ref %outputs "out"))
958 (string-append "QMAKE_INCDIR+=" qca "/include/Qca-qt5/QtCrypto")
959 (string-append "LIBS+=-L" qca "/lib")
960 (string-append "LIBS+=-lqca-qt5"))))))))
961 (home-page "https://github.com/ayoy/qoauth")
962 (synopsis "Qt-based C++ library for OAuth authorization scheme")
963 (description "QOAuth is an attempt to support interaction with
964 OAuth-powered network services in a Qt way, i.e. simply, clearly and
965 efficiently. It gives the application developer no more than 4 methods.")
966 (license license:lgpl2.1+)))
968 (define-public krona-tools
975 "https://github.com/marbl/Krona/releases/download/v"
976 version "/KronaTools-" version ".tar"))
979 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
980 (build-system perl-build-system)
983 (modify-phases %standard-phases
984 ;; There is no configure or build steps.
987 ;; Install script "install.pl" expects the build directory to remain
988 ;; after installation, creating symlinks etc., so re-implement it
991 (lambda* (#:key outputs #:allow-other-keys)
992 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
993 (perl (string-append (assoc-ref outputs "out")
994 "/lib/perl5/site_perl/krona-tools/lib")))
998 (let* ((executable (string-append "scripts/" script ".pl")))
999 ;; Prefix executables with 'kt' as install script does.
1000 (copy-file executable (string-append bin "/kt" script))))
1002 "GetContigMagnitudes"
1012 "ImportMETAREP-BLAST"
1017 "ImportRDPComparison"
1023 (copy-recursively directory
1024 (string-append perl "/../" directory)))
1025 (list "data" "img" "taxonomy" "src"))
1026 (install-file "lib/KronaTools.pm" perl))))
1027 (add-after 'install 'wrap-program
1028 (lambda* (#:key inputs outputs #:allow-other-keys)
1029 (let* ((out (assoc-ref outputs "out"))
1030 (path (getenv "PERL5LIB")))
1032 (lambda (executable)
1033 (wrap-program executable
1034 `("PERL5LIB" ":" prefix
1035 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
1036 (find-files (string-append out "/bin/") ".*")))))
1038 (add-after 'wrap-program 'check
1039 (lambda* (#:key inputs outputs #:allow-other-keys)
1040 (with-directory-excursion "data"
1041 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
1045 (home-page "https://github.com/marbl/Krona/wiki")
1046 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
1048 "Krona is a flexible tool for exploring the relative proportions of
1049 hierarchical data, such as metagenomic classifications, using a radial,
1050 space-filling display. It is implemented using HTML5 and JavaScript, allowing
1051 charts to be explored locally or served over the Internet, requiring only a
1052 current version of any major web browser.")
1053 (license license:bsd-3)))
1055 (define-public rapidjson
1062 (url "https://github.com/Tencent/rapidjson")
1063 (commit (string-append "v" version))))
1064 (file-name (git-file-name name version))
1067 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
1068 (patches (search-patches "rapidjson-gcc-compat.patch"))
1069 (modules '((guix build utils)))
1072 ;; Remove code using the problematic JSON license (see
1073 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
1074 (delete-file-recursively "bin/jsonchecker")
1076 (build-system cmake-build-system)
1078 (if (string-prefix? "aarch64" (or (%current-target-system)
1081 (modify-phases %standard-phases
1082 (add-after 'unpack 'patch-aarch-march-detection
1084 (substitute* (find-files "." "^CMakeLists\\.txt$")
1085 (("native") "armv8-a"))
1087 ;; Disable CPU optimization for reproducibility.
1088 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
1089 (home-page "https://github.com/Tencent/rapidjson")
1090 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
1092 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
1094 (license license:expat)))
1096 (define-public libyajl
1103 (url "https://github.com/lloyd/yajl")
1105 (file-name (git-file-name name version))
1108 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
1109 (build-system cmake-build-system)
1112 (modify-phases %standard-phases
1113 (add-after 'patch-source-shebangs 'patch-tests
1115 (substitute* "test/parsing/run_tests.sh"
1116 (("`which echo`") (which "echo")))
1118 (home-page "https://lloyd.github.io/yajl/")
1119 (synopsis "C library for parsing JSON")
1121 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
1122 parser written in ANSI C and a small validating JSON generator.")
1123 (license license:isc)))
1125 (define-public libwebsockets
1127 (name "libwebsockets")
1130 ;; The project does not publish tarballs, so we have to take
1134 (url "https://github.com/warmcat/libwebsockets")
1135 (commit (string-append "v" version
1136 "-chrome37-firefox30"))))
1139 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
1140 (file-name (string-append name "-" version))))
1142 (build-system cmake-build-system)
1144 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
1145 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
1148 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
1149 (inputs `(("zlib" ,zlib)
1150 ("openssl" ,openssl)))
1151 (synopsis "WebSockets library written in C")
1153 "Libwebsockets is a library that allows C programs to establish client
1154 and server WebSockets connections---a protocol layered above HTTP that allows
1155 for efficient socket-like bidirectional reliable communication channels.")
1156 (home-page "https://libwebsockets.org")
1158 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
1159 (license license:lgpl2.1)))
1169 (url "https://github.com/WebAssembly/wabt")
1171 (file-name (git-file-name name version))
1173 (base32 "1zlv3740wkqj4mn6sr84h0x6wk2lcp4pwwmqsh5yyqp1j1glbsa0"))))
1174 (build-system cmake-build-system)
1176 `(#:configure-flags '("-DBUILD_TESTS=OFF")
1178 (inputs `(("python" ,python-2)
1180 (home-page "https://github.com/WebAssembly/wabt")
1181 (synopsis "WebAssembly Binary Toolkit")
1182 (description "WABT (pronounced: wabbit) is a suite of tools for
1183 WebAssembly, including:
1186 @item @command{wat2wasm} translates from WebAssembly text format to the
1187 WebAssembly binary format
1188 @item @command{wasm2wat} is the inverse; it translates from the binary format
1189 back to the text format (also known as a .wat)
1190 @item @command{wasm-objdump} prints information about a wasm binary, similarly
1191 to @command{objdump}.
1192 @item @command{wasm-interp} decodes ands run a WebAssembly binary file using a
1193 stack-based interpreter
1194 @item @command{wat-desugar} parses .wat text form as supported by the spec
1195 interpreter (s-expressions, flat syntax, or mixed) and prints the canonical
1197 @item @command{wasm2c} converts a WebAssembly binary file to a C source and
1201 These tools are intended for use in (or for development of) toolchains or
1202 other systems that want to manipulate WebAssembly files.")
1203 (license license:asl2.0)))
1205 (define-public websocketpp
1207 (name "websocketpp")
1213 (url "https://github.com/zaphoyd/websocketpp")
1215 (file-name (git-file-name name version))
1217 (base32 "1ww4fhl8qf12hkv6jaild8zzsygdspxm1gqpk2f63gv1xfi31wpm"))
1218 (patches (search-patches "websocketpp-fix-for-cmake-3.15.patch"))))
1219 (build-system cmake-build-system)
1220 (inputs `(("boost" ,boost)
1221 ("openssl" ,openssl)))
1222 (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
1224 (modify-phases %standard-phases
1225 (add-after 'install 'remove-tests
1226 (lambda* (#:key outputs #:allow-other-keys)
1227 (let* ((install-dir (assoc-ref outputs "out"))
1228 (bin-dir (string-append install-dir "/bin")))
1229 (delete-file-recursively bin-dir)
1231 (home-page "https://www.zaphoyd.com/websocketpp/")
1232 (synopsis "C++ library implementing the WebSocket protocol")
1233 (description "WebSocket++ is a C++ library that can be used to implement
1234 WebSocket functionality. The goals of the project are to provide a WebSocket
1235 implementation that is simple, portable, flexible, lightweight, low level, and
1237 (license license:bsd-3)))
1239 (define-public wslay
1247 (url "https://github.com/tatsuhiro-t/wslay")
1248 (commit (string-append "release-" version))))
1249 (file-name (git-file-name name version))
1251 (base32 "1w32iljg4inqf0712w5fxxhggvmjh6ipl2lnz0h36dv1xrj0d964"))))
1252 (build-system gnu-build-system)
1254 ;; Parallel builds don't reliably succeed.
1255 `(#:parallel-build? #f))
1257 `(("autoconf" ,autoconf)
1258 ("automake" ,automake)
1259 ("cunit" ,cunit) ; for tests
1260 ("libtool" ,libtool)
1261 ("pkg-config" ,pkg-config)
1262 ("python-sphinx" ,python-sphinx)))
1263 (home-page "https://tatsuhiro-t.github.io/wslay/")
1264 (synopsis "C WebSocket library")
1265 (description "@code{Wslay} is an event-based C library for the WebSocket
1266 protocol version 13, described in RFC 6455. Besides a high-level API it
1267 provides callbacks for sending and receiving frames directly. @code{Wslay}
1268 only supports the data transfer part of WebSocket protocol and does not
1269 perform the opening handshake in HTTP.")
1270 (license license:expat)))
1272 (define-public libpsl
1278 (uri (string-append "https://github.com/rockdaboot/libpsl/"
1279 "releases/download/libpsl-" version
1280 "/libpsl-" version ".tar.gz"))
1283 "04pfagb7ppq3yibx4lhazd1v9nwkxdfkyy2rgcrmrf3mldsirga1"))))
1284 (build-system gnu-build-system)
1286 `(("pkg-config" ,pkg-config)
1289 ("python" ,python-wrapper)))
1291 `(("libidn2" ,libidn2)
1292 ("libunistring" ,libunistring)))
1293 (home-page "https://github.com/rockdaboot/libpsl")
1294 (synopsis "C library for the Publix Suffix List")
1296 "A \"public suffix\" is a domain name under which Internet users can
1297 directly register own names.
1299 Browsers and other web clients can use it to avoid privacy-leaking
1300 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
1301 highlighting parts of the domain in a user interface, and sorting domain lists
1304 Libpsl has built-in PSL data for fast access, allowing to load PSL data from
1305 files, checks if a given domain is a public suffix, provides immediate cookie
1306 domain verification, finds the longest public part of a given domain, finds
1307 the shortest private part of a given domain, works with international
1308 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
1310 (license license:x11)))
1315 (version "20091223")
1320 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
1322 (revision "2009-12-23")))
1323 (file-name (string-append name "-" version "-checkout"))
1326 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
1327 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
1328 (build-system gnu-build-system)
1330 '(#:phases (modify-phases %standard-phases
1332 (lambda* (#:key inputs #:allow-other-keys)
1333 ;; configure.in and Makefile.am aren't in the root of the
1335 (copy-recursively "build/gnuauto" ".")
1336 (setenv "AUTOMAKE" "automake --foreign")
1337 (invoke "autoreconf" "-vfi"))))))
1339 `(("automake" ,automake)
1340 ("autoconf" ,autoconf)
1341 ("libtool" ,libtool)))
1342 (synopsis "HTML validator and tidier")
1343 (description "HTML Tidy is a command-line tool and C library that can be
1344 used to validate and fix HTML data.")
1345 (home-page "http://tidy.sourceforge.net/")
1346 (license (license:x11-style "file:///include/tidy.h"))))
1348 (define-public tinyproxy
1354 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1355 "releases/download/" version "/tinyproxy-"
1359 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
1360 (build-system gnu-build-system)
1364 ;; For the log file, etc.
1365 "--localstatedir=/var")
1367 (modify-phases %standard-phases
1368 (add-before 'build 'pre-build
1369 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1370 ;; Uncommenting the next two lines may assist in debugging
1371 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1372 ;; (setenv "XML_DEBUG_CATALOG" "1")
1374 (home-page "https://tinyproxy.github.io/")
1375 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1376 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1377 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1378 solution for use cases such as embedded deployments where a full featured HTTP
1379 proxy is required, but the system resources for a larger proxy are
1381 (license license:gpl2+)))
1383 (define-public polipo
1391 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1395 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1396 (native-inputs `(("texinfo" ,texinfo)))
1397 (build-system gnu-build-system)
1399 `(#:phases (modify-phases %standard-phases
1400 (delete 'configure))
1401 #:make-flags (let ((out (assoc-ref %outputs "out")))
1402 (list (string-append "PREFIX=" out)
1403 (string-append "LOCAL_ROOT="
1404 out "/share/polipo/www")
1406 ;; No 'check' target.
1408 (home-page "https://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1409 (synopsis "Small caching web proxy")
1411 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1412 server). It was primarily designed to be used by one person or a small group
1414 (license license:expat)))
1416 (define-public websockify
1423 (url "https://github.com/novnc/websockify")
1424 (commit (string-append "v" version))))
1425 (file-name (git-file-name name version))
1428 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1429 (build-system python-build-system)
1431 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1432 ; named 'stubout'". The tests can be run by replacing the check phase with
1433 ; the command "python setup.py nosetests --verbosity=3".
1434 (native-inputs `(; Required for tests:
1435 ("python-mox3" ,python-mox3)
1436 ("python-nose" ,python-nose)))
1437 (propagated-inputs `(("python-numpy" ,python-numpy)))
1438 (home-page "https://github.com/novnc/websockify")
1439 (synopsis "WebSockets support for any application/server")
1440 (description "Websockify translates WebSockets traffic to normal socket
1441 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1442 begins forwarding traffic between the client and the target in both
1444 (license license:lgpl3)))
1446 (define-public wwwoffle
1452 (uri (string-append "https://www.gedanken.org.uk/software/"
1453 "wwwoffle/download/wwwoffle-"
1457 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1458 (build-system gnu-build-system)
1460 `(#:configure-flags '("--with-gnutls")
1461 #:tests? #f)) ; no test target
1462 (native-inputs `(("flex" ,flex)))
1463 (inputs `(("gnutls" ,gnutls)
1464 ("libcrypt" ,libgcrypt)))
1465 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1466 (synopsis "Caching web proxy optimized for intermittent internet links")
1467 (description "WWWOFFLE is a proxy web server that is especially good for
1468 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1469 protocols, and supports browsing and requesting pages while offline, indexing,
1470 modifying pages and incoming and outgoing headers, monitoring pages for
1471 changes, and much more.")
1472 (license license:gpl2+)))
1474 (define-public liboauth
1480 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1484 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1485 (build-system gnu-build-system)
1486 (arguments '(#:configure-flags '("--enable-nss")))
1487 (native-inputs `(("pkg-config" ,pkg-config)))
1491 (home-page "https://sourceforge.net/projects/liboauth")
1492 (synopsis "C library implementing the OAuth API")
1494 "liboauth is a collection of C functions implementing the OAuth API.
1495 liboauth provides functions to escape and encode strings according to OAuth
1496 specifications and offers high-level functionality built on top to sign
1497 requests or verify signatures using either NSS or OpenSSL for calculating the
1499 ;; Source code may be distributed under either license.
1500 (license (list license:expat license:gpl2+))))
1502 (define-public libyaml
1509 (uri (string-append "https://pyyaml.org/download/libyaml/yaml-"
1512 (base32 "0mq5wf17ifcwwxq3kbimhi53jn3fg23vcynqpzxjcz3vfjlfs2nq"))))
1513 (build-system gnu-build-system)
1514 (home-page "https://pyyaml.org/wiki/LibYAML")
1515 (synopsis "YAML 1.1 parser and emitter written in C")
1517 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1518 (license license:expat)))
1520 (define-public libquvi-scripts
1522 (name "libquvi-scripts")
1528 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1529 name "/" name "-" version ".tar.xz"))
1531 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1532 (build-system gnu-build-system)
1533 (home-page "http://quvi.sourceforge.net/")
1534 (synopsis "Media stream URL parser")
1535 (description "This package contains support scripts called by libquvi to
1536 parse media stream properties.")
1537 (license license:lgpl2.1+)))
1539 (define-public libquvi
1547 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1548 name "-" version ".tar.xz"))
1550 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1551 (build-system gnu-build-system)
1552 (native-inputs `(("pkg-config" ,pkg-config)))
1555 ("cyrus-sasl" ,cyrus-sasl)
1556 ("libquvi-scripts" ,libquvi-scripts)
1558 ("openssl" ,openssl)
1561 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1563 (let ((lua (assoc-ref %build-inputs "lua")))
1565 (string-append "liblua_CFLAGS=-I" lua "/include")
1566 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1567 (home-page "http://quvi.sourceforge.net/")
1568 (synopsis "Media stream URL parser")
1569 (description "libquvi is a library with a C API for parsing media stream
1570 URLs and extracting their actual media files.")
1571 (license license:lgpl2.1+)))
1581 "mirror://sourceforge/" name "/" (version-major+minor version)
1582 "/" name "/" name "-" version ".tar.xz"))
1584 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1585 (build-system gnu-build-system)
1586 (native-inputs `(("pkg-config" ,pkg-config)))
1589 ("libquvi" ,libquvi)))
1590 (home-page "http://quvi.sourceforge.net/")
1591 (synopsis "Media stream URL parser")
1592 (description "quvi is a command-line-tool suite to extract media files
1593 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1594 (license license:lgpl2.1+)))
1603 (uri (string-append "mirror://apache/serf/serf-"
1604 version ".tar.bz2"))
1606 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1607 (build-system scons-build-system)
1610 ("apr-util" ,apr-util)
1611 ("openssl" ,openssl)))
1613 `(;; TODO: Fix build with gss.
1617 `(#:scons ,scons-python2
1618 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1619 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1620 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1621 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1622 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1623 (string-append "PREFIX=" %output))
1625 (modify-phases %standard-phases
1626 (add-after 'unpack 'scons-propagate-environment
1628 ;; By design, SCons does not, by default, propagate
1629 ;; environment variables to subprocesses. See:
1630 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1631 ;; Here, we modify the SConstruct file to arrange for
1632 ;; environment variables to be propagated.
1633 (substitute* "SConstruct"
1634 (("^env = Environment\\(")
1635 "env = Environment(ENV=os.environ, "))))
1636 (add-before 'check 'disable-broken-tests
1638 ;; These tests rely on SSL certificates that expired 2017-04-18.
1639 ;; While there are newer certs available upstream, we don't want
1640 ;; this package to suddenly "expire" some time in the future.
1641 ;; https://bugs.gnu.org/26671
1643 '("test_ssl_trust_rootca"
1644 "test_ssl_certificate_chain_with_anchor"
1645 "test_ssl_certificate_chain_all_from_server"
1646 "test_ssl_no_servercert_callback_allok"
1647 "test_ssl_large_response"
1648 "test_ssl_large_request"
1649 "test_ssl_client_certificate"
1650 "test_ssl_future_server_cert"
1651 "test_setup_ssltunnel"
1652 "test_ssltunnel_basic_auth"
1653 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1654 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1655 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1656 "test_ssltunnel_digest_auth")))
1659 (substitute* "test/test_context.c"
1660 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1663 (home-page "https://serf.apache.org/")
1664 (synopsis "High-performance asynchronous HTTP client library")
1666 "serf is a C-based HTTP client library built upon the Apache Portable
1667 Runtime (APR) library. It multiplexes connections, running the read/write
1668 communication asynchronously. Memory copies and transformations are kept to a
1669 minimum to provide high performance operation.")
1670 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1671 ;; bundled CuTest framework uses a different non-copyleft license.
1672 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1674 (define-public libsass
1677 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1682 (url "https://github.com/sass/libsass")
1684 (file-name (git-file-name name version))
1687 "0r8lfqvr3rjhjd8r036zd1wc9q17gyiskppcw9m13jks9an7xp4j"))))
1688 (build-system gnu-build-system)
1691 (modify-phases %standard-phases
1692 (add-before 'bootstrap 'set-LIBSASS_VERSION
1694 (setenv "LIBSASS_VERSION" ,version)
1697 `(("autoconf" ,autoconf)
1698 ("automake" ,automake)
1699 ("libtool" ,libtool)))
1700 (home-page "https://sass-lang.com/libsass")
1701 (synopsis "SASS Compiler, implemented as a C/C++ library")
1703 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1704 library designed for portability and efficiency. To actually compile SASS
1705 stylesheets, you'll need to use another program that uses this library,
1706 @var{sassc} for example.")
1707 (license license:expat)))
1709 (define-public sassc
1716 (url "https://github.com/sass/sassc")
1718 (file-name (git-file-name name version))
1721 "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv"))))
1722 (build-system gnu-build-system)
1726 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1727 #:tests? #f ; no test suite
1729 (modify-phases %standard-phases
1730 (add-after 'unpack 'patch-Makefile
1732 (substitute* "Makefile"
1733 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1734 "build-shared: $(RESOURCES) $(OBJECTS)")
1735 (("\\$\\(SASSC_EXE\\): libsass build")
1736 "$(SASSC_EXE): build")
1737 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1740 ;; This phase fails for some reason.
1742 ;; There is no configure script.
1744 (add-before 'build 'setup-environment
1746 (setenv "BUILD" "shared")
1747 (setenv "SASSC_VERSION" ,version)
1750 `(("libsass" ,libsass)))
1751 (synopsis "CSS pre-processor")
1752 (description "SassC is a compiler written in C for the CSS pre-processor
1753 language known as SASS.")
1754 (home-page "https://sass-lang.com/libsass")
1755 (license license:expat)))
1757 (define-public sassc/libsass-3.5
1758 ;; Newer libsass versions suffor from a memory leak when building (some?)
1759 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
1773 (url "https://github.com/sass/libsass")
1775 (file-name (git-file-name name version))
1778 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
1779 (properties '((hidden? . #t)))))
1782 (define-public perl-apache-logformat-compiler
1784 (name "perl-apache-logformat-compiler")
1789 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1790 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1792 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
1793 (build-system perl-build-system)
1795 `(("perl-http-message" ,perl-http-message)
1796 ("perl-module-build-tiny" ,perl-module-build-tiny)
1797 ("perl-test-mocktime" ,perl-test-mocktime)
1798 ("perl-try-tiny" ,perl-try-tiny)
1799 ("perl-uri" ,perl-uri)))
1801 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1802 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1803 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1804 (synopsis "Compile a log format string to perl-code")
1805 (description "This module provides methods to compile a log format string
1806 to perl-code, for faster generation of access_log lines.")
1807 (license license:perl-license)))
1809 (define-public perl-authen-sasl
1811 (name "perl-authen-sasl")
1816 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1817 "Authen-SASL-" version ".tar.gz"))
1820 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1821 (build-system perl-build-system)
1824 (modify-phases %standard-phases
1825 (add-after 'unpack 'set-env
1826 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1827 ;; versions of perl-authen-sasl.
1828 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1830 `(("perl-digest-hmac" ,perl-digest-hmac)
1831 ("perl-gssapi" ,perl-gssapi)))
1832 (home-page "https://metacpan.org/release/Authen-SASL")
1833 (synopsis "SASL authentication framework")
1834 (description "Authen::SASL provides an SASL authentication framework.")
1835 (license license:perl-license)))
1837 (define-public perl-catalyst-action-renderview
1839 (name "perl-catalyst-action-renderview")
1844 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1845 "Catalyst-Action-RenderView-"
1849 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1850 (build-system perl-build-system)
1852 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1853 ("perl-module-install" ,perl-module-install)))
1855 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1856 ("perl-data-visitor" ,perl-data-visitor)
1857 ("perl-mro-compat" ,perl-mro-compat)))
1858 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
1859 (synopsis "Sensible default Catalyst action")
1860 (description "This Catalyst action implements a sensible default end
1861 action, which will forward to the first available view.")
1862 (license license:perl-license)))
1864 (define-public perl-catalyst-action-rest
1866 (name "perl-catalyst-action-rest")
1870 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1871 "Catalyst-Action-REST-" version ".tar.gz"))
1874 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
1875 (build-system perl-build-system)
1877 `(("perl-test-requires" ,perl-test-requires)
1878 ("perl-module-install" ,perl-module-install)))
1880 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1881 ("perl-class-inspector" ,perl-class-inspector)
1882 ("perl-config-general" ,perl-config-general)
1883 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1884 ("perl-libwww" ,perl-libwww)
1885 ("perl-moose" ,perl-moose)
1886 ("perl-mro-compat" ,perl-mro-compat)
1887 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1888 ("perl-params-validate" ,perl-params-validate)
1889 ("perl-uri-find" ,perl-uri-find)
1890 ("perl-xml-simple" ,perl-xml-simple)))
1891 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
1892 (synopsis "Automated REST Method Dispatching")
1893 (description "This Action handles doing automatic method dispatching for
1894 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1895 append an underscore and method name. First it will try dispatching to an
1896 action with the generated name, and failing that it will try to dispatch to a
1898 (license license:perl-license)))
1900 (define-public perl-catalyst-authentication-store-dbix-class
1902 (name "perl-catalyst-authentication-store-dbix-class")
1907 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1908 "Catalyst-Authentication-Store-DBIx-Class-"
1912 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1913 (build-system perl-build-system)
1915 `(("perl-catalyst-plugin-authorization-roles"
1916 ,perl-catalyst-plugin-authorization-roles)
1917 ("perl-catalyst-plugin-session-state-cookie"
1918 ,perl-catalyst-plugin-session-state-cookie)
1919 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1920 ("perl-module-install" ,perl-module-install)
1921 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1923 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1924 ("perl-catalyst-plugin-authentication"
1925 ,perl-catalyst-plugin-authentication)
1926 ("perl-dbix-class" ,perl-dbix-class)
1927 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1929 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
1930 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1931 (description "The Catalyst::Authentication::Store::DBIx::Class class
1932 provides access to authentication information stored in a database via
1934 (license license:perl-license)))
1936 (define-public perl-catalyst-component-instancepercontext
1938 (name "perl-catalyst-component-instancepercontext")
1939 (version "0.001001")
1943 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1944 "Catalyst-Component-InstancePerContext-"
1948 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1949 (build-system perl-build-system)
1951 `(("perl-module-install" ,perl-module-install)))
1953 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1954 ("perl-moose" ,perl-moose)))
1956 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
1957 (synopsis "Create only one instance of Moose component per context")
1958 (description "Catalyst::Component::InstancePerContext returns a new
1959 instance of a component on each request.")
1960 (license license:perl-license)))
1962 (define-public perl-catalyst-devel
1964 (name "perl-catalyst-devel")
1969 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
1970 "Catalyst-Devel-" version ".tar.gz"))
1972 (base32 "1r8arq7sw37d0mjyfzkc3pg1a9plgydqbscryc8qpvba4swpljls"))))
1973 (build-system perl-build-system)
1975 `(("perl-test-fatal" ,perl-test-fatal)))
1977 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1978 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1979 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1980 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1981 ("perl-config-general" ,perl-config-general)
1982 ("perl-file-changenotify" ,perl-file-changenotify)
1983 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1984 ("perl-file-sharedir" ,perl-file-sharedir)
1985 ("perl-module-install" ,perl-module-install)
1986 ("perl-moose" ,perl-moose)
1987 ("perl-moosex-emulate-class-accessor-fast"
1988 ,perl-moosex-emulate-class-accessor-fast)
1989 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1990 ("perl-namespace-clean" ,perl-namespace-clean)
1991 ("perl-path-class" ,perl-path-class)
1992 ("perl-template-toolkit" ,perl-template-toolkit)))
1993 (home-page "https://metacpan.org/release/Catalyst-Devel")
1994 (synopsis "Catalyst Development Tools")
1995 (description "The Catalyst-Devel distribution includes a variety of
1996 modules useful for the development of Catalyst applications, but not required
1997 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1998 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1999 extension for Catalyst; and requirements for a variety of development-related
2001 (license license:perl-license)))
2003 (define-public perl-catalyst-dispatchtype-regex
2005 (name "perl-catalyst-dispatchtype-regex")
2010 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
2011 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
2014 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
2015 (build-system perl-build-system)
2017 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
2018 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2019 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
2021 `(("perl-moose" ,perl-moose)
2022 ("perl-text-simpletable" ,perl-text-simpletable)))
2023 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
2024 (synopsis "Regex DispatchType for Catalyst")
2025 (description "Dispatch type managing path-matching behaviour using
2026 regexes. Regex dispatch types have been deprecated and removed from Catalyst
2027 core. It is recommend that you use Chained methods or other techniques
2028 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
2029 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
2030 when the dispatch type is first seen in your application.")
2031 (license license:perl-license)))
2033 (define-public perl-catalyst-model-dbic-schema
2035 (name "perl-catalyst-model-dbic-schema")
2040 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
2041 "Catalyst-Model-DBIC-Schema-"
2045 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
2046 (build-system perl-build-system)
2048 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
2049 ("perl-module-install" ,perl-module-install)
2050 ("perl-test-exception" ,perl-test-exception)
2051 ("perl-test-requires" ,perl-test-requires)))
2053 `(("perl-carp-clan" ,perl-carp-clan)
2054 ("perl-catalyst-component-instancepercontext"
2055 ,perl-catalyst-component-instancepercontext)
2056 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2057 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
2058 ("perl-dbix-class" ,perl-dbix-class)
2059 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
2060 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
2061 ("perl-hash-merge" ,perl-hash-merge)
2062 ("perl-list-moreutils" ,perl-list-moreutils)
2063 ("perl-module-runtime" ,perl-module-runtime)
2064 ("perl-moose" ,perl-moose)
2065 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
2066 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
2067 ("perl-moosex-types" ,perl-moosex-types)
2068 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
2069 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2070 ("perl-namespace-clean" ,perl-namespace-clean)
2071 ("perl-tie-ixhash" ,perl-tie-ixhash)
2072 ("perl-try-tiny" ,perl-try-tiny)))
2073 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
2074 (synopsis "DBIx::Class::Schema Model Class")
2075 (description "This is a Catalyst Model for DBIx::Class::Schema-based
2077 (license license:perl-license)))
2079 (define-public perl-catalyst-plugin-accesslog
2081 (name "perl-catalyst-plugin-accesslog")
2086 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
2087 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
2090 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
2091 (build-system perl-build-system)
2093 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2094 ("perl-datetime" ,perl-datetime)
2095 ("perl-moose" ,perl-moose)
2096 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2097 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
2098 (synopsis "Request logging from within Catalyst")
2099 (description "This Catalyst plugin enables you to create \"access logs\"
2100 from within a Catalyst application instead of requiring a webserver to do it
2101 for you. It will work even with Catalyst debug logging turned off.")
2102 (license license:perl-license)))
2104 (define-public perl-catalyst-plugin-authentication
2106 (name "perl-catalyst-plugin-authentication")
2111 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2112 "Catalyst-Plugin-Authentication-"
2116 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
2117 (build-system perl-build-system)
2119 `(("perl-module-install" ,perl-module-install)))
2121 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2122 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2123 ("perl-class-inspector" ,perl-class-inspector)
2124 ("perl-moose" ,perl-moose)
2125 ("perl-moosex-emulate-class-accessor-fast"
2126 ,perl-moosex-emulate-class-accessor-fast)
2127 ("perl-mro-compat" ,perl-mro-compat)
2128 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2129 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2130 ("perl-test-exception" ,perl-test-exception)
2131 ("perl-try-tiny" ,perl-try-tiny)))
2132 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
2133 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
2134 (description "The authentication plugin provides generic user support for
2135 Catalyst apps. It is the basis for both authentication (checking the user is
2136 who they claim to be), and authorization (allowing the user to do what the
2137 system authorises them to do).")
2138 (license license:perl-license)))
2140 (define-public perl-catalyst-plugin-authorization-roles
2142 (name "perl-catalyst-plugin-authorization-roles")
2147 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2148 "Catalyst-Plugin-Authorization-Roles-"
2152 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
2153 (build-system perl-build-system)
2155 `(("perl-module-install" ,perl-module-install)
2156 ("perl-test-exception" ,perl-test-exception)))
2158 `(("perl-catalyst-plugin-authentication"
2159 ,perl-catalyst-plugin-authentication)
2160 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2161 ("perl-set-object" ,perl-set-object)
2162 ("perl-universal-isa" ,perl-universal-isa)))
2164 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2165 (synopsis "Role-based authorization for Catalyst")
2166 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2167 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2168 (license license:perl-license)))
2170 (define-public perl-catalyst-plugin-captcha
2172 (name "perl-catalyst-plugin-captcha")
2177 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2178 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2181 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2182 (build-system perl-build-system)
2184 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2185 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2186 ("perl-gd-securityimage" ,perl-gd-securityimage)
2187 ("perl-http-date" ,perl-http-date)))
2188 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2189 (synopsis "Captchas for Catalyst")
2190 (description "This plugin creates and validates Captcha images for
2192 (license license:perl-license)))
2194 (define-public perl-catalyst-plugin-configloader
2196 (name "perl-catalyst-plugin-configloader")
2201 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2202 "Catalyst-Plugin-ConfigLoader-"
2205 (base32 "0w8r3bbxqnlykvra6sx3sh3wh8ylkj914xg5ql6nw11ddy56jaly"))))
2206 (build-system perl-build-system)
2208 `(("perl-path-class" ,perl-path-class)
2209 ("perl-module-install" ,perl-module-install)))
2211 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2212 ("perl-config-any" ,perl-config-any)
2213 ("perl-data-visitor" ,perl-data-visitor)
2214 ("perl-mro-compat" ,perl-mro-compat)))
2215 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2216 (synopsis "Load config files of various types")
2217 (description "This module will attempt to load find and load configuration
2218 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2220 (license license:perl-license)))
2222 (define-public perl-catalyst-plugin-session
2224 (name "perl-catalyst-plugin-session")
2229 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2230 "Catalyst-Plugin-Session-" version ".tar.gz"))
2232 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2233 (build-system perl-build-system)
2235 `(("perl-module-install" ,perl-module-install)
2236 ("perl-test-deep" ,perl-test-deep)
2237 ("perl-test-exception" ,perl-test-exception)))
2239 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2240 ("perl-moose" ,perl-moose)
2241 ("perl-moosex-emulate-class-accessor-fast"
2242 ,perl-moosex-emulate-class-accessor-fast)
2243 ("perl-mro-compat" ,perl-mro-compat)
2244 ("perl-namespace-clean" ,perl-namespace-clean)
2245 ("perl-object-signature" ,perl-object-signature)
2246 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2247 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2248 (synopsis "Catalyst generic session plugin")
2249 (description "This plugin links the two pieces required for session
2250 management in web applications together: the state, and the store.")
2251 (license license:perl-license)))
2253 (define-public perl-catalyst-plugin-session-state-cookie
2255 (name "perl-catalyst-plugin-session-state-cookie")
2260 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2261 "Catalyst-Plugin-Session-State-Cookie-"
2265 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2266 (build-system perl-build-system)
2268 `(("perl-module-install" ,perl-module-install)))
2270 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2271 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2272 ("perl-moose" ,perl-moose)
2273 ("perl-mro-compat" ,perl-mro-compat)
2274 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2276 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2277 (synopsis "Maintain session IDs using cookies")
2278 (description "In order for Catalyst::Plugin::Session to work, the session
2279 ID needs to be stored on the client, and the session data needs to be stored
2280 on the server. This plugin stores the session ID on the client using the
2282 (license license:perl-license)))
2284 (define-public perl-catalyst-plugin-session-store-fastmmap
2286 (name "perl-catalyst-plugin-session-store-fastmmap")
2291 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2292 "Catalyst-Plugin-Session-Store-FastMmap-"
2296 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2297 (build-system perl-build-system)
2299 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2300 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2301 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2302 ("perl-moosex-emulate-class-accessor-fast"
2303 ,perl-moosex-emulate-class-accessor-fast)
2304 ("perl-mro-compat" ,perl-mro-compat)
2305 ("perl-path-class" ,perl-path-class)))
2307 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2308 (synopsis "FastMmap session storage backend")
2309 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2310 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2311 memory interprocess cache. It is based on Cache::FastMmap.")
2312 (license license:perl-license)))
2314 (define-public perl-catalyst-plugin-stacktrace
2316 (name "perl-catalyst-plugin-stacktrace")
2321 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2322 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2325 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2326 (build-system perl-build-system)
2328 `(("perl-module-install" ,perl-module-install)))
2330 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2331 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2332 ("perl-mro-compat" ,perl-mro-compat)))
2333 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2334 (synopsis "Stack trace on the Catalyst debug screen")
2335 (description "This plugin enhances the standard Catalyst debug screen by
2336 including a stack trace of your application up to the point where the error
2337 occurred. Each stack frame is displayed along with the package name, line
2338 number, file name, and code context surrounding the line number.")
2339 (license license:perl-license)))
2341 (define-public perl-catalyst-plugin-static-simple
2343 (name "perl-catalyst-plugin-static-simple")
2348 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2349 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2352 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2353 (build-system perl-build-system)
2355 `(("perl-module-install" ,perl-module-install)))
2357 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2358 ("perl-mime-types" ,perl-mime-types)
2359 ("perl-moose" ,perl-moose)
2360 ("perl-moosex-types" ,perl-moosex-types)
2361 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2362 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2363 (synopsis "Simple serving of static pages")
2364 (description "The Static::Simple plugin is designed to make serving static
2365 content in your application during development quick and easy, without
2366 requiring a single line of code from you. This plugin detects static files by
2367 looking at the file extension in the URL (such as .css or .png or .js). The
2368 plugin uses the lightweight MIME::Types module to map file extensions to
2369 IANA-registered MIME types, and will serve your static files with the correct
2370 MIME type directly to the browser, without being processed through Catalyst.")
2371 (license license:perl-license)))
2373 (define-public perl-catalyst-runtime
2375 (name "perl-catalyst-runtime")
2380 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2381 "Catalyst-Runtime-" version ".tar.gz"))
2384 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2385 (build-system perl-build-system)
2387 `(("perl-test-fatal" ,perl-test-fatal)))
2389 `(("perl-cgi-simple" ,perl-cgi-simple)
2390 ("perl-cgi-struct" ,perl-cgi-struct)
2391 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2392 ("perl-class-date" ,perl-class-date)
2393 ("perl-class-load" ,perl-class-load)
2394 ("perl-data-dump" ,perl-data-dump)
2395 ("perl-http-body" ,perl-http-body)
2396 ("perl-http-message" ,perl-http-message)
2397 ("perl-json-maybexs" ,perl-json-maybexs)
2398 ("perl-libwww" ,perl-libwww)
2399 ("perl-module-pluggable" ,perl-module-pluggable)
2400 ("perl-moose" ,perl-moose)
2401 ("perl-moosex-emulate-class-accessor-fast"
2402 ,perl-moosex-emulate-class-accessor-fast)
2403 ("perl-moosex-getopt" ,perl-moosex-getopt)
2404 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2405 ("perl-namespace-clean" ,perl-namespace-clean)
2406 ("perl-path-class" ,perl-path-class)
2407 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2408 ("perl-plack" ,perl-plack)
2409 ("perl-plack-middleware-fixmissingbodyinredirect"
2410 ,perl-plack-middleware-fixmissingbodyinredirect)
2411 ("perl-plack-middleware-methodoverride"
2412 ,perl-plack-middleware-methodoverride)
2413 ("perl-plack-middleware-removeredundantbody"
2414 ,perl-plack-middleware-removeredundantbody)
2415 ("perl-plack-middleware-reverseproxy"
2416 ,perl-plack-middleware-reverseproxy)
2417 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2418 ("perl-safe-isa" ,perl-safe-isa)
2419 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2420 ("perl-text-simpletable" ,perl-text-simpletable)
2421 ("perl-tree-simple" ,perl-tree-simple)
2422 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2423 ("perl-try-tiny" ,perl-try-tiny)
2424 ("perl-uri" ,perl-uri)
2425 ("perl-uri-ws" ,perl-uri-ws)))
2426 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2427 (synopsis "The Catalyst Framework Runtime")
2428 (description "Catalyst is a modern framework for making web applications.
2429 It is designed to make it easy to manage the various tasks you need to do to
2430 run an application on the web, either by doing them itself, or by letting you
2431 \"plug in\" existing Perl modules that do what you need.")
2432 (license license:perl-license)))
2434 (define-public perl-catalyst-traitfor-request-proxybase
2436 (name "perl-catalyst-traitfor-request-proxybase")
2437 (version "0.000005")
2441 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2442 "Catalyst-TraitFor-Request-ProxyBase-"
2446 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2447 (build-system perl-build-system)
2449 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2450 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2451 ("perl-http-message" ,perl-http-message)
2452 ("perl-module-install" ,perl-module-install)))
2454 `(("perl-moose" ,perl-moose)
2455 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2456 ("perl-uri" ,perl-uri)))
2458 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2459 (synopsis "Replace request base with value passed by HTTP proxy")
2460 (description "This module is a Moose::Role which allows you more
2461 flexibility in your application's deployment configurations when deployed
2462 behind a proxy. Using this module, the request base ($c->req->base) is
2463 replaced with the contents of the X-Request-Base header.")
2464 (license license:perl-license)))
2466 (define-public perl-catalyst-view-download
2468 (name "perl-catalyst-view-download")
2473 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2474 "Catalyst-View-Download-" version ".tar.gz"))
2477 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2478 (build-system perl-build-system)
2480 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2481 ("perl-module-install" ,perl-module-install)
2482 ("perl-test-simple" ,perl-test-simple)
2483 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2484 ("perl-text-csv" ,perl-text-csv)
2485 ("perl-xml-simple" ,perl-xml-simple)))
2486 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2487 (synopsis "Download data in many formats")
2488 (description "The purpose of this module is to provide a method for
2489 downloading data into many supportable formats. For example, downloading a
2490 table based report in a variety of formats (CSV, HTML, etc.).")
2491 (license license:perl-license)))
2493 (define-public perl-catalyst-view-json
2495 (name "perl-catalyst-view-json")
2500 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2501 "Catalyst-View-JSON-" version ".tar.gz"))
2504 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2505 (build-system perl-build-system)
2507 `(("perl-module-install" ,perl-module-install)
2508 ("perl-yaml" ,perl-yaml)))
2510 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2511 ("perl-json-maybexs" ,perl-json-maybexs)
2512 ("perl-mro-compat" ,perl-mro-compat)))
2513 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2514 (synopsis "Catalyst JSON view")
2515 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2516 stash data in JSON format.")
2517 (license license:perl-license)))
2519 (define-public perl-catalyst-view-tt
2521 (name "perl-catalyst-view-tt")
2526 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2527 "Catalyst-View-TT-" version ".tar.gz"))
2529 (base32 "0jzgpkgq5pwq82zlb0nykdyk40dfpsyn9ilz91d0wpixgi9i5pr8"))))
2530 (build-system perl-build-system)
2532 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2533 ("perl-class-accessor" ,perl-class-accessor)
2534 ("perl-data-dump" ,perl-data-dump)
2535 ("perl-mro-compat" ,perl-mro-compat)
2536 ("perl-path-class" ,perl-path-class)
2537 ("perl-template-timer" ,perl-template-timer)
2538 ("perl-template-toolkit" ,perl-template-toolkit)))
2539 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2540 (synopsis "Template View Class")
2541 (description "This module is a Catalyst view class for the Template
2543 (license license:perl-license)))
2545 (define-public perl-catalystx-component-traits
2547 (name "perl-catalystx-component-traits")
2552 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2553 "CatalystX-Component-Traits-" version ".tar.gz"))
2556 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2557 (build-system perl-build-system)
2559 `(("perl-moose" ,perl-moose)
2560 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2561 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2563 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2564 ("perl-class-load" ,perl-class-load)
2565 ("perl-moose" ,perl-moose)
2566 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2567 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2568 ("perl-list-moreutils" ,perl-list-moreutils)))
2569 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2570 (synopsis "Trait Loading and Resolution for Catalyst Components")
2571 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2572 Catalyst component base class that reads the optional \"traits\" parameter
2573 from app and component config and instantiates the component subclass with
2574 those traits using \"new_with_traits\" in MooseX::Traits from
2575 MooseX::Traits::Pluggable.")
2576 (license license:perl-license)))
2578 (define-public perl-catalystx-roleapplicator
2580 (name "perl-catalystx-roleapplicator")
2585 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2586 "CatalystX-RoleApplicator-" version ".tar.gz"))
2589 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2590 (build-system perl-build-system)
2592 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2593 ("perl-moose" ,perl-moose)
2594 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2595 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2596 (synopsis "Apply roles to Catalyst classes")
2597 (description "CatalystX::RoleApplicator applies roles to Catalyst
2598 application classes.")
2599 (license license:perl-license)))
2601 (define-public perl-catalystx-script-server-starman
2603 (name "perl-catalystx-script-server-starman")
2608 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2609 "CatalystX-Script-Server-Starman-"
2613 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2614 (build-system perl-build-system)
2616 `(("perl-module-install" ,perl-module-install)
2617 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2619 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2620 ("perl-moose" ,perl-moose)
2621 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2622 ("starman" ,starman)))
2623 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2624 (synopsis "Catalyst development server with Starman")
2625 (description "This module provides a Catalyst extension to replace the
2626 development server with Starman.")
2627 (license license:perl-license)))
2629 (define-public perl-cgi
2636 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2637 "CGI-" version ".tar.gz"))
2640 "1a9cylhqsm5icvbg09m21nj0xx4zy5gbk4p74npm1ch3qlryzyyr"))))
2641 (build-system perl-build-system)
2643 `(("perl-test-deep" ,perl-test-deep)
2644 ("perl-test-nowarnings" ,perl-test-nowarnings)
2645 ("perl-test-warn" ,perl-test-warn)))
2647 `(("perl-html-parser" ,perl-html-parser)))
2648 (home-page "https://metacpan.org/release/CGI")
2649 (synopsis "Handle Common Gateway Interface requests and responses")
2650 (description "CGI.pm is a stable, complete and mature solution for
2651 processing and preparing HTTP requests and responses. Major features include
2652 processing form submissions, file uploads, reading and writing cookies, query
2653 string generation and manipulation, and processing and preparing HTTP
2655 (license license:perl-license)))
2657 (define-public perl-cgi-formbuilder
2659 (name "perl-cgi-formbuilder")
2665 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2666 "CGI-FormBuilder-" version ".tar.gz"))
2669 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2670 (build-system perl-build-system)
2671 (inputs `(("perl-cgi" ,perl-cgi)))
2673 "https://metacpan.org/release/CGI-FormBuilder")
2675 "Generate and process stateful forms")
2677 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2678 form-based applications.")
2679 (license license:perl-license)))
2681 (define-public perl-cgi-session
2683 (name "perl-cgi-session")
2689 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2694 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2695 (build-system perl-build-system)
2697 `(("perl-module-build" ,perl-module-build)))
2698 (inputs `(("perl-cgi" ,perl-cgi)))
2700 "https://metacpan.org/release/CGI-Session")
2702 "Persistent session data in CGI applications")
2704 "@code{CGI::Session} provides modular session management system across
2706 (license license:perl-license)))
2708 (define-public perl-cgi-simple
2710 (name "perl-cgi-simple")
2715 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2716 "CGI-Simple-" version ".tar.gz"))
2718 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
2719 (build-system perl-build-system)
2721 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2722 ("perl-module-build" ,perl-module-build)
2723 ("perl-test-exception" ,perl-test-exception)
2724 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2725 (home-page "https://metacpan.org/release/CGI-Simple")
2726 (synopsis "CGI interface that is CGI.pm compliant")
2727 (description "CGI::Simple provides a relatively lightweight drop in
2728 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2729 parameter parsing, file upload, cookie handling and header generation.")
2730 (license license:perl-license)))
2732 (define-public perl-cgi-struct
2734 (name "perl-cgi-struct")
2739 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2740 "CGI-Struct-" version ".tar.gz"))
2743 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2744 (build-system perl-build-system)
2746 `(("perl-test-deep" ,perl-test-deep)))
2747 (home-page "https://metacpan.org/release/CGI-Struct")
2748 (synopsis "Build structures from CGI data")
2749 (description "This is a module for building structured data from CGI
2750 inputs, in a manner reminiscent of how PHP does.")
2751 (license license:bsd-2)))
2753 (define-public perl-datetime-format-http
2755 (name "perl-datetime-format-http")
2760 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2761 "DateTime-Format-HTTP-" version ".tar.gz"))
2764 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2765 (build-system perl-build-system)
2767 `(("perl-module-build" ,perl-module-build)))
2769 `(("perl-datetime" ,perl-datetime)
2770 ("perl-http-date" ,perl-http-date)))
2771 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2772 (synopsis "Date conversion routines")
2773 (description "This module provides functions that deal with the date
2774 formats used by the HTTP protocol.")
2775 (license license:perl-license)))
2777 (define-public perl-digest-md5-file
2779 (name "perl-digest-md5-file")
2784 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2785 "Digest-MD5-File-" version ".tar.gz"))
2788 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2789 (build-system perl-build-system)
2791 `(("perl-libwww" ,perl-libwww)))
2792 (home-page "https://metacpan.org/release/Digest-MD5-File")
2793 (synopsis "MD5 sums for files and urls")
2794 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2795 for files and urls.")
2796 (license license:perl-license)))
2798 (define-public perl-encode-locale
2800 (name "perl-encode-locale")
2805 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2809 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2810 (build-system perl-build-system)
2811 (license license:perl-license)
2812 (synopsis "Perl locale encoding determination")
2814 "The POSIX locale system is used to specify both the language
2815 conventions requested by the user and the preferred character set to
2816 consume and output. The Encode::Locale module looks up the charset and
2817 encoding (called a CODESET in the locale jargon) and arranges for the
2818 Encode module to know this encoding under the name \"locale\". It means
2819 bytes obtained from the environment can be converted to Unicode strings
2820 by calling Encode::encode(locale => $bytes) and converted back again
2821 with Encode::decode(locale => $string).")
2822 (home-page "https://metacpan.org/release/Encode-Locale")))
2824 (define-public perl-feed-find
2826 (name "perl-feed-find")
2830 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2831 "Feed-Find-" version ".tar.gz"))
2834 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2835 (build-system perl-build-system)
2837 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2840 (modify-phases %standard-phases
2841 (add-after 'unpack 'set-env
2842 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2844 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2845 ("perl-html-parser" ,perl-html-parser)
2846 ("perl-libwww" ,perl-libwww)
2847 ("perl-uri" ,perl-uri)))
2848 (home-page "https://metacpan.org/release/Feed-Find")
2849 (synopsis "Syndication feed auto-discovery")
2850 (description "@code{Feed::Find} implements feed auto-discovery for finding
2851 syndication feeds, given a URI. It will discover the following feed formats:
2852 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2853 (license license:perl-license)))
2855 (define-public perl-file-listing
2857 (name "perl-file-listing")
2862 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2866 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2867 (build-system perl-build-system)
2869 `(("perl-http-date" ,perl-http-date)))
2870 (license license:perl-license)
2871 (synopsis "Perl directory listing parser")
2873 "The File::Listing module exports a single function called parse_dir(),
2874 which can be used to parse directory listings.")
2875 (home-page "https://metacpan.org/release/File-Listing")))
2877 (define-public perl-finance-quote
2879 (name "perl-finance-quote")
2884 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2885 "Finance-Quote-" version ".tar.gz"))
2887 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
2888 (patches (search-patches
2889 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2890 (build-system perl-build-system)
2892 `(("perl-cgi" ,perl-cgi)
2893 ("perl-datetime" ,perl-datetime)
2894 ("perl-html-parser" ,perl-html-parser)
2895 ("perl-html-tableextract" ,perl-html-tableextract)
2896 ("perl-html-tree" ,perl-html-tree)
2897 ("perl-http-cookies" ,perl-http-cookies)
2898 ("perl-http-message" ,perl-http-message)
2899 ("perl-json" ,perl-json)
2900 ("perl-libwww" ,perl-libwww)
2901 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2902 ("perl-uri" ,perl-uri)))
2903 (home-page "https://metacpan.org/release/Finance-Quote")
2904 (synopsis "Stock and mutual fund quotes")
2906 "Finance::Quote gets stock quotes from various internet sources, including
2907 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2908 (license license:gpl2)))
2910 (define-public perl-gssapi
2912 (name "perl-gssapi")
2917 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2918 "GSSAPI-" version ".tar.gz"))
2921 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2922 (build-system perl-build-system)
2923 (inputs `(("gssapi" ,mit-krb5)))
2925 `(#:make-maker-flags
2926 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2927 (home-page "https://metacpan.org/release/GSSAPI")
2928 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2929 (description "This is a Perl extension for using GSSAPI C bindings as
2930 described in RFC 2744.")
2931 (license license:perl-license)))
2933 (define-public perl-html-element-extended
2935 (name "perl-html-element-extended")
2940 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2941 "HTML-Element-Extended-" version ".tar.gz"))
2944 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2945 (build-system perl-build-system)
2947 `(("perl-html-tree" ,perl-html-tree)))
2948 (home-page "https://metacpan.org/release/HTML-Element-Extended")
2949 (synopsis "Manipulate tables of HTML::Element")
2951 "HTML::Element::Extended is a Perl extension for manipulating a table
2952 composed of HTML::Element style components.")
2953 (license license:perl-license)))
2955 (define-public perl-html-form
2957 (name "perl-html-form")
2962 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
2963 "HTML-Form-" version ".tar.gz"))
2965 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
2966 (build-system perl-build-system)
2968 `(("perl-html-parser" ,perl-html-parser)
2969 ("perl-html-tagset" ,perl-html-tagset)
2970 ("perl-http-message" ,perl-http-message)
2971 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2972 ("perl-uri" ,perl-uri)))
2973 (home-page "https://metacpan.org/release/HTML-Form")
2974 (synopsis "Perl class representing an HTML form element")
2975 (description "Objects of the HTML::Form class represents a single HTML
2976 <form> ... </form> instance.")
2977 (license license:perl-license)))
2979 (define-public perl-html-scrubber
2981 (name "perl-html-scrubber")
2987 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2992 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
2993 (build-system perl-build-system)
2995 `(("perl-module-build" ,perl-module-build)
2996 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2997 ("perl-test-differences" ,perl-test-differences)
2998 ("perl-test-eol" ,perl-test-eol)
2999 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
3000 ("perl-test-notabs" ,perl-test-notabs)))
3002 `(("perl-html-parser" ,perl-html-parser)))
3004 "https://metacpan.org/release/HTML-Scrubber")
3006 "Perl extension for scrubbing/sanitizing html")
3008 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
3009 (license license:perl-license)))
3011 (define-public perl-html-lint
3013 (name "perl-html-lint")
3018 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3019 "HTML-Lint-" version ".tar.gz"))
3021 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
3022 (build-system perl-build-system)
3024 `(("perl-html-parser" ,perl-html-parser)
3025 ("perl-html-tagset" ,perl-html-tagset)
3026 ("perl-libwww" ,perl-libwww)))
3027 (home-page "https://metacpan.org/release/HTML-Lint")
3028 (synopsis "Check for HTML errors in a string or file")
3029 (description "HTML::Lint is a pure-Perl HTML parser and checker for
3030 syntactic legitmacy.")
3031 (license license:artistic2.0)))
3033 (define-public perl-html-tableextract
3035 (name "perl-html-tableextract")
3040 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
3041 "HTML-TableExtract-" version ".tar.gz"))
3044 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
3045 (build-system perl-build-system)
3047 `(("perl-html-element-extended" ,perl-html-element-extended)
3048 ("perl-html-parser" ,perl-html-parser)))
3049 (home-page "https://metacpan.org/release/HTML-TableExtract")
3050 (synopsis "Extract contents from HTML tables")
3052 "HTML::TableExtract is a Perl module for extracting the content contained
3053 in tables within an HTML document, either as text or encoded element trees.")
3054 (license license:perl-license)))
3056 (define-public perl-html-tree
3058 (name "perl-html-tree")
3063 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
3064 "HTML-Tree-" version ".tar.gz"))
3067 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
3068 (build-system perl-build-system)
3070 `(("perl-module-build" ,perl-module-build)
3071 ("perl-test-fatal" ,perl-test-fatal)))
3073 `(("perl-html-parser" ,perl-html-parser)
3074 ("perl-html-tagset" ,perl-html-tagset)
3075 ("perl-libwww" ,perl-libwww)))
3076 (home-page "https://metacpan.org/release/HTML-Tree")
3077 (synopsis "Work with HTML in a DOM-like tree structure")
3078 (description "This distribution contains a suite of modules for
3079 representing, creating, and extracting information from HTML syntax trees.")
3080 (license license:perl-license)))
3082 (define-public perl-html-parser
3084 (name "perl-html-parser")
3089 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
3093 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
3094 (build-system perl-build-system)
3096 `(("perl-html-tagset" ,perl-html-tagset)
3097 ("perl-http-message" ,perl-http-message)))
3098 (license license:perl-license)
3099 (synopsis "Perl HTML parser class")
3101 "Objects of the HTML::Parser class will recognize markup and separate
3102 it from plain text (alias data content) in HTML documents. As different
3103 kinds of markup and text are recognized, the corresponding event handlers
3105 (home-page "https://metacpan.org/release/HTML-Parser")))
3107 (define-public perl-html-tagset
3109 (name "perl-html-tagset")
3114 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
3118 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
3119 (build-system perl-build-system)
3120 (license license:perl-license)
3121 (synopsis "Perl data tables useful in parsing HTML")
3123 "The HTML::Tagset module contains several data tables useful in various
3124 kinds of HTML parsing operations.")
3125 (home-page "https://metacpan.org/release/HTML-Tagset")))
3127 (define-public perl-html-template
3129 (name "perl-html-template")
3133 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
3134 "HTML-Template-" version ".tar.gz"))
3137 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
3138 (build-system perl-build-system)
3140 `(("perl-cgi" ,perl-cgi)))
3141 (home-page "https://metacpan.org/release/HTML-Template")
3142 (synopsis "HTML-like templates")
3144 "This module attempts to make using HTML templates simple and natural.
3145 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
3146 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
3147 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
3148 these new tags is called a template. Using this module you fill in the values
3149 for the variables, loops and branches declared in the template. This allows
3150 you to separate design from the data.")
3151 (license license:perl-license)))
3153 (define-public perl-http-body
3155 (name "perl-http-body")
3160 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3161 "HTTP-Body-" version ".tar.gz"))
3164 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3165 (build-system perl-build-system)
3167 `(("perl-test-deep" ,perl-test-deep)))
3169 `(("perl-file-temp" ,perl-file-temp)
3170 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3171 (home-page "https://metacpan.org/release/HTTP-Body")
3172 (synopsis "HTTP Body Parser")
3173 (description "HTTP::Body parses chunks of HTTP POST data and supports
3174 application/octet-stream, application/json, application/x-www-form-urlencoded,
3175 and multipart/form-data.")
3176 (license license:perl-license)))
3178 (define-public perl-http-cookiejar
3180 (name "perl-http-cookiejar")
3185 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3186 "HTTP-CookieJar-" version ".tar.gz"))
3189 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
3190 (build-system perl-build-system)
3192 `(("perl-test-deep" ,perl-test-deep)
3193 ("perl-test-requires" ,perl-test-requires)
3194 ("perl-time-mock" ,perl-time-mock)
3195 ("perl-uri" ,perl-uri)))
3197 `(("perl-time-local" ,perl-time-local)
3198 ("perl-http-date" ,perl-http-date)))
3199 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3200 (synopsis "Minimalist HTTP user agent cookie jar")
3201 (description "This module implements a minimalist HTTP user agent cookie
3202 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3203 (license license:asl2.0)))
3205 (define-public perl-http-cookies
3207 (name "perl-http-cookies")
3212 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3216 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3217 (build-system perl-build-system)
3219 `(("perl-http-message" ,perl-http-message)))
3220 (license license:perl-license)
3221 (synopsis "Perl HTTP cookie jars")
3223 "The HTTP::Cookies class is for objects that represent a cookie jar,
3224 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3225 object knows about.")
3226 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3228 (define-public perl-http-daemon
3230 (name "perl-http-daemon")
3235 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3239 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3240 (build-system perl-build-system)
3242 `(("perl-http-message" ,perl-http-message)
3243 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3244 (license license:perl-license)
3245 (synopsis "Perl simple http server class")
3247 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3248 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3249 IO::Socket::INET, so you can perform socket operations directly on it too.")
3250 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3252 (define-public perl-http-date
3254 (name "perl-http-date")
3259 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Date-"
3263 "0awjdbz7x0jd5pna55dwxhs3k6xp3sw6b2zg3p2yndxxvya64p9n"))))
3264 (build-system perl-build-system)
3265 (license license:perl-license)
3266 (synopsis "Perl date conversion routines")
3268 "The HTTP::Date module provides functions that deal with date formats
3269 used by the HTTP protocol (and then some more).")
3270 (home-page "https://metacpan.org/release/HTTP-Date")))
3272 (define-public perl-http-lite
3274 (name "perl-http-lite")
3280 "mirror://cpan/authors/id/N/NE/NEILB/HTTP-Lite-"
3284 "0z77nflj8zdcfg70kc93glq5kmd6qxn2nf7h70x4xhfg25wkvr1q"))))
3285 (build-system perl-build-system)
3286 (native-inputs `(("perl-cgi" ,perl-cgi)))
3287 (home-page "https://metacpan.org/release/HTTP-Lite")
3288 (synopsis "Lightweight HTTP implementation")
3289 (description "@code{HTTP::Lite} is a stand-alone lightweight
3290 HTTP/1.1 implementation for perl. It is intended for use in
3291 situations where it is desirable to install the minimal number of
3292 modules to achieve HTTP support. @code{HTTP::Lite} is ideal for
3293 CGI (or mod_perl) programs or for bundling for redistribution with
3294 larger packages where only HTTP GET and POST functionality are
3295 necessary. @code{HTTP::Lite} is compliant with the Host header,
3296 necessary for name based virtual hosting, and supports proxies.
3297 Additionally, @code{HTTP::Lite} supports a callback to allow
3298 processing of request data as it arrives.")
3299 (license license:perl-license)))
3301 (define-public perl-http-message
3303 (name "perl-http-message")
3308 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3312 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3313 (build-system perl-build-system)
3315 `(("perl-try-tiny" ,perl-try-tiny)))
3317 `(("perl-encode-locale" ,perl-encode-locale)
3318 ("perl-http-date" ,perl-http-date)
3319 ("perl-io-html" ,perl-io-html)
3320 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3321 ("perl-uri" ,perl-uri)))
3322 (license license:perl-license)
3323 (synopsis "Perl HTTP style message")
3325 "An HTTP::Message object contains some headers and a content body.")
3326 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3328 (define-public perl-http-negotiate
3330 (name "perl-http-negotiate")
3335 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3339 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3340 (build-system perl-build-system)
3342 `(("perl-http-message" ,perl-http-message)))
3343 (license license:perl-license)
3344 (synopsis "Perl http content negotiation")
3346 "The HTTP::Negotiate module provides a complete implementation of the
3347 HTTP content negotiation algorithm specified in
3348 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3349 the selection of a preferred content representation based upon attributes
3350 of the negotiable variants and the value of the various Accept* header
3351 fields in the request.")
3352 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3354 (define-public perl-http-parser
3356 (name "perl-http-parser")
3361 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3362 "HTTP-Parser-" version ".tar.gz"))
3365 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3366 (build-system perl-build-system)
3368 `(("perl-http-message" ,perl-http-message)
3369 ("perl-uri" ,perl-uri)))
3370 (home-page "https://metacpan.org/release/HTTP-Parser")
3371 (synopsis "Parse HTTP/1.1 requests")
3372 (description "This is an HTTP request parser. It takes chunks of text as
3373 received and returns a @code{hint} as to what is required, or returns the
3374 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3376 (license license:perl-license)))
3378 (define-public perl-http-parser-xs
3380 (name "perl-http-parser-xs")
3385 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3386 "HTTP-Parser-XS-" version ".tar.gz"))
3389 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3390 (build-system perl-build-system)
3392 `(("perl-module-install" ,perl-module-install)))
3393 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3394 (synopsis "Fast HTTP request parser")
3395 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3397 (license license:perl-license)))
3399 (define-public perl-http-request-ascgi
3401 (name "perl-http-request-ascgi")
3406 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3407 "HTTP-Request-AsCGI-" version ".tar.gz"))
3410 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3411 (build-system perl-build-system)
3413 `(("perl-class-accessor" ,perl-class-accessor)
3414 ("perl-http-message" ,perl-http-message)))
3415 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3416 (synopsis "Set up a CGI environment from an HTTP::Request")
3417 (description "This module provides a convenient way to set up a CGI
3418 environment from an HTTP::Request.")
3419 (license license:perl-license)))
3421 (define-public perl-http-server-simple
3423 (name "perl-http-server-simple")
3428 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3429 "HTTP-Server-Simple-" version ".tar.gz"))
3432 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3433 (build-system perl-build-system)
3435 `(("perl-cgi" ,perl-cgi)))
3437 ;; See the discussion of a related tests issue at
3438 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3441 #:phases (modify-phases %standard-phases
3442 (add-before 'configure 'set-search-path
3444 ;; Work around "dotless @INC" build failure.
3446 (string-append (getcwd) ":"
3447 (getenv "PERL5LIB")))
3449 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3450 (synopsis "Lightweight HTTP server")
3451 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3452 no non-core module dependencies. It can be used for building a standalone
3453 http-based UI to your existing tools.")
3454 (license license:perl-license)))
3456 (define-public perl-http-tiny
3458 (name "perl-http-tiny")
3463 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3464 "HTTP-Tiny-" version ".tar.gz"))
3467 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3468 (build-system perl-build-system)
3470 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3471 ("perl-io-socket-ip" ,perl-io-socket-ip)
3472 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3473 ("perl-mozilla-ca" ,perl-mozilla-ca)
3474 ("perl-net-ssleay" ,perl-net-ssleay)))
3475 (home-page "https://metacpan.org/release/HTTP-Tiny")
3476 (synopsis "HTTP/1.1 client")
3477 (description "This is a very simple HTTP/1.1 client, designed for doing
3478 simple requests without the overhead of a large framework like LWP::UserAgent.
3479 It supports proxies and redirection. It also correctly resumes after EINTR.")
3480 (license license:perl-license)))
3482 (define-public perl-http-tinyish
3484 (name "perl-http-tinyish")
3490 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3495 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3496 (build-system perl-build-system)
3498 `(("perl-file-which" ,perl-file-which)
3499 ("perl-ipc-run3" ,perl-ipc-run3)))
3500 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3501 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3503 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3504 @code{HTTP::Tiny}, curl and wget.
3506 It provides an API compatible to HTTP::Tiny.")
3507 (license license:perl-license)))
3509 (define-public perl-io-html
3511 (name "perl-io-html")
3516 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3520 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3521 (build-system perl-build-system)
3522 (license license:perl-license)
3523 (synopsis "Perl module to open an HTML file with automatic charset detection")
3525 "IO::HTML provides an easy way to open a file containing HTML while
3526 automatically determining its encoding. It uses the HTML5 encoding sniffing
3527 algorithm specified in section 8.2.2.1 of the draft standard.")
3528 (home-page "https://metacpan.org/release/IO-HTML")))
3530 (define-public perl-io-socket-ip
3532 (name "perl-io-socket-ip")
3537 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3538 "IO-Socket-IP-" version ".tar.gz"))
3541 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
3542 (build-system perl-build-system)
3543 (native-inputs `(("perl-module-build" ,perl-module-build)))
3544 (home-page "https://metacpan.org/release/IO-Socket-IP")
3545 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3546 (description "This module provides a protocol-independent way to use IPv4
3547 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3548 (license license:perl-license)))
3550 (define-public perl-io-socket-ssl
3552 (name "perl-io-socket-ssl")
3556 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3557 "IO-Socket-SSL-" version ".tar.gz"))
3560 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3561 (patches (search-patches
3562 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3563 (build-system perl-build-system)
3565 `(("perl-net-ssleay" ,perl-net-ssleay)
3567 ("perl-uri" ,perl-uri)))
3568 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3570 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3571 necessary functionality into the familiar IO::Socket interface and providing
3572 secure defaults whenever possible. This way existing applications can be made
3573 SSL-aware without much effort, at least if you do blocking I/O and don't use
3575 (license license:perl-license)
3576 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3578 (define-public perl-libwww
3580 (name "perl-libwww")
3585 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3589 "0jh67946fwd33ap3xy8df0421d2mr6lmhalhkf1p7dx2b7fil9wf"))))
3590 (build-system perl-build-system)
3592 `(("perl-test-fatal" ,perl-test-fatal)
3593 ("perl-test-needs" ,perl-test-needs)
3594 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3596 `(("perl-encode-locale" ,perl-encode-locale)
3597 ("perl-file-listing" ,perl-file-listing)
3598 ("perl-html-parser" ,perl-html-parser)
3599 ("perl-http-cookies" ,perl-http-cookies)
3600 ("perl-http-daemon" ,perl-http-daemon)
3601 ("perl-http-date" ,perl-http-date)
3602 ("perl-http-message" ,perl-http-message)
3603 ("perl-http-negotiate" ,perl-http-negotiate)
3604 ("perl-net-http" ,perl-net-http)
3605 ("perl-try-tiny" ,perl-try-tiny)
3606 ("perl-uri" ,perl-uri)
3607 ("perl-www-robotrules" ,perl-www-robotrules)))
3608 (license license:perl-license)
3609 (synopsis "Perl modules for the WWW")
3611 "The libwww-perl collection is a set of Perl modules which provides a
3612 simple and consistent application programming interface to the
3613 World-Wide Web. The main focus of the library is to provide classes
3614 and functions that allow you to write WWW clients. The library also
3615 contains modules that are of more general use and even classes that
3616 help you implement simple HTTP servers.")
3617 (home-page "https://metacpan.org/release/libwww-perl")))
3619 (define-public perl-lwp-online
3621 (name "perl-lwp-online")
3627 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3631 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3632 (build-system perl-build-system)
3634 `(("perl-libwww" ,perl-libwww)
3635 ("perl-uri" ,perl-uri)))
3637 `(("perl-module-install" ,perl-module-install)))
3638 (home-page "https://metacpan.org/release/LWP-Online")
3639 (synopsis "Checks whether your process has access to the web")
3640 (description "This module attempts to answer, as accurately as it can, one
3641 of the nastiest technical questions there is: am I on the internet?
3643 A host of networking and security issues make this problem very difficult.
3644 There are firewalls, proxies (both well behaved and badly behaved). We might
3645 not have DNS. We might not have a network card at all!")
3646 (license license:perl-license)))
3648 (define-public perl-lwp-mediatypes
3650 (name "perl-lwp-mediatypes")
3655 "mirror://cpan/authors/id/O/OA/OALDERS/LWP-MediaTypes-"
3659 "1n8rg6csv3dsvymg06cmxipimr6cb1g9r903ghm1qsmiv89cl6wg"))))
3660 (build-system perl-build-system)
3662 `(("perl-test-fatal" ,perl-test-fatal)))
3663 (license license:perl-license)
3664 (synopsis "Perl module to guess the media type for a file or a URL")
3666 "The LWP::MediaTypes module provides functions for handling media (also
3667 known as MIME) types and encodings. The mapping from file extensions to
3668 media types is defined by the media.types file. If the ~/.media.types file
3669 exists it is used instead.")
3670 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3672 (define-public perl-lwp-protocol-https
3674 (name "perl-lwp-protocol-https")
3679 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3680 "LWP-Protocol-https-" version ".tar.gz"))
3683 "1rxrpwylfw1afah0nk96kgkwjbl2p1a7lwx50iipg8c4rx3cjb2j"))))
3684 (build-system perl-build-system)
3687 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3689 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3690 ("perl-libwww" ,perl-libwww)
3691 ;; Users should instead make sure SSL_ca_path is set properly.
3692 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3693 ("perl-net-http" ,perl-net-http)))
3694 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3695 (synopsis "HTTPS support for LWP::UserAgent")
3696 (description "The LWP::Protocol::https module provides support for using
3697 https schemed URLs with LWP.")
3698 (license license:perl-license)))
3700 (define-public perl-lwp-useragent-cached
3702 (name "perl-lwp-useragent-cached")
3707 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3708 "LWP-UserAgent-Cached-" version ".tar.gz"))
3711 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3712 (build-system perl-build-system)
3714 `(("perl-libwww" ,perl-libwww)))
3715 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3716 (synopsis "Simple caching for LWP::UserAgent")
3717 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3718 cache support. It returns responses from the local filesystem if available
3719 instead of making an HTTP request.")
3720 (license license:perl-license)))
3722 (define-public perl-lwp-useragent-determined
3724 (name "perl-lwp-useragent-determined")
3729 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3730 "LWP-UserAgent-Determined-" version ".tar.gz"))
3733 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3734 (build-system perl-build-system)
3736 `(("perl-libwww" ,perl-libwww)))
3737 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3738 (synopsis "Virtual browser that retries errors")
3739 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3740 except that when you use it to get a web page but run into a
3741 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3742 and retry a few times.")
3743 (license license:perl-license)))
3745 (define-public perl-lwpx-paranoidagent
3747 (name "perl-lwpx-paranoidagent")
3753 "mirror://cpan/authors/id/S/SA/SAXJAZMAN/lwp/LWPx-ParanoidAgent-"
3757 "0gfhw3jbs25yya2dryv8xvyn9myngcfcmsybj7gkq62fnznil16c"))))
3758 (build-system perl-build-system)
3760 `(("perl-libwww" ,perl-libwww)
3761 ;; Users should instead make sure SSL_ca_path is set properly.
3762 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3763 ("perl-net-dns" ,perl-net-dns)))
3764 (home-page "https://metacpan.org/release/LWPx-ParanoidAgent")
3765 (synopsis "Security enhanced subclass of LWP::UserAgent")
3766 (description "@code{LWPx::ParanoidAgent} is a class subclassing
3767 @code{LWP::UserAgent} but paranoid against attackers. Its purpose is
3768 to vet requests for a remote resource on behalf of a possibly
3769 malicious user. The class can do the same as @code{LWP::UserAgent},
3770 except that proxy support has been removed. Support for URI schemes
3771 is limited to http and https.")
3772 (license license:perl-license)))
3774 (define-public perl-net-amazon-s3
3776 (name "perl-net-amazon-s3")
3781 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3782 "Net-Amazon-S3-" version ".tar.gz"))
3785 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3786 (patches (search-patches
3787 "perl-net-amazon-s3-moose-warning.patch"))))
3788 (build-system perl-build-system)
3790 `(("perl-libwww" ,perl-libwww)
3791 ("perl-test-exception" ,perl-test-exception)))
3793 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3794 ("perl-datetime-format-http" ,perl-datetime-format-http)
3795 ("perl-digest-hmac" ,perl-digest-hmac)
3796 ("perl-digest-md5-file" ,perl-digest-md5-file)
3797 ("perl-file-find-rule" ,perl-file-find-rule)
3798 ("perl-http-date" ,perl-http-date)
3799 ("perl-http-message" ,perl-http-message)
3800 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3801 ("perl-mime-types" ,perl-mime-types)
3802 ("perl-moose" ,perl-moose)
3803 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3804 ("perl-moosex-types-datetime-morecoercions"
3805 ,perl-moosex-types-datetime-morecoercions)
3806 ("perl-path-class" ,perl-path-class)
3807 ("perl-regexp-common" ,perl-regexp-common)
3808 ("perl-term-encoding" ,perl-term-encoding)
3809 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3810 ("perl-uri" ,perl-uri)
3811 ("perl-xml-libxml" ,perl-xml-libxml)))
3812 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3813 (synopsis "Perl interface to Amazon S3")
3814 (description "This module provides a Perlish interface to Amazon S3.")
3815 (license license:perl-license)))
3817 (define-public perl-net-http
3819 (name "perl-net-http")
3824 "mirror://cpan/authors/id/O/OA/OALDERS/"
3825 "Net-HTTP-" version ".tar.gz"))
3828 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
3829 (build-system perl-build-system)
3831 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3832 ("perl-uri" ,perl-uri)))
3833 (license license:perl-license)
3834 (synopsis "Perl low-level HTTP connection (client)")
3836 "The Net::HTTP class is a low-level HTTP client. An instance of the
3837 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3838 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3840 (home-page "https://metacpan.org/release/Net-HTTP")))
3842 (define-public perl-net-server
3844 (name "perl-net-server")
3849 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3850 "Net-Server-" version ".tar.gz"))
3853 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3854 (build-system perl-build-system)
3855 (home-page "https://metacpan.org/release/Net-Server")
3856 (synopsis "Extensible Perl server engine")
3857 (description "Net::Server is an extensible, generic Perl server engine.
3858 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3859 It includes with it the ability to run as an inetd
3860 process (Net::Server::INET), a single connection server (Net::Server or
3861 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3862 server which maintains a constant number of preforked
3863 children (Net::Server::PreForkSimple), or as a managed preforking server which
3864 maintains the number of children based on server load (Net::Server::PreFork).
3865 In all but the inetd type, the server provides the ability to connect to one
3866 or to multiple server ports.")
3867 (license license:perl-license)))
3869 (define-public perl-net-smtp-ssl
3871 (name "perl-net-smtp-ssl")
3876 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3877 "Net-SMTP-SSL-" version ".tar.gz"))
3880 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3881 (build-system perl-build-system)
3883 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3884 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
3885 (synopsis "SSL support for Net::SMTP")
3886 (description "SSL support for Net::SMTP.")
3887 (license license:perl-license)))
3889 (define-public perl-plack
3896 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3897 "Plack-" version ".tar.gz"))
3900 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3901 (build-system perl-build-system)
3903 `(("perl-test-requires" ,perl-test-requires)
3904 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3906 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3907 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3908 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3909 ("perl-file-sharedir" ,perl-file-sharedir)
3910 ("perl-hash-multivalue" ,perl-hash-multivalue)
3911 ("perl-http-body" ,perl-http-body)
3912 ("perl-http-message" ,perl-http-message)
3913 ("perl-http-tiny" ,perl-http-tiny)
3914 ("perl-libwww" ,perl-libwww)
3915 ("perl-stream-buffered" ,perl-stream-buffered)
3916 ("perl-test-tcp" ,perl-test-tcp)
3917 ("perl-try-tiny" ,perl-try-tiny)
3918 ("perl-uri" ,perl-uri)))
3919 (home-page "https://metacpan.org/release/Plack")
3920 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3921 (description "Plack is a set of tools for using the PSGI stack. It
3922 contains middleware components, a reference server, and utilities for Web
3923 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3925 (license license:perl-license)))
3927 (define-public perl-plack-middleware-deflater
3929 (name "perl-plack-middleware-deflater")
3935 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
3936 "Plack-Middleware-Deflater-" version ".tar.gz"))
3939 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
3940 (build-system perl-build-system)
3942 `(("perl-module-install" ,perl-module-install)
3943 ("perl-test-requires" ,perl-test-requires)))
3945 `(("perl-plack" ,perl-plack)))
3946 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
3947 (synopsis "Compress response body with Gzip or Deflate")
3949 "Plack::Middleware::Deflater is a middleware to encode your response body
3950 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
3951 would save the bandwidth a little bit but should increase the Plack server
3952 load, so ideally you should handle this on the frontend reverse proxy
3954 (license license:perl-license)))
3956 (define-public perl-plack-middleware-fixmissingbodyinredirect
3958 (name "perl-plack-middleware-fixmissingbodyinredirect")
3963 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3964 "Plack-Middleware-FixMissingBodyInRedirect-"
3968 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3969 (build-system perl-build-system)
3971 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3972 ("perl-http-message" ,perl-http-message)
3973 ("perl-plack" ,perl-plack))) ;for Plack::Test
3975 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
3976 (synopsis "Plack::Middleware which sets body for redirect response")
3977 (description "This module sets the body in redirect response, if it's not
3979 (license license:perl-license)))
3981 (define-public perl-plack-middleware-methodoverride
3983 (name "perl-plack-middleware-methodoverride")
3988 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3989 "Plack-Middleware-MethodOverride-"
3992 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
3993 (build-system perl-build-system)
3995 `(("perl-module-build" ,perl-module-build)))
3997 `(("perl-plack" ,perl-plack)))
3998 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
3999 (synopsis "Override REST methods to Plack apps via POST")
4000 (description "This middleware allows for POST requests that pretend to be
4001 something else: by adding either a header named X-HTTP-Method-Override to the
4002 request, or a query parameter named x-tunneled-method to the URI, the client
4003 can say what method it actually meant.")
4004 (license license:perl-license)))
4006 (define-public perl-plack-middleware-removeredundantbody
4008 (name "perl-plack-middleware-removeredundantbody")
4013 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
4014 "Plack-Middleware-RemoveRedundantBody-"
4017 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
4018 (build-system perl-build-system)
4020 `(("perl-plack" ,perl-plack)))
4022 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
4023 (synopsis "Plack::Middleware which removes body for HTTP response")
4024 (description "This module removes the body in an HTTP response if it's not
4026 (license license:perl-license)))
4028 (define-public perl-plack-middleware-reverseproxy
4030 (name "perl-plack-middleware-reverseproxy")
4035 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
4036 "Plack-Middleware-ReverseProxy-"
4039 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
4040 (build-system perl-build-system)
4042 `(("perl-module-install" ,perl-module-install)))
4044 `(("perl-plack" ,perl-plack)))
4045 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
4046 (synopsis "Supports app to run as a reverse proxy backend")
4047 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
4048 which are changed by reverse-proxy. You can specify the reverse proxy address
4049 and stop fake requests using @code{enable_if} directive in your app.psgi.")
4050 (license license:perl-license)))
4052 (define-public perl-plack-test-externalserver
4054 (name "perl-plack-test-externalserver")
4059 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
4060 "Plack-Test-ExternalServer-" version ".tar.gz"))
4062 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
4063 (build-system perl-build-system)
4065 `(("perl-plack" ,perl-plack)))
4066 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
4067 (synopsis "Run HTTP tests on external live servers")
4068 (description "This module allows your to run your Plack::Test tests
4069 against an external server instead of just against a local application through
4070 either mocked HTTP or a locally spawned server.")
4071 (license license:perl-license)))
4073 (define-public perl-test-tcp
4075 (name "perl-test-tcp")
4080 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
4081 "Test-TCP-" version ".tar.gz"))
4083 (base32 "1djnaw1yli0kcd7azchqnp59l62f6mp13q50xyrjirpaxhd51j32"))))
4084 (build-system perl-build-system)
4086 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
4087 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
4088 (home-page "https://metacpan.org/release/Test-TCP")
4089 (synopsis "Testing TCP programs")
4090 (description "Test::TCP is test utilities for TCP/IP programs.")
4091 (license license:perl-license)))
4093 (define-public perl-test-www-mechanize
4095 (name "perl-test-www-mechanize")
4100 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
4101 "Test-WWW-Mechanize-" version ".tar.gz"))
4103 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
4104 (build-system perl-build-system)
4106 `(("perl-carp-assert-more" ,perl-carp-assert-more)
4107 ("perl-html-form" ,perl-html-form)
4108 ("perl-html-lint" ,perl-html-lint)
4109 ("perl-http-server-simple" ,perl-http-server-simple)
4110 ("perl-libwww" ,perl-libwww)
4111 ("perl-test-longstring" ,perl-test-longstring)
4112 ("perl-www-mechanize" ,perl-www-mechanize)))
4113 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
4114 (synopsis "Testing-specific WWW::Mechanize subclass")
4115 (description "Test::WWW::Mechanize is a subclass of the Perl module
4116 WWW::Mechanize that incorporates features for web application testing.")
4117 (license license:artistic2.0)))
4119 (define-public perl-test-www-mechanize-catalyst
4121 (name "perl-test-www-mechanize-catalyst")
4126 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
4127 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
4129 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
4130 (build-system perl-build-system)
4132 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
4133 ("perl-catalyst-plugin-session-state-cookie"
4134 ,perl-catalyst-plugin-session-state-cookie)
4135 ("perl-module-install" ,perl-module-install)
4136 ("perl-test-exception" ,perl-test-exception)
4137 ("perl-test-pod" ,perl-test-pod)
4138 ("perl-test-utf8" ,perl-test-utf8)))
4140 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4141 ("perl-class-load" ,perl-class-load)
4142 ("perl-libwww" ,perl-libwww)
4143 ("perl-moose" ,perl-moose)
4144 ("perl-namespace-clean" ,perl-namespace-clean)
4145 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4146 ("perl-www-mechanize" ,perl-www-mechanize)))
4147 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4148 (synopsis "Test::WWW::Mechanize for Catalyst")
4149 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4150 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4151 testing of Catalyst applications without needing to start up a web server.")
4152 (license license:perl-license)))
4154 (define-public perl-test-www-mechanize-psgi
4156 (name "perl-test-www-mechanize-psgi")
4161 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4162 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4165 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4166 (build-system perl-build-system)
4168 `(("perl-test-pod" ,perl-test-pod)))
4170 `(("perl-plack" ,perl-plack)
4171 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4172 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4173 (synopsis "Test PSGI programs using WWW::Mechanize")
4174 (description "PSGI is a specification to decouple web server environments
4175 from web application framework code. Test::WWW::Mechanize is a subclass of
4176 WWW::Mechanize that incorporates features for web application testing. The
4177 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4179 (license license:perl-license)))
4181 (define-public perl-uri
4187 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4188 "URI-" version ".tar.gz"))
4191 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4192 (build-system perl-build-system)
4195 `(("perl-test-needs" ,perl-test-needs)))
4196 (license license:perl-license)
4197 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4199 "The URI module implements the URI class. Objects of this class
4200 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4201 and updated by RFC 2732.")
4202 (home-page "https://metacpan.org/release/URI")))
4204 (define-public perl-uri-fetch
4206 (name "perl-uri-fetch")
4210 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4211 "URI-Fetch-" version ".tar.gz"))
4214 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4215 (build-system perl-build-system)
4217 `(#:tests? #f)) ; Tests require internet connection to succeed
4219 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4220 ("perl-libwww" ,perl-libwww)
4221 ("perl-uri" ,perl-uri)))
4222 (home-page "https://metacpan.org/release/URI-Fetch")
4223 (synopsis "Smart URI fetching/caching")
4224 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4225 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4226 and time-saving way.")
4227 (license license:perl-license)))
4229 (define-public perl-uri-find
4231 (name "perl-uri-find")
4232 (version "20160806")
4236 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4237 "URI-Find-" version ".tar.gz"))
4240 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4241 (build-system perl-build-system)
4243 `(("perl-module-build" ,perl-module-build)))
4245 `(("perl-uri" ,perl-uri)))
4246 (home-page "https://metacpan.org/release/URI-Find")
4247 (synopsis "Find URIs in arbitrary text")
4248 (description "This module finds URIs and URLs (according to what URI.pm
4249 considers a URI) in plain text. It only finds URIs which include a
4250 scheme (http:// or the like), for something a bit less strict, consider
4251 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4252 (license license:perl-license)))
4254 (define-public perl-uri-ws
4256 (name "perl-uri-ws")
4261 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4262 "URI-ws-" version ".tar.gz"))
4265 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4266 (build-system perl-build-system)
4268 `(("perl-uri" ,perl-uri)))
4269 (home-page "https://metacpan.org/release/URI-ws")
4270 (synopsis "WebSocket support for URI package")
4271 (description "With this module, the URI package provides the same set of
4272 methods for WebSocket URIs as it does for HTTP URIs.")
4273 (license license:perl-license)))
4275 (define-public perl-uri-template
4277 (name "perl-uri-template")
4281 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4285 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4286 (build-system perl-build-system)
4288 `(("perl-uri" ,perl-uri)))
4290 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4291 ("perl-test-pod" ,perl-test-pod)
4292 ("perl-module-install" ,perl-module-install)
4293 ("perl-json" ,perl-json)))
4294 (home-page "https://metacpan.org/release/URI-Template")
4295 (synopsis "Object for handling URI templates")
4296 (description "This perl module provides a wrapper around URI templates as described in
4298 (license license:perl-license)))
4300 (define-public perl-www-curl
4302 (name "perl-www-curl")
4307 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4309 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
4312 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4313 (build-system perl-build-system)
4315 '(#:tests? #f ;XXX: tests require network access
4317 #:phases (modify-phases %standard-phases
4318 (add-before 'configure 'set-search-path
4320 ;; Work around "dotless @INC" build failure.
4322 (string-append (getcwd) ":"
4323 (getenv "PERL5LIB")))
4326 `(("perl-module-install" ,perl-module-install)))
4327 (inputs `(("curl" ,curl)))
4328 (synopsis "Perl extension interface for libcurl")
4330 "This is a Perl extension interface for the libcurl file downloading
4332 (license license:perl-license)
4333 (home-page "https://metacpan.org/release/WWW-Curl")))
4335 (define-public perl-www-mechanize
4337 (name "perl-www-mechanize")
4342 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4343 "WWW-Mechanize-" version ".tar.gz"))
4345 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4346 (build-system perl-build-system)
4347 (native-inputs ;only for tests
4348 `(("perl-cgi" ,perl-cgi)
4349 ("perl-test-deep" ,perl-test-deep)
4350 ("perl-test-fatal" ,perl-test-fatal)
4351 ("perl-test-output" ,perl-test-output)
4352 ("perl-test-warnings" ,perl-test-warnings)))
4354 `(("perl-html-form" ,perl-html-form)
4355 ("perl-html-parser" ,perl-html-parser)
4356 ("perl-html-tree" ,perl-html-tree)
4357 ("perl-http-message" ,perl-http-message)
4358 ("perl-http-server-simple" ,perl-http-server-simple)
4359 ("perl-libwww" ,perl-libwww)
4360 ("perl-test-warn" ,perl-test-warn)
4361 ("perl-uri" ,perl-uri)))
4362 (home-page "https://metacpan.org/release/WWW-Mechanize")
4363 (synopsis "Web browsing in a Perl object")
4364 (description "WWW::Mechanize is a Perl module for stateful programmatic
4365 web browsing, used for automating interaction with websites.")
4366 (license license:perl-license)))
4368 (define-public perl-www-opensearch
4370 (name "perl-www-opensearch")
4374 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4375 "WWW-OpenSearch-" version ".tar.gz"))
4378 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4379 (build-system perl-build-system)
4381 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4382 ("perl-datetime" ,perl-datetime)
4383 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4384 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4385 ("perl-feed-find" ,perl-feed-find)
4386 ("perl-module-install" ,perl-module-install)
4387 ("perl-module-pluggable" ,perl-module-pluggable)
4388 ("perl-uri-fetch" ,perl-uri-fetch)
4389 ("perl-test-simple" ,perl-test-simple)
4390 ("perl-xml-atom" ,perl-xml-atom)
4391 ("perl-xml-rss" ,perl-xml-rss)))
4393 `(("perl-data-page" ,perl-data-page)
4394 ("perl-libwww" ,perl-libwww)
4395 ("perl-uri" ,perl-uri)
4396 ("perl-uri-template" ,perl-uri-template)
4397 ("perl-xml-feed" ,perl-xml-feed)
4398 ("perl-xml-libxml" ,perl-xml-libxml)))
4399 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4400 (synopsis "Search A9 OpenSearch compatible engines")
4402 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4403 http://opensearch.a9.com} compatible search engines.")
4404 (license license:perl-license)))
4406 (define-public perl-www-robotrules
4408 (name "perl-www-robotrules")
4413 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4417 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4418 (build-system perl-build-system)
4420 `(("perl-uri" ,perl-uri)))
4421 (license license:perl-license)
4422 (synopsis "Perl database of robots.txt-derived permissions")
4424 "The WWW::RobotRules module parses /robots.txt files as specified in
4425 \"A Standard for Robot Exclusion\", at
4426 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4427 /robots.txt file to forbid conforming robots from accessing parts of
4429 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4431 (define-public python-feedparser
4433 (name "python-feedparser")
4438 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4441 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4442 (build-system python-build-system)
4446 "https://github.com/kurtmckee/feedparser")
4447 (synopsis "Parse feeds in Python")
4449 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4450 CDF, Atom 0.3, and Atom 1.0 feeds.")
4451 (license (list license:bsd-2 ; source code
4452 license:freebsd-doc)))) ; documentation
4454 (define-public python2-feedparser
4455 (package-with-python2 python-feedparser))
4457 (define-public guix-data-service
4458 (let ((commit "c596a1c6a90bb2fe07da5339b8dc832b81d94194")
4461 (name "guix-data-service")
4462 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4466 (url "https://git.savannah.gnu.org/git/guix/data-service.git")
4468 (file-name (git-file-name name version))
4471 "09gn2imhh3aqkzray0xgkz7slriy567inh5lpkxm74bgmx862g3g"))))
4472 (build-system gnu-build-system)
4474 '(#:modules ((guix build utils)
4475 (guix build gnu-build-system)
4480 #:test-target "check-with-tmp-database"
4482 (modify-phases %standard-phases
4483 (add-before 'build 'set-GUILE_AUTO_COMPILE
4485 ;; To avoid warnings relating to 'guild'.
4486 (setenv "GUILE_AUTO_COMPILE" "0")
4488 (add-after 'install 'wrap-executable
4489 (lambda* (#:key inputs outputs #:allow-other-keys)
4490 (let* ((out (assoc-ref outputs "out"))
4491 (bin (string-append out "/bin"))
4492 (guile (assoc-ref inputs "guile"))
4493 (guile-effective-version
4495 (open-pipe* OPEN_READ
4496 (string-append guile "/bin/guile")
4497 "-c" "(display (effective-version))")))
4498 (scm (string-append out "/share/guile/site/"
4499 guile-effective-version))
4500 (go (string-append out "/lib/guile/"
4501 guile-effective-version
4505 (simple-format (current-error-port)
4507 (string-append bin "/" file))
4508 (wrap-program (string-append bin "/" file)
4512 (map (lambda (input)
4514 (assoc-ref inputs input)
4519 `("GUILE_LOAD_PATH" ":" prefix
4520 (,scm ,(getenv "GUILE_LOAD_PATH")))
4521 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4522 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4528 (delete 'strip)))) ; As the .go files aren't compatible
4530 `(("guix" ,guile3.0-guix)
4531 ("guile-fibers" ,guile3.0-fibers)
4532 ("guile-json" ,guile3.0-json)
4533 ("guile-email" ,guile3.0-email)
4534 ("guile-prometheus" ,guile-prometheus)
4535 ("guile-squee" ,guile3.0-squee)
4536 ("ephemeralpg" ,ephemeralpg)
4537 ("util-linux" ,util-linux)
4538 ("postgresql" ,postgresql-11)
4539 ("sqitch" ,sqitch)))
4541 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
4542 ("autoconf" ,autoconf)
4543 ("automake" ,automake)
4544 ("emacs-minimal" ,emacs-minimal)
4545 ("emacs-htmlize" ,emacs-htmlize)
4546 ("pkg-config" ,pkg-config)))
4547 (synopsis "Store and provide data about GNU Guix")
4549 "The Guix Data Service stores data about GNU Guix, and provides this
4550 through a web interface. It supports listening to the guix-commits mailing
4551 list to find out about new revisions, then loads the data from these in to a
4552 PostgreSQL database.")
4553 (home-page "http://data.guix.gnu.org/")
4554 (license license:agpl3+))))
4556 (define-public gumbo-parser
4558 (name "gumbo-parser")
4563 (url "https://github.com/google/gumbo-parser")
4564 (commit (string-append "v" version))))
4565 (file-name (git-file-name name version))
4568 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4569 (build-system gnu-build-system)
4571 `(#:tests? #f)) ;tests require bundling googletest sources
4572 ;; The release tarball lacks the generated files.
4574 `(("autoconf" ,autoconf)
4575 ("automake" ,automake)
4576 ("libtool" ,libtool)))
4577 (home-page "https://github.com/google/gumbo-parser")
4578 (synopsis "HTML5 parsing library")
4580 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4581 a pure C99 library.")
4582 (license license:asl2.0)))
4584 (define-public uwsgi
4590 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4594 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4595 (build-system gnu-build-system)
4596 (outputs '("out" "python"))
4598 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4599 ;; But there is no obvious way to run the real tests.
4602 (modify-phases %standard-phases
4604 ;; Configuration is done by writing an ini file.
4605 (lambda* (#:key outputs #:allow-other-keys)
4606 (let* ((out (assoc-ref outputs "out"))
4607 (bindir (string-append out "/bin"))
4608 (plugindir (string-append out "/lib/uwsgi")))
4609 ;; The build phase outputs files to these directories directly.
4612 ;; XXX: Enable other plugins.
4613 (call-with-output-file "buildconf/guix.ini"
4615 (format port "[uwsgi]
4621 plugins = cgi,python
4623 " bindir plugindir))))
4624 (setenv "PROFILE" "guix")
4627 ;; Move plugins into their own output.
4628 (lambda* (#:key outputs #:allow-other-keys)
4629 (let* ((out (assoc-ref outputs "out"))
4630 (plugindir (string-append out "/lib/uwsgi"))
4631 (python-plugin (string-append
4632 plugindir "/python_plugin.so")))
4633 (install-file python-plugin
4635 (assoc-ref outputs "python") "/lib/uwsgi"))
4636 (delete-file python-plugin)
4639 `(("pkg-config" ,pkg-config)
4640 ("python" ,python-wrapper)))
4642 `(("jansson" ,jansson)
4643 ("libxml2" ,libxml2)
4644 ("libyaml" ,libyaml)
4645 ("openssl" ,openssl)
4649 ("python" ,python)))
4650 (home-page "https://uwsgi-docs.readthedocs.org/")
4651 (synopsis "Application container server")
4653 "uWSGI presents a complete stack for networked/clustered web applications,
4654 implementing message/object passing, caching, RPC and process management.
4655 It uses the uwsgi protocol for all the networking/interprocess communications.")
4656 (license license:gpl2+))) ; with linking exception
4665 (uri (string-append "https://github.com/stedolan/jq"
4666 "/releases/download/jq-" version
4667 "/jq-" version ".tar.gz"))
4669 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4670 (modules '((guix build utils)))
4673 ;; Remove bundled onigurama.
4674 (delete-file-recursively "modules")
4677 `(("oniguruma" ,oniguruma)))
4679 `(;; TODO fix gems to generate documentation
4681 ;;("bundler" ,bundler)
4682 ("valgrind" ,valgrind)))
4683 (build-system gnu-build-system)
4684 (home-page "https://stedolan.github.io/jq/")
4685 (synopsis "Command-line JSON processor")
4686 (description "jq is like sed for JSON data – you can use it to slice and
4687 filter and map and transform structured data with the same ease that sed, awk,
4688 grep and friends let you play with text. It is written in portable C. jq can
4689 mangle the data format that you have into the one that you want with very
4690 little effort, and the program to do so is often shorter and simpler than
4692 (license (list license:expat license:cc-by3.0))))
4694 (define-public uhttpmock
4701 (uri (string-append "https://tecnocode.co.uk/downloads/uhttpmock/"
4702 "uhttpmock-" version ".tar.xz"))
4704 (base32 "0bqizz69hxk8rn4z57asz1d45vizl1rj6i5k3rzxn2x3qcik514h"))))
4705 (build-system glib-or-gtk-build-system)
4707 `(("gobject-introspection" ,gobject-introspection)
4709 ("glib-networking" ,glib-networking)
4710 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4711 ("pkg-config" ,pkg-config)))
4713 `(("libsoup" ,libsoup)))
4714 (home-page "https://gitlab.com/groups/uhttpmock")
4715 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4717 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4718 HTTPS. It provides a library, libuhttpmock, which implements recording and
4719 playback of HTTP request/response traces.")
4720 (license license:lgpl2.1+)))
4725 (version "2012-05-31")
4729 "http://www.home.unix-ag.org/simon/woof-"
4733 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4734 (build-system trivial-build-system)
4736 '(#:modules ((guix build utils))
4739 (use-modules (guix build utils))
4740 (let* ((source (assoc-ref %build-inputs "source"))
4741 (out (assoc-ref %outputs "out"))
4742 (bin (string-append out "/bin"))
4743 (python (assoc-ref %build-inputs "python")))
4745 (with-directory-excursion bin
4746 (copy-file source "woof")
4747 (patch-shebang "woof" (list (string-append python "/bin")))
4748 (chmod "woof" #o555))
4750 (inputs `(("python" ,python-2)))
4751 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4752 (synopsis "Single file web server")
4753 (description "Woof (Web Offer One File) is a small simple web server that
4754 can easily be invoked on a single file. Your partner can access the file with
4755 tools they trust (e.g. wget).")
4756 (license license:gpl2+)))
4758 (define netsurf-buildsystem
4760 (name "netsurf-buildsystem")
4765 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4766 "buildsystem-" version ".tar.gz"))
4769 "0alsmaig9ln8dgllb3z63gq90fiz75jz0ic71fi0k0k898qix14k"))))
4770 (build-system gnu-build-system)
4771 (inputs `(("perl" ,perl)))
4773 '(#:make-flags (list (string-append "PREFIX=" %output))
4774 #:tests? #f ;no tests
4775 #:phases (modify-phases %standard-phases
4778 (home-page "https://www.netsurf-browser.org")
4779 (synopsis "Build system for the Netsurf project")
4781 "This package provides the shared build system for Netsurf project
4783 (license license:expat)))
4785 (define netsurf-buildsystem-arguments
4786 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4787 "CC=gcc" "BUILD_CC=gcc"
4788 ,(string-append "PREFIX=" %output)
4789 ,(string-append "NSSHARED="
4790 (assoc-ref %build-inputs
4791 "netsurf-buildsystem")
4792 "/share/netsurf-buildsystem"))
4793 #:test-target "test"
4794 #:phases (modify-phases %standard-phases
4795 (delete 'configure))))
4797 (define-public libparserutils
4799 (name "libparserutils")
4804 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4805 name "-" version "-src.tar.gz"))
4808 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4809 (build-system gnu-build-system)
4811 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4812 ("pkg-config" ,pkg-config)
4813 ("perl" ,perl))) ;for test harness
4814 (arguments netsurf-buildsystem-arguments)
4815 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
4816 (synopsis "Parser building library")
4818 "LibParserUtils is a library for building efficient parsers, written in
4819 C. It is developed as part of the NetSurf project.")
4820 (license license:expat)))
4822 (define-public hubbub
4829 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4830 "libhubbub-" version "-src.tar.gz"))
4833 "1dimfyblmym98qa1b80c5jslv2zk8r44xbdrgrsrw1n9wr9y4yly"))
4834 (patches (search-patches "hubbub-sort-entities.patch"))))
4835 (build-system gnu-build-system)
4837 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4838 ("pkg-config" ,pkg-config)
4839 ("doxygen" ,doxygen)
4840 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4843 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4844 (arguments netsurf-buildsystem-arguments)
4845 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
4846 (synopsis "HTML5 compliant parsing library")
4848 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4849 parse both valid and invalid web content. It is developed as part of the
4851 (license license:expat)))
4853 (define-public ikiwiki
4856 (version "3.20200202.3")
4861 (url "git://git.ikiwiki.info/")
4863 (file-name (git-file-name name version))
4866 "0fphyqzlk9y8v9s89ypsmrnbhyymzrpc2w0liy0n4knc7kk2pabq"))
4869 ;; The POT file requires write permission during the build
4871 (chmod "po/ikiwiki.pot" #o644)
4873 (build-system perl-build-system)
4876 (modify-phases %standard-phases
4877 (add-after 'patch-source-shebangs 'patch-Makefiles
4879 (substitute* "Makefile.PL"
4880 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
4881 (with-directory-excursion "po"
4882 (substitute* "Makefile"
4883 (("PERL5LIB=") "PERL5LIB=${PERL5LIB}:")))
4885 (add-before 'build 'set-modification-times
4886 ;; The wiki '--refresh' steps, which are executed during
4887 ;; the check phase, require recent timestamps on files in
4888 ;; the 'doc' and 'underlays' directories.
4890 (invoke "find" "doc" "underlays" "-type" "f" "-exec"
4893 (add-before 'check 'pre-check
4894 (lambda* (#:key inputs #:allow-other-keys)
4895 ;; Six tests use IPC::Run. For these tests the PERL5LIB
4896 ;; variable is needed in the runtime environment and also
4897 ;; in the search path list in the setup file.
4899 '("t/aggregate-file.t" "t/git-cgi.t" "t/git-untrusted.t"
4900 "t/passwordauth.t" "t/relativity.t" "t/wrapper-environ.t")
4901 (("(.*)\"perl\"(.*)$" _ prefix suffix)
4902 (string-append prefix "qw(env), 'PERL5LIB='.$ENV{PERL5LIB}"
4903 ", qw(perl)" suffix))
4904 (("(.*) PERL5LIB=(.*) perl(.*)$" _ prefix middle suffix)
4905 (string-append prefix "), 'PERL5LIB='.$ENV{PERL5LIB}.':"
4906 middle "', qw(perl" suffix))
4907 (("(.*)setup(.* )getcwd(.*)$" _ prefix middle suffix)
4908 (string-append prefix "setup" middle
4909 "$ENV{PERL5LIB}.':'.getcwd" suffix))
4910 (("^ENV(.*): '(.*)$" _ middle suffix)
4911 (string-append "ENV" middle
4912 ": '$ENV{PERL5LIB}:" suffix)))
4913 ;; XDG_DATA_DIRS is needed by the podcast.t test.
4914 (setenv "XDG_DATA_DIRS"
4915 (string-append (assoc-ref inputs "shared-mime-info")
4917 ;; CC is needed by IkiWiki/Wrapper.pm.
4920 (add-after 'install 'wrap-programs
4921 (lambda* (#:key outputs #:allow-other-keys)
4922 (let* ((out (assoc-ref outputs "out"))
4923 (bin (string-append out "/bin/"))
4924 (path (getenv "PERL5LIB")))
4925 (for-each (lambda (file)
4927 `("PERL5LIB" ":" prefix (,path))))
4932 ("gettext" ,gettext-minimal)
4933 ("subversion" ,subversion)
4937 ("mercurial" ,mercurial)))
4939 `(("python" ,python-wrapper)
4940 ("perl-authen-passphrase" ,perl-authen-passphrase)
4941 ("perl-cgi-simple" ,perl-cgi-simple)
4942 ("perl-db-file" ,perl-db-file)
4943 ("perl-file-mimeinfo" ,perl-file-mimeinfo)
4944 ("perl-html-tagset" ,perl-html-tagset)
4945 ("perl-image-magick" ,perl-image-magick)
4946 ("perl-ipc-run" ,perl-ipc-run)
4947 ("perl-lwpx-paranoidagent" ,perl-lwpx-paranoidagent)
4948 ("perl-xml-feed" ,perl-xml-feed)
4949 ("perl-xml-sax" ,perl-xml-sax)
4950 ("perl-xml-twig" ,perl-xml-twig)
4953 `(("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
4954 ("perl-cgi-session" ,perl-cgi-session)
4955 ("perl-html-parser" ,perl-html-parser)
4956 ("perl-html-scrubber" ,perl-html-scrubber)
4957 ("perl-html-template" ,perl-html-template)
4958 ("perl-json" ,perl-json)
4959 ("perl-mail-sendmail" ,perl-mail-sendmail)
4960 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4961 ("perl-timedate" ,perl-timedate)
4962 ("perl-uri" ,perl-uri)
4963 ("perl-xml-simple" ,perl-xml-simple)
4964 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4965 (home-page "https://ikiwiki.info/")
4966 (synopsis "Wiki compiler, capable of generating HTML")
4968 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4969 pages, but also incorporating dynamic features like a web based editor and
4971 (license license:gpl2+)))
4973 (define-public libwapcaplet
4975 (name "libwapcaplet")
4980 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4981 "libwapcaplet-" version "-src.tar.gz"))
4984 "0p0c2q9lsj4vs97aa7vjllfhw33zv3dpysdkjblzhib6dpfs2alv"))))
4985 (build-system gnu-build-system)
4987 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4988 ("pkg-config" ,pkg-config)
4989 ("check" ,check))) ;for tests
4990 (arguments netsurf-buildsystem-arguments)
4991 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
4992 (synopsis "String internment library")
4994 "LibWapcaplet provides a reference counted string internment system
4995 designed to store small strings and allow rapid comparison of them. It is
4996 developed as part of the Netsurf project.")
4997 (license license:expat)))
4999 (define-public libcss
5006 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5007 "libcss-" version "-src.tar.gz"))
5010 "1p66sdiiqm7w4jkq23hsf08khsnmq93hshh9f9m8sbirjdpf3p6j"))))
5011 (build-system gnu-build-system)
5013 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5014 ("pkg-config" ,pkg-config)
5016 (propagated-inputs ;needed for libcss.pc
5017 `(("libparserutils" ,libparserutils)
5018 ("libwapcaplet" ,libwapcaplet)))
5019 (arguments netsurf-buildsystem-arguments)
5020 (home-page "https://www.netsurf-browser.org/projects/libcss/")
5021 (synopsis "CSS parser and selection library")
5023 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
5024 written in C. It is developed as part of the NetSurf project.")
5025 (license license:expat)))
5027 (define-public libcyaml
5035 (url "https://github.com/tlsa/libcyaml")
5036 (commit (string-append "v" version))))
5037 (file-name (git-file-name name version))
5039 (base32 "0428p0rwq71nhh5nzcbapsbrjxa0x5l6h6ns32nxv7j624f0zd93"))))
5040 (build-system gnu-build-system)
5043 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
5044 (string-append "CC=gcc"))
5046 (modify-phases %standard-phases
5047 (delete 'configure) ; no configure script
5051 (invoke "make" "test"))))))
5053 `(("libyaml" ,libyaml)))
5055 `(("pkg-config", pkg-config)))
5056 (synopsis "C library for reading and writing YAML")
5058 "LibCYAML is a C library written in ISO C11 for reading and writing
5059 structured YAML documents. The fundamental idea behind CYAML is to allow
5060 applications to construct schemas which describe both the permissible
5061 structure of the YAML documents to read/write, and the C data structure(s)
5062 in which the loaded data is arranged in memory.")
5063 (home-page "https://github.com/tlsa/libcyaml")
5064 (license license:isc)))
5066 (define-public libdom
5073 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5074 "libdom-" version "-src.tar.gz"))
5077 "0jpg5hx3y0mdxk5szd47dyijqimd2321brbqk2620pp5f4j0gvlq"))))
5078 (build-system gnu-build-system)
5080 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5081 ("pkg-config" ,pkg-config)
5082 ("perl" ,perl) ;for test harness
5083 ("perl-libxml" ,perl-libxml)
5084 ("perl-switch" ,perl-switch)
5085 ("perl-xml-xpath" ,perl-xml-xpath)))
5087 `(("libparserutils" ,libparserutils)
5088 ("libwapcaplet" ,libwapcaplet)))
5090 `(("expat" ,expat) ;needed for headers and linking
5091 ("hubbub" ,hubbub))) ;for libdom.pc
5093 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
5094 ,@netsurf-buildsystem-arguments))
5095 (home-page "https://www.netsurf-browser.org/projects/libdom/")
5096 (synopsis "Implementation of the W3C DOM")
5098 "LibDOM is an implementation of the W3C DOM, written in C. It is
5099 developed as part of the NetSurf project.")
5100 (license license:expat)))
5102 (define-public libsvgtiny
5109 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5110 name "-" version "-src.tar.gz"))
5113 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
5114 (build-system gnu-build-system)
5116 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5117 ("pkg-config" ,pkg-config)
5118 ("gperf" ,gperf-3.0)))
5120 `(("libwapcaplet" ,libwapcaplet)))
5122 `(("libdom" ,libdom))) ;for libsvgtiny.pc
5123 (arguments netsurf-buildsystem-arguments)
5124 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
5125 (synopsis "Library for parsing SVG files")
5127 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
5128 which can be rendered easily, as defined in
5129 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
5131 (license license:expat)))
5133 (define-public libnsbmp
5140 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5141 name "-" version "-src.tar.gz"))
5144 "0krjg69a2amxjsahdgm3wmy9ngnyr3gfs2a1zhdlbvb0z1jr7i3r"))))
5145 (build-system gnu-build-system)
5147 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5148 (arguments netsurf-buildsystem-arguments)
5149 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
5150 (synopsis "Decoding library for BMP and ICO files")
5152 "Libnsbmp is a decoding library for BMP and ICO image file formats,
5153 written in C. It is developed as part of the NetSurf project.")
5154 (license license:expat)))
5156 (define-public libnsgif
5163 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5164 name "-" version "-src.tar.gz"))
5167 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
5168 (build-system gnu-build-system)
5170 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5171 (arguments netsurf-buildsystem-arguments)
5172 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
5173 (synopsis "Decoding library for GIF files")
5175 "Libnsgif is a decoding library for the GIF image file format, written in
5176 C. It is developed as part of the NetSurf project.")
5177 (license license:expat)))
5179 (define-public libnslog
5186 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5187 "libnslog-" version "-src.tar.gz"))
5190 "1l2k0kdv9iv18svhv360vszjavhl4g09cp8a8yb719pgsylxr67w"))))
5191 (build-system gnu-build-system)
5193 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5194 ("pkg-config" ,pkg-config)
5195 ("check" ,check) ; For tests
5198 (arguments netsurf-buildsystem-arguments)
5199 (home-page "https://www.netsurf-browser.org/")
5200 (synopsis "Logging library")
5202 "Libnslog provides a category-based logging library which supports
5203 complex logging filters, multiple log levels, and provides context through to
5204 client applications. It is developed as part of the NetSurf project.")
5205 (license license:expat)))
5207 (define-public libnsutils
5214 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5215 name "-" version "-src.tar.gz"))
5218 "1w5fyy2i60a3v3if3iqcn9sy9sycx6966rcx53v85gja6hb6a33r"))))
5219 (build-system gnu-build-system)
5221 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5222 (arguments netsurf-buildsystem-arguments)
5223 (home-page "https://www.netsurf-browser.org/")
5224 (synopsis "Utility library for NetSurf")
5226 "Libnsutils provides a small number of useful utility routines. It is
5227 developed as part of the NetSurf project.")
5228 (license license:expat)))
5230 (define-public libnspsl
5237 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5238 "libnspsl-" version "-src.tar.gz"))
5241 "02q28n5i6fwqcz1nn167rb71k1q95mx38mfah6zi1lvqrc2q5ifk"))))
5242 (build-system gnu-build-system)
5244 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5245 (arguments netsurf-buildsystem-arguments)
5246 (home-page "https://www.netsurf-browser.org/")
5247 (synopsis "Library to generate a static Public Suffix List")
5249 "Libnspsl is a library to generate a static code representation of the
5250 Public Suffix List. It is developed as part of the NetSurf project.")
5251 (license license:expat)))
5253 (define-public nsgenbind
5260 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5261 "nsgenbind-" version "-src.tar.gz"))
5264 "1cqwgwca49jvmijwiyaab2bwxicgxdrnlpinf8kp3nha02nm73ad"))))
5265 (build-system gnu-build-system)
5267 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5271 (substitute-keyword-arguments netsurf-buildsystem-arguments
5272 ((#:make-flags flags)
5273 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5274 (home-page "https://www.netsurf-browser.org/")
5275 (synopsis "Generate JavaScript to DOM bindings")
5277 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5278 w3c webidl files and a binding configuration file.")
5279 (license license:expat)))
5281 (define-public netsurf
5288 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5289 "releases/source/netsurf-" version "-src.tar.gz"))
5292 "0plra64c5xyiw12yx2q13brxsv8apmany97zqa2lcqckw4ll8j1n"))
5293 (patches (search-patches "netsurf-system-utf8proc.patch"
5294 "netsurf-y2038-tests.patch"
5295 "netsurf-longer-test-timeout.patch"
5296 "netsurf-message-timestamp.patch"))))
5297 (build-system glib-or-gtk-build-system)
5299 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5300 ("nsgenbind" ,nsgenbind)
5301 ("libidn" ,libidn) ;only for tests
5304 ("perl-html-parser" ,perl-html-parser)
5305 ("pkg-config" ,pkg-config)
5310 ("openssl" ,openssl)
5311 ("utf8proc" ,utf8proc)
5313 ("libjpeg" ,libjpeg-turbo)
5316 ("libnsbmp" ,libnsbmp)
5317 ("libnsgif" ,libnsgif)
5318 ("libnslog" ,libnslog)
5319 ("libnspsl" ,libnspsl)
5320 ("libnsutils" ,libnsutils)
5321 ("libsvgtiny" ,libsvgtiny)
5322 ("miscfiles" ,miscfiles)))
5324 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5326 ,(string-append "PREFIX=" %output)
5327 ,(string-append "NSSHARED="
5328 (assoc-ref %build-inputs
5329 "netsurf-buildsystem")
5330 "/share/netsurf-buildsystem"))
5331 #:test-target "test"
5332 #:modules ((ice-9 rdelim)
5336 ,@%glib-or-gtk-build-system-modules)
5338 (modify-phases %standard-phases
5340 (add-after 'build 'adjust-welcome
5342 (substitute* "frontends/gtk/res/welcome.html"
5343 ;; Close some XHTML tags.
5344 (("<(img|input)([^>]*)>" _ tag contents)
5345 (string-append "<" tag contents " />"))
5346 ;; Increase freedom.
5347 ((" open source") ", free software")
5348 ;; Prefer a more privacy-respecting default search engine.
5349 (("www.google.co.uk") "www.duckduckgo.com/html")
5350 (("Google Search") "DuckDuckGo Search")
5351 (("name=\"btnG\"") ""))
5352 ;; Remove default links so it doesn't seem we're endorsing them.
5353 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5355 ;; Leave the DOCTYPE header as is.
5356 (display (read-line in 'concat) out)
5358 (let rec ((sxml (xml->sxml in
5359 #:default-entity-handler
5361 (string-append "<ENTITY>"
5362 (symbol->string name)
5364 ;; We'd like to use sxml-match here, but it can't
5365 ;; match against generic tag symbols...
5367 (`(div (@ (class "links")) . ,rest)
5376 (add-before 'check 'patch-check
5377 (lambda* (#:key inputs #:allow-other-keys)
5378 (substitute* '("test/bloom.c" "test/hashtable.c")
5379 (("/usr/share/dict/words")
5380 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5382 (add-after 'install 'install-more
5383 (lambda* (#:key outputs #:allow-other-keys)
5384 (let* ((out (assoc-ref outputs "out"))
5385 (desktop (string-append out "/share/applications/"
5386 "netsurf.desktop")))
5387 (mkdir-p (dirname desktop))
5388 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5390 (substitute* desktop
5391 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
5392 (("netsurf.png") (string-append out "/share/netsurf/"
5394 (install-file "docs/netsurf-gtk.1"
5395 (string-append out "/share/man/man1/"))
5397 (home-page "https://www.netsurf-browser.org")
5398 (synopsis "Web browser")
5400 "NetSurf is a lightweight web browser that has its own layout and
5401 rendering engine entirely written from scratch. It is small and capable of
5402 handling many of the web standards in use today.")
5403 (license license:gpl2+)))
5405 (define-public surfraw
5412 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5413 "2de827b2786ef2fe43b6f07913ca7b7f/"
5414 "surfraw-" version ".tar.gz"))
5416 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5417 (build-system gnu-build-system)
5420 (modify-phases %standard-phases
5421 (add-before 'configure 'patch-perl
5422 (lambda* (#:key inputs #:allow-other-keys)
5423 (let ((perl (assoc-ref inputs "perl")))
5424 (substitute* "surfraw.IN"
5426 (string-append perl "/bin/perl -e")))
5428 (add-after 'install 'compress-elvi.1sr
5429 (lambda* (#:key outputs #:allow-other-keys)
5430 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5431 ;; but elvi.1sr does not get compressed by our manpage phase.
5432 (let* ((out (assoc-ref %outputs "out"))
5433 (man (string-append out "/share/man/man1")))
5434 (with-directory-excursion man
5435 (invoke "gzip" "elvi.1sr"))))))))
5438 ("perl-www-opensearch" ,perl-www-opensearch)
5439 ("perl-html-parser" ,perl-html-parser)
5440 ("perl-libwww" ,perl-libwww)))
5441 (synopsis "Unix command line interface to the www")
5442 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5443 provides a unix command line interface to a variety of popular www search engines
5444 and similar services.")
5445 (home-page "https://surfraw.alioth.debian.org/")
5446 (license license:public-domain)))
5448 (define-public darkhttpd
5455 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5456 version ".tar.bz2"))
5459 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5460 (build-system gnu-build-system)
5462 `(#:make-flags '("CC=gcc")
5463 #:tests? #f ; No test suite
5465 (modify-phases %standard-phases
5468 (lambda* (#:key outputs #:allow-other-keys)
5469 (install-file "darkhttpd"
5470 (string-append (assoc-ref outputs "out")
5473 (synopsis "Simple static web server")
5474 (description "darkhttpd is a simple static web server. It is
5475 standalone and does not need inetd or ucspi-tcp. It does not need any
5476 config files---you only have to specify the www root.")
5477 (home-page "https://unix4lyfe.org/darkhttpd/")
5478 (license license:isc)))
5480 (define-public goaccess
5486 (uri (string-append "http://tar.goaccess.io/goaccess-"
5490 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5491 (modules '((guix build utils)))
5493 (substitute* "src/error.h"
5494 (("__DATE__") "\"1970-01-01\"")
5495 (("__TIME__") "\"00:00:00\""))
5497 (build-system gnu-build-system)
5499 ;; TODO: Add dependency on geoip-tools.
5501 ("ncurses" ,ncurses)))
5503 `(("pkg-config" ,pkg-config)))
5504 (home-page "https://goaccess.io")
5505 (synopsis "Analyze Web server logs in real time")
5507 "GoAccess is a real-time web log analyzer and interactive viewer that
5508 runs in a terminal or through your browser. It provides fast and valuable
5509 HTTP statistics for system administrators that require a visual server report
5511 (license license:x11)))
5513 (define-public hitch
5517 (home-page "https://hitch-tls.org/")
5520 (uri (string-append home-page "source/hitch-" version ".tar.gz"))
5523 "01n70yf8hx42jb801jv5q1xhrpqxyjnqhd98hjf81lvxpd5fnisf"))))
5524 (build-system gnu-build-system)
5526 `(#:phases (modify-phases %standard-phases
5527 (add-before 'check 'pre-check
5529 ;; Most tests attempts to access hitch-tls.org which is
5530 ;; unavailable in the build container. Run them against
5531 ;; a dummy local web server instead.
5532 (for-each (lambda (test)
5534 (("\\[hitch-tls\\.org\\]:80")
5535 "[localhost]:8000")))
5536 (find-files "src/tests" "\\.sh$"))
5537 (system "python3 -m http.server &")
5539 ;; The build container does not reap zombie processes,
5540 ;; causing stop_hitch to hang indefinitely while waiting
5541 ;; for the process to terminate because 'kill -0' never
5542 ;; succeeds. Use a different test to see whether the
5543 ;; process has shut down.
5544 (substitute* "src/tests/hitch_test.sh"
5545 (("kill -0 \"\\$HITCH_PID\"")
5546 "$(ps -p $HITCH_PID -o state= | grep -qv '^Z$')"))
5549 `(("pkg-config" ,pkg-config)
5555 ("python" ,python)))
5558 ("openssl" ,openssl)))
5559 (synopsis "Scalable TLS proxy")
5561 "Hitch is a performant TLS proxy based on @code{libev}. It terminates
5562 SSL/TLS connections and forwards the unencrypted traffic to a backend such
5563 as a web server. It is designed to handle many thousand connections on
5564 multicore machines.")
5565 (license license:bsd-2)))
5567 (define-public httptunnel
5574 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5575 name "-" version ".tar.gz"))
5578 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5579 (modules '((guix build utils)))
5581 ;; Remove non-free IETF RFC documentation.
5582 (delete-file-recursively "doc")
5584 (build-system gnu-build-system)
5587 (modify-phases %standard-phases
5588 ;; The default configure phase tries to pass environment variables as
5589 ;; command-line arguments, which confuses the ./configure script.
5591 (lambda* (#:key outputs #:allow-other-keys)
5592 (let* ((out (assoc-ref outputs "out")))
5593 (setenv "CONFIG_SHELL" (which "bash"))
5594 (invoke "./configure"
5595 (string-append "--prefix=" out))))))))
5596 (home-page "http://www.nocrew.org/software/httptunnel.html")
5597 (synopsis "Tunnel data connections through HTTP requests")
5598 (description "httptunnel creates a bidirectional virtual data connection
5599 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5600 useful for users behind restrictive firewalls. As long as Web traffic is
5601 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5602 tools like SSH (Secure Shell) to reach the outside world.")
5603 (license license:gpl2+)))
5605 (define-public stunnel
5612 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5615 (base32 "08kb4gi9fzqngrczykvba6xhaxhq9m4wmdbhxvgrva5rasrvz13k"))))
5616 (build-system gnu-build-system)
5619 `(("iproute" ,iproute)
5621 ("procps" ,procps)))
5622 (inputs `(("openssl" ,openssl)))
5625 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5627 (modify-phases %standard-phases
5628 (add-after 'unpack 'patch-output-directories
5630 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5631 (substitute* (list "Makefile.in"
5633 "tools/Makefile.in")
5635 (string-append "/doc/" ,name "-" ,version)))
5637 (add-before 'check 'patch-tests
5639 (substitute* "tests/make_test"
5641 (string-append (which "sh") " ")))
5643 (home-page "https://www.stunnel.org")
5644 (synopsis "TLS proxy for clients or servers")
5645 (description "Stunnel is a proxy designed to add TLS encryption
5646 functionality to existing clients and servers without any changes in the
5647 programs' code. Its architecture is optimized for security, portability, and
5648 scalability (including load-balancing), making it suitable for large
5650 (license license:gpl2+)))
5652 (define-public varnish
5655 (home-page "https://varnish-cache.org/")
5659 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5662 "1hkn98vbxk7rc1sd08367qn6rcv8wkxgwbmm1x46y50vi0nvldpn"))))
5663 (build-system gnu-build-system)
5665 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5666 ;; Use absolute path of GCC so it's found at runtime.
5667 (string-append "PTHREAD_CC="
5668 (assoc-ref %build-inputs "gcc")
5670 "--localstatedir=/var")
5672 (modify-phases %standard-phases
5673 (add-after 'unpack 'use-absolute-file-names
5675 (substitute* '("bin/varnishtest/vtc_varnish.c"
5676 "bin/varnishtest/vtc_process.c"
5677 "bin/varnishd/mgt/mgt_vcc.c"
5678 "bin/varnishtest/tests/u00014.vtc")
5679 (("/bin/sh") (which "sh")))
5680 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5681 (("rm -rf") (string-append (which "rm") " -rf")))
5682 (substitute* "bin/varnishtest/vtc_main.c"
5683 (("/bin/rm") (which "rm")))
5685 (add-before 'install 'patch-Makefile
5687 (substitute* "Makefile"
5688 ;; Do not create /var/varnish during install.
5689 (("^install-data-am: install-data-local") "install-data-am: "))
5691 (add-after 'install 'wrap-varnishd
5692 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5693 ;; environment variables to avoid propagating them to profiles.
5694 (lambda* (#:key inputs outputs #:allow-other-keys)
5695 (let* ((out (assoc-ref outputs "out"))
5696 (varnishd (string-append out "/sbin/varnishd"))
5697 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5698 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5699 (wrap-program varnishd
5700 ;; Add binutils to PATH so gcc finds the 'as' executable.
5701 `("PATH" ":" prefix (,PATH))
5702 ;; Make sure 'crti.o' et.al is found.
5703 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5706 `(("pkg-config" ,pkg-config)
5707 ("python-sphinx" ,python-sphinx)
5708 ("rst2man" ,python-docutils)))
5710 `(("jemalloc" ,jemalloc)
5711 ("ncurses" ,ncurses)
5713 ("python" ,python-wrapper)
5714 ("readline" ,readline)))
5715 (synopsis "Web application accelerator")
5717 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5718 reverse proxy and load balancer. You install it in front of any server that
5719 speaks HTTP and configure it to cache the contents through an extensive
5720 configuration language.")
5721 (license (list license:bsd-2 ;main distribution
5722 license:zlib ;lib/libvgz/*
5723 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5724 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5726 (define-public varnish-modules
5728 (name "varnish-modules")
5729 (home-page "https://github.com/varnish/varnish-modules")
5733 (uri (string-append "https://github.com/varnish/varnish-modules"
5734 "/releases/download/varnish-modules-" version
5735 "/varnish-modules-" version ".tar.gz"))
5738 "1ph5bplsip4rycql1c2hgbvmrwbgcrgv2ldgfp7saxxbsv5cpcds"))))
5739 (build-system gnu-build-system)
5741 `(("pkg-config" ,pkg-config)))
5743 `(("python" ,python)
5744 ("varnish" ,varnish)))
5745 (synopsis "Collection of Varnish modules")
5747 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5748 cache server, extending the @acronym{VCL, Varnish Configuration Language} with
5749 additional capabilities.")
5750 (license license:bsd-2)))
5752 (define-public xinetd
5755 ;; This is the maintenance fork currently used by openSUSE and Debian.
5756 (version "2.3.15.4")
5761 (url "https://github.com/openSUSE/xinetd")
5763 (file-name (git-file-name name version))
5765 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5766 (build-system gnu-build-system)
5768 `(#:configure-flags '("--with-loadavg")
5769 #:tests? #f)) ; no tests
5771 `(("autoconf" ,autoconf)
5772 ("automake" ,automake)
5773 ("libtool" ,libtool)
5774 ("pkg-config" ,pkg-config)))
5775 (home-page "https://github.com/openSUSE/xinetd")
5776 (synopsis "Internet services daemon")
5777 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5778 listens for incoming requests over a network and launches the appropriate
5779 service for that request. Requests are made using port numbers as identifiers
5780 and xinetd usually launches another daemon to handle the request. It can be
5781 used to start services with both privileged and non-privileged port numbers.")
5782 (license (license:fsf-free "file://COPYRIGHT"))))
5784 (define-public tidy-html
5792 (url "https://github.com/htacg/tidy-html5")
5794 (file-name (git-file-name name version))
5797 "01k5sqwgcsr26i8031v1yr2r8qcy9a5w7sj800660haszgfbjz2f"))))
5798 (build-system cmake-build-system)
5800 "static")) ; 1.3MiB of .a files
5802 `(#:tests? #f ; no tests available
5803 #:build-type "Release"
5805 (modify-phases %standard-phases
5806 (add-after 'install 'move-static-libraries
5807 (lambda* (#:key outputs #:allow-other-keys)
5808 ;; Move static libraries to the "static" output.
5809 (let* ((out (assoc-ref outputs "out"))
5810 (lib (string-append out "/lib"))
5811 (static (assoc-ref outputs "static"))
5812 (slib (string-append static "/lib")))
5814 (for-each (lambda (file)
5815 (install-file file slib)
5817 (find-files lib "\\.a$"))
5820 `(("libxslt" ,libxslt)))
5821 (home-page "http://www.html-tidy.org/")
5822 (synopsis "HTML Tidy with HTML5 support")
5824 "Tidy is a console application which corrects and cleans up
5825 HTML and XML documents by fixing markup errors and upgrading
5826 legacy code to modern standards.
5828 Tidy also provides @code{libtidy}, a C static and dynamic library that
5829 developers can integrate into their applications to make use of the
5830 functions of Tidy.")
5831 (license license:bsd-3)))
5833 (define-public hiawatha
5840 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5841 "hiawatha-" version ".tar.gz"))
5842 (modules '((guix build utils)))
5844 ;; We use packaged libraries, so delete the bundled copies.
5845 (for-each delete-file-recursively
5846 (list "extra/nghttp2.tgz" "mbedtls"))
5849 (base32 "09wpgilbv13zal71v9lbsqr8c3fignygadykpd1p1pb8blb5vn3r"))))
5850 (build-system cmake-build-system)
5852 `(#:tests? #f ; no tests included
5853 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5854 (string-append "-DENABLE_HTTP2=on")
5855 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
5856 (string-append "-DENABLE_TOMAHAWK=on")
5857 (string-append "-DLOG_DIR=/var/log/hiawatha")
5858 (string-append "-DPID_DIR=/run")
5859 (string-append "-DWEBROOT_DIR="
5860 (assoc-ref %outputs "out")
5861 "/share/hiawatha/html")
5862 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
5864 (modify-phases %standard-phases
5865 (add-after 'unpack 'install-no-empty-directories
5867 (substitute* "CMakeLists.txt"
5868 (("install\\(DIRECTORY DESTINATION" match)
5869 (string-append "#" match)))
5871 (add-after 'install 'wrap
5872 (lambda* (#:key inputs outputs #:allow-other-keys)
5873 ;; Make sure 'hiawatha' finds 'mbedtls'.
5874 (let* ((out (assoc-ref outputs "out"))
5875 (sbin (string-append out "/sbin"))
5876 (mbed (assoc-ref inputs "mbedtls-apache")))
5877 (wrap-program (string-append sbin "/hiawatha")
5878 `("PATH" ":" prefix (,mbed)))))))))
5880 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
5881 `(("libxslt" ,libxslt)
5882 ("libxml2" ,libxml2)
5883 ("mbedtls-apache" ,mbedtls-for-hiawatha)
5884 ("nghttp2" ,nghttp2 "lib")
5886 (home-page "https://www.hiawatha-webserver.org")
5887 (synopsis "Webserver with focus on security")
5889 "Hiawatha has been written with security in mind.
5890 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5892 (license license:gpl2)))
5894 (define-public python-httpbin
5896 (name "python-httpbin")
5901 (uri (pypi-uri "httpbin" version))
5904 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5905 (build-system python-build-system)
5907 `(("python-decorator" ,python-decorator)
5908 ("python-flask" ,python-flask)
5909 ("python-itsdangerous" ,python-itsdangerous)
5910 ("python-markupsafe" ,python-markupsafe)
5911 ("python-six" ,python-six)))
5912 (home-page "https://github.com/Runscope/httpbin")
5913 (synopsis "HTTP request and response service")
5914 (description "Testing an HTTP Library can become difficult sometimes.
5915 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5916 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5918 (license license:isc)))
5920 (define-public python2-httpbin
5921 (package-with-python2 python-httpbin))
5923 (define-public python-pytest-httpbin
5925 (name "python-pytest-httpbin")
5930 (uri (pypi-uri "pytest-httpbin" version))
5933 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5934 (build-system python-build-system)
5936 `(("python-six" ,python-six)
5937 ("python-httpbin" ,python-httpbin)
5938 ("python-pytest" ,python-pytest)))
5940 "https://github.com/kevin1024/pytest-httpbin")
5942 "Test your HTTP library against a local copy of httpbin")
5944 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5945 into your tests. It automatically starts up a HTTP server in a separate thread running
5946 @code{httpbin} and provides your test with the URL in the fixture.")
5947 (license license:expat)))
5949 (define-public python2-pytest-httpbin
5950 (package-with-python2 python-pytest-httpbin))
5952 (define-public http-parser
5954 (name "http-parser")
5956 (home-page "https://github.com/nodejs/http-parser")
5960 (uri (git-reference (url home-page)
5961 (commit (string-append "v" version))))
5963 (base32 "1vda4dp75pjf5fcph73sy0ifm3xrssrmf927qd1x8g3q46z0cv6c"))
5964 (file-name (git-file-name name version))
5968 ;; Treat an empty port (e.g. `http://hostname:/`) when parsing
5969 ;; URLs as if no port were specified. This patch is applied
5970 ;; to Fedora's http-parser and to libgit2's bundled version.
5973 "https://src.fedoraproject.org/rpms/http-parser/raw/"
5974 "e89b4c4e2874c19079a5a1a2d2ccc61b551aa289/"
5975 "f/0001-url-treat-empty-port-as-default.patch"))
5978 "0pbxf2nq9pcn299k2b2ls8ldghaqln9glnp79gi57mamx4iy0f6g")))))))
5979 (build-system gnu-build-system)
5981 `(#:test-target "test"
5983 (list (string-append "PREFIX="
5984 (assoc-ref %outputs "out"))
5986 ,@(if (%current-target-system)
5990 (modify-phases %standard-phases
5991 ,@(match (%current-system)
5993 '((add-before 'check 'apply-assertion.patch
5994 (lambda* (#:key inputs #:allow-other-keys)
5995 (let ((patch (assoc-ref inputs "assertion.patch")))
5996 (invoke "patch" "-p1" "-i" patch)
5999 ,@(if (%current-target-system)
6000 '((replace 'configure
6001 (lambda* (#:key target #:allow-other-keys)
6002 (substitute* (find-files "." "Makefile")
6004 (string-append "CC=" target "-gcc\n"))
6006 (string-append "AR=" target "-ar\n")))
6008 '((delete 'configure))))))
6010 `(,@(match (%current-system)
6012 ;; A fix for <https://issues.guix.gnu.org/40604> which in turn
6013 ;; breaks i686-linux builds.
6014 `(("assertion.patch"
6015 ,@(search-patches "http-parser-fix-assertion-on-armhf.patch"))))
6017 (synopsis "HTTP request/response parser for C")
6018 (description "This is a parser for HTTP messages written in C. It parses
6019 both requests and responses. The parser is designed to be used in
6020 high-performance HTTP applications. It does not make any syscalls nor
6021 allocations, it does not buffer data, it can be interrupted at anytime.
6022 Depending on your architecture, it only requires about 40 bytes of data per
6023 message stream (in a web server that is per connection).")
6024 (license license:expat)))
6026 (define-public python-httpretty
6028 (name "python-httpretty")
6033 (uri (pypi-uri "httpretty" version))
6035 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
6036 (build-system python-build-system)
6038 `(("python-six" ,python-six)))
6040 `(("python-coverage" ,python-coverage)
6041 ("python-httplib2" ,python-httplib2)
6042 ("python-mock" ,python-mock)
6043 ("python-nose" ,python-nose)
6044 ("python-nose-randomly" ,python-nose-randomly)
6045 ("python-rednose" ,python-rednose)
6046 ("python-requests" ,python-requests)
6047 ("python-sure" ,python-sure)
6048 ("python-tornado" ,python-tornado)
6049 ("python-urllib3" ,python-urllib3)))
6050 (home-page "https://httpretty.readthedocs.io")
6051 (synopsis "HTTP client mock for Python")
6052 (description "@code{httpretty} is a helper for faking web requests,
6053 inspired by Ruby's @code{fakeweb}.")
6054 (license license:expat)))
6063 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
6064 version "/jo-" version ".tar.gz"))
6066 (base32 "18jna9xlpxci3cak3z85c448zv2zr41baclgym3hk433p0p4vii4"))))
6067 (build-system gnu-build-system)
6068 (home-page "https://github.com/jpmens/jo")
6069 (synopsis "Output JSON from a shell")
6070 (description "jo is a command-line utility to create JSON objects or
6071 arrays. It creates a JSON string on stdout from words provided as
6072 command-line arguments or read from stdin.")
6073 (license (list license:gpl2+
6074 license:expat)))) ; json.c, json.h
6076 (define-public python-internetarchive
6078 (name "python-internetarchive")
6084 (url "https://github.com/jjjake/internetarchive")
6085 (commit (string-append "v" version))))
6086 (file-name (git-file-name name version))
6089 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
6090 (modules '((guix build utils)))
6093 ;; Python 3.7 removed `_pattern_type'.
6094 (for-each (lambda (file)
6097 (("^import re\n" line)
6098 (string-append line "re._pattern_type = re.Pattern\n"))))
6099 (find-files "." "\\.py$"))
6101 (build-system python-build-system)
6104 (modify-phases %standard-phases
6106 (add-after 'install 'check
6107 (lambda* (#:key inputs outputs #:allow-other-keys)
6108 (add-installed-pythonpath inputs outputs)
6109 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
6110 ":" (getenv "PATH")))
6111 (invoke "py.test" "-v" "-k"
6113 ;; These tests attempt to make a connection to
6114 ;; an external web service.
6115 "not test_get_item_with_kwargs"
6116 " and not test_ia")))))))
6118 `(("python-requests" ,python-requests)
6119 ("python-jsonpatch" ,python-jsonpatch-0.4)
6120 ("python-docopt" ,python-docopt)
6121 ("python-clint" ,python-clint)
6122 ("python-six" ,python-six)
6123 ("python-schema" ,python-schema-0.5)
6124 ("python-backports-csv" ,python-backports-csv)))
6126 `(("python-pytest" ,python-pytest)
6127 ("python-pytest-capturelog" ,python-pytest-capturelog)
6128 ("python-responses" ,python-responses)))
6129 (home-page "https://github.com/jjjake/internetarchive")
6130 (synopsis "Command-line interface to archive.org")
6131 (description "@code{ia} is a command-line tool for using
6132 @url{archive.org} from the command-line. It also emplements the
6133 internetarchive python module for programmatic access to archive.org.")
6134 (license license:agpl3+)))
6136 (define-public python-clf
6137 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
6144 (uri (pypi-uri "clf" version))
6147 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
6148 (build-system python-build-system)
6150 `(("python-docopt" ,python-docopt)
6151 ("python-pygments" ,python-pygments)
6152 ("python-requests" ,python-requests)
6153 ("python-nose" ,python-nose)
6154 ("python-lxml" ,python-lxml)
6155 ("python-pyaml" ,python-pyaml)))
6160 (uri (string-append "https://raw.githubusercontent.com"
6161 "/ncrocfer/clf/" commit-test-clf
6165 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
6168 (modify-phases %standard-phases
6169 (add-after 'unpack 'get-tests
6171 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
6176 ;; These tests require an Internet connection.
6177 "--exclude=test_browse"
6178 "--exclude=test_command"
6179 "--exclude=test_search"))))))
6180 (home-page "https://github.com/ncrocfer/clf")
6181 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
6182 (description "@code{clf} is a command line tool for searching code
6183 snippets on @url{https://commandlinefu.com}.")
6184 (license license:expat))))
6186 (define-public python2-clf
6187 (package-with-python2 python-clf))
6189 (define-public rss-bridge
6192 (version "2019-09-12")
6197 (url "https://github.com/RSS-Bridge/rss-bridge")
6199 (file-name (git-file-name name version))
6201 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
6202 (build-system trivial-build-system)
6204 '(#:modules ((guix build utils))
6207 (use-modules (guix build utils)
6209 (let* ((out (assoc-ref %outputs "out"))
6210 (share-rss-bridge (string-append out "/share/rss-bridge")))
6211 (mkdir-p share-rss-bridge)
6212 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
6214 (home-page "https://github.com/RSS-Bridge/rss-bridge")
6215 (synopsis "Generate Atom feeds for social networking websites")
6216 (description "rss-bridge generates Atom feeds for social networking
6217 websites lacking feeds. Supported websites include Facebook, Twitter,
6218 Instagram and YouTube.")
6219 (license (list license:public-domain
6220 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
6222 (define-public linkchecker
6224 (name "linkchecker")
6230 (url "https://github.com/linkchecker/linkchecker")
6231 (commit (string-append "v" version))))
6233 (search-patches "linkchecker-tests-require-network.patch"))
6234 (file-name (git-file-name name version))
6237 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
6238 (build-system python-build-system)
6240 `(("python2-dnspython" ,python2-dnspython)
6241 ("python2-pyxdg" ,python2-pyxdg)
6242 ("python2-requests" ,python2-requests)))
6244 `(("gettext" ,gettext-minimal)
6245 ("python2-pytest" ,python2-pytest)
6246 ("python2-miniboa" ,python2-miniboa)
6247 ("python2-parameterized" ,python2-parameterized)))
6249 `(#:python ,python-2
6251 (modify-phases %standard-phases
6252 ;; Move the 'check phase to after 'install, so that the installed
6253 ;; library can be used
6255 (add-after 'install 'check
6256 (lambda* (#:key outputs #:allow-other-keys)
6257 (let ((out (assoc-ref outputs "out")))
6258 ;; Set PYTHONPATH so that the installed linkchecker is used
6259 (setenv "PYTHONPATH"
6260 (string-append out "/lib/python2.7/site-packages"
6262 (getenv "PYTHONPATH")))
6263 ;; Remove this directory to avoid it being used when running
6265 (delete-file-recursively "linkcheck")
6267 (invoke "py.test" "tests"))
6269 (home-page "https://linkcheck.github.io/linkchecker")
6270 (synopsis "Check websites for broken links")
6271 (description "LinkChecker is a website validator. It checks for broken
6272 links in websites. It is recursive and multithreaded providing output in
6273 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
6274 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
6276 (license (list license:gpl2+
6277 license:bsd-2 ; linkcheck/better_exchook2.py
6278 license:bsd-3 ; linkcheck/colorama.py
6279 license:psfl ; linkcheck/gzip2.py
6280 license:expat)))) ; linkcheck/mem.py
6282 (define-public cadaver
6289 (uri (string-append "http://www.webdav.org/cadaver/"
6290 name "-" version ".tar.gz"))
6293 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
6294 (build-system gnu-build-system)
6295 ;; TODO: Unbundle libneon and make build succeed with new neon.
6297 `(#:configure-flags (list "--with-ssl=openssl")
6298 #:tests? #f)) ;No tests included
6300 `(("gettext" ,gettext-minimal)
6301 ("pkg-config" ,pkg-config)
6302 ("intltool" ,intltool)))
6305 ("openssl" ,openssl-1.0)))
6306 (home-page "http://www.webdav.org/cadaver/")
6307 (synopsis "Command-line WebDAV client")
6309 "Cadaver is a command-line WebDAV client for Unix. It supports
6310 file upload, download, on-screen display, namespace operations (move/copy),
6311 collection creation and deletion, and locking operations.")
6312 (license license:gpl2)))
6314 (define-public python-py-ubjson
6316 (name "python-py-ubjson")
6321 (uri (pypi-uri "py-ubjson" version))
6324 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
6325 (build-system python-build-system)
6326 (home-page "https://github.com/Iotic-Labs/py-ubjson")
6327 (synopsis "Universal Binary JSON encoder/decoder")
6329 "Py-ubjson is a Python module providing an Universal Binary JSON
6330 encoder/decoder based on the draft-12 specification for UBJSON.")
6331 (license license:asl2.0)))
6333 (define-public java-tomcat
6335 (name "java-tomcat")
6339 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6340 version "/src/apache-tomcat-" version "-src.tar.gz"))
6343 "15lwq3clf21hzk7mma70sffpxjqn8ww5mjq6zhmwcp4m17m22z26"))
6344 (modules '((guix build utils)))
6345 ;; Delete bundled jars.
6348 (for-each delete-file (find-files "." "\\.jar$"))
6349 (for-each delete-file (find-files "." "\\.bat$"))
6351 (build-system ant-build-system)
6353 `(("java-commons-daemon" ,java-commons-daemon)
6354 ("java-ecj" ,java-ecj)))
6356 `(#:build-target "deploy"
6357 #:tests? #f; requires downloading some files.
6359 (modify-phases %standard-phases
6360 (add-after 'unpack 'prevent-download
6362 ;; This directory must exist
6364 ;; We patch build.xml so it doesn't download any dependency, because
6365 ;; we already have all of them.
6366 (substitute* "build.xml"
6367 (("download-compile,") "")
6368 (("depends=\"validate\"") "depends=\"build-prepare\"")
6369 ((",download-validate") ""))
6371 (add-after 'unpack 'strip-timestamps
6373 (substitute* "build.xml"
6374 (("<filter token=\"YEAR\" value=.*")
6375 "<filter token=\"YEAR\" value=\"1970\"/>")
6376 (("<filter token=\"VERSION_BUILT\" value=.*")
6377 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6379 (add-after 'unpack 'modify-deploy
6381 ;; The Tomcat build downloads and copies these files to the
6382 ;; bin and lib directory.
6383 ;; We instead symlink to the input (see below).
6384 (substitute* "build.xml"
6385 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6386 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6389 (add-after 'install 'symlink-commons-daemon
6390 (lambda* (#:key inputs outputs #:allow-other-keys)
6391 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6392 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6393 (daemon-jar (car files))
6394 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6395 (target (string-append out-bin "/commons-daemon.jar")))
6396 (symlink daemon-jar target)
6398 (add-after 'install 'symlink-java-ecj
6399 (lambda* (#:key inputs outputs #:allow-other-keys)
6400 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6401 (files (find-files java-ecj "ecj.*\\.jar"))
6402 (java-ecj-jar (car files))
6403 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6404 (target (string-append out-lib "/java-ecj.jar")))
6405 (symlink java-ecj-jar target)
6407 (add-after 'unpack 'generate-properties
6409 ;; This could have been passed to make-flags, but getcwd returns
6410 ;; a different directory then.
6411 (with-output-to-file "build.properties"
6414 (string-append "base.path=" (getcwd) "/downloads\n"))))
6417 (lambda* (#:key outputs #:allow-other-keys)
6418 (let ((out (assoc-ref outputs "out")))
6419 (copy-recursively "output/build" out))
6421 (properties '((cpe-name . "tomcat")))
6422 (home-page "https://tomcat.apache.org")
6423 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6425 (description "Apache Tomcat is a free implementation of the Java
6426 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6428 (license license:asl2.0)))
6430 (define-public java-eclipse-jetty-test-helper
6432 (name "java-eclipse-jetty-test-helper")
6437 (url "https://github.com/eclipse/jetty.toolchain/")
6438 (commit (string-append "jetty-test-helper-" version))))
6439 (file-name (git-file-name name version))
6442 "1g7cdh03nfwbdxzvwm84ysgvw08xx7431lsjryj2gmf3lrqpizgb"))))
6443 (build-system ant-build-system)
6445 `(#:jar-name "eclipse-jetty-test-helper.jar"
6446 #:source-dir "src/main/java"
6447 #:test-dir "src/test"
6450 (modify-phases %standard-phases
6451 (add-before 'configure 'chdir
6453 (chdir "jetty-test-helper")
6455 (add-before 'build 'fix-paths
6458 ;; This file assumes that the build directory is named "target"
6459 ;; but it is not the case with our ant-build-system. Once we have
6460 ;; maven though, we will have to rebuild this package because this
6461 ;; assumption is correct with maven-build-system.
6463 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6464 (("\"target\"") "\"build\"")
6465 (("\"tests\"") "\"test-classes\""))
6466 ;; Tests assume we are building with maven, so that the build
6467 ;; directory is named "target", and not "build".
6468 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6469 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6470 "MavenTestingUtilsTest.java")
6471 (("target/tests") "build/test-classes")
6472 (("\"target") "\"build")))
6475 `(("junit" ,java-junit)
6476 ("hamcrest" ,java-hamcrest-all)))
6477 (home-page "https://www.eclipse.org/jetty/")
6478 (synopsis "Helper classes for jetty tests")
6479 (description "This package contains helper classes for testing the Jetty
6481 ;; This program is licensed under both epl and asl.
6482 (license (list license:epl1.0 license:asl2.0))))
6484 (define-public java-eclipse-jetty-perf-helper
6486 (inherit java-eclipse-jetty-test-helper)
6487 (name "java-eclipse-jetty-perf-helper")
6489 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6490 #:source-dir "src/main/java"
6491 #:tests? #f; no tests
6494 (modify-phases %standard-phases
6495 (add-before 'configure 'chdir
6497 (chdir "jetty-perf-helper")
6500 `(("hdrhistogram" ,java-hdrhistogram)))))
6502 (define-public java-eclipse-jetty-util
6504 (name "java-eclipse-jetty-util")
6508 (uri (string-append "https://github.com/eclipse/jetty.project/"
6509 "archive/jetty-" version ".v20170531.tar.gz"))
6512 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6513 (build-system ant-build-system)
6515 `(#:jar-name "eclipse-jetty-util.jar"
6516 #:source-dir "src/main/java"
6518 (list "**/Abstract*.java"
6520 "**/InetAddressSetTest.java"
6521 ;; Assumes we are using maven
6522 "**/TypeUtilTest.java"
6523 ;; Error on the style of log
6524 "**/StdErrLogTest.java")
6527 (modify-phases %standard-phases
6528 (add-before 'configure 'chdir
6530 (chdir "jetty-util")
6533 `(("slf4j" ,java-slf4j-api)
6534 ("servlet" ,java-javaee-servletapi)))
6536 `(("junit" ,java-junit)
6537 ("hamcrest" ,java-hamcrest-all)
6538 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6539 ("test-helper" ,java-eclipse-jetty-test-helper)))
6540 (home-page "https://www.eclipse.org/jetty/")
6541 (synopsis "Utility classes for Jetty")
6542 (description "The Jetty Web Server provides an HTTP server and Servlet
6543 container capable of serving static and dynamic content either from a standalone
6544 or embedded instantiation. This package provides utility classes.")
6545 (license (list license:epl1.0 license:asl2.0))))
6547 ;; This version is required by maven-wagon
6548 (define-public java-eclipse-jetty-util-9.2
6550 (inherit java-eclipse-jetty-util)
6554 (uri (string-append "https://github.com/eclipse/jetty.project/"
6555 "archive/jetty-" version ".v20170606.tar.gz"))
6558 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6560 `(#:jar-name "eclipse-jetty-util.jar"
6561 #:source-dir "src/main/java"
6564 (list "**/Abstract*.java"
6566 "**/InetAddressSetTest.java"
6567 ;; Assumes we are using maven
6568 "**/TypeUtilTest.java"
6569 ;; We don't have an implementation for slf4j
6571 ;; Error on the style of log
6572 "**/StdErrLogTest.java")
6574 (modify-phases %standard-phases
6575 (add-before 'configure 'chdir
6577 (chdir "jetty-util")
6579 (add-before 'build 'fix-test-sources
6581 ;; We need to fix issues caused by changes in newer versions of
6582 ;; jetty-test-helper
6583 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6584 (substitute* (string-append src "/AbstractFSResourceTest.java")
6585 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6586 (("testdir.getFile\\(\"foo\"\\)")
6587 "testdir.getPathFile(\"foo\").toFile()")
6588 (("testdir.getFile\\(name\\)")
6589 "testdir.getPathFile(name).toFile()")))
6592 (define-public java-eclipse-jetty-io
6594 (inherit java-eclipse-jetty-util)
6595 (name "java-eclipse-jetty-io")
6597 `(#:jar-name "eclipse-jetty-io.jar"
6598 #:source-dir "src/main/java"
6600 #:test-exclude (list "**/Abstract*.java"
6602 "**/EndPointTest.java")
6604 (modify-phases %standard-phases
6605 (add-before 'configure 'chdir
6610 `(("slf4j" ,java-slf4j-api)
6611 ("servlet" ,java-javaee-servletapi)
6612 ("util" ,java-eclipse-jetty-util)))
6613 (synopsis "Jetty :: IO Utility")
6614 (description "The Jetty Web Server provides an HTTP server and Servlet
6615 container capable of serving static and dynamic content either from a standalone
6616 or embedded instantiation. This package provides IO-related utility classes.")))
6618 (define-public java-eclipse-jetty-io-9.2
6620 (inherit java-eclipse-jetty-io)
6621 (version (package-version java-eclipse-jetty-util-9.2))
6622 (source (package-source java-eclipse-jetty-util-9.2))
6624 `(("util" ,java-eclipse-jetty-util-9.2)
6625 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6627 `(("mockito" ,java-mockito-1)
6628 ("cglib" ,java-cglib)
6629 ("objenesis" ,java-objenesis)
6631 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6633 (define-public java-eclipse-jetty-http
6635 (inherit java-eclipse-jetty-util)
6636 (name "java-eclipse-jetty-http")
6638 `(#:jar-name "eclipse-jetty-http.jar"
6639 #:source-dir "src/main/java"
6642 (modify-phases %standard-phases
6643 (add-before 'configure 'chdir
6645 (chdir "jetty-http")
6647 (add-before 'build 'copy-resources
6649 (mkdir-p "build/classes")
6650 (copy-recursively "src/main/resources/" "build/classes/")
6653 `(("slf4j" ,java-slf4j-api)
6654 ("servlet" ,java-javaee-servletapi)
6655 ("io" ,java-eclipse-jetty-io)
6656 ("util" ,java-eclipse-jetty-util)))
6657 (synopsis "Jetty :: Http Utility")
6658 (description "The Jetty Web Server provides an HTTP server and Servlet
6659 container capable of serving static and dynamic content either from a standalone
6660 or embedded instantiation. This package provides HTTP-related utility classes.")))
6662 (define-public java-eclipse-jetty-http-9.2
6664 (inherit java-eclipse-jetty-http)
6665 (version (package-version java-eclipse-jetty-util-9.2))
6666 (source (package-source java-eclipse-jetty-util-9.2))
6668 `(("util" ,java-eclipse-jetty-util-9.2)
6669 ("io" ,java-eclipse-jetty-io-9.2)
6670 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6672 (define-public java-eclipse-jetty-jmx
6674 (inherit java-eclipse-jetty-util)
6675 (name "java-eclipse-jetty-jmx")
6677 `(#:jar-name "eclipse-jetty-jmx.jar"
6678 #:source-dir "src/main/java"
6680 #:tests? #f; FIXME: requires com.openpojo.validation
6682 (modify-phases %standard-phases
6683 (add-before 'configure 'chdir
6688 `(("slf4j" ,java-slf4j-api)
6689 ("servlet" ,java-javaee-servletapi)
6690 ("util" ,java-eclipse-jetty-util)))
6691 (synopsis "Jetty :: JMX Management")
6692 (description "The Jetty Web Server provides an HTTP server and Servlet
6693 container capable of serving static and dynamic content either from a standalone
6694 or embedded instantiation. This package provides the JMX management.")))
6696 (define-public java-eclipse-jetty-jmx-9.2
6698 (inherit java-eclipse-jetty-jmx)
6699 (version (package-version java-eclipse-jetty-util-9.2))
6700 (source (package-source java-eclipse-jetty-util-9.2))
6702 `(("util" ,java-eclipse-jetty-util-9.2)
6703 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6705 (define java-eclipse-jetty-http-test-classes
6707 (inherit java-eclipse-jetty-util)
6708 (name "java-eclipse-jetty-http-test-classes")
6710 `(#:jar-name "eclipse-jetty-http.jar"
6711 #:source-dir "src/test"
6715 (modify-phases %standard-phases
6716 (add-before 'configure 'chdir
6718 (chdir "jetty-http")
6721 `(("slf4j" ,java-slf4j-api)
6722 ("java-javaee-servletapi" ,java-javaee-servletapi)
6723 ("http" ,java-eclipse-jetty-http)
6724 ("io" ,java-eclipse-jetty-io)
6725 ("util" ,java-eclipse-jetty-util)))))
6727 (define java-eclipse-jetty-http-test-classes-9.2
6729 (inherit java-eclipse-jetty-http-test-classes)
6730 (version (package-version java-eclipse-jetty-util-9.2))
6731 (source (package-source java-eclipse-jetty-util-9.2))
6733 `(("http" ,java-eclipse-jetty-http-9.2)
6734 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6736 (define-public java-eclipse-jetty-server
6738 (inherit java-eclipse-jetty-util)
6739 (name "java-eclipse-jetty-server")
6741 `(#:jar-name "eclipse-jetty-server.jar"
6742 #:source-dir "src/main/java"
6744 #:tests? #f; requires a mockito version we don't have
6746 (modify-phases %standard-phases
6747 (add-before 'configure 'chdir
6749 (chdir "jetty-server")
6751 (add-before 'build 'fix-source
6753 ;; Explicit casts to prevent build failures
6754 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6755 (("append\\(LazyList")
6756 "append((CharSequence)LazyList"))
6758 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6760 "Class<\\? extends EventListener> clazz = _classLoader==null"
6761 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6762 "_classLoader.loadClass\\(className\\);"))
6763 (string-append "Class<? extends EventListener> clazz = "
6764 "(Class<? extends EventListener>) "
6765 "(_classLoader==null?Loader.loadClass("
6766 "ContextHandler.class,className):"
6767 "_classLoader.loadClass(className));")))
6770 `(("slf4j" ,java-slf4j-api)
6771 ("servlet" ,java-javaee-servletapi)
6772 ("http" ,java-eclipse-jetty-http)
6773 ("io" ,java-eclipse-jetty-io)
6774 ("jmx" ,java-eclipse-jetty-jmx)
6775 ("util" ,java-eclipse-jetty-util)))
6777 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6778 ,@(package-native-inputs java-eclipse-jetty-util)))
6779 (synopsis "Core jetty server artifact")
6780 (description "The Jetty Web Server provides an HTTP server and Servlet
6781 container capable of serving static and dynamic content either from a standalone
6782 or embedded instantiation. This package provides the core jetty server
6785 (define-public java-eclipse-jetty-server-9.2
6787 (inherit java-eclipse-jetty-server)
6788 (version (package-version java-eclipse-jetty-util-9.2))
6789 (source (package-source java-eclipse-jetty-util-9.2))
6791 `(("util" ,java-eclipse-jetty-util-9.2)
6792 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6793 ("io" ,java-eclipse-jetty-io-9.2)
6794 ("http" ,java-eclipse-jetty-http-9.2)
6795 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6797 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6798 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6800 (define-public java-eclipse-jetty-security
6802 (inherit java-eclipse-jetty-util)
6803 (name "java-eclipse-jetty-security")
6805 `(#:jar-name "eclipse-jetty-security.jar"
6806 #:source-dir "src/main/java"
6808 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
6810 (modify-phases %standard-phases
6811 (add-before 'configure 'chdir
6813 (chdir "jetty-security")
6816 `(("slf4j" ,java-slf4j-api)
6817 ("servlet" ,java-javaee-servletapi)
6818 ("http" ,java-eclipse-jetty-http)
6819 ("server" ,java-eclipse-jetty-server)
6820 ("util" ,java-eclipse-jetty-util)))
6822 `(("io" ,java-eclipse-jetty-io)
6823 ,@(package-native-inputs java-eclipse-jetty-util)))
6824 (synopsis "Jetty security infrastructure")
6825 (description "The Jetty Web Server provides an HTTP server and Servlet
6826 container capable of serving static and dynamic content either from a standalone
6827 or embedded instantiation. This package provides the core jetty security
6830 (define-public java-eclipse-jetty-security-9.2
6832 (inherit java-eclipse-jetty-security)
6833 (version (package-version java-eclipse-jetty-util-9.2))
6834 (source (package-source java-eclipse-jetty-util-9.2))
6836 `(("util" ,java-eclipse-jetty-util-9.2)
6837 ("http" ,java-eclipse-jetty-http-9.2)
6838 ("server" ,java-eclipse-jetty-server-9.2)
6839 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6841 `(("io" ,java-eclipse-jetty-io-9.2)
6842 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6844 (define-public java-eclipse-jetty-servlet
6846 (inherit java-eclipse-jetty-util)
6847 (name "java-eclipse-jetty-servlet")
6849 `(#:jar-name "eclipse-jetty-servlet.jar"
6850 #:source-dir "src/main/java"
6853 (modify-phases %standard-phases
6854 (add-before 'configure 'chdir
6856 (chdir "jetty-servlet")
6859 `(("slf4j" ,java-slf4j-api)
6860 ("java-javaee-servletapi" ,java-javaee-servletapi)
6861 ("http" ,java-eclipse-jetty-http)
6862 ("http-test" ,java-eclipse-jetty-http-test-classes)
6863 ("io" ,java-eclipse-jetty-io)
6864 ("jmx" ,java-eclipse-jetty-jmx)
6865 ("security" ,java-eclipse-jetty-security)
6866 ("server" ,java-eclipse-jetty-server)
6867 ("util" ,java-eclipse-jetty-util)))
6868 (synopsis "Jetty Servlet Container")
6869 (description "The Jetty Web Server provides an HTTP server and Servlet
6870 container capable of serving static and dynamic content either from a standalone
6871 or embedded instantiation. This package provides the core jetty servlet
6874 (define-public java-eclipse-jetty-servlet-9.2
6876 (inherit java-eclipse-jetty-servlet)
6877 (version (package-version java-eclipse-jetty-util-9.2))
6878 (source (package-source java-eclipse-jetty-util-9.2))
6880 `(#:jar-name "eclipse-jetty-servlet.jar"
6881 #:source-dir "src/main/java"
6883 #:tests? #f; doesn't work
6885 (modify-phases %standard-phases
6886 (add-before 'configure 'chdir
6888 (chdir "jetty-servlet")
6891 `(("util" ,java-eclipse-jetty-util-9.2)
6892 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6893 ("io" ,java-eclipse-jetty-io-9.2)
6894 ("http" ,java-eclipse-jetty-http-9.2)
6895 ("security" ,java-eclipse-jetty-security-9.2)
6896 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
6897 ("server" ,java-eclipse-jetty-server-9.2)
6898 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6900 (define-public java-eclipse-jetty-xml
6902 (inherit java-eclipse-jetty-util)
6903 (name "java-eclipse-jetty-xml")
6905 `(#:jar-name "eclipse-jetty-xml.jar"
6906 #:source-dir "src/main/java"
6908 #:tests? #f; most tests require network
6910 (modify-phases %standard-phases
6911 (add-before 'configure 'chdir
6916 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
6918 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6919 ,@(package-native-inputs java-eclipse-jetty-util)))))
6921 (define-public java-eclipse-jetty-xml-9.2
6923 (inherit java-eclipse-jetty-xml)
6924 (version (package-version java-eclipse-jetty-util-9.2))
6925 (source (package-source java-eclipse-jetty-util-9.2))
6927 `(#:jar-name "eclipse-jetty-xml.jar"
6928 #:source-dir "src/main/java"
6930 #:tests? #f; most tests require network
6932 (modify-phases %standard-phases
6933 (add-before 'configure 'chdir
6938 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6939 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6941 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6942 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6944 (define-public java-eclipse-jetty-webapp
6946 (inherit java-eclipse-jetty-util)
6947 (name "java-eclipse-jetty-webapp")
6949 `(#:jar-name "eclipse-jetty-webapp.jar"
6950 #:source-dir "src/main/java"
6953 #:test-exclude (list "**/WebAppContextTest.java")
6955 (modify-phases %standard-phases
6956 (add-before 'configure 'chdir
6958 (chdir "jetty-webapp")
6961 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
6962 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
6963 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
6964 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
6965 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
6966 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
6967 ("java-javaee-servletapi" ,java-javaee-servletapi)))
6969 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6970 ,@(package-native-inputs java-eclipse-jetty-util)))))
6972 (define-public java-eclipse-jetty-webapp-9.2
6974 (inherit java-eclipse-jetty-webapp)
6975 (version (package-version java-eclipse-jetty-util-9.2))
6976 (source (package-source java-eclipse-jetty-util-9.2))
6978 `(#:jar-name "eclipse-jetty-webapp.jar"
6979 #:source-dir "src/main/java"
6981 #:test-exclude (list "**/WebAppContextTest.java")
6983 (modify-phases %standard-phases
6984 (add-before 'configure 'chdir
6986 (chdir "jetty-webapp")
6989 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6990 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
6991 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
6992 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
6993 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
6994 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
6995 ("java-javaee-servletapi" ,java-javaee-servletapi)
6996 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6998 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6999 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
7001 (define-public java-jsoup
7008 (url "https://github.com/jhy/jsoup")
7009 (commit (string-append "jsoup-" version))))
7010 (file-name (git-file-name name version))
7013 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
7014 (build-system ant-build-system)
7016 `(#:jar-name "jsoup.jar"
7017 #:source-dir "src/main/java"
7019 (modify-phases %standard-phases
7020 (add-before 'build 'copy-resources
7022 (let ((classes-dir (string-append (getcwd) "/build/classes")))
7023 (with-directory-excursion "src/main/java"
7024 (for-each (lambda (file)
7025 (let ((dist (string-append classes-dir "/" file)))
7026 (mkdir-p (dirname dist))
7027 (copy-file file dist)))
7028 (find-files "." ".*.properties"))))
7031 `(("java-junit" ,java-junit)
7032 ("java-hamcrest-core" ,java-hamcrest-core)
7033 ("java-gson" ,java-gson)))
7034 (home-page "https://jsoup.org")
7035 (synopsis "HTML parser")
7036 (description "Jsoup is a Java library for working with real-world HTML. It
7037 provides a very convenient API for extracting and manipulating data, using the
7038 best of DOM, CSS, and jQuery-like methods.")
7039 (license license:expat)))
7041 (define-public java-signpost-core
7043 (name "java-signpost-core")
7048 (url "https://github.com/mttkay/signpost")
7050 (file-name (git-file-name name version))
7053 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
7054 (build-system ant-build-system)
7056 `(#:jar-name "signpost-core.jar"
7057 #:source-dir "signpost-core/src/main/java"
7058 #:test-dir "signpost-core/src/test"
7059 ;; Tests all fail with InstantiationException from mockito
7062 `(("java-commons-codec" ,java-commons-codec)))
7063 (home-page "https://github.com/mttkay/signpost")
7064 (synopsis "Lightweight client-side OAuth library for Java")
7065 (description "Signpost is the easy and intuitive solution for signing
7066 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
7067 standard. Signpost follows a modular and flexible design, allowing you to
7068 combine it with different HTTP messaging layers.")
7069 (license license:asl2.0)))
7071 (define-public tidyp
7078 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
7082 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
7083 (build-system gnu-build-system)
7084 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
7085 (arguments `(#:tests? #f))
7086 (home-page "http://www.tidyp.com/")
7087 (synopsis "Validate HTML")
7088 (description "Tidyp is a program that can validate your HTML, as well as
7089 modify it to be more clean and standard. tidyp does not validate HTML 5.
7091 libtidyp is the library on which the program is based. It can be used by any
7092 other program that can interface to it. The Perl module @code{HTML::Tidy} is
7093 based on this library, allowing Perl programmers to easily validate HTML.")
7094 ;; See htmldoc/license.html
7095 (license license:bsd-3)))
7097 (define-public perl-html-tidy
7099 (name "perl-html-tidy")
7104 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
7108 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
7109 (build-system perl-build-system)
7112 (modify-phases %standard-phases
7113 (add-after 'unpack 'fix-tidyp-paths
7114 (lambda* (#:key inputs #:allow-other-keys)
7115 (substitute* "Makefile.PL"
7116 (("^my \\$inc = \"" line)
7118 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
7121 "-L" (assoc-ref inputs "tidyp") "/lib")))
7124 `(("perl-libwww" ,perl-libwww)
7127 `(("perl-test-exception" ,perl-test-exception)))
7128 (home-page "https://metacpan.org/release/HTML-Tidy")
7129 (synopsis "(X)HTML validation in a Perl object")
7130 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
7131 object. It's meant as a replacement for @code{HTML::Lint}, which is written
7132 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
7133 (license license:artistic2.0)))
7135 (define-public geomyidae
7143 (url "git://r-36.net/geomyidae")
7144 (commit (string-append "v" version))))
7145 (file-name (git-file-name name version))
7147 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
7148 (build-system gnu-build-system)
7150 `(#:make-flags (list "CC=gcc"
7151 (string-append "PREFIX="
7152 (assoc-ref %outputs "out")))
7153 #:tests? #f ; no tests
7154 #:phases (modify-phases %standard-phases
7155 (delete 'configure))))
7156 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
7157 (synopsis "Small Gopher server")
7159 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
7163 @item Gopher menus (see @file{index.gph} for an example);
7164 @item directory listings (if no @file{index.gph} was found);
7165 @item CGI support (@file{.cgi} files are executed);
7166 @item search support in CGI files;
7167 @item logging with multiple log levels.
7169 (license license:expat)))
7171 (define-public cat-avatar-generator
7173 (name "cat-avatar-generator")
7178 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
7179 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
7180 (file-name (string-append name "-" version))
7183 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
7184 (build-system trivial-build-system)
7186 `(#:modules ((guix build utils))
7189 (use-modules (guix build utils)
7193 (let ((source (assoc-ref %build-inputs "source"))
7194 (php-dir (string-append %output "/share/web/" ,name "/")))
7195 ;; The cache directory must not be in the store, but in a writable
7196 ;; location. The webserver will give us this location.
7197 (copy-recursively source php-dir)
7198 (substitute* (string-append php-dir "/cat-avatar-generator.php")
7199 (("\\$cachepath = .*")
7200 "if(isset($_SERVER['CACHE_DIR']))
7201 $cachepath = $_SERVER['CACHE_DIR'];
7203 die('You need to set the CACHE_DIR variable first.');"))
7205 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
7206 (synopsis "Random avatar generator")
7207 (description "Cat avatar generator is a generator of cat pictures optimised
7208 to generate random avatars, or defined avatar from a \"seed\". This is a
7209 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
7210 ;; expat for the code, CC-BY 4.0 for the artwork
7211 (license (list license:expat
7212 license:cc-by4.0))))
7214 (define-public nghttp2
7218 (replacement nghttp2-1.41)
7222 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7223 "releases/download/v" version "/"
7224 "nghttp2-" version ".tar.xz"))
7227 "0wwhwv7cvi1vxpdjwvg0kpa4jzhszclpnwrwfcw728zz53a47z09"))))
7228 (build-system gnu-build-system)
7229 (outputs (list "out"
7230 "lib")) ; only libnghttp2
7232 `(("pkg-config" ,pkg-config)
7234 ;; Required by tests.
7236 ("tzdata" ,tzdata-for-tests)))
7238 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
7239 `(("c-ares" ,c-ares)
7240 ("jansson" ,jansson) ; for HPACK tools
7241 ,@(if (hurd-target?) '()
7242 `(("jemalloc" ,jemalloc))) ; fight nghttpd{,x} heap fragmentation
7244 ("libxml2" ,libxml2) ; for ‘nghttp -a’
7245 ("openssl" ,openssl)
7246 ,@(if (hurd-target?)
7247 `(("openssl-static" ,openssl "static"))
7251 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
7252 "--enable-app" ; build all the tools
7253 "--enable-hpack-tools" ; ...all the tools
7254 "--disable-examples"
7255 "--disable-static") ; don't bother building .a files
7257 (modify-phases %standard-phases
7258 (add-after 'unpack 'break-circular-reference
7259 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
7260 ;; which is not allowed. Break this cycle. While we could install
7261 ;; only the library to ‘out’ and move everything else to a separate
7262 ;; output, this would inconvenience the majority of (human) users.
7263 (lambda* (#:key outputs #:allow-other-keys)
7264 (substitute* "lib/libnghttp2.pc.in"
7266 (assoc-ref outputs "lib")))
7268 (add-before 'check 'set-timezone-directory
7269 (lambda* (#:key inputs native-inputs #:allow-other-keys)
7270 (setenv "TZDIR" (string-append
7271 (assoc-ref (or native-inputs inputs) "tzdata")
7274 (home-page "https://nghttp2.org/")
7275 (synopsis "HTTP/2 protocol client, proxy, server, and library")
7277 "nghttp2 implements the Hypertext Transfer Protocol, version
7280 A reusable C library provides the HTTP/2 framing layer, with several tools built
7284 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
7285 and low-level aspects of the protocol and is useful for debugging.
7286 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
7287 serves files from a local directory.
7288 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
7289 deployed in front of existing web servers that don't support HTTP/2.
7290 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
7291 backwards compatibility with clients that don't speak HTTP/2.
7292 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
7293 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
7294 nghttp2 provides a HPACK encoder and decoder as part of its public API.
7295 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
7296 compressed JSON header blocks.
7297 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
7299 (license license:expat)))
7301 (define-public nghttp2-1.41 ;fixes CVE-2020-11080
7308 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7309 "releases/download/v" version "/"
7310 "nghttp2-" version ".tar.xz"))
7313 "1hk77vngjmvvzb5y1gi1aqwf6qywrc7yak08zvzb7x81qs6mphmb"))))))
7315 (define-public hpcguix-web
7316 (let ((commit "9de63562b06b4aef3a3afe5ecb18d3c91e57ee74")
7319 (name "hpcguix-web")
7320 (version (git-version "0.0.1" revision commit))
7324 (url "https://github.com/UMCUGenetics/hpcguix-web")
7326 (file-name (git-file-name name version))
7329 "0wjgj2s7v2cyz6dx24c111rxs99i84sfvxl4ch8brnh02j2606jz"))))
7330 (build-system gnu-build-system)
7332 `(#:modules ((guix build gnu-build-system)
7338 (modify-phases %standard-phases
7339 (add-before 'configure 'set-variables
7341 ;; This prevents a few warnings
7342 (setenv "GUILE_AUTO_COMPILE" "0")
7343 (setenv "XDG_CACHE_HOME" (getcwd))
7345 (add-after 'install 'wrap-program
7346 (lambda* (#:key inputs outputs #:allow-other-keys)
7347 (let* ((out (assoc-ref outputs "out"))
7348 (guix (assoc-ref inputs "guix"))
7349 (guile (assoc-ref inputs "guile"))
7350 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7351 (git (assoc-ref inputs "guile-git"))
7352 (bs (assoc-ref inputs "guile-bytestructures"))
7353 (json (assoc-ref inputs "guile-json"))
7354 (guile-cm (assoc-ref inputs
7355 "guile-commonmark"))
7356 (deps (list guile gcrypt git bs guile-cm guix json))
7359 (open-pipe* OPEN_READ
7360 (string-append guile "/bin/guile")
7361 "-c" "(display (effective-version))")))
7363 (map (cut string-append <>
7364 "/share/guile/site/"
7368 (gopath (string-join
7369 (map (cut string-append <>
7370 "/lib/guile/" effective
7374 (wrap-program (string-append out "/bin/run")
7375 `("GUILE_LOAD_PATH" ":" prefix (,path))
7376 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7380 `(("autoconf" ,autoconf)
7381 ("automake" ,automake)
7382 ("uglify-js" ,uglify-js)
7383 ("pkg-config" ,pkg-config)))
7385 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7388 `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
7389 ("guile-commonmark" ,guile-commonmark)
7390 ("guile-json" ,guile-json-4)))
7391 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7392 (synopsis "Web interface for cluster deployments of Guix")
7393 (description "Hpcguix-web provides a web interface to the list of packages
7394 provided by Guix. The list of packages is searchable and provides
7395 instructions on how to use Guix in a shared HPC environment.")
7396 (license license:agpl3+))))
7398 (define-public httrack
7404 (uri (string-append "https://mirror.httrack.com/historical/"
7405 "httrack-" version ".tar.gz"))
7408 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7409 (build-system gnu-build-system)
7411 `(("libressl" ,libressl)
7413 (home-page "https://www.httrack.com/")
7414 (synopsis "Easy-to-use offline browser utility")
7415 (description "HTTrack allows you to download a World Wide Web site from
7416 the Internet to a local directory, building recursively all directories,
7417 getting HTML, images, and other files from the server to your computer.
7419 HTTrack arranges the original site's relative link-structure. Simply open
7420 a page of the @emph{mirrored} website in your browser, and you can browse the
7421 site from link to link, as if you were viewing it online. HTTrack can also
7422 update an existing mirrored site, and resume interrupted downloads.
7424 HTTrack is fully configurable, and has an integrated help system.")
7425 (license license:gpl3+)))
7427 (define-public anonip
7433 (uri (pypi-uri "anonip" version))
7436 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7437 (build-system python-build-system)
7438 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7439 (synopsis "Anonymize IP addresses in log files")
7441 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7442 That way most of the relevant information is preserved, while the IP address
7443 does not match a particular individuum anymore.
7445 Depending on your Web server, the log entries may be piped to Anonip directly
7446 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7447 written to any file.
7449 It's also possible to rewrite existing log files.
7451 Anonip can also be uses as a Python module in your own Python application.")
7452 (license license:bsd-3)))
7454 (define-public poussetaches
7456 (name "poussetaches")
7462 (url "https://github.com/tsileo/poussetaches")
7464 (file-name (git-file-name name version))
7467 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7468 (build-system go-build-system)
7470 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7471 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7473 `(#:import-path "github.com/tsileo/poussetaches"))
7474 (home-page "https://github.com/tsileo/poussetaches")
7475 (synopsis "Lightweight asynchronous task execution service")
7476 (description "Poussetaches (which literally means \"push tasks\" in
7477 French) is a lightweight asynchronous task execution service that aims to
7478 replace Celery and RabbitMQ for small Python applications.
7480 The app posts base64-encoded payload to poussetaches and specifies the
7481 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7482 requests with the registered payload until the right status code is
7484 (license license:isc)))
7486 (define-public htmlcxx
7494 (string-append "mirror://sourceforge/htmlcxx/v"
7495 version "/htmlcxx-" version ".tar.gz"))
7497 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7498 (build-system gnu-build-system)
7499 (home-page "http://htmlcxx.sourceforge.net/")
7500 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7501 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7502 C++. Although there are several other HTML parsers available, htmlcxx has some
7503 characteristics that make it unique:
7505 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7507 @item It is possible to reproduce exactly, character by character, the original
7508 document from the parse tree
7509 @item Bundled CSS parser
7510 @item Optional parsing of attributes
7511 @item C++ code that looks like C++ (not so true anymore)
7512 @item Offsets of tags/elements in the original document are stored in the nodes
7515 (license (list license:lgpl2.0
7519 (define-public librocket
7528 (url "https://github.com/libRocket/libRocket")
7529 (commit (string-append "release-" version))))
7530 (file-name (git-file-name name version))
7532 (base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
7533 (build-system cmake-build-system)
7535 `(#:tests? #f ; No tests.
7537 (modify-phases %standard-phases
7538 (add-after 'unpack 'chdir
7540 (chdir "Build"))))))
7542 `(("freetype" ,freetype)))
7543 (home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
7544 (synopsis "HTML/CSS user interface library")
7545 (description "libRocket is a C++ user interface package based on the HTML
7546 and CSS standards. libRocket uses the open standards XHTML1.0 and
7547 CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
7548 features suited towards real-time applications. It is designed as a complete
7549 solution for any project's interface needs:
7552 @item Dynamic layout system.
7553 @item Efficient application-wide styling, with a custom-built templating engine.
7554 @item Fully featured control set: buttons, sliders, drop-downs, etc.
7555 @item Runtime visual debugging suite.
7556 @item Easily integrated and extensible with Python or Lua scripting.
7558 (license license:expat)))