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 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 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 Florian Pelz <pelzflorian@pelzflorian.de>
39 ;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
41 ;;; This file is part of GNU Guix.
43 ;;; GNU Guix is free software; you can redistribute it and/or modify it
44 ;;; under the terms of the GNU General Public License as published by
45 ;;; the Free Software Foundation; either version 3 of the License, or (at
46 ;;; your option) any later version.
48 ;;; GNU Guix is distributed in the hope that it will be useful, but
49 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
50 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51 ;;; GNU General Public License for more details.
53 ;;; You should have received a copy of the GNU General Public License
54 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
56 (define-module (gnu packages web)
57 #:use-module (ice-9 match)
58 #:use-module ((guix licenses) #:prefix license:)
59 #:use-module (guix packages)
60 #:use-module (guix download)
61 #:use-module (guix gexp)
62 #:use-module (guix git-download)
63 #:use-module (guix cvs-download)
64 #:use-module (guix hg-download)
65 #:use-module (guix utils)
66 #:use-module (guix build-system gnu)
67 #:use-module (guix build-system glib-or-gtk)
68 #:use-module (guix build-system perl)
69 #:use-module (guix build-system cmake)
70 #:use-module (guix build-system trivial)
71 #:use-module (guix build-system python)
72 #:use-module (guix build-system ant)
73 #:use-module (guix build-system scons)
74 #:use-module (guix build-system go)
75 #:use-module (gnu packages)
76 #:use-module (gnu packages admin)
77 #:use-module (gnu packages adns)
78 #:use-module (gnu packages apr)
79 #:use-module (gnu packages boost)
80 #:use-module (gnu packages check)
81 #:use-module (gnu packages documentation)
82 #:use-module (gnu packages docbook)
83 #:use-module (gnu packages emacs)
84 #:use-module (gnu packages emacs-xyz)
85 #:use-module (gnu packages autotools)
86 #:use-module (gnu packages compression)
87 #:use-module (gnu packages curl)
88 #:use-module (gnu packages cyrus-sasl)
89 #:use-module (gnu packages databases)
90 #:use-module (gnu packages bison)
91 #:use-module (gnu packages flex)
92 #:use-module (gnu packages freedesktop)
93 #:use-module (gnu packages kerberos)
94 #:use-module (gnu packages gcc)
95 #:use-module (gnu packages gd)
96 #:use-module (gnu packages gettext)
97 #:use-module (gnu packages glib)
98 #:use-module (gnu packages gnome)
99 #:use-module (gnu packages gnu-doc)
100 #:use-module (gnu packages gnupg)
101 #:use-module (gnu packages golang)
102 #:use-module (gnu packages gperf)
103 #:use-module (gnu packages gtk)
104 #:use-module (gnu packages guile)
105 #:use-module (gnu packages guile-xyz)
106 #:use-module (gnu packages java)
107 #:use-module (gnu packages jemalloc)
108 #:use-module (gnu packages image)
109 #:use-module (gnu packages imagemagick)
110 #:use-module (gnu packages kde)
111 #:use-module (gnu packages libevent)
112 #:use-module (gnu packages libidn)
113 #:use-module (gnu packages libunistring)
114 #:use-module (gnu packages linux)
115 #:use-module (gnu packages lisp-xyz)
116 #:use-module (gnu packages lua)
117 #:use-module (gnu packages markup)
118 #:use-module (gnu packages ncurses)
119 #:use-module (gnu packages nss)
120 #:use-module (gnu packages openstack)
121 #:use-module (gnu packages base)
122 #:use-module (gnu packages package-management)
123 #:use-module (gnu packages perl)
124 #:use-module (gnu packages perl-check)
125 #:use-module (gnu packages python)
126 #:use-module (gnu packages python-web)
127 #:use-module (gnu packages python-xyz)
128 #:use-module (gnu packages pcre)
129 #:use-module (gnu packages pkg-config)
130 #:use-module (gnu packages qt)
131 #:use-module (gnu packages readline)
132 #:use-module (gnu packages re2c)
133 #:use-module (gnu packages sphinx)
134 #:use-module (gnu packages texinfo)
135 #:use-module (gnu packages textutils)
136 #:use-module (gnu packages tls)
137 #:use-module (gnu packages valgrind)
138 #:use-module (gnu packages version-control)
139 #:use-module (gnu packages vim)
140 #:use-module (gnu packages xml)
141 #:use-module ((srfi srfi-1) #:select (delete-duplicates)))
149 (uri (string-append "mirror://apache/httpd/httpd-"
153 "0h7a31yxwyh7h521frnmlppl0h7sh9icc3ka6vlmlcg5iwllhg8k"))))
154 (build-system gnu-build-system)
155 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
156 (inputs `(("apr" ,apr)
157 ("apr-util" ,apr-util)
159 ("perl" ,perl))) ; needed to run bin/apxs
161 `(#:test-target "test"
162 #:configure-flags (list "--enable-rewrite"
164 "--enable-vhost-alias"
166 "--enable-mime-magic"
167 (string-append "--sysconfdir="
168 (assoc-ref %outputs "out")
170 (synopsis "Featureful HTTP server")
172 "The Apache HTTP Server Project is a collaborative software development
173 effort aimed at creating a robust, commercial-grade, featureful, and
174 freely-available source code implementation of an HTTP (Web) server. The
175 project is jointly managed by a group of volunteers located around the world,
176 using the Internet and the Web to communicate, plan, and develop the server
177 and its related documentation.")
178 (license license:asl2.0)
179 (home-page "https://httpd.apache.org/")))
181 (define-public mod-wsgi
188 (url "https://github.com/GrahamDumpleton/mod_wsgi.git")
190 (file-name (git-file-name name version))
193 "1q90xw2cbhka5gcd6yc69iir73x4gm7fm75qpkins2ryfl6w1q3f"))))
194 (build-system gnu-build-system)
196 '(#:tests? #f ; TODO: can't figure out if there are tests
198 (string-append "DESTDIR="
199 (assoc-ref %outputs "out"))
200 "LIBEXECDIR=/modules")))
203 ("python" ,python-wrapper)))
204 (synopsis "Apache HTTPD module for Python WSGI applications")
206 "The mod_wsgi module for the Apache HTTPD Server adds support for running
207 applications that support the Python @acronym{WSGI, Web Server Gateway
208 Interface} specification.")
209 (license license:asl2.0)
210 (home-page "https://modwsgi.readthedocs.io/")))
215 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
216 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
217 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
218 ;; Consider updating the nginx-documentation package together with this one.
222 (uri (string-append "https://nginx.org/download/nginx-"
226 "1zwiqljhzf0ym6r3hrg6k2qfb2mxi7i0lpafg4xnkr875225c9xn"))))
227 (build-system gnu-build-system)
228 (inputs `(("openssl" ,openssl)
232 `(#:tests? #f ; no test target
234 (modify-phases %standard-phases
235 (add-before 'configure 'patch-/bin/sh
237 (substitute* "auto/feature"
238 (("/bin/sh") (which "sh")))
241 ;; The configure script is hand-written, not from GNU autotools.
242 (lambda* (#:key outputs #:allow-other-keys)
244 (list (string-append "--prefix=" (assoc-ref outputs "out"))
245 "--with-http_ssl_module"
246 "--with-http_v2_module"
249 ;; Even when not cross-building, we pass the
250 ;; --crossbuild option to avoid customizing for the
251 ;; kernel version on the build machine.
252 ,(let ((system "Linux") ; uname -s
253 (release "3.2.0") ; uname -r
255 (machine (match (or (%current-target-system)
257 ("x86_64-linux" "x86_64")
258 ("i686-linux" "i686")
259 ("mips64el-linux" "mips64")
260 ;; Prevent errors when querying
261 ;; this package on unsupported
262 ;; platforms, e.g. when running
263 ;; "guix package --search="
265 (string-append "--crossbuild="
266 system ":" release ":" machine)))))
268 (format #t "environment variable `CC' set to `gcc'~%")
269 (format #t "configure flags: ~s~%" flags)
270 (apply invoke "./configure" flags)
272 (add-after 'install 'install-man-page
273 (lambda* (#:key outputs #:allow-other-keys)
274 (let* ((out (assoc-ref outputs "out"))
275 (man (string-append out "/share/man")))
276 (install-file "objs/nginx.8" (string-append man "/man8"))
278 (add-after 'install 'fix-root-dirs
279 (lambda* (#:key outputs #:allow-other-keys)
280 ;; 'make install' puts things in strange places, so we need to
281 ;; clean it up ourselves.
282 (let* ((out (assoc-ref outputs "out"))
283 (share (string-append out "/share/nginx")))
284 ;; This directory is empty, so get rid of it.
285 (rmdir (string-append out "/logs"))
286 ;; Example configuration and HTML files belong in
289 (rename-file (string-append out "/conf")
290 (string-append share "/conf"))
291 (rename-file (string-append out "/html")
292 (string-append share "/html"))
294 (home-page "https://nginx.org")
295 (synopsis "HTTP and reverse proxy server")
297 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
298 created by Igor Sysoev. It can be used both as a stand-alone web server
299 and as a proxy to reduce the load on back-end HTTP or mail servers.")
300 ;; Almost all of nginx is distributed under the bsd-2 license.
301 ;; The exceptions are:
302 ;; * The 'nginx-http-push' module is covered by the expat license.
303 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
304 ;; except for two source files which are bsd-4 licensed.
305 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
307 (define nginx-xslscript
309 (changeset "01dc9ba12e1b"))
311 (name "nginx-xslscript")
313 (simple-format #f "2014-03-31-~A-~A" revision changeset))
317 (url "http://hg.nginx.org/xslscript")
318 (changeset changeset)))
319 (file-name (string-append name "-" version))
322 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
323 (build-system gnu-build-system)
325 '(#:tests? #f ; No test suite
327 (modify-phases %standard-phases
331 (lambda* (#:key outputs #:allow-other-keys)
332 (let ((out-bin (string-append
333 (assoc-ref outputs "out")
336 (copy-file "xslscript.pl"
341 (home-page "http://hg.nginx.org/xslscript")
342 (synopsis "XSLScript with NGinx specific modifications")
344 "XSLScript is a terse notation for writing complex XSLT stylesheets.
345 This is modified version, specifically intended for use with the NGinx
347 (license license:bsd-2))))
349 (define-public nginx-documentation
350 ;; This documentation should be relevant for nginx@1.15.9.
351 (let ((revision 2345)
352 (changeset "7ef11708457e"))
354 (name "nginx-documentation")
356 (simple-format #f "2019-03-01-~A-~A" revision changeset))
358 (origin (method hg-fetch)
360 (url "http://hg.nginx.org/nginx.org")
361 (changeset changeset)))
362 (file-name (string-append name "-" version))
365 "15975jvh53mnsgi4hhgrwdwy3by23v4kxnhy2vnkziq8v7wkmy4y"))))
366 (build-system gnu-build-system)
368 '(#:tests? #f ; no test suite
370 (modify-phases %standard-phases
371 (delete 'configure) ; no configure script
373 (lambda* (#:key outputs #:allow-other-keys)
374 (let ((output (assoc-ref outputs "out")))
375 (substitute* "umasked.sh"
376 ((" /bin/sh") (string-append " " (which "sh"))))
377 ;; The documentation includes a banner, which makes sense on
378 ;; the NGinx website, but doesn't make much sense when
379 ;; viewing locally. Therefore, modify the CSS to remove the
381 (substitute* "xslt/style.xslt"
382 (("#banner \\{ background: black;")
383 "#banner { display: none;"))
387 (lambda* (#:key outputs #:allow-other-keys)
388 (let ((output (assoc-ref outputs "out")))
390 (copy-recursively "libxslt" output)
393 `(("libxml2" ,libxml2)
395 ("nginx-xslscript" ,nginx-xslscript)))
396 (home-page "https://nginx.org")
397 (synopsis "Documentation for the nginx web server")
399 "This package provides HTML documentation for the nginx web server.")
400 (license license:bsd-2))))
402 (define-public nginx-accept-language-module
403 ;; Upstream has never made a release; use current commit instead.
404 (let ((commit "2f69842f83dac77f7d98b41a2b31b13b87aeaba7")
407 (name "nginx-accept-language-module")
408 (version (git-version "0.0.0" ;upstream has no version number
414 (url "https://github.com/giom/nginx_accept_language_module.git")
416 (file-name (git-file-name name version))
418 (base32 "1hjysrl15kh5233w7apq298cc2bp4q1z5mvaqcka9pdl90m0vhbw"))))
419 (build-system gnu-build-system)
420 (inputs `(("openssl" ,openssl)
422 ("nginx-sources" ,(package-source nginx))
425 `(#:tests? #f ; no test target
426 #:make-flags (list "modules")
427 #:modules ((guix build utils)
428 (guix build gnu-build-system)
431 (ice-9 textual-ports))
433 (modify-phases %standard-phases
434 (add-after 'unpack 'unpack-nginx-sources
435 (lambda* (#:key inputs native-inputs #:allow-other-keys)
437 ;; The nginx source code is part of the module’s source.
438 (format #t "decompressing nginx source code~%")
439 (call-with-output-file "nginx.tar"
441 (let* ((gzip (assoc-ref inputs "gzip"))
442 (nginx-srcs (assoc-ref inputs "nginx-sources"))
443 (pipe (open-pipe* OPEN_READ
444 (string-append gzip "/bin/gzip")
448 (unless (= (status:exit-val (close-pipe pipe)) 0)
449 (error "gzip decompress failed")))))
450 (invoke (string-append (assoc-ref inputs "tar") "/bin/tar")
451 "xvf" "nginx.tar" "--strip-components=1")
452 (delete-file "nginx.tar")
454 (add-after 'unpack 'convert-to-dynamic-module
457 (with-atomic-file-replacement "config"
459 ;; cf. https://www.nginx.com/resources/wiki/extending/new_config/
460 (format out "ngx_module_type=HTTP~%")
461 (format out "ngx_module_name=\
462 ngx_http_accept_language_module~%")
463 (let* ((str (get-string-all in))
465 "NGX_ADDON_SRCS=\"\\$NGX_ADDON_SRCS (.*)\""))
466 (m (regexp-exec rx str))
467 (srcs (match:substring m 1)))
468 (format out (string-append "ngx_module_srcs=\""
470 (format out ". auto/module~%")
471 (format out "ngx_addon_name=$ngx_module_name~%"))))))
472 (add-before 'configure 'patch-/bin/sh
474 (substitute* "auto/feature"
475 (("/bin/sh") (which "sh")))
478 ;; This phase is largely copied from the nginx package.
479 (lambda* (#:key outputs #:allow-other-keys)
481 (list ;; A copy of nginx’ flags follows, otherwise we
482 ;; get a binary compatibility error. FIXME: Code
483 ;; duplication is bad.
484 (string-append "--prefix=" (assoc-ref outputs "out"))
485 "--with-http_ssl_module"
486 "--with-http_v2_module"
489 ;; Even when not cross-building, we pass the
490 ;; --crossbuild option to avoid customizing for the
491 ;; kernel version on the build machine.
492 ,(let ((system "Linux") ; uname -s
493 (release "3.2.0") ; uname -r
495 (machine (match (or (%current-target-system)
497 ("x86_64-linux" "x86_64")
498 ("i686-linux" "i686")
499 ("mips64el-linux" "mips64")
500 ;; Prevent errors when querying
501 ;; this package on unsupported
502 ;; platforms, e.g. when running
503 ;; "guix package --search="
505 (string-append "--crossbuild="
506 system ":" release ":" machine))
507 ;; The following are the args decribed on
508 ;; <https://www.nginx.com/blog/compiling-dynamic-modules-nginx-plus>.
509 ;; Enabling --with-compat here and in the nginx package
510 ;; would ensure binary compatibility even when using
511 ;; different configure options from the main nginx
512 ;; package. This is not needed for Guix.
514 "--add-dynamic-module=.")))
516 (format #t "environment variable `CC' set to `gcc'~%")
517 (format #t "configure flags: ~s~%" flags)
518 (apply invoke "./configure" flags)
521 (lambda* (#:key outputs #:allow-other-keys)
522 (let* ((out (assoc-ref outputs "out"))
523 (modules-dir (string-append out "/etc/nginx/modules"))
524 (doc-dir (string-append
525 out "/share/doc/nginx-accept-language-module")))
526 (mkdir-p modules-dir)
527 (copy-file "objs/ngx_http_accept_language_module.so"
529 modules-dir "/ngx_http_accept_language_module.so"))
531 (copy-file "README.textile"
532 (string-append doc-dir "/README.textile"))
535 "https://www.nginx.com/resources/wiki/modules/accept_language/")
536 (synopsis "Nginx module for parsing the Accept-Language HTTP header")
538 "This nginx module parses the Accept-Language field in HTTP headers and
539 chooses the most suitable locale for the user from the list of locales
540 supported at your website.")
541 (license (delete-duplicates
542 (cons license:bsd-2 ;license of nginx-accept-language-module
543 ;; The module’s code is linked statically with nginx,
544 ;; therefore nginx’ other licenses may also apply to its
546 (package-license nginx)))))))
555 ;; Upstream has disappeared.
557 (url "https://github.com/FastCGI-Archives/fcgi2")
559 (file-name (git-file-name name version))
561 (base32 "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1"))))
562 (build-system gnu-build-system)
563 ;; Parallel building is not supported.
564 (arguments `(#:parallel-build? #f))
566 `(("autoconf" ,autoconf)
567 ("automake" ,automake)
568 ("libtool" ,libtool)))
569 ;; This is an archived fork of the original home page, www.fastcgi.com.
570 (home-page "https://fastcgi-archives.github.io/")
571 (synopsis "Language-independent, high-performant extension to CGI")
572 (description "FastCGI is a language-independent, scalable extension to CGI
573 that provides high performance without the limitations of server specific
575 ;; This package is released under the Open Market License, a variant of
576 ;; the Expat license, incompatible with the GPL.
577 (license (license:non-copyleft "file://LICENSE.TERMS"))))
579 (define-public fcgiwrap
587 (url "https://github.com/gnosek/fcgiwrap.git")
589 (file-name (git-file-name name version))
591 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
592 (build-system gnu-build-system)
594 `(#:tests? #f ; no tests included
595 #:make-flags (list "CC=gcc")
597 (modify-phases %standard-phases
598 (add-after 'unpack 'fix-CFLAGS
599 ;; Remove broken options unconditionally added to CFLAGS.
601 (substitute* "configure.ac"
605 `(("autoconf" ,autoconf)
606 ("automake" ,automake)
607 ("pkg-config" ,pkg-config)))
610 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
611 (synopsis "Simple server for running CGI applications over FastCGI")
612 (description "Fcgiwrap is a simple server for running CGI applications
613 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
614 servers that may need it).")
615 (license license:expat)))
617 (define-public starman
624 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
625 "Starman-" version ".tar.gz"))
627 (base32 "1y1kn4929k299fbf6sw9lxcsdlq9fvq777p6yrzk591rr9xhkx8h"))))
628 (build-system perl-build-system)
630 `(("perl-libwww" ,perl-libwww)
631 ("perl-module-build-tiny" ,perl-module-build-tiny)
632 ("perl-test-requires" ,perl-test-requires)))
634 `(("perl-data-dump" ,perl-data-dump)
635 ("perl-http-date" ,perl-http-date)
636 ("perl-http-message" ,perl-http-message)
637 ("perl-http-parser-xs" ,perl-http-parser-xs)
638 ("perl-net-server" ,perl-net-server)
639 ("perl-plack" ,perl-plack)
640 ("perl-test-tcp" ,perl-test-tcp)))
641 (home-page "https://metacpan.org/release/Starman")
642 (synopsis "PSGI/Plack web server")
643 (description "Starman is a PSGI perl web server that has unique features
644 such as high performance, preforking, signal support, superdaemon awareness,
645 and UNIX socket support.")
646 (license license:perl-license)))
648 (define-public icedtea-web
655 "http://icedtea.wildebeest.org/download/source/"
656 name "-" version ".tar.gz"))
659 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
660 (build-system gnu-build-system)
663 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
664 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
666 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
667 (outputs '("out" "doc"))
669 `(("pkg-config" ,pkg-config)
673 ("jdk" ,icedtea "jdk")))
674 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
675 (synopsis "Java Web Start")
677 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
678 Protocol}, also known as Java Web Start. This package provides tools and
679 libraries for working with JNLP applets.")
680 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
682 (license license:gpl2+)))
684 (define-public jansson
691 (string-append "http://www.digip.org/jansson/releases/jansson-"
695 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
696 (build-system gnu-build-system)
698 `(#:configure-flags '("--disable-static")))
699 (home-page "http://www.digip.org/jansson/")
700 (synopsis "JSON C library")
702 "Jansson is a C library for encoding, decoding and manipulating JSON
704 (license license:expat)))
706 (define-public json-c
713 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
717 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
718 (modules '((guix build utils)))
721 ;; Somehow 'config.h.in' is older than
722 ;; 'aclocal.m4', which would trigger a rule to
724 (set-file-time "config.h.in"
727 (build-system gnu-build-system)
728 (home-page "https://github.com/json-c/json-c/wiki")
729 (synopsis "JSON implementation in C")
731 "JSON-C implements a reference counting object model that allows you to
732 easily construct JSON objects in C, output them as JSON-formatted strings and
733 parse JSON-formatted strings back into the C representation of JSON objects.
734 It aims to conform to RFC 7159.")
735 (license license:x11)))
737 ;; TODO: remove this old version when all dependents have been updated.
738 (define-public json-c-0.12
745 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
748 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
749 (modules '((guix build utils)))
752 ;; Somehow 'config.h.in' is older than
753 ;; 'aclocal.m4', which would trigger a rule to
755 (set-file-time "config.h.in"
758 ;; Don't try to build with -Werror.
759 (substitute* (find-files "." "Makefile\\.in")
763 (define-public json-parser
768 ;; do not use auto-generated tarballs
771 (url "https://github.com/udp/json-parser.git")
772 (commit (string-append "v" version))))
773 (file-name (git-file-name name version))
776 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
777 ;; FIXME: we should build the python bindings in a separate package
778 (build-system gnu-build-system)
779 ;; the tests are written for the python bindings which are not built here
780 (arguments '(#:tests? #f))
781 (home-page "https://github.com/udp/json-parser")
782 (synopsis "JSON parser written in ANSI C")
783 (description "This package provides a very low footprint JSON parser
784 written in portable ANSI C.
787 @item BSD licensed with no dependencies (i.e. just drop the C file into your
789 @item Never recurses or allocates more memory than it needs
790 @item Very simple API with operator sugar for C++
792 (license license:bsd-2)))
801 (url "https://github.com/flavio/qjson.git")
803 (file-name (git-file-name name version))
806 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
807 (build-system cmake-build-system)
809 ;; The tests require a running X server.
810 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
811 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
813 (modify-phases %standard-phases
814 (add-after 'unpack 'disable-broken-test
816 ;; FIXME: One test fails. See
817 ;; https://github.com/flavio/qjson/issues/105
818 (substitute* "tests/scanner/testscanner.cpp"
819 (("QTest::newRow\\(\"too large exponential\"\\)" line)
820 (string-append "//" line)))
822 (add-before 'check 'render-offscreen
823 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
825 `(("qtbase" ,qtbase)))
826 (home-page "http://qjson.sourceforge.net")
827 (synopsis "Library that maps JSON data to QVariant objects")
828 (description "QJson is a Qt-based library that maps JSON data to
829 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
830 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
831 ;; Only version 2.1 of the license
832 (license license:lgpl2.1)))
834 (define-public qoauth
841 (url "https://github.com/ayoy/qoauth.git")
842 (commit (string-append "v" version))))
843 (file-name (git-file-name name version))
846 "1b2jdqs526ac635yb2whm049spcsk7almnnr6r5b4yqhq922anw3"))))
847 (build-system gnu-build-system)
853 (modify-phases %standard-phases
854 (add-after 'unpack 'patch-code
856 (make-file-writable "src/qoauth.pc")
857 (substitute* "src/src.pro"
860 (delete 'configure) ; no configure script
861 (delete 'check) ; no test target
862 (add-before 'build 'qmake
864 (let ((qca (assoc-ref %build-inputs "qca")))
867 (string-append "PREFIX=" (assoc-ref %outputs "out"))
868 (string-append "QMAKE_INCDIR+=" qca "/include/Qca-qt5/QtCrypto")
869 (string-append "LIBS+=-L" qca "/lib")
870 (string-append "LIBS+=-lqca-qt5"))))))))
871 (home-page "https://github.com/ayoy/qoauth")
872 (synopsis "Qt-based C++ library for OAuth authorization scheme")
873 (description "QOAuth is an attempt to support interaction with
874 OAuth-powered network services in a Qt way, i.e. simply, clearly and
875 efficiently. It gives the application developer no more than 4 methods.")
876 (license license:lgpl2.1+)))
878 (define-public krona-tools
885 "https://github.com/marbl/Krona/releases/download/v"
886 version "/KronaTools-" version ".tar"))
889 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
890 (build-system perl-build-system)
893 (modify-phases %standard-phases
894 ;; There is no configure or build steps.
897 ;; Install script "install.pl" expects the build directory to remain
898 ;; after installation, creating symlinks etc., so re-implement it
901 (lambda* (#:key outputs #:allow-other-keys)
902 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
903 (perl (string-append (assoc-ref outputs "out")
904 "/lib/perl5/site_perl/krona-tools/lib")))
908 (let* ((executable (string-append "scripts/" script ".pl")))
909 ;; Prefix executables with 'kt' as install script does.
910 (copy-file executable (string-append bin "/kt" script))))
912 "GetContigMagnitudes"
922 "ImportMETAREP-BLAST"
927 "ImportRDPComparison"
933 (copy-recursively directory
934 (string-append perl "/../" directory)))
935 (list "data" "img" "taxonomy" "src"))
936 (install-file "lib/KronaTools.pm" perl))))
937 (add-after 'install 'wrap-program
938 (lambda* (#:key inputs outputs #:allow-other-keys)
939 (let* ((out (assoc-ref outputs "out"))
940 (path (getenv "PERL5LIB")))
943 (wrap-program executable
944 `("PERL5LIB" ":" prefix
945 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
946 (find-files (string-append out "/bin/") ".*")))))
948 (add-after 'wrap-program 'check
949 (lambda* (#:key inputs outputs #:allow-other-keys)
950 (with-directory-excursion "data"
951 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
955 (home-page "https://github.com/marbl/Krona/wiki")
956 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
958 "Krona is a flexible tool for exploring the relative proportions of
959 hierarchical data, such as metagenomic classifications, using a radial,
960 space-filling display. It is implemented using HTML5 and JavaScript, allowing
961 charts to be explored locally or served over the Internet, requiring only a
962 current version of any major web browser.")
963 (license license:bsd-3)))
965 (define-public rapidjson
972 (url "https://github.com/Tencent/rapidjson.git")
973 (commit (string-append "v" version))))
974 (file-name (git-file-name name version))
977 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
978 (patches (search-patches "rapidjson-gcc-compat.patch"))
979 (modules '((guix build utils)))
982 ;; Remove code using the problematic JSON license (see
983 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
984 (delete-file-recursively "bin/jsonchecker")
986 (build-system cmake-build-system)
988 (if (string-prefix? "aarch64" (or (%current-target-system)
991 (modify-phases %standard-phases
992 (add-after 'unpack 'patch-aarch-march-detection
994 (substitute* (find-files "." "^CMakeLists\\.txt$")
995 (("native") "armv8-a"))
997 ;; Disable CPU optimization for reproducibility.
998 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
999 (home-page "https://github.com/Tencent/rapidjson")
1000 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
1002 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
1004 (license license:expat)))
1006 (define-public libyajl
1013 (url "https://github.com/lloyd/yajl.git")
1015 (file-name (git-file-name name version))
1018 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
1019 (build-system cmake-build-system)
1022 (modify-phases %standard-phases
1023 (add-after 'patch-source-shebangs 'patch-tests
1025 (substitute* "test/parsing/run_tests.sh"
1026 (("`which echo`") (which "echo")))
1028 (home-page "https://lloyd.github.io/yajl/")
1029 (synopsis "C library for parsing JSON")
1031 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
1032 parser written in ANSI C and a small validating JSON generator.")
1033 (license license:isc)))
1035 (define-public libwebsockets
1037 (name "libwebsockets")
1040 ;; The project does not publish tarballs, so we have to take
1044 (url "https://github.com/warmcat/libwebsockets.git")
1045 (commit (string-append "v" version
1046 "-chrome37-firefox30"))))
1049 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
1050 (file-name (string-append name "-" version))))
1052 (build-system cmake-build-system)
1054 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
1055 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
1058 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
1059 (inputs `(("zlib" ,zlib)
1060 ("openssl" ,openssl)))
1061 (synopsis "WebSockets library written in C")
1063 "Libwebsockets is a library that allows C programs to establish client
1064 and server WebSockets connections---a protocol layered above HTTP that allows
1065 for efficient socket-like bidirectional reliable communication channels.")
1066 (home-page "http://libwebsockets.org/")
1068 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
1069 (license license:lgpl2.1)))
1079 (url "https://github.com/WebAssembly/wabt")
1081 (file-name (git-file-name name version))
1083 (base32 "1zlv3740wkqj4mn6sr84h0x6wk2lcp4pwwmqsh5yyqp1j1glbsa0"))))
1084 (build-system cmake-build-system)
1086 `(#:configure-flags '("-DBUILD_TESTS=OFF")
1088 (inputs `(("python" ,python-2)
1090 (home-page "https://github.com/WebAssembly/wabt")
1091 (synopsis "WebAssembly Binary Toolkit")
1092 (description "WABT (pronounced: wabbit) is a suite of tools for
1093 WebAssembly, including:
1095 * wat2wasm: translate from WebAssembly text format to the WebAssembly binary
1097 * wasm2wat: the inverse of wat2wasm, translate from the binary format back
1098 to the text format (also known as a .wat)
1099 * wasm-objdump: print information about a wasm binary. Similar to objdump.
1100 * wasm-interp: decode and run a WebAssembly binary file using a stack-based
1102 * wat-desugar: parse .wat text form as supported by the spec interpreter
1103 (s-expressions, flat syntax, or mixed) and print canonical flat format
1104 * wasm2c: convert a WebAssembly binary file to a C source and header
1106 These tools are intended for use in (or for development of) toolchains or
1107 other systems that want to manipulate WebAssembly files.")
1108 (license license:asl2.0)))
1110 (define-public websocketpp
1112 (name "websocketpp")
1118 (url "https://github.com/zaphoyd/websocketpp.git")
1120 (file-name (git-file-name name version))
1122 (base32 "12ffczcrryh74c1xssww35ic6yiy2l2xgdd30lshiq9wnzl2brgy"))
1123 (patches (search-patches "websocketpp-fix-for-boost-1.70.patch"))))
1124 (build-system cmake-build-system)
1125 (inputs `(("boost" ,boost)
1126 ("openssl" ,openssl)))
1127 (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
1129 (modify-phases %standard-phases
1130 (add-after 'install 'remove-tests
1131 (lambda* (#:key outputs #:allow-other-keys)
1132 (let* ((install-dir (assoc-ref outputs "out"))
1133 (bin-dir (string-append install-dir "/bin")))
1134 (delete-file-recursively bin-dir)
1136 (home-page "https://www.zaphoyd.com/websocketpp/")
1137 (synopsis "C++ library implementing the WebSocket protocol")
1138 (description "WebSocket++ is a C++ library that can be used to implement
1139 WebSocket functionality. The goals of the project are to provide a WebSocket
1140 implementation that is simple, portable, flexible, lightweight, low level, and
1142 (license license:bsd-3)))
1144 (define-public wslay
1152 (url "https://github.com/tatsuhiro-t/wslay.git")
1153 (commit (string-append "release-" version))))
1154 (file-name (git-file-name name version))
1156 (base32 "0ak9a6hsanhys40yhv7c2gqkfghpm6jx36j1pnml8ajvgaky5q98"))))
1157 (build-system gnu-build-system)
1159 `(("autoconf" ,autoconf)
1160 ("automake" ,automake)
1161 ("cunit" ,cunit) ; For tests.
1162 ("libtool" ,libtool)
1163 ("pkg-config" ,pkg-config)
1164 ("python-sphinx" ,python-sphinx)))
1165 (home-page "https://tatsuhiro-t.github.io/wslay/")
1166 (synopsis "C WebSocket library")
1167 (description "@code{Wslay} is an event-based C library for the WebSocket
1168 protocol version 13, described in RFC 6455. Besides a high-level API it
1169 provides callbacks for sending and receiving frames directly. @code{Wslay}
1170 only supports the data transfer part of WebSocket protocol and does not
1171 perform the opening handshake in HTTP.")
1172 (license license:expat)))
1174 (define-public libpsl
1180 (uri (string-append "https://github.com/rockdaboot/libpsl/"
1181 "releases/download/libpsl-" version
1182 "/libpsl-" version ".tar.gz"))
1185 "04pfagb7ppq3yibx4lhazd1v9nwkxdfkyy2rgcrmrf3mldsirga1"))))
1186 (build-system gnu-build-system)
1188 `(("pkg-config" ,pkg-config)
1191 ("python" ,python-wrapper)))
1193 `(("libidn2" ,libidn2)
1194 ("libunistring" ,libunistring)))
1195 (home-page "https://github.com/rockdaboot/libpsl")
1196 (synopsis "C library for the Publix Suffix List")
1198 "A \"public suffix\" is a domain name under which Internet users can
1199 directly register own names.
1201 Browsers and other web clients can use it to avoid privacy-leaking
1202 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
1203 highlighting parts of the domain in a user interface, and sorting domain lists
1206 Libpsl has built-in PSL data for fast access, allows to load PSL data from
1207 files, checks if a given domain is a public suffix, provides immediate cookie
1208 domain verification, finds the longest public part of a given domain, finds
1209 the shortest private part of a given domain, works with international
1210 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
1212 (license license:x11)))
1217 (version "20091223")
1222 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
1224 (revision "2009-12-23")))
1225 (file-name (string-append name "-" version "-checkout"))
1228 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
1229 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
1230 (build-system gnu-build-system)
1232 '(#:phases (modify-phases %standard-phases
1234 (lambda* (#:key inputs #:allow-other-keys)
1235 ;; configure.in and Makefile.am aren't in the root of the
1237 (copy-recursively "build/gnuauto" ".")
1238 (setenv "AUTOMAKE" "automake --foreign")
1239 (invoke "autoreconf" "-vfi"))))))
1241 `(("automake" ,automake)
1242 ("autoconf" ,autoconf)
1243 ("libtool" ,libtool)))
1244 (synopsis "HTML validator and tidier")
1245 (description "HTML Tidy is a command-line tool and C library that can be
1246 used to validate and fix HTML data.")
1247 (home-page "http://tidy.sourceforge.net/")
1248 (license (license:x11-style "file:///include/tidy.h"))))
1250 (define-public tinyproxy
1256 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
1257 "releases/download/" version "/tinyproxy-"
1261 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
1262 (build-system gnu-build-system)
1266 ;; For the log file, etc.
1267 "--localstatedir=/var")
1269 (modify-phases %standard-phases
1270 (add-before 'build 'pre-build
1271 (lambda* (#:key inputs #:allow-other-keys #:rest args)
1272 ;; Uncommenting the next two lines may assist in debugging
1273 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
1274 ;; (setenv "XML_DEBUG_CATALOG" "1")
1276 (home-page "https://tinyproxy.github.io/")
1277 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
1278 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
1279 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1280 solution for use cases such as embedded deployments where a full featured HTTP
1281 proxy is required, but the system resources for a larger proxy are
1283 (license license:gpl2+)))
1285 (define-public polipo
1293 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1297 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1298 (native-inputs `(("texinfo" ,texinfo)))
1299 (build-system gnu-build-system)
1301 `(#:phases (modify-phases %standard-phases
1302 (delete 'configure))
1303 #:make-flags (let ((out (assoc-ref %outputs "out")))
1304 (list (string-append "PREFIX=" out)
1305 (string-append "LOCAL_ROOT="
1306 out "/share/polipo/www")
1308 ;; No 'check' target.
1310 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1311 (synopsis "Small caching web proxy")
1313 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1314 server). It was primarily designed to be used by one person or a small group
1316 (license license:expat)))
1318 (define-public websockify
1325 (url "https://github.com/novnc/websockify.git")
1326 (commit (string-append "v" version))))
1327 (file-name (git-file-name name version))
1330 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1331 (build-system python-build-system)
1333 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1334 ; named 'stubout'". The tests can be run by replacing the check phase with
1335 ; the command "python setup.py nosetests --verbosity=3".
1336 (native-inputs `(; Required for tests:
1337 ("python-mox3" ,python-mox3)
1338 ("python-nose" ,python-nose)))
1339 (propagated-inputs `(("python-numpy" ,python-numpy)))
1340 (home-page "https://github.com/novnc/websockify")
1341 (synopsis "WebSockets support for any application/server")
1342 (description "Websockify translates WebSockets traffic to normal socket
1343 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1344 begins forwarding traffic between the client and the target in both
1346 (license license:lgpl3)))
1348 (define-public wwwoffle
1354 (uri (string-append "https://www.gedanken.org.uk/software/"
1355 "wwwoffle/download/wwwoffle-"
1359 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1360 (build-system gnu-build-system)
1362 `(#:configure-flags '("--with-gnutls")
1363 #:tests? #f)) ; no test target
1364 (native-inputs `(("flex" ,flex)))
1365 (inputs `(("gnutls" ,gnutls)
1366 ("libcrypt" ,libgcrypt)))
1367 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1368 (synopsis "Caching web proxy optimized for intermittent internet links")
1369 (description "WWWOFFLE is a proxy web server that is especially good for
1370 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1371 protocols, and supports browsing and requesting pages while offline, indexing,
1372 modifying pages and incoming and outgoing headers, monitoring pages for
1373 changes, and much more.")
1374 (license license:gpl2+)))
1376 (define-public liboauth
1382 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1386 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1387 (build-system gnu-build-system)
1388 (arguments '(#:configure-flags '("--enable-nss")))
1389 (native-inputs `(("pkg-config" ,pkg-config)))
1393 (home-page "https://sourceforge.net/projects/liboauth")
1394 (synopsis "C library implementing the OAuth API")
1396 "liboauth is a collection of C functions implementing the OAuth API.
1397 liboauth provides functions to escape and encode strings according to OAuth
1398 specifications and offers high-level functionality built on top to sign
1399 requests or verify signatures using either NSS or OpenSSL for calculating the
1401 ;; Source code may be distributed under either license.
1402 (license (list license:expat license:gpl2+))))
1404 (define-public libyaml
1412 "http://pyyaml.org/download/libyaml/yaml-"
1416 "0a87931cx5m14a1x8rbjix3nz7agrcgndf4h392vm62a4rby9240"))))
1417 (build-system gnu-build-system)
1418 (home-page "http://pyyaml.org/wiki/LibYAML")
1419 (synopsis "YAML 1.1 parser and emitter written in C")
1421 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1422 (license license:expat)))
1424 (define-public libyaml-2.1
1432 "http://pyyaml.org/download/libyaml/yaml-"
1436 "1karpcfgacgppa82wm2drcfn2kb6q2wqfykf5nrhy20sci2i2a3q"))))))
1438 (define-public libquvi-scripts
1440 (name "libquvi-scripts")
1446 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1447 name "/" name "-" version ".tar.xz"))
1449 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1450 (build-system gnu-build-system)
1451 (home-page "http://quvi.sourceforge.net/")
1452 (synopsis "Media stream URL parser")
1453 (description "This package contains support scripts called by libquvi to
1454 parse media stream properties.")
1455 (license license:lgpl2.1+)))
1457 (define-public libquvi
1465 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1466 name "-" version ".tar.xz"))
1468 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1469 (build-system gnu-build-system)
1470 (native-inputs `(("pkg-config" ,pkg-config)))
1473 ("cyrus-sasl" ,cyrus-sasl)
1474 ("libquvi-scripts" ,libquvi-scripts)
1476 ("openssl" ,openssl)
1479 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1481 (let ((lua (assoc-ref %build-inputs "lua")))
1483 (string-append "liblua_CFLAGS=-I" lua "/include")
1484 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1485 (home-page "http://quvi.sourceforge.net/")
1486 (synopsis "Media stream URL parser")
1487 (description "libquvi is a library with a C API for parsing media stream
1488 URLs and extracting their actual media files.")
1489 (license license:lgpl2.1+)))
1499 "mirror://sourceforge/" name "/" (version-major+minor version)
1500 "/" name "/" name "-" version ".tar.xz"))
1502 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1503 (build-system gnu-build-system)
1504 (native-inputs `(("pkg-config" ,pkg-config)))
1507 ("libquvi" ,libquvi)))
1508 (home-page "http://quvi.sourceforge.net/")
1509 (synopsis "Media stream URL parser")
1510 (description "quvi is a command-line-tool suite to extract media files
1511 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1512 (license license:lgpl2.1+)))
1521 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
1522 version ".tar.bz2"))
1524 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1525 (build-system scons-build-system)
1528 ("apr-util" ,apr-util)
1529 ("openssl" ,openssl)))
1531 `(;; TODO: Fix build with gss.
1535 `(#:scons ,scons-python2
1536 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1537 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1538 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1539 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1540 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1541 (string-append "PREFIX=" %output))
1543 (modify-phases %standard-phases
1544 (add-after 'unpack 'scons-propagate-environment
1546 ;; By design, SCons does not, by default, propagate
1547 ;; environment variables to subprocesses. See:
1548 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1549 ;; Here, we modify the SConstruct file to arrange for
1550 ;; environment variables to be propagated.
1551 (substitute* "SConstruct"
1552 (("^env = Environment\\(")
1553 "env = Environment(ENV=os.environ, "))))
1554 (add-before 'check 'disable-broken-tests
1556 ;; These tests rely on SSL certificates that expired 2017-04-18.
1557 ;; While there are newer certs available upstream, we don't want
1558 ;; this package to suddenly "expire" some time in the future.
1559 ;; https://bugs.gnu.org/26671
1561 '("test_ssl_trust_rootca"
1562 "test_ssl_certificate_chain_with_anchor"
1563 "test_ssl_certificate_chain_all_from_server"
1564 "test_ssl_no_servercert_callback_allok"
1565 "test_ssl_large_response"
1566 "test_ssl_large_request"
1567 "test_ssl_client_certificate"
1568 "test_ssl_future_server_cert"
1569 "test_setup_ssltunnel"
1570 "test_ssltunnel_basic_auth"
1571 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1572 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1573 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1574 "test_ssltunnel_digest_auth")))
1577 (substitute* "test/test_context.c"
1578 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1581 (home-page "https://serf.apache.org/")
1582 (synopsis "High-performance asynchronous HTTP client library")
1584 "serf is a C-based HTTP client library built upon the Apache Portable
1585 Runtime (APR) library. It multiplexes connections, running the read/write
1586 communication asynchronously. Memory copies and transformations are kept to a
1587 minimum to provide high performance operation.")
1588 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1589 ;; bundled CuTest framework uses a different non-copyleft license.
1590 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1592 (define-public libsass
1595 ;; When updating, check whether sassc/libsass-3.5 is still needed.
1600 (url "https://github.com/sass/libsass.git")
1602 (file-name (git-file-name name version))
1605 "1vn0q343d1vxz5q0xb6f9dzjah8z6j0s6x0lwvwdd55xa8z7rsnh"))))
1606 (build-system gnu-build-system)
1609 (modify-phases %standard-phases
1610 (add-before 'bootstrap 'set-LIBSASS_VERSION
1612 (setenv "LIBSASS_VERSION" ,version)
1615 `(("autoconf" ,autoconf)
1616 ("automake" ,automake)
1617 ("libtool" ,libtool)))
1618 (home-page "https://sass-lang.com/libsass")
1619 (synopsis "SASS Compiler, implemented as a C/C++ library")
1621 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1622 library designed for portability and efficiency. To actually compile SASS
1623 stylesheets, you'll need to use another program that uses this library,
1624 @var{sassc} for example.")
1625 (license license:expat)))
1627 (define-public sassc
1634 (url "https://github.com/sass/sassc.git")
1636 (file-name (git-file-name name version))
1639 "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv"))))
1640 (build-system gnu-build-system)
1644 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1645 #:tests? #f ; no test suite
1647 (modify-phases %standard-phases
1648 (add-after 'unpack 'patch-Makefile
1650 (substitute* "Makefile"
1651 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1652 "build-shared: $(RESOURCES) $(OBJECTS)")
1653 (("\\$\\(SASSC_EXE\\): libsass build")
1654 "$(SASSC_EXE): build")
1655 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1658 ;; This phase fails for some reason.
1660 ;; There is no configure script.
1662 (add-before 'build 'setup-environment
1664 (setenv "BUILD" "shared")
1665 (setenv "SASSC_VERSION" ,version)
1668 `(("libsass" ,libsass)))
1669 (synopsis "CSS pre-processor")
1670 (description "SassC is a compiler written in C for the CSS pre-processor
1671 language known as SASS.")
1672 (home-page "https://sass-lang.com/libsass")
1673 (license license:expat)))
1675 (define-public sassc/libsass-3.5
1676 ;; Newer libsass versions suffor from a memory leak when building (some?)
1677 ;; GTK themes <https://github.com/sass/libsass/issues/3033>.
1691 (url "https://github.com/sass/libsass.git")
1693 (file-name (git-file-name name version))
1696 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))))))
1697 (properties '((hidden? . #t)))))
1700 (define-public perl-apache-logformat-compiler
1702 (name "perl-apache-logformat-compiler")
1707 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1708 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1710 (base32 "05xcl7j65vakx7x79jqjikyw0nzf60bc2w6hhc0q5sklxq1ral4l"))))
1711 (build-system perl-build-system)
1713 `(("perl-http-message" ,perl-http-message)
1714 ("perl-module-build-tiny" ,perl-module-build-tiny)
1715 ("perl-test-mocktime" ,perl-test-mocktime)
1716 ("perl-try-tiny" ,perl-try-tiny)
1717 ("perl-uri" ,perl-uri)))
1719 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1720 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1721 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1722 (synopsis "Compile a log format string to perl-code")
1723 (description "This module provides methods to compile a log format string
1724 to perl-code, for faster generation of access_log lines.")
1725 (license license:perl-license)))
1727 (define-public perl-authen-sasl
1729 (name "perl-authen-sasl")
1734 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1735 "Authen-SASL-" version ".tar.gz"))
1738 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1739 (build-system perl-build-system)
1742 (modify-phases %standard-phases
1743 (add-after 'unpack 'set-env
1744 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1745 ;; versions of perl-authen-sasl.
1746 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1748 `(("perl-digest-hmac" ,perl-digest-hmac)
1749 ("perl-gssapi" ,perl-gssapi)))
1750 (home-page "https://metacpan.org/release/Authen-SASL")
1751 (synopsis "SASL authentication framework")
1752 (description "Authen::SASL provides an SASL authentication framework.")
1753 (license license:perl-license)))
1755 (define-public perl-catalyst-action-renderview
1757 (name "perl-catalyst-action-renderview")
1762 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1763 "Catalyst-Action-RenderView-"
1767 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1768 (build-system perl-build-system)
1770 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1771 ("perl-module-install" ,perl-module-install)))
1773 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1774 ("perl-data-visitor" ,perl-data-visitor)
1775 ("perl-mro-compat" ,perl-mro-compat)))
1776 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
1777 (synopsis "Sensible default Catalyst action")
1778 (description "This Catalyst action implements a sensible default end
1779 action, which will forward to the first available view.")
1780 (license license:perl-license)))
1782 (define-public perl-catalyst-action-rest
1784 (name "perl-catalyst-action-rest")
1788 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1789 "Catalyst-Action-REST-" version ".tar.gz"))
1792 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
1793 (build-system perl-build-system)
1795 `(("perl-test-requires" ,perl-test-requires)
1796 ("perl-module-install" ,perl-module-install)))
1798 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1799 ("perl-class-inspector" ,perl-class-inspector)
1800 ("perl-config-general" ,perl-config-general)
1801 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1802 ("perl-libwww" ,perl-libwww)
1803 ("perl-moose" ,perl-moose)
1804 ("perl-mro-compat" ,perl-mro-compat)
1805 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1806 ("perl-params-validate" ,perl-params-validate)
1807 ("perl-uri-find" ,perl-uri-find)
1808 ("perl-xml-simple" ,perl-xml-simple)))
1809 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
1810 (synopsis "Automated REST Method Dispatching")
1811 (description "This Action handles doing automatic method dispatching for
1812 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1813 append an underscore and method name. First it will try dispatching to an
1814 action with the generated name, and failing that it will try to dispatch to a
1816 (license license:perl-license)))
1818 (define-public perl-catalyst-authentication-store-dbix-class
1820 (name "perl-catalyst-authentication-store-dbix-class")
1825 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1826 "Catalyst-Authentication-Store-DBIx-Class-"
1830 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1831 (build-system perl-build-system)
1833 `(("perl-catalyst-plugin-authorization-roles"
1834 ,perl-catalyst-plugin-authorization-roles)
1835 ("perl-catalyst-plugin-session-state-cookie"
1836 ,perl-catalyst-plugin-session-state-cookie)
1837 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1838 ("perl-module-install" ,perl-module-install)
1839 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1841 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1842 ("perl-catalyst-plugin-authentication"
1843 ,perl-catalyst-plugin-authentication)
1844 ("perl-dbix-class" ,perl-dbix-class)
1845 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1847 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
1848 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1849 (description "The Catalyst::Authentication::Store::DBIx::Class class
1850 provides access to authentication information stored in a database via
1852 (license license:perl-license)))
1854 (define-public perl-catalyst-component-instancepercontext
1856 (name "perl-catalyst-component-instancepercontext")
1857 (version "0.001001")
1861 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1862 "Catalyst-Component-InstancePerContext-"
1866 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1867 (build-system perl-build-system)
1869 `(("perl-module-install" ,perl-module-install)))
1871 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1872 ("perl-moose" ,perl-moose)))
1874 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
1875 (synopsis "Create only one instance of Moose component per context")
1876 (description "Catalyst::Component::InstancePerContext returns a new
1877 instance of a component on each request.")
1878 (license license:perl-license)))
1880 (define-public perl-catalyst-devel
1882 (name "perl-catalyst-devel")
1887 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1888 "Catalyst-Devel-" version ".tar.gz"))
1891 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1892 (build-system perl-build-system)
1894 `(("perl-test-fatal" ,perl-test-fatal)))
1896 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1897 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1898 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1899 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1900 ("perl-config-general" ,perl-config-general)
1901 ("perl-file-changenotify" ,perl-file-changenotify)
1902 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1903 ("perl-file-sharedir" ,perl-file-sharedir)
1904 ("perl-module-install" ,perl-module-install)
1905 ("perl-moose" ,perl-moose)
1906 ("perl-moosex-emulate-class-accessor-fast"
1907 ,perl-moosex-emulate-class-accessor-fast)
1908 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1909 ("perl-namespace-clean" ,perl-namespace-clean)
1910 ("perl-path-class" ,perl-path-class)
1911 ("perl-template-toolkit" ,perl-template-toolkit)))
1912 (home-page "https://metacpan.org/release/Catalyst-Devel")
1913 (synopsis "Catalyst Development Tools")
1914 (description "The Catalyst-Devel distribution includes a variety of
1915 modules useful for the development of Catalyst applications, but not required
1916 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1917 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1918 extension for Catalyst; and requirements for a variety of development-related
1920 (license license:perl-license)))
1922 (define-public perl-catalyst-dispatchtype-regex
1924 (name "perl-catalyst-dispatchtype-regex")
1929 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1930 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1933 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1934 (build-system perl-build-system)
1936 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1937 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1938 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1940 `(("perl-moose" ,perl-moose)
1941 ("perl-text-simpletable" ,perl-text-simpletable)))
1942 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
1943 (synopsis "Regex DispatchType for Catalyst")
1944 (description "Dispatch type managing path-matching behaviour using
1945 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1946 core. It is recommend that you use Chained methods or other techniques
1947 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1948 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1949 when the dispatch type is first seen in your application.")
1950 (license license:perl-license)))
1952 (define-public perl-catalyst-model-dbic-schema
1954 (name "perl-catalyst-model-dbic-schema")
1959 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1960 "Catalyst-Model-DBIC-Schema-"
1964 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1965 (build-system perl-build-system)
1967 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1968 ("perl-module-install" ,perl-module-install)
1969 ("perl-test-exception" ,perl-test-exception)
1970 ("perl-test-requires" ,perl-test-requires)))
1972 `(("perl-carp-clan" ,perl-carp-clan)
1973 ("perl-catalyst-component-instancepercontext"
1974 ,perl-catalyst-component-instancepercontext)
1975 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1976 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1977 ("perl-dbix-class" ,perl-dbix-class)
1978 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1979 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1980 ("perl-hash-merge" ,perl-hash-merge)
1981 ("perl-list-moreutils" ,perl-list-moreutils)
1982 ("perl-module-runtime" ,perl-module-runtime)
1983 ("perl-moose" ,perl-moose)
1984 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1985 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1986 ("perl-moosex-types" ,perl-moosex-types)
1987 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1988 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1989 ("perl-namespace-clean" ,perl-namespace-clean)
1990 ("perl-tie-ixhash" ,perl-tie-ixhash)
1991 ("perl-try-tiny" ,perl-try-tiny)))
1992 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
1993 (synopsis "DBIx::Class::Schema Model Class")
1994 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1996 (license license:perl-license)))
1998 (define-public perl-catalyst-plugin-accesslog
2000 (name "perl-catalyst-plugin-accesslog")
2005 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
2006 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
2009 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
2010 (build-system perl-build-system)
2012 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2013 ("perl-datetime" ,perl-datetime)
2014 ("perl-moose" ,perl-moose)
2015 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2016 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
2017 (synopsis "Request logging from within Catalyst")
2018 (description "This Catalyst plugin enables you to create \"access logs\"
2019 from within a Catalyst application instead of requiring a webserver to do it
2020 for you. It will work even with Catalyst debug logging turned off.")
2021 (license license:perl-license)))
2023 (define-public perl-catalyst-plugin-authentication
2025 (name "perl-catalyst-plugin-authentication")
2030 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2031 "Catalyst-Plugin-Authentication-"
2035 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
2036 (build-system perl-build-system)
2038 `(("perl-module-install" ,perl-module-install)))
2040 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2041 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2042 ("perl-class-inspector" ,perl-class-inspector)
2043 ("perl-moose" ,perl-moose)
2044 ("perl-moosex-emulate-class-accessor-fast"
2045 ,perl-moosex-emulate-class-accessor-fast)
2046 ("perl-mro-compat" ,perl-mro-compat)
2047 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2048 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2049 ("perl-test-exception" ,perl-test-exception)
2050 ("perl-try-tiny" ,perl-try-tiny)))
2051 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
2052 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
2053 (description "The authentication plugin provides generic user support for
2054 Catalyst apps. It is the basis for both authentication (checking the user is
2055 who they claim to be), and authorization (allowing the user to do what the
2056 system authorises them to do).")
2057 (license license:perl-license)))
2059 (define-public perl-catalyst-plugin-authorization-roles
2061 (name "perl-catalyst-plugin-authorization-roles")
2066 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2067 "Catalyst-Plugin-Authorization-Roles-"
2071 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
2072 (build-system perl-build-system)
2074 `(("perl-module-install" ,perl-module-install)
2075 ("perl-test-exception" ,perl-test-exception)))
2077 `(("perl-catalyst-plugin-authentication"
2078 ,perl-catalyst-plugin-authentication)
2079 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2080 ("perl-set-object" ,perl-set-object)
2081 ("perl-universal-isa" ,perl-universal-isa)))
2083 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
2084 (synopsis "Role-based authorization for Catalyst")
2085 (description "Catalyst::Plugin::Authorization::Roles provides role-based
2086 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2087 (license license:perl-license)))
2089 (define-public perl-catalyst-plugin-captcha
2091 (name "perl-catalyst-plugin-captcha")
2096 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
2097 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
2100 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
2101 (build-system perl-build-system)
2103 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2104 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2105 ("perl-gd-securityimage" ,perl-gd-securityimage)
2106 ("perl-http-date" ,perl-http-date)))
2107 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
2108 (synopsis "Captchas for Catalyst")
2109 (description "This plugin creates and validates Captcha images for
2111 (license license:perl-license)))
2113 (define-public perl-catalyst-plugin-configloader
2115 (name "perl-catalyst-plugin-configloader")
2120 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2121 "Catalyst-Plugin-ConfigLoader-"
2125 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
2126 (build-system perl-build-system)
2128 `(("perl-path-class" ,perl-path-class)
2129 ("perl-module-install" ,perl-module-install)))
2131 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2132 ("perl-config-any" ,perl-config-any)
2133 ("perl-data-visitor" ,perl-data-visitor)
2134 ("perl-mro-compat" ,perl-mro-compat)))
2135 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
2136 (synopsis "Load config files of various types")
2137 (description "This module will attempt to load find and load configuration
2138 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
2140 (license license:perl-license)))
2142 (define-public perl-catalyst-plugin-session
2144 (name "perl-catalyst-plugin-session")
2149 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2150 "Catalyst-Plugin-Session-" version ".tar.gz"))
2152 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
2153 (build-system perl-build-system)
2155 `(("perl-module-install" ,perl-module-install)
2156 ("perl-test-deep" ,perl-test-deep)
2157 ("perl-test-exception" ,perl-test-exception)))
2159 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2160 ("perl-moose" ,perl-moose)
2161 ("perl-moosex-emulate-class-accessor-fast"
2162 ,perl-moosex-emulate-class-accessor-fast)
2163 ("perl-mro-compat" ,perl-mro-compat)
2164 ("perl-namespace-clean" ,perl-namespace-clean)
2165 ("perl-object-signature" ,perl-object-signature)
2166 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
2167 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
2168 (synopsis "Catalyst generic session plugin")
2169 (description "This plugin links the two pieces required for session
2170 management in web applications together: the state, and the store.")
2171 (license license:perl-license)))
2173 (define-public perl-catalyst-plugin-session-state-cookie
2175 (name "perl-catalyst-plugin-session-state-cookie")
2180 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
2181 "Catalyst-Plugin-Session-State-Cookie-"
2185 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
2186 (build-system perl-build-system)
2188 `(("perl-module-install" ,perl-module-install)))
2190 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2191 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2192 ("perl-moose" ,perl-moose)
2193 ("perl-mro-compat" ,perl-mro-compat)
2194 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2196 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
2197 (synopsis "Maintain session IDs using cookies")
2198 (description "In order for Catalyst::Plugin::Session to work, the session
2199 ID needs to be stored on the client, and the session data needs to be stored
2200 on the server. This plugin stores the session ID on the client using the
2202 (license license:perl-license)))
2204 (define-public perl-catalyst-plugin-session-store-fastmmap
2206 (name "perl-catalyst-plugin-session-store-fastmmap")
2211 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2212 "Catalyst-Plugin-Session-Store-FastMmap-"
2216 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
2217 (build-system perl-build-system)
2219 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
2220 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2221 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2222 ("perl-moosex-emulate-class-accessor-fast"
2223 ,perl-moosex-emulate-class-accessor-fast)
2224 ("perl-mro-compat" ,perl-mro-compat)
2225 ("perl-path-class" ,perl-path-class)))
2227 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
2228 (synopsis "FastMmap session storage backend")
2229 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
2230 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
2231 memory interprocess cache. It is based on Cache::FastMmap.")
2232 (license license:perl-license)))
2234 (define-public perl-catalyst-plugin-stacktrace
2236 (name "perl-catalyst-plugin-stacktrace")
2241 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2242 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
2245 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
2246 (build-system perl-build-system)
2248 `(("perl-module-install" ,perl-module-install)))
2250 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2251 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2252 ("perl-mro-compat" ,perl-mro-compat)))
2253 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
2254 (synopsis "Stack trace on the Catalyst debug screen")
2255 (description "This plugin enhances the standard Catalyst debug screen by
2256 including a stack trace of your application up to the point where the error
2257 occurred. Each stack frame is displayed along with the package name, line
2258 number, file name, and code context surrounding the line number.")
2259 (license license:perl-license)))
2261 (define-public perl-catalyst-plugin-static-simple
2263 (name "perl-catalyst-plugin-static-simple")
2268 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
2269 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
2272 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
2273 (build-system perl-build-system)
2275 `(("perl-module-install" ,perl-module-install)))
2277 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2278 ("perl-mime-types" ,perl-mime-types)
2279 ("perl-moose" ,perl-moose)
2280 ("perl-moosex-types" ,perl-moosex-types)
2281 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
2282 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
2283 (synopsis "Simple serving of static pages")
2284 (description "The Static::Simple plugin is designed to make serving static
2285 content in your application during development quick and easy, without
2286 requiring a single line of code from you. This plugin detects static files by
2287 looking at the file extension in the URL (such as .css or .png or .js). The
2288 plugin uses the lightweight MIME::Types module to map file extensions to
2289 IANA-registered MIME types, and will serve your static files with the correct
2290 MIME type directly to the browser, without being processed through Catalyst.")
2291 (license license:perl-license)))
2293 (define-public perl-catalyst-runtime
2295 (name "perl-catalyst-runtime")
2300 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2301 "Catalyst-Runtime-" version ".tar.gz"))
2304 "001yk1i0xwn4v308qx15nvnp6v9qfdigdlvz1rgw5zpnq7kwnq1a"))))
2305 (build-system perl-build-system)
2307 `(("perl-test-fatal" ,perl-test-fatal)))
2309 `(("perl-cgi-simple" ,perl-cgi-simple)
2310 ("perl-cgi-struct" ,perl-cgi-struct)
2311 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
2312 ("perl-class-date" ,perl-class-date)
2313 ("perl-class-load" ,perl-class-load)
2314 ("perl-data-dump" ,perl-data-dump)
2315 ("perl-http-body" ,perl-http-body)
2316 ("perl-http-message" ,perl-http-message)
2317 ("perl-json-maybexs" ,perl-json-maybexs)
2318 ("perl-libwww" ,perl-libwww)
2319 ("perl-module-pluggable" ,perl-module-pluggable)
2320 ("perl-moose" ,perl-moose)
2321 ("perl-moosex-emulate-class-accessor-fast"
2322 ,perl-moosex-emulate-class-accessor-fast)
2323 ("perl-moosex-getopt" ,perl-moosex-getopt)
2324 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2325 ("perl-namespace-clean" ,perl-namespace-clean)
2326 ("perl-path-class" ,perl-path-class)
2327 ("perl-perlio-utf8-strict" ,perl-perlio-utf8_strict)
2328 ("perl-plack" ,perl-plack)
2329 ("perl-plack-middleware-fixmissingbodyinredirect"
2330 ,perl-plack-middleware-fixmissingbodyinredirect)
2331 ("perl-plack-middleware-methodoverride"
2332 ,perl-plack-middleware-methodoverride)
2333 ("perl-plack-middleware-removeredundantbody"
2334 ,perl-plack-middleware-removeredundantbody)
2335 ("perl-plack-middleware-reverseproxy"
2336 ,perl-plack-middleware-reverseproxy)
2337 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2338 ("perl-safe-isa" ,perl-safe-isa)
2339 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2340 ("perl-text-simpletable" ,perl-text-simpletable)
2341 ("perl-tree-simple" ,perl-tree-simple)
2342 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2343 ("perl-try-tiny" ,perl-try-tiny)
2344 ("perl-uri" ,perl-uri)
2345 ("perl-uri-ws" ,perl-uri-ws)))
2346 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2347 (synopsis "The Catalyst Framework Runtime")
2348 (description "Catalyst is a modern framework for making web applications.
2349 It is designed to make it easy to manage the various tasks you need to do to
2350 run an application on the web, either by doing them itself, or by letting you
2351 \"plug in\" existing Perl modules that do what you need.")
2352 (license license:perl-license)))
2354 (define-public perl-catalyst-traitfor-request-proxybase
2356 (name "perl-catalyst-traitfor-request-proxybase")
2357 (version "0.000005")
2361 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2362 "Catalyst-TraitFor-Request-ProxyBase-"
2366 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2367 (build-system perl-build-system)
2369 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2370 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2371 ("perl-http-message" ,perl-http-message)
2372 ("perl-module-install" ,perl-module-install)))
2374 `(("perl-moose" ,perl-moose)
2375 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2376 ("perl-uri" ,perl-uri)))
2378 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2379 (synopsis "Replace request base with value passed by HTTP proxy")
2380 (description "This module is a Moose::Role which allows you more
2381 flexibility in your application's deployment configurations when deployed
2382 behind a proxy. Using this module, the request base ($c->req->base) is
2383 replaced with the contents of the X-Request-Base header.")
2384 (license license:perl-license)))
2386 (define-public perl-catalyst-view-download
2388 (name "perl-catalyst-view-download")
2393 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2394 "Catalyst-View-Download-" version ".tar.gz"))
2397 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2398 (build-system perl-build-system)
2400 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2401 ("perl-module-install" ,perl-module-install)
2402 ("perl-test-simple" ,perl-test-simple)
2403 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2404 ("perl-text-csv" ,perl-text-csv)
2405 ("perl-xml-simple" ,perl-xml-simple)))
2406 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2407 (synopsis "Download data in many formats")
2408 (description "The purpose of this module is to provide a method for
2409 downloading data into many supportable formats. For example, downloading a
2410 table based report in a variety of formats (CSV, HTML, etc.).")
2411 (license license:perl-license)))
2413 (define-public perl-catalyst-view-json
2415 (name "perl-catalyst-view-json")
2420 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
2421 "Catalyst-View-JSON-" version ".tar.gz"))
2424 "1v4xkzazs743sc7cd1kxkbi99cf00a4dadyyancckcbpi9p3znn5"))))
2425 (build-system perl-build-system)
2427 `(("perl-module-install" ,perl-module-install)
2428 ("perl-yaml" ,perl-yaml)))
2430 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2431 ("perl-json-maybexs" ,perl-json-maybexs)
2432 ("perl-mro-compat" ,perl-mro-compat)))
2433 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2434 (synopsis "Catalyst JSON view")
2435 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2436 stash data in JSON format.")
2437 (license license:perl-license)))
2439 (define-public perl-catalyst-view-tt
2441 (name "perl-catalyst-view-tt")
2446 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2447 "Catalyst-View-TT-" version ".tar.gz"))
2450 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2451 (build-system perl-build-system)
2453 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2454 ("perl-class-accessor" ,perl-class-accessor)
2455 ("perl-data-dump" ,perl-data-dump)
2456 ("perl-mro-compat" ,perl-mro-compat)
2457 ("perl-path-class" ,perl-path-class)
2458 ("perl-template-timer" ,perl-template-timer)
2459 ("perl-template-toolkit" ,perl-template-toolkit)))
2460 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2461 (synopsis "Template View Class")
2462 (description "This module is a Catalyst view class for the Template
2464 (license license:perl-license)))
2466 (define-public perl-catalystx-component-traits
2468 (name "perl-catalystx-component-traits")
2473 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2474 "CatalystX-Component-Traits-" version ".tar.gz"))
2477 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2478 (build-system perl-build-system)
2480 `(("perl-moose" ,perl-moose)
2481 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2482 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2484 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2485 ("perl-class-load" ,perl-class-load)
2486 ("perl-moose" ,perl-moose)
2487 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2488 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2489 ("perl-list-moreutils" ,perl-list-moreutils)))
2490 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2491 (synopsis "Trait Loading and Resolution for Catalyst Components")
2492 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2493 Catalyst component base class that reads the optional \"traits\" parameter
2494 from app and component config and instantiates the component subclass with
2495 those traits using \"new_with_traits\" in MooseX::Traits from
2496 MooseX::Traits::Pluggable.")
2497 (license license:perl-license)))
2499 (define-public perl-catalystx-roleapplicator
2501 (name "perl-catalystx-roleapplicator")
2506 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2507 "CatalystX-RoleApplicator-" version ".tar.gz"))
2510 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2511 (build-system perl-build-system)
2513 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2514 ("perl-moose" ,perl-moose)
2515 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2516 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2517 (synopsis "Apply roles to Catalyst classes")
2518 (description "CatalystX::RoleApplicator applies roles to Catalyst
2519 application classes.")
2520 (license license:perl-license)))
2522 (define-public perl-catalystx-script-server-starman
2524 (name "perl-catalystx-script-server-starman")
2529 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2530 "CatalystX-Script-Server-Starman-"
2534 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2535 (build-system perl-build-system)
2537 `(("perl-module-install" ,perl-module-install)
2538 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2540 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2541 ("perl-moose" ,perl-moose)
2542 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2543 ("starman" ,starman)))
2544 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2545 (synopsis "Catalyst development server with Starman")
2546 (description "This module provides a Catalyst extension to replace the
2547 development server with Starman.")
2548 (license license:perl-license)))
2550 (define-public perl-cgi
2557 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2558 "CGI-" version ".tar.gz"))
2561 "020jrygslqixrxd2nzc2l8ac39ynqzsy83nnnr3mqn6kxfvmyhqj"))))
2562 (build-system perl-build-system)
2564 `(("perl-test-deep" ,perl-test-deep)
2565 ("perl-test-nowarnings" ,perl-test-nowarnings)
2566 ("perl-test-warn" ,perl-test-warn)))
2568 `(("perl-html-parser" ,perl-html-parser)))
2569 (home-page "https://metacpan.org/release/CGI")
2570 (synopsis "Handle Common Gateway Interface requests and responses")
2571 (description "CGI.pm is a stable, complete and mature solution for
2572 processing and preparing HTTP requests and responses. Major features include
2573 processing form submissions, file uploads, reading and writing cookies, query
2574 string generation and manipulation, and processing and preparing HTTP
2576 (license license:perl-license)))
2578 (define-public perl-cgi-formbuilder
2580 (name "perl-cgi-formbuilder")
2586 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2587 "CGI-FormBuilder-" version ".tar.gz"))
2590 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2591 (build-system perl-build-system)
2592 (inputs `(("perl-cgi" ,perl-cgi)))
2594 "https://metacpan.org/release/CGI-FormBuilder")
2596 "Generate and process stateful forms")
2598 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2599 form-based applications.")
2600 (license license:perl-license)))
2602 (define-public perl-cgi-session
2604 (name "perl-cgi-session")
2610 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2615 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2616 (build-system perl-build-system)
2618 `(("perl-module-build" ,perl-module-build)))
2619 (inputs `(("perl-cgi" ,perl-cgi)))
2621 "https://metacpan.org/release/CGI-Session")
2623 "Persistent session data in CGI applications")
2625 "@code{CGI::Session} provides modular session management system across
2627 (license license:perl-license)))
2629 (define-public perl-cgi-simple
2631 (name "perl-cgi-simple")
2636 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2637 "CGI-Simple-" version ".tar.gz"))
2639 (base32 "13c7iwnnavky10ab87pi8jc1kqph03s0rhvj7myn7szhbfisc4gn"))))
2640 (build-system perl-build-system)
2642 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2643 ("perl-module-build" ,perl-module-build)
2644 ("perl-test-exception" ,perl-test-exception)
2645 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2646 (home-page "https://metacpan.org/release/CGI-Simple")
2647 (synopsis "CGI interface that is CGI.pm compliant")
2648 (description "CGI::Simple provides a relatively lightweight drop in
2649 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2650 parameter parsing, file upload, cookie handling and header generation.")
2651 (license license:perl-license)))
2653 (define-public perl-cgi-struct
2655 (name "perl-cgi-struct")
2660 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2661 "CGI-Struct-" version ".tar.gz"))
2664 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2665 (build-system perl-build-system)
2667 `(("perl-test-deep" ,perl-test-deep)))
2668 (home-page "https://metacpan.org/release/CGI-Struct")
2669 (synopsis "Build structures from CGI data")
2670 (description "This is a module for building structured data from CGI
2671 inputs, in a manner reminiscent of how PHP does.")
2672 (license license:bsd-2)))
2674 (define-public perl-datetime-format-http
2676 (name "perl-datetime-format-http")
2681 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2682 "DateTime-Format-HTTP-" version ".tar.gz"))
2685 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2686 (build-system perl-build-system)
2688 `(("perl-module-build" ,perl-module-build)))
2690 `(("perl-datetime" ,perl-datetime)
2691 ("perl-http-date" ,perl-http-date)))
2692 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2693 (synopsis "Date conversion routines")
2694 (description "This module provides functions that deal with the date
2695 formats used by the HTTP protocol.")
2696 (license license:perl-license)))
2698 (define-public perl-digest-md5-file
2700 (name "perl-digest-md5-file")
2705 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2706 "Digest-MD5-File-" version ".tar.gz"))
2709 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2710 (build-system perl-build-system)
2712 `(("perl-libwww" ,perl-libwww)))
2713 (home-page "https://metacpan.org/release/Digest-MD5-File")
2714 (synopsis "MD5 sums for files and urls")
2715 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2716 for files and urls.")
2717 (license license:perl-license)))
2719 (define-public perl-encode-locale
2721 (name "perl-encode-locale")
2726 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2730 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2731 (build-system perl-build-system)
2732 (license license:perl-license)
2733 (synopsis "Perl locale encoding determination")
2735 "The POSIX locale system is used to specify both the language
2736 conventions requested by the user and the preferred character set to
2737 consume and output. The Encode::Locale module looks up the charset and
2738 encoding (called a CODESET in the locale jargon) and arranges for the
2739 Encode module to know this encoding under the name \"locale\". It means
2740 bytes obtained from the environment can be converted to Unicode strings
2741 by calling Encode::encode(locale => $bytes) and converted back again
2742 with Encode::decode(locale => $string).")
2743 (home-page "https://metacpan.org/release/Encode-Locale")))
2745 (define-public perl-feed-find
2747 (name "perl-feed-find")
2751 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2752 "Feed-Find-" version ".tar.gz"))
2755 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2756 (build-system perl-build-system)
2758 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2761 (modify-phases %standard-phases
2762 (add-after 'unpack 'set-env
2763 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2765 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2766 ("perl-html-parser" ,perl-html-parser)
2767 ("perl-libwww" ,perl-libwww)
2768 ("perl-uri" ,perl-uri)))
2769 (home-page "https://metacpan.org/release/Feed-Find")
2770 (synopsis "Syndication feed auto-discovery")
2771 (description "@code{Feed::Find} implements feed auto-discovery for finding
2772 syndication feeds, given a URI. It will discover the following feed formats:
2773 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2774 (license license:perl-license)))
2776 (define-public perl-file-listing
2778 (name "perl-file-listing")
2783 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2787 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2788 (build-system perl-build-system)
2790 `(("perl-http-date" ,perl-http-date)))
2791 (license license:perl-license)
2792 (synopsis "Perl directory listing parser")
2794 "The File::Listing module exports a single function called parse_dir(),
2795 which can be used to parse directory listings.")
2796 (home-page "https://metacpan.org/release/File-Listing")))
2798 (define-public perl-finance-quote
2800 (name "perl-finance-quote")
2805 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2806 "Finance-Quote-" version ".tar.gz"))
2808 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
2809 (patches (search-patches
2810 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2811 (build-system perl-build-system)
2813 `(("perl-cgi" ,perl-cgi)
2814 ("perl-datetime" ,perl-datetime)
2815 ("perl-html-parser" ,perl-html-parser)
2816 ("perl-html-tableextract" ,perl-html-tableextract)
2817 ("perl-html-tree" ,perl-html-tree)
2818 ("perl-http-cookies" ,perl-http-cookies)
2819 ("perl-http-message" ,perl-http-message)
2820 ("perl-json" ,perl-json)
2821 ("perl-libwww" ,perl-libwww)
2822 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2823 ("perl-uri" ,perl-uri)))
2824 (home-page "https://metacpan.org/release/Finance-Quote")
2825 (synopsis "Stock and mutual fund quotes")
2827 "Finance::Quote gets stock quotes from various internet sources, including
2828 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2829 (license license:gpl2)))
2831 (define-public perl-gssapi
2833 (name "perl-gssapi")
2838 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2839 "GSSAPI-" version ".tar.gz"))
2842 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2843 (build-system perl-build-system)
2844 (inputs `(("gssapi" ,mit-krb5)))
2846 `(#:make-maker-flags
2847 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2848 (home-page "https://metacpan.org/release/GSSAPI")
2849 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2850 (description "This is a Perl extension for using GSSAPI C bindings as
2851 described in RFC 2744.")
2852 (license license:perl-license)))
2854 (define-public perl-html-element-extended
2856 (name "perl-html-element-extended")
2861 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2862 "HTML-Element-Extended-" version ".tar.gz"))
2865 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2866 (build-system perl-build-system)
2868 `(("perl-html-tree" ,perl-html-tree)))
2869 (home-page "https://metacpan.org/release/HTML-Element-Extended")
2870 (synopsis "Manipulate tables of HTML::Element")
2872 "HTML::Element::Extended is a Perl extension for manipulating a table
2873 composed of HTML::Element style components.")
2874 (license license:perl-license)))
2876 (define-public perl-html-form
2878 (name "perl-html-form")
2883 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
2884 "HTML-Form-" version ".tar.gz"))
2886 (base32 "14i4ldyvdvhdhvfhh9kiq6z853q2f84biq8vcpv1k5w2r80wdiin"))))
2887 (build-system perl-build-system)
2889 `(("perl-html-parser" ,perl-html-parser)
2890 ("perl-html-tagset" ,perl-html-tagset)
2891 ("perl-http-message" ,perl-http-message)
2892 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2893 ("perl-uri" ,perl-uri)))
2894 (home-page "https://metacpan.org/release/HTML-Form")
2895 (synopsis "Perl class representing an HTML form element")
2896 (description "Objects of the HTML::Form class represents a single HTML
2897 <form> ... </form> instance.")
2898 (license license:perl-license)))
2900 (define-public perl-html-scrubber
2902 (name "perl-html-scrubber")
2908 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2913 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
2914 (build-system perl-build-system)
2916 `(("perl-module-build" ,perl-module-build)
2917 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2918 ("perl-test-differences" ,perl-test-differences)
2919 ("perl-test-eol" ,perl-test-eol)
2920 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2921 ("perl-test-notabs" ,perl-test-notabs)))
2923 `(("perl-html-parser" ,perl-html-parser)))
2925 "https://metacpan.org/release/HTML-Scrubber")
2927 "Perl extension for scrubbing/sanitizing html")
2929 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2930 (license license:perl-license)))
2932 (define-public perl-html-lint
2934 (name "perl-html-lint")
2939 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2940 "HTML-Lint-" version ".tar.gz"))
2942 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
2943 (build-system perl-build-system)
2945 `(("perl-html-parser" ,perl-html-parser)
2946 ("perl-html-tagset" ,perl-html-tagset)
2947 ("perl-libwww" ,perl-libwww)))
2948 (home-page "https://metacpan.org/release/HTML-Lint")
2949 (synopsis "Check for HTML errors in a string or file")
2950 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2951 syntactic legitmacy.")
2952 (license license:artistic2.0)))
2954 (define-public perl-html-tableextract
2956 (name "perl-html-tableextract")
2961 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2962 "HTML-TableExtract-" version ".tar.gz"))
2965 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2966 (build-system perl-build-system)
2968 `(("perl-html-element-extended" ,perl-html-element-extended)
2969 ("perl-html-parser" ,perl-html-parser)))
2970 (home-page "https://metacpan.org/release/HTML-TableExtract")
2971 (synopsis "Extract contents from HTML tables")
2973 "HTML::TableExtract is a Perl module for extracting the content contained
2974 in tables within an HTML document, either as text or encoded element trees.")
2975 (license license:perl-license)))
2977 (define-public perl-html-tree
2979 (name "perl-html-tree")
2984 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2985 "HTML-Tree-" version ".tar.gz"))
2988 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
2989 (build-system perl-build-system)
2991 `(("perl-module-build" ,perl-module-build)
2992 ("perl-test-fatal" ,perl-test-fatal)))
2994 `(("perl-html-parser" ,perl-html-parser)
2995 ("perl-html-tagset" ,perl-html-tagset)
2996 ("perl-libwww" ,perl-libwww)))
2997 (home-page "https://metacpan.org/release/HTML-Tree")
2998 (synopsis "Work with HTML in a DOM-like tree structure")
2999 (description "This distribution contains a suite of modules for
3000 representing, creating, and extracting information from HTML syntax trees.")
3001 (license license:perl-license)))
3003 (define-public perl-html-parser
3005 (name "perl-html-parser")
3010 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
3014 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
3015 (build-system perl-build-system)
3017 `(("perl-html-tagset" ,perl-html-tagset)
3018 ("perl-http-message" ,perl-http-message)))
3019 (license license:perl-license)
3020 (synopsis "Perl HTML parser class")
3022 "Objects of the HTML::Parser class will recognize markup and separate
3023 it from plain text (alias data content) in HTML documents. As different
3024 kinds of markup and text are recognized, the corresponding event handlers
3026 (home-page "https://metacpan.org/release/HTML-Parser")))
3028 (define-public perl-html-tagset
3030 (name "perl-html-tagset")
3035 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
3039 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
3040 (build-system perl-build-system)
3041 (license license:perl-license)
3042 (synopsis "Perl data tables useful in parsing HTML")
3044 "The HTML::Tagset module contains several data tables useful in various
3045 kinds of HTML parsing operations.")
3046 (home-page "https://metacpan.org/release/HTML-Tagset")))
3048 (define-public perl-html-template
3050 (name "perl-html-template")
3054 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
3055 "HTML-Template-" version ".tar.gz"))
3058 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
3059 (build-system perl-build-system)
3061 `(("perl-cgi" ,perl-cgi)))
3062 (home-page "https://metacpan.org/release/HTML-Template")
3063 (synopsis "HTML-like templates")
3065 "This module attempts to make using HTML templates simple and natural.
3066 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
3067 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
3068 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
3069 these new tags is called a template. Using this module you fill in the values
3070 for the variables, loops and branches declared in the template. This allows
3071 you to separate design from the data.")
3072 (license license:perl-license)))
3074 (define-public perl-http-body
3076 (name "perl-http-body")
3081 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
3082 "HTTP-Body-" version ".tar.gz"))
3085 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
3086 (build-system perl-build-system)
3088 `(("perl-test-deep" ,perl-test-deep)))
3090 `(("perl-file-temp" ,perl-file-temp)
3091 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
3092 (home-page "https://metacpan.org/release/HTTP-Body")
3093 (synopsis "HTTP Body Parser")
3094 (description "HTTP::Body parses chunks of HTTP POST data and supports
3095 application/octet-stream, application/json, application/x-www-form-urlencoded,
3096 and multipart/form-data.")
3097 (license license:perl-license)))
3099 (define-public perl-http-cookiejar
3101 (name "perl-http-cookiejar")
3106 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3107 "HTTP-CookieJar-" version ".tar.gz"))
3110 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
3111 (build-system perl-build-system)
3113 `(("perl-test-deep" ,perl-test-deep)
3114 ("perl-test-requires" ,perl-test-requires)
3115 ("perl-time-mock" ,perl-time-mock)
3116 ("perl-uri" ,perl-uri)))
3118 `(("perl-time-local" ,perl-time-local)
3119 ("perl-http-date" ,perl-http-date)))
3120 (home-page "https://metacpan.org/release/HTTP-CookieJar")
3121 (synopsis "Minimalist HTTP user agent cookie jar")
3122 (description "This module implements a minimalist HTTP user agent cookie
3123 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
3124 (license license:asl2.0)))
3126 (define-public perl-http-cookies
3128 (name "perl-http-cookies")
3133 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
3137 "13rnz3233vbsfariya4njiyfaj6k94j6bvlyh3dmfmh24hpqgx77"))))
3138 (build-system perl-build-system)
3140 `(("perl-http-message" ,perl-http-message)))
3141 (license license:perl-license)
3142 (synopsis "Perl HTTP cookie jars")
3144 "The HTTP::Cookies class is for objects that represent a cookie jar,
3145 that is, a database of all the HTTP cookies that a given LWP::UserAgent
3146 object knows about.")
3147 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
3149 (define-public perl-http-daemon
3151 (name "perl-http-daemon")
3156 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
3160 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
3161 (build-system perl-build-system)
3163 `(("perl-http-message" ,perl-http-message)
3164 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
3165 (license license:perl-license)
3166 (synopsis "Perl simple http server class")
3168 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
3169 on a socket for incoming requests. The HTTP::Daemon is a subclass of
3170 IO::Socket::INET, so you can perform socket operations directly on it too.")
3171 (home-page "https://metacpan.org/release/HTTP-Daemon")))
3173 (define-public perl-http-date
3175 (name "perl-http-date")
3180 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
3184 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
3185 (build-system perl-build-system)
3186 (license license:perl-license)
3187 (synopsis "Perl date conversion routines")
3189 "The HTTP::Date module provides functions that deal with date formats
3190 used by the HTTP protocol (and then some more).")
3191 (home-page "https://metacpan.org/release/HTTP-Date")))
3193 (define-public perl-http-message
3195 (name "perl-http-message")
3200 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
3204 "04lih0fn89jpyk74c4aq1rzq18h8v4zd3x0lik2r9dl8sdqd2q6h"))))
3205 (build-system perl-build-system)
3207 `(("perl-try-tiny" ,perl-try-tiny)))
3209 `(("perl-encode-locale" ,perl-encode-locale)
3210 ("perl-http-date" ,perl-http-date)
3211 ("perl-io-html" ,perl-io-html)
3212 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
3213 ("perl-uri" ,perl-uri)))
3214 (license license:perl-license)
3215 (synopsis "Perl HTTP style message")
3217 "An HTTP::Message object contains some headers and a content body.")
3218 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
3220 (define-public perl-http-negotiate
3222 (name "perl-http-negotiate")
3227 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
3231 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
3232 (build-system perl-build-system)
3234 `(("perl-http-message" ,perl-http-message)))
3235 (license license:perl-license)
3236 (synopsis "Perl http content negotiation")
3238 "The HTTP::Negotiate module provides a complete implementation of the
3239 HTTP content negotiation algorithm specified in
3240 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
3241 the selection of a preferred content representation based upon attributes
3242 of the negotiable variants and the value of the various Accept* header
3243 fields in the request.")
3244 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
3246 (define-public perl-http-parser
3248 (name "perl-http-parser")
3253 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
3254 "HTTP-Parser-" version ".tar.gz"))
3257 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
3258 (build-system perl-build-system)
3260 `(("perl-http-message" ,perl-http-message)
3261 ("perl-uri" ,perl-uri)))
3262 (home-page "https://metacpan.org/release/HTTP-Parser")
3263 (synopsis "Parse HTTP/1.1 requests")
3264 (description "This is an HTTP request parser. It takes chunks of text as
3265 received and returns a @code{hint} as to what is required, or returns the
3266 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
3268 (license license:perl-license)))
3270 (define-public perl-http-parser-xs
3272 (name "perl-http-parser-xs")
3277 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3278 "HTTP-Parser-XS-" version ".tar.gz"))
3281 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
3282 (build-system perl-build-system)
3284 `(("perl-module-install" ,perl-module-install)))
3285 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
3286 (synopsis "Fast HTTP request parser")
3287 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
3289 (license license:perl-license)))
3291 (define-public perl-http-request-ascgi
3293 (name "perl-http-request-ascgi")
3298 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3299 "HTTP-Request-AsCGI-" version ".tar.gz"))
3302 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
3303 (build-system perl-build-system)
3305 `(("perl-class-accessor" ,perl-class-accessor)
3306 ("perl-http-message" ,perl-http-message)))
3307 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
3308 (synopsis "Set up a CGI environment from an HTTP::Request")
3309 (description "This module provides a convenient way to set up a CGI
3310 environment from an HTTP::Request.")
3311 (license license:perl-license)))
3313 (define-public perl-http-server-simple
3315 (name "perl-http-server-simple")
3320 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3321 "HTTP-Server-Simple-" version ".tar.gz"))
3324 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3325 (build-system perl-build-system)
3327 `(("perl-cgi" ,perl-cgi)))
3329 ;; See the discussion of a related tests issue at
3330 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3333 #:phases (modify-phases %standard-phases
3334 (add-before 'configure 'set-search-path
3336 ;; Work around "dotless @INC" build failure.
3338 (string-append (getcwd) ":"
3339 (getenv "PERL5LIB")))
3341 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3342 (synopsis "Lightweight HTTP server")
3343 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3344 no non-core module dependencies. It can be used for building a standalone
3345 http-based UI to your existing tools.")
3346 (license license:perl-license)))
3348 (define-public perl-http-tiny
3350 (name "perl-http-tiny")
3355 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3356 "HTTP-Tiny-" version ".tar.gz"))
3359 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3360 (build-system perl-build-system)
3362 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3363 ("perl-io-socket-ip" ,perl-io-socket-ip)
3364 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3365 ("perl-mozilla-ca" ,perl-mozilla-ca)
3366 ("perl-net-ssleay" ,perl-net-ssleay)))
3367 (home-page "https://metacpan.org/release/HTTP-Tiny")
3368 (synopsis "HTTP/1.1 client")
3369 (description "This is a very simple HTTP/1.1 client, designed for doing
3370 simple requests without the overhead of a large framework like LWP::UserAgent.
3371 It supports proxies and redirection. It also correctly resumes after EINTR.")
3372 (license license:perl-license)))
3374 (define-public perl-http-tinyish
3376 (name "perl-http-tinyish")
3382 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3387 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3388 (build-system perl-build-system)
3390 `(("perl-file-which" ,perl-file-which)
3391 ("perl-ipc-run3" ,perl-ipc-run3)))
3392 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3393 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3395 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3396 @code{HTTP::Tiny}, curl and wget.
3398 It provides an API compatible to HTTP::Tiny.")
3399 (license license:perl-license)))
3401 (define-public perl-io-html
3403 (name "perl-io-html")
3408 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3412 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3413 (build-system perl-build-system)
3414 (license license:perl-license)
3415 (synopsis "Perl module to open an HTML file with automatic charset detection")
3417 "IO::HTML provides an easy way to open a file containing HTML while
3418 automatically determining its encoding. It uses the HTML5 encoding sniffing
3419 algorithm specified in section 8.2.2.1 of the draft standard.")
3420 (home-page "https://metacpan.org/release/IO-HTML")))
3422 (define-public perl-io-socket-ip
3424 (name "perl-io-socket-ip")
3429 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3430 "IO-Socket-IP-" version ".tar.gz"))
3433 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
3434 (build-system perl-build-system)
3435 (native-inputs `(("perl-module-build" ,perl-module-build)))
3436 (home-page "https://metacpan.org/release/IO-Socket-IP")
3437 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3438 (description "This module provides a protocol-independent way to use IPv4
3439 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3440 (license license:perl-license)))
3442 (define-public perl-io-socket-ssl
3444 (name "perl-io-socket-ssl")
3448 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3449 "IO-Socket-SSL-" version ".tar.gz"))
3452 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3453 (patches (search-patches
3454 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3455 (build-system perl-build-system)
3457 `(("perl-net-ssleay" ,perl-net-ssleay)
3459 ("perl-uri" ,perl-uri)))
3460 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3462 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3463 necessary functionality into the familiar IO::Socket interface and providing
3464 secure defaults whenever possible. This way existing applications can be made
3465 SSL-aware without much effort, at least if you do blocking I/O and don't use
3467 (license license:perl-license)
3468 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3470 (define-public perl-libwww
3472 (name "perl-libwww")
3477 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3481 "0jh67946fwd33ap3xy8df0421d2mr6lmhalhkf1p7dx2b7fil9wf"))))
3482 (build-system perl-build-system)
3484 `(("perl-test-fatal" ,perl-test-fatal)
3485 ("perl-test-needs" ,perl-test-needs)
3486 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3488 `(("perl-encode-locale" ,perl-encode-locale)
3489 ("perl-file-listing" ,perl-file-listing)
3490 ("perl-html-parser" ,perl-html-parser)
3491 ("perl-http-cookies" ,perl-http-cookies)
3492 ("perl-http-daemon" ,perl-http-daemon)
3493 ("perl-http-date" ,perl-http-date)
3494 ("perl-http-message" ,perl-http-message)
3495 ("perl-http-negotiate" ,perl-http-negotiate)
3496 ("perl-net-http" ,perl-net-http)
3497 ("perl-try-tiny" ,perl-try-tiny)
3498 ("perl-uri" ,perl-uri)
3499 ("perl-www-robotrules" ,perl-www-robotrules)))
3500 (license license:perl-license)
3501 (synopsis "Perl modules for the WWW")
3503 "The libwww-perl collection is a set of Perl modules which provides a
3504 simple and consistent application programming interface to the
3505 World-Wide Web. The main focus of the library is to provide classes
3506 and functions that allow you to write WWW clients. The library also
3507 contains modules that are of more general use and even classes that
3508 help you implement simple HTTP servers.")
3509 (home-page "https://metacpan.org/release/libwww-perl")))
3511 (define-public perl-lwp-online
3513 (name "perl-lwp-online")
3519 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3523 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3524 (build-system perl-build-system)
3526 `(("perl-libwww" ,perl-libwww)
3527 ("perl-uri" ,perl-uri)))
3529 `(("perl-module-install" ,perl-module-install)))
3530 (home-page "https://metacpan.org/release/LWP-Online")
3531 (synopsis "Checks whether your process has access to the web")
3532 (description "This module attempts to answer, as accurately as it can, one
3533 of the nastiest technical questions there is: am I on the internet?
3535 A host of networking and security issues make this problem very difficult.
3536 There are firewalls, proxies (both well behaved and badly behaved). We might
3537 not have DNS. We might not have a network card at all!")
3538 (license license:perl-license)))
3540 (define-public perl-lwp-mediatypes
3542 (name "perl-lwp-mediatypes")
3547 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
3551 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
3552 (build-system perl-build-system)
3553 (license license:perl-license)
3554 (synopsis "Perl module to guess the media type for a file or a URL")
3556 "The LWP::MediaTypes module provides functions for handling media (also
3557 known as MIME) types and encodings. The mapping from file extensions to
3558 media types is defined by the media.types file. If the ~/.media.types file
3559 exists it is used instead.")
3560 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3562 (define-public perl-lwp-protocol-https
3564 (name "perl-lwp-protocol-https")
3569 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3570 "LWP-Protocol-https-" version ".tar.gz"))
3573 "1rxrpwylfw1afah0nk96kgkwjbl2p1a7lwx50iipg8c4rx3cjb2j"))))
3574 (build-system perl-build-system)
3577 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3579 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3580 ("perl-libwww" ,perl-libwww)
3581 ;; Users should instead make sure SSL_ca_path is set properly.
3582 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3583 ("perl-net-http" ,perl-net-http)))
3584 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3585 (synopsis "HTTPS support for LWP::UserAgent")
3586 (description "The LWP::Protocol::https module provides support for using
3587 https schemed URLs with LWP.")
3588 (license license:perl-license)))
3590 (define-public perl-lwp-useragent-cached
3592 (name "perl-lwp-useragent-cached")
3597 (uri (string-append "mirror://cpan/authors/id/O/OL/OLEG/"
3598 "LWP-UserAgent-Cached-" version ".tar.gz"))
3601 "1hw7wy7f82kl61xjwkgmhv1ixgg56dhgfr45wxn6ahc0qys5mkix"))))
3602 (build-system perl-build-system)
3604 `(("perl-libwww" ,perl-libwww)))
3605 (home-page "https://metacpan.org/release/LWP-UserAgent-Cached")
3606 (synopsis "Simple caching for LWP::UserAgent")
3607 (description "LWP::UserAgent::Cached is an LWP::UserAgent subclass with
3608 cache support. It returns responses from the local filesystem if available
3609 instead of making an HTTP request.")
3610 (license license:perl-license)))
3612 (define-public perl-lwp-useragent-determined
3614 (name "perl-lwp-useragent-determined")
3619 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3620 "LWP-UserAgent-Determined-" version ".tar.gz"))
3623 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3624 (build-system perl-build-system)
3626 `(("perl-libwww" ,perl-libwww)))
3627 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3628 (synopsis "Virtual browser that retries errors")
3629 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3630 except that when you use it to get a web page but run into a
3631 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3632 and retry a few times.")
3633 (license license:perl-license)))
3635 (define-public perl-net-amazon-s3
3637 (name "perl-net-amazon-s3")
3642 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3643 "Net-Amazon-S3-" version ".tar.gz"))
3646 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3647 (patches (search-patches
3648 "perl-net-amazon-s3-moose-warning.patch"))))
3649 (build-system perl-build-system)
3651 `(("perl-libwww" ,perl-libwww)
3652 ("perl-test-exception" ,perl-test-exception)))
3654 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3655 ("perl-datetime-format-http" ,perl-datetime-format-http)
3656 ("perl-digest-hmac" ,perl-digest-hmac)
3657 ("perl-digest-md5-file" ,perl-digest-md5-file)
3658 ("perl-file-find-rule" ,perl-file-find-rule)
3659 ("perl-http-date" ,perl-http-date)
3660 ("perl-http-message" ,perl-http-message)
3661 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3662 ("perl-mime-types" ,perl-mime-types)
3663 ("perl-moose" ,perl-moose)
3664 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3665 ("perl-moosex-types-datetime-morecoercions"
3666 ,perl-moosex-types-datetime-morecoercions)
3667 ("perl-path-class" ,perl-path-class)
3668 ("perl-regexp-common" ,perl-regexp-common)
3669 ("perl-term-encoding" ,perl-term-encoding)
3670 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3671 ("perl-uri" ,perl-uri)
3672 ("perl-xml-libxml" ,perl-xml-libxml)))
3673 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3674 (synopsis "Perl interface to Amazon S3")
3675 (description "This module provides a Perlish interface to Amazon S3.")
3676 (license license:perl-license)))
3678 (define-public perl-net-http
3680 (name "perl-net-http")
3685 "mirror://cpan/authors/id/O/OA/OALDERS/"
3686 "Net-HTTP-" version ".tar.gz"))
3689 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
3690 (build-system perl-build-system)
3692 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3693 ("perl-uri" ,perl-uri)))
3694 (license license:perl-license)
3695 (synopsis "Perl low-level HTTP connection (client)")
3697 "The Net::HTTP class is a low-level HTTP client. An instance of the
3698 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3699 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3701 (home-page "https://metacpan.org/release/Net-HTTP")))
3703 (define-public perl-net-server
3705 (name "perl-net-server")
3710 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3711 "Net-Server-" version ".tar.gz"))
3714 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3715 (build-system perl-build-system)
3716 (home-page "https://metacpan.org/release/Net-Server")
3717 (synopsis "Extensible Perl server engine")
3718 (description "Net::Server is an extensible, generic Perl server engine.
3719 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3720 It includes with it the ability to run as an inetd
3721 process (Net::Server::INET), a single connection server (Net::Server or
3722 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3723 server which maintains a constant number of preforked
3724 children (Net::Server::PreForkSimple), or as a managed preforking server which
3725 maintains the number of children based on server load (Net::Server::PreFork).
3726 In all but the inetd type, the server provides the ability to connect to one
3727 or to multiple server ports.")
3728 (license license:perl-license)))
3730 (define-public perl-net-smtp-ssl
3732 (name "perl-net-smtp-ssl")
3737 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3738 "Net-SMTP-SSL-" version ".tar.gz"))
3741 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3742 (build-system perl-build-system)
3744 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3745 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
3746 (synopsis "SSL support for Net::SMTP")
3747 (description "SSL support for Net::SMTP.")
3748 (license license:perl-license)))
3750 (define-public perl-plack
3757 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3758 "Plack-" version ".tar.gz"))
3761 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3762 (build-system perl-build-system)
3764 `(("perl-test-requires" ,perl-test-requires)
3765 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3767 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3768 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3769 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3770 ("perl-file-sharedir" ,perl-file-sharedir)
3771 ("perl-hash-multivalue" ,perl-hash-multivalue)
3772 ("perl-http-body" ,perl-http-body)
3773 ("perl-http-message" ,perl-http-message)
3774 ("perl-http-tiny" ,perl-http-tiny)
3775 ("perl-libwww" ,perl-libwww)
3776 ("perl-stream-buffered" ,perl-stream-buffered)
3777 ("perl-test-tcp" ,perl-test-tcp)
3778 ("perl-try-tiny" ,perl-try-tiny)
3779 ("perl-uri" ,perl-uri)))
3780 (home-page "https://metacpan.org/release/Plack")
3781 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3782 (description "Plack is a set of tools for using the PSGI stack. It
3783 contains middleware components, a reference server, and utilities for Web
3784 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3786 (license license:perl-license)))
3788 (define-public perl-plack-middleware-deflater
3790 (name "perl-plack-middleware-deflater")
3796 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
3797 "Plack-Middleware-Deflater-" version ".tar.gz"))
3800 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
3801 (build-system perl-build-system)
3803 `(("perl-module-install" ,perl-module-install)
3804 ("perl-test-requires" ,perl-test-requires)))
3806 `(("perl-plack" ,perl-plack)))
3807 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
3808 (synopsis "Compress response body with Gzip or Deflate")
3810 "Plack::Middleware::Deflater is a middleware to encode your response body
3811 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
3812 would save the bandwidth a little bit but should increase the Plack server
3813 load, so ideally you should handle this on the frontend reverse proxy
3815 (license license:perl-license)))
3817 (define-public perl-plack-middleware-fixmissingbodyinredirect
3819 (name "perl-plack-middleware-fixmissingbodyinredirect")
3824 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3825 "Plack-Middleware-FixMissingBodyInRedirect-"
3829 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3830 (build-system perl-build-system)
3832 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3833 ("perl-http-message" ,perl-http-message)
3834 ("perl-plack" ,perl-plack))) ;for Plack::Test
3836 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
3837 (synopsis "Plack::Middleware which sets body for redirect response")
3838 (description "This module sets the body in redirect response, if it's not
3840 (license license:perl-license)))
3842 (define-public perl-plack-middleware-methodoverride
3844 (name "perl-plack-middleware-methodoverride")
3849 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3850 "Plack-Middleware-MethodOverride-"
3853 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
3854 (build-system perl-build-system)
3856 `(("perl-module-build" ,perl-module-build)))
3858 `(("perl-plack" ,perl-plack)))
3859 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
3860 (synopsis "Override REST methods to Plack apps via POST")
3861 (description "This middleware allows for POST requests that pretend to be
3862 something else: by adding either a header named X-HTTP-Method-Override to the
3863 request, or a query parameter named x-tunneled-method to the URI, the client
3864 can say what method it actually meant.")
3865 (license license:perl-license)))
3867 (define-public perl-plack-middleware-removeredundantbody
3869 (name "perl-plack-middleware-removeredundantbody")
3874 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3875 "Plack-Middleware-RemoveRedundantBody-"
3878 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
3879 (build-system perl-build-system)
3881 `(("perl-plack" ,perl-plack)))
3883 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
3884 (synopsis "Plack::Middleware which removes body for HTTP response")
3885 (description "This module removes the body in an HTTP response if it's not
3887 (license license:perl-license)))
3889 (define-public perl-plack-middleware-reverseproxy
3891 (name "perl-plack-middleware-reverseproxy")
3896 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3897 "Plack-Middleware-ReverseProxy-"
3900 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
3901 (build-system perl-build-system)
3903 `(("perl-module-install" ,perl-module-install)))
3905 `(("perl-plack" ,perl-plack)))
3906 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
3907 (synopsis "Supports app to run as a reverse proxy backend")
3908 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3909 which are changed by reverse-proxy. You can specify the reverse proxy address
3910 and stop fake requests using @code{enable_if} directive in your app.psgi.")
3911 (license license:perl-license)))
3913 (define-public perl-plack-test-externalserver
3915 (name "perl-plack-test-externalserver")
3920 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3921 "Plack-Test-ExternalServer-" version ".tar.gz"))
3923 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
3924 (build-system perl-build-system)
3926 `(("perl-plack" ,perl-plack)))
3927 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
3928 (synopsis "Run HTTP tests on external live servers")
3929 (description "This module allows your to run your Plack::Test tests
3930 against an external server instead of just against a local application through
3931 either mocked HTTP or a locally spawned server.")
3932 (license license:perl-license)))
3934 (define-public perl-test-tcp
3936 (name "perl-test-tcp")
3941 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
3942 "Test-TCP-" version ".tar.gz"))
3944 (base32 "1djnaw1yli0kcd7azchqnp59l62f6mp13q50xyrjirpaxhd51j32"))))
3945 (build-system perl-build-system)
3947 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3948 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3949 (home-page "https://metacpan.org/release/Test-TCP")
3950 (synopsis "Testing TCP programs")
3951 (description "Test::TCP is test utilities for TCP/IP programs.")
3952 (license license:perl-license)))
3954 (define-public perl-test-www-mechanize
3956 (name "perl-test-www-mechanize")
3961 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3962 "Test-WWW-Mechanize-" version ".tar.gz"))
3964 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
3965 (build-system perl-build-system)
3967 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3968 ("perl-html-form" ,perl-html-form)
3969 ("perl-html-lint" ,perl-html-lint)
3970 ("perl-http-server-simple" ,perl-http-server-simple)
3971 ("perl-libwww" ,perl-libwww)
3972 ("perl-test-longstring" ,perl-test-longstring)
3973 ("perl-www-mechanize" ,perl-www-mechanize)))
3974 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
3975 (synopsis "Testing-specific WWW::Mechanize subclass")
3976 (description "Test::WWW::Mechanize is a subclass of the Perl module
3977 WWW::Mechanize that incorporates features for web application testing.")
3978 (license license:artistic2.0)))
3980 (define-public perl-test-www-mechanize-catalyst
3982 (name "perl-test-www-mechanize-catalyst")
3987 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
3988 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3990 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
3991 (build-system perl-build-system)
3993 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3994 ("perl-catalyst-plugin-session-state-cookie"
3995 ,perl-catalyst-plugin-session-state-cookie)
3996 ("perl-module-install" ,perl-module-install)
3997 ("perl-test-exception" ,perl-test-exception)
3998 ("perl-test-pod" ,perl-test-pod)
3999 ("perl-test-utf8" ,perl-test-utf8)))
4001 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
4002 ("perl-class-load" ,perl-class-load)
4003 ("perl-libwww" ,perl-libwww)
4004 ("perl-moose" ,perl-moose)
4005 ("perl-namespace-clean" ,perl-namespace-clean)
4006 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
4007 ("perl-www-mechanize" ,perl-www-mechanize)))
4008 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
4009 (synopsis "Test::WWW::Mechanize for Catalyst")
4010 (description "The Test::WWW::Mechanize::Catalyst module meshes the
4011 Test::WWW:Mechanize module and the Catalyst web application framework to allow
4012 testing of Catalyst applications without needing to start up a web server.")
4013 (license license:perl-license)))
4015 (define-public perl-test-www-mechanize-psgi
4017 (name "perl-test-www-mechanize-psgi")
4022 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4023 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
4026 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
4027 (build-system perl-build-system)
4029 `(("perl-test-pod" ,perl-test-pod)))
4031 `(("perl-plack" ,perl-plack)
4032 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
4033 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
4034 (synopsis "Test PSGI programs using WWW::Mechanize")
4035 (description "PSGI is a specification to decouple web server environments
4036 from web application framework code. Test::WWW::Mechanize is a subclass of
4037 WWW::Mechanize that incorporates features for web application testing. The
4038 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
4040 (license license:perl-license)))
4042 (define-public perl-uri
4048 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4049 "URI-" version ".tar.gz"))
4052 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
4053 (build-system perl-build-system)
4056 `(("perl-test-needs" ,perl-test-needs)))
4057 (license license:perl-license)
4058 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
4060 "The URI module implements the URI class. Objects of this class
4061 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
4062 and updated by RFC 2732.")
4063 (home-page "https://metacpan.org/release/URI")))
4065 (define-public perl-uri-fetch
4067 (name "perl-uri-fetch")
4071 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
4072 "URI-Fetch-" version ".tar.gz"))
4075 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
4076 (build-system perl-build-system)
4078 `(#:tests? #f)) ; Tests require internet connection to succeed
4080 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4081 ("perl-libwww" ,perl-libwww)
4082 ("perl-uri" ,perl-uri)))
4083 (home-page "https://metacpan.org/release/URI-Fetch")
4084 (synopsis "Smart URI fetching/caching")
4085 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
4086 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
4087 and time-saving way.")
4088 (license license:perl-license)))
4090 (define-public perl-uri-find
4092 (name "perl-uri-find")
4093 (version "20160806")
4097 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
4098 "URI-Find-" version ".tar.gz"))
4101 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
4102 (build-system perl-build-system)
4104 `(("perl-module-build" ,perl-module-build)))
4106 `(("perl-uri" ,perl-uri)))
4107 (home-page "https://metacpan.org/release/URI-Find")
4108 (synopsis "Find URIs in arbitrary text")
4109 (description "This module finds URIs and URLs (according to what URI.pm
4110 considers a URI) in plain text. It only finds URIs which include a
4111 scheme (http:// or the like), for something a bit less strict, consider
4112 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
4113 (license license:perl-license)))
4115 (define-public perl-uri-ws
4117 (name "perl-uri-ws")
4122 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
4123 "URI-ws-" version ".tar.gz"))
4126 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
4127 (build-system perl-build-system)
4129 `(("perl-uri" ,perl-uri)))
4130 (home-page "https://metacpan.org/release/URI-ws")
4131 (synopsis "WebSocket support for URI package")
4132 (description "With this module, the URI package provides the same set of
4133 methods for WebSocket URIs as it does for HTTP URIs.")
4134 (license license:perl-license)))
4136 (define-public perl-uri-template
4138 (name "perl-uri-template")
4142 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
4146 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
4147 (build-system perl-build-system)
4149 `(("perl-uri" ,perl-uri)))
4151 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
4152 ("perl-test-pod" ,perl-test-pod)
4153 ("perl-module-install" ,perl-module-install)
4154 ("perl-json" ,perl-json)))
4155 (home-page "https://metacpan.org/release/URI-Template")
4156 (synopsis "Object for handling URI templates")
4157 (description "This perl module provides a wrapper around URI templates as described in
4159 (license license:perl-license)))
4161 (define-public perl-www-curl
4163 (name "perl-www-curl")
4168 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
4170 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
4173 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
4174 (build-system perl-build-system)
4176 '(#:tests? #f ;XXX: tests require network access
4178 #:phases (modify-phases %standard-phases
4179 (add-before 'configure 'set-search-path
4181 ;; Work around "dotless @INC" build failure.
4183 (string-append (getcwd) ":"
4184 (getenv "PERL5LIB")))
4187 `(("perl-module-install" ,perl-module-install)))
4188 (inputs `(("curl" ,curl)))
4189 (synopsis "Perl extension interface for libcurl")
4191 "This is a Perl extension interface for the libcurl file downloading
4193 (license license:perl-license)
4194 (home-page "https://metacpan.org/release/WWW-Curl")))
4196 (define-public perl-www-mechanize
4198 (name "perl-www-mechanize")
4203 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
4204 "WWW-Mechanize-" version ".tar.gz"))
4206 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
4207 (build-system perl-build-system)
4208 (native-inputs ;only for tests
4209 `(("perl-cgi" ,perl-cgi)
4210 ("perl-test-deep" ,perl-test-deep)
4211 ("perl-test-fatal" ,perl-test-fatal)
4212 ("perl-test-output" ,perl-test-output)
4213 ("perl-test-warnings" ,perl-test-warnings)))
4215 `(("perl-html-form" ,perl-html-form)
4216 ("perl-html-parser" ,perl-html-parser)
4217 ("perl-html-tree" ,perl-html-tree)
4218 ("perl-http-message" ,perl-http-message)
4219 ("perl-http-server-simple" ,perl-http-server-simple)
4220 ("perl-libwww" ,perl-libwww)
4221 ("perl-test-warn" ,perl-test-warn)
4222 ("perl-uri" ,perl-uri)))
4223 (home-page "https://metacpan.org/release/WWW-Mechanize")
4224 (synopsis "Web browsing in a Perl object")
4225 (description "WWW::Mechanize is a Perl module for stateful programmatic
4226 web browsing, used for automating interaction with websites.")
4227 (license license:perl-license)))
4229 (define-public perl-www-opensearch
4231 (name "perl-www-opensearch")
4235 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
4236 "WWW-OpenSearch-" version ".tar.gz"))
4239 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
4240 (build-system perl-build-system)
4242 `(("perl-class-errorhandler" ,perl-class-errorhandler)
4243 ("perl-datetime" ,perl-datetime)
4244 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
4245 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
4246 ("perl-feed-find" ,perl-feed-find)
4247 ("perl-module-install" ,perl-module-install)
4248 ("perl-module-pluggable" ,perl-module-pluggable)
4249 ("perl-uri-fetch" ,perl-uri-fetch)
4250 ("perl-test-simple" ,perl-test-simple)
4251 ("perl-xml-atom" ,perl-xml-atom)
4252 ("perl-xml-rss" ,perl-xml-rss)))
4254 `(("perl-data-page" ,perl-data-page)
4255 ("perl-libwww" ,perl-libwww)
4256 ("perl-uri" ,perl-uri)
4257 ("perl-uri-template" ,perl-uri-template)
4258 ("perl-xml-feed" ,perl-xml-feed)
4259 ("perl-xml-libxml" ,perl-xml-libxml)))
4260 (home-page "https://metacpan.org/release/WWW-OpenSearch")
4261 (synopsis "Search A9 OpenSearch compatible engines")
4263 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
4264 http://opensearch.a9.com} compatible search engines.")
4265 (license license:perl-license)))
4267 (define-public perl-www-robotrules
4269 (name "perl-www-robotrules")
4274 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
4278 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
4279 (build-system perl-build-system)
4281 `(("perl-uri" ,perl-uri)))
4282 (license license:perl-license)
4283 (synopsis "Perl database of robots.txt-derived permissions")
4285 "The WWW::RobotRules module parses /robots.txt files as specified in
4286 \"A Standard for Robot Exclusion\", at
4287 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
4288 /robots.txt file to forbid conforming robots from accessing parts of
4290 (home-page "https://metacpan.org/release/WWW-RobotRules")))
4292 (define-public python-feedparser
4294 (name "python-feedparser")
4299 (uri (pypi-uri "feedparser" version ".tar.bz2"))
4302 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
4303 (build-system python-build-system)
4307 "https://github.com/kurtmckee/feedparser")
4308 (synopsis "Parse feeds in Python")
4310 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
4311 CDF, Atom 0.3, and Atom 1.0 feeds.")
4312 (license (list license:bsd-2 ; source code
4313 license:freebsd-doc)))) ; documentation
4315 (define-public python2-feedparser
4316 (package-with-python2 python-feedparser))
4318 (define-public guix-data-service
4319 (let ((commit "bf25a8db0278b49ef2149c69ef5d6dd2201fd413")
4322 (name "guix-data-service")
4323 (version (string-append "0.0.1-" revision "." (string-take commit 7)))
4327 (url "https://git.savannah.gnu.org/git/guix/data-service.git")
4329 (file-name (git-file-name name version))
4332 "0s6faybczdn10zwrkn22nfq5lvf538513hbmjfaqlkhfmwc4s1qd"))))
4333 (build-system gnu-build-system)
4335 '(#:modules ((guix build utils)
4336 (guix build gnu-build-system)
4339 #:test-target "check-with-tmp-database"
4341 (modify-phases %standard-phases
4342 (add-before 'build 'set-GUILE_AUTO_COMPILE
4344 ;; To avoid errors relating to guild
4345 (setenv "GUILE_AUTO_COMPILE" "0")
4347 (add-after 'install 'wrap-executable
4348 (lambda* (#:key inputs outputs #:allow-other-keys)
4349 (let* ((out (assoc-ref outputs "out"))
4350 (bin (string-append out "/bin"))
4351 (guile (assoc-ref inputs "guile"))
4352 (guile-effective-version
4354 (open-pipe* OPEN_READ
4355 (string-append guile "/bin/guile")
4356 "-c" "(display (effective-version))")))
4357 (scm (string-append out "/share/guile/site/"
4358 guile-effective-version))
4359 (go (string-append out "/lib/guile/"
4360 guile-effective-version
4364 (wrap-program (string-append bin "/" file)
4367 `("GUILE_LOAD_PATH" ":" prefix
4368 (,scm ,(getenv "GUILE_LOAD_PATH")))
4369 `("GUILE_LOAD_COMPILED_PATH" ":" prefix
4370 (,go ,(getenv "GUILE_LOAD_COMPILED_PATH")))))
4371 '("guix-data-service"
4372 "guix-data-service-process-branch-updated-email"
4373 "guix-data-service-process-branch-updated-mbox"
4374 "guix-data-service-process-job"
4375 "guix-data-service-process-jobs"
4376 "guix-data-service-manage-build-servers"
4377 "guix-data-service-query-build-servers"))
4379 (delete 'strip)))) ; As the .go files aren't compatible
4382 ("guile-fibers" ,guile-fibers)
4383 ("guile-json" ,guile-json-3)
4384 ("guile-email" ,guile-email)
4385 ("guile-squee" ,guile-squee)
4386 ("postgresql" ,postgresql)
4387 ("sqitch" ,sqitch)))
4389 `(("guile" ,guile-2.2)
4390 ("autoconf" ,autoconf)
4391 ("automake" ,automake)
4392 ("ephemeralpg" ,ephemeralpg)
4393 ("emacs-minimal" ,emacs-minimal)
4394 ("emacs-htmlize" ,emacs-htmlize)
4395 ("pkg-config" ,pkg-config)))
4396 (synopsis "Store and provide data about GNU Guix")
4398 "The Guix Data Service stores data about GNU Guix, and provides this
4399 through a web interface. It supports listening to the guix-commits mailing
4400 list to find out about new revisions, then loads the data from these in to a
4401 PostgreSQL database.")
4402 (home-page "http://data.guix.gnu.org/")
4403 (license license:agpl3+))))
4405 (define-public gumbo-parser
4407 (name "gumbo-parser")
4412 (url "https://github.com/google/gumbo-parser")
4413 (commit (string-append "v" version))))
4414 (file-name (git-file-name name version))
4417 "0xslckwdh2i0g2qjsb6rnm8mjmbagvziz0hjlf7d1lbljfms1iw1"))))
4418 (build-system gnu-build-system)
4420 `(#:tests? #f)) ;tests require bundling googletest sources
4421 ;; The release tarball lacks the generated files.
4423 `(("autoconf" ,autoconf)
4424 ("automake" ,automake)
4425 ("libtool" ,libtool)))
4426 (home-page "https://github.com/google/gumbo-parser")
4427 (synopsis "HTML5 parsing library")
4429 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4430 a pure C99 library.")
4431 (license license:asl2.0)))
4433 (define-public uwsgi
4439 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4443 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4444 (build-system gnu-build-system)
4445 (outputs '("out" "python"))
4447 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4448 ;; But there is no obvious way to run the real tests.
4451 (modify-phases %standard-phases
4453 ;; Configuration is done by writing an ini file.
4454 (lambda* (#:key outputs #:allow-other-keys)
4455 (let* ((out (assoc-ref outputs "out"))
4456 (bindir (string-append out "/bin"))
4457 (plugindir (string-append out "/lib/uwsgi")))
4458 ;; The build phase outputs files to these directories directly.
4461 ;; XXX: Enable other plugins.
4462 (call-with-output-file "buildconf/guix.ini"
4464 (format port "[uwsgi]
4470 plugins = cgi,python
4472 " bindir plugindir))))
4473 (setenv "PROFILE" "guix")
4476 ;; Move plugins into their own output.
4477 (lambda* (#:key outputs #:allow-other-keys)
4478 (let* ((out (assoc-ref outputs "out"))
4479 (plugindir (string-append out "/lib/uwsgi"))
4480 (python-plugin (string-append
4481 plugindir "/python_plugin.so")))
4482 (install-file python-plugin
4484 (assoc-ref outputs "python") "/lib/uwsgi"))
4485 (delete-file python-plugin)
4488 `(("pkg-config" ,pkg-config)
4489 ("python" ,python-wrapper)))
4491 `(("jansson" ,jansson)
4492 ("libxml2" ,libxml2)
4493 ("libyaml" ,libyaml)
4494 ("openssl" ,openssl)
4498 ("python" ,python)))
4499 (home-page "https://uwsgi-docs.readthedocs.org/")
4500 (synopsis "Application container server")
4502 "uWSGI presents a complete stack for networked/clustered web applications,
4503 implementing message/object passing, caching, RPC and process management.
4504 It uses the uwsgi protocol for all the networking/interprocess communications.")
4505 (license license:gpl2+))) ; with linking exception
4514 (uri (string-append "https://github.com/stedolan/jq"
4515 "/releases/download/jq-" version
4516 "/jq-" version ".tar.gz"))
4518 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4519 (modules '((guix build utils)))
4522 ;; Remove bundled onigurama.
4523 (delete-file-recursively "modules")
4526 `(("oniguruma" ,oniguruma)))
4528 `(;; TODO fix gems to generate documentation
4530 ;;("bundler" ,bundler)
4531 ("valgrind" ,valgrind)))
4532 (build-system gnu-build-system)
4533 (home-page "http://stedolan.github.io/jq/")
4534 (synopsis "Command-line JSON processor")
4535 (description "jq is like sed for JSON data – you can use it to slice and
4536 filter and map and transform structured data with the same ease that sed, awk,
4537 grep and friends let you play with text. It is written in portable C. jq can
4538 mangle the data format that you have into the one that you want with very
4539 little effort, and the program to do so is often shorter and simpler than
4541 (license (list license:expat license:cc-by3.0))))
4543 (define-public uhttpmock
4550 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4551 name "-" version ".tar.xz"))
4554 "163py4klka423x7li2b685gmg3a6hjf074mlff2ajhmi3l0lm8x6"))))
4555 (build-system glib-or-gtk-build-system)
4557 `(("gobject-introspection" ,gobject-introspection)
4559 ("glib-networking" ,glib-networking)
4560 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4561 ("pkg-config" ,pkg-config)))
4563 `(("libsoup" ,libsoup)))
4564 (home-page "https://gitlab.com/groups/uhttpmock")
4565 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4567 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4568 HTTPS. It provides a library, libuhttpmock, which implements recording and
4569 playback of HTTP request/response traces.")
4570 (license license:lgpl2.1+)))
4575 (version "2012-05-31")
4579 "http://www.home.unix-ag.org/simon/woof-"
4583 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4584 (build-system trivial-build-system)
4586 '(#:modules ((guix build utils))
4589 (use-modules (guix build utils))
4590 (let* ((source (assoc-ref %build-inputs "source"))
4591 (out (assoc-ref %outputs "out"))
4592 (bin (string-append out "/bin"))
4593 (python (assoc-ref %build-inputs "python")))
4595 (with-directory-excursion bin
4596 (copy-file source "woof")
4597 (patch-shebang "woof" (list (string-append python "/bin")))
4598 (chmod "woof" #o555))
4600 (inputs `(("python" ,python-2)))
4601 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4602 (synopsis "Single file web server")
4603 (description "Woof (Web Offer One File) is a small simple web server that
4604 can easily be invoked on a single file. Your partner can access the file with
4605 tools they trust (e.g. wget).")
4606 (license license:gpl2+)))
4608 (define netsurf-buildsystem
4610 (name "netsurf-buildsystem")
4615 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4616 "buildsystem-" version ".tar.gz"))
4619 "1q23aaycv35ma5471l1gxib8lfq2s9kprrkaqgfc926d04rlbmhw"))))
4620 (build-system gnu-build-system)
4621 (inputs `(("perl" ,perl)))
4623 '(#:make-flags (list (string-append "PREFIX=" %output))
4624 #:tests? #f ;no tests
4625 #:phases (modify-phases %standard-phases
4628 (home-page "https://www.netsurf-browser.org")
4629 (synopsis "Build system for the Netsurf project")
4631 "This package provides the shared build system for Netsurf project
4633 (license license:expat)))
4635 (define netsurf-buildsystem-arguments
4636 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4637 "CC=gcc" "BUILD_CC=gcc"
4638 ,(string-append "PREFIX=" %output)
4639 ,(string-append "NSSHARED="
4640 (assoc-ref %build-inputs
4641 "netsurf-buildsystem")
4642 "/share/netsurf-buildsystem"))
4643 #:test-target "test"
4644 #:phases (modify-phases %standard-phases
4645 (delete 'configure))))
4647 (define-public libparserutils
4649 (name "libparserutils")
4654 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4655 name "-" version "-src.tar.gz"))
4658 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4659 (build-system gnu-build-system)
4661 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4662 ("pkg-config" ,pkg-config)
4663 ("perl" ,perl))) ;for test harness
4664 (arguments netsurf-buildsystem-arguments)
4665 (home-page "https://www.netsurf-browser.org/projects/libparserutils/")
4666 (synopsis "Parser building library")
4668 "LibParserUtils is a library for building efficient parsers, written in
4669 C. It is developed as part of the NetSurf project.")
4670 (license license:expat)))
4672 (define-public hubbub
4679 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4680 "libhubbub-" version "-src.tar.gz"))
4683 "1x3v7xvagx85v9h3pypzc86rcxs4mij87mmcqkp8pq50q6awfmnp"))
4684 (patches (search-patches "hubbub-sort-entities.patch"))))
4685 (build-system gnu-build-system)
4687 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4688 ("pkg-config" ,pkg-config)
4689 ("doxygen" ,doxygen)
4690 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4693 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4694 (arguments netsurf-buildsystem-arguments)
4695 (home-page "https://www.netsurf-browser.org/projects/hubbub/")
4696 (synopsis "HTML5 compliant parsing library")
4698 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4699 parse both valid and invalid web content. It is developed as part of the
4701 (license license:expat)))
4703 (define-public ikiwiki
4706 (version "3.20190228")
4710 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4711 "20190301T035241Z/pool/main/i/ikiwiki/ikiwiki_"
4712 version ".orig.tar.xz"))
4715 "17pyblaqhkb61lxl63bzndiffism8k859p54k3k4sghclq6lsynh"))))
4716 (build-system perl-build-system)
4719 (modify-phases %standard-phases
4720 (add-after 'unpack 'include-PERL5LIB-in-wrapper
4722 (substitute* "IkiWiki/Wrapper.pm"
4723 (("^@wrapper\\_hooks")
4726 " addenv(\"PERL5LIB\", \""
4729 (add-after 'patch-source-shebangs 'patch-Makefile
4731 (substitute* "Makefile.PL"
4732 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
4734 (add-after 'install 'wrap-programs
4735 (lambda* (#:key outputs #:allow-other-keys)
4736 (let* ((out (assoc-ref outputs "out"))
4737 (bin (string-append out "/bin/"))
4738 (path (getenv "PERL5LIB")))
4739 (for-each (lambda (file)
4741 `("PERL5LIB" ":" prefix (,path))))
4746 ("perl-html-tagset" ,perl-html-tagset)
4747 ("perl-timedate" ,perl-timedate)
4748 ("perl-xml-sax" ,perl-xml-sax)
4749 ("perl-xml-simple" ,perl-xml-simple)
4750 ("gettext" ,gettext-minimal)
4751 ("subversion" ,subversion)
4755 ("mercurial" ,mercurial)))
4757 `(("python" ,python-wrapper)
4758 ("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
4759 ("perl-cgi-session" ,perl-cgi-session)
4760 ("perl-cgi-simple" ,perl-cgi-simple)
4761 ("perl-db-file" ,perl-db-file)
4762 ("perl-html-parser" ,perl-html-parser)
4763 ("perl-html-scrubber" ,perl-html-scrubber)
4764 ("perl-html-template" ,perl-html-template)
4765 ("perl-image-magick" ,perl-image-magick)
4766 ("perl-json" ,perl-json)
4767 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4768 ("perl-uri" ,perl-uri)
4769 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4770 (home-page "https://ikiwiki.info/")
4771 (synopsis "Wiki compiler, capable of generating HTML")
4773 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4774 pages, but also incorporating dynamic features like a web based editor and
4776 (license license:gpl2+)))
4778 (define-public libwapcaplet
4780 (name "libwapcaplet")
4785 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4786 "libwapcaplet-" version "-src.tar.gz"))
4789 "1fjwzbn7j8bi1b9bvwxsy3i2cr6byq2s2d29866801pjnf528g86"))))
4790 (build-system gnu-build-system)
4792 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4793 ("pkg-config" ,pkg-config)
4794 ("check" ,check))) ;for tests
4795 (arguments netsurf-buildsystem-arguments)
4796 (home-page "https://www.netsurf-browser.org/projects/libwapcaplet/")
4797 (synopsis "String internment library")
4799 "LibWapcaplet provides a reference counted string internment system
4800 designed to store small strings and allow rapid comparison of them. It is
4801 developed as part of the Netsurf project.")
4802 (license license:expat)))
4804 (define-public libcss
4811 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4812 "libcss-" version "-src.tar.gz"))
4815 "1vw9j3d2mr4wbvs8fyqmgslkbxknvac10456775hflxxcivbm3xr"))))
4816 (build-system gnu-build-system)
4818 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4819 ("pkg-config" ,pkg-config)
4821 (propagated-inputs ;needed for libcss.pc
4822 `(("libparserutils" ,libparserutils)
4823 ("libwapcaplet" ,libwapcaplet)))
4824 (arguments netsurf-buildsystem-arguments)
4825 (home-page "https://www.netsurf-browser.org/projects/libcss/")
4826 (synopsis "CSS parser and selection library")
4828 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4829 written in C. It is developed as part of the NetSurf project.")
4830 (license license:expat)))
4832 (define-public libdom
4839 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4840 "libdom-" version "-src.tar.gz"))
4843 "1ixkqsl3f7dl1kajksm0c231w1v5xy8z6hm3v67hgm9nh4qcvfcy"))))
4844 (build-system gnu-build-system)
4846 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4847 ("pkg-config" ,pkg-config)
4848 ("perl" ,perl) ;for test harness
4849 ("perl-libxml" ,perl-libxml)
4850 ("perl-switch" ,perl-switch)
4851 ("perl-xml-xpath" ,perl-xml-xpath)))
4853 `(("libparserutils" ,libparserutils)
4854 ("libwapcaplet" ,libwapcaplet)))
4856 `(("expat" ,expat) ;needed for headers and linking
4857 ("hubbub" ,hubbub))) ;for libdom.pc
4859 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4860 ,@netsurf-buildsystem-arguments))
4861 (home-page "https://www.netsurf-browser.org/projects/libdom/")
4862 (synopsis "Implementation of the W3C DOM")
4864 "LibDOM is an implementation of the W3C DOM, written in C. It is
4865 developed as part of the NetSurf project.")
4866 (license license:expat)))
4868 (define-public libsvgtiny
4875 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4876 name "-" version "-src.tar.gz"))
4879 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
4880 (build-system gnu-build-system)
4882 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4883 ("pkg-config" ,pkg-config)
4884 ("gperf" ,gperf-3.0)))
4886 `(("libwapcaplet" ,libwapcaplet)))
4888 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4889 (arguments netsurf-buildsystem-arguments)
4890 (home-page "https://www.netsurf-browser.org/projects/libsvgtiny/")
4891 (synopsis "Library for parsing SVG files")
4893 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4894 which can be rendered easily, as defined in
4895 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4897 (license license:expat)))
4899 (define-public libnsbmp
4906 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4907 name "-" version "-src.tar.gz"))
4910 "0lib2m07d1i0k80m4blkwnj0g7rha4jbm5vrgd0wwbkyfa0hvk35"))))
4911 (build-system gnu-build-system)
4913 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4914 (arguments netsurf-buildsystem-arguments)
4915 (home-page "https://www.netsurf-browser.org/projects/libnsbmp/")
4916 (synopsis "Decoding library for BMP and ICO files")
4918 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4919 written in C. It is developed as part of the NetSurf project.")
4920 (license license:expat)))
4922 (define-public libnsgif
4929 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4930 name "-" version "-src.tar.gz"))
4933 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
4934 (build-system gnu-build-system)
4936 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4937 (arguments netsurf-buildsystem-arguments)
4938 (home-page "https://www.netsurf-browser.org/projects/libnsgif/")
4939 (synopsis "Decoding library for GIF files")
4941 "Libnsgif is a decoding library for the GIF image file format, written in
4942 C. It is developed as part of the NetSurf project.")
4943 (license license:expat)))
4945 (define-public libnslog
4952 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4953 "libnslog-" version "-src.tar.gz"))
4956 "1ggs6xvxp8fbg5w8pifalipm458ygr9ab6j2yvj8fnnmxwvdh4jd"))))
4957 (build-system gnu-build-system)
4959 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4960 ("pkg-config" ,pkg-config)
4961 ("check" ,check-0.12) ; For tests
4964 (arguments netsurf-buildsystem-arguments)
4965 (home-page "https://www.netsurf-browser.org/")
4966 (synopsis "Logging library")
4968 "Libnslog provides a category-based logging library which supports
4969 complex logging filters, multiple log levels, and provides context through to
4970 client applications. It is developed as part of the NetSurf project.")
4971 (license license:expat)))
4973 (define-public libnsutils
4980 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
4981 name "-" version "-src.tar.gz"))
4984 "09w1rixps1iiq6wirjwxmd6h87llvjzvw565rahjb3rlyhcplfqf"))))
4985 (build-system gnu-build-system)
4987 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4988 (arguments netsurf-buildsystem-arguments)
4989 (home-page "https://www.netsurf-browser.org/")
4990 (synopsis "Utility library for NetSurf")
4992 "Libnsutils provides a small number of useful utility routines. It is
4993 developed as part of the NetSurf project.")
4994 (license license:expat)))
4996 (define-public libnspsl
5003 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5004 "libnspsl-" version "-src.tar.gz"))
5007 "0siq8zjfxv75i9fw6q5hkaijpdm1w3zskd5qk6vsvz8cqan4vifd"))))
5008 (build-system gnu-build-system)
5010 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
5011 (arguments netsurf-buildsystem-arguments)
5012 (home-page "https://www.netsurf-browser.org/")
5013 (synopsis "Library to generate a static Public Suffix List")
5015 "Libnspsl is a library to generate a static code representation of the
5016 Public Suffix List. It is developed as part of the NetSurf project.")
5017 (license license:expat)))
5019 (define-public nsgenbind
5026 (uri (string-append "https://download.netsurf-browser.org/libs/releases/"
5027 "nsgenbind-" version "-src.tar.gz"))
5030 "0rplmky4afsjwiwh7grkmcdmzg86zksa55j93dvq92f91yljwqqq"))))
5031 (build-system gnu-build-system)
5033 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5037 (substitute-keyword-arguments netsurf-buildsystem-arguments
5038 ((#:make-flags flags)
5039 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
5040 (home-page "https://www.netsurf-browser.org/")
5041 (synopsis "Generate JavaScript to DOM bindings")
5043 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
5044 w3c webidl files and a binding configuration file.")
5045 (license license:expat)))
5047 (define-public netsurf
5054 (uri (string-append "https://download.netsurf-browser.org/netsurf/"
5055 "releases/source/netsurf-" version "-src.tar.gz"))
5058 "1hzcm2s2wh5sapgr000lg63hcdbj6hyajxl43xa1x80kc5piqbyp"))
5059 (patches (search-patches "netsurf-system-utf8proc.patch"
5060 "netsurf-y2038-tests.patch"
5061 "netsurf-longer-test-timeout.patch"
5062 "netsurf-message-timestamp.patch"))))
5063 (build-system glib-or-gtk-build-system)
5065 `(("netsurf-buildsystem" ,netsurf-buildsystem)
5066 ("nsgenbind" ,nsgenbind)
5067 ("libidn" ,libidn) ;only for tests
5070 ("perl-html-parser" ,perl-html-parser)
5071 ("pkg-config" ,pkg-config)
5076 ("openssl" ,openssl)
5077 ("utf8proc" ,utf8proc)
5079 ("libjpeg" ,libjpeg)
5082 ("libnsbmp" ,libnsbmp)
5083 ("libnsgif" ,libnsgif)
5084 ("libnslog" ,libnslog)
5085 ("libnspsl" ,libnspsl)
5086 ("libnsutils" ,libnsutils)
5087 ("libsvgtiny" ,libsvgtiny)
5088 ("miscfiles" ,miscfiles)))
5090 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
5092 ,(string-append "PREFIX=" %output)
5093 ,(string-append "NSSHARED="
5094 (assoc-ref %build-inputs
5095 "netsurf-buildsystem")
5096 "/share/netsurf-buildsystem"))
5097 #:test-target "test"
5098 #:modules ((ice-9 rdelim)
5102 ,@%glib-or-gtk-build-system-modules)
5104 (modify-phases %standard-phases
5106 (add-after 'build 'adjust-welcome
5108 (substitute* "frontends/gtk/res/welcome.html"
5109 ;; Close some XHTML tags.
5110 (("<(img|input)([^>]*)>" _ tag contents)
5111 (string-append "<" tag contents " />"))
5112 ;; Increase freedom.
5113 ((" open source") ", free software")
5114 ;; Prefer a more privacy-respecting default search engine.
5115 (("www.google.co.uk") "www.duckduckgo.com/html")
5116 (("Google Search") "DuckDuckGo Search")
5117 (("name=\"btnG\"") ""))
5118 ;; Remove default links so it doesn't seem we're endorsing them.
5119 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
5121 ;; Leave the DOCTYPE header as is.
5122 (display (read-line in 'concat) out)
5124 (let rec ((sxml (xml->sxml in
5125 #:default-entity-handler
5127 (string-append "<ENTITY>"
5128 (symbol->string name)
5130 ;; We'd like to use sxml-match here, but it can't
5131 ;; match against generic tag symbols...
5133 (`(div (@ (class "links")) . ,rest)
5142 (add-before 'check 'patch-check
5143 (lambda* (#:key inputs #:allow-other-keys)
5144 (substitute* '("test/bloom.c" "test/hashtable.c")
5145 (("/usr/share/dict/words")
5146 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
5148 (add-after 'install 'install-more
5149 (lambda* (#:key outputs #:allow-other-keys)
5150 (let* ((out (assoc-ref outputs "out"))
5151 (desktop (string-append out "/share/applications/"
5152 "netsurf.desktop")))
5153 (mkdir-p (dirname desktop))
5154 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
5156 (substitute* desktop
5157 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk"))
5158 (("netsurf.png") (string-append out "/share/netsurf/"
5160 (install-file "docs/netsurf-gtk.1"
5161 (string-append out "/share/man/man1/"))
5163 (home-page "https://www.netsurf-browser.org")
5164 (synopsis "Web browser")
5166 "NetSurf is a lightweight web browser that has its own layout and
5167 rendering engine entirely written from scratch. It is small and capable of
5168 handling many of the web standards in use today.")
5169 (license license:gpl2+)))
5171 (define-public surfraw
5178 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
5179 "2de827b2786ef2fe43b6f07913ca7b7f/"
5180 "surfraw-" version ".tar.gz"))
5182 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
5183 (build-system gnu-build-system)
5186 (modify-phases %standard-phases
5187 (add-before 'configure 'patch-perl
5188 (lambda* (#:key inputs #:allow-other-keys)
5189 (let ((perl (assoc-ref inputs "perl")))
5190 (substitute* "surfraw.IN"
5192 (string-append perl "/bin/perl -e")))
5194 (add-after 'install 'compress-elvi.1sr
5195 (lambda* (#:key outputs #:allow-other-keys)
5196 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
5197 ;; but elvi.1sr does not get compressed by our manpage phase.
5198 (let* ((out (assoc-ref %outputs "out"))
5199 (man (string-append out "/share/man/man1")))
5200 (with-directory-excursion man
5201 (invoke "gzip" "elvi.1sr"))))))))
5204 ("perl-www-opensearch" ,perl-www-opensearch)
5205 ("perl-html-parser" ,perl-html-parser)
5206 ("perl-libwww" ,perl-libwww)))
5207 (synopsis "Unix command line interface to the www")
5208 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
5209 provides a unix command line interface to a variety of popular www search engines
5210 and similar services.")
5211 (home-page "https://surfraw.alioth.debian.org/")
5212 (license license:public-domain)))
5214 (define-public darkhttpd
5221 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
5222 version ".tar.bz2"))
5225 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
5226 (build-system gnu-build-system)
5228 `(#:make-flags '("CC=gcc")
5229 #:tests? #f ; No test suite
5231 (modify-phases %standard-phases
5234 (lambda* (#:key outputs #:allow-other-keys)
5235 (install-file "darkhttpd"
5236 (string-append (assoc-ref outputs "out")
5239 (synopsis "Simple static web server")
5240 (description "darkhttpd is a simple static web server. It is
5241 standalone and does not need inetd or ucspi-tcp. It does not need any
5242 config files---you only have to specify the www root.")
5243 (home-page "https://unix4lyfe.org/darkhttpd/")
5244 (license license:isc)))
5246 (define-public goaccess
5252 (uri (string-append "http://tar.goaccess.io/goaccess-"
5256 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
5257 (modules '((guix build utils)))
5259 (substitute* "src/error.h"
5260 (("__DATE__") "\"1970-01-01\"")
5261 (("__TIME__") "\"00:00:00\""))
5263 (build-system gnu-build-system)
5265 ;; TODO: Add dependency on geoip-tools.
5267 ("ncurses" ,ncurses)))
5269 `(("pkg-config" ,pkg-config)))
5270 (home-page "https://goaccess.io")
5271 (synopsis "Analyze Web server logs in real time")
5273 "GoAccess is a real-time web log analyzer and interactive viewer that
5274 runs in a terminal or through your browser. It provides fast and valuable
5275 HTTP statistics for system administrators that require a visual server report
5277 (license license:x11)))
5279 (define-public httptunnel
5286 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
5287 name "-" version ".tar.gz"))
5290 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
5291 (modules '((guix build utils)))
5293 ;; Remove non-free IETF RFC documentation.
5294 (delete-file-recursively "doc")
5296 (build-system gnu-build-system)
5299 (modify-phases %standard-phases
5300 ;; The default configure phase tries to pass environment variables as
5301 ;; command-line arguments, which confuses the ./configure script.
5303 (lambda* (#:key outputs #:allow-other-keys)
5304 (let* ((out (assoc-ref outputs "out")))
5305 (setenv "CONFIG_SHELL" (which "bash"))
5306 (invoke "./configure"
5307 (string-append "--prefix=" out))))))))
5308 (home-page "http://www.nocrew.org/software/httptunnel.html")
5309 (synopsis "Tunnel data connections through HTTP requests")
5310 (description "httptunnel creates a bidirectional virtual data connection
5311 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
5312 useful for users behind restrictive firewalls. As long as Web traffic is
5313 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
5314 tools like SSH (Secure Shell) to reach the outside world.")
5315 (license license:gpl2+)))
5317 (define-public stunnel
5324 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
5327 (base32 "08kb4gi9fzqngrczykvba6xhaxhq9m4wmdbhxvgrva5rasrvz13k"))))
5328 (build-system gnu-build-system)
5331 `(("iproute" ,iproute)
5333 ("procps" ,procps)))
5334 (inputs `(("openssl" ,openssl)))
5337 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
5339 (modify-phases %standard-phases
5340 (add-after 'unpack 'patch-output-directories
5342 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
5343 (substitute* (list "Makefile.in"
5345 "tools/Makefile.in")
5347 (string-append "/doc/" ,name "-" ,version)))
5349 (add-before 'check 'patch-tests
5351 (substitute* "tests/make_test"
5353 (string-append (which "sh") " ")))
5355 (home-page "https://www.stunnel.org")
5356 (synopsis "TLS proxy for clients or servers")
5357 (description "Stunnel is a proxy designed to add TLS encryption
5358 functionality to existing clients and servers without any changes in the
5359 programs' code. Its architecture is optimized for security, portability, and
5360 scalability (including load-balancing), making it suitable for large
5362 (license license:gpl2+)))
5364 (define-public varnish
5367 (home-page "https://varnish-cache.org/")
5371 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
5374 "1f5ahzdh3am6fij5jhiybv3knwl11rhc5r3ig1ybzw55ai7788q8"))))
5375 (build-system gnu-build-system)
5377 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
5378 ;; Use absolute path of GCC so it's found at runtime.
5379 (string-append "PTHREAD_CC="
5380 (assoc-ref %build-inputs "gcc")
5382 "--localstatedir=/var")
5384 (modify-phases %standard-phases
5385 (add-after 'unpack 'use-absolute-file-names
5387 (substitute* '("bin/varnishtest/vtc_varnish.c"
5388 "bin/varnishtest/vtc_process.c"
5389 "bin/varnishd/mgt/mgt_vcc.c"
5390 "bin/varnishtest/tests/u00014.vtc")
5391 (("/bin/sh") (which "sh")))
5392 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
5393 (("rm -rf") (string-append (which "rm") " -rf")))
5394 (substitute* "bin/varnishtest/vtc_main.c"
5395 (("/bin/rm") (which "rm")))
5397 (add-before 'install 'patch-Makefile
5399 (substitute* "Makefile"
5400 ;; Do not create /var/varnish during install.
5401 (("^install-data-am: install-data-local") "install-data-am: "))
5403 (add-after 'install 'wrap-varnishd
5404 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
5405 ;; environment variables to avoid propagating them to profiles.
5406 (lambda* (#:key inputs outputs #:allow-other-keys)
5407 (let* ((out (assoc-ref outputs "out"))
5408 (varnishd (string-append out "/sbin/varnishd"))
5409 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
5410 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
5411 (wrap-program varnishd
5412 ;; Add binutils to PATH so gcc finds the 'as' executable.
5413 `("PATH" ":" prefix (,PATH))
5414 ;; Make sure 'crti.o' et.al is found.
5415 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
5418 `(("pkg-config" ,pkg-config)
5419 ("python-sphinx" ,python-sphinx)
5420 ("rst2man" ,python-docutils)))
5422 `(("jemalloc" ,jemalloc)
5423 ("ncurses" ,ncurses)
5425 ("python" ,python-wrapper)
5426 ("readline" ,readline)))
5427 (synopsis "Web application accelerator")
5429 "Varnish is a high-performance HTTP accelerator. It acts as a caching
5430 reverse proxy and load balancer. You install it in front of any server that
5431 speaks HTTP and configure it to cache the contents through an extensive
5432 configuration language.")
5433 (license (list license:bsd-2 ;main distribution
5434 license:zlib ;lib/libvgz/*
5435 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
5436 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5438 (define-public varnish-modules
5440 (name "varnish-modules")
5441 (home-page "https://github.com/varnish/varnish-modules")
5445 (uri (string-append "https://download.varnish-software.com"
5446 "/varnish-modules/varnish-modules-"
5450 "09li9lqa1kb275w1rby2zldyg8r9cfcl4qyv53qyd9xbzilrz751"))))
5451 (build-system gnu-build-system)
5453 `(("pkg-config" ,pkg-config)))
5455 `(("python" ,python)
5456 ("varnish" ,varnish)))
5457 (synopsis "Collection of Varnish modules")
5459 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5460 cache server, extending the @dfn{Varnish Configuration Language} (VCL) with
5461 additional capabilities.")
5462 (license license:bsd-2)))
5464 (define-public xinetd
5467 ;; This is the maintenance fork currently used by openSUSE and Debian.
5468 (version "2.3.15.4")
5473 (url "https://github.com/openSUSE/xinetd.git")
5475 (file-name (git-file-name name version))
5477 (base32 "0lrp3lcj6azhjplwxws2rx40bkyp6i6bp7n77ndcisb7ninad30q"))))
5478 (build-system gnu-build-system)
5480 `(#:configure-flags '("--with-loadavg")
5481 #:tests? #f)) ; no tests
5483 `(("autoconf" ,autoconf)
5484 ("automake" ,automake)
5485 ("libtool" ,libtool)
5486 ("pkg-config" ,pkg-config)))
5487 (home-page "https://github.com/openSUSE/xinetd")
5488 (synopsis "Internet services daemon")
5489 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5490 listens for incoming requests over a network and launches the appropriate
5491 service for that request. Requests are made using port numbers as identifiers
5492 and xinetd usually launches another daemon to handle the request. It can be
5493 used to start services with both privileged and non-privileged port numbers.")
5494 (license (license:fsf-free "file://COPYRIGHT"))))
5496 (define-public tidy-html
5504 (url "https://github.com/htacg/tidy-html5")
5506 (file-name (git-file-name name version))
5509 "0w175c5d1babq0w1zzdzw9gl6iqbgyq58v8587s7srp05y3hwy9k"))))
5510 (build-system cmake-build-system)
5512 "static")) ; 1.3MiB of .a files
5514 `(#:tests? #f ; no tests available
5515 #:build-type "Release"
5517 (modify-phases %standard-phases
5518 (add-after 'install 'move-static-libraries
5519 (lambda* (#:key outputs #:allow-other-keys)
5520 ;; Move static libraries to the "static" output.
5521 (let* ((out (assoc-ref outputs "out"))
5522 (lib (string-append out "/lib"))
5523 (static (assoc-ref outputs "static"))
5524 (slib (string-append static "/lib")))
5526 (for-each (lambda (file)
5527 (install-file file slib)
5529 (find-files lib "\\.a$"))
5532 `(("libxslt" ,libxslt)))
5533 (home-page "http://www.html-tidy.org/")
5534 (synopsis "HTML Tidy with HTML5 support")
5536 "Tidy is a console application which corrects and cleans up
5537 HTML and XML documents by fixing markup errors and upgrading
5538 legacy code to modern standards.
5540 Tidy also provides @code{libtidy}, a C static and dynamic library that
5541 developers can integrate into their applications to make use of the
5542 functions of Tidy.")
5543 (license license:bsd-3)))
5545 (define-public hiawatha
5552 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5553 "hiawatha-" version ".tar.gz"))
5554 (modules '((guix build utils)))
5556 ;; We use packaged libraries, so delete the bundled copies.
5557 (for-each delete-file-recursively
5558 (list "extra/nghttp2.tgz" "mbedtls"))
5561 (base32 "1nd46cx1qp5lh2kwnn2mlwk9zm8jm7pgf90xs9vpwr7saxbnzr5m"))))
5562 (build-system cmake-build-system)
5564 `(#:tests? #f ; no tests included
5565 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5566 (string-append "-DENABLE_HTTP2=on")
5567 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
5568 (string-append "-DENABLE_TOMAHAWK=on")
5569 (string-append "-DLOG_DIR=/var/log/hiawatha")
5570 (string-append "-DPID_DIR=/run")
5571 (string-append "-DWEBROOT_DIR="
5572 (assoc-ref %outputs "out")
5573 "/share/hiawatha/html")
5574 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
5576 (modify-phases %standard-phases
5577 (add-after 'unpack 'install-no-empty-directories
5579 (substitute* "CMakeLists.txt"
5580 (("install\\(DIRECTORY DESTINATION" match)
5581 (string-append "#" match)))
5583 (add-after 'install 'wrap
5584 (lambda* (#:key inputs outputs #:allow-other-keys)
5585 ;; Make sure 'hiawatha' finds 'mbedtls'.
5586 (let* ((out (assoc-ref outputs "out"))
5587 (sbin (string-append out "/sbin"))
5588 (mbed (assoc-ref inputs "mbedtls-apache")))
5589 (wrap-program (string-append sbin "/hiawatha")
5590 `("PATH" ":" prefix (,mbed)))))))))
5592 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
5593 `(("libxslt" ,libxslt)
5594 ("libxml2" ,libxml2)
5595 ("mbedtls-apache" ,mbedtls-for-hiawatha)
5596 ("nghttp2" ,nghttp2 "lib")
5598 (home-page "https://www.hiawatha-webserver.org")
5599 (synopsis "Webserver with focus on security")
5601 "Hiawatha has been written with security in mind.
5602 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5604 (license license:gpl2)))
5606 (define-public python-httpbin
5608 (name "python-httpbin")
5613 (uri (pypi-uri "httpbin" version))
5616 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5617 (build-system python-build-system)
5619 `(("python-decorator" ,python-decorator)
5620 ("python-flask" ,python-flask)
5621 ("python-itsdangerous" ,python-itsdangerous)
5622 ("python-markupsafe" ,python-markupsafe)
5623 ("python-six" ,python-six)))
5624 (home-page "https://github.com/Runscope/httpbin")
5625 (synopsis "HTTP request and response service")
5626 (description "Testing an HTTP Library can become difficult sometimes.
5627 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5628 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5630 (license license:isc)))
5632 (define-public python2-httpbin
5633 (package-with-python2 python-httpbin))
5635 (define-public python-pytest-httpbin
5637 (name "python-pytest-httpbin")
5642 (uri (pypi-uri "pytest-httpbin" version))
5645 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5646 (build-system python-build-system)
5648 `(("python-six" ,python-six)
5649 ("python-httpbin" ,python-httpbin)
5650 ("python-pytest" ,python-pytest)))
5652 "https://github.com/kevin1024/pytest-httpbin")
5654 "Test your HTTP library against a local copy of httpbin")
5656 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5657 into your tests. It automatically starts up a HTTP server in a separate thread running
5658 @code{httpbin} and provides your test with the URL in the fixture.")
5659 (license license:expat)))
5661 (define-public python2-pytest-httpbin
5662 (package-with-python2 python-pytest-httpbin))
5664 (define-public http-parser
5666 (name "http-parser")
5668 (home-page "https://github.com/nodejs/http-parser")
5671 (uri (git-reference (url home-page)
5672 (commit (string-append "v" version))))
5673 (file-name (git-file-name name version))
5676 "189zi61vczqgmqjd2myjcjbbi5icrk7ccs0kn6nj8hxqiv5j3811"))))
5677 (build-system gnu-build-system)
5679 `(#:test-target "test"
5681 (list (string-append "PREFIX="
5682 (assoc-ref %outputs "out"))
5685 (modify-phases %standard-phases
5686 (delete 'configure))))
5687 (synopsis "HTTP request/response parser for C")
5688 (description "This is a parser for HTTP messages written in C. It parses
5689 both requests and responses. The parser is designed to be used in
5690 high-performance HTTP applications. It does not make any syscalls nor
5691 allocations, it does not buffer data, it can be interrupted at anytime.
5692 Depending on your architecture, it only requires about 40 bytes of data per
5693 message stream (in a web server that is per connection).")
5694 (license license:expat)))
5696 (define-public python-httpretty
5698 (name "python-httpretty")
5703 (uri (pypi-uri "httpretty" version))
5705 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
5706 (build-system python-build-system)
5708 `(("python-six" ,python-six)))
5710 `(("python-coverage" ,python-coverage)
5711 ("python-httplib2" ,python-httplib2)
5712 ("python-mock" ,python-mock)
5713 ("python-nose" ,python-nose)
5714 ("python-nose-randomly" ,python-nose-randomly)
5715 ("python-rednose" ,python-rednose)
5716 ("python-requests" ,python-requests)
5717 ("python-sure" ,python-sure)
5718 ("python-tornado" ,python-tornado)
5719 ("python-urllib3" ,python-urllib3)))
5720 (home-page "https://httpretty.readthedocs.io")
5721 (synopsis "HTTP client mock for Python")
5722 (description "@code{httpretty} is a helper for faking web requests,
5723 inspired by Ruby's @code{fakeweb}.")
5724 (license license:expat)))
5733 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
5734 version "/jo-" version ".tar.gz"))
5737 "0r6yb8pjsbcqfyac4240a0sj93pb91fv385bpk395cx3f5bcj9fy"))))
5738 (build-system gnu-build-system)
5739 (home-page "https://github.com/jpmens/jo")
5740 (synopsis "Output JSON from a shell")
5741 (description "jo is a command-line utility to create JSON objects or
5742 arrays. It creates a JSON string on stdout from words provided as
5743 command-line arguments or read from stdin.")
5744 (license (list license:gpl2+
5745 license:expat)))) ; json.c, json.h
5747 (define-public python-internetarchive
5749 (name "python-internetarchive")
5755 (url "https://github.com/jjjake/internetarchive")
5756 (commit (string-append "v" version))))
5757 (file-name (git-file-name name version))
5760 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
5761 (modules '((guix build utils)))
5764 ;; Python 3.7 removed `_pattern_type'.
5765 (for-each (lambda (file)
5768 (("^import re\n" line)
5769 (string-append line "re._pattern_type = re.Pattern\n"))))
5770 (find-files "." "\\.py$"))
5772 (build-system python-build-system)
5775 (modify-phases %standard-phases
5777 (add-after 'install 'check
5778 (lambda* (#:key inputs outputs #:allow-other-keys)
5779 (add-installed-pythonpath inputs outputs)
5780 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
5781 ":" (getenv "PATH")))
5782 (invoke "py.test" "-v" "-k"
5784 ;; These tests attempt to make a connection to
5785 ;; an external web service.
5786 "not test_get_item_with_kwargs"
5787 " and not test_ia")))))))
5789 `(("python-requests" ,python-requests)
5790 ("python-jsonpatch" ,python-jsonpatch-0.4)
5791 ("python-docopt" ,python-docopt)
5792 ("python-clint" ,python-clint)
5793 ("python-six" ,python-six)
5794 ("python-schema" ,python-schema-0.5)
5795 ("python-backports-csv" ,python-backports-csv)))
5797 `(("python-pytest" ,python-pytest)
5798 ("python-pytest-capturelog" ,python-pytest-capturelog)
5799 ("python-responses" ,python-responses)))
5800 (home-page "https://github.com/jjjake/internetarchive")
5801 (synopsis "Command-line interface to archive.org")
5802 (description "@code{ia} is a command-line tool for using
5803 @url{archive.org} from the command-line. It also emplements the
5804 internetarchive python module for programmatic access to archive.org.")
5805 (license license:agpl3+)))
5807 (define-public python-clf
5808 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
5815 (uri (pypi-uri "clf" version))
5818 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
5819 (build-system python-build-system)
5821 `(("python-docopt" ,python-docopt)
5822 ("python-pygments" ,python-pygments)
5823 ("python-requests" ,python-requests)
5824 ("python-nose" ,python-nose)
5825 ("python-lxml" ,python-lxml)
5826 ("python-pyaml" ,python-pyaml)))
5831 (uri (string-append "https://raw.githubusercontent.com"
5832 "/ncrocfer/clf/" commit-test-clf
5836 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
5839 (modify-phases %standard-phases
5840 (add-after 'unpack 'get-tests
5842 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
5847 ;; These tests require an Internet connection.
5848 "--exclude=test_browse"
5849 "--exclude=test_command"
5850 "--exclude=test_search"))))))
5851 (home-page "https://github.com/ncrocfer/clf")
5852 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
5853 (description "@code{clf} is a command line tool for searching code
5854 snippets on @url{https://commandlinefu.com}.")
5855 (license license:expat))))
5857 (define-public python2-clf
5858 (package-with-python2 python-clf))
5860 (define-public rss-bridge
5863 (version "2019-09-12")
5868 (url "https://github.com/RSS-Bridge/rss-bridge")
5870 (file-name (git-file-name name version))
5872 (base32 "1mx7f3l45nqhcrng531l4cq8kpzm164hhbwn26g5akb2pamdlnra"))))
5873 (build-system trivial-build-system)
5875 '(#:modules ((guix build utils))
5878 (use-modules (guix build utils)
5880 (let* ((out (assoc-ref %outputs "out"))
5881 (share-rss-bridge (string-append out "/share/rss-bridge")))
5882 (mkdir-p share-rss-bridge)
5883 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
5885 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5886 (synopsis "Generate Atom feeds for social networking websites")
5887 (description "rss-bridge generates Atom feeds for social networking
5888 websites lacking feeds. Supported websites include Facebook, Twitter,
5889 Instagram and YouTube.")
5890 (license (list license:public-domain
5891 license:expat)))) ; vendor/simplehtmldom/simple_html_dom.php
5893 (define-public linkchecker
5895 (name "linkchecker")
5901 (url "https://github.com/linkchecker/linkchecker")
5902 (commit (string-append "v" version))))
5904 (search-patches "linkchecker-tests-require-network.patch"))
5905 (file-name (git-file-name name version))
5908 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
5909 (build-system python-build-system)
5911 `(("python2-dnspython" ,python2-dnspython)
5912 ("python2-pyxdg" ,python2-pyxdg)
5913 ("python2-requests" ,python2-requests)))
5915 `(("gettext" ,gettext-minimal)
5916 ("python2-pytest" ,python2-pytest)
5917 ("python2-miniboa" ,python2-miniboa)
5918 ("python2-parameterized" ,python2-parameterized)))
5920 `(#:python ,python-2
5922 (modify-phases %standard-phases
5923 ;; Move the 'check phase to after 'install, so that the installed
5924 ;; library can be used
5926 (add-after 'install 'check
5927 (lambda* (#:key outputs #:allow-other-keys)
5928 (let ((out (assoc-ref outputs "out")))
5929 ;; Set PYTHONPATH so that the installed linkchecker is used
5930 (setenv "PYTHONPATH"
5931 (string-append out "/lib/python2.7/site-packages"
5933 (getenv "PYTHONPATH")))
5934 ;; Remove this directory to avoid it being used when running
5936 (delete-file-recursively "linkcheck")
5938 (invoke "py.test" "tests"))
5940 (home-page "https://linkcheck.github.io/linkchecker")
5941 (synopsis "Check websites for broken links")
5942 (description "LinkChecker is a website validator. It checks for broken
5943 links in websites. It is recursive and multithreaded providing output in
5944 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
5945 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
5947 (license (list license:gpl2+
5948 license:bsd-2 ; linkcheck/better_exchook2.py
5949 license:bsd-3 ; linkcheck/colorama.py
5950 license:psfl ; linkcheck/gzip2.py
5951 license:expat)))) ; linkcheck/mem.py
5953 (define-public cadaver
5960 (uri (string-append "http://www.webdav.org/cadaver/"
5961 name "-" version ".tar.gz"))
5964 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
5965 (build-system gnu-build-system)
5966 ;; TODO: Unbundle libneon and make build succeed with new neon.
5968 `(#:configure-flags (list "--with-ssl=openssl")
5969 #:tests? #f)) ;No tests included
5971 `(("gettext" ,gnu-gettext)
5972 ("pkg-config" ,pkg-config)
5973 ("intltool" ,intltool)))
5976 ("openssl" ,openssl)))
5977 (home-page "http://www.webdav.org/cadaver")
5978 (synopsis "Command-line WebDAV client")
5980 "Cadaver is a command-line WebDAV client for Unix. It supports
5981 file upload, download, on-screen display, namespace operations (move/copy),
5982 collection creation and deletion, and locking operations.")
5983 (license license:gpl2)))
5985 (define-public python-py-ubjson
5987 (name "python-py-ubjson")
5992 (uri (pypi-uri "py-ubjson" version))
5995 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
5996 (build-system python-build-system)
5997 (home-page "https://github.com/Iotic-Labs/py-ubjson")
5998 (synopsis "Universal Binary JSON encoder/decoder")
6000 "Py-ubjson is a Python module providing an Universal Binary JSON
6001 encoder/decoder based on the draft-12 specification for UBJSON.")
6002 (license license:asl2.0)))
6004 (define-public java-tomcat
6006 (name "java-tomcat")
6010 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
6011 version "/src/apache-tomcat-" version "-src.tar.gz"))
6014 "0fb49gsqa3r6jrwc54yynvsakq9qbzr2pbxr7a29c2zvja2v65iq"))
6015 (modules '((guix build utils)))
6016 ;; Delete bundled jars.
6019 (for-each delete-file (find-files "." "\\.jar$"))
6020 (for-each delete-file (find-files "." "\\.bat$"))
6022 (build-system ant-build-system)
6024 `(("java-commons-daemon" ,java-commons-daemon)
6025 ("java-ecj" ,java-ecj)))
6027 `(#:build-target "deploy"
6028 #:tests? #f; requires downloading some files.
6030 (modify-phases %standard-phases
6031 (add-after 'unpack 'prevent-download
6033 ;; This directory must exist
6035 ;; We patch build.xml so it doesn't download any dependency, because
6036 ;; we already have all of them.
6037 (substitute* "build.xml"
6038 (("download-compile,") "")
6039 (("depends=\"validate\"") "depends=\"build-prepare\"")
6040 ((",download-validate") ""))
6042 (add-after 'unpack 'strip-timestamps
6044 (substitute* "build.xml"
6045 (("<filter token=\"YEAR\" value=.*")
6046 "<filter token=\"YEAR\" value=\"1970\"/>")
6047 (("<filter token=\"VERSION_BUILT\" value=.*")
6048 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
6050 (add-after 'unpack 'modify-deploy
6052 ;; The Tomcat build downloads and copies these files to the
6053 ;; bin and lib directory.
6054 ;; We instead symlink to the input (see below).
6055 (substitute* "build.xml"
6056 (("<copy tofile=\"\\$\\{tomcat.build\\}/bin/commons-daemon.jar.*") "")
6057 (("<copy file=\"\\$\\{jdt.jar\\}\" todir=\"\\$\\{tomcat.build\\}/lib\"/>")
6060 (add-after 'install 'symlink-commons-daemon
6061 (lambda* (#:key inputs outputs #:allow-other-keys)
6062 (let* ((commons-daemon (assoc-ref inputs "java-commons-daemon"))
6063 (files (find-files commons-daemon "commons-daemon-.*\\.jar"))
6064 (daemon-jar (car files))
6065 (out-bin (string-append (assoc-ref outputs "out") "/bin"))
6066 (target (string-append out-bin "/commons-daemon.jar")))
6067 (symlink daemon-jar target)
6069 (add-after 'install 'symlink-java-ecj
6070 (lambda* (#:key inputs outputs #:allow-other-keys)
6071 (let* ((java-ecj (assoc-ref inputs "java-ecj"))
6072 (files (find-files java-ecj "ecj.*\\.jar"))
6073 (java-ecj-jar (car files))
6074 (out-lib (string-append (assoc-ref outputs "out") "/lib"))
6075 (target (string-append out-lib "/java-ecj.jar")))
6076 (symlink java-ecj-jar target)
6078 (add-after 'unpack 'generate-properties
6080 ;; This could have been passed to make-flags, but getcwd returns
6081 ;; a different directory then.
6082 (with-output-to-file "build.properties"
6085 (string-append "base.path=" (getcwd) "/downloads\n"))))
6088 (lambda* (#:key outputs #:allow-other-keys)
6089 (let ((out (assoc-ref outputs "out")))
6090 (copy-recursively "output/build" out))
6092 (home-page "https://tomcat.apache.org")
6093 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
6095 (description "Apache Tomcat is a free implementation of the Java
6096 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
6098 (license license:asl2.0)))
6100 (define-public java-eclipse-jetty-test-helper
6102 (name "java-eclipse-jetty-test-helper")
6106 (uri (string-append "https://github.com/eclipse/jetty.toolchain/"
6107 "archive/jetty-test-helper-" version ".tar.gz"))
6110 "1jd6r9wc26fa11si4rn2gvy8ml8q4zw1nr6v04mjp8wvwpgvzwx5"))))
6111 (build-system ant-build-system)
6113 `(#:jar-name "eclipse-jetty-test-helper.jar"
6114 #:source-dir "src/main/java"
6115 #:test-dir "src/test"
6118 (modify-phases %standard-phases
6119 (add-before 'configure 'chdir
6121 (chdir "jetty-test-helper")
6123 (add-before 'build 'fix-paths
6126 ;; This file assumes that the build directory is named "target"
6127 ;; but it is not the case with our ant-build-system. Once we have
6128 ;; maven though, we will have to rebuild this package because this
6129 ;; assumption is correct with maven-build-system.
6131 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
6132 (("\"target\"") "\"build\"")
6133 (("\"tests\"") "\"test-classes\""))
6134 ;; Tests assume we are building with maven, so that the build
6135 ;; directory is named "target", and not "build".
6136 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
6137 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
6138 "MavenTestingUtilsTest.java")
6139 (("target/tests") "build/test-classes")
6140 (("\"target") "\"build")))
6143 `(("junit" ,java-junit)
6144 ("hamcrest" ,java-hamcrest-all)))
6145 (home-page "https://www.eclipse.org/jetty/")
6146 (synopsis "Helper classes for jetty tests")
6147 (description "This package contains helper classes for testing the Jetty
6149 ;; This program is licensed under both epl and asl.
6150 (license (list license:epl1.0 license:asl2.0))))
6152 (define-public java-eclipse-jetty-perf-helper
6154 (inherit java-eclipse-jetty-test-helper)
6155 (name "java-eclipse-jetty-perf-helper")
6157 `(#:jar-name "eclipse-jetty-perf-helper.jar"
6158 #:source-dir "src/main/java"
6159 #:tests? #f; no tests
6162 (modify-phases %standard-phases
6163 (add-before 'configure 'chdir
6165 (chdir "jetty-perf-helper")
6168 `(("hdrhistogram" ,java-hdrhistogram)))))
6170 (define-public java-eclipse-jetty-util
6172 (name "java-eclipse-jetty-util")
6176 (uri (string-append "https://github.com/eclipse/jetty.project/"
6177 "archive/jetty-" version ".v20170531.tar.gz"))
6180 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
6181 (build-system ant-build-system)
6183 `(#:jar-name "eclipse-jetty-util.jar"
6184 #:source-dir "src/main/java"
6186 (list "**/Abstract*.java"
6188 "**/InetAddressSetTest.java"
6189 ;; Assumes we are using maven
6190 "**/TypeUtilTest.java"
6191 ;; Error on the style of log
6192 "**/StdErrLogTest.java")
6195 (modify-phases %standard-phases
6196 (add-before 'configure 'chdir
6198 (chdir "jetty-util")
6201 `(("slf4j" ,java-slf4j-api)
6202 ("servlet" ,java-javaee-servletapi)))
6204 `(("junit" ,java-junit)
6205 ("hamcrest" ,java-hamcrest-all)
6206 ("perf-helper" ,java-eclipse-jetty-perf-helper)
6207 ("test-helper" ,java-eclipse-jetty-test-helper)))
6208 (home-page "https://www.eclipse.org/jetty/")
6209 (synopsis "Utility classes for Jetty")
6210 (description "The Jetty Web Server provides an HTTP server and Servlet
6211 container capable of serving static and dynamic content either from a standalone
6212 or embedded instantiation. This package provides utility classes.")
6213 (license (list license:epl1.0 license:asl2.0))))
6215 ;; This version is required by maven-wagon
6216 (define-public java-eclipse-jetty-util-9.2
6218 (inherit java-eclipse-jetty-util)
6222 (uri (string-append "https://github.com/eclipse/jetty.project/"
6223 "archive/jetty-" version ".v20170606.tar.gz"))
6226 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
6228 `(#:jar-name "eclipse-jetty-util.jar"
6229 #:source-dir "src/main/java"
6232 (list "**/Abstract*.java"
6234 "**/InetAddressSetTest.java"
6235 ;; Assumes we are using maven
6236 "**/TypeUtilTest.java"
6237 ;; We don't have an implementation for slf4j
6239 ;; Error on the style of log
6240 "**/StdErrLogTest.java")
6242 (modify-phases %standard-phases
6243 (add-before 'configure 'chdir
6245 (chdir "jetty-util")
6247 (add-before 'build 'fix-test-sources
6249 ;; We need to fix issues caused by changes in newer versions of
6250 ;; jetty-test-helper
6251 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
6252 (substitute* (string-append src "/AbstractFSResourceTest.java")
6253 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
6254 (("testdir.getFile\\(\"foo\"\\)")
6255 "testdir.getPathFile(\"foo\").toFile()")
6256 (("testdir.getFile\\(name\\)")
6257 "testdir.getPathFile(name).toFile()")))
6260 (define-public java-eclipse-jetty-io
6262 (inherit java-eclipse-jetty-util)
6263 (name "java-eclipse-jetty-io")
6265 `(#:jar-name "eclipse-jetty-io.jar"
6266 #:source-dir "src/main/java"
6268 #:test-exclude (list "**/Abstract*.java"
6270 "**/EndPointTest.java")
6272 (modify-phases %standard-phases
6273 (add-before 'configure 'chdir
6278 `(("slf4j" ,java-slf4j-api)
6279 ("servlet" ,java-javaee-servletapi)
6280 ("util" ,java-eclipse-jetty-util)))
6281 (synopsis "Jetty :: IO Utility")
6282 (description "The Jetty Web Server provides an HTTP server and Servlet
6283 container capable of serving static and dynamic content either from a standalone
6284 or embedded instantiation. This package provides IO-related utility classes.")))
6286 (define-public java-eclipse-jetty-io-9.2
6288 (inherit java-eclipse-jetty-io)
6289 (version (package-version java-eclipse-jetty-util-9.2))
6290 (source (package-source java-eclipse-jetty-util-9.2))
6292 `(("util" ,java-eclipse-jetty-util-9.2)
6293 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6295 `(("mockito" ,java-mockito-1)
6296 ("cglib" ,java-cglib)
6297 ("objenesis" ,java-objenesis)
6299 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6301 (define-public java-eclipse-jetty-http
6303 (inherit java-eclipse-jetty-util)
6304 (name "java-eclipse-jetty-http")
6306 `(#:jar-name "eclipse-jetty-http.jar"
6307 #:source-dir "src/main/java"
6310 (modify-phases %standard-phases
6311 (add-before 'configure 'chdir
6313 (chdir "jetty-http")
6315 (add-before 'build 'copy-resources
6317 (mkdir-p "build/classes")
6318 (copy-recursively "src/main/resources/" "build/classes/")
6321 `(("slf4j" ,java-slf4j-api)
6322 ("servlet" ,java-javaee-servletapi)
6323 ("io" ,java-eclipse-jetty-io)
6324 ("util" ,java-eclipse-jetty-util)))
6325 (synopsis "Jetty :: Http Utility")
6326 (description "The Jetty Web Server provides an HTTP server and Servlet
6327 container capable of serving static and dynamic content either from a standalone
6328 or embedded instantiation. This package provides HTTP-related utility classes.")))
6330 (define-public java-eclipse-jetty-http-9.2
6332 (inherit java-eclipse-jetty-http)
6333 (version (package-version java-eclipse-jetty-util-9.2))
6334 (source (package-source java-eclipse-jetty-util-9.2))
6336 `(("util" ,java-eclipse-jetty-util-9.2)
6337 ("io" ,java-eclipse-jetty-io-9.2)
6338 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6340 (define-public java-eclipse-jetty-jmx
6342 (inherit java-eclipse-jetty-util)
6343 (name "java-eclipse-jetty-jmx")
6345 `(#:jar-name "eclipse-jetty-jmx.jar"
6346 #:source-dir "src/main/java"
6348 #:tests? #f; FIXME: requires com.openpojo.validation
6350 (modify-phases %standard-phases
6351 (add-before 'configure 'chdir
6356 `(("slf4j" ,java-slf4j-api)
6357 ("servlet" ,java-javaee-servletapi)
6358 ("util" ,java-eclipse-jetty-util)))
6359 (synopsis "Jetty :: JMX Management")
6360 (description "The Jetty Web Server provides an HTTP server and Servlet
6361 container capable of serving static and dynamic content either from a standalone
6362 or embedded instantiation. This package provides the JMX management.")))
6364 (define-public java-eclipse-jetty-jmx-9.2
6366 (inherit java-eclipse-jetty-jmx)
6367 (version (package-version java-eclipse-jetty-util-9.2))
6368 (source (package-source java-eclipse-jetty-util-9.2))
6370 `(("util" ,java-eclipse-jetty-util-9.2)
6371 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6373 (define java-eclipse-jetty-http-test-classes
6375 (inherit java-eclipse-jetty-util)
6376 (name "java-eclipse-jetty-http-test-classes")
6378 `(#:jar-name "eclipse-jetty-http.jar"
6379 #:source-dir "src/test"
6383 (modify-phases %standard-phases
6384 (add-before 'configure 'chdir
6386 (chdir "jetty-http")
6389 `(("slf4j" ,java-slf4j-api)
6390 ("java-javaee-servletapi" ,java-javaee-servletapi)
6391 ("http" ,java-eclipse-jetty-http)
6392 ("io" ,java-eclipse-jetty-io)
6393 ("util" ,java-eclipse-jetty-util)))))
6395 (define java-eclipse-jetty-http-test-classes-9.2
6397 (inherit java-eclipse-jetty-http-test-classes)
6398 (version (package-version java-eclipse-jetty-util-9.2))
6399 (source (package-source java-eclipse-jetty-util-9.2))
6401 `(("http" ,java-eclipse-jetty-http-9.2)
6402 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6404 (define-public java-eclipse-jetty-server
6406 (inherit java-eclipse-jetty-util)
6407 (name "java-eclipse-jetty-server")
6409 `(#:jar-name "eclipse-jetty-server.jar"
6410 #:source-dir "src/main/java"
6412 #:tests? #f; requires a mockito version we don't have
6414 (modify-phases %standard-phases
6415 (add-before 'configure 'chdir
6417 (chdir "jetty-server")
6419 (add-before 'build 'fix-source
6421 ;; Explicit casts to prevent build failures
6422 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6423 (("append\\(LazyList")
6424 "append((CharSequence)LazyList"))
6426 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6428 "Class<\\? extends EventListener> clazz = _classLoader==null"
6429 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6430 "_classLoader.loadClass\\(className\\);"))
6431 (string-append "Class<? extends EventListener> clazz = "
6432 "(Class<? extends EventListener>) "
6433 "(_classLoader==null?Loader.loadClass("
6434 "ContextHandler.class,className):"
6435 "_classLoader.loadClass(className));")))
6438 `(("slf4j" ,java-slf4j-api)
6439 ("servlet" ,java-javaee-servletapi)
6440 ("http" ,java-eclipse-jetty-http)
6441 ("io" ,java-eclipse-jetty-io)
6442 ("jmx" ,java-eclipse-jetty-jmx)
6443 ("util" ,java-eclipse-jetty-util)))
6445 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6446 ,@(package-native-inputs java-eclipse-jetty-util)))
6447 (synopsis "Core jetty server artifact")
6448 (description "The Jetty Web Server provides an HTTP server and Servlet
6449 container capable of serving static and dynamic content either from a standalone
6450 or embedded instantiation. This package provides the core jetty server
6453 (define-public java-eclipse-jetty-server-9.2
6455 (inherit java-eclipse-jetty-server)
6456 (version (package-version java-eclipse-jetty-util-9.2))
6457 (source (package-source java-eclipse-jetty-util-9.2))
6459 `(("util" ,java-eclipse-jetty-util-9.2)
6460 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6461 ("io" ,java-eclipse-jetty-io-9.2)
6462 ("http" ,java-eclipse-jetty-http-9.2)
6463 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6465 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6466 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6468 (define-public java-eclipse-jetty-security
6470 (inherit java-eclipse-jetty-util)
6471 (name "java-eclipse-jetty-security")
6473 `(#:jar-name "eclipse-jetty-security.jar"
6474 #:source-dir "src/main/java"
6476 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
6478 (modify-phases %standard-phases
6479 (add-before 'configure 'chdir
6481 (chdir "jetty-security")
6484 `(("slf4j" ,java-slf4j-api)
6485 ("servlet" ,java-javaee-servletapi)
6486 ("http" ,java-eclipse-jetty-http)
6487 ("server" ,java-eclipse-jetty-server)
6488 ("util" ,java-eclipse-jetty-util)))
6490 `(("io" ,java-eclipse-jetty-io)
6491 ,@(package-native-inputs java-eclipse-jetty-util)))
6492 (synopsis "Jetty security infrastructure")
6493 (description "The Jetty Web Server provides an HTTP server and Servlet
6494 container capable of serving static and dynamic content either from a standalone
6495 or embedded instantiation. This package provides the core jetty security
6498 (define-public java-eclipse-jetty-security-9.2
6500 (inherit java-eclipse-jetty-security)
6501 (version (package-version java-eclipse-jetty-util-9.2))
6502 (source (package-source java-eclipse-jetty-util-9.2))
6504 `(("util" ,java-eclipse-jetty-util-9.2)
6505 ("http" ,java-eclipse-jetty-http-9.2)
6506 ("server" ,java-eclipse-jetty-server-9.2)
6507 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6509 `(("io" ,java-eclipse-jetty-io-9.2)
6510 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6512 (define-public java-eclipse-jetty-servlet
6514 (inherit java-eclipse-jetty-util)
6515 (name "java-eclipse-jetty-servlet")
6517 `(#:jar-name "eclipse-jetty-servlet.jar"
6518 #:source-dir "src/main/java"
6521 (modify-phases %standard-phases
6522 (add-before 'configure 'chdir
6524 (chdir "jetty-servlet")
6527 `(("slf4j" ,java-slf4j-api)
6528 ("java-javaee-servletapi" ,java-javaee-servletapi)
6529 ("http" ,java-eclipse-jetty-http)
6530 ("http-test" ,java-eclipse-jetty-http-test-classes)
6531 ("io" ,java-eclipse-jetty-io)
6532 ("jmx" ,java-eclipse-jetty-jmx)
6533 ("security" ,java-eclipse-jetty-security)
6534 ("server" ,java-eclipse-jetty-server)
6535 ("util" ,java-eclipse-jetty-util)))
6536 (synopsis "Jetty Servlet Container")
6537 (description "The Jetty Web Server provides an HTTP server and Servlet
6538 container capable of serving static and dynamic content either from a standalone
6539 or embedded instantiation. This package provides the core jetty servlet
6542 (define-public java-eclipse-jetty-servlet-9.2
6544 (inherit java-eclipse-jetty-servlet)
6545 (version (package-version java-eclipse-jetty-util-9.2))
6546 (source (package-source java-eclipse-jetty-util-9.2))
6548 `(#:jar-name "eclipse-jetty-servlet.jar"
6549 #:source-dir "src/main/java"
6551 #:tests? #f; doesn't work
6553 (modify-phases %standard-phases
6554 (add-before 'configure 'chdir
6556 (chdir "jetty-servlet")
6559 `(("util" ,java-eclipse-jetty-util-9.2)
6560 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6561 ("io" ,java-eclipse-jetty-io-9.2)
6562 ("http" ,java-eclipse-jetty-http-9.2)
6563 ("security" ,java-eclipse-jetty-security-9.2)
6564 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
6565 ("server" ,java-eclipse-jetty-server-9.2)
6566 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6568 (define-public java-eclipse-jetty-xml
6570 (inherit java-eclipse-jetty-util)
6571 (name "java-eclipse-jetty-xml")
6573 `(#:jar-name "eclipse-jetty-xml.jar"
6574 #:source-dir "src/main/java"
6576 #:tests? #f; most tests require network
6578 (modify-phases %standard-phases
6579 (add-before 'configure 'chdir
6584 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
6586 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6587 ,@(package-native-inputs java-eclipse-jetty-util)))))
6589 (define-public java-eclipse-jetty-xml-9.2
6591 (inherit java-eclipse-jetty-xml)
6592 (version (package-version java-eclipse-jetty-util-9.2))
6593 (source (package-source java-eclipse-jetty-util-9.2))
6595 `(#:jar-name "eclipse-jetty-xml.jar"
6596 #:source-dir "src/main/java"
6598 #:tests? #f; most tests require network
6600 (modify-phases %standard-phases
6601 (add-before 'configure 'chdir
6606 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6607 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6609 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6610 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6612 (define-public java-eclipse-jetty-webapp
6614 (inherit java-eclipse-jetty-util)
6615 (name "java-eclipse-jetty-webapp")
6617 `(#:jar-name "eclipse-jetty-webapp.jar"
6618 #:source-dir "src/main/java"
6621 #:test-exclude (list "**/WebAppContextTest.java")
6623 (modify-phases %standard-phases
6624 (add-before 'configure 'chdir
6626 (chdir "jetty-webapp")
6629 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
6630 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
6631 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
6632 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
6633 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
6634 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
6635 ("java-javaee-servletapi" ,java-javaee-servletapi)))
6637 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6638 ,@(package-native-inputs java-eclipse-jetty-util)))))
6640 (define-public java-eclipse-jetty-webapp-9.2
6642 (inherit java-eclipse-jetty-webapp)
6643 (version (package-version java-eclipse-jetty-util-9.2))
6644 (source (package-source java-eclipse-jetty-util-9.2))
6646 `(#:jar-name "eclipse-jetty-webapp.jar"
6647 #:source-dir "src/main/java"
6649 #:test-exclude (list "**/WebAppContextTest.java")
6651 (modify-phases %standard-phases
6652 (add-before 'configure 'chdir
6654 (chdir "jetty-webapp")
6657 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6658 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
6659 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
6660 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
6661 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
6662 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
6663 ("java-javaee-servletapi" ,java-javaee-servletapi)
6664 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6666 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6667 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6669 (define-public java-jsoup
6676 (url "https://github.com/jhy/jsoup")
6677 (commit (string-append "jsoup-" version))))
6678 (file-name (git-file-name name version))
6681 "1hdpdx0x140r5x3yc251v7dj1h4j5a7nh9k885aw9q5vvz49lkf4"))))
6682 (build-system ant-build-system)
6684 `(#:jar-name "jsoup.jar"
6685 #:source-dir "src/main/java"
6687 (modify-phases %standard-phases
6688 (add-before 'build 'copy-resources
6690 (let ((classes-dir (string-append (getcwd) "/build/classes")))
6691 (with-directory-excursion "src/main/java"
6692 (for-each (lambda (file)
6693 (let ((dist (string-append classes-dir "/" file)))
6694 (mkdir-p (dirname dist))
6695 (copy-file file dist)))
6696 (find-files "." ".*.properties"))))
6699 `(("java-junit" ,java-junit)
6700 ("java-hamcrest-core" ,java-hamcrest-core)
6701 ("java-gson" ,java-gson)))
6702 (home-page "https://jsoup.org")
6703 (synopsis "HTML parser")
6704 (description "Jsoup is a Java library for working with real-world HTML. It
6705 provides a very convenient API for extracting and manipulating data, using the
6706 best of DOM, CSS, and jQuery-like methods.")
6707 (license license:expat)))
6709 (define-public java-signpost-core
6711 (name "java-signpost-core")
6716 (url "https://github.com/mttkay/signpost")
6718 (file-name (git-file-name name version))
6721 "1l04yj2znch3hpyw90c4g4jan453w7d88l84bgl0c72i2kbb8z7h"))))
6722 (build-system ant-build-system)
6724 `(#:jar-name "signpost-core.jar"
6725 #:source-dir "signpost-core/src/main/java"
6726 #:test-dir "signpost-core/src/test"
6727 ;; Tests all fail with InstantiationException from mockito
6730 `(("java-commons-codec" ,java-commons-codec)))
6731 (home-page "https://github.com/mttkay/signpost")
6732 (synopsis "Lightweight client-side OAuth library for Java")
6733 (description "Signpost is the easy and intuitive solution for signing
6734 HTTP messages on the Java platform in conformance with the OAuth Core 1.0a
6735 standard. Signpost follows a modular and flexible design, allowing you to
6736 combine it with different HTTP messaging layers.")
6737 (license license:asl2.0)))
6739 (define-public tidyp
6746 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
6750 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
6751 (build-system gnu-build-system)
6752 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
6753 (arguments `(#:tests? #f))
6754 (home-page "http://www.tidyp.com/")
6755 (synopsis "Validate HTML")
6756 (description "Tidyp is a program that can validate your HTML, as well as
6757 modify it to be more clean and standard. tidyp does not validate HTML 5.
6759 libtidyp is the library on which the program is based. It can be used by any
6760 other program that can interface to it. The Perl module @code{HTML::Tidy} is
6761 based on this library, allowing Perl programmers to easily validate HTML.")
6762 ;; See htmldoc/license.html
6763 (license license:bsd-3)))
6765 (define-public perl-html-tidy
6767 (name "perl-html-tidy")
6772 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
6776 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
6777 (build-system perl-build-system)
6780 (modify-phases %standard-phases
6781 (add-after 'unpack 'fix-tidyp-paths
6782 (lambda* (#:key inputs #:allow-other-keys)
6783 (substitute* "Makefile.PL"
6784 (("^my \\$inc = \"" line)
6786 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
6789 "-L" (assoc-ref inputs "tidyp") "/lib")))
6792 `(("perl-libwww" ,perl-libwww)
6795 `(("perl-test-exception" ,perl-test-exception)))
6796 (home-page "https://metacpan.org/release/HTML-Tidy")
6797 (synopsis "(X)HTML validation in a Perl object")
6798 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
6799 object. It's meant as a replacement for @code{HTML::Lint}, which is written
6800 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
6801 (license license:artistic2.0)))
6803 (define-public geomyidae
6811 (url "git://r-36.net/geomyidae")
6812 (commit (string-append "v" version))))
6813 (file-name (git-file-name name version))
6815 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
6816 (build-system gnu-build-system)
6818 `(#:make-flags (list "CC=gcc"
6819 (string-append "PREFIX="
6820 (assoc-ref %outputs "out")))
6821 #:tests? #f ; no tests
6822 #:phases (modify-phases %standard-phases
6823 (delete 'configure))))
6824 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
6825 (synopsis "Small Gopher server")
6827 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
6831 @item Gopher menus (see @file{index.gph} for an example);
6832 @item directory listings (if no @file{index.gph} was found);
6833 @item CGI support (@file{.cgi} files are executed);
6834 @item search support in CGI files;
6835 @item logging with multiple log levels.
6837 (license license:expat)))
6839 (define-public cat-avatar-generator
6841 (name "cat-avatar-generator")
6846 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
6847 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
6848 (file-name (string-append name "-" version))
6851 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
6852 (build-system trivial-build-system)
6854 `(#:modules ((guix build utils))
6857 (use-modules (guix build utils)
6861 (let ((source (assoc-ref %build-inputs "source"))
6862 (php-dir (string-append %output "/share/web/" ,name "/")))
6863 ;; The cache directory must not be in the store, but in a writable
6864 ;; location. The webserver will give us this location.
6865 (copy-recursively source php-dir)
6866 (substitute* (string-append php-dir "/cat-avatar-generator.php")
6867 (("\\$cachepath = .*")
6868 "if(isset($_SERVER['CACHE_DIR']))
6869 $cachepath = $_SERVER['CACHE_DIR'];
6871 die('You need to set the CACHE_DIR variable first.');"))
6873 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
6874 (synopsis "Random avatar generator")
6875 (description "Cat avatar generator is a generator of cat pictures optimised
6876 to generate random avatars, or defined avatar from a \"seed\". This is a
6877 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
6878 ;; expat for the code, CC-BY 4.0 for the artwork
6879 (license (list license:expat
6880 license:cc-by4.0))))
6882 (define-public nghttp2
6886 (replacement nghttp2-1.39.2)
6890 (uri (string-append "https://github.com/nghttp2/nghttp2/"
6891 "releases/download/v" version "/"
6892 "nghttp2-" version ".tar.xz"))
6895 "0j0lk37k8k3f61r9nw647hg4b22z1753l36n3xrp9x01civ614b7"))))
6896 (build-system gnu-build-system)
6897 (outputs (list "out"
6898 "lib")) ; only libnghttp2
6900 `(("pkg-config" ,pkg-config)
6902 ;; Required by tests.
6904 ("tzdata" ,tzdata-for-tests)))
6906 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
6907 `(("c-ares" ,c-ares)
6908 ("jansson" ,jansson) ; for HPACK tools
6909 ("jemalloc" ,jemalloc) ; fight nghttpd{,x} heap fragmentation
6911 ("libxml2" ,libxml2) ; for ‘nghttp -a’
6912 ("openssl" ,openssl)))
6915 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
6916 "--enable-app" ; build all the tools
6917 "--enable-hpack-tools" ; ...all the tools
6918 "--disable-examples"
6919 "--disable-static") ; don't bother building .a files
6921 (modify-phases %standard-phases
6922 (add-after 'unpack 'break-circular-reference
6923 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
6924 ;; which is not allowed. Break this cycle. While we could install
6925 ;; only the library to ‘out’ and move everything else to a separate
6926 ;; output, this would inconvenience the majority of (human) users.
6927 (lambda* (#:key outputs #:allow-other-keys)
6928 (substitute* "lib/libnghttp2.pc.in"
6930 (assoc-ref outputs "lib")))
6932 (add-before 'check 'set-timezone-directory
6933 (lambda* (#:key inputs #:allow-other-keys)
6934 (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
6937 (home-page "https://nghttp2.org/")
6938 (synopsis "HTTP/2 protocol client, proxy, server, and library")
6940 "nghttp2 implements the Hypertext Transfer Protocol, version
6943 A reusable C library provides the HTTP/2 framing layer, with several tools built
6947 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
6948 and low-level aspects of the protocol and is useful for debugging.
6949 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
6950 serves files from a local directory.
6951 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
6952 deployed in front of existing web servers that don't support HTTP/2.
6953 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
6954 backwards compatibility with clients that don't speak HTTP/2.
6955 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
6956 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
6957 nghttp2 provides a HPACK encoder and decoder as part of its public API.
6958 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
6959 compressed JSON header blocks.
6960 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
6962 (license license:expat)))
6964 (define nghttp2-1.39.2
6970 (uri (string-append "https://github.com/nghttp2/nghttp2/"
6971 "releases/download/v" version "/"
6972 "nghttp2-" version ".tar.xz"))
6975 "12yfsjghbaypp4w964d45ih9vs38g6anih80wbsflaxx192idlm2"))))))
6977 (define-public hpcguix-web
6978 (let ((commit "f39c90b35e99e4122b0866ec4337020d61c81508")
6981 (name "hpcguix-web")
6982 (version (git-version "0.0.1" revision commit))
6986 (url "https://github.com/UMCUGenetics/hpcguix-web.git")
6988 (file-name (git-file-name name version))
6991 "0idzzlwnaymk6hm5q9nh146h5m6vd8acp32vlmzp6qq08mimfkq7"))))
6992 (build-system gnu-build-system)
6994 `(#:modules ((guix build gnu-build-system)
7000 (modify-phases %standard-phases
7001 (add-before 'configure 'set-variables
7003 ;; This prevents a few warnings
7004 (setenv "GUILE_AUTO_COMPILE" "0")
7005 (setenv "XDG_CACHE_HOME" (getcwd))
7007 (add-after 'install 'wrap-program
7008 (lambda* (#:key inputs outputs #:allow-other-keys)
7009 (let* ((out (assoc-ref outputs "out"))
7010 (guix (assoc-ref inputs "guix"))
7011 (guile (assoc-ref inputs "guile"))
7012 (gcrypt (assoc-ref inputs "guile-gcrypt"))
7013 (git (assoc-ref inputs "guile-git"))
7014 (bs (assoc-ref inputs "guile-bytestructures"))
7015 (json (assoc-ref inputs "guile-json"))
7016 (guile-cm (assoc-ref inputs
7017 "guile-commonmark"))
7018 (deps (list guile gcrypt git bs guile-cm guix json))
7021 (open-pipe* OPEN_READ
7022 (string-append guile "/bin/guile")
7023 "-c" "(display (effective-version))")))
7025 (map (cut string-append <>
7026 "/share/guile/site/"
7030 (gopath (string-join
7031 (map (cut string-append <>
7032 "/lib/guile/" effective
7036 (wrap-program (string-append out "/bin/run")
7037 `("GUILE_LOAD_PATH" ":" prefix (,path))
7038 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
7042 `(("autoconf" ,autoconf)
7043 ("automake" ,automake)
7044 ("uglify-js" ,uglify-js)
7045 ("pkg-config" ,pkg-config)))
7049 `(("guile" ,guile-2.2)
7050 ("guile-commonmark" ,guile-commonmark)
7051 ("guile-json" ,guile-json-3)))
7052 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
7053 (synopsis "Web interface for cluster deployments of Guix")
7054 (description "Hpcguix-web provides a web interface to the list of packages
7055 provided by Guix. The list of packages is searchable and provides
7056 instructions on how to use Guix in a shared HPC environment.")
7057 (license license:agpl3+))))
7059 (define-public httrack
7065 (uri (string-append "https://mirror.httrack.com/historical/"
7066 "httrack-" version ".tar.gz"))
7069 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
7070 (build-system gnu-build-system)
7072 `(("libressl" ,libressl)
7074 (home-page "https://www.httrack.com/")
7075 (synopsis "Easy-to-use offline browser utility")
7076 (description "HTTrack allows you to download a World Wide Web site from
7077 the Internet to a local directory, building recursively all directories,
7078 getting HTML, images, and other files from the server to your computer.
7080 HTTrack arranges the original site's relative link-structure. Simply open
7081 a page of the ``mirrored'' website in your browser, and you can browse the
7082 site from link to link, as if you were viewing it online. HTTrack can also
7083 update an existing mirrored site, and resume interrupted downloads.
7085 HTTrack is fully configurable, and has an integrated help system.")
7086 (license license:gpl3+)))
7088 (define-public anonip
7094 (uri (pypi-uri "anonip" version))
7097 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
7098 (build-system python-build-system)
7099 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
7100 (synopsis "Anonymize IP addresses in log files")
7102 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
7103 That way most of the relevant information is preserved, while the IP address
7104 does not match a particular individuum anymore.
7106 Depending on your Web server, the log entries may be piped to Anonip directly
7107 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
7108 written to any file.
7110 It's also possible to rewrite existing log files.
7112 Anonip can also be uses as a Python module in your own Python application.")
7113 (license license:bsd-3)))
7115 (define-public poussetaches
7117 (name "poussetaches")
7123 (url "https://github.com/tsileo/poussetaches")
7125 (file-name (git-file-name name version))
7128 "0kckcwvqklavd855np9aq5js6mg84isrlwchr504yigwma0sm7hm"))))
7129 (build-system go-build-system)
7131 `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron)
7132 ("go-golang-org-x-time" ,go-golang-org-x-time)))
7134 `(#:import-path "github.com/tsileo/poussetaches"))
7135 (home-page "https://github.com/tsileo/poussetaches")
7136 (synopsis "Lightweight asynchronous task execution service")
7137 (description "Poussetaches (which literally means \"push tasks\" in
7138 French) is a lightweight asynchronous task execution service that aims to
7139 replace Celery and RabbitMQ for small Python applications.
7141 The app posts base64-encoded payload to poussetaches and specifies the
7142 endpoint that will be used to trigger the task. Poussetaches makes HTTP
7143 requests with the registered payload until the right status code is
7145 (license license:isc)))
7147 (define-public htmlcxx
7155 (string-append "mirror://sourceforge/htmlcxx/v"
7156 version "/htmlcxx-" version ".tar.gz"))
7158 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
7159 (build-system gnu-build-system)
7160 (home-page "http://htmlcxx.sourceforge.net/")
7161 (synopsis "Simple non-validating CSS1 and HTML parser for C++")
7162 (description "htmlcxx is a simple non-validating CSS1 and HTML parser for
7163 C++. Although there are several other HTML parsers available, htmlcxx has some
7164 characteristics that make it unique:
7166 @item STL like navigation of DOM tree, using excelent's tree.hh library from
7168 @item It is possible to reproduce exactly, character by character, the original
7169 document from the parse tree
7170 @item Bundled CSS parser
7171 @item Optional parsing of attributes
7172 @item C++ code that looks like C++ (not so true anymore)
7173 @item Offsets of tags/elements in the original document are stored in the nodes
7176 (license (list license:lgpl2.0