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 ng0 <ng0@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, 2020 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
40 ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
41 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
42 ;;; Copyright © 2018, 2019, 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
43 ;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
45 ;;; This file is part of GNU Guix.
47 ;;; GNU Guix is free software; you can redistribute it and/or modify it
48 ;;; under the terms of the GNU General Public License as published by
49 ;;; the Free Software Foundation; either version 3 of the License, or (at
50 ;;; your option) any later version.
52 ;;; GNU Guix is distributed in the hope that it will be useful, but
53 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
54 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
55 ;;; GNU General Public License for more details.
57 ;;; You should have received a copy of the GNU General Public License
58 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
60 (define-module (gnu packages web)
61 #:use-module (ice-9 match)
62 #:use-module ((guix licenses) #:prefix license:)
63 #:use-module (guix packages)
64 #:use-module (guix download)
65 #:use-module (guix gexp)
66 #:use-module (guix git-download)
67 #:use-module (guix cvs-download)
68 #:use-module (guix hg-download)
69 #:use-module (guix utils)
70 #:use-module (guix build-system gnu)
71 #:use-module (guix build-system glib-or-gtk)
72 #:use-module (guix build-system perl)
73 #:use-module (guix build-system cmake)
74 #:use-module (guix build-system trivial)
75 #:use-module (guix build-system python)
76 #:use-module (guix build-system ant)
77 #:use-module (guix build-system scons)
78 #:use-module (guix build-system go)
79 #:use-module (gnu packages)
80 #:use-module (gnu packages admin)
81 #:use-module (gnu packages adns)
82 #:use-module (gnu packages apr)
83 #:use-module (gnu packages boost)
84 #:use-module (gnu packages check)
85 #:use-module (gnu packages documentation)
86 #:use-module (gnu packages docbook)
87 #:use-module (gnu packages emacs)
88 #:use-module (gnu packages emacs-xyz)
89 #:use-module (gnu packages autotools)
90 #:use-module (gnu packages compression)
91 #:use-module (gnu packages curl)
92 #:use-module (gnu packages cyrus-sasl)
93 #:use-module (gnu packages databases)
94 #:use-module (gnu packages bison)
95 #:use-module (gnu packages flex)
96 #:use-module (gnu packages fontutils)
97 #:use-module (gnu packages freedesktop)
98 #:use-module (gnu packages kerberos)
99 #:use-module (gnu packages gcc)
100 #:use-module (gnu packages gd)
101 #:use-module (gnu packages gettext)
102 #:use-module (gnu packages glib)
103 #:use-module (gnu packages gnome)
104 #:use-module (gnu packages gnu-doc)
105 #:use-module (gnu packages gnupg)
106 #:use-module (gnu packages golang)
107 #:use-module (gnu packages gperf)
108 #:use-module (gnu packages gtk)
109 #:use-module (gnu packages guile)
110 #:use-module (gnu packages guile-xyz)
111 #:use-module (gnu packages java)
112 #:use-module (gnu packages jemalloc)
113 #:use-module (gnu packages image)
114 #:use-module (gnu packages imagemagick)
115 #:use-module (gnu packages kde)
116 #:use-module (gnu packages libevent)
117 #:use-module (gnu packages libidn)
118 #:use-module (gnu packages libunistring)
119 #:use-module (gnu packages libunwind)
120 #:use-module (gnu packages linux)
121 #:use-module (gnu packages lisp-xyz)
122 #:use-module (gnu packages lua)
123 #:use-module (gnu packages markup)
124 #:use-module (gnu packages ncurses)
125 #:use-module (gnu packages nss)
126 #:use-module (gnu packages openldap)
127 #:use-module (gnu packages openstack)
128 #:use-module (gnu packages base)
129 #:use-module (gnu packages package-management)
130 #:use-module (gnu packages perl)
131 #:use-module (gnu packages perl-check)
132 #:use-module (gnu packages python)
133 #:use-module (gnu packages python-web)
134 #:use-module (gnu packages python-xyz)
135 #:use-module (gnu packages pcre)
136 #:use-module (gnu packages pkg-config)
137 #:use-module (gnu packages qt)
138 #:use-module (gnu packages readline)
139 #:use-module (gnu packages re2c)
140 #:use-module (gnu packages sphinx)
141 #:use-module (gnu packages texinfo)
142 #:use-module (gnu packages textutils)
143 #:use-module (gnu packages tls)
144 #:use-module (gnu packages valgrind)
145 #:use-module (gnu packages version-control)
146 #:use-module (gnu packages vim)
147 #:use-module (gnu packages xml)
148 #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
156 (uri (string-append "mirror://apache/httpd/httpd-"
160 "0hqgw47r3p3521ygkkqs8s30s5crm683081avj6330gwncm6b5x4"))))
161 (build-system gnu-build-system)
162 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
163 (inputs `(("apr" ,apr)
164 ("apr-util" ,apr-util)
166 ("perl" ,perl))) ; needed to run bin/apxs
168 `(#:test-target "test"
169 #:configure-flags (list "--enable-rewrite"
171 "--enable-vhost-alias"
173 "--enable-mime-magic"
174 (string-append "--sysconfdir="
175 (assoc-ref %outputs "out")
177 (synopsis "Featureful HTTP server")
179 "The Apache HTTP Server Project is a collaborative software development
180 effort aimed at creating a robust, commercial-grade, featureful, and
181 freely-available source code implementation of an HTTP (Web) server. The
182 project is jointly managed by a group of volunteers located around the world,
183 using the Internet and the Web to communicate, plan, and develop the server
184 and its related documentation.")
185 (license license:asl2.0)
186 (home-page "https://httpd.apache.org/")))
188 (define-public mod-wsgi
195 (url "https://github.com/GrahamDumpleton/mod_wsgi.git")
197 (file-name (git-file-name name version))
200 "1q90xw2cbhka5gcd6yc69iir73x4gm7fm75qpkins2ryfl6w1q3f"))))
201 (build-system gnu-build-system)
203 '(#:tests? #f ; TODO: can't figure out if there are tests
205 (string-append "DESTDIR="
206 (assoc-ref %outputs "out"))
207 "LIBEXECDIR=/modules")))
210 ("python" ,python-wrapper)))
211 (synopsis "Apache HTTPD module for Python WSGI applications")
213 "The mod_wsgi module for the Apache HTTPD Server adds support for running
214 applications that support the Python @acronym{WSGI, Web Server Gateway
215 Interface} specification.")
216 (license license:asl2.0)
217 (home-page "https://modwsgi.readthedocs.io/")))
222 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
223 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
224 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
225 ;; Consider updating the nginx-documentation package together with this one.
229 (uri (string-append "https://nginx.org/download/nginx-"
233 "12dnrdxwnlid0wr797vdxj9z1fmxnk7ib55bznvl2g3mbi05vmkx"))))
234 (build-system gnu-build-system)
235 (inputs `(("openssl" ,openssl)
239 `(#:tests? #f ; no test target
241 (modify-phases %standard-phases
242 (add-before 'configure 'patch-/bin/sh
244 (substitute* "auto/feature"
245 (("/bin/sh") (which "sh")))
248 ;; The configure script is hand-written, not from GNU autotools.
249 (lambda* (#:key outputs #:allow-other-keys)
251 (list (string-append "--prefix=" (assoc-ref outputs "out"))
252 "--with-http_ssl_module"
253 "--with-http_v2_module"
256 ;; Even when not cross-building, we pass the
257 ;; --crossbuild option to avoid customizing for the
258 ;; kernel version on the build machine.
259 ,(let ((system "Linux") ; uname -s
260 (release "3.2.0") ; uname -r
262 (machine (match (or (%current-target-system)
264 ("x86_64-linux" "x86_64")
265 ("i686-linux" "i686")
266 ("mips64el-linux" "mips64")
267 ;; Prevent errors when querying
268 ;; this package on unsupported
269 ;; platforms, e.g. when running
270 ;; "guix package --search="
272 (string-append "--crossbuild="
273 system ":" release ":" machine)))))
275 (format #t "environment variable `CC' set to `gcc'~%")
276 (format #t "configure flags: ~s~%" flags)
277 (apply invoke "./configure" flags)
279 (add-after 'install 'install-man-page
280 (lambda* (#:key outputs #:allow-other-keys)
281 (let* ((out (assoc-ref outputs "out"))
282 (man (string-append out "/share/man")))
283 (install-file "objs/nginx.8" (string-append man "/man8"))
285 (add-after 'install 'fix-root-dirs
286 (lambda* (#:key outputs #:allow-other-keys)
287 ;; 'make install' puts things in strange places, so we need to
288 ;; clean it up ourselves.
289 (let* ((out (assoc-ref outputs "out"))
290 (share (string-append out "/share/nginx")))
291 ;; This directory is empty, so get rid of it.
292 (rmdir (string-append out "/logs"))
293 ;; Example configuration and HTML files belong in
296 (rename-file (string-append out "/conf")
297 (string-append share "/conf"))
298 (rename-file (string-append out "/html")
299 (string-append share "/html"))
301 (home-page "https://nginx.org")
302 (synopsis "HTTP and reverse proxy server")
304 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
305 created by Igor Sysoev. It can be used both as a stand-alone web server
306 and as a proxy to reduce the load on back-end HTTP or mail servers.")
307 ;; Almost all of nginx is distributed under the bsd-2 license.
308 ;; The exceptions are:
309 ;; * The 'nginx-http-push' module is covered by the expat license.
310 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
311 ;; except for two source files which are bsd-4 licensed.
312 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
314 (define nginx-xslscript
316 (changeset "01dc9ba12e1b"))
318 (name "nginx-xslscript")
320 (simple-format #f "2014-03-31-~A-~A" revision changeset))
324 (url "http://hg.nginx.org/xslscript")
325 (changeset changeset)))
326 (file-name (string-append name "-" version))
329 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
330 (build-system gnu-build-system)
332 '(#:tests? #f ; No test suite
334 (modify-phases %standard-phases
338 (lambda* (#:key outputs #:allow-other-keys)
339 (let ((out-bin (string-append
340 (assoc-ref outputs "out")
343 (copy-file "xslscript.pl"
348 (home-page "http://hg.nginx.org/xslscript")
349 (synopsis "XSLScript with NGinx specific modifications")
351 "XSLScript is a terse notation for writing complex XSLT stylesheets.
352 This is modified version, specifically intended for use with the NGinx
354 (license license:bsd-2))))
356 (define-public nginx-documentation
357 ;; This documentation should be relevant for nginx@1.15.9.
358 (let ((revision 2345)
359 (changeset "7ef11708457e"))
361 (name "nginx-documentation")
363 (simple-format #f "2019-03-01-~A-~A" revision changeset))
365 (origin (method hg-fetch)
367 (url "http://hg.nginx.org/nginx.org")
368 (changeset changeset)))
369 (file-name (string-append name "-" version))
372 "15975jvh53mnsgi4hhgrwdwy3by23v4kxnhy2vnkziq8v7wkmy4y"))))
373 (build-system gnu-build-system)
375 '(#:tests? #f ; no test suite
377 (modify-phases %standard-phases
378 (delete 'configure) ; no configure script
380 (lambda* (#:key outputs #:allow-other-keys)
381 (let ((output (assoc-ref outputs "out")))
382 (substitute* "umasked.sh"
383 ((" /bin/sh") (string-append " " (which "sh"))))
384 ;; The documentation includes a banner, which makes sense on
385 ;; the NGinx website, but doesn't make much sense when
386 ;; viewing locally. Therefore, modify the CSS to remove the
388 (substitute* "xslt/style.xslt"
389 (("#banner \\{ background: black;")
390 "#banner { display: none;"))
394 (lambda* (#:key outputs #:allow-other-keys)
395 (let ((output (assoc-ref outputs "out")))
397 (copy-recursively "libxslt" output)
400 `(("libxml2" ,libxml2)
402 ("nginx-xslscript" ,nginx-xslscript)))
403 (home-page "https://nginx.org")
404 (synopsis "Documentation for the nginx web server")
406 "This package provides HTML documentation for the nginx web server.")
407 (license license:bsd-2))))
409 (define-public nginx-accept-language-module
410 ;; Upstream has never made a release; use current commit instead.
411 (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
414 (name "nginx-accept-language-module")
415 (version (git-version "0.0.0" ;upstream has no version number
421 (url "https://github.com/giom/nginx_accept_language_module.git")
423 (file-name (git-file-name name version))
425 (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
426 (build-system gnu-build-system)
427 (inputs `(("openssl" ,openssl)
429 ("nginx-sources" ,(package-source nginx))
432 `(#:tests? #f ; no test target
433 #:make-flags (list "modules")
434 #:modules ((guix build utils)
435 (guix build gnu-build-system)
438 (ice-9 textual-ports))
440 (modify-phases %standard-phases
441 (add-after 'unpack 'unpack-nginx-sources
442 (lambda* (#:key inputs native-inputs #:allow-other-keys)
444 ;; The nginx source code is part of the module’s source.
445 (format #t "decompressing nginx source code~%")
446 (let ((tar (assoc-ref inputs "tar"))
447 (nginx-srcs (assoc-ref inputs "nginx-sources")))
448 (invoke (string-append tar "/bin/tar")
449 "xvf" nginx-srcs "--strip-components=1"))
451 (add-after 'unpack 'convert-to-dynamic-module
454 (with-atomic-file-replacement "config"
456 ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
457 (format out "ngx_module_type=HTTP~%")
458 (format out "ngx_module_name=\
459 ngx_http_accept_language_module~%")
460 (let* ((str (get-string-all in))
462 "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
463 (m (regexp-exec rx str))
464 (srcs (match:substring m 1)))
465 (format out (string-append "ngx_module_srcs=\""
467 (format out ". auto/module~%")
468 (format out "ngx_addon_name=$ngx_module_name~%"))))))
469 (add-before 'configure 'patch-/bin/sh
471 (substitute* "auto/feature"
472 (("/bin/sh") (which "sh")))
475 ;; This phase is largely copied from the nginx package.
476 (lambda* (#:key outputs #:allow-other-keys)
478 (list ;; A copy of nginx’ flags follows, otherwise we
479 ;; get a binary compatibility error. FIXME: Code
480 ;; duplication is bad.
481 (string-append "--prefix=" (assoc-ref outputs "out"))
482 "--with-http_ssl_module"
483 "--with-http_v2_module"
486 ;; Even when not cross-building, we pass the
487 ;; --crossbuild option to avoid customizing for the
488 ;; kernel version on the build machine.
489 ,(let ((system "Linux") ; uname -s
490 (release "3.2.0") ; uname -r
492 (machine (match (or (%current-target-system)
494 ("x86_64-linux" "x86_64")
495 ("i686-linux" "i686")
496 ("mips64el-linux" "mips64")
497 ;; Prevent errors when querying
498 ;; this package on unsupported
499 ;; platforms, e.g. when running
500 ;; "guix package --search="
502 (string-append "--crossbuild="
503 system ":" release ":" machine))
504 ;; The following are the args decribed on
505 ;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
506 ;; Enabling --with-compat here and in the nginx package
507 ;; would ensure binary compatibility even when using
508 ;; different configure options from the main nginx
509 ;; package. This is not needed for Guix.
511 "--add-dynamic-module=.")))
513 (format #t "environment variable `CC' set to `gcc'~%")
514 (format #t "configure flags: ~s~%" flags)
515 (apply invoke "./configure" flags)
518 (lambda* (#:key outputs #:allow-other-keys)
519 (let* ((out (assoc-ref outputs "out"))
520 (modules-dir (string-append out "/etc/nginx/modules"))
521 (doc-dir (string-append
522 out "/share/doc/nginx-accept-language-module")))
523 (mkdir-p modules-dir)
524 (copy-file "objs/ngx_http_accept_language_module.so"
526 modules-dir "/ngx_http_accept_language_module.so"))
528 (copy-file "README.textile"
529 (string-append doc-dir "/README.textile"))
532 "https://www.nginx.com/resources/wiki/modules/accept_language/")
533 (synopsis "Nginx module for parsing the Accept-Language HTTP header")
535 "This nginx module parses the Accept-Language field in HTTP headers and
536 chooses the most suitable locale for the user from the list of locales
537 supported at your website.")
538 (license (delete-duplicates
539 (cons license:bsd-2 ;license of nginx-accept-language-module
540 ;; The module’s code is linked statically with nginx,
541 ;; therefore nginx’ other licenses may also apply to its
543 (package-license nginx)))))))
545 (define-public lighttpd
551 (uri (string-append "https://download.lighttpd.net/lighttpd/"
552 "releases-" (version-major+minor version) ".x/"
553 "lighttpd-" version ".tar.xz"))
556 "09z947730yjh438wrqb3z1c5hr1dbb11a8sr92g3vk6mr7lm02va"))))
557 (build-system gnu-build-system)
568 (modify-phases %standard-phases
569 (add-after 'unpack 'embed-/bin/sh-reference
571 (substitute* "src/mod_ssi.c"
572 (("/bin/sh") (which "sh")))
574 (add-after 'unpack 'fix-tests
576 (setenv "SHELL" (which "sh"))
577 ;; gethostbyaddr fails
578 (substitute* "tests/LightyTest.pm"
579 (("\\{HOSTNAME\\} = \\$name;")
580 "{HOSTNAME} = \"127.0.0.1\";"))
583 `(("cyrus-sasl" ,cyrus-sasl)
585 ("libunwind" ,libunwind)
586 ("linux-pam" ,linux-pam)
587 ("mit-krb5" ,mit-krb5)
588 ("openldap" ,openldap)
591 ("pcre:bin" ,pcre "bin")
594 `(("perl" ,perl) ; for tests
595 ("pkg-config" ,pkg-config)
597 (home-page "https://www.lighttpd.net/")
598 (synopsis "Lightweight HTTP and reverse proxy server")
600 "Lighttpd is a secure, fast, compliant, and very flexible web-server that
601 has been optimized for high-performance environments. It has a very low
602 memory footprint compared to other webservers. Its features include FastCGI,
603 CGI, authentication, output compression, URL rewriting and many more.")
604 (license license:bsd-3)))
613 ;; Upstream has disappeared.
615 (url "https://github.com/FastCGI-Archives/fcgi2")
617 (file-name (git-file-name name version))
619 (base32 "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"))))
620 (build-system gnu-build-system)
621 ;; Parallel building is not supported.
622 (arguments `(#:parallel-build? #f))
624 `(("autoconf" ,autoconf)
625 ("automake" ,automake)
626 ("libtool" ,libtool)))
627 ;; This is an archived fork of the original home page, www.fastcgi.com.
628 (home-page "https://fastcgi-archives.github.io/")
629 (synopsis "Language-independent, high-performant extension to CGI")
630 (description "FastCGI is a language-independent, scalable extension to CGI
631 that provides high performance without the limitations of server specific
633 ;; This package is released under the Open Market License, a variant of
634 ;; the Expat license, incompatible with the GPL.
635 (license (license:non-copyleft "file://LICENSE.TERMS"))))
637 (define-public fcgiwrap
645 (url "https://github.com/gnosek/fcgiwrap.git")
647 (file-name (git-file-name name version))
649 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
650 (build-system gnu-build-system)
652 `(#:tests? #f ; no tests included
653 #:make-flags (list "CC=gcc")
655 (modify-phases %standard-phases
656 (add-after 'unpack 'fix-CFLAGS
657 ;; Remove broken options unconditionally added to CFLAGS.
659 (substitute* "configure.ac"
663 `(("autoconf" ,autoconf)
664 ("automake" ,automake)
665 ("pkg-config" ,pkg-config)))
668 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
669 (synopsis "Simple server for running CGI applications over FastCGI")
670 (description "Fcgiwrap is a simple server for running CGI applications
671 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
672 servers that may need it).")
673 (license license:expat)))
675 (define-public starman
682 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
683 "Starman-" version ".tar.gz"))
685 (base32 "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h"))))
686 (build-system perl-build-system)
688 `(("perl-libwww" ,perl-libwww)
689 ("perl-module-build-tiny" ,perl-module-build-tiny)
690 ("perl-test-requires" ,perl-test-requires)))
692 `(("perl-data-dump" ,perl-data-dump)
693 ("perl-http-date" ,perl-http-date)
694 ("perl-http-message" ,perl-http-message)
695 ("perl-http-parser-xs" ,perl-http-parser-xs)
696 ("perl-net-server" ,perl-net-server)
697 ("perl-plack" ,perl-plack)
698 ("perl-test-tcp" ,perl-test-tcp)))
699 (home-page "https://metacpan.org/release/Starman")
700 (synopsis "PSGI/Plack web server")
701 (description "Starman is a PSGI perl web server that has unique features
702 such as high performance, preforking, signal support, superdaemon awareness,
703 and UNIX socket support.")
704 (license license:perl-license)))
706 (define-public icedtea-web
713 "http://icedtea.wildebeest.org/download/source/"
714 name "-" version ".tar.gz"))
717 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
718 (build-system gnu-build-system)
721 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
722 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
724 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
725 (outputs '("out" "doc"))
727 `(("pkg-config" ,pkg-config)
731 ("jdk" ,icedtea "jdk")))
732 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
733 (synopsis "Java Web Start")
735 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
736 Protocol}, also known as Java Web Start. This package provides tools and
737 libraries for working with JNLP applets.")
738 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
740 (license license:gpl2+)))
742 (define-public jansson
749 (string-append "http://www.digip.org/jansson/releases/jansson-"
753 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
754 (build-system gnu-build-system)
756 `(#:configure-flags '("--disable-static")))
757 (home-page "http://www.digip.org/jansson/")
758 (synopsis "JSON C library")
760 "Jansson is a C library for encoding, decoding and manipulating JSON
762 (license license:expat)))
764 (define-public json-c
771 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
775 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
776 (modules '((guix build utils)))
779 ;; Somehow 'config.h.in' is older than
780 ;; 'aclocal.m4', which would trigger a rule to
782 (set-file-time "config.h.in"
785 (build-system gnu-build-system)
786 (home-page "https://github.com/json-c/json-c/wiki")
787 (synopsis "JSON implementation in C")
789 "JSON-C implements a reference counting object model that allows you to
790 easily construct JSON objects in C, output them as JSON-formatted strings and
791 parse JSON-formatted strings back into the C representation of JSON objects.
792 It aims to conform to RFC 7159.")
793 (license license:x11)))
795 ;; TODO: remove this old version when all dependents have been updated.
796 (define-public json-c-0.12
803 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
806 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
807 (modules '((guix build utils)))
810 ;; Somehow 'config.h.in' is older than
811 ;; 'aclocal.m4', which would trigger a rule to
813 (set-file-time "config.h.in"
816 ;; Don't try to build with -Werror.
817 (substitute* (find-files "." "Makefile\\.in")
821 (define-public json-parser
826 ;; do not use auto-generated tarballs
829 (url "https://github.com/udp/json-parser.git")
830 (commit (string-append "v" version))))
831 (file-name (git-file-name name version))
834 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
835 ;; FIXME: we should build the python bindings in a separate package
836 (build-system gnu-build-system)
837 ;; the tests are written for the python bindings which are not built here
838 (arguments '(#:tests? #f))
839 (home-page "https://github.com/udp/json-parser")
840 (synopsis "JSON parser written in ANSI C")
841 (description "This package provides a very low footprint JSON parser
842 written in portable ANSI C.
845 @item BSD licensed with no dependencies (i.e. just drop the C file into your
847 @item Never recurses or allocates more memory than it needs
848 @item Very simple API with operator sugar for C++
850 (license license:bsd-2)))
859 (url "https://github.com/flavio/qjson.git")
861 (file-name (git-file-name name version))
864 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
865 (build-system cmake-build-system)
867 ;; The tests require a running X server.
868 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
869 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
871 (modify-phases %standard-phases
872 (add-after 'unpack 'disable-broken-test
874 ;; FIXME: One test fails. See
875 ;; https://github.com/flavio/qjson/issues/105
876 (substitute* "tests/scanner/testscanner.cpp"
877 (("QTest::newRow\\(\"too large exponential\"\\)" line)
878 (string-append "//" line)))
880 (add-before 'check 'render-offscreen
881 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
883 `(("qtbase" ,qtbase)))
884 (home-page "http://qjson.sourceforge.net")
885 (synopsis "Library that maps JSON data to QVariant objects")
886 (description "QJson is a Qt-based library that maps JSON data to
887 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
888 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
889 ;; Only version 2.1 of the license
890 (license license:lgpl2.1)))
892 (define-public qoauth
899 (url "https://github.com/ayoy/qoauth.git")
900 (commit (string-append "v" version))))
901 (file-name (git-file-name name version))
904 "1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3"))))
905 (build-system gnu-build-system)
911 (modify-phases %standard-phases
912 (add-after 'unpack 'patch-code
914 (make-file-writable "src/qoauth.pc")
915 (substitute* "src/src.pro"
918 (delete 'configure) ; no configure script
919 (delete 'check) ; no test target
920 (add-before 'build 'qmake
922 (let ((qca (assoc-ref %build-inputs "qca")))
925 (string-append "PREFIX=" (assoc-ref %outputs "out"))
926 (string-append "QMAKE_INCDIR+=" qca "/include/Qca-qt5/QtCrypto")
927 (string-append "LIBS+=-L" qca "/lib")
928 (string-append "LIBS+=-lqca-qt5"))))))))
929 (home-page "https://github.com/ayoy/qoauth")
930 (synopsis "Qt-based C++ library for OAuth authorization scheme")
931 (description "QOAuth is an attempt to support interaction with
932 OAuth-powered network services in a Qt way, i.e. simply, clearly and
933 efficiently. It gives the application developer no more than 4 methods.")
934 (license license:lgpl2.1+)))
936 (define-public krona-tools
943 "https://github.com/marbl/Krona/releases/download/v"
944 version "/KronaTools-" version ".tar"))
947 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
948 (build-system perl-build-system)
951 (modify-phases %standard-phases
952 ;; There is no configure or build steps.
955 ;; Install script "install.pl" expects the build directory to remain
956 ;; after installation, creating symlinks etc., so re-implement it
959 (lambda* (#:key outputs #:allow-other-keys)
960 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
961 (perl (string-append (assoc-ref outputs "out")
962 "/lib/perl5/site_perl/krona-tools/lib")))
966 (let* ((executable (string-append "scripts/" script ".pl")))
967 ;; Prefix executables with 'kt' as install script does.
968 (copy-file executable (string-append bin "/kt" script))))
970 "GetContigMagnitudes"
980 "ImportMETAREP-BLAST"
985 "ImportRDPComparison"
991 (copy-recursively directory
992 (string-append perl "/../" directory)))
993 (list "data" "img" "taxonomy" "src"))
994 (install-file "lib/KronaTools.pm" perl))))
995 (add-after 'install 'wrap-program
996 (lambda* (#:key inputs outputs #:allow-other-keys)
997 (let* ((out (assoc-ref outputs "out"))
998 (path (getenv "PERL5LIB")))
1000 (lambda (executable)
1001 (wrap-program executable
1002 `("PERL5LIB" ":" prefix
1003 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
1004 (find-files (string-append out "/bin/") ".*")))))
1006 (add-after 'wrap-program 'check
1007 (lambda* (#:key inputs outputs #:allow-other-keys)
1008 (with-directory-excursion "data"
1009 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
1013 (home-page "https://github.com/marbl/Krona/wiki")
1014 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
1016 "Krona is a flexible tool for exploring the relative proportions of
1017 hierarchical data, such as metagenomic classifications, using a radial,
1018 space-filling display. It is implemented using HTML5 and JavaScript, allowing
1019 charts to be explored locally or served over the Internet, requiring only a
1020 current version of any major web browser.")
1021 (license license:bsd-3)))
1023 (define-public rapidjson
1030 (url "https://github.com/Tencent/rapidjson.git")
1031 (commit (string-append "v" version))))
1032 (file-name (git-file-name name version))
1035 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
1036 (patches (search-patches "rapidjson-gcc-compat.patch"))
1037 (modules '((guix build utils)))
1040 ;; Remove code using the problematic JSON license (see
1041 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
1042 (delete-file-recursively "bin/jsonchecker")
1044 (build-system cmake-build-system)
1046 (if (string-prefix? "aarch64" (or (%current-target-system)
1049 (modify-phases %standard-phases
1050 (add-after 'unpack 'patch-aarch-march-detection
1052 (substitute* (find-files "." "^CMakeLists\\.txt$")
1053 (("native") "armv8-a"))
1055 ;; Disable CPU optimization for reproducibility.
1056 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
1057 (home-page "https://github.com/Tencent/rapidjson")
1058 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
1060 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
1062 (license license:expat)))
1064 (define-public libyajl
1071 (url "https://github.com/lloyd/yajl.git")
1073 (file-name (git-file-name name version))
1076 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
1077 (build-system cmake-build-system)
1080 (modify-phases %standard-phases
1081 (add-after 'patch-source-shebangs 'patch-tests
1083 (substitute* "test/parsing/run_tests.sh"
1084 (("`which echo`") (which "echo")))
1086 (home-page "https://lloyd.github.io/yajl/")
1087 (synopsis "C library for parsing JSON")
1089 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
1090 parser written in ANSI C and a small validating JSON generator.")
1091 (license license:isc)))
1093 (define-public libwebsockets
1095 (name "libwebsockets")
1098 ;; The project does not publish tarballs, so we have to take
1102 (url "https://github.com/warmcat/libwebsockets.git")
1103 (commit (string-append "v" version
1104 "-chrome37-firefox30"))))
1107 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
1108 (file-name (string-append name "-" version))))
1110 (build-system cmake-build-system)
1112 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
1113 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
1116 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
1117 (inputs `(("zlib" ,zlib)
1118 ("openssl" ,openssl)))
1119 (synopsis "WebSockets library written in C")
1121 "Libwebsockets is a library that allows C programs to establish client
1122 and server WebSockets connections---a protocol layered above HTTP that allows
1123 for efficient socket-like bidirectional reliable communication channels.")
1124 (home-page "https://libwebsockets.org")
1126 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
1127 (license license:lgpl2.1)))
1137 (url "https://github.com/WebAssembly/wabt")
1139 (file-name (git-file-name name version))
1141 (base32 "1zlv3740wkqj4mn6sr84h0x6wk2lcp4pwwmqsh5yyqp1j1glbsa0"))))
1142 (build-system cmake-build-system)
1144 `(#:configure-flags '("-DBUILD_TESTS=OFF")
1146 (inputs `(("python" ,python-2)
1148 (home-page "https://github.com/WebAssembly/wabt")
1149 (synopsis "WebAssembly Binary Toolkit")
1150 (description "WABT (pronounced: wabbit) is a suite of tools for
1151 WebAssembly, including:
1154 @item @command{wat2wasm} translates from WebAssembly text format to the
1155 WebAssembly binary format
1156 @item @command{wasm2wat} is the inverse; it translates from the binary format
1157 back to the text format (also known as a .wat)
1158 @item @command{wasm-objdump} prints information about a wasm binary, similarly
1159 to @command{objdump}.
1160 @item @command{wasm-interp} decodes ands run a WebAssembly binary file using a
1161 stack-based interpreter
1162 @item @command{wat-desugar} parses .wat text form as supported by the spec
1163 interpreter (s-expressions, flat syntax, or mixed) and prints the canonical
1165 @item @command{wasm2c} converts a WebAssembly binary file to a C source and
1169 These tools are intended for use in (or for development of) toolchains or
1170 other systems that want to manipulate WebAssembly files.")
1171 (license license:asl2.0)))
1173 (define-public websocketpp
1175 (name "websocketpp")
1181 (url "https://github.com/zaphoyd/websocketpp.git")
1183 (file-name (git-file-name name version))
1185 (base32 "12ffczcrryh74c1xssww35ic6yiy2l2xgdd30lshiq9wnzl2brgy"))
1186 (patches (search-patches "websocketpp-fix-for-boost-1.70.patch"))))
1187 (build-system cmake-build-system)
1188 (inputs `(("boost" ,boost)
1189 ("openssl" ,openssl)))
1190 (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
1192 (modify-phases %standard-phases
1193 (add-after 'install 'remove-tests
1194 (lambda* (#:key outputs #:allow-other-keys)
1195 (let* ((install-dir (assoc-ref outputs "out"))
1196 (bin-dir (string-append install-dir "/bin")))
1197 (delete-file-recursively bin-dir)
1199 (home-page "https://www.zaphoyd.com/websocketpp/")
1200 (synopsis "C++ library implementing the WebSocket protocol")
1201 (description "WebSocket++ is a C++ library that can be used to implement
1202 WebSocket functionality. The goals of the project are to provide a WebSocket
1203 implementation that is simple, portable, flexible, lightweight, low level, and
1205 (license license:bsd-3)))
1207 (define-public wslay
1215 (url "https://github.com/tatsuhiro-t/wslay.git")
1216 (commit (string-append "release-" version))))
1217 (file-name (git-file-name name version))
1219 (base32 "0ak9a6hsanhys40yhv7c2gqkfghpm6jx36j1pnml8ajvgaky5q98"))))
1220 (build-system gnu-build-system)
1222 ;; Parallel builds don't reliably succeed.
1223 `(#:parallel-build? #f))
1225 `(("autoconf" ,autoconf)
1226 ("automake" ,automake)
1227 ("cunit" ,cunit) ; for tests
1228 ("libtool" ,libtool)
1229 ("pkg-config" ,pkg-config)
1230 ("python-sphinx" ,python-sphinx)))
1231 (home-page "https://tatsuhiro-t.github.io/wslay/")
1232 (synopsis "C WebSocket library")
1233 (description "@code{Wslay} is an event-based C library for the WebSocket
1234 protocol version 13, described in RFC 6455. Besides a high-level API it
1235 provides callbacks for sending and receiving frames directly. @code{Wslay}
1236 only supports the data transfer part of WebSocket protocol and does not
1237 perform the opening handshake in HTTP.")
1238 (license license:expat)))
1240 (define-public libpsl
1246 (uri (string-append "https://github.com/rockdaboot/libpsl/"
1247 "releases/download/libpsl-" version
1248 "/libpsl-" version ".tar.gz"))
1251 "04pfagb7ppq3yibx4lhazd1v9nwkxdfkyy2rgcrmrf3mldsirga1"))))
1252 (build-system gnu-build-system)
1254 `(("pkg-config" ,pkg-config)
1257 ("python" ,python-wrapper)))
1259 `(("libidn2" ,libidn2)
1260 ("libunistring" ,libunistring)))
1261 (home-page "https://github.com/rockdaboot/libpsl")
1262 (synopsis "C library for the Publix Suffix List")
1264 "A \"public suffix\" is a domain name under which Internet users can
1265 directly register own names.
1267 Browsers and other web clients can use it to avoid privacy-leaking
1268 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
1269 highlighting parts of the domain in a user interface, and sorting domain lists
1272 Libpsl has built-in PSL data for fast access, allows to load PSL data from
1273 files, checks if a given domain is a public suffix, provides immediate cookie
1274 domain verification, finds the longest public part of a given domain, finds
1275 the shortest private part of a given domain, works with international
1276 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
1278 (license license:x11)))
1283 (version "20091223")
1288 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
1290 (revision "2009-12-23")))
1291 (file-name (string-append name "-" version "-checkout"))
1294 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
1295 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
1296 (build-system gnu-build-system)
1298 '(#:phases (modify-phases %standard-phases
1300 (lambda* (#:key inputs #:allow-other-keys)
1301 ;; configure.in and Makefile.am aren't in the root of the
1303 (copy-recursively "build/gnuauto" ".")
1304 (setenv "AUTOMAKE" "automake --foreign")
1305 (invoke "autoreconf" "-vfi"))))))
1307 `(("automake" ,automake)
1308 ("autoconf" ,autoconf)
1309 ("libtool" ,libtool)))
1310 (synopsis "HTML validator and tidier")
1311 (description "HTML Tidy is a command-line tool and C library that can be
1312 used to validate and fix HTML data.")
1313 (home-page "http://tidy.sourceforge.net/")
1314 (license (license:x11-style "file:///include/tidy.h"))))
1316 (define-public tinyproxy
1322 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1323 "releases/download/" version "/tinyproxy-"
1327 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
1328 (build-system gnu-build-system)
1332 ;; For the log file, etc.
1333 "--localstatedir=/var")
1335 (modify-phases %standard-phases
1336 (add-before 'build 'pre-build
1337 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1338 ;; Uncommenting the next two lines may assist in debugging
1339 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1340 ;; (setenv "XML_DEBUG_CATALOG" "1")
1342 (home-page "https://tinyproxy.github.io/")
1343 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1344 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1345 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1346 solution for use cases such as embedded deployments where a full featured HTTP
1347 proxy is required, but the system resources for a larger proxy are
1349 (license license:gpl2+)))
1351 (define-public polipo
1359 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1363 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1364 (native-inputs `(("texinfo" ,texinfo)))
1365 (build-system gnu-build-system)
1367 `(#:phases (modify-phases %standard-phases
1368 (delete 'configure))
1369 #:make-flags (let ((out (assoc-ref %outputs "out")))
1370 (list (string-append "PREFIX=" out)
1371 (string-append "LOCAL_ROOT="
1372 out "/share/polipo/www")
1374 ;; No 'check' target.
1376 (home-page "https://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1377 (synopsis "Small caching web proxy")
1379 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1380 server). It was primarily designed to be used by one person or a small group
1382 (license license:expat)))
1384 (define-public websockify
1391 (url "https://github.com/novnc/websockify.git")
1392 (commit (string-append "v" version))))
1393 (file-name (git-file-name name version))
1396 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1397 (build-system python-build-system)
1399 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1400 ; named 'stubout'". The tests can be run by replacing the check phase with
1401 ; the command "python setup.py nosetests --verbosity=3".
1402 (native-inputs `(; Required for tests:
1403 ("python-mox3" ,python-mox3)
1404 ("python-nose" ,python-nose)))
1405 (propagated-inputs `(("python-numpy" ,python-numpy)))
1406 (home-page "https://github.com/novnc/websockify")
1407 (synopsis "WebSockets support for any application/server")
1408 (description "Websockify translates WebSockets traffic to normal socket
1409 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1410 begins forwarding traffic between the client and the target in both
1412 (license license:lgpl3)))
1414 (define-public wwwoffle
1420 (uri (string-append "https://www.gedanken.org.uk/software/"
1421 "wwwoffle/download/wwwoffle-"
1425 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1426 (build-system gnu-build-system)
1428 `(#:configure-flags '("--with-gnutls")
1429 #:tests? #f)) ; no test target
1430 (native-inputs `(("flex" ,flex)))
1431 (inputs `(("gnutls" ,gnutls)
1432 ("libcrypt" ,libgcrypt)))
1433 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1434 (synopsis "Caching web proxy optimized for intermittent internet links")
1435 (description "WWWOFFLE is a proxy web server that is especially good for
1436 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1437 protocols, and supports browsing and requesting pages while offline, indexing,
1438 modifying pages and incoming and outgoing headers, monitoring pages for
1439 changes, and much more.")
1440 (license license:gpl2+)))
1442 (define-public liboauth
1448 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1452 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1453 (build-system gnu-build-system)
1454 (arguments '(#:configure-flags '("--enable-nss")))
1455 (native-inputs `(("pkg-config" ,pkg-config)))
1459 (home-page "https://sourceforge.net/projects/liboauth")
1460 (synopsis "C library implementing the OAuth API")
1462 "liboauth is a collection of C functions implementing the OAuth API.
1463 liboauth provides functions to escape and encode strings according to OAuth
1464 specifications and offers high-level functionality built on top to sign
1465 requests or verify signatures using either NSS or OpenSSL for calculating the
1467 ;; Source code may be distributed under either license.
1468 (license (list license:expat license:gpl2+))))
1470 (define-public libyaml
1478 "http://pyyaml.org/download/libyaml/yaml-"
1482 "0a87931cx5m14a1x8rbjix3nz7agrcgndf4h392vm62a4rby9240"))))
1483 (build-system gnu-build-system)
1484 (home-page "http://pyyaml.org/wiki/LibYAML")
1485 (synopsis "YAML 1.1 parser and emitter written in C")
1487 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1488 (license license:expat)))
1490 (define-public libyaml-2.1
1498 "http://pyyaml.org/download/libyaml/yaml-"
1502 "1karpcfgacgppa82wm2drcfn2kb6q2wqfykf5nrhy20sci2i2a3q"))))))
1504 (define-public libquvi-scripts
1506 (name "libquvi-scripts")
1512 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1513 name "/" name "-" version ".tar.xz"))
1515 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1516 (build-system gnu-build-system)
1517 (home-page "http://quvi.sourceforge.net/")
1518 (synopsis "Media stream URL parser")
1519 (description "This package contains support scripts called by libquvi to
1520 parse media stream properties.")
1521 (license license:lgpl2.1+)))
1523 (define-public libquvi
1531 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1532 name "-" version ".tar.xz"))
1534 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1535 (build-system gnu-build-system)
1536 (native-inputs `(("pkg-config" ,pkg-config)))
1539 ("cyrus-sasl" ,cyrus-sasl)
1540 ("libquvi-scripts" ,libquvi-scripts)
1542 ("openssl" ,openssl)
1545 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1547 (let ((lua (assoc-ref %build-inputs "lua")))
1549 (string-append "liblua_CFLAGS=-I" lua "/include")
1550 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1551 (home-page "http://quvi.sourceforge.net/")
1552 (synopsis "Media stream URL parser")
1553 (description "libquvi is a library with a C API for parsing media stream
1554 URLs and extracting their actual media files.")
1555 (license license:lgpl2.1+)))
1565 "mirror://sourceforge/" name "/" (version-major+minor version)
1566 "/" name "/" name "-" version ".tar.xz"))
1568 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1569 (build-system gnu-build-system)
1570 (native-inputs `(("pkg-config" ,pkg-config)))
1573 ("libquvi" ,libquvi)))
1574 (home-page "http://quvi.sourceforge.net/")
1575 (synopsis "Media stream URL parser")
1576 (description "quvi is a command-line-tool suite to extract media files
1577 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1578 (license license:lgpl2.1+)))
1587 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
1588 version ".tar.bz2"))
1590 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1591 (build-system scons-build-system)
1594 ("apr-util" ,apr-util)
1595 ("openssl" ,openssl)))
1597 `(;; TODO: Fix build with gss.
1601 `(#:scons ,scons-python2
1602 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1603 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1604 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1605 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1606 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1607 (string-append "PREFIX=" %output))
1609 (modify-phases %standard-phases
1610 (add-after 'unpack 'scons-propagate-environment
1612 ;; By design, SCons does not, by default, propagate
1613 ;; environment variables to subprocesses. See:
1614 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1615 ;; Here, we modify the SConstruct file to arrange for
1616 ;; environment variables to be propagated.
1617 (substitute* "SConstruct"
1618 (("^env = Environment\\(")
1619 "env = Environment(ENV=os.environ, "))))
1620 (add-before 'check 'disable-broken-tests
1622 ;; These tests rely on SSL certificates that expired 2017-04-18.
1623 ;; While there are newer certs available upstream, we don't want
1624 ;; this package to suddenly "expire" some time in the future.
1625 ;; https://bugs.gnu.org/26671
1627 '("test_ssl_trust_rootca"
1628 "test_ssl_certificate_chain_with_anchor"
1629 "test_ssl_certificate_chain_all_from_server"
1630 "test_ssl_no_servercert_callback_allok"
1631 "test_ssl_large_response"
1632 "test_ssl_large_request"
1633 "test_ssl_client_certificate"
1634 "test_ssl_future_server_cert"
1635 "test_setup_ssltunnel"
1636 "test_ssltunnel_basic_auth"
1637 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1638 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1639 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1640 "test_ssltunnel_digest_auth")))
1643 (substitute* "test/test_context.c"
1644 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1647 (home-page "https://serf.apache.org/")
1648 (synopsis "High-performance asynchronous HTTP client library")
1650 "serf is a C-based HTTP client library built upon the Apache Portable
1651 Runtime (APR) library. It multiplexes connections, running the read/write
1652 communication asynchronously. Memory copies and transformations are kept to a
1653 minimum to provide high performance operation.")
1654 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1655 ;; bundled CuTest framework uses a different non-copyleft license.
1656 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1658 (define-public libsass
1661 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1666 (url "https://github.com/sass/libsass.git")
1668 (file-name (git-file-name name version))
1671 "1vn0q343d1vxz5q0xb6f9dzjah8z6j0s6x0lwvwdd55xa8z7rsnh"))))
1672 (build-system gnu-build-system)
1675 (modify-phases %standard-phases
1676 (add-before 'bootstrap 'set-LIBSASS_VERSION
1678 (setenv "LIBSASS_VERSION" ,version)
1681 `(("autoconf" ,autoconf)
1682 ("automake" ,automake)
1683 ("libtool" ,libtool)))
1684 (home-page "https://sass-lang.com/libsass")
1685 (synopsis "SASS Compiler, implemented as a C/C++ library")
1687 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1688 library designed for portability and efficiency. To actually compile SASS
1689 stylesheets, you'll need to use another program that uses this library,
1690 @var{sassc} for example.")
1691 (license license:expat)))
1693 (define-public sassc
1700 (url "https://github.com/sass/sassc.git")
1702 (file-name (git-file-name name version))
1705 "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv"))))
1706 (build-system gnu-build-system)
1710 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1711 #:tests? #f ; no test suite
1713 (modify-phases %standard-phases
1714 (add-after 'unpack 'patch-Makefile
1716 (substitute* "Makefile"
1717 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1718 "build-shared: $(RESOURCES) $(OBJECTS)")
1719 (("\\$\\(SASSC_EXE\\): libsass build")
1720 "$(SASSC_EXE): build")
1721 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1724 ;; This phase fails for some reason.
1726 ;; There is no configure script.
1728 (add-before 'build 'setup-environment
1730 (setenv "BUILD" "shared")
1731 (setenv "SASSC_VERSION" ,version)
1734 `(("libsass" ,libsass)))
1735 (synopsis "CSS pre-processor")
1736 (description "SassC is a compiler written in C for the CSS pre-processor
1737 language known as SASS.")
1738 (home-page "https://sass-lang.com/libsass")
1739 (license license:expat)))
1741 (define-public sassc/libsass-3.5
1742 ;; Newer libsass versions suffor from a memory leak when building (some?)
1743 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
1757 (url "https://github.com/sass/libsass.git")
1759 (file-name (git-file-name name version))
1762 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
1763 (properties '((hidden? . #t)))))
1766 (define-public perl-apache-logformat-compiler
1768 (name "perl-apache-logformat-compiler")
1773 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1774 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1776 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
1777 (build-system perl-build-system)
1779 `(("perl-http-message" ,perl-http-message)
1780 ("perl-module-build-tiny" ,perl-module-build-tiny)
1781 ("perl-test-mocktime" ,perl-test-mocktime)
1782 ("perl-try-tiny" ,perl-try-tiny)
1783 ("perl-uri" ,perl-uri)))
1785 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1786 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1787 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1788 (synopsis "Compile a log format string to perl-code")
1789 (description "This module provides methods to compile a log format string
1790 to perl-code, for faster generation of access_log lines.")
1791 (license license:perl-license)))
1793 (define-public perl-authen-sasl
1795 (name "perl-authen-sasl")
1800 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1801 "Authen-SASL-" version ".tar.gz"))
1804 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1805 (build-system perl-build-system)
1808 (modify-phases %standard-phases
1809 (add-after 'unpack 'set-env
1810 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1811 ;; versions of perl-authen-sasl.
1812 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1814 `(("perl-digest-hmac" ,perl-digest-hmac)
1815 ("perl-gssapi" ,perl-gssapi)))
1816 (home-page "https://metacpan.org/release/Authen-SASL")
1817 (synopsis "SASL authentication framework")
1818 (description "Authen::SASL provides an SASL authentication framework.")
1819 (license license:perl-license)))
1821 (define-public perl-catalyst-action-renderview
1823 (name "perl-catalyst-action-renderview")
1828 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1829 "Catalyst-Action-RenderView-"
1833 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1834 (build-system perl-build-system)
1836 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1837 ("perl-module-install" ,perl-module-install)))
1839 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1840 ("perl-data-visitor" ,perl-data-visitor)
1841 ("perl-mro-compat" ,perl-mro-compat)))
1842 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
1843 (synopsis "Sensible default Catalyst action")
1844 (description "This Catalyst action implements a sensible default end
1845 action, which will forward to the first available view.")
1846 (license license:perl-license)))
1848 (define-public perl-catalyst-action-rest
1850 (name "perl-catalyst-action-rest")
1854 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1855 "Catalyst-Action-REST-" version ".tar.gz"))
1858 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
1859 (build-system perl-build-system)
1861 `(("perl-test-requires" ,perl-test-requires)
1862 ("perl-module-install" ,perl-module-install)))
1864 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1865 ("perl-class-inspector" ,perl-class-inspector)
1866 ("perl-config-general" ,perl-config-general)
1867 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1868 ("perl-libwww" ,perl-libwww)
1869 ("perl-moose" ,perl-moose)
1870 ("perl-mro-compat" ,perl-mro-compat)
1871 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1872 ("perl-params-validate" ,perl-params-validate)
1873 ("perl-uri-find" ,perl-uri-find)
1874 ("perl-xml-simple" ,perl-xml-simple)))
1875 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
1876 (synopsis "Automated REST Method Dispatching")
1877 (description "This Action handles doing automatic method dispatching for
1878 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1879 append an underscore and method name. First it will try dispatching to an
1880 action with the generated name, and failing that it will try to dispatch to a
1882 (license license:perl-license)))
1884 (define-public perl-catalyst-authentication-store-dbix-class
1886 (name "perl-catalyst-authentication-store-dbix-class")
1891 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1892 "Catalyst-Authentication-Store-DBIx-Class-"
1896 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1897 (build-system perl-build-system)
1899 `(("perl-catalyst-plugin-authorization-roles"
1900 ,perl-catalyst-plugin-authorization-roles)
1901 ("perl-catalyst-plugin-session-state-cookie"
1902 ,perl-catalyst-plugin-session-state-cookie)
1903 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1904 ("perl-module-install" ,perl-module-install)
1905 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1907 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1908 ("perl-catalyst-plugin-authentication"
1909 ,perl-catalyst-plugin-authentication)
1910 ("perl-dbix-class" ,perl-dbix-class)
1911 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1913 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
1914 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1915 (description "The Catalyst::Authentication::Store::DBIx::Class class
1916 provides access to authentication information stored in a database via
1918 (license license:perl-license)))
1920 (define-public perl-catalyst-component-instancepercontext
1922 (name "perl-catalyst-component-instancepercontext")
1923 (version "0.001001")
1927 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1928 "Catalyst-Component-InstancePerContext-"
1932 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1933 (build-system perl-build-system)
1935 `(("perl-module-install" ,perl-module-install)))
1937 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1938 ("perl-moose" ,perl-moose)))
1940 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
1941 (synopsis "Create only one instance of Moose component per context")
1942 (description "Catalyst::Component::InstancePerContext returns a new
1943 instance of a component on each request.")
1944 (license license:perl-license)))
1946 (define-public perl-catalyst-devel
1948 (name "perl-catalyst-devel")
1953 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1954 "Catalyst-Devel-" version ".tar.gz"))
1956 (base32 "1fqnw6cizpxnfr87rpid8w1wpi1p1lxg6imfjpixqn7s055hcpwc"))))
1957 (build-system perl-build-system)
1959 `(("perl-test-fatal" ,perl-test-fatal)))
1961 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1962 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1963 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1964 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1965 ("perl-config-general" ,perl-config-general)
1966 ("perl-file-changenotify" ,perl-file-changenotify)
1967 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1968 ("perl-file-sharedir" ,perl-file-sharedir)
1969 ("perl-module-install" ,perl-module-install)
1970 ("perl-moose" ,perl-moose)
1971 ("perl-moosex-emulate-class-accessor-fast"
1972 ,perl-moosex-emulate-class-accessor-fast)
1973 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1974 ("perl-namespace-clean" ,perl-namespace-clean)
1975 ("perl-path-class" ,perl-path-class)
1976 ("perl-template-toolkit" ,perl-template-toolkit)))
1977 (home-page "https://metacpan.org/release/Catalyst-Devel")
1978 (synopsis "Catalyst Development Tools")
1979 (description "The Catalyst-Devel distribution includes a variety of
1980 modules useful for the development of Catalyst applications, but not required
1981 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1982 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1983 extension for Catalyst; and requirements for a variety of development-related
1985 (license license:perl-license)))
1987 (define-public perl-catalyst-dispatchtype-regex
1989 (name "perl-catalyst-dispatchtype-regex")
1994 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1995 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1998 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1999 (build-system perl-build-system)
2001 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
2002 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2003 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
2005 `(("perl-moose" ,perl-moose)
2006 ("perl-text-simpletable" ,perl-text-simpletable)))
2007 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
2008 (synopsis "Regex DispatchType for Catalyst")
2009 (description "Dispatch type managing path-matching behaviour using
2010 regexes. Regex dispatch types have been deprecated and removed from Catalyst
2011 core. It is recommend that you use Chained methods or other techniques
2012 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
2013 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
2014 when the dispatch type is first seen in your application.")
2015 (license license:perl-license)))
2017 (define-public perl-catalyst-model-dbic-schema
2019 (name "perl-catalyst-model-dbic-schema")
2024 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
2025 "Catalyst-Model-DBIC-Schema-"
2029 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
2030 (build-system perl-build-system)
2032 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
2033 ("perl-module-install" ,perl-module-install)
2034 ("perl-test-exception" ,perl-test-exception)
2035 ("perl-test-requires" ,perl-test-requires)))
2037 `(("perl-carp-clan" ,perl-carp-clan)
2038 ("perl-catalyst-component-instancepercontext"
2039 ,perl-catalyst-component-instancepercontext)
2040 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2041 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
2042 ("perl-dbix-class" ,perl-dbix-class)
2043 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
2044 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
2045 ("perl-hash-merge" ,perl-hash-merge)
2046 ("perl-list-moreutils" ,perl-list-moreutils)
2047 ("perl-module-runtime" ,perl-module-runtime)
2048 ("perl-moose" ,perl-moose)
2049 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
2050 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
2051 ("perl-moosex-types" ,perl-moosex-types)
2052 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
2053 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2054 ("perl-namespace-clean" ,perl-namespace-clean)
2055 ("perl-tie-ixhash" ,perl-tie-ixhash)
2056 ("perl-try-tiny" ,perl-try-tiny)))
2057 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
2058 (synopsis "DBIx::Class::Schema Model Class")
2059 (description "This is a Catalyst Model for DBIx::Class::Schema-based
2061 (license license:perl-license)))
2063 (define-public perl-catalyst-plugin-accesslog
2065 (name "perl-catalyst-plugin-accesslog")
2070 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
2071 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
2074 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
2075 (build-system perl-build-system)
2077 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2078 ("perl-datetime" ,perl-datetime)
2079 ("perl-moose" ,perl-moose)
2080 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2081 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
2082 (synopsis "Request logging from within Catalyst")
2083 (description "This Catalyst plugin enables you to create \"access logs\"
2084 from within a Catalyst application instead of requiring a webserver to do it
2085 for you. It will work even with Catalyst debug logging turned off.")
2086 (license license:perl-license)))
2088 (define-public perl-catalyst-plugin-authentication
2090 (name "perl-catalyst-plugin-authentication")
2095 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2096 "Catalyst-Plugin-Authentication-"
2100 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
2101 (build-system perl-build-system)
2103 `(("perl-module-install" ,perl-module-install)))
2105 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2106 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2107 ("perl-class-inspector" ,perl-class-inspector)
2108 ("perl-moose" ,perl-moose)
2109 ("perl-moosex-emulate-class-accessor-fast"
2110 ,perl-moosex-emulate-class-accessor-fast)
2111 ("perl-mro-compat" ,perl-mro-compat)
2112 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2113 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2114 ("perl-test-exception" ,perl-test-exception)
2115 ("perl-try-tiny" ,perl-try-tiny)))
2116 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
2117 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
2118 (description "The authentication plugin provides generic user support for
2119 Catalyst apps. It is the basis for both authentication (checking the user is
2120 who they claim to be), and authorization (allowing the user to do what the
2121 system authorises them to do).")
2122 (license license:perl-license)))
2124 (define-public perl-catalyst-plugin-authorization-roles
2126 (name "perl-catalyst-plugin-authorization-roles")
2131 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2132 "Catalyst-Plugin-Authorization-Roles-"
2136 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
2137 (build-system perl-build-system)
2139 `(("perl-module-install" ,perl-module-install)
2140 ("perl-test-exception" ,perl-test-exception)))
2142 `(("perl-catalyst-plugin-authentication"
2143 ,perl-catalyst-plugin-authentication)
2144 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2145 ("perl-set-object" ,perl-set-object)
2146 ("perl-universal-isa" ,perl-universal-isa)))
2148 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2149 (synopsis "Role-based authorization for Catalyst")
2150 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2151 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2152 (license license:perl-license)))
2154 (define-public perl-catalyst-plugin-captcha
2156 (name "perl-catalyst-plugin-captcha")
2161 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2162 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2165 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2166 (build-system perl-build-system)
2168 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2169 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2170 ("perl-gd-securityimage" ,perl-gd-securityimage)
2171 ("perl-http-date" ,perl-http-date)))
2172 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2173 (synopsis "Captchas for Catalyst")
2174 (description "This plugin creates and validates Captcha images for
2176 (license license:perl-license)))
2178 (define-public perl-catalyst-plugin-configloader
2180 (name "perl-catalyst-plugin-configloader")
2185 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2186 "Catalyst-Plugin-ConfigLoader-"
2190 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
2191 (build-system perl-build-system)
2193 `(("perl-path-class" ,perl-path-class)
2194 ("perl-module-install" ,perl-module-install)))
2196 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2197 ("perl-config-any" ,perl-config-any)
2198 ("perl-data-visitor" ,perl-data-visitor)
2199 ("perl-mro-compat" ,perl-mro-compat)))
2200 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2201 (synopsis "Load config files of various types")
2202 (description "This module will attempt to load find and load configuration
2203 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2205 (license license:perl-license)))
2207 (define-public perl-catalyst-plugin-session
2209 (name "perl-catalyst-plugin-session")
2214 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2215 "Catalyst-Plugin-Session-" version ".tar.gz"))
2217 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2218 (build-system perl-build-system)
2220 `(("perl-module-install" ,perl-module-install)
2221 ("perl-test-deep" ,perl-test-deep)
2222 ("perl-test-exception" ,perl-test-exception)))
2224 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2225 ("perl-moose" ,perl-moose)
2226 ("perl-moosex-emulate-class-accessor-fast"
2227 ,perl-moosex-emulate-class-accessor-fast)
2228 ("perl-mro-compat" ,perl-mro-compat)
2229 ("perl-namespace-clean" ,perl-namespace-clean)
2230 ("perl-object-signature" ,perl-object-signature)
2231 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2232 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2233 (synopsis "Catalyst generic session plugin")
2234 (description "This plugin links the two pieces required for session
2235 management in web applications together: the state, and the store.")
2236 (license license:perl-license)))
2238 (define-public perl-catalyst-plugin-session-state-cookie
2240 (name "perl-catalyst-plugin-session-state-cookie")
2245 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2246 "Catalyst-Plugin-Session-State-Cookie-"
2250 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2251 (build-system perl-build-system)
2253 `(("perl-module-install" ,perl-module-install)))
2255 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2256 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2257 ("perl-moose" ,perl-moose)
2258 ("perl-mro-compat" ,perl-mro-compat)
2259 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2261 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2262 (synopsis "Maintain session IDs using cookies")
2263 (description "In order for Catalyst::Plugin::Session to work, the session
2264 ID needs to be stored on the client, and the session data needs to be stored
2265 on the server. This plugin stores the session ID on the client using the
2267 (license license:perl-license)))
2269 (define-public perl-catalyst-plugin-session-store-fastmmap
2271 (name "perl-catalyst-plugin-session-store-fastmmap")
2276 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2277 "Catalyst-Plugin-Session-Store-FastMmap-"
2281 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2282 (build-system perl-build-system)
2284 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2285 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2286 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2287 ("perl-moosex-emulate-class-accessor-fast"
2288 ,perl-moosex-emulate-class-accessor-fast)
2289 ("perl-mro-compat" ,perl-mro-compat)
2290 ("perl-path-class" ,perl-path-class)))
2292 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2293 (synopsis "FastMmap session storage backend")
2294 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2295 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2296 memory interprocess cache. It is based on Cache::FastMmap.")
2297 (license license:perl-license)))
2299 (define-public perl-catalyst-plugin-stacktrace
2301 (name "perl-catalyst-plugin-stacktrace")
2306 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2307 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2310 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2311 (build-system perl-build-system)
2313 `(("perl-module-install" ,perl-module-install)))
2315 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2316 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2317 ("perl-mro-compat" ,perl-mro-compat)))
2318 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2319 (synopsis "Stack trace on the Catalyst debug screen")
2320 (description "This plugin enhances the standard Catalyst debug screen by
2321 including a stack trace of your application up to the point where the error
2322 occurred. Each stack frame is displayed along with the package name, line
2323 number, file name, and code context surrounding the line number.")
2324 (license license:perl-license)))
2326 (define-public perl-catalyst-plugin-static-simple
2328 (name "perl-catalyst-plugin-static-simple")
2333 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2334 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2337 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2338 (build-system perl-build-system)
2340 `(("perl-module-install" ,perl-module-install)))
2342 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2343 ("perl-mime-types" ,perl-mime-types)
2344 ("perl-moose" ,perl-moose)
2345 ("perl-moosex-types" ,perl-moosex-types)
2346 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2347 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2348 (synopsis "Simple serving of static pages")
2349 (description "The Static::Simple plugin is designed to make serving static
2350 content in your application during development quick and easy, without
2351 requiring a single line of code from you. This plugin detects static files by
2352 looking at the file extension in the URL (such as .css or .png or .js). The
2353 plugin uses the lightweight MIME::Types module to map file extensions to
2354 IANA-registered MIME types, and will serve your static files with the correct
2355 MIME type directly to the browser, without being processed through Catalyst.")
2356 (license license:perl-license)))
2358 (define-public perl-catalyst-runtime
2360 (name "perl-catalyst-runtime")
2365 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2366 "Catalyst-Runtime-" version ".tar.gz"))
2369 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2370 (build-system perl-build-system)
2372 `(("perl-test-fatal" ,perl-test-fatal)))
2374 `(("perl-cgi-simple" ,perl-cgi-simple)
2375 ("perl-cgi-struct" ,perl-cgi-struct)
2376 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2377 ("perl-class-date" ,perl-class-date)
2378 ("perl-class-load" ,perl-class-load)
2379 ("perl-data-dump" ,perl-data-dump)
2380 ("perl-http-body" ,perl-http-body)
2381 ("perl-http-message" ,perl-http-message)
2382 ("perl-json-maybexs" ,perl-json-maybexs)
2383 ("perl-libwww" ,perl-libwww)
2384 ("perl-module-pluggable" ,perl-module-pluggable)
2385 ("perl-moose" ,perl-moose)
2386 ("perl-moosex-emulate-class-accessor-fast"
2387 ,perl-moosex-emulate-class-accessor-fast)
2388 ("perl-moosex-getopt" ,perl-moosex-getopt)
2389 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2390 ("perl-namespace-clean" ,perl-namespace-clean)
2391 ("perl-path-class" ,perl-path-class)
2392 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2393 ("perl-plack" ,perl-plack)
2394 ("perl-plack-middleware-fixmissingbodyinredirect"
2395 ,perl-plack-middleware-fixmissingbodyinredirect)
2396 ("perl-plack-middleware-methodoverride"
2397 ,perl-plack-middleware-methodoverride)
2398 ("perl-plack-middleware-removeredundantbody"
2399 ,perl-plack-middleware-removeredundantbody)
2400 ("perl-plack-middleware-reverseproxy"
2401 ,perl-plack-middleware-reverseproxy)
2402 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2403 ("perl-safe-isa" ,perl-safe-isa)
2404 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2405 ("perl-text-simpletable" ,perl-text-simpletable)
2406 ("perl-tree-simple" ,perl-tree-simple)
2407 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2408 ("perl-try-tiny" ,perl-try-tiny)
2409 ("perl-uri" ,perl-uri)
2410 ("perl-uri-ws" ,perl-uri-ws)))
2411 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2412 (synopsis "The Catalyst Framework Runtime")
2413 (description "Catalyst is a modern framework for making web applications.
2414 It is designed to make it easy to manage the various tasks you need to do to
2415 run an application on the web, either by doing them itself, or by letting you
2416 \"plug in\" existing Perl modules that do what you need.")
2417 (license license:perl-license)))
2419 (define-public perl-catalyst-traitfor-request-proxybase
2421 (name "perl-catalyst-traitfor-request-proxybase")
2422 (version "0.000005")
2426 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2427 "Catalyst-TraitFor-Request-ProxyBase-"
2431 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2432 (build-system perl-build-system)
2434 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2435 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2436 ("perl-http-message" ,perl-http-message)
2437 ("perl-module-install" ,perl-module-install)))
2439 `(("perl-moose" ,perl-moose)
2440 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2441 ("perl-uri" ,perl-uri)))
2443 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2444 (synopsis "Replace request base with value passed by HTTP proxy")
2445 (description "This module is a Moose::Role which allows you more
2446 flexibility in your application's deployment configurations when deployed
2447 behind a proxy. Using this module, the request base ($c->req->base) is
2448 replaced with the contents of the X-Request-Base header.")
2449 (license license:perl-license)))
2451 (define-public perl-catalyst-view-download
2453 (name "perl-catalyst-view-download")
2458 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2459 "Catalyst-View-Download-" version ".tar.gz"))
2462 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2463 (build-system perl-build-system)
2465 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2466 ("perl-module-install" ,perl-module-install)
2467 ("perl-test-simple" ,perl-test-simple)
2468 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2469 ("perl-text-csv" ,perl-text-csv)
2470 ("perl-xml-simple" ,perl-xml-simple)))
2471 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2472 (synopsis "Download data in many formats")
2473 (description "The purpose of this module is to provide a method for
2474 downloading data into many supportable formats. For example, downloading a
2475 table based report in a variety of formats (CSV, HTML, etc.).")
2476 (license license:perl-license)))
2478 (define-public perl-catalyst-view-json
2480 (name "perl-catalyst-view-json")
2485 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2486 "Catalyst-View-JSON-" version ".tar.gz"))
2489 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2490 (build-system perl-build-system)
2492 `(("perl-module-install" ,perl-module-install)
2493 ("perl-yaml" ,perl-yaml)))
2495 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2496 ("perl-json-maybexs" ,perl-json-maybexs)
2497 ("perl-mro-compat" ,perl-mro-compat)))
2498 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2499 (synopsis "Catalyst JSON view")
2500 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2501 stash data in JSON format.")
2502 (license license:perl-license)))
2504 (define-public perl-catalyst-view-tt
2506 (name "perl-catalyst-view-tt")
2511 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2512 "Catalyst-View-TT-" version ".tar.gz"))
2515 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2516 (build-system perl-build-system)
2518 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2519 ("perl-class-accessor" ,perl-class-accessor)
2520 ("perl-data-dump" ,perl-data-dump)
2521 ("perl-mro-compat" ,perl-mro-compat)
2522 ("perl-path-class" ,perl-path-class)
2523 ("perl-template-timer" ,perl-template-timer)
2524 ("perl-template-toolkit" ,perl-template-toolkit)))
2525 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2526 (synopsis "Template View Class")
2527 (description "This module is a Catalyst view class for the Template
2529 (license license:perl-license)))
2531 (define-public perl-catalystx-component-traits
2533 (name "perl-catalystx-component-traits")
2538 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2539 "CatalystX-Component-Traits-" version ".tar.gz"))
2542 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2543 (build-system perl-build-system)
2545 `(("perl-moose" ,perl-moose)
2546 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2547 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2549 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2550 ("perl-class-load" ,perl-class-load)
2551 ("perl-moose" ,perl-moose)
2552 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2553 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2554 ("perl-list-moreutils" ,perl-list-moreutils)))
2555 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2556 (synopsis "Trait Loading and Resolution for Catalyst Components")
2557 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2558 Catalyst component base class that reads the optional \"traits\" parameter
2559 from app and component config and instantiates the component subclass with
2560 those traits using \"new_with_traits\" in MooseX::Traits from
2561 MooseX::Traits::Pluggable.")
2562 (license license:perl-license)))
2564 (define-public perl-catalystx-roleapplicator
2566 (name "perl-catalystx-roleapplicator")
2571 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2572 "CatalystX-RoleApplicator-" version ".tar.gz"))
2575 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2576 (build-system perl-build-system)
2578 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2579 ("perl-moose" ,perl-moose)
2580 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2581 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2582 (synopsis "Apply roles to Catalyst classes")
2583 (description "CatalystX::RoleApplicator applies roles to Catalyst
2584 application classes.")
2585 (license license:perl-license)))
2587 (define-public perl-catalystx-script-server-starman
2589 (name "perl-catalystx-script-server-starman")
2594 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2595 "CatalystX-Script-Server-Starman-"
2599 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2600 (build-system perl-build-system)
2602 `(("perl-module-install" ,perl-module-install)
2603 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2605 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2606 ("perl-moose" ,perl-moose)
2607 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2608 ("starman" ,starman)))
2609 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2610 (synopsis "Catalyst development server with Starman")
2611 (description "This module provides a Catalyst extension to replace the
2612 development server with Starman.")
2613 (license license:perl-license)))
2615 (define-public perl-cgi
2622 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2623 "CGI-" version ".tar.gz"))
2626 "16225vmdsfa2y7i1ydv7634nd0qxxb0ccwnfszjq58rwqgfri2bq"))))
2627 (build-system perl-build-system)
2629 `(("perl-test-deep" ,perl-test-deep)
2630 ("perl-test-nowarnings" ,perl-test-nowarnings)
2631 ("perl-test-warn" ,perl-test-warn)))
2633 `(("perl-html-parser" ,perl-html-parser)))
2634 (home-page "https://metacpan.org/release/CGI")
2635 (synopsis "Handle Common Gateway Interface requests and responses")
2636 (description "CGI.pm is a stable, complete and mature solution for
2637 processing and preparing HTTP requests and responses. Major features include
2638 processing form submissions, file uploads, reading and writing cookies, query
2639 string generation and manipulation, and processing and preparing HTTP
2641 (license license:perl-license)))
2643 (define-public perl-cgi-formbuilder
2645 (name "perl-cgi-formbuilder")
2651 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2652 "CGI-FormBuilder-" version ".tar.gz"))
2655 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2656 (build-system perl-build-system)
2657 (inputs `(("perl-cgi" ,perl-cgi)))
2659 "https://metacpan.org/release/CGI-FormBuilder")
2661 "Generate and process stateful forms")
2663 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2664 form-based applications.")
2665 (license license:perl-license)))
2667 (define-public perl-cgi-session
2669 (name "perl-cgi-session")
2675 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2680 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2681 (build-system perl-build-system)
2683 `(("perl-module-build" ,perl-module-build)))
2684 (inputs `(("perl-cgi" ,perl-cgi)))
2686 "https://metacpan.org/release/CGI-Session")
2688 "Persistent session data in CGI applications")
2690 "@code{CGI::Session} provides modular session management system across
2692 (license license:perl-license)))
2694 (define-public perl-cgi-simple
2696 (name "perl-cgi-simple")
2701 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2702 "CGI-Simple-" version ".tar.gz"))
2704 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
2705 (build-system perl-build-system)
2707 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2708 ("perl-module-build" ,perl-module-build)
2709 ("perl-test-exception" ,perl-test-exception)
2710 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2711 (home-page "https://metacpan.org/release/CGI-Simple")
2712 (synopsis "CGI interface that is CGI.pm compliant")
2713 (description "CGI::Simple provides a relatively lightweight drop in
2714 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2715 parameter parsing, file upload, cookie handling and header generation.")
2716 (license license:perl-license)))
2718 (define-public perl-cgi-struct
2720 (name "perl-cgi-struct")
2725 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2726 "CGI-Struct-" version ".tar.gz"))
2729 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2730 (build-system perl-build-system)
2732 `(("perl-test-deep" ,perl-test-deep)))
2733 (home-page "https://metacpan.org/release/CGI-Struct")
2734 (synopsis "Build structures from CGI data")
2735 (description "This is a module for building structured data from CGI
2736 inputs, in a manner reminiscent of how PHP does.")
2737 (license license:bsd-2)))
2739 (define-public perl-datetime-format-http
2741 (name "perl-datetime-format-http")
2746 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2747 "DateTime-Format-HTTP-" version ".tar.gz"))
2750 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2751 (build-system perl-build-system)
2753 `(("perl-module-build" ,perl-module-build)))
2755 `(("perl-datetime" ,perl-datetime)
2756 ("perl-http-date" ,perl-http-date)))
2757 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2758 (synopsis "Date conversion routines")
2759 (description "This module provides functions that deal with the date
2760 formats used by the HTTP protocol.")
2761 (license license:perl-license)))
2763 (define-public perl-digest-md5-file
2765 (name "perl-digest-md5-file")
2770 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2771 "Digest-MD5-File-" version ".tar.gz"))
2774 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2775 (build-system perl-build-system)
2777 `(("perl-libwww" ,perl-libwww)))
2778 (home-page "https://metacpan.org/release/Digest-MD5-File")
2779 (synopsis "MD5 sums for files and urls")
2780 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2781 for files and urls.")
2782 (license license:perl-license)))
2784 (define-public perl-encode-locale
2786 (name "perl-encode-locale")
2791 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2795 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2796 (build-system perl-build-system)
2797 (license license:perl-license)
2798 (synopsis "Perl locale encoding determination")
2800 "The POSIX locale system is used to specify both the language
2801 conventions requested by the user and the preferred character set to
2802 consume and output. The Encode::Locale module looks up the charset and
2803 encoding (called a CODESET in the locale jargon) and arranges for the
2804 Encode module to know this encoding under the name \"locale\". It means
2805 bytes obtained from the environment can be converted to Unicode strings
2806 by calling Encode::encode(locale => $bytes) and converted back again
2807 with Encode::decode(locale => $string).")
2808 (home-page "https://metacpan.org/release/Encode-Locale")))
2810 (define-public perl-feed-find
2812 (name "perl-feed-find")
2816 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2817 "Feed-Find-" version ".tar.gz"))
2820 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2821 (build-system perl-build-system)
2823 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2826 (modify-phases %standard-phases
2827 (add-after 'unpack 'set-env
2828 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2830 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2831 ("perl-html-parser" ,perl-html-parser)
2832 ("perl-libwww" ,perl-libwww)
2833 ("perl-uri" ,perl-uri)))
2834 (home-page "https://metacpan.org/release/Feed-Find")
2835 (synopsis "Syndication feed auto-discovery")
2836 (description "@code{Feed::Find} implements feed auto-discovery for finding
2837 syndication feeds, given a URI. It will discover the following feed formats:
2838 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2839 (license license:perl-license)))
2841 (define-public perl-file-listing
2843 (name "perl-file-listing")
2848 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2852 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2853 (build-system perl-build-system)
2855 `(("perl-http-date" ,perl-http-date)))
2856 (license license:perl-license)
2857 (synopsis "Perl directory listing parser")
2859 "The File::Listing module exports a single function called parse_dir(),
2860 which can be used to parse directory listings.")
2861 (home-page "https://metacpan.org/release/File-Listing")))
2863 (define-public perl-finance-quote
2865 (name "perl-finance-quote")
2870 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2871 "Finance-Quote-" version ".tar.gz"))
2873 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
2874 (patches (search-patches
2875 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2876 (build-system perl-build-system)
2878 `(("perl-cgi" ,perl-cgi)
2879 ("perl-datetime" ,perl-datetime)
2880 ("perl-html-parser" ,perl-html-parser)
2881 ("perl-html-tableextract" ,perl-html-tableextract)
2882 ("perl-html-tree" ,perl-html-tree)
2883 ("perl-http-cookies" ,perl-http-cookies)
2884 ("perl-http-message" ,perl-http-message)
2885 ("perl-json" ,perl-json)
2886 ("perl-libwww" ,perl-libwww)
2887 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2888 ("perl-uri" ,perl-uri)))
2889 (home-page "https://metacpan.org/release/Finance-Quote")
2890 (synopsis "Stock and mutual fund quotes")
2892 "Finance::Quote gets stock quotes from various internet sources, including
2893 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2894 (license license:gpl2)))
2896 (define-public perl-gssapi
2898 (name "perl-gssapi")
2903 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2904 "GSSAPI-" version ".tar.gz"))
2907 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2908 (build-system perl-build-system)
2909 (inputs `(("gssapi" ,mit-krb5)))
2911 `(#:make-maker-flags
2912 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2913 (home-page "https://metacpan.org/release/GSSAPI")
2914 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2915 (description "This is a Perl extension for using GSSAPI C bindings as
2916 described in RFC 2744.")
2917 (license license:perl-license)))
2919 (define-public perl-html-element-extended
2921 (name "perl-html-element-extended")
2926 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2927 "HTML-Element-Extended-" version ".tar.gz"))
2930 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2931 (build-system perl-build-system)
2933 `(("perl-html-tree" ,perl-html-tree)))
2934 (home-page "https://metacpan.org/release/HTML-Element-Extended")
2935 (synopsis "Manipulate tables of HTML::Element")
2937 "HTML::Element::Extended is a Perl extension for manipulating a table
2938 composed of HTML::Element style components.")
2939 (license license:perl-license)))
2941 (define-public perl-html-form
2943 (name "perl-html-form")
2948 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
2949 "HTML-Form-" version ".tar.gz"))
2951 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
2952 (build-system perl-build-system)
2954 `(("perl-html-parser" ,perl-html-parser)
2955 ("perl-html-tagset" ,perl-html-tagset)
2956 ("perl-http-message" ,perl-http-message)
2957 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2958 ("perl-uri" ,perl-uri)))
2959 (home-page "https://metacpan.org/release/HTML-Form")
2960 (synopsis "Perl class representing an HTML form element")
2961 (description "Objects of the HTML::Form class represents a single HTML
2962 <form> ... </form> instance.")
2963 (license license:perl-license)))
2965 (define-public perl-html-scrubber
2967 (name "perl-html-scrubber")
2973 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2978 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
2979 (build-system perl-build-system)
2981 `(("perl-module-build" ,perl-module-build)
2982 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2983 ("perl-test-differences" ,perl-test-differences)
2984 ("perl-test-eol" ,perl-test-eol)
2985 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2986 ("perl-test-notabs" ,perl-test-notabs)))
2988 `(("perl-html-parser" ,perl-html-parser)))
2990 "https://metacpan.org/release/HTML-Scrubber")
2992 "Perl extension for scrubbing/sanitizing html")
2994 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2995 (license license:perl-license)))
2997 (define-public perl-html-lint
2999 (name "perl-html-lint")
3004 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3005 "HTML-Lint-" version ".tar.gz"))
3007 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
3008 (build-system perl-build-system)
3010 `(("perl-html-parser" ,perl-html-parser)
3011 ("perl-html-tagset" ,perl-html-tagset)
3012 ("perl-libwww" ,perl-libwww)))
3013 (home-page "https://metacpan.org/release/HTML-Lint")
3014 (synopsis "Check for HTML errors in a string or file")
3015 (description "HTML::Lint is a pure-Perl HTML parser and checker for
3016 syntactic legitmacy.")
3017 (license license:artistic2.0)))
3019 (define-public perl-html-tableextract
3021 (name "perl-html-tableextract")
3026 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
3027 "HTML-TableExtract-" version ".tar.gz"))
3030 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
3031 (build-system perl-build-system)
3033 `(("perl-html-element-extended" ,perl-html-element-extended)
3034 ("perl-html-parser" ,perl-html-parser)))
3035 (home-page "https://metacpan.org/release/HTML-TableExtract")
3036 (synopsis "Extract contents from HTML tables")
3038 "HTML::TableExtract is a Perl module for extracting the content contained
3039 in tables within an HTML document, either as text or encoded element trees.")
3040 (license license:perl-license)))
3042 (define-public perl-html-tree
3044 (name "perl-html-tree")
3049 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
3050 "HTML-Tree-" version ".tar.gz"))
3053 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
3054 (build-system perl-build-system)
3056 `(("perl-module-build" ,perl-module-build)
3057 ("perl-test-fatal" ,perl-test-fatal)))
3059 `(("perl-html-parser" ,perl-html-parser)
3060 ("perl-html-tagset" ,perl-html-tagset)
3061 ("perl-libwww" ,perl-libwww)))
3062 (home-page "https://metacpan.org/release/HTML-Tree")
3063 (synopsis "Work with HTML in a DOM-like tree structure")
3064 (description "This distribution contains a suite of modules for
3065 representing, creating, and extracting information from HTML syntax trees.")
3066 (license license:perl-license)))
3068 (define-public perl-html-parser
3070 (name "perl-html-parser")
3075 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
3079 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
3080 (build-system perl-build-system)
3082 `(("perl-html-tagset" ,perl-html-tagset)
3083 ("perl-http-message" ,perl-http-message)))
3084 (license license:perl-license)
3085 (synopsis "Perl HTML parser class")
3087 "Objects of the HTML::Parser class will recognize markup and separate
3088 it from plain text (alias data content) in HTML documents. As different
3089 kinds of markup and text are recognized, the corresponding event handlers
3091 (home-page "https://metacpan.org/release/HTML-Parser")))
3093 (define-public perl-html-tagset
3095 (name "perl-html-tagset")
3100 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
3104 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
3105 (build-system perl-build-system)
3106 (license license:perl-license)
3107 (synopsis "Perl data tables useful in parsing HTML")
3109 "The HTML::Tagset module contains several data tables useful in various
3110 kinds of HTML parsing operations.")
3111 (home-page "https://metacpan.org/release/HTML-Tagset")))
3113 (define-public perl-html-template
3115 (name "perl-html-template")
3119 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
3120 "HTML-Template-" version ".tar.gz"))
3123 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
3124 (build-system perl-build-system)
3126 `(("perl-cgi" ,perl-cgi)))
3127 (home-page "https://metacpan.org/release/HTML-Template")
3128 (synopsis "HTML-like templates")
3130 "This module attempts to make using HTML templates simple and natural.
3131 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
3132 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
3133 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
3134 these new tags is called a template. Using this module you fill in the values
3135 for the variables, loops and branches declared in the template. This allows
3136 you to separate design from the data.")
3137 (license license:perl-license)))
3139 (define-public perl-http-body
3141 (name "perl-http-body")
3146 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3147 "HTTP-Body-" version ".tar.gz"))
3150 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3151 (build-system perl-build-system)
3153 `(("perl-test-deep" ,perl-test-deep)))
3155 `(("perl-file-temp" ,perl-file-temp)
3156 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3157 (home-page "https://metacpan.org/release/HTTP-Body")
3158 (synopsis "HTTP Body Parser")
3159 (description "HTTP::Body parses chunks of HTTP POST data and supports
3160 application/octet-stream, application/json, application/x-www-form-urlencoded,
3161 and multipart/form-data.")
3162 (license license:perl-license)))
3164 (define-public perl-http-cookiejar
3166 (name "perl-http-cookiejar")
3171 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3172 "HTTP-CookieJar-" version ".tar.gz"))
3175 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
3176 (build-system perl-build-system)
3178 `(("perl-test-deep" ,perl-test-deep)
3179 ("perl-test-requires" ,perl-test-requires)
3180 ("perl-time-mock" ,perl-time-mock)
3181 ("perl-uri" ,perl-uri)))
3183 `(("perl-time-local" ,perl-time-local)
3184 ("perl-http-date" ,perl-http-date)))
3185 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3186 (synopsis "Minimalist HTTP user agent cookie jar")
3187 (description "This module implements a minimalist HTTP user agent cookie
3188 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3189 (license license:asl2.0)))
3191 (define-public perl-http-cookies
3193 (name "perl-http-cookies")
3198 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3202 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3203 (build-system perl-build-system)
3205 `(("perl-http-message" ,perl-http-message)))
3206 (license license:perl-license)
3207 (synopsis "Perl HTTP cookie jars")
3209 "The HTTP::Cookies class is for objects that represent a cookie jar,
3210 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3211 object knows about.")
3212 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3214 (define-public perl-http-daemon
3216 (name "perl-http-daemon")
3221 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3225 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3226 (build-system perl-build-system)
3228 `(("perl-http-message" ,perl-http-message)
3229 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3230 (license license:perl-license)
3231 (synopsis "Perl simple http server class")
3233 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3234 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3235 IO::Socket::INET, so you can perform socket operations directly on it too.")
3236 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3238 (define-public perl-http-date
3240 (name "perl-http-date")
3245 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Date-"
3249 "0awjdbz7x0jd5pna55dwxhs3k6xp3sw6b2zg3p2yndxxvya64p9n"))))
3250 (build-system perl-build-system)
3251 (license license:perl-license)
3252 (synopsis "Perl date conversion routines")
3254 "The HTTP::Date module provides functions that deal with date formats
3255 used by the HTTP protocol (and then some more).")
3256 (home-page "https://metacpan.org/release/HTTP-Date")))
3258 (define-public perl-http-lite
3260 (name "perl-http-lite")
3266 "mirror://cpan/authors/id/N/NE/NEILB/HTTP-Lite-"
3270 "0z77nflj8zdcfg70kc93glq5kmd6qxn2nf7h70x4xhfg25wkvr1q"))))
3271 (build-system perl-build-system)
3272 (native-inputs `(("perl-cgi" ,perl-cgi)))
3273 (home-page "https://metacpan.org/release/HTTP-Lite")
3274 (synopsis "Lightweight HTTP implementation")
3275 (description "@code{HTTP::Lite} is a stand-alone lightweight
3276 HTTP/1.1 implementation for perl. It is intended for use in
3277 situations where it is desirable to install the minimal number of
3278 modules to achieve HTTP support. @code{HTTP::Lite} is ideal for
3279 CGI (or mod_perl) programs or for bundling for redistribution with
3280 larger packages where only HTTP GET and POST functionality are
3281 necessary. @code{HTTP::Lite} is compliant with the Host header,
3282 necessary for name based virtual hosting, and supports proxies.
3283 Additionally, @code{HTTP::Lite} supports a callback to allow
3284 processing of request data as it arrives.")
3285 (license license:perl-license)))
3287 (define-public perl-http-message
3289 (name "perl-http-message")
3294 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3298 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3299 (build-system perl-build-system)
3301 `(("perl-try-tiny" ,perl-try-tiny)))
3303 `(("perl-encode-locale" ,perl-encode-locale)
3304 ("perl-http-date" ,perl-http-date)
3305 ("perl-io-html" ,perl-io-html)
3306 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3307 ("perl-uri" ,perl-uri)))
3308 (license license:perl-license)
3309 (synopsis "Perl HTTP style message")
3311 "An HTTP::Message object contains some headers and a content body.")
3312 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3314 (define-public perl-http-negotiate
3316 (name "perl-http-negotiate")
3321 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3325 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3326 (build-system perl-build-system)
3328 `(("perl-http-message" ,perl-http-message)))
3329 (license license:perl-license)
3330 (synopsis "Perl http content negotiation")
3332 "The HTTP::Negotiate module provides a complete implementation of the
3333 HTTP content negotiation algorithm specified in
3334 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3335 the selection of a preferred content representation based upon attributes
3336 of the negotiable variants and the value of the various Accept* header
3337 fields in the request.")
3338 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3340 (define-public perl-http-parser
3342 (name "perl-http-parser")
3347 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3348 "HTTP-Parser-" version ".tar.gz"))
3351 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3352 (build-system perl-build-system)
3354 `(("perl-http-message" ,perl-http-message)
3355 ("perl-uri" ,perl-uri)))
3356 (home-page "https://metacpan.org/release/HTTP-Parser")
3357 (synopsis "Parse HTTP/1.1 requests")
3358 (description "This is an HTTP request parser. It takes chunks of text as
3359 received and returns a @code{hint} as to what is required, or returns the
3360 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3362 (license license:perl-license)))
3364 (define-public perl-http-parser-xs
3366 (name "perl-http-parser-xs")
3371 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3372 "HTTP-Parser-XS-" version ".tar.gz"))
3375 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3376 (build-system perl-build-system)
3378 `(("perl-module-install" ,perl-module-install)))
3379 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3380 (synopsis "Fast HTTP request parser")
3381 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3383 (license license:perl-license)))
3385 (define-public perl-http-request-ascgi
3387 (name "perl-http-request-ascgi")
3392 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3393 "HTTP-Request-AsCGI-" version ".tar.gz"))
3396 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3397 (build-system perl-build-system)
3399 `(("perl-class-accessor" ,perl-class-accessor)
3400 ("perl-http-message" ,perl-http-message)))
3401 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3402 (synopsis "Set up a CGI environment from an HTTP::Request")
3403 (description "This module provides a convenient way to set up a CGI
3404 environment from an HTTP::Request.")
3405 (license license:perl-license)))
3407 (define-public perl-http-server-simple
3409 (name "perl-http-server-simple")
3414 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3415 "HTTP-Server-Simple-" version ".tar.gz"))
3418 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3419 (build-system perl-build-system)
3421 `(("perl-cgi" ,perl-cgi)))
3423 ;; See the discussion of a related tests issue at
3424 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3427 #:phases (modify-phases %standard-phases
3428 (add-before 'configure 'set-search-path
3430 ;; Work around "dotless @INC" build failure.
3432 (string-append (getcwd) ":"
3433 (getenv "PERL5LIB")))
3435 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3436 (synopsis "Lightweight HTTP server")
3437 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3438 no non-core module dependencies. It can be used for building a standalone
3439 http-based UI to your existing tools.")
3440 (license license:perl-license)))
3442 (define-public perl-http-tiny
3444 (name "perl-http-tiny")
3449 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3450 "HTTP-Tiny-" version ".tar.gz"))
3453 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3454 (build-system perl-build-system)
3456 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3457 ("perl-io-socket-ip" ,perl-io-socket-ip)
3458 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3459 ("perl-mozilla-ca" ,perl-mozilla-ca)
3460 ("perl-net-ssleay" ,perl-net-ssleay)))
3461 (home-page "https://metacpan.org/release/HTTP-Tiny")
3462 (synopsis "HTTP/1.1 client")
3463 (description "This is a very simple HTTP/1.1 client, designed for doing
3464 simple requests without the overhead of a large framework like LWP::UserAgent.
3465 It supports proxies and redirection. It also correctly resumes after EINTR.")
3466 (license license:perl-license)))
3468 (define-public perl-http-tinyish
3470 (name "perl-http-tinyish")
3476 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3481 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3482 (build-system perl-build-system)
3484 `(("perl-file-which" ,perl-file-which)
3485 ("perl-ipc-run3" ,perl-ipc-run3)))
3486 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3487 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3489 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3490 @code{HTTP::Tiny}, curl and wget.
3492 It provides an API compatible to HTTP::Tiny.")
3493 (license license:perl-license)))
3495 (define-public perl-io-html
3497 (name "perl-io-html")
3502 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3506 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3507 (build-system perl-build-system)
3508 (license license:perl-license)
3509 (synopsis "Perl module to open an HTML file with automatic charset detection")
3511 "IO::HTML provides an easy way to open a file containing HTML while
3512 automatically determining its encoding. It uses the HTML5 encoding sniffing
3513 algorithm specified in section 8.2.2.1 of the draft standard.")
3514 (home-page "https://metacpan.org/release/IO-HTML")))
3516 (define-public perl-io-socket-ip
3518 (name "perl-io-socket-ip")
3523 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3524 "IO-Socket-IP-" version ".tar.gz"))
3527 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
3528 (build-system perl-build-system)
3529 (native-inputs `(("perl-module-build" ,perl-module-build)))
3530 (home-page "https://metacpan.org/release/IO-Socket-IP")
3531 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3532 (description "This module provides a protocol-independent way to use IPv4
3533 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3534 (license license:perl-license)))
3536 (define-public perl-io-socket-ssl
3538 (name "perl-io-socket-ssl")
3542 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3543 "IO-Socket-SSL-" version ".tar.gz"))
3546 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3547 (patches (search-patches
3548 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3549 (build-system perl-build-system)
3551 `(("perl-net-ssleay" ,perl-net-ssleay)
3553 ("perl-uri" ,perl-uri)))
3554 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3556 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3557 necessary functionality into the familiar IO::Socket interface and providing
3558 secure defaults whenever possible. This way existing applications can be made
3559 SSL-aware without much effort, at least if you do blocking I/O and don't use
3561 (license license:perl-license)
3562 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3564 (define-public perl-libwww
3566 (name "perl-libwww")
3571 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3575 "0jh67946fwd33ap3xy8df0421d2mr6lmhalhkf1p7dx2b7fil9wf"))))
3576 (build-system perl-build-system)
3578 `(("perl-test-fatal" ,perl-test-fatal)
3579 ("perl-test-needs" ,perl-test-needs)
3580 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3582 `(("perl-encode-locale" ,perl-encode-locale)
3583 ("perl-file-listing" ,perl-file-listing)
3584 ("perl-html-parser" ,perl-html-parser)
3585 ("perl-http-cookies" ,perl-http-cookies)
3586 ("perl-http-daemon" ,perl-http-daemon)
3587 ("perl-http-date" ,perl-http-date)
3588 ("perl-http-message" ,perl-http-message)
3589 ("perl-http-negotiate" ,perl-http-negotiate)
3590 ("perl-net-http" ,perl-net-http)
3591 ("perl-try-tiny" ,perl-try-tiny)
3592 ("perl-uri" ,perl-uri)
3593 ("perl-www-robotrules" ,perl-www-robotrules)))
3594 (license license:perl-license)
3595 (synopsis "Perl modules for the WWW")
3597 "The libwww-perl collection is a set of Perl modules which provides a
3598 simple and consistent application programming interface to the
3599 World-Wide Web. The main focus of the library is to provide classes
3600 and functions that allow you to write WWW clients. The library also
3601 contains modules that are of more general use and even classes that
3602 help you implement simple HTTP servers.")
3603 (home-page "https://metacpan.org/release/libwww-perl")))
3605 (define-public perl-lwp-online
3607 (name "perl-lwp-online")
3613 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3617 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3618 (build-system perl-build-system)
3620 `(("perl-libwww" ,perl-libwww)
3621 ("perl-uri" ,perl-uri)))
3623 `(("perl-module-install" ,perl-module-install)))
3624 (home-page "https://metacpan.org/release/LWP-Online")
3625 (synopsis "Checks whether your process has access to the web")
3626 (description "This module attempts to answer, as accurately as it can, one
3627 of the nastiest technical questions there is: am I on the internet?
3629 A host of networking and security issues make this problem very difficult.
3630 There are firewalls, proxies (both well behaved and badly behaved). We might
3631 not have DNS. We might not have a network card at all!")
3632 (license license:perl-license)))
3634 (define-public perl-lwp-mediatypes
3636 (name "perl-lwp-mediatypes")
3641 "mirror://cpan/authors/id/O/OA/OALDERS/LWP-MediaTypes-"
3645 "1n8rg6csv3dsvymg06cmxipimr6cb1g9r903ghm1qsmiv89cl6wg"))))
3646 (build-system perl-build-system)
3648 `(("perl-test-fatal" ,perl-test-fatal)))
3649 (license license:perl-license)
3650 (synopsis "Perl module to guess the media type for a file or a URL")
3652 "The LWP::MediaTypes module provides functions for handling media (also
3653 known as MIME) types and encodings. The mapping from file extensions to
3654 media types is defined by the media.types file. If the ~/.media.types file
3655 exists it is used instead.")
3656 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3658 (define-public perl-lwp-protocol-https
3660 (name "perl-lwp-protocol-https")
3665 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3666 "LWP-Protocol-https-" version ".tar.gz"))
3669 "1rxrpwylfw1afah0nk96kgkwjbl2p1a7lwx50iipg8c4rx3cjb2j"))))
3670 (build-system perl-build-system)
3673 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3675 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3676 ("perl-libwww" ,perl-libwww)
3677 ;; Users should instead make sure SSL_ca_path is set properly.
3678 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3679 ("perl-net-http" ,perl-net-http)))
3680 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3681 (synopsis "HTTPS support for LWP::UserAgent")
3682 (description "The LWP::Protocol::https module provides support for using
3683 https schemed URLs with LWP.")
3684 (license license:perl-license)))
3686 (define-public perl-lwp-useragent-cached
3688 (name "perl-lwp-useragent-cached")
3693 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3694 "LWP-UserAgent-Cached-" version ".tar.gz"))
3697 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3698 (build-system perl-build-system)
3700 `(("perl-libwww" ,perl-libwww)))
3701 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3702 (synopsis "Simple caching for LWP::UserAgent")
3703 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3704 cache support. It returns responses from the local filesystem if available
3705 instead of making an HTTP request.")
3706 (license license:perl-license)))
3708 (define-public perl-lwp-useragent-determined
3710 (name "perl-lwp-useragent-determined")
3715 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3716 "LWP-UserAgent-Determined-" version ".tar.gz"))
3719 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3720 (build-system perl-build-system)
3722 `(("perl-libwww" ,perl-libwww)))
3723 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3724 (synopsis "Virtual browser that retries errors")
3725 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3726 except that when you use it to get a web page but run into a
3727 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3728 and retry a few times.")
3729 (license license:perl-license)))
3731 (define-public perl-net-amazon-s3
3733 (name "perl-net-amazon-s3")
3738 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3739 "Net-Amazon-S3-" version ".tar.gz"))
3742 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3743 (patches (search-patches
3744 "perl-net-amazon-s3-moose-warning.patch"))))
3745 (build-system perl-build-system)
3747 `(("perl-libwww" ,perl-libwww)
3748 ("perl-test-exception" ,perl-test-exception)))
3750 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3751 ("perl-datetime-format-http" ,perl-datetime-format-http)
3752 ("perl-digest-hmac" ,perl-digest-hmac)
3753 ("perl-digest-md5-file" ,perl-digest-md5-file)
3754 ("perl-file-find-rule" ,perl-file-find-rule)
3755 ("perl-http-date" ,perl-http-date)
3756 ("perl-http-message" ,perl-http-message)
3757 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3758 ("perl-mime-types" ,perl-mime-types)
3759 ("perl-moose" ,perl-moose)
3760 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3761 ("perl-moosex-types-datetime-morecoercions"
3762 ,perl-moosex-types-datetime-morecoercions)
3763 ("perl-path-class" ,perl-path-class)
3764 ("perl-regexp-common" ,perl-regexp-common)
3765 ("perl-term-encoding" ,perl-term-encoding)
3766 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3767 ("perl-uri" ,perl-uri)
3768 ("perl-xml-libxml" ,perl-xml-libxml)))
3769 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3770 (synopsis "Perl interface to Amazon S3")
3771 (description "This module provides a Perlish interface to Amazon S3.")
3772 (license license:perl-license)))
3774 (define-public perl-net-http
3776 (name "perl-net-http")
3781 "mirror://cpan/authors/id/O/OA/OALDERS/"
3782 "Net-HTTP-" version ".tar.gz"))
3785 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
3786 (build-system perl-build-system)
3788 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3789 ("perl-uri" ,perl-uri)))
3790 (license license:perl-license)
3791 (synopsis "Perl low-level HTTP connection (client)")
3793 "The Net::HTTP class is a low-level HTTP client. An instance of the
3794 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3795 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3797 (home-page "https://metacpan.org/release/Net-HTTP")))
3799 (define-public perl-net-server
3801 (name "perl-net-server")
3806 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3807 "Net-Server-" version ".tar.gz"))
3810 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3811 (build-system perl-build-system)
3812 (home-page "https://metacpan.org/release/Net-Server")
3813 (synopsis "Extensible Perl server engine")
3814 (description "Net::Server is an extensible, generic Perl server engine.
3815 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3816 It includes with it the ability to run as an inetd
3817 process (Net::Server::INET), a single connection server (Net::Server or
3818 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3819 server which maintains a constant number of preforked
3820 children (Net::Server::PreForkSimple), or as a managed preforking server which
3821 maintains the number of children based on server load (Net::Server::PreFork).
3822 In all but the inetd type, the server provides the ability to connect to one
3823 or to multiple server ports.")
3824 (license license:perl-license)))
3826 (define-public perl-net-smtp-ssl
3828 (name "perl-net-smtp-ssl")
3833 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3834 "Net-SMTP-SSL-" version ".tar.gz"))
3837 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3838 (build-system perl-build-system)
3840 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3841 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
3842 (synopsis "SSL support for Net::SMTP")
3843 (description "SSL support for Net::SMTP.")
3844 (license license:perl-license)))
3846 (define-public perl-plack
3853 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3854 "Plack-" version ".tar.gz"))
3857 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3858 (build-system perl-build-system)
3860 `(("perl-test-requires" ,perl-test-requires)
3861 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3863 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3864 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3865 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3866 ("perl-file-sharedir" ,perl-file-sharedir)
3867 ("perl-hash-multivalue" ,perl-hash-multivalue)
3868 ("perl-http-body" ,perl-http-body)
3869 ("perl-http-message" ,perl-http-message)
3870 ("perl-http-tiny" ,perl-http-tiny)
3871 ("perl-libwww" ,perl-libwww)
3872 ("perl-stream-buffered" ,perl-stream-buffered)
3873 ("perl-test-tcp" ,perl-test-tcp)
3874 ("perl-try-tiny" ,perl-try-tiny)
3875 ("perl-uri" ,perl-uri)))
3876 (home-page "https://metacpan.org/release/Plack")
3877 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3878 (description "Plack is a set of tools for using the PSGI stack. It
3879 contains middleware components, a reference server, and utilities for Web
3880 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3882 (license license:perl-license)))
3884 (define-public perl-plack-middleware-deflater
3886 (name "perl-plack-middleware-deflater")
3892 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
3893 "Plack-Middleware-Deflater-" version ".tar.gz"))
3896 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
3897 (build-system perl-build-system)
3899 `(("perl-module-install" ,perl-module-install)
3900 ("perl-test-requires" ,perl-test-requires)))
3902 `(("perl-plack" ,perl-plack)))
3903 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
3904 (synopsis "Compress response body with Gzip or Deflate")
3906 "Plack::Middleware::Deflater is a middleware to encode your response body
3907 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
3908 would save the bandwidth a little bit but should increase the Plack server
3909 load, so ideally you should handle this on the frontend reverse proxy
3911 (license license:perl-license)))
3913 (define-public perl-plack-middleware-fixmissingbodyinredirect
3915 (name "perl-plack-middleware-fixmissingbodyinredirect")
3920 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3921 "Plack-Middleware-FixMissingBodyInRedirect-"
3925 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3926 (build-system perl-build-system)
3928 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3929 ("perl-http-message" ,perl-http-message)
3930 ("perl-plack" ,perl-plack))) ;for Plack::Test
3932 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
3933 (synopsis "Plack::Middleware which sets body for redirect response")
3934 (description "This module sets the body in redirect response, if it's not
3936 (license license:perl-license)))
3938 (define-public perl-plack-middleware-methodoverride
3940 (name "perl-plack-middleware-methodoverride")
3945 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3946 "Plack-Middleware-MethodOverride-"
3949 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
3950 (build-system perl-build-system)
3952 `(("perl-module-build" ,perl-module-build)))
3954 `(("perl-plack" ,perl-plack)))
3955 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
3956 (synopsis "Override REST methods to Plack apps via POST")
3957 (description "This middleware allows for POST requests that pretend to be
3958 something else: by adding either a header named X-HTTP-Method-Override to the
3959 request, or a query parameter named x-tunneled-method to the URI, the client
3960 can say what method it actually meant.")
3961 (license license:perl-license)))
3963 (define-public perl-plack-middleware-removeredundantbody
3965 (name "perl-plack-middleware-removeredundantbody")
3970 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3971 "Plack-Middleware-RemoveRedundantBody-"
3974 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
3975 (build-system perl-build-system)
3977 `(("perl-plack" ,perl-plack)))
3979 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
3980 (synopsis "Plack::Middleware which removes body for HTTP response")
3981 (description "This module removes the body in an HTTP response if it's not
3983 (license license:perl-license)))
3985 (define-public perl-plack-middleware-reverseproxy
3987 (name "perl-plack-middleware-reverseproxy")
3992 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3993 "Plack-Middleware-ReverseProxy-"
3996 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
3997 (build-system perl-build-system)
3999 `(("perl-module-install" ,perl-module-install)))
4001 `(("perl-plack" ,perl-plack)))
4002 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
4003 (synopsis "Supports app to run as a reverse proxy backend")
4004 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
4005 which are changed by reverse-proxy. You can specify the reverse proxy address
4006 and stop fake requests using @code{enable_if} directive in your app.psgi.")
4007 (license license:perl-license)))
4009 (define-public perl-plack-test-externalserver
4011 (name "perl-plack-test-externalserver")
4016 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
4017 "Plack-Test-ExternalServer-" version ".tar.gz"))
4019 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
4020 (build-system perl-build-system)
4022 `(("perl-plack" ,perl-plack)))
4023 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
4024 (synopsis "Run HTTP tests on external live servers")
4025 (description "This module allows your to run your Plack::Test tests
4026 against an external server instead of just against a local application through
4027 either mocked HTTP or a locally spawned server.")
4028 (license license:perl-license)))
4030 (define-public perl-test-tcp
4032 (name "perl-test-tcp")
4037 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
4038 "Test-TCP-" version ".tar.gz"))
4040 (base32 "1djnaw1yli0kcd7azchqnp59l62f6mp13q50xyrjirpaxhd51j32"))))
4041 (build-system perl-build-system)
4043 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
4044 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
4045 (home-page "https://metacpan.org/release/Test-TCP")
4046 (synopsis "Testing TCP programs")
4047 (description "Test::TCP is test utilities for TCP/IP programs.")
4048 (license license:perl-license)))
4050 (define-public perl-test-www-mechanize
4052 (name "perl-test-www-mechanize")
4057 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
4058 "Test-WWW-Mechanize-" version ".tar.gz"))
4060 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
4061 (build-system perl-build-system)
4063 `(("perl-carp-assert-more" ,perl-carp-assert-more)
4064 ("perl-html-form" ,perl-html-form)
4065 ("perl-html-lint" ,perl-html-lint)
4066 ("perl-http-server-simple" ,perl-http-server-simple)
4067 ("perl-libwww" ,perl-libwww)
4068 ("perl-test-longstring" ,perl-test-longstring)
4069 ("perl-www-mechanize" ,perl-www-mechanize)))
4070 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
4071 (synopsis "Testing-specific WWW::Mechanize subclass")
4072 (description "Test::WWW::Mechanize is a subclass of the Perl module
4073 WWW::Mechanize that incorporates features for web application testing.")
4074 (license license:artistic2.0)))
4076 (define-public perl-test-www-mechanize-catalyst
4078 (name "perl-test-www-mechanize-catalyst")
4083 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
4084 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
4086 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
4087 (build-system perl-build-system)
4089 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
4090 ("perl-catalyst-plugin-session-state-cookie"
4091 ,perl-catalyst-plugin-session-state-cookie)
4092 ("perl-module-install" ,perl-module-install)
4093 ("perl-test-exception" ,perl-test-exception)
4094 ("perl-test-pod" ,perl-test-pod)
4095 ("perl-test-utf8" ,perl-test-utf8)))
4097 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4098 ("perl-class-load" ,perl-class-load)
4099 ("perl-libwww" ,perl-libwww)
4100 ("perl-moose" ,perl-moose)
4101 ("perl-namespace-clean" ,perl-namespace-clean)
4102 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4103 ("perl-www-mechanize" ,perl-www-mechanize)))
4104 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4105 (synopsis "Test::WWW::Mechanize for Catalyst")
4106 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4107 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4108 testing of Catalyst applications without needing to start up a web server.")
4109 (license license:perl-license)))
4111 (define-public perl-test-www-mechanize-psgi
4113 (name "perl-test-www-mechanize-psgi")
4118 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4119 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4122 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4123 (build-system perl-build-system)
4125 `(("perl-test-pod" ,perl-test-pod)))
4127 `(("perl-plack" ,perl-plack)
4128 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4129 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4130 (synopsis "Test PSGI programs using WWW::Mechanize")
4131 (description "PSGI is a specification to decouple web server environments
4132 from web application framework code. Test::WWW::Mechanize is a subclass of
4133 WWW::Mechanize that incorporates features for web application testing. The
4134 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4136 (license license:perl-license)))
4138 (define-public perl-uri
4144 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4145 "URI-" version ".tar.gz"))
4148 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4149 (build-system perl-build-system)
4152 `(("perl-test-needs" ,perl-test-needs)))
4153 (license license:perl-license)
4154 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4156 "The URI module implements the URI class. Objects of this class
4157 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4158 and updated by RFC 2732.")
4159 (home-page "https://metacpan.org/release/URI")))
4161 (define-public perl-uri-fetch
4163 (name "perl-uri-fetch")
4167 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4168 "URI-Fetch-" version ".tar.gz"))
4171 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4172 (build-system perl-build-system)
4174 `(#:tests? #f)) ; Tests require internet connection to succeed
4176 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4177 ("perl-libwww" ,perl-libwww)
4178 ("perl-uri" ,perl-uri)))
4179 (home-page "https://metacpan.org/release/URI-Fetch")
4180 (synopsis "Smart URI fetching/caching")
4181 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4182 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4183 and time-saving way.")
4184 (license license:perl-license)))
4186 (define-public perl-uri-find
4188 (name "perl-uri-find")
4189 (version "20160806")
4193 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4194 "URI-Find-" version ".tar.gz"))
4197 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4198 (build-system perl-build-system)
4200 `(("perl-module-build" ,perl-module-build)))
4202 `(("perl-uri" ,perl-uri)))
4203 (home-page "https://metacpan.org/release/URI-Find")
4204 (synopsis "Find URIs in arbitrary text")
4205 (description "This module finds URIs and URLs (according to what URI.pm
4206 considers a URI) in plain text. It only finds URIs which include a
4207 scheme (http:// or the like), for something a bit less strict, consider
4208 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4209 (license license:perl-license)))
4211 (define-public perl-uri-ws
4213 (name "perl-uri-ws")
4218 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4219 "URI-ws-" version ".tar.gz"))
4222 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4223 (build-system perl-build-system)
4225 `(("perl-uri" ,perl-uri)))
4226 (home-page "https://metacpan.org/release/URI-ws")
4227 (synopsis "WebSocket support for URI package")
4228 (description "With this module, the URI package provides the same set of
4229 methods for WebSocket URIs as it does for HTTP URIs.")
4230 (license license:perl-license)))
4232 (define-public perl-uri-template
4234 (name "perl-uri-template")
4238 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4242 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4243 (build-system perl-build-system)
4245 `(("perl-uri" ,perl-uri)))
4247 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4248 ("perl-test-pod" ,perl-test-pod)
4249 ("perl-module-install" ,perl-module-install)
4250 ("perl-json" ,perl-json)))
4251 (home-page "https://metacpan.org/release/URI-Template")
4252 (synopsis "Object for handling URI templates")
4253 (description "This perl module provides a wrapper around URI templates as described in
4255 (license license:perl-license)))
4257 (define-public perl-www-curl
4259 (name "perl-www-curl")
4264 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4266 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
4269 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4270 (build-system perl-build-system)
4272 '(#:tests? #f ;XXX: tests require network access
4274 #:phases (modify-phases %standard-phases
4275 (add-before 'configure 'set-search-path
4277 ;; Work around "dotless @INC" build failure.
4279 (string-append (getcwd) ":"
4280 (getenv "PERL5LIB")))
4283 `(("perl-module-install" ,perl-module-install)))
4284 (inputs `(("curl" ,curl)))
4285 (synopsis "Perl extension interface for libcurl")
4287 "This is a Perl extension interface for the libcurl file downloading
4289 (license license:perl-license)
4290 (home-page "https://metacpan.org/release/WWW-Curl")))
4292 (define-public perl-www-mechanize
4294 (name "perl-www-mechanize")
4299 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4300 "WWW-Mechanize-" version ".tar.gz"))
4302 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4303 (build-system perl-build-system)
4304 (native-inputs ;only for tests
4305 `(("perl-cgi" ,perl-cgi)
4306 ("perl-test-deep" ,perl-test-deep)
4307 ("perl-test-fatal" ,perl-test-fatal)
4308 ("perl-test-output" ,perl-test-output)
4309 ("perl-test-warnings" ,perl-test-warnings)))
4311 `(("perl-html-form" ,perl-html-form)
4312 ("perl-html-parser" ,perl-html-parser)
4313 ("perl-html-tree" ,perl-html-tree)
4314 ("perl-http-message" ,perl-http-message)
4315 ("perl-http-server-simple" ,perl-http-server-simple)
4316 ("perl-libwww" ,perl-libwww)
4317 ("perl-test-warn" ,perl-test-warn)
4318 ("perl-uri" ,perl-uri)))
4319 (home-page "https://metacpan.org/release/WWW-Mechanize")
4320 (synopsis "Web browsing in a Perl object")
4321 (description "WWW::Mechanize is a Perl module for stateful programmatic
4322 web browsing, used for automating interaction with websites.")
4323 (license license:perl-license)))
4325 (define-public perl-www-opensearch
4327 (name "perl-www-opensearch")
4331 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4332 "WWW-OpenSearch-" version ".tar.gz"))
4335 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4336 (build-system perl-build-system)
4338 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4339 ("perl-datetime" ,perl-datetime)
4340 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4341 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4342 ("perl-feed-find" ,perl-feed-find)
4343 ("perl-module-install" ,perl-module-install)
4344 ("perl-module-pluggable" ,perl-module-pluggable)
4345 ("perl-uri-fetch" ,perl-uri-fetch)
4346 ("perl-test-simple" ,perl-test-simple)
4347 ("perl-xml-atom" ,perl-xml-atom)
4348 ("perl-xml-rss" ,perl-xml-rss)))
4350 `(("perl-data-page" ,perl-data-page)
4351 ("perl-libwww" ,perl-libwww)
4352 ("perl-uri" ,perl-uri)
4353 ("perl-uri-template" ,perl-uri-template)
4354 ("perl-xml-feed" ,perl-xml-feed)
4355 ("perl-xml-libxml" ,perl-xml-libxml)))
4356 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4357 (synopsis "Search A9 OpenSearch compatible engines")
4359 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4360 http://opensearch.a9.com} compatible search engines.")
4361 (license license:perl-license)))
4363 (define-public perl-www-robotrules
4365 (name "perl-www-robotrules")
4370 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4374 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4375 (build-system perl-build-system)
4377 `(("perl-uri" ,perl-uri)))
4378 (license license:perl-license)
4379 (synopsis "Perl database of robots.txt-derived permissions")
4381 "The WWW::RobotRules module parses /robots.txt files as specified in
4382 \"A Standard for Robot Exclusion\", at
4383 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4384 /robots.txt file to forbid conforming robots from accessing parts of
4386 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4388 (define-public python-feedparser
4390 (name "python-feedparser")
4395 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4398 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4399 (build-system python-build-system)
4403 "https://github.com/kurtmckee/feedparser")
4404 (synopsis "Parse feeds in Python")
4406 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4407 CDF, Atom 0.3, and Atom 1.0 feeds.")
4408 (license (list license:bsd-2 ; source code
4409 license:freebsd-doc)))) ; documentation
4411 (define-public python2-feedparser
4412 (package-with-python2 python-feedparser))
4414 (define-public guix-data-service
4415 (let ((commit "d1c243f7fd8902f359ff06fb78dce663cf4297ce")
4418 (name "guix-data-service")
4419 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4423 (url "https://git.savannah.gnu.org/git/guix/data-service.git")
4425 (file-name (git-file-name name version))
4428 "1ji8d4vwmv7j9h7z96hvzi3zvik594yngjrdal37w13fbxy2v6sw"))))
4429 (build-system gnu-build-system)
4431 '(#:modules ((guix build utils)
4432 (guix build gnu-build-system)
4437 #:test-target "check-with-tmp-database"
4439 (modify-phases %standard-phases
4440 (add-before 'build 'set-GUILE_AUTO_COMPILE
4442 ;; To avoid errors relating to guild
4443 (setenv "GUILE_AUTO_COMPILE" "0")
4445 (add-after 'install 'wrap-executable
4446 (lambda* (#:key inputs outputs #:allow-other-keys)
4447 (let* ((out (assoc-ref outputs "out"))
4448 (bin (string-append out "/bin"))
4449 (guile (assoc-ref inputs "guile"))
4450 (guile-effective-version
4452 (open-pipe* OPEN_READ
4453 (string-append guile "/bin/guile")
4454 "-c" "(display (effective-version))")))
4455 (scm (string-append out "/share/guile/site/"
4456 guile-effective-version))
4457 (go (string-append out "/lib/guile/"
4458 guile-effective-version
4462 (simple-format (current-error-port)
4464 (string-append bin "/" file))
4465 (wrap-program (string-append bin "/" file)
4469 (map (lambda (input)
4471 (assoc-ref inputs input)
4476 `("GUILE_LOAD_PATH" ":" prefix
4477 (,scm ,(getenv "GUILE_LOAD_PATH")))
4478 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4479 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4485 (delete 'strip)))) ; As the .go files aren't compatible
4487 `(("guix" ,guile3.0-guix)
4488 ("guile-fibers" ,guile3.0-fibers)
4489 ("guile-json" ,guile3.0-json)
4490 ("guile-email" ,guile3.0-email)
4491 ("guile-squee" ,guile3.0-squee)
4492 ("ephemeralpg" ,ephemeralpg)
4493 ("util-linux" ,util-linux)
4494 ("postgresql" ,postgresql-11)
4495 ("sqitch" ,sqitch)))
4497 `(("guile" ,guile-3.0)
4498 ("autoconf" ,autoconf)
4499 ("automake" ,automake)
4500 ("emacs-minimal" ,emacs-minimal)
4501 ("emacs-htmlize" ,emacs-htmlize)
4502 ("pkg-config" ,pkg-config)))
4503 (synopsis "Store and provide data about GNU Guix")
4505 "The Guix Data Service stores data about GNU Guix, and provides this
4506 through a web interface. It supports listening to the guix-commits mailing
4507 list to find out about new revisions, then loads the data from these in to a
4508 PostgreSQL database.")
4509 (home-page "http://data.guix.gnu.org/")
4510 (license license:agpl3+))))
4512 (define-public gumbo-parser
4514 (name "gumbo-parser")
4519 (url "https://github.com/google/gumbo-parser")
4520 (commit (string-append "v" version))))
4521 (file-name (git-file-name name version))
4524 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4525 (build-system gnu-build-system)
4527 `(#:tests? #f)) ;tests require bundling googletest sources
4528 ;; The release tarball lacks the generated files.
4530 `(("autoconf" ,autoconf)
4531 ("automake" ,automake)
4532 ("libtool" ,libtool)))
4533 (home-page "https://github.com/google/gumbo-parser")
4534 (synopsis "HTML5 parsing library")
4536 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4537 a pure C99 library.")
4538 (license license:asl2.0)))
4540 (define-public uwsgi
4546 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4550 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4551 (build-system gnu-build-system)
4552 (outputs '("out" "python"))
4554 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4555 ;; But there is no obvious way to run the real tests.
4558 (modify-phases %standard-phases
4560 ;; Configuration is done by writing an ini file.
4561 (lambda* (#:key outputs #:allow-other-keys)
4562 (let* ((out (assoc-ref outputs "out"))
4563 (bindir (string-append out "/bin"))
4564 (plugindir (string-append out "/lib/uwsgi")))
4565 ;; The build phase outputs files to these directories directly.
4568 ;; XXX: Enable other plugins.
4569 (call-with-output-file "buildconf/guix.ini"
4571 (format port "[uwsgi]
4577 plugins = cgi,python
4579 " bindir plugindir))))
4580 (setenv "PROFILE" "guix")
4583 ;; Move plugins into their own output.
4584 (lambda* (#:key outputs #:allow-other-keys)
4585 (let* ((out (assoc-ref outputs "out"))
4586 (plugindir (string-append out "/lib/uwsgi"))
4587 (python-plugin (string-append
4588 plugindir "/python_plugin.so")))
4589 (install-file python-plugin
4591 (assoc-ref outputs "python") "/lib/uwsgi"))
4592 (delete-file python-plugin)
4595 `(("pkg-config" ,pkg-config)
4596 ("python" ,python-wrapper)))
4598 `(("jansson" ,jansson)
4599 ("libxml2" ,libxml2)
4600 ("libyaml" ,libyaml)
4601 ("openssl" ,openssl)
4605 ("python" ,python)))
4606 (home-page "https://uwsgi-docs.readthedocs.org/")
4607 (synopsis "Application container server")
4609 "uWSGI presents a complete stack for networked/clustered web applications,
4610 implementing message/object passing, caching, RPC and process management.
4611 It uses the uwsgi protocol for all the networking/interprocess communications.")
4612 (license license:gpl2+))) ; with linking exception
4621 (uri (string-append "https://github.com/stedolan/jq"
4622 "/releases/download/jq-" version
4623 "/jq-" version ".tar.gz"))
4625 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4626 (modules '((guix build utils)))
4629 ;; Remove bundled onigurama.
4630 (delete-file-recursively "modules")
4633 `(("oniguruma" ,oniguruma)))
4635 `(;; TODO fix gems to generate documentation
4637 ;;("bundler" ,bundler)
4638 ("valgrind" ,valgrind)))
4639 (build-system gnu-build-system)
4640 (home-page "https://stedolan.github.io/jq/")
4641 (synopsis "Command-line JSON processor")
4642 (description "jq is like sed for JSON data – you can use it to slice and
4643 filter and map and transform structured data with the same ease that sed, awk,
4644 grep and friends let you play with text. It is written in portable C. jq can
4645 mangle the data format that you have into the one that you want with very
4646 little effort, and the program to do so is often shorter and simpler than
4648 (license (list license:expat license:cc-by3.0))))
4650 (define-public uhttpmock
4657 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4658 name "-" version ".tar.xz"))
4661 "163py4klka423x7li2b685gmg3a6hjf074mlff2ajhmi3l0lm8x6"))))
4662 (build-system glib-or-gtk-build-system)
4664 `(("gobject-introspection" ,gobject-introspection)
4666 ("glib-networking" ,glib-networking)
4667 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4668 ("pkg-config" ,pkg-config)))
4670 `(("libsoup" ,libsoup)))
4671 (home-page "https://gitlab.com/groups/uhttpmock")
4672 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4674 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4675 HTTPS. It provides a library, libuhttpmock, which implements recording and
4676 playback of HTTP request/response traces.")
4677 (license license:lgpl2.1+)))
4682 (version "2012-05-31")
4686 "http://www.home.unix-ag.org/simon/woof-"
4690 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4691 (build-system trivial-build-system)
4693 '(#:modules ((guix build utils))
4696 (use-modules (guix build utils))
4697 (let* ((source (assoc-ref %build-inputs "source"))
4698 (out (assoc-ref %outputs "out"))
4699 (bin (string-append out "/bin"))
4700 (python (assoc-ref %build-inputs "python")))
4702 (with-directory-excursion bin
4703 (copy-file source "woof")
4704 (patch-shebang "woof" (list (string-append python "/bin")))
4705 (chmod "woof" #o555))
4707 (inputs `(("python" ,python-2)))
4708 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4709 (synopsis "Single file web server")
4710 (description "Woof (Web Offer One File) is a small simple web server that
4711 can easily be invoked on a single file. Your partner can access the file with
4712 tools they trust (e.g. wget).")
4713 (license license:gpl2+)))
4715 (define netsurf-buildsystem
4717 (name "netsurf-buildsystem")
4722 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4723 "buildsystem-" version ".tar.gz"))
4726 "1q23aaycv35ma5471l1gxib8lfq2s9kprrkaqgfc926d04rlbmhw"))))
4727 (build-system gnu-build-system)
4728 (inputs `(("perl" ,perl)))
4730 '(#:make-flags (list (string-append "PREFIX=" %output))
4731 #:tests? #f ;no tests
4732 #:phases (modify-phases %standard-phases
4735 (home-page "https://www.netsurf-browser.org")
4736 (synopsis "Build system for the Netsurf project")
4738 "This package provides the shared build system for Netsurf project
4740 (license license:expat)))
4742 (define netsurf-buildsystem-arguments
4743 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4744 "CC=gcc" "BUILD_CC=gcc"
4745 ,(string-append "PREFIX=" %output)
4746 ,(string-append "NSSHARED="
4747 (assoc-ref %build-inputs
4748 "netsurf-buildsystem")
4749 "/share/netsurf-buildsystem"))
4750 #:test-target "test"
4751 #:phases (modify-phases %standard-phases
4752 (delete 'configure))))
4754 (define-public libparserutils
4756 (name "libparserutils")
4761 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4762 name "-" version "-src.tar.gz"))
4765 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4766 (build-system gnu-build-system)
4768 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4769 ("pkg-config" ,pkg-config)
4770 ("perl" ,perl))) ;for test harness
4771 (arguments netsurf-buildsystem-arguments)
4772 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
4773 (synopsis "Parser building library")
4775 "LibParserUtils is a library for building efficient parsers, written in
4776 C. It is developed as part of the NetSurf project.")
4777 (license license:expat)))
4779 (define-public hubbub
4786 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4787 "libhubbub-" version "-src.tar.gz"))
4790 "1x3v7xvagx85v9h3pypzc86rcxs4mij87mmcqkp8pq50q6awfmnp"))
4791 (patches (search-patches "hubbub-sort-entities.patch"))))
4792 (build-system gnu-build-system)
4794 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4795 ("pkg-config" ,pkg-config)
4796 ("doxygen" ,doxygen)
4797 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4800 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4801 (arguments netsurf-buildsystem-arguments)
4802 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
4803 (synopsis "HTML5 compliant parsing library")
4805 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4806 parse both valid and invalid web content. It is developed as part of the
4808 (license license:expat)))
4810 (define-public ikiwiki
4813 (version "3.20190228")
4817 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4818 "20190301T035241Z/pool/main/i/ikiwiki/ikiwiki_"
4819 version ".orig.tar.xz"))
4822 "17pyblaqhkb61lxl63bzndiffism8k859p54k3k4sghclq6lsynh"))))
4823 (build-system perl-build-system)
4826 (modify-phases %standard-phases
4827 (add-after 'unpack 'include-PERL5LIB-in-wrapper
4829 (substitute* "IkiWiki/Wrapper.pm"
4830 (("^@wrapper\\_hooks")
4833 " addenv(\"PERL5LIB\", \""
4836 (add-after 'patch-source-shebangs 'patch-Makefile
4838 (substitute* "Makefile.PL"
4839 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
4841 (add-after 'install 'wrap-programs
4842 (lambda* (#:key outputs #:allow-other-keys)
4843 (let* ((out (assoc-ref outputs "out"))
4844 (bin (string-append out "/bin/"))
4845 (path (getenv "PERL5LIB")))
4846 (for-each (lambda (file)
4848 `("PERL5LIB" ":" prefix (,path))))
4853 ("perl-html-tagset" ,perl-html-tagset)
4854 ("perl-timedate" ,perl-timedate)
4855 ("perl-xml-sax" ,perl-xml-sax)
4856 ("perl-xml-simple" ,perl-xml-simple)
4857 ("gettext" ,gettext-minimal)
4858 ("subversion" ,subversion)
4862 ("mercurial" ,mercurial)))
4864 `(("python" ,python-wrapper)
4865 ("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
4866 ("perl-cgi-session" ,perl-cgi-session)
4867 ("perl-cgi-simple" ,perl-cgi-simple)
4868 ("perl-db-file" ,perl-db-file)
4869 ("perl-html-parser" ,perl-html-parser)
4870 ("perl-html-scrubber" ,perl-html-scrubber)
4871 ("perl-html-template" ,perl-html-template)
4872 ("perl-image-magick" ,perl-image-magick)
4873 ("perl-json" ,perl-json)
4874 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4875 ("perl-uri" ,perl-uri)
4876 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4877 (home-page "https://ikiwiki.info/")
4878 (synopsis "Wiki compiler, capable of generating HTML")
4880 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4881 pages, but also incorporating dynamic features like a web based editor and
4883 (license license:gpl2+)))
4885 (define-public libwapcaplet
4887 (name "libwapcaplet")
4892 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4893 "libwapcaplet-" version "-src.tar.gz"))
4896 "1fjwzbn7j8bi1b9bvwxsy3i2cr6byq2s2d29866801pjnf528g86"))))
4897 (build-system gnu-build-system)
4899 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4900 ("pkg-config" ,pkg-config)
4901 ("check" ,check))) ;for tests
4902 (arguments netsurf-buildsystem-arguments)
4903 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
4904 (synopsis "String internment library")
4906 "LibWapcaplet provides a reference counted string internment system
4907 designed to store small strings and allow rapid comparison of them. It is
4908 developed as part of the Netsurf project.")
4909 (license license:expat)))
4911 (define-public libcss
4918 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4919 "libcss-" version "-src.tar.gz"))
4922 "1vw9j3d2mr4wbvs8fyqmgslkbxknvac10456775hflxxcivbm3xr"))))
4923 (build-system gnu-build-system)
4925 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4926 ("pkg-config" ,pkg-config)
4928 (propagated-inputs ;needed for libcss.pc
4929 `(("libparserutils" ,libparserutils)
4930 ("libwapcaplet" ,libwapcaplet)))
4931 (arguments netsurf-buildsystem-arguments)
4932 (home-page "https://www.netsurf-browser.org/projects/libcss/")
4933 (synopsis "CSS parser and selection library")
4935 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4936 written in C. It is developed as part of the NetSurf project.")
4937 (license license:expat)))
4939 (define-public libcyaml
4947 (url "https://github.com/tlsa/libcyaml.git")
4948 (commit (string-append "v" version))))
4949 (file-name (git-file-name name version))
4951 (base32 "0h5ydyqdl8kzh526np3jsi0pm7ks16nh1hjkdsjcd6pacw7y6i6z"))))
4952 (build-system gnu-build-system)
4955 (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
4956 (string-append "CC=gcc"))
4958 (modify-phases %standard-phases
4959 (delete 'configure) ; no configure script
4963 (invoke "make" "test"))))))
4965 `(("libyaml" ,libyaml)))
4968 ("pkg-config", pkg-config)))
4969 (synopsis "C library for reading and writing YAML")
4971 "LibCYAML is a C library written in ISO C11 for reading and writing
4972 structured YAML documents. The fundamental idea behind CYAML is to allow
4973 applications to construct schemas which describe both the permissible
4974 structure of the YAML documents to read/write, and the C data structure(s)
4975 in which the loaded data is arranged in memory.")
4976 (home-page "https://github.com/tlsa/libcyaml")
4977 (license license:isc)))
4979 (define-public libdom
4986 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4987 "libdom-" version "-src.tar.gz"))
4990 "1ixkqsl3f7dl1kajksm0c231w1v5xy8z6hm3v67hgm9nh4qcvfcy"))))
4991 (build-system gnu-build-system)
4993 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4994 ("pkg-config" ,pkg-config)
4995 ("perl" ,perl) ;for test harness
4996 ("perl-libxml" ,perl-libxml)
4997 ("perl-switch" ,perl-switch)
4998 ("perl-xml-xpath" ,perl-xml-xpath)))
5000 `(("libparserutils" ,libparserutils)
5001 ("libwapcaplet" ,libwapcaplet)))
5003 `(("expat" ,expat) ;needed for headers and linking
5004 ("hubbub" ,hubbub))) ;for libdom.pc
5006 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
5007 ,@netsurf-buildsystem-arguments))
5008 (home-page "https://www.netsurf-browser.org/projects/libdom/")
5009 (synopsis "Implementation of the W3C DOM")
5011 "LibDOM is an implementation of the W3C DOM, written in C. It is
5012 developed as part of the NetSurf project.")
5013 (license license:expat)))
5015 (define-public libsvgtiny
5022 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5023 name "-" version "-src.tar.gz"))
5026 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
5027 (build-system gnu-build-system)
5029 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5030 ("pkg-config" ,pkg-config)
5031 ("gperf" ,gperf-3.0)))
5033 `(("libwapcaplet" ,libwapcaplet)))
5035 `(("libdom" ,libdom))) ;for libsvgtiny.pc
5036 (arguments netsurf-buildsystem-arguments)
5037 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
5038 (synopsis "Library for parsing SVG files")
5040 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
5041 which can be rendered easily, as defined in
5042 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
5044 (license license:expat)))
5046 (define-public libnsbmp
5053 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5054 name "-" version "-src.tar.gz"))
5057 "0lib2m07d1i0k80m4blkwnj0g7rha4jbm5vrgd0wwbkyfa0hvk35"))))
5058 (build-system gnu-build-system)
5060 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5061 (arguments netsurf-buildsystem-arguments)
5062 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
5063 (synopsis "Decoding library for BMP and ICO files")
5065 "Libnsbmp is a decoding library for BMP and ICO image file formats,
5066 written in C. It is developed as part of the NetSurf project.")
5067 (license license:expat)))
5069 (define-public libnsgif
5076 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5077 name "-" version "-src.tar.gz"))
5080 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
5081 (build-system gnu-build-system)
5083 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5084 (arguments netsurf-buildsystem-arguments)
5085 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
5086 (synopsis "Decoding library for GIF files")
5088 "Libnsgif is a decoding library for the GIF image file format, written in
5089 C. It is developed as part of the NetSurf project.")
5090 (license license:expat)))
5092 (define-public libnslog
5099 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5100 "libnslog-" version "-src.tar.gz"))
5103 "1ggs6xvxp8fbg5w8pifalipm458ygr9ab6j2yvj8fnnmxwvdh4jd"))))
5104 (build-system gnu-build-system)
5106 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5107 ("pkg-config" ,pkg-config)
5108 ("check" ,check-0.12) ; For tests
5111 (arguments netsurf-buildsystem-arguments)
5112 (home-page "https://www.netsurf-browser.org/")
5113 (synopsis "Logging library")
5115 "Libnslog provides a category-based logging library which supports
5116 complex logging filters, multiple log levels, and provides context through to
5117 client applications. It is developed as part of the NetSurf project.")
5118 (license license:expat)))
5120 (define-public libnsutils
5127 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5128 name "-" version "-src.tar.gz"))
5131 "09w1rixps1iiq6wirjwxmd6h87llvjzvw565rahjb3rlyhcplfqf"))))
5132 (build-system gnu-build-system)
5134 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5135 (arguments netsurf-buildsystem-arguments)
5136 (home-page "https://www.netsurf-browser.org/")
5137 (synopsis "Utility library for NetSurf")
5139 "Libnsutils provides a small number of useful utility routines. It is
5140 developed as part of the NetSurf project.")
5141 (license license:expat)))
5143 (define-public libnspsl
5150 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5151 "libnspsl-" version "-src.tar.gz"))
5154 "0siq8zjfxv75i9fw6q5hkaijpdm1w3zskd5qk6vsvz8cqan4vifd"))))
5155 (build-system gnu-build-system)
5157 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5158 (arguments netsurf-buildsystem-arguments)
5159 (home-page "https://www.netsurf-browser.org/")
5160 (synopsis "Library to generate a static Public Suffix List")
5162 "Libnspsl is a library to generate a static code representation of the
5163 Public Suffix List. It is developed as part of the NetSurf project.")
5164 (license license:expat)))
5166 (define-public nsgenbind
5173 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5174 "nsgenbind-" version "-src.tar.gz"))
5177 "0rplmky4afsjwiwh7grkmcdmzg86zksa55j93dvq92f91yljwqqq"))))
5178 (build-system gnu-build-system)
5180 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5184 (substitute-keyword-arguments netsurf-buildsystem-arguments
5185 ((#:make-flags flags)
5186 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5187 (home-page "https://www.netsurf-browser.org/")
5188 (synopsis "Generate JavaScript to DOM bindings")
5190 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5191 w3c webidl files and a binding configuration file.")
5192 (license license:expat)))
5194 (define-public netsurf
5201 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5202 "releases/source/netsurf-" version "-src.tar.gz"))
5205 "1hzcm2s2wh5sapgr000lg63hcdbj6hyajxl43xa1x80kc5piqbyp"))
5206 (patches (search-patches "netsurf-system-utf8proc.patch"
5207 "netsurf-y2038-tests.patch"
5208 "netsurf-longer-test-timeout.patch"
5209 "netsurf-message-timestamp.patch"))))
5210 (build-system glib-or-gtk-build-system)
5212 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5213 ("nsgenbind" ,nsgenbind)
5214 ("libidn" ,libidn) ;only for tests
5217 ("perl-html-parser" ,perl-html-parser)
5218 ("pkg-config" ,pkg-config)
5223 ("openssl" ,openssl)
5224 ("utf8proc" ,utf8proc)
5226 ("libjpeg" ,libjpeg)
5229 ("libnsbmp" ,libnsbmp)
5230 ("libnsgif" ,libnsgif)
5231 ("libnslog" ,libnslog)
5232 ("libnspsl" ,libnspsl)
5233 ("libnsutils" ,libnsutils)
5234 ("libsvgtiny" ,libsvgtiny)
5235 ("miscfiles" ,miscfiles)))
5237 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5239 ,(string-append "PREFIX=" %output)
5240 ,(string-append "NSSHARED="
5241 (assoc-ref %build-inputs
5242 "netsurf-buildsystem")
5243 "/share/netsurf-buildsystem"))
5244 #:test-target "test"
5245 #:modules ((ice-9 rdelim)
5249 ,@%glib-or-gtk-build-system-modules)
5251 (modify-phases %standard-phases
5253 (add-after 'build 'adjust-welcome
5255 (substitute* "frontends/gtk/res/welcome.html"
5256 ;; Close some XHTML tags.
5257 (("<(img|input)([^>]*)>" _ tag contents)
5258 (string-append "<" tag contents " />"))
5259 ;; Increase freedom.
5260 ((" open source") ", free software")
5261 ;; Prefer a more privacy-respecting default search engine.
5262 (("www.google.co.uk") "www.duckduckgo.com/html")
5263 (("Google Search") "DuckDuckGo Search")
5264 (("name=\"btnG\"") ""))
5265 ;; Remove default links so it doesn't seem we're endorsing them.
5266 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5268 ;; Leave the DOCTYPE header as is.
5269 (display (read-line in 'concat) out)
5271 (let rec ((sxml (xml->sxml in
5272 #:default-entity-handler
5274 (string-append "<ENTITY>"
5275 (symbol->string name)
5277 ;; We'd like to use sxml-match here, but it can't
5278 ;; match against generic tag symbols...
5280 (`(div (@ (class "links")) . ,rest)
5289 (add-before 'check 'patch-check
5290 (lambda* (#:key inputs #:allow-other-keys)
5291 (substitute* '("test/bloom.c" "test/hashtable.c")
5292 (("/usr/share/dict/words")
5293 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5295 (add-after 'install 'install-more
5296 (lambda* (#:key outputs #:allow-other-keys)
5297 (let* ((out (assoc-ref outputs "out"))
5298 (desktop (string-append out "/share/applications/"
5299 "netsurf.desktop")))
5300 (mkdir-p (dirname desktop))
5301 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5303 (substitute* desktop
5304 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk3"))
5305 (("netsurf.png") (string-append out "/share/netsurf/"
5307 (install-file "docs/netsurf-gtk.1"
5308 (string-append out "/share/man/man1/"))
5310 (home-page "https://www.netsurf-browser.org")
5311 (synopsis "Web browser")
5313 "NetSurf is a lightweight web browser that has its own layout and
5314 rendering engine entirely written from scratch. It is small and capable of
5315 handling many of the web standards in use today.")
5316 (license license:gpl2+)))
5318 (define-public surfraw
5325 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5326 "2de827b2786ef2fe43b6f07913ca7b7f/"
5327 "surfraw-" version ".tar.gz"))
5329 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5330 (build-system gnu-build-system)
5333 (modify-phases %standard-phases
5334 (add-before 'configure 'patch-perl
5335 (lambda* (#:key inputs #:allow-other-keys)
5336 (let ((perl (assoc-ref inputs "perl")))
5337 (substitute* "surfraw.IN"
5339 (string-append perl "/bin/perl -e")))
5341 (add-after 'install 'compress-elvi.1sr
5342 (lambda* (#:key outputs #:allow-other-keys)
5343 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5344 ;; but elvi.1sr does not get compressed by our manpage phase.
5345 (let* ((out (assoc-ref %outputs "out"))
5346 (man (string-append out "/share/man/man1")))
5347 (with-directory-excursion man
5348 (invoke "gzip" "elvi.1sr"))))))))
5351 ("perl-www-opensearch" ,perl-www-opensearch)
5352 ("perl-html-parser" ,perl-html-parser)
5353 ("perl-libwww" ,perl-libwww)))
5354 (synopsis "Unix command line interface to the www")
5355 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5356 provides a unix command line interface to a variety of popular www search engines
5357 and similar services.")
5358 (home-page "https://surfraw.alioth.debian.org/")
5359 (license license:public-domain)))
5361 (define-public darkhttpd
5368 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5369 version ".tar.bz2"))
5372 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5373 (build-system gnu-build-system)
5375 `(#:make-flags '("CC=gcc")
5376 #:tests? #f ; No test suite
5378 (modify-phases %standard-phases
5381 (lambda* (#:key outputs #:allow-other-keys)
5382 (install-file "darkhttpd"
5383 (string-append (assoc-ref outputs "out")
5386 (synopsis "Simple static web server")
5387 (description "darkhttpd is a simple static web server. It is
5388 standalone and does not need inetd or ucspi-tcp. It does not need any
5389 config files---you only have to specify the www root.")
5390 (home-page "https://unix4lyfe.org/darkhttpd/")
5391 (license license:isc)))
5393 (define-public goaccess
5399 (uri (string-append "http://tar.goaccess.io/goaccess-"
5403 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5404 (modules '((guix build utils)))
5406 (substitute* "src/error.h"
5407 (("__DATE__") "\"1970-01-01\"")
5408 (("__TIME__") "\"00:00:00\""))
5410 (build-system gnu-build-system)
5412 ;; TODO: Add dependency on geoip-tools.
5414 ("ncurses" ,ncurses)))
5416 `(("pkg-config" ,pkg-config)))
5417 (home-page "https://goaccess.io")
5418 (synopsis "Analyze Web server logs in real time")
5420 "GoAccess is a real-time web log analyzer and interactive viewer that
5421 runs in a terminal or through your browser. It provides fast and valuable
5422 HTTP statistics for system administrators that require a visual server report
5424 (license license:x11)))
5426 (define-public httptunnel
5433 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5434 name "-" version ".tar.gz"))
5437 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5438 (modules '((guix build utils)))
5440 ;; Remove non-free IETF RFC documentation.
5441 (delete-file-recursively "doc")
5443 (build-system gnu-build-system)
5446 (modify-phases %standard-phases
5447 ;; The default configure phase tries to pass environment variables as
5448 ;; command-line arguments, which confuses the ./configure script.
5450 (lambda* (#:key outputs #:allow-other-keys)
5451 (let* ((out (assoc-ref outputs "out")))
5452 (setenv "CONFIG_SHELL" (which "bash"))
5453 (invoke "./configure"
5454 (string-append "--prefix=" out))))))))
5455 (home-page "http://www.nocrew.org/software/httptunnel.html")
5456 (synopsis "Tunnel data connections through HTTP requests")
5457 (description "httptunnel creates a bidirectional virtual data connection
5458 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5459 useful for users behind restrictive firewalls. As long as Web traffic is
5460 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5461 tools like SSH (Secure Shell) to reach the outside world.")
5462 (license license:gpl2+)))
5464 (define-public stunnel
5471 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5474 (base32 "08kb4gi9fzqngrczykvba6xhaxhq9m4wmdbhxvgrva5rasrvz13k"))))
5475 (build-system gnu-build-system)
5478 `(("iproute" ,iproute)
5480 ("procps" ,procps)))
5481 (inputs `(("openssl" ,openssl)))
5484 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5486 (modify-phases %standard-phases
5487 (add-after 'unpack 'patch-output-directories
5489 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5490 (substitute* (list "Makefile.in"
5492 "tools/Makefile.in")
5494 (string-append "/doc/" ,name "-" ,version)))
5496 (add-before 'check 'patch-tests
5498 (substitute* "tests/make_test"
5500 (string-append (which "sh") " ")))
5502 (home-page "https://www.stunnel.org")
5503 (synopsis "TLS proxy for clients or servers")
5504 (description "Stunnel is a proxy designed to add TLS encryption
5505 functionality to existing clients and servers without any changes in the
5506 programs' code. Its architecture is optimized for security, portability, and
5507 scalability (including load-balancing), making it suitable for large
5509 (license license:gpl2+)))
5511 (define-public varnish
5514 (home-page "https://varnish-cache.org/")
5518 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5521 "1hkn98vbxk7rc1sd08367qn6rcv8wkxgwbmm1x46y50vi0nvldpn"))))
5522 (build-system gnu-build-system)
5524 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5525 ;; Use absolute path of GCC so it's found at runtime.
5526 (string-append "PTHREAD_CC="
5527 (assoc-ref %build-inputs "gcc")
5529 "--localstatedir=/var")
5531 (modify-phases %standard-phases
5532 (add-after 'unpack 'use-absolute-file-names
5534 (substitute* '("bin/varnishtest/vtc_varnish.c"
5535 "bin/varnishtest/vtc_process.c"
5536 "bin/varnishd/mgt/mgt_vcc.c"
5537 "bin/varnishtest/tests/u00014.vtc")
5538 (("/bin/sh") (which "sh")))
5539 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5540 (("rm -rf") (string-append (which "rm") " -rf")))
5541 (substitute* "bin/varnishtest/vtc_main.c"
5542 (("/bin/rm") (which "rm")))
5544 (add-before 'install 'patch-Makefile
5546 (substitute* "Makefile"
5547 ;; Do not create /var/varnish during install.
5548 (("^install-data-am: install-data-local") "install-data-am: "))
5550 (add-after 'install 'wrap-varnishd
5551 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5552 ;; environment variables to avoid propagating them to profiles.
5553 (lambda* (#:key inputs outputs #:allow-other-keys)
5554 (let* ((out (assoc-ref outputs "out"))
5555 (varnishd (string-append out "/sbin/varnishd"))
5556 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5557 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5558 (wrap-program varnishd
5559 ;; Add binutils to PATH so gcc finds the 'as' executable.
5560 `("PATH" ":" prefix (,PATH))
5561 ;; Make sure 'crti.o' et.al is found.
5562 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5565 `(("pkg-config" ,pkg-config)
5566 ("python-sphinx" ,python-sphinx)
5567 ("rst2man" ,python-docutils)))
5569 `(("jemalloc" ,jemalloc)
5570 ("ncurses" ,ncurses)
5572 ("python" ,python-wrapper)
5573 ("readline" ,readline)))
5574 (synopsis "Web application accelerator")
5576 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5577 reverse proxy and load balancer. You install it in front of any server that
5578 speaks HTTP and configure it to cache the contents through an extensive
5579 configuration language.")
5580 (license (list license:bsd-2 ;main distribution
5581 license:zlib ;lib/libvgz/*
5582 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5583 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5585 (define-public varnish-modules
5587 (name "varnish-modules")
5588 (home-page "https://github.com/varnish/varnish-modules")
5592 (uri (string-append "https://download.varnish-software.com"
5593 "/varnish-modules/varnish-modules-"
5597 "09li9lqa1kb275w1rby2zldyg8r9cfcl4qyv53qyd9xbzilrz751"))))
5598 (build-system gnu-build-system)
5600 `(("pkg-config" ,pkg-config)))
5602 `(("python" ,python)
5603 ("varnish" ,varnish)))
5604 (synopsis "Collection of Varnish modules")
5606 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5607 cache server, extending the @dfn{Varnish Configuration Language} (VCL) with
5608 additional capabilities.")
5609 (license license:bsd-2)))
5611 (define-public xinetd
5614 ;; This is the maintenance fork currently used by openSUSE and Debian.
5615 (version "2.3.15.4")
5620 (url "https://github.com/openSUSE/xinetd.git")
5622 (file-name (git-file-name name version))
5624 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5625 (build-system gnu-build-system)
5627 `(#:configure-flags '("--with-loadavg")
5628 #:tests? #f)) ; no tests
5630 `(("autoconf" ,autoconf)
5631 ("automake" ,automake)
5632 ("libtool" ,libtool)
5633 ("pkg-config" ,pkg-config)))
5634 (home-page "https://github.com/openSUSE/xinetd")
5635 (synopsis "Internet services daemon")
5636 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5637 listens for incoming requests over a network and launches the appropriate
5638 service for that request. Requests are made using port numbers as identifiers
5639 and xinetd usually launches another daemon to handle the request. It can be
5640 used to start services with both privileged and non-privileged port numbers.")
5641 (license (license:fsf-free "file://COPYRIGHT"))))
5643 (define-public tidy-html
5651 (url "https://github.com/htacg/tidy-html5")
5653 (file-name (git-file-name name version))
5656 "0w175c5d1babq0w1zzdzw9gl6iqbgyq58v8587s7srp05y3hwy9k"))))
5657 (build-system cmake-build-system)
5659 "static")) ; 1.3MiB of .a files
5661 `(#:tests? #f ; no tests available
5662 #:build-type "Release"
5664 (modify-phases %standard-phases
5665 (add-after 'install 'move-static-libraries
5666 (lambda* (#:key outputs #:allow-other-keys)
5667 ;; Move static libraries to the "static" output.
5668 (let* ((out (assoc-ref outputs "out"))
5669 (lib (string-append out "/lib"))
5670 (static (assoc-ref outputs "static"))
5671 (slib (string-append static "/lib")))
5673 (for-each (lambda (file)
5674 (install-file file slib)
5676 (find-files lib "\\.a$"))
5679 `(("libxslt" ,libxslt)))
5680 (home-page "http://www.html-tidy.org/")
5681 (synopsis "HTML Tidy with HTML5 support")
5683 "Tidy is a console application which corrects and cleans up
5684 HTML and XML documents by fixing markup errors and upgrading
5685 legacy code to modern standards.
5687 Tidy also provides @code{libtidy}, a C static and dynamic library that
5688 developers can integrate into their applications to make use of the
5689 functions of Tidy.")
5690 (license license:bsd-3)))
5692 (define-public hiawatha
5699 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5700 "hiawatha-" version ".tar.gz"))
5701 (modules '((guix build utils)))
5703 ;; We use packaged libraries, so delete the bundled copies.
5704 (for-each delete-file-recursively
5705 (list "extra/nghttp2.tgz" "mbedtls"))
5708 (base32 "1nd46cx1qp5lh2kwnn2mlwk9zm8jm7pgf90xs9vpwr7saxbnzr5m"))))
5709 (build-system cmake-build-system)
5711 `(#:tests? #f ; no tests included
5712 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5713 (string-append "-DENABLE_HTTP2=on")
5714 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
5715 (string-append "-DENABLE_TOMAHAWK=on")
5716 (string-append "-DLOG_DIR=/var/log/hiawatha")
5717 (string-append "-DPID_DIR=/run")
5718 (string-append "-DWEBROOT_DIR="
5719 (assoc-ref %outputs "out")
5720 "/share/hiawatha/html")
5721 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
5723 (modify-phases %standard-phases
5724 (add-after 'unpack 'install-no-empty-directories
5726 (substitute* "CMakeLists.txt"
5727 (("install\\(DIRECTORY DESTINATION" match)
5728 (string-append "#" match)))
5730 (add-after 'install 'wrap
5731 (lambda* (#:key inputs outputs #:allow-other-keys)
5732 ;; Make sure 'hiawatha' finds 'mbedtls'.
5733 (let* ((out (assoc-ref outputs "out"))
5734 (sbin (string-append out "/sbin"))
5735 (mbed (assoc-ref inputs "mbedtls-apache")))
5736 (wrap-program (string-append sbin "/hiawatha")
5737 `("PATH" ":" prefix (,mbed)))))))))
5739 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
5740 `(("libxslt" ,libxslt)
5741 ("libxml2" ,libxml2)
5742 ("mbedtls-apache" ,mbedtls-for-hiawatha)
5743 ("nghttp2" ,nghttp2 "lib")
5745 (home-page "https://www.hiawatha-webserver.org")
5746 (synopsis "Webserver with focus on security")
5748 "Hiawatha has been written with security in mind.
5749 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5751 (license license:gpl2)))
5753 (define-public python-httpbin
5755 (name "python-httpbin")
5760 (uri (pypi-uri "httpbin" version))
5763 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5764 (build-system python-build-system)
5766 `(("python-decorator" ,python-decorator)
5767 ("python-flask" ,python-flask)
5768 ("python-itsdangerous" ,python-itsdangerous)
5769 ("python-markupsafe" ,python-markupsafe)
5770 ("python-six" ,python-six)))
5771 (home-page "https://github.com/Runscope/httpbin")
5772 (synopsis "HTTP request and response service")
5773 (description "Testing an HTTP Library can become difficult sometimes.
5774 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5775 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5777 (license license:isc)))
5779 (define-public python2-httpbin
5780 (package-with-python2 python-httpbin))
5782 (define-public python-pytest-httpbin
5784 (name "python-pytest-httpbin")
5789 (uri (pypi-uri "pytest-httpbin" version))
5792 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5793 (build-system python-build-system)
5795 `(("python-six" ,python-six)
5796 ("python-httpbin" ,python-httpbin)
5797 ("python-pytest" ,python-pytest)))
5799 "https://github.com/kevin1024/pytest-httpbin")
5801 "Test your HTTP library against a local copy of httpbin")
5803 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5804 into your tests. It automatically starts up a HTTP server in a separate thread running
5805 @code{httpbin} and provides your test with the URL in the fixture.")
5806 (license license:expat)))
5808 (define-public python2-pytest-httpbin
5809 (package-with-python2 python-pytest-httpbin))
5811 (define-public http-parser
5813 (name "http-parser")
5815 (home-page "https://github.com/nodejs/http-parser")
5818 (uri (git-reference (url home-page)
5819 (commit (string-append "v" version))))
5820 (file-name (git-file-name name version))
5823 "189zi61vczqgmqjd2myjcjbbi5icrk7ccs0kn6nj8hxqiv5j3811"))))
5824 (build-system gnu-build-system)
5826 `(#:test-target "test"
5828 (list (string-append "PREFIX="
5829 (assoc-ref %outputs "out"))
5832 (modify-phases %standard-phases
5833 (delete 'configure))))
5834 (synopsis "HTTP request/response parser for C")
5835 (description "This is a parser for HTTP messages written in C. It parses
5836 both requests and responses. The parser is designed to be used in
5837 high-performance HTTP applications. It does not make any syscalls nor
5838 allocations, it does not buffer data, it can be interrupted at anytime.
5839 Depending on your architecture, it only requires about 40 bytes of data per
5840 message stream (in a web server that is per connection).")
5841 (license license:expat)))
5843 (define-public python-httpretty
5845 (name "python-httpretty")
5850 (uri (pypi-uri "httpretty" version))
5852 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
5853 (build-system python-build-system)
5855 `(("python-six" ,python-six)))
5857 `(("python-coverage" ,python-coverage)
5858 ("python-httplib2" ,python-httplib2)
5859 ("python-mock" ,python-mock)
5860 ("python-nose" ,python-nose)
5861 ("python-nose-randomly" ,python-nose-randomly)
5862 ("python-rednose" ,python-rednose)
5863 ("python-requests" ,python-requests)
5864 ("python-sure" ,python-sure)
5865 ("python-tornado" ,python-tornado)
5866 ("python-urllib3" ,python-urllib3)))
5867 (home-page "https://httpretty.readthedocs.io")
5868 (synopsis "HTTP client mock for Python")
5869 (description "@code{httpretty} is a helper for faking web requests,
5870 inspired by Ruby's @code{fakeweb}.")
5871 (license license:expat)))
5880 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
5881 version "/jo-" version ".tar.gz"))
5884 "0r6yb8pjsbcqfyac4240a0sj93pb91fv385bpk395cx3f5bcj9fy"))))
5885 (build-system gnu-build-system)
5886 (home-page "https://github.com/jpmens/jo")
5887 (synopsis "Output JSON from a shell")
5888 (description "jo is a command-line utility to create JSON objects or
5889 arrays. It creates a JSON string on stdout from words provided as
5890 command-line arguments or read from stdin.")
5891 (license (list license:gpl2+
5892 license:expat)))) ; json.c, json.h
5894 (define-public python-internetarchive
5896 (name "python-internetarchive")
5902 (url "https://github.com/jjjake/internetarchive")
5903 (commit (string-append "v" version))))
5904 (file-name (git-file-name name version))
5907 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
5908 (modules '((guix build utils)))
5911 ;; Python 3.7 removed `_pattern_type'.
5912 (for-each (lambda (file)
5915 (("^import re\n" line)
5916 (string-append line "re._pattern_type = re.Pattern\n"))))
5917 (find-files "." "\\.py$"))
5919 (build-system python-build-system)
5922 (modify-phases %standard-phases
5924 (add-after 'install 'check
5925 (lambda* (#:key inputs outputs #:allow-other-keys)
5926 (add-installed-pythonpath inputs outputs)
5927 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
5928 ":" (getenv "PATH")))
5929 (invoke "py.test" "-v" "-k"
5931 ;; These tests attempt to make a connection to
5932 ;; an external web service.
5933 "not test_get_item_with_kwargs"
5934 " and not test_ia")))))))
5936 `(("python-requests" ,python-requests)
5937 ("python-jsonpatch" ,python-jsonpatch-0.4)
5938 ("python-docopt" ,python-docopt)
5939 ("python-clint" ,python-clint)
5940 ("python-six" ,python-six)
5941 ("python-schema" ,python-schema-0.5)
5942 ("python-backports-csv" ,python-backports-csv)))
5944 `(("python-pytest" ,python-pytest)
5945 ("python-pytest-capturelog" ,python-pytest-capturelog)
5946 ("python-responses" ,python-responses)))
5947 (home-page "https://github.com/jjjake/internetarchive")
5948 (synopsis "Command-line interface to archive.org")
5949 (description "@code{ia} is a command-line tool for using
5950 @url{archive.org} from the command-line. It also emplements the
5951 internetarchive python module for programmatic access to archive.org.")
5952 (license license:agpl3+)))
5954 (define-public python-clf
5955 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
5962 (uri (pypi-uri "clf" version))
5965 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
5966 (build-system python-build-system)
5968 `(("python-docopt" ,python-docopt)
5969 ("python-pygments" ,python-pygments)
5970 ("python-requests" ,python-requests)
5971 ("python-nose" ,python-nose)
5972 ("python-lxml" ,python-lxml)
5973 ("python-pyaml" ,python-pyaml)))
5978 (uri (string-append "https://raw.githubusercontent.com"
5979 "/ncrocfer/clf/" commit-test-clf
5983 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
5986 (modify-phases %standard-phases
5987 (add-after 'unpack 'get-tests
5989 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
5994 ;; These tests require an Internet connection.
5995 "--exclude=test_browse"
5996 "--exclude=test_command"
5997 "--exclude=test_search"))))))
5998 (home-page "https://github.com/ncrocfer/clf")
5999 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
6000 (description "@code{clf} is a command line tool for searching code
6001 snippets on @url{https://commandlinefu.com}.")
6002 (license license:expat))))
6004 (define-public python2-clf
6005 (package-with-python2 python-clf))
6007 (define-public rss-bridge
6010 (version "2019-09-12")
6015 (url "https://github.com/RSS-Bridge/rss-bridge")
6017 (file-name (git-file-name name version))
6019 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
6020 (build-system trivial-build-system)
6022 '(#:modules ((guix build utils))
6025 (use-modules (guix build utils)
6027 (let* ((out (assoc-ref %outputs "out"))
6028 (share-rss-bridge (string-append out "/share/rss-bridge")))
6029 (mkdir-p share-rss-bridge)
6030 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
6032 (home-page "https://github.com/RSS-Bridge/rss-bridge")
6033 (synopsis "Generate Atom feeds for social networking websites")
6034 (description "rss-bridge generates Atom feeds for social networking
6035 websites lacking feeds. Supported websites include Facebook, Twitter,
6036 Instagram and YouTube.")
6037 (license (list license:public-domain
6038 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
6040 (define-public linkchecker
6042 (name "linkchecker")
6048 (url "https://github.com/linkchecker/linkchecker")
6049 (commit (string-append "v" version))))
6051 (search-patches "linkchecker-tests-require-network.patch"))
6052 (file-name (git-file-name name version))
6055 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
6056 (build-system python-build-system)
6058 `(("python2-dnspython" ,python2-dnspython)
6059 ("python2-pyxdg" ,python2-pyxdg)
6060 ("python2-requests" ,python2-requests)))
6062 `(("gettext" ,gettext-minimal)
6063 ("python2-pytest" ,python2-pytest)
6064 ("python2-miniboa" ,python2-miniboa)
6065 ("python2-parameterized" ,python2-parameterized)))
6067 `(#:python ,python-2
6069 (modify-phases %standard-phases
6070 ;; Move the 'check phase to after 'install, so that the installed
6071 ;; library can be used
6073 (add-after 'install 'check
6074 (lambda* (#:key outputs #:allow-other-keys)
6075 (let ((out (assoc-ref outputs "out")))
6076 ;; Set PYTHONPATH so that the installed linkchecker is used
6077 (setenv "PYTHONPATH"
6078 (string-append out "/lib/python2.7/site-packages"
6080 (getenv "PYTHONPATH")))
6081 ;; Remove this directory to avoid it being used when running
6083 (delete-file-recursively "linkcheck")
6085 (invoke "py.test" "tests"))
6087 (home-page "https://linkcheck.github.io/linkchecker")
6088 (synopsis "Check websites for broken links")
6089 (description "LinkChecker is a website validator. It checks for broken
6090 links in websites. It is recursive and multithreaded providing output in
6091 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
6092 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
6094 (license (list license:gpl2+
6095 license:bsd-2 ; linkcheck/better_exchook2.py
6096 license:bsd-3 ; linkcheck/colorama.py
6097 license:psfl ; linkcheck/gzip2.py
6098 license:expat)))) ; linkcheck/mem.py
6100 (define-public cadaver
6107 (uri (string-append "http://www.webdav.org/cadaver/"
6108 name "-" version ".tar.gz"))
6111 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
6112 (build-system gnu-build-system)
6113 ;; TODO: Unbundle libneon and make build succeed with new neon.
6115 `(#:configure-flags (list "--with-ssl=openssl")
6116 #:tests? #f)) ;No tests included
6118 `(("gettext" ,gnu-gettext)
6119 ("pkg-config" ,pkg-config)
6120 ("intltool" ,intltool)))
6123 ("openssl" ,openssl)))
6124 (home-page "http://www.webdav.org/cadaver/")
6125 (synopsis "Command-line WebDAV client")
6127 "Cadaver is a command-line WebDAV client for Unix. It supports
6128 file upload, download, on-screen display, namespace operations (move/copy),
6129 collection creation and deletion, and locking operations.")
6130 (license license:gpl2)))
6132 (define-public python-py-ubjson
6134 (name "python-py-ubjson")
6139 (uri (pypi-uri "py-ubjson" version))
6142 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
6143 (build-system python-build-system)
6144 (home-page "https://github.com/Iotic-Labs/py-ubjson")
6145 (synopsis "Universal Binary JSON encoder/decoder")
6147 "Py-ubjson is a Python module providing an Universal Binary JSON
6148 encoder/decoder based on the draft-12 specification for UBJSON.")
6149 (license license:asl2.0)))
6151 (define-public java-tomcat
6153 (name "java-tomcat")
6157 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6158 version "/src/apache-tomcat-" version "-src.tar.gz"))
6161 "15lwq3clf21hzk7mma70sffpxjqn8ww5mjq6zhmwcp4m17m22z26"))
6162 (modules '((guix build utils)))
6163 ;; Delete bundled jars.
6166 (for-each delete-file (find-files "." "\\.jar$"))
6167 (for-each delete-file (find-files "." "\\.bat$"))
6169 (build-system ant-build-system)
6171 `(("java-commons-daemon" ,java-commons-daemon)
6172 ("java-ecj" ,java-ecj)))
6174 `(#:build-target "deploy"
6175 #:tests? #f; requires downloading some files.
6177 (modify-phases %standard-phases
6178 (add-after 'unpack 'prevent-download
6180 ;; This directory must exist
6182 ;; We patch build.xml so it doesn't download any dependency, because
6183 ;; we already have all of them.
6184 (substitute* "build.xml"
6185 (("download-compile,") "")
6186 (("depends=\"validate\"") "depends=\"build-prepare\"")
6187 ((",download-validate") ""))
6189 (add-after 'unpack 'strip-timestamps
6191 (substitute* "build.xml"
6192 (("<filter token=\"YEAR\" value=.*")
6193 "<filter token=\"YEAR\" value=\"1970\"/>")
6194 (("<filter token=\"VERSION_BUILT\" value=.*")
6195 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6197 (add-after 'unpack 'modify-deploy
6199 ;; The Tomcat build downloads and copies these files to the
6200 ;; bin and lib directory.
6201 ;; We instead symlink to the input (see below).
6202 (substitute* "build.xml"
6203 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6204 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6207 (add-after 'install 'symlink-commons-daemon
6208 (lambda* (#:key inputs outputs #:allow-other-keys)
6209 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6210 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6211 (daemon-jar (car files))
6212 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6213 (target (string-append out-bin "/commons-daemon.jar")))
6214 (symlink daemon-jar target)
6216 (add-after 'install 'symlink-java-ecj
6217 (lambda* (#:key inputs outputs #:allow-other-keys)
6218 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6219 (files (find-files java-ecj "ecj.*\\.jar"))
6220 (java-ecj-jar (car files))
6221 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6222 (target (string-append out-lib "/java-ecj.jar")))
6223 (symlink java-ecj-jar target)
6225 (add-after 'unpack 'generate-properties
6227 ;; This could have been passed to make-flags, but getcwd returns
6228 ;; a different directory then.
6229 (with-output-to-file "build.properties"
6232 (string-append "base.path=" (getcwd) "/downloads\n"))))
6235 (lambda* (#:key outputs #:allow-other-keys)
6236 (let ((out (assoc-ref outputs "out")))
6237 (copy-recursively "output/build" out))
6239 (properties '((cpe-name . "tomcat")))
6240 (home-page "https://tomcat.apache.org")
6241 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6243 (description "Apache Tomcat is a free implementation of the Java
6244 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6246 (license license:asl2.0)))
6248 (define-public java-eclipse-jetty-test-helper
6250 (name "java-eclipse-jetty-test-helper")
6254 (uri (string-append "https://github.com/eclipse/jetty.toolchain/"
6255 "archive/jetty-test-helper-" version ".tar.gz"))
6258 "1jd6r9wc26fa11si4rn2gvy8ml8q4zw1nr6v04mjp8wvwpgvzwx5"))))
6259 (build-system ant-build-system)
6261 `(#:jar-name "eclipse-jetty-test-helper.jar"
6262 #:source-dir "src/main/java"
6263 #:test-dir "src/test"
6266 (modify-phases %standard-phases
6267 (add-before 'configure 'chdir
6269 (chdir "jetty-test-helper")
6271 (add-before 'build 'fix-paths
6274 ;; This file assumes that the build directory is named "target"
6275 ;; but it is not the case with our ant-build-system. Once we have
6276 ;; maven though, we will have to rebuild this package because this
6277 ;; assumption is correct with maven-build-system.
6279 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6280 (("\"target\"") "\"build\"")
6281 (("\"tests\"") "\"test-classes\""))
6282 ;; Tests assume we are building with maven, so that the build
6283 ;; directory is named "target", and not "build".
6284 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6285 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6286 "MavenTestingUtilsTest.java")
6287 (("target/tests") "build/test-classes")
6288 (("\"target") "\"build")))
6291 `(("junit" ,java-junit)
6292 ("hamcrest" ,java-hamcrest-all)))
6293 (home-page "https://www.eclipse.org/jetty/")
6294 (synopsis "Helper classes for jetty tests")
6295 (description "This package contains helper classes for testing the Jetty
6297 ;; This program is licensed under both epl and asl.
6298 (license (list license:epl1.0 license:asl2.0))))
6300 (define-public java-eclipse-jetty-perf-helper
6302 (inherit java-eclipse-jetty-test-helper)
6303 (name "java-eclipse-jetty-perf-helper")
6305 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6306 #:source-dir "src/main/java"
6307 #:tests? #f; no tests
6310 (modify-phases %standard-phases
6311 (add-before 'configure 'chdir
6313 (chdir "jetty-perf-helper")
6316 `(("hdrhistogram" ,java-hdrhistogram)))))
6318 (define-public java-eclipse-jetty-util
6320 (name "java-eclipse-jetty-util")
6324 (uri (string-append "https://github.com/eclipse/jetty.project/"
6325 "archive/jetty-" version ".v20170531.tar.gz"))
6328 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6329 (build-system ant-build-system)
6331 `(#:jar-name "eclipse-jetty-util.jar"
6332 #:source-dir "src/main/java"
6334 (list "**/Abstract*.java"
6336 "**/InetAddressSetTest.java"
6337 ;; Assumes we are using maven
6338 "**/TypeUtilTest.java"
6339 ;; Error on the style of log
6340 "**/StdErrLogTest.java")
6343 (modify-phases %standard-phases
6344 (add-before 'configure 'chdir
6346 (chdir "jetty-util")
6349 `(("slf4j" ,java-slf4j-api)
6350 ("servlet" ,java-javaee-servletapi)))
6352 `(("junit" ,java-junit)
6353 ("hamcrest" ,java-hamcrest-all)
6354 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6355 ("test-helper" ,java-eclipse-jetty-test-helper)))
6356 (home-page "https://www.eclipse.org/jetty/")
6357 (synopsis "Utility classes for Jetty")
6358 (description "The Jetty Web Server provides an HTTP server and Servlet
6359 container capable of serving static and dynamic content either from a standalone
6360 or embedded instantiation. This package provides utility classes.")
6361 (license (list license:epl1.0 license:asl2.0))))
6363 ;; This version is required by maven-wagon
6364 (define-public java-eclipse-jetty-util-9.2
6366 (inherit java-eclipse-jetty-util)
6370 (uri (string-append "https://github.com/eclipse/jetty.project/"
6371 "archive/jetty-" version ".v20170606.tar.gz"))
6374 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6376 `(#:jar-name "eclipse-jetty-util.jar"
6377 #:source-dir "src/main/java"
6380 (list "**/Abstract*.java"
6382 "**/InetAddressSetTest.java"
6383 ;; Assumes we are using maven
6384 "**/TypeUtilTest.java"
6385 ;; We don't have an implementation for slf4j
6387 ;; Error on the style of log
6388 "**/StdErrLogTest.java")
6390 (modify-phases %standard-phases
6391 (add-before 'configure 'chdir
6393 (chdir "jetty-util")
6395 (add-before 'build 'fix-test-sources
6397 ;; We need to fix issues caused by changes in newer versions of
6398 ;; jetty-test-helper
6399 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6400 (substitute* (string-append src "/AbstractFSResourceTest.java")
6401 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6402 (("testdir.getFile\\(\"foo\"\\)")
6403 "testdir.getPathFile(\"foo\").toFile()")
6404 (("testdir.getFile\\(name\\)")
6405 "testdir.getPathFile(name).toFile()")))
6408 (define-public java-eclipse-jetty-io
6410 (inherit java-eclipse-jetty-util)
6411 (name "java-eclipse-jetty-io")
6413 `(#:jar-name "eclipse-jetty-io.jar"
6414 #:source-dir "src/main/java"
6416 #:test-exclude (list "**/Abstract*.java"
6418 "**/EndPointTest.java")
6420 (modify-phases %standard-phases
6421 (add-before 'configure 'chdir
6426 `(("slf4j" ,java-slf4j-api)
6427 ("servlet" ,java-javaee-servletapi)
6428 ("util" ,java-eclipse-jetty-util)))
6429 (synopsis "Jetty :: IO Utility")
6430 (description "The Jetty Web Server provides an HTTP server and Servlet
6431 container capable of serving static and dynamic content either from a standalone
6432 or embedded instantiation. This package provides IO-related utility classes.")))
6434 (define-public java-eclipse-jetty-io-9.2
6436 (inherit java-eclipse-jetty-io)
6437 (version (package-version java-eclipse-jetty-util-9.2))
6438 (source (package-source java-eclipse-jetty-util-9.2))
6440 `(("util" ,java-eclipse-jetty-util-9.2)
6441 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6443 `(("mockito" ,java-mockito-1)
6444 ("cglib" ,java-cglib)
6445 ("objenesis" ,java-objenesis)
6447 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6449 (define-public java-eclipse-jetty-http
6451 (inherit java-eclipse-jetty-util)
6452 (name "java-eclipse-jetty-http")
6454 `(#:jar-name "eclipse-jetty-http.jar"
6455 #:source-dir "src/main/java"
6458 (modify-phases %standard-phases
6459 (add-before 'configure 'chdir
6461 (chdir "jetty-http")
6463 (add-before 'build 'copy-resources
6465 (mkdir-p "build/classes")
6466 (copy-recursively "src/main/resources/" "build/classes/")
6469 `(("slf4j" ,java-slf4j-api)
6470 ("servlet" ,java-javaee-servletapi)
6471 ("io" ,java-eclipse-jetty-io)
6472 ("util" ,java-eclipse-jetty-util)))
6473 (synopsis "Jetty :: Http Utility")
6474 (description "The Jetty Web Server provides an HTTP server and Servlet
6475 container capable of serving static and dynamic content either from a standalone
6476 or embedded instantiation. This package provides HTTP-related utility classes.")))
6478 (define-public java-eclipse-jetty-http-9.2
6480 (inherit java-eclipse-jetty-http)
6481 (version (package-version java-eclipse-jetty-util-9.2))
6482 (source (package-source java-eclipse-jetty-util-9.2))
6484 `(("util" ,java-eclipse-jetty-util-9.2)
6485 ("io" ,java-eclipse-jetty-io-9.2)
6486 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6488 (define-public java-eclipse-jetty-jmx
6490 (inherit java-eclipse-jetty-util)
6491 (name "java-eclipse-jetty-jmx")
6493 `(#:jar-name "eclipse-jetty-jmx.jar"
6494 #:source-dir "src/main/java"
6496 #:tests? #f; FIXME: requires com.openpojo.validation
6498 (modify-phases %standard-phases
6499 (add-before 'configure 'chdir
6504 `(("slf4j" ,java-slf4j-api)
6505 ("servlet" ,java-javaee-servletapi)
6506 ("util" ,java-eclipse-jetty-util)))
6507 (synopsis "Jetty :: JMX Management")
6508 (description "The Jetty Web Server provides an HTTP server and Servlet
6509 container capable of serving static and dynamic content either from a standalone
6510 or embedded instantiation. This package provides the JMX management.")))
6512 (define-public java-eclipse-jetty-jmx-9.2
6514 (inherit java-eclipse-jetty-jmx)
6515 (version (package-version java-eclipse-jetty-util-9.2))
6516 (source (package-source java-eclipse-jetty-util-9.2))
6518 `(("util" ,java-eclipse-jetty-util-9.2)
6519 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6521 (define java-eclipse-jetty-http-test-classes
6523 (inherit java-eclipse-jetty-util)
6524 (name "java-eclipse-jetty-http-test-classes")
6526 `(#:jar-name "eclipse-jetty-http.jar"
6527 #:source-dir "src/test"
6531 (modify-phases %standard-phases
6532 (add-before 'configure 'chdir
6534 (chdir "jetty-http")
6537 `(("slf4j" ,java-slf4j-api)
6538 ("java-javaee-servletapi" ,java-javaee-servletapi)
6539 ("http" ,java-eclipse-jetty-http)
6540 ("io" ,java-eclipse-jetty-io)
6541 ("util" ,java-eclipse-jetty-util)))))
6543 (define java-eclipse-jetty-http-test-classes-9.2
6545 (inherit java-eclipse-jetty-http-test-classes)
6546 (version (package-version java-eclipse-jetty-util-9.2))
6547 (source (package-source java-eclipse-jetty-util-9.2))
6549 `(("http" ,java-eclipse-jetty-http-9.2)
6550 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6552 (define-public java-eclipse-jetty-server
6554 (inherit java-eclipse-jetty-util)
6555 (name "java-eclipse-jetty-server")
6557 `(#:jar-name "eclipse-jetty-server.jar"
6558 #:source-dir "src/main/java"
6560 #:tests? #f; requires a mockito version we don't have
6562 (modify-phases %standard-phases
6563 (add-before 'configure 'chdir
6565 (chdir "jetty-server")
6567 (add-before 'build 'fix-source
6569 ;; Explicit casts to prevent build failures
6570 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6571 (("append\\(LazyList")
6572 "append((CharSequence)LazyList"))
6574 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6576 "Class<\\? extends EventListener> clazz = _classLoader==null"
6577 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6578 "_classLoader.loadClass\\(className\\);"))
6579 (string-append "Class<? extends EventListener> clazz = "
6580 "(Class<? extends EventListener>) "
6581 "(_classLoader==null?Loader.loadClass("
6582 "ContextHandler.class,className):"
6583 "_classLoader.loadClass(className));")))
6586 `(("slf4j" ,java-slf4j-api)
6587 ("servlet" ,java-javaee-servletapi)
6588 ("http" ,java-eclipse-jetty-http)
6589 ("io" ,java-eclipse-jetty-io)
6590 ("jmx" ,java-eclipse-jetty-jmx)
6591 ("util" ,java-eclipse-jetty-util)))
6593 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6594 ,@(package-native-inputs java-eclipse-jetty-util)))
6595 (synopsis "Core jetty server artifact")
6596 (description "The Jetty Web Server provides an HTTP server and Servlet
6597 container capable of serving static and dynamic content either from a standalone
6598 or embedded instantiation. This package provides the core jetty server
6601 (define-public java-eclipse-jetty-server-9.2
6603 (inherit java-eclipse-jetty-server)
6604 (version (package-version java-eclipse-jetty-util-9.2))
6605 (source (package-source java-eclipse-jetty-util-9.2))
6607 `(("util" ,java-eclipse-jetty-util-9.2)
6608 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6609 ("io" ,java-eclipse-jetty-io-9.2)
6610 ("http" ,java-eclipse-jetty-http-9.2)
6611 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6613 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6614 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6616 (define-public java-eclipse-jetty-security
6618 (inherit java-eclipse-jetty-util)
6619 (name "java-eclipse-jetty-security")
6621 `(#:jar-name "eclipse-jetty-security.jar"
6622 #:source-dir "src/main/java"
6624 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
6626 (modify-phases %standard-phases
6627 (add-before 'configure 'chdir
6629 (chdir "jetty-security")
6632 `(("slf4j" ,java-slf4j-api)
6633 ("servlet" ,java-javaee-servletapi)
6634 ("http" ,java-eclipse-jetty-http)
6635 ("server" ,java-eclipse-jetty-server)
6636 ("util" ,java-eclipse-jetty-util)))
6638 `(("io" ,java-eclipse-jetty-io)
6639 ,@(package-native-inputs java-eclipse-jetty-util)))
6640 (synopsis "Jetty security infrastructure")
6641 (description "The Jetty Web Server provides an HTTP server and Servlet
6642 container capable of serving static and dynamic content either from a standalone
6643 or embedded instantiation. This package provides the core jetty security
6646 (define-public java-eclipse-jetty-security-9.2
6648 (inherit java-eclipse-jetty-security)
6649 (version (package-version java-eclipse-jetty-util-9.2))
6650 (source (package-source java-eclipse-jetty-util-9.2))
6652 `(("util" ,java-eclipse-jetty-util-9.2)
6653 ("http" ,java-eclipse-jetty-http-9.2)
6654 ("server" ,java-eclipse-jetty-server-9.2)
6655 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6657 `(("io" ,java-eclipse-jetty-io-9.2)
6658 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6660 (define-public java-eclipse-jetty-servlet
6662 (inherit java-eclipse-jetty-util)
6663 (name "java-eclipse-jetty-servlet")
6665 `(#:jar-name "eclipse-jetty-servlet.jar"
6666 #:source-dir "src/main/java"
6669 (modify-phases %standard-phases
6670 (add-before 'configure 'chdir
6672 (chdir "jetty-servlet")
6675 `(("slf4j" ,java-slf4j-api)
6676 ("java-javaee-servletapi" ,java-javaee-servletapi)
6677 ("http" ,java-eclipse-jetty-http)
6678 ("http-test" ,java-eclipse-jetty-http-test-classes)
6679 ("io" ,java-eclipse-jetty-io)
6680 ("jmx" ,java-eclipse-jetty-jmx)
6681 ("security" ,java-eclipse-jetty-security)
6682 ("server" ,java-eclipse-jetty-server)
6683 ("util" ,java-eclipse-jetty-util)))
6684 (synopsis "Jetty Servlet Container")
6685 (description "The Jetty Web Server provides an HTTP server and Servlet
6686 container capable of serving static and dynamic content either from a standalone
6687 or embedded instantiation. This package provides the core jetty servlet
6690 (define-public java-eclipse-jetty-servlet-9.2
6692 (inherit java-eclipse-jetty-servlet)
6693 (version (package-version java-eclipse-jetty-util-9.2))
6694 (source (package-source java-eclipse-jetty-util-9.2))
6696 `(#:jar-name "eclipse-jetty-servlet.jar"
6697 #:source-dir "src/main/java"
6699 #:tests? #f; doesn't work
6701 (modify-phases %standard-phases
6702 (add-before 'configure 'chdir
6704 (chdir "jetty-servlet")
6707 `(("util" ,java-eclipse-jetty-util-9.2)
6708 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6709 ("io" ,java-eclipse-jetty-io-9.2)
6710 ("http" ,java-eclipse-jetty-http-9.2)
6711 ("security" ,java-eclipse-jetty-security-9.2)
6712 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
6713 ("server" ,java-eclipse-jetty-server-9.2)
6714 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6716 (define-public java-eclipse-jetty-xml
6718 (inherit java-eclipse-jetty-util)
6719 (name "java-eclipse-jetty-xml")
6721 `(#:jar-name "eclipse-jetty-xml.jar"
6722 #:source-dir "src/main/java"
6724 #:tests? #f; most tests require network
6726 (modify-phases %standard-phases
6727 (add-before 'configure 'chdir
6732 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
6734 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6735 ,@(package-native-inputs java-eclipse-jetty-util)))))
6737 (define-public java-eclipse-jetty-xml-9.2
6739 (inherit java-eclipse-jetty-xml)
6740 (version (package-version java-eclipse-jetty-util-9.2))
6741 (source (package-source java-eclipse-jetty-util-9.2))
6743 `(#:jar-name "eclipse-jetty-xml.jar"
6744 #:source-dir "src/main/java"
6746 #:tests? #f; most tests require network
6748 (modify-phases %standard-phases
6749 (add-before 'configure 'chdir
6754 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6755 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6757 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6758 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6760 (define-public java-eclipse-jetty-webapp
6762 (inherit java-eclipse-jetty-util)
6763 (name "java-eclipse-jetty-webapp")
6765 `(#:jar-name "eclipse-jetty-webapp.jar"
6766 #:source-dir "src/main/java"
6769 #:test-exclude (list "**/WebAppContextTest.java")
6771 (modify-phases %standard-phases
6772 (add-before 'configure 'chdir
6774 (chdir "jetty-webapp")
6777 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
6778 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
6779 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
6780 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
6781 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
6782 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
6783 ("java-javaee-servletapi" ,java-javaee-servletapi)))
6785 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6786 ,@(package-native-inputs java-eclipse-jetty-util)))))
6788 (define-public java-eclipse-jetty-webapp-9.2
6790 (inherit java-eclipse-jetty-webapp)
6791 (version (package-version java-eclipse-jetty-util-9.2))
6792 (source (package-source java-eclipse-jetty-util-9.2))
6794 `(#:jar-name "eclipse-jetty-webapp.jar"
6795 #:source-dir "src/main/java"
6797 #:test-exclude (list "**/WebAppContextTest.java")
6799 (modify-phases %standard-phases
6800 (add-before 'configure 'chdir
6802 (chdir "jetty-webapp")
6805 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6806 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
6807 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
6808 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
6809 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
6810 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
6811 ("java-javaee-servletapi" ,java-javaee-servletapi)
6812 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6814 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6815 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6817 (define-public java-jsoup
6824 (url "https://github.com/jhy/jsoup")
6825 (commit (string-append "jsoup-" version))))
6826 (file-name (git-file-name name version))
6829 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
6830 (build-system ant-build-system)
6832 `(#:jar-name "jsoup.jar"
6833 #:source-dir "src/main/java"
6835 (modify-phases %standard-phases
6836 (add-before 'build 'copy-resources
6838 (let ((classes-dir (string-append (getcwd) "/build/classes")))
6839 (with-directory-excursion "src/main/java"
6840 (for-each (lambda (file)
6841 (let ((dist (string-append classes-dir "/" file)))
6842 (mkdir-p (dirname dist))
6843 (copy-file file dist)))
6844 (find-files "." ".*.properties"))))
6847 `(("java-junit" ,java-junit)
6848 ("java-hamcrest-core" ,java-hamcrest-core)
6849 ("java-gson" ,java-gson)))
6850 (home-page "https://jsoup.org")
6851 (synopsis "HTML parser")
6852 (description "Jsoup is a Java library for working with real-world HTML. It
6853 provides a very convenient API for extracting and manipulating data, using the
6854 best of DOM, CSS, and jQuery-like methods.")
6855 (license license:expat)))
6857 (define-public java-signpost-core
6859 (name "java-signpost-core")
6864 (url "https://github.com/mttkay/signpost")
6866 (file-name (git-file-name name version))
6869 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
6870 (build-system ant-build-system)
6872 `(#:jar-name "signpost-core.jar"
6873 #:source-dir "signpost-core/src/main/java"
6874 #:test-dir "signpost-core/src/test"
6875 ;; Tests all fail with InstantiationException from mockito
6878 `(("java-commons-codec" ,java-commons-codec)))
6879 (home-page "https://github.com/mttkay/signpost")
6880 (synopsis "Lightweight client-side OAuth library for Java")
6881 (description "Signpost is the easy and intuitive solution for signing
6882 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
6883 standard. Signpost follows a modular and flexible design, allowing you to
6884 combine it with different HTTP messaging layers.")
6885 (license license:asl2.0)))
6887 (define-public tidyp
6894 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
6898 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
6899 (build-system gnu-build-system)
6900 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
6901 (arguments `(#:tests? #f))
6902 (home-page "http://www.tidyp.com/")
6903 (synopsis "Validate HTML")
6904 (description "Tidyp is a program that can validate your HTML, as well as
6905 modify it to be more clean and standard. tidyp does not validate HTML 5.
6907 libtidyp is the library on which the program is based. It can be used by any
6908 other program that can interface to it. The Perl module @code{HTML::Tidy} is
6909 based on this library, allowing Perl programmers to easily validate HTML.")
6910 ;; See htmldoc/license.html
6911 (license license:bsd-3)))
6913 (define-public perl-html-tidy
6915 (name "perl-html-tidy")
6920 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
6924 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
6925 (build-system perl-build-system)
6928 (modify-phases %standard-phases
6929 (add-after 'unpack 'fix-tidyp-paths
6930 (lambda* (#:key inputs #:allow-other-keys)
6931 (substitute* "Makefile.PL"
6932 (("^my \\$inc = \"" line)
6934 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
6937 "-L" (assoc-ref inputs "tidyp") "/lib")))
6940 `(("perl-libwww" ,perl-libwww)
6943 `(("perl-test-exception" ,perl-test-exception)))
6944 (home-page "https://metacpan.org/release/HTML-Tidy")
6945 (synopsis "(X)HTML validation in a Perl object")
6946 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
6947 object. It's meant as a replacement for @code{HTML::Lint}, which is written
6948 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
6949 (license license:artistic2.0)))
6951 (define-public geomyidae
6959 (url "git://r-36.net/geomyidae")
6960 (commit (string-append "v" version))))
6961 (file-name (git-file-name name version))
6963 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
6964 (build-system gnu-build-system)
6966 `(#:make-flags (list "CC=gcc"
6967 (string-append "PREFIX="
6968 (assoc-ref %outputs "out")))
6969 #:tests? #f ; no tests
6970 #:phases (modify-phases %standard-phases
6971 (delete 'configure))))
6972 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
6973 (synopsis "Small Gopher server")
6975 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
6979 @item Gopher menus (see @file{index.gph} for an example);
6980 @item directory listings (if no @file{index.gph} was found);
6981 @item CGI support (@file{.cgi} files are executed);
6982 @item search support in CGI files;
6983 @item logging with multiple log levels.
6985 (license license:expat)))
6987 (define-public cat-avatar-generator
6989 (name "cat-avatar-generator")
6994 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
6995 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
6996 (file-name (string-append name "-" version))
6999 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
7000 (build-system trivial-build-system)
7002 `(#:modules ((guix build utils))
7005 (use-modules (guix build utils)
7009 (let ((source (assoc-ref %build-inputs "source"))
7010 (php-dir (string-append %output "/share/web/" ,name "/")))
7011 ;; The cache directory must not be in the store, but in a writable
7012 ;; location. The webserver will give us this location.
7013 (copy-recursively source php-dir)
7014 (substitute* (string-append php-dir "/cat-avatar-generator.php")
7015 (("\\$cachepath = .*")
7016 "if(isset($_SERVER['CACHE_DIR']))
7017 $cachepath = $_SERVER['CACHE_DIR'];
7019 die('You need to set the CACHE_DIR variable first.');"))
7021 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
7022 (synopsis "Random avatar generator")
7023 (description "Cat avatar generator is a generator of cat pictures optimised
7024 to generate random avatars, or defined avatar from a \"seed\". This is a
7025 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
7026 ;; expat for the code, CC-BY 4.0 for the artwork
7027 (license (list license:expat
7028 license:cc-by4.0))))
7030 (define-public nghttp2
7034 (replacement nghttp2-1.39.2)
7038 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7039 "releases/download/v" version "/"
7040 "nghttp2-" version ".tar.xz"))
7043 "0j0lk37k8k3f61r9nw647hg4b22z1753l36n3xrp9x01civ614b7"))))
7044 (build-system gnu-build-system)
7045 (outputs (list "out"
7046 "lib")) ; only libnghttp2
7048 `(("pkg-config" ,pkg-config)
7050 ;; Required by tests.
7052 ("tzdata" ,tzdata-for-tests)))
7054 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
7055 `(("c-ares" ,c-ares)
7056 ("jansson" ,jansson) ; for HPACK tools
7057 ("jemalloc" ,jemalloc) ; fight nghttpd{,x} heap fragmentation
7059 ("libxml2" ,libxml2) ; for ‘nghttp -a’
7060 ("openssl" ,openssl)))
7063 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
7064 "--enable-app" ; build all the tools
7065 "--enable-hpack-tools" ; ...all the tools
7066 "--disable-examples"
7067 "--disable-static") ; don't bother building .a files
7069 (modify-phases %standard-phases
7070 (add-after 'unpack 'break-circular-reference
7071 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
7072 ;; which is not allowed. Break this cycle. While we could install
7073 ;; only the library to ‘out’ and move everything else to a separate
7074 ;; output, this would inconvenience the majority of (human) users.
7075 (lambda* (#:key outputs #:allow-other-keys)
7076 (substitute* "lib/libnghttp2.pc.in"
7078 (assoc-ref outputs "lib")))
7080 (add-before 'check 'set-timezone-directory
7081 (lambda* (#:key inputs #:allow-other-keys)
7082 (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
7085 (home-page "https://nghttp2.org/")
7086 (synopsis "HTTP/2 protocol client, proxy, server, and library")
7088 "nghttp2 implements the Hypertext Transfer Protocol, version
7091 A reusable C library provides the HTTP/2 framing layer, with several tools built
7095 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
7096 and low-level aspects of the protocol and is useful for debugging.
7097 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
7098 serves files from a local directory.
7099 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
7100 deployed in front of existing web servers that don't support HTTP/2.
7101 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
7102 backwards compatibility with clients that don't speak HTTP/2.
7103 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
7104 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
7105 nghttp2 provides a HPACK encoder and decoder as part of its public API.
7106 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
7107 compressed JSON header blocks.
7108 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
7110 (license license:expat)))
7112 (define nghttp2-1.39.2
7118 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7119 "releases/download/v" version "/"
7120 "nghttp2-" version ".tar.xz"))
7123 "12yfsjghbaypp4w964d45ih9vs38g6anih80wbsflaxx192idlm2"))))))
7125 ;; 'Node' requires this newer version, to be removed on the next rebuild cycle.
7126 (define-public nghttp2-1.40
7132 (uri (string-append "https://github.com/nghttp2/nghttp2/"
7133 "releases/download/v" version "/"
7134 "nghttp2-" version ".tar.xz"))
7137 "0wwhwv7cvi1vxpdjwvg0kpa4jzhszclpnwrwfcw728zz53a47z09"))))))
7139 (define-public hpcguix-web
7140 (let ((commit "f39c90b35e99e4122b0866ec4337020d61c81508")
7143 (name "hpcguix-web")
7144 (version (git-version "0.0.1" revision commit))
7148 (url "https://github.com/UMCUGenetics/hpcguix-web.git")
7150 (file-name (git-file-name name version))
7153 "0idzzlwnaymk6hm5q9nh146h5m6vd8acp32vlmzp6qq08mimfkq7"))))
7154 (build-system gnu-build-system)
7156 `(#:modules ((guix build gnu-build-system)
7162 (modify-phases %standard-phases
7163 (add-before 'configure 'set-variables
7165 ;; This prevents a few warnings
7166 (setenv "GUILE_AUTO_COMPILE" "0")
7167 (setenv "XDG_CACHE_HOME" (getcwd))
7169 (add-after 'install 'wrap-program
7170 (lambda* (#:key inputs outputs #:allow-other-keys)
7171 (let* ((out (assoc-ref outputs "out"))
7172 (guix (assoc-ref inputs "guix"))
7173 (guile (assoc-ref inputs "guile"))
7174 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7175 (git (assoc-ref inputs "guile-git"))
7176 (bs (assoc-ref inputs "guile-bytestructures"))
7177 (json (assoc-ref inputs "guile-json"))
7178 (guile-cm (assoc-ref inputs
7179 "guile-commonmark"))
7180 (deps (list guile gcrypt git bs guile-cm guix json))
7183 (open-pipe* OPEN_READ
7184 (string-append guile "/bin/guile")
7185 "-c" "(display (effective-version))")))
7187 (map (cut string-append <>
7188 "/share/guile/site/"
7192 (gopath (string-join
7193 (map (cut string-append <>
7194 "/lib/guile/" effective
7198 (wrap-program (string-append out "/bin/run")
7199 `("GUILE_LOAD_PATH" ":" prefix (,path))
7200 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7204 `(("autoconf" ,autoconf)
7205 ("automake" ,automake)
7206 ("uglify-js" ,uglify-js)
7207 ("pkg-config" ,pkg-config)))
7211 `(("guile" ,guile-2.2)
7212 ("guile-commonmark" ,guile-commonmark)
7213 ("guile-json" ,guile-json-3)))
7214 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7215 (synopsis "Web interface for cluster deployments of Guix")
7216 (description "Hpcguix-web provides a web interface to the list of packages
7217 provided by Guix. The list of packages is searchable and provides
7218 instructions on how to use Guix in a shared HPC environment.")
7219 (license license:agpl3+))))
7221 (define-public httrack
7227 (uri (string-append "https://mirror.httrack.com/historical/"
7228 "httrack-" version ".tar.gz"))
7231 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7232 (build-system gnu-build-system)
7234 `(("libressl" ,libressl)
7236 (home-page "https://www.httrack.com/")
7237 (synopsis "Easy-to-use offline browser utility")
7238 (description "HTTrack allows you to download a World Wide Web site from
7239 the Internet to a local directory, building recursively all directories,
7240 getting HTML, images, and other files from the server to your computer.
7242 HTTrack arranges the original site's relative link-structure. Simply open
7243 a page of the @emph{mirrored} website in your browser, and you can browse the
7244 site from link to link, as if you were viewing it online. HTTrack can also
7245 update an existing mirrored site, and resume interrupted downloads.
7247 HTTrack is fully configurable, and has an integrated help system.")
7248 (license license:gpl3+)))
7250 (define-public anonip
7256 (uri (pypi-uri "anonip" version))
7259 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7260 (build-system python-build-system)
7261 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7262 (synopsis "Anonymize IP addresses in log files")
7264 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7265 That way most of the relevant information is preserved, while the IP address
7266 does not match a particular individuum anymore.
7268 Depending on your Web server, the log entries may be piped to Anonip directly
7269 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7270 written to any file.
7272 It's also possible to rewrite existing log files.
7274 Anonip can also be uses as a Python module in your own Python application.")
7275 (license license:bsd-3)))
7277 (define-public poussetaches
7279 (name "poussetaches")
7285 (url "https://github.com/tsileo/poussetaches")
7287 (file-name (git-file-name name version))
7290 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7291 (build-system go-build-system)
7293 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7294 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7296 `(#:import-path "github.com/tsileo/poussetaches"))
7297 (home-page "https://github.com/tsileo/poussetaches")
7298 (synopsis "Lightweight asynchronous task execution service")
7299 (description "Poussetaches (which literally means \"push tasks\" in
7300 French) is a lightweight asynchronous task execution service that aims to
7301 replace Celery and RabbitMQ for small Python applications.
7303 The app posts base64-encoded payload to poussetaches and specifies the
7304 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7305 requests with the registered payload until the right status code is
7307 (license license:isc)))
7309 (define-public htmlcxx
7317 (string-append "mirror://sourceforge/htmlcxx/v"
7318 version "/htmlcxx-" version ".tar.gz"))
7320 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7321 (build-system gnu-build-system)
7322 (home-page "http://htmlcxx.sourceforge.net/")
7323 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7324 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7325 C++. Although there are several other HTML parsers available, htmlcxx has some
7326 characteristics that make it unique:
7328 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7330 @item It is possible to reproduce exactly, character by character, the original
7331 document from the parse tree
7332 @item Bundled CSS parser
7333 @item Optional parsing of attributes
7334 @item C++ code that looks like C++ (not so true anymore)
7335 @item Offsets of tags/elements in the original document are stored in the nodes
7338 (license (list license:lgpl2.0
7342 (define-public librocket
7351 (url "https://github.com/libRocket/libRocket")
7352 (commit (string-append "release-" version))))
7353 (file-name (git-file-name name version))
7355 (base32 "1n6gq007vqijyfasfnfg6c8d2rc9qarl4bhzbgkz062m4h5izlfs"))))
7356 (build-system cmake-build-system)
7358 `(#:tests? #f ; No tests.
7360 (modify-phases %standard-phases
7361 (add-after 'unpack 'chdir
7363 (chdir "Build"))))))
7365 `(("freetype" ,freetype)))
7366 (home-page "https://github.com/libRocket/libRocket") ; http://librocket.com/ is down.
7367 (synopsis "HTML/CSS user interface library")
7368 (description "libRocket is a C++ user interface package based on the HTML
7369 and CSS standards. libRocket uses the open standards XHTML1.0 and
7370 CSS2.0 (while borrowing features from HTML5 and CSS3), and extends them with
7371 features suited towards real-time applications. It is designed as a complete
7372 solution for any project's interface needs:
7375 @item Dynamic layout system.
7376 @item Efficient application-wide styling, with a custom-built templating engine.
7377 @item Fully featured control set: buttons, sliders, drop-downs, etc.
7378 @item Runtime visual debugging suite.
7379 @item Easily integrated and extensible with Python or Lua scripting.
7381 (license license:expat)))