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 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 Eric Bavier <bavier@member.fsf.org>
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 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 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 Christopher Baines <mail@cbaines.net>
28 ;;; Copyright © 2018 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>
34 ;;; This file is part of GNU Guix.
36 ;;; GNU Guix is free software; you can redistribute it and/or modify it
37 ;;; under the terms of the GNU General Public License as published by
38 ;;; the Free Software Foundation; either version 3 of the License, or (at
39 ;;; your option) any later version.
41 ;;; GNU Guix is distributed in the hope that it will be useful, but
42 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
43 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44 ;;; GNU General Public License for more details.
46 ;;; You should have received a copy of the GNU General Public License
47 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
49 (define-module (gnu packages web)
50 #:use-module (ice-9 match)
51 #:use-module ((guix licenses) #:prefix l:)
52 #:use-module (guix packages)
53 #:use-module (guix download)
54 #:use-module (guix git-download)
55 #:use-module (guix cvs-download)
56 #:use-module (guix hg-download)
57 #:use-module (guix utils)
58 #:use-module (guix build-system gnu)
59 #:use-module (guix build-system glib-or-gtk)
60 #:use-module (guix build-system perl)
61 #:use-module (guix build-system cmake)
62 #:use-module (guix build-system trivial)
63 #:use-module (guix build-system python)
64 #:use-module (guix build-system ant)
65 #:use-module (guix build-system scons)
66 #:use-module (gnu packages)
67 #:use-module (gnu packages admin)
68 #:use-module (gnu packages adns)
69 #:use-module (gnu packages apr)
70 #:use-module (gnu packages check)
71 #:use-module (gnu packages documentation)
72 #:use-module (gnu packages docbook)
73 #:use-module (gnu packages autotools)
74 #:use-module (gnu packages compression)
75 #:use-module (gnu packages cyrus-sasl)
76 #:use-module (gnu packages databases)
77 #:use-module (gnu packages bison)
78 #:use-module (gnu packages flex)
79 #:use-module (gnu packages freedesktop)
80 #:use-module (gnu packages kerberos)
81 #:use-module (gnu packages gcc)
82 #:use-module (gnu packages gd)
83 #:use-module (gnu packages gettext)
84 #:use-module (gnu packages glib)
85 #:use-module (gnu packages gnome)
86 #:use-module (gnu packages gnu-doc)
87 #:use-module (gnu packages gnupg)
88 #:use-module (gnu packages gnuzilla)
89 #:use-module (gnu packages gperf)
90 #:use-module (gnu packages gtk)
91 #:use-module (gnu packages guile)
92 #:use-module (gnu packages guile-xyz)
93 #:use-module (gnu packages java)
94 #:use-module (gnu packages jemalloc)
95 #:use-module (gnu packages image)
96 #:use-module (gnu packages imagemagick)
97 #:use-module (gnu packages libevent)
98 #:use-module (gnu packages libidn)
99 #:use-module (gnu packages libunistring)
100 #:use-module (gnu packages linux)
101 #:use-module (gnu packages lisp)
102 #:use-module (gnu packages lua)
103 #:use-module (gnu packages markup)
104 #:use-module (gnu packages ncurses)
105 #:use-module (gnu packages openstack)
106 #:use-module (gnu packages base)
107 #:use-module (gnu packages package-management)
108 #:use-module (gnu packages perl)
109 #:use-module (gnu packages perl-check)
110 #:use-module (gnu packages python)
111 #:use-module (gnu packages python-web)
112 #:use-module (gnu packages python-xyz)
113 #:use-module (gnu packages pcre)
114 #:use-module (gnu packages pkg-config)
115 #:use-module (gnu packages qt)
116 #:use-module (gnu packages readline)
117 #:use-module (gnu packages valgrind)
118 #:use-module (gnu packages xml)
119 #:use-module (gnu packages curl)
120 #:use-module (gnu packages texinfo)
121 #:use-module (gnu packages textutils)
122 #:use-module (gnu packages tls)
123 #:use-module (gnu packages version-control))
131 (uri (string-append "mirror://apache/httpd/httpd-"
135 "0jiriyyf3pm6axf4mrz6c2z08yhs21hb4d23viq87jclm5bmiikx"))))
136 (build-system gnu-build-system)
137 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
138 (inputs `(("apr" ,apr)
139 ("apr-util" ,apr-util)
141 ("perl" ,perl))) ; needed to run bin/apxs
143 `(#:test-target "test"
144 #:configure-flags (list "--enable-rewrite"
146 "--enable-vhost-alias"
148 "--enable-mime-magic"
149 (string-append "--sysconfdir="
150 (assoc-ref %outputs "out")
152 (synopsis "Featureful HTTP server")
154 "The Apache HTTP Server Project is a collaborative software development
155 effort aimed at creating a robust, commercial-grade, featureful, and
156 freely-available source code implementation of an HTTP (Web) server. The
157 project is jointly managed by a group of volunteers located around the world,
158 using the Internet and the Web to communicate, plan, and develop the server
159 and its related documentation.")
161 (home-page "https://httpd.apache.org/")))
163 (define-public mod-wsgi
170 (url "https://github.com/GrahamDumpleton/mod_wsgi.git")
172 (file-name (git-file-name name version))
175 "1q90xw2cbhka5gcd6yc69iir73x4gm7fm75qpkins2ryfl6w1q3f"))))
176 (build-system gnu-build-system)
178 '(#:tests? #f ; TODO: can't figure out if there are tests
180 (string-append "DESTDIR="
181 (assoc-ref %outputs "out"))
182 "LIBEXECDIR=/modules")))
185 ("python" ,python-wrapper)))
186 (synopsis "Apache HTTPD module for Python WSGI applications")
188 "The mod_wsgi module for the Apache HTTPD Server adds support for running
189 applications that support the Python @acronym{WSGI, Web Server Gateway
190 Interface} specification.")
192 (home-page "https://modwsgi.readthedocs.io/")))
197 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
198 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
199 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
200 ;; Consider updating the nginx-documentation package together with this one.
204 (uri (string-append "https://nginx.org/download/nginx-"
208 "0hxfsz1117r91b9fb5hjddyrf1czvb36lh1z7zalqqdskfcbmkz4"))))
209 (build-system gnu-build-system)
210 (inputs `(("openssl" ,openssl)
214 `(#:tests? #f ; no test target
216 (modify-phases %standard-phases
217 (add-before 'configure 'patch-/bin/sh
219 (substitute* "auto/feature"
220 (("/bin/sh") (which "sh")))
223 ;; The configure script is hand-written, not from GNU autotools.
224 (lambda* (#:key outputs #:allow-other-keys)
226 (list (string-append "--prefix=" (assoc-ref outputs "out"))
227 "--with-http_ssl_module"
228 "--with-http_v2_module"
231 ;; Even when not cross-building, we pass the
232 ;; --crossbuild option to avoid customizing for the
233 ;; kernel version on the build machine.
234 ,(let ((system "Linux") ; uname -s
235 (release "3.2.0") ; uname -r
237 (machine (match (or (%current-target-system)
239 ("x86_64-linux" "x86_64")
240 ("i686-linux" "i686")
241 ("mips64el-linux" "mips64")
242 ;; Prevent errors when querying
243 ;; this package on unsupported
244 ;; platforms, e.g. when running
245 ;; "guix package --search="
247 (string-append "--crossbuild="
248 system ":" release ":" machine)))))
250 (format #t "environment variable `CC' set to `gcc'~%")
251 (format #t "configure flags: ~s~%" flags)
252 (apply invoke "./configure" flags)
254 (add-after 'install 'install-man-page
255 (lambda* (#:key outputs #:allow-other-keys)
256 (let* ((out (assoc-ref outputs "out"))
257 (man (string-append out "/share/man")))
258 (install-file "objs/nginx.8" (string-append man "/man8"))
260 (add-after 'install 'fix-root-dirs
261 (lambda* (#:key outputs #:allow-other-keys)
262 ;; 'make install' puts things in strange places, so we need to
263 ;; clean it up ourselves.
264 (let* ((out (assoc-ref outputs "out"))
265 (share (string-append out "/share/nginx")))
266 ;; This directory is empty, so get rid of it.
267 (rmdir (string-append out "/logs"))
268 ;; Example configuration and HTML files belong in
271 (rename-file (string-append out "/conf")
272 (string-append share "/conf"))
273 (rename-file (string-append out "/html")
274 (string-append share "/html"))
276 (home-page "https://nginx.org")
277 (synopsis "HTTP and reverse proxy server")
279 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
280 created by Igor Sysoev. It can be used both as a stand-alone web server
281 and as a proxy to reduce the load on back-end HTTP or mail servers.")
282 ;; Almost all of nginx is distributed under the bsd-2 license.
283 ;; The exceptions are:
284 ;; * The 'nginx-http-push' module is covered by the expat license.
285 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
286 ;; except for two source files which are bsd-4 licensed.
287 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
289 (define nginx-xslscript
291 (changeset "01dc9ba12e1b"))
293 (name "nginx-xslscript")
295 (simple-format #f "2014-03-31-~A-~A" revision changeset))
299 (url "http://hg.nginx.org/xslscript")
300 (changeset changeset)))
301 (file-name (string-append name "-" version))
304 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
305 (build-system gnu-build-system)
307 '(#:tests? #f ; No test suite
309 (modify-phases %standard-phases
313 (lambda* (#:key outputs #:allow-other-keys)
314 (let ((out-bin (string-append
315 (assoc-ref outputs "out")
318 (copy-file "xslscript.pl"
323 (home-page "http://hg.nginx.org/xslscript")
324 (synopsis "XSLScript with NGinx specific modifications")
326 "XSLScript is a terse notation for writing complex XSLT stylesheets.
327 This is modified version, specifically intended for use with the NGinx
331 (define-public nginx-documentation
332 ;; This documentation should be relevant for nginx@1.15.9.
333 (let ((revision 2345)
334 (changeset "7ef11708457e"))
336 (name "nginx-documentation")
338 (simple-format #f "2019-03-01-~A-~A" revision changeset))
340 (origin (method hg-fetch)
342 (url "http://hg.nginx.org/nginx.org")
343 (changeset changeset)))
344 (file-name (string-append name "-" version))
347 "15975jvh53mnsgi4hhgrwdwy3by23v4kxnhy2vnkziq8v7wkmy4y"))))
348 (build-system gnu-build-system)
350 '(#:tests? #f ; no test suite
352 (modify-phases %standard-phases
353 (delete 'configure) ; no configure script
355 (lambda* (#:key outputs #:allow-other-keys)
356 (let ((output (assoc-ref outputs "out")))
357 (substitute* "umasked.sh"
358 ((" /bin/sh") (string-append " " (which "sh"))))
359 ;; The documentation includes a banner, which makes sense on
360 ;; the NGinx website, but doesn't make much sense when
361 ;; viewing locally. Therefore, modify the CSS to remove the
363 (substitute* "xslt/style.xslt"
364 (("#banner \\{ background: black;")
365 "#banner { display: none;"))
369 (lambda* (#:key outputs #:allow-other-keys)
370 (let ((output (assoc-ref outputs "out")))
372 (copy-recursively "libxslt" output)
375 `(("libxml2" ,libxml2)
377 ("nginx-xslscript" ,nginx-xslscript)))
378 (home-page "https://nginx.org")
379 (synopsis "Documentation for the nginx web server")
381 "This package provides HTML documentation for the nginx web server.")
391 ;; Upstream has disappeared.
392 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
393 "fcgi-" version ".tar.gz"))
396 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
397 (patches (search-patches "fcgi-2.4.0-poll.patch"
398 "fcgi-2.4.0-gcc44-fixes.patch"))))
399 (build-system gnu-build-system)
400 ;; Parallel building is not supported.
401 (arguments `(#:parallel-build? #f))
402 ;; This is an archived fork of the original home page, www.fastcgi.com.
403 (home-page "https://fastcgi-archives.github.io/")
404 (synopsis "Language-independent, high-performant extension to CGI")
405 (description "FastCGI is a language-independent, scalable extension to CGI
406 that provides high performance without the limitations of server specific
408 ;; This package is released under the Open Market License, a variant of
409 ;; the Expat license, incompatible with the GPL.
410 (license (l:non-copyleft "file://LICENSE.TERMS"))))
412 (define-public fcgiwrap
420 (url "https://github.com/gnosek/fcgiwrap.git")
422 (file-name (git-file-name name version))
424 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
425 (build-system gnu-build-system)
427 `(#:tests? #f ; no tests included
428 #:make-flags (list "CC=gcc")))
430 `(("autoconf" ,autoconf)
431 ("automake" ,automake)
432 ("pkg-config" ,pkg-config)))
435 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
436 (synopsis "Simple server for running CGI applications over FastCGI")
437 (description "Fcgiwrap is a simple server for running CGI applications
438 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
439 servers that may need it).")
442 (define-public starman
449 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
450 "Starman-" version ".tar.gz"))
453 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
454 (build-system perl-build-system)
456 `(("perl-libwww" ,perl-libwww)
457 ("perl-module-build-tiny" ,perl-module-build-tiny)
458 ("perl-test-requires" ,perl-test-requires)))
460 `(("perl-data-dump" ,perl-data-dump)
461 ("perl-http-date" ,perl-http-date)
462 ("perl-http-message" ,perl-http-message)
463 ("perl-http-parser-xs" ,perl-http-parser-xs)
464 ("perl-net-server" ,perl-net-server)
465 ("perl-plack" ,perl-plack)
466 ("perl-test-tcp" ,perl-test-tcp)))
467 (home-page "https://metacpan.org/release/Starman")
468 (synopsis "PSGI/Plack web server")
469 (description "Starman is a PSGI perl web server that has unique features
470 such as high performance, preforking, signal support, superdaemon awareness,
471 and UNIX socket support.")
472 (license l:perl-license)))
474 (define-public icedtea-web
481 "http://icedtea.wildebeest.org/download/source/"
482 name "-" version ".tar.gz"))
485 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
486 (build-system gnu-build-system)
489 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
490 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
492 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
493 (outputs '("out" "doc"))
495 `(("pkg-config" ,pkg-config)
499 ("jdk" ,icedtea "jdk")))
500 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
501 (synopsis "Java Web Start")
503 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
504 Protocol}, also known as Java Web Start. This package provides tools and
505 libraries for working with JNLP applets.")
506 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
510 (define-public jansson
517 (string-append "http://www.digip.org/jansson/releases/jansson-"
521 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
522 (build-system gnu-build-system)
524 `(#:configure-flags '("--disable-static")))
525 (home-page "http://www.digip.org/jansson/")
526 (synopsis "JSON C library")
528 "Jansson is a C library for encoding, decoding and manipulating JSON
532 (define-public json-c
539 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
543 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
544 (modules '((guix build utils)))
547 ;; Somehow 'config.h.in' is older than
548 ;; 'aclocal.m4', which would trigger a rule to
550 (set-file-time "config.h.in"
553 (build-system gnu-build-system)
554 (home-page "https://github.com/json-c/json-c/wiki")
555 (synopsis "JSON implementation in C")
557 "JSON-C implements a reference counting object model that allows you to
558 easily construct JSON objects in C, output them as JSON-formatted strings and
559 parse JSON-formatted strings back into the C representation of JSON objects.
560 It aims to conform to RFC 7159.")
563 ;; TODO: remove this old version when all dependents have been updated.
564 (define-public json-c-0.12
571 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
574 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
575 (modules '((guix build utils)))
578 ;; Somehow 'config.h.in' is older than
579 ;; 'aclocal.m4', which would trigger a rule to
581 (set-file-time "config.h.in"
584 ;; Don't try to build with -Werror.
585 (substitute* (find-files "." "Makefile\\.in")
589 (define-public json-parser
594 ;; do not use auto-generated tarballs
597 (url "https://github.com/udp/json-parser.git")
598 (commit (string-append "v" version))))
599 (file-name (git-file-name name version))
602 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
603 ;; FIXME: we should build the python bindings in a separate package
604 (build-system gnu-build-system)
605 ;; the tests are written for the python bindings which are not built here
606 (arguments '(#:tests? #f))
607 (home-page "https://github.com/udp/json-parser")
608 (synopsis "JSON parser written in ANSI C")
609 (description "This package provides a very low footprint JSON parser
610 written in portable ANSI C.
613 @item BSD licensed with no dependencies (i.e. just drop the C file into your
615 @item Never recurses or allocates more memory than it needs
616 @item Very simple API with operator sugar for C++
627 (url "https://github.com/flavio/qjson.git")
629 (file-name (git-file-name name version))
632 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
633 (build-system cmake-build-system)
635 ;; The tests require a running X server.
636 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
637 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
639 (modify-phases %standard-phases
640 (add-after 'unpack 'disable-broken-test
642 ;; FIXME: One test fails. See
643 ;; https://github.com/flavio/qjson/issues/105
644 (substitute* "tests/scanner/testscanner.cpp"
645 (("QTest::newRow\\(\"too large exponential\"\\)" line)
646 (string-append "//" line)))
648 (add-before 'check 'render-offscreen
649 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
651 `(("qtbase" ,qtbase)))
652 (home-page "http://qjson.sourceforge.net")
653 (synopsis "Library that maps JSON data to QVariant objects")
654 (description "QJson is a Qt-based library that maps JSON data to
655 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
656 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
657 ;; Only version 2.1 of the license
658 (license l:lgpl2.1)))
660 (define-public krona-tools
667 "https://github.com/marbl/Krona/releases/download/v"
668 version "/KronaTools-" version ".tar"))
671 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
672 (build-system perl-build-system)
675 (modify-phases %standard-phases
676 ;; There is no configure or build steps.
679 ;; Install script "install.pl" expects the build directory to remain
680 ;; after installation, creating symlinks etc., so re-implement it
683 (lambda* (#:key outputs #:allow-other-keys)
684 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
685 (perl (string-append (assoc-ref outputs "out")
686 "/lib/perl5/site_perl/krona-tools/lib")))
690 (let* ((executable (string-append "scripts/" script ".pl")))
691 ;; Prefix executables with 'kt' as install script does.
692 (copy-file executable (string-append bin "/kt" script))))
694 "GetContigMagnitudes"
704 "ImportMETAREP-BLAST"
709 "ImportRDPComparison"
715 (copy-recursively directory
716 (string-append perl "/../" directory)))
717 (list "data" "img" "taxonomy" "src"))
718 (install-file "lib/KronaTools.pm" perl))))
719 (add-after 'install 'wrap-program
720 (lambda* (#:key inputs outputs #:allow-other-keys)
721 (let* ((out (assoc-ref outputs "out"))
722 (path (getenv "PERL5LIB")))
725 (wrap-program executable
726 `("PERL5LIB" ":" prefix
727 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
728 (find-files (string-append out "/bin/") ".*")))))
730 (add-after 'wrap-program 'check
731 (lambda* (#:key inputs outputs #:allow-other-keys)
732 (with-directory-excursion "data"
733 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
737 (home-page "https://github.com/marbl/Krona/wiki")
738 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
740 "Krona is a flexible tool for exploring the relative proportions of
741 hierarchical data, such as metagenomic classifications, using a radial,
742 space-filling display. It is implemented using HTML5 and JavaScript, allowing
743 charts to be explored locally or served over the Internet, requiring only a
744 current version of any major web browser.")
747 (define-public rapidjson
754 (url "https://github.com/Tencent/rapidjson.git")
755 (commit (string-append "v" version))))
756 (file-name (git-file-name name version))
759 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
760 (modules '((guix build utils)))
763 ;; Remove code using the problematic JSON license (see
764 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
765 (delete-file-recursively "bin/jsonchecker")
767 (build-system cmake-build-system)
769 (if (string-prefix? "aarch64" (or (%current-target-system)
772 (modify-phases %standard-phases
773 (add-after 'unpack 'patch-aarch-march-detection
775 (substitute* (find-files "." "^CMakeLists\\.txt$")
776 (("native") "armv8-a"))
778 ;; Disable CPU optimization for reproducibility.
779 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
780 (home-page "https://github.com/Tencent/rapidjson")
781 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
783 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
787 (define-public libyajl
794 (url "https://github.com/lloyd/yajl.git")
796 (file-name (git-file-name name version))
799 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
800 (build-system cmake-build-system)
803 (modify-phases %standard-phases
804 (add-after 'patch-source-shebangs 'patch-tests
806 (substitute* "test/parsing/run_tests.sh"
807 (("`which echo`") (which "echo")))
809 (home-page "https://lloyd.github.io/yajl/")
810 (synopsis "C library for parsing JSON")
812 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
813 parser written in ANSI C and a small validating JSON generator.")
816 (define-public libwebsockets
818 (name "libwebsockets")
821 ;; The project does not publish tarballs, so we have to take
825 (url "https://github.com/warmcat/libwebsockets.git")
826 (commit (string-append "v" version
827 "-chrome37-firefox30"))))
830 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
831 (file-name (string-append name "-" version))))
833 (build-system cmake-build-system)
835 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
836 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
839 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
840 (inputs `(("zlib" ,zlib)
841 ("openssl" ,openssl)))
842 (synopsis "WebSockets library written in C")
844 "Libwebsockets is a library that allows C programs to establish client
845 and server WebSockets connections---a protocol layered above HTTP that allows
846 for efficient socket-like bidirectional reliable communication channels.")
847 (home-page "http://libwebsockets.org/")
849 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
850 (license l:lgpl2.1)))
852 (define-public libpsl
858 (uri (string-append "https://github.com/rockdaboot/libpsl/"
859 "releases/download/libpsl-" version
860 "/libpsl-" version ".tar.gz"))
863 "03sn3fbcrmgl9x2f1gc6rbrdlbrnwbhrnkgi733gqb95cvmhmzgq"))))
864 (build-system gnu-build-system)
866 `(("pkg-config" ,pkg-config)))
868 `(("libidn2" ,libidn2)
869 ("libunistring" ,libunistring)
870 ("python-2" ,python-2)))
871 (home-page "https://github.com/rockdaboot/libpsl")
872 (synopsis "C library for the Publix Suffix List")
874 "A \"public suffix\" is a domain name under which Internet users can
875 directly register own names.
877 Browsers and other web clients can use it to avoid privacy-leaking
878 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
879 highlighting parts of the domain in a user interface, and sorting domain lists
882 Libpsl has built-in PSL data for fast access, allows to load PSL data from
883 files, checks if a given domain is a public suffix, provides immediate cookie
884 domain verification, finds the longest public part of a given domain, finds
885 the shortest private part of a given domain, works with international
886 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
898 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
900 (revision "2009-12-23")))
901 (file-name (string-append name "-" version "-checkout"))
904 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
905 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
906 (build-system gnu-build-system)
908 '(#:phases (modify-phases %standard-phases
910 (lambda* (#:key inputs #:allow-other-keys)
911 ;; configure.in and Makefile.am aren't in the root of the
913 (copy-recursively "build/gnuauto" ".")
914 (setenv "AUTOMAKE" "automake --foreign")
915 (invoke "autoreconf" "-vfi"))))))
917 `(("automake" ,automake)
918 ("autoconf" ,autoconf)
919 ("libtool" ,libtool)))
920 (synopsis "HTML validator and tidier")
921 (description "HTML Tidy is a command-line tool and C library that can be
922 used to validate and fix HTML data.")
923 (home-page "http://tidy.sourceforge.net/")
924 (license (l:x11-style "file:///include/tidy.h"))))
926 (define-public tinyproxy
932 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
933 "releases/download/" version "/tinyproxy-"
937 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
938 (build-system gnu-build-system)
942 ;; For the log file, etc.
943 "--localstatedir=/var")
945 (modify-phases %standard-phases
946 (add-before 'build 'pre-build
947 (lambda* (#:key inputs #:allow-other-keys #:rest args)
948 ;; Uncommenting the next two lines may assist in debugging
949 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
950 ;; (setenv "XML_DEBUG_CATALOG" "1")
952 (home-page "https://tinyproxy.github.io/")
953 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
954 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
955 daemon. Designed from the ground up to be fast and yet small, it is an ideal
956 solution for use cases such as embedded deployments where a full featured HTTP
957 proxy is required, but the system resources for a larger proxy are
961 (define-public polipo
969 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
973 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
974 (native-inputs `(("texinfo" ,texinfo)))
975 (build-system gnu-build-system)
977 `(#:phases (modify-phases %standard-phases
979 #:make-flags (let ((out (assoc-ref %outputs "out")))
980 (list (string-append "PREFIX=" out)
981 (string-append "LOCAL_ROOT="
982 out "/share/polipo/www")
984 ;; No 'check' target.
986 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
987 (synopsis "Small caching web proxy")
989 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
990 server). It was primarily designed to be used by one person or a small group
994 (define-public websockify
1001 (url "https://github.com/novnc/websockify.git")
1002 (commit (string-append "v" version))))
1003 (file-name (git-file-name name version))
1006 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1007 (build-system python-build-system)
1009 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1010 ; named 'stubout'". The tests can be run by replacing the check phase with
1011 ; the command "python setup.py nosetests --verbosity=3".
1012 (native-inputs `(; Required for tests:
1013 ("python-mox3" ,python-mox3)
1014 ("python-nose" ,python-nose)))
1015 (propagated-inputs `(("python-numpy" ,python-numpy)))
1016 (home-page "https://github.com/novnc/websockify")
1017 (synopsis "WebSockets support for any application/server")
1018 (description "Websockify translates WebSockets traffic to normal socket
1019 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1020 begins forwarding traffic between the client and the target in both
1024 (define-public wwwoffle
1030 (uri (string-append "https://www.gedanken.org.uk/software/"
1031 "wwwoffle/download/wwwoffle-"
1035 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1036 (build-system gnu-build-system)
1038 `(#:configure-flags '("--with-gnutls")
1039 #:tests? #f)) ; no test target
1040 (native-inputs `(("flex" ,flex)))
1041 (inputs `(("gnutls" ,gnutls)
1042 ("libcrypt" ,libgcrypt)))
1043 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1044 (synopsis "Caching web proxy optimized for intermittent internet links")
1045 (description "WWWOFFLE is a proxy web server that is especially good for
1046 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1047 protocols, and supports browsing and requesting pages while offline, indexing,
1048 modifying pages and incoming and outgoing headers, monitoring pages for
1049 changes, and much more.")
1052 (define-public liboauth
1058 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1062 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1063 (build-system gnu-build-system)
1064 (arguments '(#:configure-flags '("--enable-nss")))
1065 (native-inputs `(("pkg-config" ,pkg-config)))
1069 (home-page "https://sourceforge.net/projects/liboauth")
1070 (synopsis "C library implementing the OAuth API")
1072 "liboauth is a collection of C functions implementing the OAuth API.
1073 liboauth provides functions to escape and encode strings according to OAuth
1074 specifications and offers high-level functionality built on top to sign
1075 requests or verify signatures using either NSS or OpenSSL for calculating the
1077 ;; Source code may be distributed under either license.
1078 (license (list l:expat l:gpl2+))))
1080 (define-public libyaml
1088 "http://pyyaml.org/download/libyaml/yaml-"
1092 "0a87931cx5m14a1x8rbjix3nz7agrcgndf4h392vm62a4rby9240"))))
1093 (build-system gnu-build-system)
1094 (home-page "http://pyyaml.org/wiki/LibYAML")
1095 (synopsis "YAML 1.1 parser and emitter written in C")
1097 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1100 (define-public libquvi-scripts
1102 (name "libquvi-scripts")
1108 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1109 name "/" name "-" version ".tar.xz"))
1111 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1112 (build-system gnu-build-system)
1113 (home-page "http://quvi.sourceforge.net/")
1114 (synopsis "Media stream URL parser")
1115 (description "This package contains support scripts called by libquvi to
1116 parse media stream properties.")
1117 (license l:lgpl2.1+)))
1119 (define-public libquvi
1127 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1128 name "-" version ".tar.xz"))
1130 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1131 (build-system gnu-build-system)
1132 (native-inputs `(("pkg-config" ,pkg-config)))
1135 ("cyrus-sasl" ,cyrus-sasl)
1136 ("libquvi-scripts" ,libquvi-scripts)
1138 ("openssl" ,openssl)
1141 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1143 (let ((lua (assoc-ref %build-inputs "lua")))
1145 (string-append "liblua_CFLAGS=-I" lua "/include")
1146 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1147 (home-page "http://quvi.sourceforge.net/")
1148 (synopsis "Media stream URL parser")
1149 (description "libquvi is a library with a C API for parsing media stream
1150 URLs and extracting their actual media files.")
1151 (license l:lgpl2.1+)))
1161 "mirror://sourceforge/" name "/" (version-major+minor version)
1162 "/" name "/" name "-" version ".tar.xz"))
1164 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1165 (build-system gnu-build-system)
1166 (native-inputs `(("pkg-config" ,pkg-config)))
1169 ("libquvi" ,libquvi)))
1170 (home-page "http://quvi.sourceforge.net/")
1171 (synopsis "Media stream URL parser")
1172 (description "quvi is a command-line-tool suite to extract media files
1173 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1174 (license l:lgpl2.1+)))
1183 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
1184 version ".tar.bz2"))
1186 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1187 (build-system scons-build-system)
1190 ("apr-util" ,apr-util)
1191 ("openssl" ,openssl)))
1193 `(;; TODO: Fix build with gss.
1197 `(#:scons ,scons-python2
1198 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1199 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1200 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1201 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1202 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1203 (string-append "PREFIX=" %output))
1205 (modify-phases %standard-phases
1206 (add-after 'unpack 'scons-propagate-environment
1208 ;; By design, SCons does not, by default, propagate
1209 ;; environment variables to subprocesses. See:
1210 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1211 ;; Here, we modify the SConstruct file to arrange for
1212 ;; environment variables to be propagated.
1213 (substitute* "SConstruct"
1214 (("^env = Environment\\(")
1215 "env = Environment(ENV=os.environ, "))))
1216 (add-before 'check 'disable-broken-tests
1218 ;; These tests rely on SSL certificates that expired 2017-04-18.
1219 ;; While there are newer certs available upstream, we don't want
1220 ;; this package to suddenly "expire" some time in the future.
1221 ;; https://bugs.gnu.org/26671
1223 '("test_ssl_trust_rootca"
1224 "test_ssl_certificate_chain_with_anchor"
1225 "test_ssl_certificate_chain_all_from_server"
1226 "test_ssl_no_servercert_callback_allok"
1227 "test_ssl_large_response"
1228 "test_ssl_large_request"
1229 "test_ssl_client_certificate"
1230 "test_ssl_future_server_cert"
1231 "test_setup_ssltunnel"
1232 "test_ssltunnel_basic_auth"
1233 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1234 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1235 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1236 "test_ssltunnel_digest_auth")))
1239 (substitute* "test/test_context.c"
1240 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1243 (home-page "https://serf.apache.org/")
1244 (synopsis "High-performance asynchronous HTTP client library")
1246 "serf is a C-based HTTP client library built upon the Apache Portable
1247 Runtime (APR) library. It multiplexes connections, running the read/write
1248 communication asynchronously. Memory copies and transformations are kept to a
1249 minimum to provide high performance operation.")
1250 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1251 ;; bundled CuTest framework uses a different non-copyleft license.
1252 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
1254 (define-public libsass
1261 (url "https://github.com/sass/libsass.git")
1263 (file-name (git-file-name name version))
1266 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))
1267 (build-system gnu-build-system)
1270 (modify-phases %standard-phases
1271 (add-before 'bootstrap 'set-LIBSASS_VERSION
1273 (setenv "LIBSASS_VERSION" ,version)
1276 `(("autoconf" ,autoconf)
1277 ("automake" ,automake)
1278 ("libtool" ,libtool)))
1279 (home-page "https://sass-lang.com/libsass")
1280 (synopsis "SASS Compiler, implemented as a C/C++ library")
1282 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1283 library designed for portability and efficiency. To actually compile SASS
1284 stylesheets, you'll need to use another program that uses this library,
1285 @var{sassc} for example.")
1288 (define-public sassc
1295 (url "https://github.com/sass/sassc.git")
1297 (file-name (git-file-name name version))
1300 "0jsfz1zg4gwk0dq8i92ll12axs3s70wsdsmdyi71zx8zmvib5nl6"))))
1301 (build-system gnu-build-system)
1305 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1306 ;; I don't believe sassc contains any tests
1309 (modify-phases %standard-phases
1310 (add-after 'unpack 'patch-Makefile
1312 (substitute* "Makefile"
1313 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1314 "build-shared: $(RESOURCES) $(OBJECTS)")
1315 (("\\$\\(SASSC_EXE\\): libsass build")
1316 "$(SASSC_EXE): build")
1317 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1320 ;; This phase fails for some reason
1322 ;; There is no configure script
1324 (add-before 'build 'setup-environment
1326 (setenv "BUILD" "shared")
1327 (setenv "SASSC_VERSION" ,version)
1330 `(("libsass" ,libsass)))
1331 (synopsis "CSS pre-processor")
1332 (description "SassC is a compiler written in C for the CSS pre-processor
1333 language known as SASS.")
1334 (home-page "http://sass-lang.com/libsass")
1338 (define-public perl-apache-logformat-compiler
1340 (name "perl-apache-logformat-compiler")
1345 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1346 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1348 (base32 "06i70ydxk2wa2rcqn16842kra2qz3jwk0vk1abq8lah4180c0m0n"))))
1349 (build-system perl-build-system)
1351 `(("perl-http-message" ,perl-http-message)
1352 ("perl-module-build-tiny" ,perl-module-build-tiny)
1353 ("perl-test-mocktime" ,perl-test-mocktime)
1354 ("perl-try-tiny" ,perl-try-tiny)
1355 ("perl-uri" ,perl-uri)))
1357 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1358 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1359 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1360 (synopsis "Compile a log format string to perl-code")
1361 (description "This module provides methods to compile a log format string
1362 to perl-code, for faster generation of access_log lines.")
1363 (license l:perl-license)))
1365 (define-public perl-authen-sasl
1367 (name "perl-authen-sasl")
1372 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1373 "Authen-SASL-" version ".tar.gz"))
1376 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1377 (build-system perl-build-system)
1380 (modify-phases %standard-phases
1381 (add-after 'unpack 'set-env
1382 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1383 ;; versions of perl-authen-sasl.
1384 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1386 `(("perl-digest-hmac" ,perl-digest-hmac)
1387 ("perl-gssapi" ,perl-gssapi)))
1388 (home-page "https://metacpan.org/release/Authen-SASL")
1389 (synopsis "SASL authentication framework")
1390 (description "Authen::SASL provides an SASL authentication framework.")
1391 (license l:perl-license)))
1393 (define-public perl-catalyst-action-renderview
1395 (name "perl-catalyst-action-renderview")
1400 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1401 "Catalyst-Action-RenderView-"
1405 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1406 (build-system perl-build-system)
1408 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1409 ("perl-module-install" ,perl-module-install)))
1411 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1412 ("perl-data-visitor" ,perl-data-visitor)
1413 ("perl-mro-compat" ,perl-mro-compat)))
1414 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
1415 (synopsis "Sensible default Catalyst action")
1416 (description "This Catalyst action implements a sensible default end
1417 action, which will forward to the first available view.")
1418 (license l:perl-license)))
1420 (define-public perl-catalyst-action-rest
1422 (name "perl-catalyst-action-rest")
1426 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1427 "Catalyst-Action-REST-" version ".tar.gz"))
1430 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
1431 (build-system perl-build-system)
1433 `(("perl-test-requires" ,perl-test-requires)
1434 ("perl-module-install" ,perl-module-install)))
1436 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1437 ("perl-class-inspector" ,perl-class-inspector)
1438 ("perl-config-general" ,perl-config-general)
1439 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1440 ("perl-libwww" ,perl-libwww)
1441 ("perl-moose" ,perl-moose)
1442 ("perl-mro-compat" ,perl-mro-compat)
1443 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1444 ("perl-params-validate" ,perl-params-validate)
1445 ("perl-uri-find" ,perl-uri-find)
1446 ("perl-xml-simple" ,perl-xml-simple)))
1447 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
1448 (synopsis "Automated REST Method Dispatching")
1449 (description "This Action handles doing automatic method dispatching for
1450 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1451 append an underscore and method name. First it will try dispatching to an
1452 action with the generated name, and failing that it will try to dispatch to a
1454 (license l:perl-license)))
1456 (define-public perl-catalyst-authentication-store-dbix-class
1458 (name "perl-catalyst-authentication-store-dbix-class")
1463 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1464 "Catalyst-Authentication-Store-DBIx-Class-"
1468 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1469 (build-system perl-build-system)
1471 `(("perl-catalyst-plugin-authorization-roles"
1472 ,perl-catalyst-plugin-authorization-roles)
1473 ("perl-catalyst-plugin-session-state-cookie"
1474 ,perl-catalyst-plugin-session-state-cookie)
1475 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1476 ("perl-module-install" ,perl-module-install)
1477 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1479 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1480 ("perl-catalyst-plugin-authentication"
1481 ,perl-catalyst-plugin-authentication)
1482 ("perl-dbix-class" ,perl-dbix-class)
1483 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1485 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
1486 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1487 (description "The Catalyst::Authentication::Store::DBIx::Class class
1488 provides access to authentication information stored in a database via
1490 (license l:perl-license)))
1492 (define-public perl-catalyst-component-instancepercontext
1494 (name "perl-catalyst-component-instancepercontext")
1495 (version "0.001001")
1499 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1500 "Catalyst-Component-InstancePerContext-"
1504 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1505 (build-system perl-build-system)
1507 `(("perl-module-install" ,perl-module-install)))
1509 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1510 ("perl-moose" ,perl-moose)))
1512 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
1513 (synopsis "Create only one instance of Moose component per context")
1514 (description "Catalyst::Component::InstancePerContext returns a new
1515 instance of a component on each request.")
1516 (license l:perl-license)))
1518 (define-public perl-catalyst-devel
1520 (name "perl-catalyst-devel")
1525 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1526 "Catalyst-Devel-" version ".tar.gz"))
1529 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1530 (build-system perl-build-system)
1532 `(("perl-test-fatal" ,perl-test-fatal)))
1534 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1535 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1536 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1537 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1538 ("perl-config-general" ,perl-config-general)
1539 ("perl-file-changenotify" ,perl-file-changenotify)
1540 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1541 ("perl-file-sharedir" ,perl-file-sharedir)
1542 ("perl-module-install" ,perl-module-install)
1543 ("perl-moose" ,perl-moose)
1544 ("perl-moosex-emulate-class-accessor-fast"
1545 ,perl-moosex-emulate-class-accessor-fast)
1546 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1547 ("perl-namespace-clean" ,perl-namespace-clean)
1548 ("perl-path-class" ,perl-path-class)
1549 ("perl-template-toolkit" ,perl-template-toolkit)))
1550 (home-page "https://metacpan.org/release/Catalyst-Devel")
1551 (synopsis "Catalyst Development Tools")
1552 (description "The Catalyst-Devel distribution includes a variety of
1553 modules useful for the development of Catalyst applications, but not required
1554 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1555 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1556 extension for Catalyst; and requirements for a variety of development-related
1558 (license l:perl-license)))
1560 (define-public perl-catalyst-dispatchtype-regex
1562 (name "perl-catalyst-dispatchtype-regex")
1567 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1568 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1571 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1572 (build-system perl-build-system)
1574 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1575 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1576 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1578 `(("perl-moose" ,perl-moose)
1579 ("perl-text-simpletable" ,perl-text-simpletable)))
1580 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
1581 (synopsis "Regex DispatchType for Catalyst")
1582 (description "Dispatch type managing path-matching behaviour using
1583 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1584 core. It is recommend that you use Chained methods or other techniques
1585 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1586 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1587 when the dispatch type is first seen in your application.")
1588 (license l:perl-license)))
1590 (define-public perl-catalyst-model-dbic-schema
1592 (name "perl-catalyst-model-dbic-schema")
1597 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1598 "Catalyst-Model-DBIC-Schema-"
1602 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1603 (build-system perl-build-system)
1605 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1606 ("perl-module-install" ,perl-module-install)
1607 ("perl-test-exception" ,perl-test-exception)
1608 ("perl-test-requires" ,perl-test-requires)))
1610 `(("perl-carp-clan" ,perl-carp-clan)
1611 ("perl-catalyst-component-instancepercontext"
1612 ,perl-catalyst-component-instancepercontext)
1613 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1614 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1615 ("perl-dbix-class" ,perl-dbix-class)
1616 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1617 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1618 ("perl-hash-merge" ,perl-hash-merge)
1619 ("perl-list-moreutils" ,perl-list-moreutils)
1620 ("perl-module-runtime" ,perl-module-runtime)
1621 ("perl-moose" ,perl-moose)
1622 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1623 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1624 ("perl-moosex-types" ,perl-moosex-types)
1625 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1626 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1627 ("perl-namespace-clean" ,perl-namespace-clean)
1628 ("perl-tie-ixhash" ,perl-tie-ixhash)
1629 ("perl-try-tiny" ,perl-try-tiny)))
1630 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
1631 (synopsis "DBIx::Class::Schema Model Class")
1632 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1634 (license l:perl-license)))
1636 (define-public perl-catalyst-plugin-accesslog
1638 (name "perl-catalyst-plugin-accesslog")
1643 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1644 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1647 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1648 (build-system perl-build-system)
1650 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1651 ("perl-datetime" ,perl-datetime)
1652 ("perl-moose" ,perl-moose)
1653 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1654 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
1655 (synopsis "Request logging from within Catalyst")
1656 (description "This Catalyst plugin enables you to create \"access logs\"
1657 from within a Catalyst application instead of requiring a webserver to do it
1658 for you. It will work even with Catalyst debug logging turned off.")
1659 (license l:perl-license)))
1661 (define-public perl-catalyst-plugin-authentication
1663 (name "perl-catalyst-plugin-authentication")
1668 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1669 "Catalyst-Plugin-Authentication-"
1673 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1674 (build-system perl-build-system)
1676 `(("perl-module-install" ,perl-module-install)))
1678 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1679 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1680 ("perl-class-inspector" ,perl-class-inspector)
1681 ("perl-moose" ,perl-moose)
1682 ("perl-moosex-emulate-class-accessor-fast"
1683 ,perl-moosex-emulate-class-accessor-fast)
1684 ("perl-mro-compat" ,perl-mro-compat)
1685 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1686 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1687 ("perl-test-exception" ,perl-test-exception)
1688 ("perl-try-tiny" ,perl-try-tiny)))
1689 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
1690 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1691 (description "The authentication plugin provides generic user support for
1692 Catalyst apps. It is the basis for both authentication (checking the user is
1693 who they claim to be), and authorization (allowing the user to do what the
1694 system authorises them to do).")
1695 (license l:perl-license)))
1697 (define-public perl-catalyst-plugin-authorization-roles
1699 (name "perl-catalyst-plugin-authorization-roles")
1704 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1705 "Catalyst-Plugin-Authorization-Roles-"
1709 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1710 (build-system perl-build-system)
1712 `(("perl-module-install" ,perl-module-install)
1713 ("perl-test-exception" ,perl-test-exception)))
1715 `(("perl-catalyst-plugin-authentication"
1716 ,perl-catalyst-plugin-authentication)
1717 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1718 ("perl-set-object" ,perl-set-object)
1719 ("perl-universal-isa" ,perl-universal-isa)))
1721 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
1722 (synopsis "Role-based authorization for Catalyst")
1723 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1724 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1725 (license l:perl-license)))
1727 (define-public perl-catalyst-plugin-captcha
1729 (name "perl-catalyst-plugin-captcha")
1734 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1735 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1738 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1739 (build-system perl-build-system)
1741 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1742 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1743 ("perl-gd-securityimage" ,perl-gd-securityimage)
1744 ("perl-http-date" ,perl-http-date)))
1745 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
1746 (synopsis "Captchas for Catalyst")
1747 (description "This plugin creates and validates Captcha images for
1749 (license l:perl-license)))
1751 (define-public perl-catalyst-plugin-configloader
1753 (name "perl-catalyst-plugin-configloader")
1758 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1759 "Catalyst-Plugin-ConfigLoader-"
1763 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1764 (build-system perl-build-system)
1766 `(("perl-path-class" ,perl-path-class)
1767 ("perl-module-install" ,perl-module-install)))
1769 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1770 ("perl-config-any" ,perl-config-any)
1771 ("perl-data-visitor" ,perl-data-visitor)
1772 ("perl-mro-compat" ,perl-mro-compat)))
1773 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
1774 (synopsis "Load config files of various types")
1775 (description "This module will attempt to load find and load configuration
1776 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1778 (license l:perl-license)))
1780 (define-public perl-catalyst-plugin-session
1782 (name "perl-catalyst-plugin-session")
1787 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1788 "Catalyst-Plugin-Session-" version ".tar.gz"))
1790 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
1791 (build-system perl-build-system)
1793 `(("perl-module-install" ,perl-module-install)
1794 ("perl-test-deep" ,perl-test-deep)
1795 ("perl-test-exception" ,perl-test-exception)))
1797 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1798 ("perl-moose" ,perl-moose)
1799 ("perl-moosex-emulate-class-accessor-fast"
1800 ,perl-moosex-emulate-class-accessor-fast)
1801 ("perl-mro-compat" ,perl-mro-compat)
1802 ("perl-namespace-clean" ,perl-namespace-clean)
1803 ("perl-object-signature" ,perl-object-signature)
1804 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1805 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
1806 (synopsis "Catalyst generic session plugin")
1807 (description "This plugin links the two pieces required for session
1808 management in web applications together: the state, and the store.")
1809 (license l:perl-license)))
1811 (define-public perl-catalyst-plugin-session-state-cookie
1813 (name "perl-catalyst-plugin-session-state-cookie")
1818 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1819 "Catalyst-Plugin-Session-State-Cookie-"
1823 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1824 (build-system perl-build-system)
1826 `(("perl-module-install" ,perl-module-install)))
1828 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1829 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1830 ("perl-moose" ,perl-moose)
1831 ("perl-mro-compat" ,perl-mro-compat)
1832 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1834 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
1835 (synopsis "Maintain session IDs using cookies")
1836 (description "In order for Catalyst::Plugin::Session to work, the session
1837 ID needs to be stored on the client, and the session data needs to be stored
1838 on the server. This plugin stores the session ID on the client using the
1840 (license l:perl-license)))
1842 (define-public perl-catalyst-plugin-session-store-fastmmap
1844 (name "perl-catalyst-plugin-session-store-fastmmap")
1849 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1850 "Catalyst-Plugin-Session-Store-FastMmap-"
1854 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1855 (build-system perl-build-system)
1857 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1858 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1859 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1860 ("perl-moosex-emulate-class-accessor-fast"
1861 ,perl-moosex-emulate-class-accessor-fast)
1862 ("perl-mro-compat" ,perl-mro-compat)
1863 ("perl-path-class" ,perl-path-class)))
1865 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
1866 (synopsis "FastMmap session storage backend")
1867 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1868 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1869 memory interprocess cache. It is based on Cache::FastMmap.")
1870 (license l:perl-license)))
1872 (define-public perl-catalyst-plugin-stacktrace
1874 (name "perl-catalyst-plugin-stacktrace")
1879 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1880 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1883 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1884 (build-system perl-build-system)
1886 `(("perl-module-install" ,perl-module-install)))
1888 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1889 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1890 ("perl-mro-compat" ,perl-mro-compat)))
1891 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
1892 (synopsis "Stack trace on the Catalyst debug screen")
1893 (description "This plugin enhances the standard Catalyst debug screen by
1894 including a stack trace of your application up to the point where the error
1895 occurred. Each stack frame is displayed along with the package name, line
1896 number, file name, and code context surrounding the line number.")
1897 (license l:perl-license)))
1899 (define-public perl-catalyst-plugin-static-simple
1901 (name "perl-catalyst-plugin-static-simple")
1906 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1907 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1910 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
1911 (build-system perl-build-system)
1913 `(("perl-module-install" ,perl-module-install)))
1915 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1916 ("perl-mime-types" ,perl-mime-types)
1917 ("perl-moose" ,perl-moose)
1918 ("perl-moosex-types" ,perl-moosex-types)
1919 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1920 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
1921 (synopsis "Simple serving of static pages")
1922 (description "The Static::Simple plugin is designed to make serving static
1923 content in your application during development quick and easy, without
1924 requiring a single line of code from you. This plugin detects static files by
1925 looking at the file extension in the URL (such as .css or .png or .js). The
1926 plugin uses the lightweight MIME::Types module to map file extensions to
1927 IANA-registered MIME types, and will serve your static files with the correct
1928 MIME type directly to the browser, without being processed through Catalyst.")
1929 (license l:perl-license)))
1931 (define-public perl-catalyst-runtime
1933 (name "perl-catalyst-runtime")
1938 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1939 "Catalyst-Runtime-" version ".tar.gz"))
1942 "1iw7x9rqk3sz2hm1bw01blz5vwm7zlljdf4xj3r8vz54f1yggzqr"))))
1943 (build-system perl-build-system)
1945 `(("perl-test-fatal" ,perl-test-fatal)))
1947 `(("perl-cgi-simple" ,perl-cgi-simple)
1948 ("perl-cgi-struct" ,perl-cgi-struct)
1949 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1950 ("perl-class-date" ,perl-class-date)
1951 ("perl-class-load" ,perl-class-load)
1952 ("perl-data-dump" ,perl-data-dump)
1953 ("perl-http-body" ,perl-http-body)
1954 ("perl-http-message" ,perl-http-message)
1955 ("perl-json-maybexs" ,perl-json-maybexs)
1956 ("perl-libwww" ,perl-libwww)
1957 ("perl-module-pluggable" ,perl-module-pluggable)
1958 ("perl-moose" ,perl-moose)
1959 ("perl-moosex-emulate-class-accessor-fast"
1960 ,perl-moosex-emulate-class-accessor-fast)
1961 ("perl-moosex-getopt" ,perl-moosex-getopt)
1962 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1963 ("perl-namespace-clean" ,perl-namespace-clean)
1964 ("perl-path-class" ,perl-path-class)
1965 ("perl-plack" ,perl-plack)
1966 ("perl-plack-middleware-fixmissingbodyinredirect"
1967 ,perl-plack-middleware-fixmissingbodyinredirect)
1968 ("perl-plack-middleware-methodoverride"
1969 ,perl-plack-middleware-methodoverride)
1970 ("perl-plack-middleware-removeredundantbody"
1971 ,perl-plack-middleware-removeredundantbody)
1972 ("perl-plack-middleware-reverseproxy"
1973 ,perl-plack-middleware-reverseproxy)
1974 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1975 ("perl-safe-isa" ,perl-safe-isa)
1976 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1977 ("perl-text-simpletable" ,perl-text-simpletable)
1978 ("perl-tree-simple" ,perl-tree-simple)
1979 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1980 ("perl-try-tiny" ,perl-try-tiny)
1981 ("perl-uri" ,perl-uri)
1982 ("perl-uri-ws" ,perl-uri-ws)))
1983 (home-page "https://metacpan.org/release/Catalyst-Runtime")
1984 (synopsis "The Catalyst Framework Runtime")
1985 (description "Catalyst is a modern framework for making web applications.
1986 It is designed to make it easy to manage the various tasks you need to do to
1987 run an application on the web, either by doing them itself, or by letting you
1988 \"plug in\" existing Perl modules that do what you need.")
1989 (license l:perl-license)))
1991 (define-public perl-catalyst-traitfor-request-proxybase
1993 (name "perl-catalyst-traitfor-request-proxybase")
1994 (version "0.000005")
1998 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1999 "Catalyst-TraitFor-Request-ProxyBase-"
2003 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2004 (build-system perl-build-system)
2006 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2007 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2008 ("perl-http-message" ,perl-http-message)
2009 ("perl-module-install" ,perl-module-install)))
2011 `(("perl-moose" ,perl-moose)
2012 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2013 ("perl-uri" ,perl-uri)))
2015 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2016 (synopsis "Replace request base with value passed by HTTP proxy")
2017 (description "This module is a Moose::Role which allows you more
2018 flexibility in your application's deployment configurations when deployed
2019 behind a proxy. Using this module, the request base ($c->req->base) is
2020 replaced with the contents of the X-Request-Base header.")
2021 (license l:perl-license)))
2023 (define-public perl-catalyst-view-download
2025 (name "perl-catalyst-view-download")
2030 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2031 "Catalyst-View-Download-" version ".tar.gz"))
2034 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2035 (build-system perl-build-system)
2037 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2038 ("perl-module-install" ,perl-module-install)
2039 ("perl-test-simple" ,perl-test-simple)
2040 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2041 ("perl-text-csv" ,perl-text-csv)
2042 ("perl-xml-simple" ,perl-xml-simple)))
2043 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2044 (synopsis "Download data in many formats")
2045 (description "The purpose of this module is to provide a method for
2046 downloading data into many supportable formats. For example, downloading a
2047 table based report in a variety of formats (CSV, HTML, etc.).")
2048 (license l:perl-license)))
2050 (define-public perl-catalyst-view-json
2052 (name "perl-catalyst-view-json")
2057 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2058 "Catalyst-View-JSON-" version ".tar.gz"))
2061 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
2062 (build-system perl-build-system)
2064 `(("perl-module-install" ,perl-module-install)
2065 ("perl-yaml" ,perl-yaml)))
2067 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2068 ("perl-json-maybexs" ,perl-json-maybexs)
2069 ("perl-mro-compat" ,perl-mro-compat)))
2070 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2071 (synopsis "Catalyst JSON view")
2072 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2073 stash data in JSON format.")
2074 (license l:perl-license)))
2076 (define-public perl-catalyst-view-tt
2078 (name "perl-catalyst-view-tt")
2083 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2084 "Catalyst-View-TT-" version ".tar.gz"))
2087 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2088 (build-system perl-build-system)
2090 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2091 ("perl-class-accessor" ,perl-class-accessor)
2092 ("perl-data-dump" ,perl-data-dump)
2093 ("perl-mro-compat" ,perl-mro-compat)
2094 ("perl-path-class" ,perl-path-class)
2095 ("perl-template-timer" ,perl-template-timer)
2096 ("perl-template-toolkit" ,perl-template-toolkit)))
2097 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2098 (synopsis "Template View Class")
2099 (description "This module is a Catalyst view class for the Template
2101 (license l:perl-license)))
2103 (define-public perl-catalystx-component-traits
2105 (name "perl-catalystx-component-traits")
2110 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2111 "CatalystX-Component-Traits-" version ".tar.gz"))
2114 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2115 (build-system perl-build-system)
2117 `(("perl-moose" ,perl-moose)
2118 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2119 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2121 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2122 ("perl-class-load" ,perl-class-load)
2123 ("perl-moose" ,perl-moose)
2124 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2125 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2126 ("perl-list-moreutils" ,perl-list-moreutils)))
2127 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2128 (synopsis "Trait Loading and Resolution for Catalyst Components")
2129 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2130 Catalyst component base class that reads the optional \"traits\" parameter
2131 from app and component config and instantiates the component subclass with
2132 those traits using \"new_with_traits\" in MooseX::Traits from
2133 MooseX::Traits::Pluggable.")
2134 (license l:perl-license)))
2136 (define-public perl-catalystx-roleapplicator
2138 (name "perl-catalystx-roleapplicator")
2143 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2144 "CatalystX-RoleApplicator-" version ".tar.gz"))
2147 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2148 (build-system perl-build-system)
2150 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2151 ("perl-moose" ,perl-moose)
2152 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2153 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2154 (synopsis "Apply roles to Catalyst classes")
2155 (description "CatalystX::RoleApplicator applies roles to Catalyst
2156 application classes.")
2157 (license l:perl-license)))
2159 (define-public perl-catalystx-script-server-starman
2161 (name "perl-catalystx-script-server-starman")
2166 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2167 "CatalystX-Script-Server-Starman-"
2171 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2172 (build-system perl-build-system)
2174 `(("perl-module-install" ,perl-module-install)
2175 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2177 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2178 ("perl-moose" ,perl-moose)
2179 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2180 ("starman" ,starman)))
2181 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2182 (synopsis "Catalyst development server with Starman")
2183 (description "This module provides a Catalyst extension to replace the
2184 development server with Starman.")
2185 (license l:perl-license)))
2187 (define-public perl-cgi
2194 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2195 "CGI-" version ".tar.gz"))
2198 "1m779315rzj4mpgscw209a2wk18iwg2n8zibn8aak4mv56jz8n4c"))))
2199 (build-system perl-build-system)
2201 `(("perl-test-deep" ,perl-test-deep)
2202 ("perl-test-nowarnings" ,perl-test-nowarnings)
2203 ("perl-test-warn" ,perl-test-warn)))
2205 `(("perl-html-parser" ,perl-html-parser)))
2206 (home-page "https://metacpan.org/release/CGI")
2207 (synopsis "Handle Common Gateway Interface requests and responses")
2208 (description "CGI.pm is a stable, complete and mature solution for
2209 processing and preparing HTTP requests and responses. Major features include
2210 processing form submissions, file uploads, reading and writing cookies, query
2211 string generation and manipulation, and processing and preparing HTTP
2213 (license l:perl-license)))
2215 (define-public perl-cgi-formbuilder
2217 (name "perl-cgi-formbuilder")
2223 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2224 "CGI-FormBuilder-" version ".tar.gz"))
2227 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2228 (build-system perl-build-system)
2229 (inputs `(("perl-cgi" ,perl-cgi)))
2231 "https://metacpan.org/release/CGI-FormBuilder")
2233 "Generate and process stateful forms")
2235 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2236 form-based applications.")
2237 (license l:perl-license)))
2239 (define-public perl-cgi-session
2241 (name "perl-cgi-session")
2247 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2252 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2253 (build-system perl-build-system)
2255 `(("perl-module-build" ,perl-module-build)))
2256 (inputs `(("perl-cgi" ,perl-cgi)))
2258 "https://metacpan.org/release/CGI-Session")
2260 "Persistent session data in CGI applications")
2262 "@code{CGI::Session} provides modular session management system across
2264 (license l:perl-license)))
2266 (define-public perl-cgi-simple
2268 (name "perl-cgi-simple")
2273 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2274 "CGI-Simple-" version ".tar.gz"))
2276 (base32 "1wzc2igs4khmj7zfahvs87c24p9ks8hnqhhsyviyiix53xx2y6sg"))))
2277 (build-system perl-build-system)
2279 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2280 ("perl-module-build" ,perl-module-build)
2281 ("perl-test-exception" ,perl-test-exception)
2282 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2283 (home-page "https://metacpan.org/release/CGI-Simple")
2284 (synopsis "CGI interface that is CGI.pm compliant")
2285 (description "CGI::Simple provides a relatively lightweight drop in
2286 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2287 parameter parsing, file upload, cookie handling and header generation.")
2288 (license l:perl-license)))
2290 (define-public perl-cgi-struct
2292 (name "perl-cgi-struct")
2297 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2298 "CGI-Struct-" version ".tar.gz"))
2301 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2302 (build-system perl-build-system)
2304 `(("perl-test-deep" ,perl-test-deep)))
2305 (home-page "https://metacpan.org/release/CGI-Struct")
2306 (synopsis "Build structures from CGI data")
2307 (description "This is a module for building structured data from CGI
2308 inputs, in a manner reminiscent of how PHP does.")
2311 (define-public perl-datetime-format-http
2313 (name "perl-datetime-format-http")
2318 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2319 "DateTime-Format-HTTP-" version ".tar.gz"))
2322 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2323 (build-system perl-build-system)
2325 `(("perl-module-build" ,perl-module-build)))
2327 `(("perl-datetime" ,perl-datetime)
2328 ("perl-http-date" ,perl-http-date)))
2329 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2330 (synopsis "Date conversion routines")
2331 (description "This module provides functions that deal with the date
2332 formats used by the HTTP protocol.")
2333 (license l:perl-license)))
2335 (define-public perl-digest-md5-file
2337 (name "perl-digest-md5-file")
2342 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2343 "Digest-MD5-File-" version ".tar.gz"))
2346 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2347 (build-system perl-build-system)
2349 `(("perl-libwww" ,perl-libwww)))
2350 (home-page "https://metacpan.org/release/Digest-MD5-File")
2351 (synopsis "MD5 sums for files and urls")
2352 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2353 for files and urls.")
2354 (license l:perl-license)))
2356 (define-public perl-encode-locale
2358 (name "perl-encode-locale")
2363 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2367 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2368 (build-system perl-build-system)
2369 (license l:perl-license)
2370 (synopsis "Perl locale encoding determination")
2372 "The POSIX locale system is used to specify both the language
2373 conventions requested by the user and the preferred character set to
2374 consume and output. The Encode::Locale module looks up the charset and
2375 encoding (called a CODESET in the locale jargon) and arranges for the
2376 Encode module to know this encoding under the name \"locale\". It means
2377 bytes obtained from the environment can be converted to Unicode strings
2378 by calling Encode::encode(locale => $bytes) and converted back again
2379 with Encode::decode(locale => $string).")
2380 (home-page "https://metacpan.org/release/Encode-Locale")))
2382 (define-public perl-feed-find
2384 (name "perl-feed-find")
2388 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2389 "Feed-Find-" version ".tar.gz"))
2392 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2393 (build-system perl-build-system)
2395 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2398 (modify-phases %standard-phases
2399 (add-after 'unpack 'set-env
2400 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2402 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2403 ("perl-html-parser" ,perl-html-parser)
2404 ("perl-libwww" ,perl-libwww)
2405 ("perl-uri" ,perl-uri)))
2406 (home-page "https://metacpan.org/release/Feed-Find")
2407 (synopsis "Syndication feed auto-discovery")
2408 (description "@code{Feed::Find} implements feed auto-discovery for finding
2409 syndication feeds, given a URI. It will discover the following feed formats:
2410 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2411 (license l:perl-license)))
2413 (define-public perl-file-listing
2415 (name "perl-file-listing")
2420 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2424 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2425 (build-system perl-build-system)
2427 `(("perl-http-date" ,perl-http-date)))
2428 (license l:perl-license)
2429 (synopsis "Perl directory listing parser")
2431 "The File::Listing module exports a single function called parse_dir(),
2432 which can be used to parse directory listings.")
2433 (home-page "https://metacpan.org/release/File-Listing")))
2435 (define-public perl-finance-quote
2437 (name "perl-finance-quote")
2442 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2443 "Finance-Quote-" version ".tar.gz"))
2446 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
2447 (patches (search-patches
2448 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2449 (build-system perl-build-system)
2451 `(("perl-cgi" ,perl-cgi)
2452 ("perl-datetime" ,perl-datetime)
2453 ("perl-html-parser" ,perl-html-parser)
2454 ("perl-html-tableextract" ,perl-html-tableextract)
2455 ("perl-html-tree" ,perl-html-tree)
2456 ("perl-http-cookies" ,perl-http-cookies)
2457 ("perl-http-message" ,perl-http-message)
2458 ("perl-json" ,perl-json)
2459 ("perl-libwww" ,perl-libwww)
2460 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2461 ("perl-uri" ,perl-uri)))
2462 (home-page "https://metacpan.org/release/Finance-Quote")
2463 (synopsis "Stock and mutual fund quotes")
2465 "Finance::Quote gets stock quotes from various internet sources, including
2466 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2469 (define-public perl-gssapi
2471 (name "perl-gssapi")
2476 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2477 "GSSAPI-" version ".tar.gz"))
2480 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2481 (build-system perl-build-system)
2482 (inputs `(("gssapi" ,mit-krb5)))
2484 `(#:make-maker-flags
2485 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2486 (home-page "https://metacpan.org/release/GSSAPI")
2487 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2488 (description "This is a Perl extension for using GSSAPI C bindings as
2489 described in RFC 2744.")
2490 (license l:perl-license)))
2492 (define-public perl-html-element-extended
2494 (name "perl-html-element-extended")
2499 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2500 "HTML-Element-Extended-" version ".tar.gz"))
2503 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2504 (build-system perl-build-system)
2506 `(("perl-html-tree" ,perl-html-tree)))
2507 (home-page "https://metacpan.org/release/HTML-Element-Extended")
2508 (synopsis "Manipulate tables of HTML::Element")
2510 "HTML::Element::Extended is a Perl extension for manipulating a table
2511 composed of HTML::Element style components.")
2512 (license l:perl-license)))
2514 (define-public perl-html-form
2516 (name "perl-html-form")
2521 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2522 "HTML-Form-" version ".tar.gz"))
2525 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2526 (build-system perl-build-system)
2528 `(("perl-html-parser" ,perl-html-parser)
2529 ("perl-html-tagset" ,perl-html-tagset)
2530 ("perl-http-message" ,perl-http-message)
2531 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2532 ("perl-uri" ,perl-uri)))
2533 (home-page "https://metacpan.org/release/HTML-Form")
2534 (synopsis "Perl class representing an HTML form element")
2535 (description "Objects of the HTML::Form class represents a single HTML
2536 <form> ... </form> instance.")
2537 (license l:perl-license)))
2539 (define-public perl-html-scrubber
2541 (name "perl-html-scrubber")
2547 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2552 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
2553 (build-system perl-build-system)
2555 `(("perl-module-build" ,perl-module-build)
2556 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2557 ("perl-test-differences" ,perl-test-differences)
2558 ("perl-test-eol" ,perl-test-eol)
2559 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2560 ("perl-test-notabs" ,perl-test-notabs)))
2562 `(("perl-html-parser" ,perl-html-parser)))
2564 "https://metacpan.org/release/HTML-Scrubber")
2566 "Perl extension for scrubbing/sanitizing html")
2568 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2569 (license l:perl-license)))
2571 (define-public perl-html-lint
2573 (name "perl-html-lint")
2578 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2579 "HTML-Lint-" version ".tar.gz"))
2581 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
2582 (build-system perl-build-system)
2584 `(("perl-html-parser" ,perl-html-parser)
2585 ("perl-html-tagset" ,perl-html-tagset)
2586 ("perl-libwww" ,perl-libwww)))
2587 (home-page "https://metacpan.org/release/HTML-Lint")
2588 (synopsis "Check for HTML errors in a string or file")
2589 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2590 syntactic legitmacy.")
2591 (license l:artistic2.0)))
2593 (define-public perl-html-tableextract
2595 (name "perl-html-tableextract")
2600 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2601 "HTML-TableExtract-" version ".tar.gz"))
2604 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2605 (build-system perl-build-system)
2607 `(("perl-html-element-extended" ,perl-html-element-extended)
2608 ("perl-html-parser" ,perl-html-parser)))
2609 (home-page "https://metacpan.org/release/HTML-TableExtract")
2610 (synopsis "Extract contents from HTML tables")
2612 "HTML::TableExtract is a Perl module for extracting the content contained
2613 in tables within an HTML document, either as text or encoded element trees.")
2614 (license l:perl-license)))
2616 (define-public perl-html-tree
2618 (name "perl-html-tree")
2623 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2624 "HTML-Tree-" version ".tar.gz"))
2627 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
2628 (build-system perl-build-system)
2630 `(("perl-module-build" ,perl-module-build)
2631 ("perl-test-fatal" ,perl-test-fatal)))
2633 `(("perl-html-parser" ,perl-html-parser)
2634 ("perl-html-tagset" ,perl-html-tagset)
2635 ("perl-libwww" ,perl-libwww)))
2636 (home-page "https://metacpan.org/release/HTML-Tree")
2637 (synopsis "Work with HTML in a DOM-like tree structure")
2638 (description "This distribution contains a suite of modules for
2639 representing, creating, and extracting information from HTML syntax trees.")
2640 (license l:perl-license)))
2642 (define-public perl-html-parser
2644 (name "perl-html-parser")
2649 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2653 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2654 (build-system perl-build-system)
2656 `(("perl-html-tagset" ,perl-html-tagset)
2657 ("perl-http-message" ,perl-http-message)))
2658 (license l:perl-license)
2659 (synopsis "Perl HTML parser class")
2661 "Objects of the HTML::Parser class will recognize markup and separate
2662 it from plain text (alias data content) in HTML documents. As different
2663 kinds of markup and text are recognized, the corresponding event handlers
2665 (home-page "https://metacpan.org/release/HTML-Parser")))
2667 (define-public perl-html-tagset
2669 (name "perl-html-tagset")
2674 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2678 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2679 (build-system perl-build-system)
2680 (license l:perl-license)
2681 (synopsis "Perl data tables useful in parsing HTML")
2683 "The HTML::Tagset module contains several data tables useful in various
2684 kinds of HTML parsing operations.")
2685 (home-page "https://metacpan.org/release/HTML-Tagset")))
2687 (define-public perl-html-template
2689 (name "perl-html-template")
2693 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2694 "HTML-Template-" version ".tar.gz"))
2697 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2698 (build-system perl-build-system)
2700 `(("perl-cgi" ,perl-cgi)))
2701 (home-page "https://metacpan.org/release/HTML-Template")
2702 (synopsis "HTML-like templates")
2704 "This module attempts to make using HTML templates simple and natural.
2705 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2706 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2707 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2708 these new tags is called a template. Using this module you fill in the values
2709 for the variables, loops and branches declared in the template. This allows
2710 you to separate design from the data.")
2711 (license l:perl-license)))
2713 (define-public perl-http-body
2715 (name "perl-http-body")
2720 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2721 "HTTP-Body-" version ".tar.gz"))
2724 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2725 (build-system perl-build-system)
2727 `(("perl-test-deep" ,perl-test-deep)))
2729 `(("perl-file-temp" ,perl-file-temp)
2730 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2731 (home-page "https://metacpan.org/release/HTTP-Body")
2732 (synopsis "HTTP Body Parser")
2733 (description "HTTP::Body parses chunks of HTTP POST data and supports
2734 application/octet-stream, application/json, application/x-www-form-urlencoded,
2735 and multipart/form-data.")
2736 (license l:perl-license)))
2738 (define-public perl-http-cookiejar
2740 (name "perl-http-cookiejar")
2745 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2746 "HTTP-CookieJar-" version ".tar.gz"))
2749 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2750 (build-system perl-build-system)
2752 `(("perl-test-deep" ,perl-test-deep)
2753 ("perl-test-requires" ,perl-test-requires)
2754 ("perl-time-mock" ,perl-time-mock)
2755 ("perl-uri" ,perl-uri)))
2757 `(("perl-time-local" ,perl-time-local)
2758 ("perl-http-date" ,perl-http-date)))
2759 (home-page "https://metacpan.org/release/HTTP-CookieJar")
2760 (synopsis "Minimalist HTTP user agent cookie jar")
2761 (description "This module implements a minimalist HTTP user agent cookie
2762 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2763 (license l:asl2.0)))
2765 (define-public perl-http-cookies
2767 (name "perl-http-cookies")
2772 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
2776 "1m0kxcirbvbkrm2c59p1bkbvzlcdymg8fdpa7wlxijlx0xwz1iqc"))))
2777 (build-system perl-build-system)
2779 `(("perl-http-message" ,perl-http-message)))
2780 (license l:perl-license)
2781 (synopsis "Perl HTTP cookie jars")
2783 "The HTTP::Cookies class is for objects that represent a cookie jar,
2784 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2785 object knows about.")
2786 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
2788 (define-public perl-http-daemon
2790 (name "perl-http-daemon")
2795 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2799 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2800 (build-system perl-build-system)
2802 `(("perl-http-message" ,perl-http-message)
2803 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2804 (license l:perl-license)
2805 (synopsis "Perl simple http server class")
2807 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2808 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2809 IO::Socket::INET, so you can perform socket operations directly on it too.")
2810 (home-page "https://metacpan.org/release/HTTP-Daemon")))
2812 (define-public perl-http-date
2814 (name "perl-http-date")
2819 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2823 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2824 (build-system perl-build-system)
2825 (license l:perl-license)
2826 (synopsis "Perl date conversion routines")
2828 "The HTTP::Date module provides functions that deal with date formats
2829 used by the HTTP protocol (and then some more).")
2830 (home-page "https://metacpan.org/release/HTTP-Date")))
2832 (define-public perl-http-message
2834 (name "perl-http-message")
2839 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
2843 "11fbvisyvi6bw8z9iq9fm9mraf69qyds09fblhl9gyvg7ccll93v"))))
2844 (build-system perl-build-system)
2846 `(("perl-try-tiny" ,perl-try-tiny)))
2848 `(("perl-encode-locale" ,perl-encode-locale)
2849 ("perl-http-date" ,perl-http-date)
2850 ("perl-io-html" ,perl-io-html)
2851 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2852 ("perl-uri" ,perl-uri)))
2853 (license l:perl-license)
2854 (synopsis "Perl HTTP style message")
2856 "An HTTP::Message object contains some headers and a content body.")
2857 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
2859 (define-public perl-http-negotiate
2861 (name "perl-http-negotiate")
2866 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2870 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2871 (build-system perl-build-system)
2873 `(("perl-http-message" ,perl-http-message)))
2874 (license l:perl-license)
2875 (synopsis "Perl http content negotiation")
2877 "The HTTP::Negotiate module provides a complete implementation of the
2878 HTTP content negotiation algorithm specified in
2879 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2880 the selection of a preferred content representation based upon attributes
2881 of the negotiable variants and the value of the various Accept* header
2882 fields in the request.")
2883 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
2885 (define-public perl-http-parser
2887 (name "perl-http-parser")
2892 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2893 "HTTP-Parser-" version ".tar.gz"))
2896 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2897 (build-system perl-build-system)
2899 `(("perl-http-message" ,perl-http-message)
2900 ("perl-uri" ,perl-uri)))
2901 (home-page "https://metacpan.org/release/HTTP-Parser")
2902 (synopsis "Parse HTTP/1.1 requests")
2903 (description "This is an HTTP request parser. It takes chunks of text as
2904 received and returns a 'hint' as to what is required, or returns the
2905 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2907 (license l:perl-license)))
2909 (define-public perl-http-parser-xs
2911 (name "perl-http-parser-xs")
2916 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2917 "HTTP-Parser-XS-" version ".tar.gz"))
2920 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2921 (build-system perl-build-system)
2923 `(("perl-module-install" ,perl-module-install)))
2924 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
2925 (synopsis "Fast HTTP request parser")
2926 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2928 (license l:perl-license)))
2930 (define-public perl-http-request-ascgi
2932 (name "perl-http-request-ascgi")
2937 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2938 "HTTP-Request-AsCGI-" version ".tar.gz"))
2941 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2942 (build-system perl-build-system)
2944 `(("perl-class-accessor" ,perl-class-accessor)
2945 ("perl-http-message" ,perl-http-message)))
2946 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
2947 (synopsis "Set up a CGI environment from an HTTP::Request")
2948 (description "This module provides a convenient way to set up a CGI
2949 environment from an HTTP::Request.")
2950 (license l:perl-license)))
2952 (define-public perl-http-server-simple
2954 (name "perl-http-server-simple")
2959 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
2960 "HTTP-Server-Simple-" version ".tar.gz"))
2963 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
2964 (build-system perl-build-system)
2966 `(("perl-cgi" ,perl-cgi)))
2968 ;; See the discussion of a related tests issue at
2969 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2972 #:phases (modify-phases %standard-phases
2973 (add-before 'configure 'set-search-path
2975 ;; Work around "dotless @INC" build failure.
2977 (string-append (getcwd) ":"
2978 (getenv "PERL5LIB")))
2980 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
2981 (synopsis "Lightweight HTTP server")
2982 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2983 no non-core module dependencies. It can be used for building a standalone
2984 http-based UI to your existing tools.")
2985 (license l:perl-license)))
2987 (define-public perl-http-tiny
2989 (name "perl-http-tiny")
2994 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2995 "HTTP-Tiny-" version ".tar.gz"))
2998 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
2999 (build-system perl-build-system)
3001 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3002 ("perl-io-socket-ip" ,perl-io-socket-ip)
3003 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3004 ("perl-mozilla-ca" ,perl-mozilla-ca)
3005 ("perl-net-ssleay" ,perl-net-ssleay)))
3006 (home-page "https://metacpan.org/release/HTTP-Tiny")
3007 (synopsis "HTTP/1.1 client")
3008 (description "This is a very simple HTTP/1.1 client, designed for doing
3009 simple requests without the overhead of a large framework like LWP::UserAgent.
3010 It supports proxies and redirection. It also correctly resumes after EINTR.")
3011 (license l:perl-license)))
3013 (define-public perl-io-html
3015 (name "perl-io-html")
3020 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3024 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3025 (build-system perl-build-system)
3026 (license l:perl-license)
3027 (synopsis "Perl module to open an HTML file with automatic charset detection")
3029 "IO::HTML provides an easy way to open a file containing HTML while
3030 automatically determining its encoding. It uses the HTML5 encoding sniffing
3031 algorithm specified in section 8.2.2.1 of the draft standard.")
3032 (home-page "https://metacpan.org/release/IO-HTML")))
3034 (define-public perl-io-socket-ip
3036 (name "perl-io-socket-ip")
3041 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3042 "IO-Socket-IP-" version ".tar.gz"))
3045 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
3046 (build-system perl-build-system)
3047 (native-inputs `(("perl-module-build" ,perl-module-build)))
3048 (home-page "https://metacpan.org/release/IO-Socket-IP")
3049 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3050 (description "This module provides a protocol-independent way to use IPv4
3051 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3052 (license l:perl-license)))
3054 (define-public perl-io-socket-ssl
3056 (name "perl-io-socket-ssl")
3060 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3061 "IO-Socket-SSL-" version ".tar.gz"))
3064 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
3065 (patches (search-patches
3066 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3067 (build-system perl-build-system)
3069 `(("perl-net-ssleay" ,perl-net-ssleay)
3071 ("perl-uri" ,perl-uri)))
3072 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3074 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3075 necessary functionality into the familiar IO::Socket interface and providing
3076 secure defaults whenever possible. This way existing applications can be made
3077 SSL-aware without much effort, at least if you do blocking I/O and don't use
3079 (license l:perl-license)
3080 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3082 (define-public perl-libwww
3084 (name "perl-libwww")
3089 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
3093 "04a24cx9gs070rvlwf5kanz03y7nnq9k2nmpr01plnm059iprvf6"))))
3094 (build-system perl-build-system)
3096 `(("perl-test-fatal" ,perl-test-fatal)
3097 ("perl-test-needs" ,perl-test-needs)
3098 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3100 `(("perl-encode-locale" ,perl-encode-locale)
3101 ("perl-file-listing" ,perl-file-listing)
3102 ("perl-html-parser" ,perl-html-parser)
3103 ("perl-http-cookies" ,perl-http-cookies)
3104 ("perl-http-daemon" ,perl-http-daemon)
3105 ("perl-http-date" ,perl-http-date)
3106 ("perl-http-message" ,perl-http-message)
3107 ("perl-http-negotiate" ,perl-http-negotiate)
3108 ("perl-net-http" ,perl-net-http)
3109 ("perl-try-tiny" ,perl-try-tiny)
3110 ("perl-uri" ,perl-uri)
3111 ("perl-www-robotrules" ,perl-www-robotrules)))
3112 (license l:perl-license)
3113 (synopsis "Perl modules for the WWW")
3115 "The libwww-perl collection is a set of Perl modules which provides a
3116 simple and consistent application programming interface to the
3117 World-Wide Web. The main focus of the library is to provide classes
3118 and functions that allow you to write WWW clients. The library also
3119 contains modules that are of more general use and even classes that
3120 help you implement simple HTTP servers.")
3121 (home-page "https://metacpan.org/release/libwww-perl")))
3123 (define-public perl-lwp-online
3125 (name "perl-lwp-online")
3131 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3135 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3136 (build-system perl-build-system)
3138 `(("perl-libwww" ,perl-libwww)
3139 ("perl-uri" ,perl-uri)))
3141 `(("perl-module-install" ,perl-module-install)))
3142 (home-page "https://metacpan.org/release/LWP-Online")
3143 (synopsis "Checks whether your process has access to the web")
3144 (description "This module attempts to answer, as accurately as it can, one
3145 of the nastiest technical questions there is: am I on the internet?
3147 A host of networking and security issues make this problem very difficult.
3148 There are firewalls, proxies (both well behaved and badly behaved). We might
3149 not have DNS. We might not have a network card at all!")
3150 (license l:perl-license)))
3152 (define-public perl-lwp-mediatypes
3154 (name "perl-lwp-mediatypes")
3159 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
3163 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
3164 (build-system perl-build-system)
3165 (license l:perl-license)
3166 (synopsis "Perl module to guess the media type for a file or a URL")
3168 "The LWP::MediaTypes module provides functions for handling media (also
3169 known as MIME) types and encodings. The mapping from file extensions to
3170 media types is defined by the media.types file. If the ~/.media.types file
3171 exists it is used instead.")
3172 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3174 (define-public perl-lwp-protocol-https
3176 (name "perl-lwp-protocol-https")
3181 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3182 "LWP-Protocol-https-" version ".tar.gz"))
3185 "1rxrpwylfw1afah0nk96kgkwjbl2p1a7lwx50iipg8c4rx3cjb2j"))))
3186 (build-system perl-build-system)
3189 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3191 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3192 ("perl-libwww" ,perl-libwww)
3193 ;; Users should instead make sure SSL_ca_path is set properly.
3194 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3195 ("perl-net-http" ,perl-net-http)))
3196 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3197 (synopsis "HTTPS support for LWP::UserAgent")
3198 (description "The LWP::Protocol::https module provides support for using
3199 https schemed URLs with LWP.")
3200 (license l:perl-license)))
3202 (define-public perl-lwp-useragent-determined
3204 (name "perl-lwp-useragent-determined")
3209 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3210 "LWP-UserAgent-Determined-" version ".tar.gz"))
3213 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3214 (build-system perl-build-system)
3216 `(("perl-libwww" ,perl-libwww)))
3217 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3218 (synopsis "Virtual browser that retries errors")
3219 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3220 except that when you use it to get a web page but run into a
3221 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3222 and retry a few times.")
3223 (license l:perl-license)))
3225 (define-public perl-net-amazon-s3
3227 (name "perl-net-amazon-s3")
3232 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3233 "Net-Amazon-S3-" version ".tar.gz"))
3236 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3237 (patches (search-patches
3238 "perl-net-amazon-s3-moose-warning.patch"))))
3239 (build-system perl-build-system)
3241 `(("perl-libwww" ,perl-libwww)
3242 ("perl-test-exception" ,perl-test-exception)))
3244 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3245 ("perl-datetime-format-http" ,perl-datetime-format-http)
3246 ("perl-digest-hmac" ,perl-digest-hmac)
3247 ("perl-digest-md5-file" ,perl-digest-md5-file)
3248 ("perl-file-find-rule" ,perl-file-find-rule)
3249 ("perl-http-date" ,perl-http-date)
3250 ("perl-http-message" ,perl-http-message)
3251 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3252 ("perl-mime-types" ,perl-mime-types)
3253 ("perl-moose" ,perl-moose)
3254 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3255 ("perl-moosex-types-datetime-morecoercions"
3256 ,perl-moosex-types-datetime-morecoercions)
3257 ("perl-path-class" ,perl-path-class)
3258 ("perl-regexp-common" ,perl-regexp-common)
3259 ("perl-term-encoding" ,perl-term-encoding)
3260 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3261 ("perl-uri" ,perl-uri)
3262 ("perl-xml-libxml" ,perl-xml-libxml)))
3263 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3264 (synopsis "Perl interface to Amazon S3")
3265 (description "This module provides a Perlish interface to Amazon S3.")
3266 (license l:perl-license)))
3268 (define-public perl-net-http
3270 (name "perl-net-http")
3275 "mirror://cpan/authors/id/O/OA/OALDERS/"
3276 "Net-HTTP-" version ".tar.gz"))
3279 "074mp9s37q1j290xa3qj1wwgalzla328i2zpnh73xkmdnwnxyhky"))))
3280 (build-system perl-build-system)
3282 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3283 ("perl-uri" ,perl-uri)))
3284 (license l:perl-license)
3285 (synopsis "Perl low-level HTTP connection (client)")
3287 "The Net::HTTP class is a low-level HTTP client. An instance of the
3288 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3289 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3291 (home-page "https://metacpan.org/release/Net-HTTP")))
3293 (define-public perl-net-server
3295 (name "perl-net-server")
3300 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3301 "Net-Server-" version ".tar.gz"))
3304 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3305 (build-system perl-build-system)
3306 (home-page "https://metacpan.org/release/Net-Server")
3307 (synopsis "Extensible Perl server engine")
3308 (description "Net::Server is an extensible, generic Perl server engine.
3309 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3310 It includes with it the ability to run as an inetd
3311 process (Net::Server::INET), a single connection server (Net::Server or
3312 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3313 server which maintains a constant number of preforked
3314 children (Net::Server::PreForkSimple), or as a managed preforking server which
3315 maintains the number of children based on server load (Net::Server::PreFork).
3316 In all but the inetd type, the server provides the ability to connect to one
3317 or to multiple server ports.")
3318 (license l:perl-license)))
3320 (define-public perl-net-smtp-ssl
3322 (name "perl-net-smtp-ssl")
3327 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3328 "Net-SMTP-SSL-" version ".tar.gz"))
3331 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3332 (build-system perl-build-system)
3334 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3335 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
3336 (synopsis "SSL support for Net::SMTP")
3337 (description "SSL support for Net::SMTP.")
3338 (license l:perl-license)))
3340 (define-public perl-plack
3347 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3348 "Plack-" version ".tar.gz"))
3351 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3352 (build-system perl-build-system)
3354 `(("perl-test-requires" ,perl-test-requires)
3355 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3357 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3358 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3359 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3360 ("perl-file-sharedir" ,perl-file-sharedir)
3361 ("perl-hash-multivalue" ,perl-hash-multivalue)
3362 ("perl-http-body" ,perl-http-body)
3363 ("perl-http-message" ,perl-http-message)
3364 ("perl-http-tiny" ,perl-http-tiny)
3365 ("perl-libwww" ,perl-libwww)
3366 ("perl-stream-buffered" ,perl-stream-buffered)
3367 ("perl-test-tcp" ,perl-test-tcp)
3368 ("perl-try-tiny" ,perl-try-tiny)
3369 ("perl-uri" ,perl-uri)))
3370 (home-page "https://metacpan.org/release/Plack")
3371 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3372 (description "Plack is a set of tools for using the PSGI stack. It
3373 contains middleware components, a reference server, and utilities for Web
3374 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3376 (license l:perl-license)))
3378 (define-public perl-plack-middleware-fixmissingbodyinredirect
3380 (name "perl-plack-middleware-fixmissingbodyinredirect")
3385 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3386 "Plack-Middleware-FixMissingBodyInRedirect-"
3390 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3391 (build-system perl-build-system)
3393 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3394 ("perl-http-message" ,perl-http-message)
3395 ("perl-plack" ,perl-plack))) ;for Plack::Test
3397 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
3398 (synopsis "Plack::Middleware which sets body for redirect response")
3399 (description "This module sets the body in redirect response, if it's not
3401 (license l:perl-license)))
3403 (define-public perl-plack-middleware-methodoverride
3405 (name "perl-plack-middleware-methodoverride")
3410 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3411 "Plack-Middleware-MethodOverride-"
3414 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
3415 (build-system perl-build-system)
3417 `(("perl-module-build" ,perl-module-build)))
3419 `(("perl-plack" ,perl-plack)))
3420 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
3421 (synopsis "Override REST methods to Plack apps via POST")
3422 (description "This middleware allows for POST requests that pretend to be
3423 something else: by adding either a header named X-HTTP-Method-Override to the
3424 request, or a query parameter named x-tunneled-method to the URI, the client
3425 can say what method it actually meant.")
3426 (license l:perl-license)))
3428 (define-public perl-plack-middleware-removeredundantbody
3430 (name "perl-plack-middleware-removeredundantbody")
3435 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3436 "Plack-Middleware-RemoveRedundantBody-"
3440 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
3441 (build-system perl-build-system)
3443 `(("perl-plack" ,perl-plack)))
3445 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
3446 (synopsis "Plack::Middleware which removes body for HTTP response")
3447 (description "This module removes the body in an HTTP response if it's not
3449 (license l:perl-license)))
3451 (define-public perl-plack-middleware-reverseproxy
3453 (name "perl-plack-middleware-reverseproxy")
3458 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3459 "Plack-Middleware-ReverseProxy-"
3463 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
3464 (build-system perl-build-system)
3466 `(("perl-module-install" ,perl-module-install)))
3468 `(("perl-plack" ,perl-plack)))
3469 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
3470 (synopsis "Supports app to run as a reverse proxy backend")
3471 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3472 which are changed by reverse-proxy. You can specify the reverse proxy address
3473 and stop fake requests using 'enable_if' directive in your app.psgi.")
3474 (license l:perl-license)))
3476 (define-public perl-plack-test-externalserver
3478 (name "perl-plack-test-externalserver")
3483 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3484 "Plack-Test-ExternalServer-" version ".tar.gz"))
3487 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
3488 (build-system perl-build-system)
3490 `(("perl-plack" ,perl-plack)))
3491 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
3492 (synopsis "Run HTTP tests on external live servers")
3493 (description "This module allows your to run your Plack::Test tests
3494 against an external server instead of just against a local application through
3495 either mocked HTTP or a locally spawned server.")
3496 (license l:perl-license)))
3498 (define-public perl-test-tcp
3500 (name "perl-test-tcp")
3505 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3506 "Test-TCP-" version ".tar.gz"))
3508 (base32 "14ahzklq3xgmwj58p9vdcfgpggrmh3nigq5mzqk4wakbb6fjs0fx"))))
3509 (build-system perl-build-system)
3511 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3512 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3513 (home-page "https://metacpan.org/release/Test-TCP")
3514 (synopsis "Testing TCP programs")
3515 (description "Test::TCP is test utilities for TCP/IP programs.")
3516 (license l:perl-license)))
3518 (define-public perl-test-www-mechanize
3520 (name "perl-test-www-mechanize")
3525 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3526 "Test-WWW-Mechanize-" version ".tar.gz"))
3529 "097pl87vdbxbb56vawzvs6ikrlb8nz3dx223kjjbdn3jlli3jjhg"))))
3530 (build-system perl-build-system)
3532 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3533 ("perl-html-form" ,perl-html-form)
3534 ("perl-html-lint" ,perl-html-lint)
3535 ("perl-http-server-simple" ,perl-http-server-simple)
3536 ("perl-libwww" ,perl-libwww)
3537 ("perl-test-longstring" ,perl-test-longstring)
3538 ("perl-www-mechanize" ,perl-www-mechanize)))
3539 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
3540 (synopsis "Testing-specific WWW::Mechanize subclass")
3541 (description "Test::WWW::Mechanize is a subclass of the Perl module
3542 WWW::Mechanize that incorporates features for web application testing.")
3543 (license l:artistic2.0)))
3545 (define-public perl-test-www-mechanize-catalyst
3547 (name "perl-test-www-mechanize-catalyst")
3552 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
3553 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3555 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
3556 (build-system perl-build-system)
3558 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3559 ("perl-catalyst-plugin-session-state-cookie"
3560 ,perl-catalyst-plugin-session-state-cookie)
3561 ("perl-module-install" ,perl-module-install)
3562 ("perl-test-exception" ,perl-test-exception)
3563 ("perl-test-pod" ,perl-test-pod)
3564 ("perl-test-utf8" ,perl-test-utf8)))
3566 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3567 ("perl-class-load" ,perl-class-load)
3568 ("perl-libwww" ,perl-libwww)
3569 ("perl-moose" ,perl-moose)
3570 ("perl-namespace-clean" ,perl-namespace-clean)
3571 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3572 ("perl-www-mechanize" ,perl-www-mechanize)))
3573 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
3574 (synopsis "Test::WWW::Mechanize for Catalyst")
3575 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3576 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3577 testing of Catalyst applications without needing to start up a web server.")
3578 (license l:perl-license)))
3580 (define-public perl-test-www-mechanize-psgi
3582 (name "perl-test-www-mechanize-psgi")
3587 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3588 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3591 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
3592 (build-system perl-build-system)
3594 `(("perl-test-pod" ,perl-test-pod)))
3596 `(("perl-plack" ,perl-plack)
3597 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3598 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
3599 (synopsis "Test PSGI programs using WWW::Mechanize")
3600 (description "PSGI is a specification to decouple web server environments
3601 from web application framework code. Test::WWW::Mechanize is a subclass of
3602 WWW::Mechanize that incorporates features for web application testing. The
3603 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3605 (license l:perl-license)))
3607 (define-public perl-uri
3613 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3614 "URI-" version ".tar.gz"))
3617 "04z4xwiryrbxxi48bwbkgq9q9pwfgqry3wp0ramcrwv3dx5ap9yc"))))
3618 (build-system perl-build-system)
3621 `(("perl-test-needs" ,perl-test-needs)))
3622 (license l:perl-license)
3623 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3625 "The URI module implements the URI class. Objects of this class
3626 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3627 and updated by RFC 2732.")
3628 (home-page "https://metacpan.org/release/URI")))
3630 (define-public perl-uri-fetch
3632 (name "perl-uri-fetch")
3636 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3637 "URI-Fetch-" version ".tar.gz"))
3640 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3641 (build-system perl-build-system)
3643 `(#:tests? #f)) ; Tests require internet connection to succeed
3645 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3646 ("perl-libwww" ,perl-libwww)
3647 ("perl-uri" ,perl-uri)))
3648 (home-page "https://metacpan.org/release/URI-Fetch")
3649 (synopsis "Smart URI fetching/caching")
3650 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3651 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3652 and time-saving way.")
3653 (license l:perl-license)))
3655 (define-public perl-uri-find
3657 (name "perl-uri-find")
3658 (version "20160806")
3662 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3663 "URI-Find-" version ".tar.gz"))
3666 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
3667 (build-system perl-build-system)
3669 `(("perl-module-build" ,perl-module-build)))
3671 `(("perl-uri" ,perl-uri)))
3672 (home-page "https://metacpan.org/release/URI-Find")
3673 (synopsis "Find URIs in arbitrary text")
3674 (description "This module finds URIs and URLs (according to what URI.pm
3675 considers a URI) in plain text. It only finds URIs which include a
3676 scheme (http:// or the like), for something a bit less strict, consider
3677 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3678 (license l:perl-license)))
3680 (define-public perl-uri-ws
3682 (name "perl-uri-ws")
3687 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3688 "URI-ws-" version ".tar.gz"))
3691 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3692 (build-system perl-build-system)
3694 `(("perl-uri" ,perl-uri)))
3695 (home-page "https://metacpan.org/release/URI-ws")
3696 (synopsis "WebSocket support for URI package")
3697 (description "With this module, the URI package provides the same set of
3698 methods for WebSocket URIs as it does for HTTP URIs.")
3699 (license l:perl-license)))
3701 (define-public perl-uri-template
3703 (name "perl-uri-template")
3707 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3711 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
3712 (build-system perl-build-system)
3714 `(("perl-uri" ,perl-uri)))
3716 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3717 ("perl-test-pod" ,perl-test-pod)
3718 ("perl-module-install" ,perl-module-install)
3719 ("perl-json" ,perl-json)))
3720 (home-page "https://metacpan.org/release/URI-Template")
3721 (synopsis "Object for handling URI templates")
3722 (description "This perl module provides a wrapper around URI templates as described in
3724 (license l:perl-license)))
3726 (define-public perl-www-curl
3728 (name "perl-www-curl")
3733 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3735 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3738 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3739 (build-system perl-build-system)
3741 '(#:tests? #f ;XXX: tests require network access
3743 #:phases (modify-phases %standard-phases
3744 (add-before 'configure 'set-search-path
3746 ;; Work around "dotless @INC" build failure.
3748 (string-append (getcwd) ":"
3749 (getenv "PERL5LIB")))
3752 `(("perl-module-install" ,perl-module-install)))
3753 (inputs `(("curl" ,curl)))
3754 (synopsis "Perl extension interface for libcurl")
3756 "This is a Perl extension interface for the libcurl file downloading
3758 (license l:perl-license)
3759 (home-page "https://metacpan.org/release/WWW-Curl")))
3761 (define-public perl-www-mechanize
3763 (name "perl-www-mechanize")
3768 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3769 "WWW-Mechanize-" version ".tar.gz"))
3771 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
3772 (build-system perl-build-system)
3773 (native-inputs ;only for tests
3774 `(("perl-cgi" ,perl-cgi)
3775 ("perl-test-deep" ,perl-test-deep)
3776 ("perl-test-fatal" ,perl-test-fatal)
3777 ("perl-test-output" ,perl-test-output)
3778 ("perl-test-warnings" ,perl-test-warnings)))
3780 `(("perl-html-form" ,perl-html-form)
3781 ("perl-html-parser" ,perl-html-parser)
3782 ("perl-html-tree" ,perl-html-tree)
3783 ("perl-http-message" ,perl-http-message)
3784 ("perl-http-server-simple" ,perl-http-server-simple)
3785 ("perl-libwww" ,perl-libwww)
3786 ("perl-test-warn" ,perl-test-warn)
3787 ("perl-uri" ,perl-uri)))
3788 (home-page "https://metacpan.org/release/WWW-Mechanize")
3789 (synopsis "Web browsing in a Perl object")
3790 (description "WWW::Mechanize is a Perl module for stateful programmatic
3791 web browsing, used for automating interaction with websites.")
3792 (license l:perl-license)))
3794 (define-public perl-www-opensearch
3796 (name "perl-www-opensearch")
3800 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3801 "WWW-OpenSearch-" version ".tar.gz"))
3804 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3805 (build-system perl-build-system)
3807 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3808 ("perl-datetime" ,perl-datetime)
3809 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
3810 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
3811 ("perl-feed-find" ,perl-feed-find)
3812 ("perl-module-install" ,perl-module-install)
3813 ("perl-module-pluggable" ,perl-module-pluggable)
3814 ("perl-uri-fetch" ,perl-uri-fetch)
3815 ("perl-test-simple" ,perl-test-simple)
3816 ("perl-xml-atom" ,perl-xml-atom)
3817 ("perl-xml-rss" ,perl-xml-rss)))
3819 `(("perl-data-page" ,perl-data-page)
3820 ("perl-libwww" ,perl-libwww)
3821 ("perl-uri" ,perl-uri)
3822 ("perl-uri-template" ,perl-uri-template)
3823 ("perl-xml-feed" ,perl-xml-feed)
3824 ("perl-xml-libxml" ,perl-xml-libxml)))
3825 (home-page "https://metacpan.org/release/WWW-OpenSearch")
3826 (synopsis "Search A9 OpenSearch compatible engines")
3828 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3829 http://opensearch.a9.com} compatible search engines.")
3830 (license l:perl-license)))
3832 (define-public perl-www-robotrules
3834 (name "perl-www-robotrules")
3839 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3843 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3844 (build-system perl-build-system)
3846 `(("perl-uri" ,perl-uri)))
3847 (license l:perl-license)
3848 (synopsis "Perl database of robots.txt-derived permissions")
3850 "The WWW::RobotRules module parses /robots.txt files as specified in
3851 \"A Standard for Robot Exclusion\", at
3852 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3853 /robots.txt file to forbid conforming robots from accessing parts of
3855 (home-page "https://metacpan.org/release/WWW-RobotRules")))
3857 (define-public python-feedparser
3859 (name "python-feedparser")
3864 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3867 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3868 (build-system python-build-system)
3872 "https://github.com/kurtmckee/feedparser")
3873 (synopsis "Parse feeds in Python")
3875 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3876 CDF, Atom 0.3, and Atom 1.0 feeds.")
3877 (license (list l:bsd-2 ; source code
3878 l:freebsd-doc)))) ; documentation
3880 (define-public python2-feedparser
3881 (package-with-python2 python-feedparser))
3883 (define-public gumbo-parser
3885 (name "gumbo-parser")
3889 (uri (string-append "https://github.com/google/"
3890 "gumbo-parser/archive/v" version ".tar.gz"))
3891 (file-name (string-append name "-" version ".tar.gz"))
3894 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
3895 (build-system gnu-build-system)
3897 `(#:tests? #f)) ;tests require bundling googletest sources
3898 ;; The release tarball lacks the generated files.
3900 `(("autoconf" ,autoconf)
3901 ("automake" ,automake)
3902 ("libtool" ,libtool)))
3903 (home-page "https://github.com/google/gumbo-parser")
3904 (synopsis "HTML5 parsing library")
3906 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
3907 a pure C99 library.")
3908 (license l:asl2.0)))
3910 (define-public uwsgi
3916 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
3920 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
3921 (build-system gnu-build-system)
3922 (outputs '("out" "python"))
3924 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
3925 ;; But there is no obvious way to run the real tests.
3928 (modify-phases %standard-phases
3930 ;; Configuration is done by writing an ini file.
3931 (lambda* (#:key outputs #:allow-other-keys)
3932 (let* ((out (assoc-ref outputs "out"))
3933 (bindir (string-append out "/bin"))
3934 (plugindir (string-append out "/lib/uwsgi")))
3935 ;; The build phase outputs files to these directories directly.
3938 ;; XXX: Enable other plugins.
3939 (call-with-output-file "buildconf/guix.ini"
3941 (format port "[uwsgi]
3947 plugins = cgi,python
3949 " bindir plugindir))))
3950 (setenv "PROFILE" "guix")
3953 ;; Move plugins into their own output.
3954 (lambda* (#:key outputs #:allow-other-keys)
3955 (let* ((out (assoc-ref outputs "out"))
3956 (plugindir (string-append out "/lib/uwsgi"))
3957 (python-plugin (string-append
3958 plugindir "/python_plugin.so")))
3959 (install-file python-plugin
3961 (assoc-ref outputs "python") "/lib/uwsgi"))
3962 (delete-file python-plugin)
3965 `(("pkg-config" ,pkg-config)
3966 ("python" ,python-wrapper)))
3968 `(("jansson" ,jansson)
3969 ("libxml2" ,libxml2)
3970 ("libyaml" ,libyaml)
3971 ("openssl" ,openssl)
3975 ("python" ,python)))
3976 (home-page "https://uwsgi-docs.readthedocs.org/")
3977 (synopsis "Application container server")
3979 "uWSGI presents a complete stack for networked/clustered web applications,
3980 implementing message/object passing, caching, RPC and process management.
3981 It uses the uwsgi protocol for all the networking/interprocess communications.")
3982 (license l:gpl2+))) ; with linking exception
3990 (uri (string-append "https://github.com/stedolan/jq"
3991 "/releases/download/jq-" version
3992 "/jq-" version ".tar.gz"))
3995 "1a76f46a652i2g333kfvrl6mp2w7whf6h1yly519izg4y967h9cn"))))
3997 `(("oniguruma" ,oniguruma)))
3999 `(;; TODO fix gems to generate documentation
4001 ;;("bundler" ,bundler)
4002 ("valgrind" ,valgrind)))
4003 (build-system gnu-build-system)
4004 (home-page "http://stedolan.github.io/jq/")
4005 (synopsis "Command-line JSON processor")
4006 (description "jq is like sed for JSON data – you can use it to slice and
4007 filter and map and transform structured data with the same ease that sed, awk,
4008 grep and friends let you play with text. It is written in portable C. jq can
4009 mangle the data format that you have into the one that you want with very
4010 little effort, and the program to do so is often shorter and simpler than
4012 (license (list l:expat l:cc-by3.0))))
4014 (define-public uhttpmock
4021 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4022 name "-" version ".tar.xz"))
4025 "163py4klka423x7li2b685gmg3a6hjf074mlff2ajhmi3l0lm8x6"))))
4026 (build-system glib-or-gtk-build-system)
4028 `(("gobject-introspection" ,gobject-introspection)
4030 ("glib-networking" ,glib-networking)
4031 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4032 ("pkg-config" ,pkg-config)))
4034 `(("libsoup" ,libsoup)))
4035 (home-page "https://gitlab.com/groups/uhttpmock")
4036 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4038 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4039 HTTPS. It provides a library, libuhttpmock, which implements recording and
4040 playback of HTTP request/response traces.")
4041 (license l:lgpl2.1+)))
4046 (version "2012-05-31")
4050 "http://www.home.unix-ag.org/simon/woof-"
4054 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4055 (build-system trivial-build-system)
4057 '(#:modules ((guix build utils))
4060 (use-modules (guix build utils))
4061 (let* ((source (assoc-ref %build-inputs "source"))
4062 (out (assoc-ref %outputs "out"))
4063 (bin (string-append out "/bin"))
4064 (python (assoc-ref %build-inputs "python")))
4066 (with-directory-excursion bin
4067 (copy-file source "woof")
4068 (patch-shebang "woof" (list (string-append python "/bin")))
4069 (chmod "woof" #o555))
4071 (inputs `(("python" ,python-2)))
4072 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4073 (synopsis "Single file web server")
4074 (description "Woof (Web Offer One File) is a small simple web server that
4075 can easily be invoked on a single file. Your partner can access the file with
4076 tools they trust (e.g. wget).")
4079 (define netsurf-buildsystem
4081 (name "netsurf-buildsystem")
4086 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4087 "buildsystem-" version ".tar.gz"))
4090 "1q23aaycv35ma5471l1gxib8lfq2s9kprrkaqgfc926d04rlbmhw"))))
4091 (build-system gnu-build-system)
4092 (inputs `(("perl" ,perl)))
4094 '(#:make-flags (list (string-append "PREFIX=" %output))
4095 #:tests? #f ;no tests
4096 #:phases (modify-phases %standard-phases
4099 (home-page "http://www.netsurf-browser.org")
4100 (synopsis "Build system for the Netsurf project")
4102 "This package provides the shared build system for Netsurf project
4106 (define netsurf-buildsystem-arguments
4107 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4108 "CC=gcc" "BUILD_CC=gcc"
4109 ,(string-append "PREFIX=" %output)
4110 ,(string-append "NSSHARED="
4111 (assoc-ref %build-inputs
4112 "netsurf-buildsystem")
4113 "/share/netsurf-buildsystem"))
4114 #:test-target "test"
4115 #:phases (modify-phases %standard-phases
4116 (delete 'configure))))
4118 (define-public libparserutils
4120 (name "libparserutils")
4125 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4126 name "-" version "-src.tar.gz"))
4129 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4130 (build-system gnu-build-system)
4132 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4133 ("pkg-config" ,pkg-config)
4134 ("perl" ,perl))) ;for test harness
4135 (arguments netsurf-buildsystem-arguments)
4136 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
4137 (synopsis "Parser building library")
4139 "LibParserUtils is a library for building efficient parsers, written in
4140 C. It is developed as part of the NetSurf project.")
4143 (define-public hubbub
4150 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4151 "lib" name "-" version "-src.tar.gz"))
4154 "13yq1k96a7972x4r71i9bcsz9yiglj0yx7lj0ziq5r94w5my70ma"))
4155 (patches (search-patches "hubbub-sort-entities.patch"))))
4156 (build-system gnu-build-system)
4158 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4159 ("pkg-config" ,pkg-config)
4160 ("doxygen" ,doxygen)
4161 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4164 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4165 (arguments netsurf-buildsystem-arguments)
4166 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
4167 (synopsis "HTML5 compliant parsing library")
4169 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4170 parse both valid and invalid web content. It is developed as part of the
4174 (define-public ikiwiki
4177 (version "3.20170111")
4181 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4182 "20170111T215449Z/pool/main/i/ikiwiki/ikiwiki_"
4186 "00d7yzv426fvqbhvzyafddv7fa6b4j2647b0wi371wd5yjj9j3sz"))))
4187 (build-system perl-build-system)
4189 `(;; Image tests fail
4191 ;; Test Summary Report
4192 ;; -------------------
4193 ;; t/img.t (Wstat: 2304 Tests: 62 Failed: 9)
4194 ;; Failed tests: 21, 27-28, 30-35
4195 ;; Non-zero exit status: 9
4198 (modify-phases %standard-phases
4199 (add-after 'unpack 'include-PERL5LIB-in-wrapper
4201 (substitute* "IkiWiki/Wrapper.pm"
4202 (("^@wrapper\\_hooks")
4205 " addenv(\"PERL5LIB\", \""
4208 (add-after 'patch-source-shebangs 'patch-Makefile
4210 (substitute* "Makefile.PL"
4211 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
4213 (add-after 'install 'wrap-programs
4214 (lambda* (#:key outputs #:allow-other-keys)
4215 (let* ((out (assoc-ref outputs "out"))
4216 (bin (string-append out "/bin/"))
4217 (path (getenv "PERL5LIB")))
4218 (for-each (lambda (file)
4220 `("PERL5LIB" ":" prefix (,path))))
4225 ("perl-html-tagset" ,perl-html-tagset)
4226 ("perl-timedate" ,perl-timedate)
4227 ("perl-xml-sax" ,perl-xml-sax)
4228 ("perl-xml-simple" ,perl-xml-simple)
4229 ("gettext" ,gettext-minimal)
4230 ("subversion" ,subversion)
4234 ("mercurial" ,mercurial)))
4236 `(("python" ,python-wrapper)
4237 ("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
4238 ("perl-cgi-session" ,perl-cgi-session)
4239 ("perl-cgi-simple" ,perl-cgi-simple)
4240 ("perl-db-file" ,perl-db-file)
4241 ("perl-html-parser" ,perl-html-parser)
4242 ("perl-html-scrubber" ,perl-html-scrubber)
4243 ("perl-html-template" ,perl-html-template)
4244 ("perl-image-magick" ,perl-image-magick)
4245 ("perl-json" ,perl-json)
4246 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4247 ("perl-uri" ,perl-uri)
4248 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4249 (home-page "https://ikiwiki.info/")
4250 (synopsis "Wiki compiler, capable of generating HTML")
4252 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4253 pages, but also incorporating dynamic features like a web based editor and
4257 (define-public libwapcaplet
4259 (name "libwapcaplet")
4264 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4265 name "-" version "-src.tar.gz"))
4268 "134pljlm8kby1yy49826f0ixnpig8iqak6xpyl3aivagnsjnxzy8"))))
4269 (build-system gnu-build-system)
4271 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4272 ("pkg-config" ,pkg-config)
4273 ("check" ,check))) ;for tests
4274 (arguments netsurf-buildsystem-arguments)
4275 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
4276 (synopsis "String internment library")
4278 "LibWapcaplet provides a reference counted string internment system
4279 designed to store small strings and allow rapid comparison of them. It is
4280 developed as part of the Netsurf project.")
4283 (define-public libcss
4290 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4291 name "-" version "-src.tar.gz"))
4294 "0pxdqbxn6brj03nv57bsvac5n70k4scn3r5msaw0jgn2k06lk81m"))))
4295 (build-system gnu-build-system)
4297 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4298 ("pkg-config" ,pkg-config)
4300 (propagated-inputs ;needed for libcss.pc
4301 `(("libparserutils" ,libparserutils)
4302 ("libwapcaplet" ,libwapcaplet)))
4303 (arguments netsurf-buildsystem-arguments)
4304 (home-page "http://www.netsurf-browser.org/projects/libcss/")
4305 (synopsis "CSS parser and selection library")
4307 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4308 written in C. It is developed as part of the NetSurf project.")
4311 (define-public libdom
4318 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4319 name "-" version "-src.tar.gz"))
4322 "1919757mdl3gii2pl6kzm8b1cal0h06r5nqd2y0kny6hc5yrhsp0"))))
4323 (build-system gnu-build-system)
4325 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4326 ("pkg-config" ,pkg-config)
4327 ("perl" ,perl) ;for test harness
4328 ("perl-libxml" ,perl-libxml)
4329 ("perl-switch" ,perl-switch)
4330 ("perl-xml-xpath" ,perl-xml-xpath)))
4332 `(("libparserutils" ,libparserutils)
4333 ("libwapcaplet" ,libwapcaplet)))
4335 `(("expat" ,expat) ;needed for headers and linking
4336 ("hubbub" ,hubbub))) ;for libdom.pc
4338 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4339 ,@netsurf-buildsystem-arguments))
4340 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4341 (synopsis "Implementation of the W3C DOM")
4343 "LibDOM is an implementation of the W3C DOM, written in C. It is
4344 developed as part of the NetSurf project.")
4347 (define-public libsvgtiny
4354 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4355 name "-" version "-src.tar.gz"))
4358 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
4359 (build-system gnu-build-system)
4361 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4362 ("pkg-config" ,pkg-config)
4363 ("gperf" ,gperf-3.0)))
4365 `(("libwapcaplet" ,libwapcaplet)))
4367 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4368 (arguments netsurf-buildsystem-arguments)
4369 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4370 (synopsis "Library for parsing SVG files")
4372 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4373 which can be rendered easily, as defined in
4374 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4378 (define-public libnsbmp
4385 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4386 name "-" version "-src.tar.gz"))
4389 "0lib2m07d1i0k80m4blkwnj0g7rha4jbm5vrgd0wwbkyfa0hvk35"))))
4390 (build-system gnu-build-system)
4392 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4393 (arguments netsurf-buildsystem-arguments)
4394 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4395 (synopsis "Decoding library for BMP and ICO files")
4397 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4398 written in C. It is developed as part of the NetSurf project.")
4401 (define-public libnsgif
4408 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4409 name "-" version "-src.tar.gz"))
4412 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
4413 (build-system gnu-build-system)
4415 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4416 (arguments netsurf-buildsystem-arguments)
4417 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4418 (synopsis "Decoding library for GIF files")
4420 "Libnsgif is a decoding library for the GIF image file format, written in
4421 C. It is developed as part of the NetSurf project.")
4424 (define-public libnsutils
4431 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4432 name "-" version "-src.tar.gz"))
4435 "09w1rixps1iiq6wirjwxmd6h87llvjzvw565rahjb3rlyhcplfqf"))))
4436 (build-system gnu-build-system)
4438 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4439 (arguments netsurf-buildsystem-arguments)
4440 (home-page "http://www.netsurf-browser.org/")
4441 (synopsis "Utility library for NetSurf")
4443 "Libnsutils provides a small number of useful utility routines. It is
4444 developed as part of the NetSurf project.")
4447 (define-public libnspsl
4454 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4455 name "-" version "-src.tar.gz"))
4458 "1rsk1k2a495axxgv8060s0p1phhhcxrv75252kllbkvr8id5kqld"))))
4459 (build-system gnu-build-system)
4461 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4462 (arguments netsurf-buildsystem-arguments)
4463 (home-page "http://www.netsurf-browser.org/")
4464 (synopsis "Library to generate a static Public Suffix List")
4466 "Libnspsl is a library to generate a static code representation of the
4467 Public Suffix List. It is developed as part of the NetSurf project.")
4470 (define-public nsgenbind
4477 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4478 name "-" version "-src.tar.gz"))
4481 "0v1cb1rz5fix9ql31nzmglj7sybya6d12b2fkaypm1avcca59xwj"))))
4482 (build-system gnu-build-system)
4484 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4488 (substitute-keyword-arguments netsurf-buildsystem-arguments
4489 ((#:make-flags flags)
4490 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4491 (home-page "http://www.netsurf-browser.org/")
4492 (synopsis "Generate JavaScript to DOM bindings")
4494 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4495 w3c webidl files and a binding configuration file.")
4498 (define-public netsurf
4505 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4506 "releases/source/netsurf-" version "-src.tar.gz"))
4509 "0hjm1h4m1i913y4mhkl7yqdifn8k70fwi58zdh6faypawzryc3m0"))
4510 (patches (search-patches "netsurf-system-utf8proc.patch"
4511 "netsurf-y2038-tests.patch"
4512 "netsurf-longer-test-timeout.patch"
4513 "netsurf-message-timestamp.patch"))))
4514 (build-system glib-or-gtk-build-system)
4516 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4517 ("nsgenbind" ,nsgenbind)
4518 ("libidn" ,libidn) ;only for tests
4521 ("perl-html-parser" ,perl-html-parser)
4522 ("pkg-config" ,pkg-config)))
4526 ("openssl" ,openssl)
4527 ("utf8proc" ,utf8proc)
4529 ("libjpeg" ,libjpeg)
4532 ("libnsbmp" ,libnsbmp)
4533 ("libnsgif" ,libnsgif)
4534 ("libnspsl" ,libnspsl)
4535 ("libnsutils" ,libnsutils)
4536 ("libsvgtiny" ,libsvgtiny)
4537 ("miscfiles" ,miscfiles)))
4539 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4540 ,(string-append "PREFIX=" %output)
4541 ,(string-append "NSSHARED="
4542 (assoc-ref %build-inputs
4543 "netsurf-buildsystem")
4544 "/share/netsurf-buildsystem"))
4545 #:test-target "test"
4546 #:modules ((ice-9 rdelim)
4550 ,@%glib-or-gtk-build-system-modules)
4552 (modify-phases %standard-phases
4554 (add-after 'build 'adjust-welcome
4556 ;; First, fix some unended tags and simple substitutions
4557 (substitute* "frontends/gtk/res/welcome.html"
4558 (("<(img|input)([^>]*)>" _ tag contents)
4559 (string-append "<" tag contents " />"))
4560 (("Licence") "License") ;prefer GNU spelling
4561 ((" open source") ", free software")
4562 (("web site") "website")
4563 ;; Prefer privacy-respecting default search engine
4564 (("www.google.co.uk") "www.duckduckgo.com/html")
4565 (("Google Search") "DuckDuckGo Search")
4566 (("name=\"btnG\"") ""))
4567 ;; Remove default links so it doesn't seem we're endorsing them
4568 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4570 ;; Leave the DOCTYPE header as is
4571 (display (read-line in 'concat) out)
4573 (let rec ((sxml (xml->sxml in)))
4574 ;; We'd like to use sxml-match here, but it can't
4575 ;; match against generic tag symbols...
4577 (`(div (@ (class "links")) . ,rest)
4584 (add-before 'check 'patch-check
4585 (lambda* (#:key inputs #:allow-other-keys)
4586 (substitute* '("test/bloom.c" "test/hashtable.c")
4587 (("/usr/share/dict/words")
4588 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4590 (add-after 'install 'install-more
4591 (lambda* (#:key outputs #:allow-other-keys)
4592 (let* ((out (assoc-ref outputs "out"))
4593 (desktop (string-append out "/share/applications/"
4594 "netsurf.desktop")))
4595 (mkdir-p (dirname desktop))
4596 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4598 (substitute* desktop
4599 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk"))
4600 (("netsurf.png") (string-append out "/share/netsurf/"
4602 (install-file "docs/netsurf-gtk.1"
4603 (string-append out "/share/man/man1/"))
4605 (home-page "http://www.netsurf-browser.org")
4606 (synopsis "Web browser")
4608 "NetSurf is a lightweight web browser that has its own layout and
4609 rendering engine entirely written from scratch. It is small and capable of
4610 handling many of the web standards in use today.")
4613 (define-public surfraw
4619 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4620 name "-" version ".tar.gz"))
4623 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4624 (build-system gnu-build-system)
4627 (modify-phases %standard-phases
4628 (add-before 'configure 'patch-perl
4629 (lambda* (#:key inputs #:allow-other-keys)
4630 (let ((perl (assoc-ref inputs "perl")))
4631 (substitute* "surfraw.IN"
4633 (string-append perl "/bin/perl -e")))
4635 (add-after 'install 'compress-elvi.1sr
4636 (lambda* (#:key outputs #:allow-other-keys)
4637 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4638 ;; but elvi.1sr does not get compressed by our manpage phase.
4639 (let* ((out (assoc-ref %outputs "out"))
4640 (man (string-append out "/share/man/man1")))
4641 (with-directory-excursion man
4642 (invoke "gzip" "elvi.1sr"))))))))
4645 ("perl-www-opensearch" ,perl-www-opensearch)
4646 ("perl-html-parser" ,perl-html-parser)
4647 ("perl-libwww" ,perl-libwww)))
4648 (synopsis "Unix command line interface to the www")
4649 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4650 provides a unix command line interface to a variety of popular www search engines
4651 and similar services.")
4652 (home-page "https://surfraw.alioth.debian.org/")
4653 (license l:public-domain)))
4655 (define-public darkhttpd
4662 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4663 version ".tar.bz2"))
4666 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4667 (build-system gnu-build-system)
4669 `(#:make-flags '("CC=gcc")
4670 #:tests? #f ; No test suite
4672 (modify-phases %standard-phases
4675 (lambda* (#:key outputs #:allow-other-keys)
4676 (install-file "darkhttpd"
4677 (string-append (assoc-ref outputs "out")
4680 (synopsis "Simple static web server")
4681 (description "darkhttpd is a simple static web server. It is
4682 standalone and does not need inetd or ucspi-tcp. It does not need any
4683 config files---you only have to specify the www root.")
4684 (home-page "https://unix4lyfe.org/darkhttpd/")
4687 (define-public goaccess
4693 (uri (string-append "http://tar.goaccess.io/goaccess-"
4697 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4698 (modules '((guix build utils)))
4700 (substitute* "src/error.h"
4701 (("__DATE__") "\"1970-01-01\"")
4702 (("__TIME__") "\"00:00:00\""))
4704 (build-system gnu-build-system)
4706 ;; TODO: Add dependency on geoip-tools.
4708 ("ncurses" ,ncurses)))
4710 `(("pkg-config" ,pkg-config)))
4711 (home-page "https://goaccess.io")
4712 (synopsis "Analyze Web server logs in real time")
4714 "GoAccess is a real-time web log analyzer and interactive viewer that
4715 runs in a terminal or through your browser. It provides fast and valuable
4716 HTTP statistics for system administrators that require a visual server report
4720 (define-public httptunnel
4727 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4728 name "-" version ".tar.gz"))
4731 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4732 (modules '((guix build utils)))
4734 ;; Remove non-free IETF RFC documentation.
4735 (delete-file-recursively "doc")
4737 (build-system gnu-build-system)
4740 (modify-phases %standard-phases
4741 ;; The default configure phase tries to pass environment variables as
4742 ;; command-line arguments, which confuses the ./configure script.
4744 (lambda* (#:key outputs #:allow-other-keys)
4745 (let* ((out (assoc-ref outputs "out")))
4746 (setenv "CONFIG_SHELL" (which "bash"))
4747 (invoke "./configure"
4748 (string-append "--prefix=" out))))))))
4749 (home-page "http://www.nocrew.org/software/httptunnel.html")
4750 (synopsis "Tunnel data connections through HTTP requests")
4751 (description "httptunnel creates a bidirectional virtual data connection
4752 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4753 useful for users behind restrictive firewalls. As long as Web traffic is
4754 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4755 tools like SSH (Secure Shell) to reach the outside world.")
4758 (define-public stunnel
4765 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4768 (base32 "0j811iakljjxw39qchmqf235jdkwixb0i4xxjyi55f08558947cm"))))
4769 (build-system gnu-build-system)
4772 `(("iproute" ,iproute)
4774 ("procps" ,procps)))
4775 (inputs `(("openssl" ,openssl)))
4778 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
4780 (modify-phases %standard-phases
4781 (add-after 'unpack 'patch-output-directories
4783 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
4784 (substitute* (list "Makefile.in"
4786 "tools/Makefile.in")
4788 (string-append "/doc/" ,name "-" ,version)))
4790 (add-before 'check 'patch-tests
4792 (substitute* "tests/make_test"
4794 (string-append (which "sh") " ")))
4796 (home-page "https://www.stunnel.org")
4797 (synopsis "TLS proxy for clients or servers")
4798 (description "Stunnel is a proxy designed to add TLS encryption
4799 functionality to existing clients and servers without any changes in the
4800 programs' code. Its architecture is optimized for security, portability, and
4801 scalability (including load-balancing), making it suitable for large
4805 (define-public varnish
4808 (home-page "https://varnish-cache.org/")
4812 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
4815 "0lwfk2gq99c653h5f51fs3j37r0gh2pf0p4w5z986nm2mi9z6yn3"))))
4816 (build-system gnu-build-system)
4818 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
4819 ;; Use absolute path of GCC so it's found at runtime.
4820 (string-append "PTHREAD_CC="
4821 (assoc-ref %build-inputs "gcc")
4823 "--localstatedir=/var")
4825 (modify-phases %standard-phases
4826 (add-after 'unpack 'use-absolute-file-names
4828 (substitute* '("bin/varnishtest/vtc_varnish.c"
4829 "bin/varnishtest/vtc_process.c"
4830 "bin/varnishd/mgt/mgt_vcc.c")
4831 (("/bin/sh") (which "sh")))
4832 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
4833 (("rm -rf") (string-append (which "rm") " -rf")))
4834 (substitute* "bin/varnishtest/vtc_main.c"
4835 (("/bin/rm") (which "rm")))
4837 (add-before 'install 'patch-Makefile
4839 (substitute* "Makefile"
4840 ;; Do not create /var/varnish during install.
4841 (("^install-data-am: install-data-local") "install-data-am: "))
4843 (add-after 'install 'wrap-varnishd
4844 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
4845 ;; environment variables to avoid propagating them to profiles.
4846 (lambda* (#:key inputs outputs #:allow-other-keys)
4847 (let* ((out (assoc-ref outputs "out"))
4848 (varnishd (string-append out "/sbin/varnishd"))
4849 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
4850 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
4851 (wrap-program varnishd
4852 ;; Add binutils to PATH so gcc finds the 'as' executable.
4853 `("PATH" ":" prefix (,PATH))
4854 ;; Make sure 'crti.o' et.al is found.
4855 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
4858 `(("pkg-config" ,pkg-config)
4859 ("python-sphinx" ,python-sphinx)
4860 ("rst2man" ,python-docutils)))
4862 `(("jemalloc" ,jemalloc)
4863 ("ncurses" ,ncurses)
4865 ("python" ,python-wrapper)
4866 ("readline" ,readline)))
4867 (synopsis "Web application accelerator")
4869 "Varnish is a high-performance HTTP accelerator. It acts as a caching
4870 reverse proxy and load balancer. You install it in front of any server that
4871 speaks HTTP and configure it to cache the contents through an extensive
4872 configuration language.")
4873 (license (list l:bsd-2 ;main distribution
4874 l:zlib ;lib/libvgz/*
4875 l:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
4876 l:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
4878 (define-public varnish-modules
4880 (name "varnish-modules")
4881 (home-page "https://github.com/varnish/varnish-modules")
4885 (uri (string-append "https://download.varnish-software.com"
4886 "/varnish-modules/varnish-modules-"
4890 "09li9lqa1kb275w1rby2zldyg8r9cfcl4qyv53qyd9xbzilrz751"))))
4891 (build-system gnu-build-system)
4893 `(("pkg-config" ,pkg-config)))
4895 `(("python" ,python)
4896 ("varnish" ,varnish)))
4897 (synopsis "Collection of Varnish modules")
4899 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
4900 cache server, extending the @dfn{Varnish Configuration Language} (VCL) with
4901 additional capabilities.")
4904 (define-public xinetd
4912 (url "https://github.com/xinetd-org/xinetd.git")
4913 (commit (string-append "xinetd-"
4914 (string-join (string-split version #\.)
4916 (file-name (git-file-name name version))
4917 (patches (search-patches "xinetd-CVE-2013-4342.patch"
4918 "xinetd-fix-fd-leak.patch"))
4920 (base32 "0wjai6qagcgxpa1khh639ih7kswgkryc7ll1i4hxhs29sc7irdcn"))))
4921 (build-system gnu-build-system)
4923 `(#:configure-flags '("--with-loadavg")
4924 #:tests? #f)) ; no tests
4925 (home-page "https://github.com/xinetd-org/xinetd")
4926 (synopsis "Internet services daemon")
4927 (description "@code{xinetd}, a more secure replacement for @code{inetd},
4928 listens for incoming requests over a network and launches the appropriate
4929 service for that request. Requests are made using port numbers as identifiers
4930 and xinetd usually launches another daemon to handle the request. It can be
4931 used to start services with both privileged and non-privileged port numbers.")
4932 (license (l:fsf-free "file://COPYRIGHT"))))
4934 (define-public tidy-html
4941 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
4943 (file-name (string-append name "-" version ".tar.gz"))
4946 "0n29wcgw32rhnraj9j21ibhwi0xagmmcskhbaz8ihxly7nx3p9h8"))))
4947 (build-system cmake-build-system)
4949 "static")) ; 1.0MiB of .a files
4951 `(#:tests? #f ; no tests available
4952 #:build-type "Release"
4954 (modify-phases %standard-phases
4955 (add-after 'install 'move-static-libraries
4956 (lambda* (#:key outputs #:allow-other-keys)
4957 ;; Move static libraries to the "static" output.
4958 (let* ((out (assoc-ref outputs "out"))
4959 (lib (string-append out "/lib"))
4960 (static (assoc-ref outputs "static"))
4961 (slib (string-append static "/lib")))
4963 (for-each (lambda (file)
4964 (install-file file slib)
4966 (find-files lib "\\.a$"))
4969 `(("libxslt" ,libxslt)))
4970 (home-page "http://www.html-tidy.org/")
4971 (synopsis "HTML Tidy with HTML5 support")
4973 "Tidy is a console application which corrects and cleans up
4974 HTML and XML documents by fixing markup errors and upgrading
4975 legacy code to modern standards.
4977 Tidy also provides @code{libtidy}, a C static and dynamic library that
4978 developers can integrate into their applications to make use of the
4979 functions of Tidy.")
4982 (define-public hiawatha
4989 (uri (string-append "https://www.hiawatha-webserver.org/files/"
4990 "hiawatha-" version ".tar.gz"))
4991 (modules '((guix build utils)))
4993 ;; We use packaged libraries, so delete the bundled copies.
4994 (for-each delete-file-recursively
4995 (list "extra/nghttp2.tgz" "mbedtls"))
4998 (base32 "1f2j2x1ziawz8ijg3s3izqpyzpiwfyhlsvbv0szxvhvj4a0l7pbl"))))
4999 (build-system cmake-build-system)
5001 `(#:tests? #f ; no tests included
5002 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5003 (string-append "-DENABLE_HTTP2=on")
5004 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
5005 (string-append "-DENABLE_TOMAHAWK=on")
5006 (string-append "-DLOG_DIR=/var/log/hiawatha")
5007 (string-append "-DPID_DIR=/run")
5008 (string-append "-DWEBROOT_DIR="
5009 (assoc-ref %outputs "out")
5010 "/share/hiawatha/html")
5011 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
5013 (modify-phases %standard-phases
5014 (add-after 'unpack 'install-no-empty-directories
5016 (substitute* "CMakeLists.txt"
5017 (("install\\(DIRECTORY DESTINATION" match)
5018 (string-append "#" match)))
5020 (add-after 'install 'wrap
5021 (lambda* (#:key inputs outputs #:allow-other-keys)
5022 ;; Make sure 'hiawatha' finds 'mbedtls'.
5023 (let* ((out (assoc-ref outputs "out"))
5024 (sbin (string-append out "/sbin"))
5025 (mbed (assoc-ref inputs "mbedtls-apache")))
5026 (wrap-program (string-append sbin "/hiawatha")
5027 `("PATH" ":" prefix (,mbed)))))))))
5029 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
5030 `(("libxslt" ,libxslt)
5031 ("libxml2" ,libxml2)
5032 ("mbedtls-apache" ,mbedtls-for-hiawatha)
5033 ("nghttp2" ,nghttp2 "lib")
5035 (home-page "https://www.hiawatha-webserver.org")
5036 (synopsis "Webserver with focus on security")
5038 "Hiawatha has been written with security in mind.
5039 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5043 (define-public python-httpbin
5045 (name "python-httpbin")
5050 (uri (pypi-uri "httpbin" version))
5053 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5054 (build-system python-build-system)
5056 `(("python-decorator" ,python-decorator)
5057 ("python-flask" ,python-flask)
5058 ("python-itsdangerous" ,python-itsdangerous)
5059 ("python-markupsafe" ,python-markupsafe)
5060 ("python-six" ,python-six)))
5061 (home-page "https://github.com/Runscope/httpbin")
5062 (synopsis "HTTP request and response service")
5063 (description "Testing an HTTP Library can become difficult sometimes.
5064 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5065 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5069 (define-public python2-httpbin
5070 (package-with-python2 python-httpbin))
5072 (define-public python-pytest-httpbin
5074 (name "python-pytest-httpbin")
5079 (uri (pypi-uri "pytest-httpbin" version))
5082 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5083 (build-system python-build-system)
5085 `(("python-six" ,python-six)
5086 ("python-httpbin" ,python-httpbin)
5087 ("python-pytest" ,python-pytest)))
5089 "https://github.com/kevin1024/pytest-httpbin")
5091 "Test your HTTP library against a local copy of httpbin")
5093 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5094 into your tests. It automatically starts up a HTTP server in a separate thread running
5095 @code{httpbin} and provides your test with the URL in the fixture.")
5098 (define-public python2-pytest-httpbin
5099 (package-with-python2 python-pytest-httpbin))
5101 (define-public http-parser
5103 (name "http-parser")
5105 (home-page "https://github.com/nodejs/http-parser")
5108 (uri (git-reference (url home-page)
5109 (commit (string-append "v" version))))
5110 (file-name (git-file-name name version))
5113 "1qa3rh9x4as2fc2p0y2hah83iqs7jr5106a8anv317359dgf3ssj"))))
5114 (build-system gnu-build-system)
5116 `(#:test-target "test"
5118 (list (string-append "PREFIX="
5119 (assoc-ref %outputs "out"))
5122 (modify-phases %standard-phases
5123 (delete 'configure))))
5124 (synopsis "HTTP request/response parser for C")
5125 (description "This is a parser for HTTP messages written in C. It parses
5126 both requests and responses. The parser is designed to be used in
5127 high-performance HTTP applications. It does not make any syscalls nor
5128 allocations, it does not buffer data, it can be interrupted at anytime.
5129 Depending on your architecture, it only requires about 40 bytes of data per
5130 message stream (in a web server that is per connection).")
5133 (define-public python2-httpretty
5135 (name "python2-httpretty")
5140 (uri (pypi-uri "httpretty" version))
5143 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
5144 (build-system python-build-system)
5146 `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
5147 ("python-sphinx" ,python2-sphinx)
5148 ("python-coverage" ,python2-coverage)
5149 ("python-tornado" ,python2-tornado)
5150 ("python-urllib3" ,python2-urllib3)
5151 ("python-sure" ,python2-sure)
5152 ("python-steadymark" ,python2-steadymark)
5153 ("python-requests" ,python2-requests)
5154 ("python-rednose" ,python2-rednose)
5155 ("python-nose-randomly" ,python2-nose-randomly)
5156 ("python-misaka" ,python2-misaka)
5157 ("python-pytest-httpbin" ,python2-pytest-httpbin)
5158 ("python-nose" ,python2-nose)))
5161 ;; Requires mock>=1.3.0 which requires a more up-to-date
5162 ;; python-pbr. After updating these trying to build the
5163 ;; package leads to failures in python-flake8 and other
5164 ;; packages. The cascade of updates and failures this
5165 ;; leads to, seems to not be worth having the test run.
5168 (modify-phases %standard-phases
5169 (add-before 'build 'patch-test-requirements
5170 (lambda* (#:key inputs #:allow-other-keys)
5171 ;; Update requirements from dependecy==version
5172 ;; to dependency>=version
5173 (substitute* "development.txt"
5176 (home-page "http://github.com/gabrielfalcao/httpretty")
5177 (synopsis "HTTP client mock for Python")
5178 (description "@code{httpretty} is a helper for faking web requests,
5179 inspired by Ruby's @code{fakeweb}.")
5189 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
5190 version "/jo-" version ".tar.gz"))
5193 "1bmdck53jslrl3anqqpm6iyjdxrz445qzcc4fr37hr3wjg22zv1n"))))
5194 (build-system gnu-build-system)
5195 (home-page "https://github.com/jpmens/jo")
5196 (synopsis "Output JSON from a shell")
5197 (description "jo is a command-line utility to create JSON objects or
5198 arrays. It creates a JSON string on stdout from words provided as
5199 command-line arguments or read from stdin.")
5200 (license (list l:gpl2+
5201 l:expat)))) ; json.c, json.h
5203 (define-public python-internetarchive
5205 (name "python-internetarchive")
5210 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
5211 "v" version ".tar.gz"))
5212 (file-name (string-append name "-" version ".tar.gz"))
5215 "0sdbb2ag6vmybi8zmbjszi492a587giaaqxyy1p6gy03cb8mc512"))))
5216 (build-system python-build-system)
5219 (modify-phases %standard-phases
5221 (add-after 'install 'check
5222 (lambda* (#:key inputs outputs #:allow-other-keys)
5223 (add-installed-pythonpath inputs outputs)
5224 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
5225 ":" (getenv "PATH")))
5226 (invoke "py.test" "-v" "-k"
5228 ;; These tests attempt to make a connection to
5229 ;; an external web service.
5230 "not test_get_item_with_kwargs"
5231 " and not test_ia")))))))
5233 `(("python-requests" ,python-requests)
5234 ("python-jsonpatch" ,python-jsonpatch-0.4)
5235 ("python-docopt" ,python-docopt)
5236 ("python-clint" ,python-clint)
5237 ("python-six" ,python-six)
5238 ("python-schema" ,python-schema-0.5)
5239 ("python-backports-csv" ,python-backports-csv)))
5241 `(("python-pytest" ,python-pytest)
5242 ("python-pytest-capturelog" ,python-pytest-capturelog)
5243 ("python-responses" ,python-responses)))
5244 (home-page "https://github.com/jjjake/internetarchive")
5245 (synopsis "Command-line interface to archive.org")
5246 (description "@code{ia} is a command-line tool for using
5247 @url{archive.org} from the command-line. It also emplements the
5248 internetarchive python module for programatic access to archive.org.")
5250 `((python2-variant . ,(delay python2-internetarchive))))
5251 (license l:agpl3+)))
5253 (define-public python2-internetarchive
5254 (package-with-python2
5255 (strip-python2-variant python-internetarchive)))
5257 (define-public python-clf
5258 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
5265 (uri (pypi-uri "clf" version))
5268 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
5269 (build-system python-build-system)
5271 `(("python-docopt" ,python-docopt)
5272 ("python-pygments" ,python-pygments)
5273 ("python-requests" ,python-requests)
5274 ("python-nose" ,python-nose)
5275 ("python-lxml" ,python-lxml)
5276 ("python-pyaml" ,python-pyaml)))
5281 (uri (string-append "https://raw.githubusercontent.com"
5282 "/ncrocfer/clf/" commit-test-clf
5286 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
5289 (modify-phases %standard-phases
5290 (add-after 'unpack 'get-tests
5292 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
5297 ;; These tests require an Internet connection.
5298 "--exclude=test_browse"
5299 "--exclude=test_command"
5300 "--exclude=test_search"))))))
5301 (home-page "https://github.com/ncrocfer/clf")
5302 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
5303 (description "@code{clf} is a command line tool for searching code
5304 snippets on @url{https://commandlinefu.com}.")
5305 (license l:expat))))
5307 (define-public python2-clf
5308 (package-with-python2 python-clf))
5310 (define-public rss-bridge
5313 (version "2019-01-13")
5318 (url "https://github.com/RSS-Bridge/rss-bridge")
5320 (file-name (git-file-name name version))
5323 "1m0dq491954f0d7k4508ddlywk09whcz9j21rc4yk3lbwpf0nd4c"))))
5324 (build-system trivial-build-system)
5326 '(#:modules ((guix build utils))
5329 (use-modules (guix build utils)
5331 (let* ((out (assoc-ref %outputs "out"))
5332 (share-rss-bridge (string-append out "/share/rss-bridge")))
5333 (mkdir-p share-rss-bridge)
5334 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
5336 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5337 (synopsis "Generate Atom feeds for social networking websites")
5338 (description "rss-bridge generates Atom feeds for social networking
5339 websites lacking feeds. Supported websites include Facebook, Twitter,
5340 Instagram and YouTube.")
5341 (license (list l:public-domain
5342 l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php
5344 (define-public linkchecker
5346 (name "linkchecker")
5352 (url "https://github.com/linkchecker/linkchecker")
5353 (commit (string-append "v" version))))
5356 "linkchecker-mark-more-tests-that-require-the-network.patch"))
5357 (file-name (git-file-name name version))
5360 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
5361 (build-system python-build-system)
5363 `(("python2-dnspython" ,python2-dnspython)
5364 ("python2-pyxdg" ,python2-pyxdg)
5365 ("python2-requests" ,python2-requests)))
5367 `(("gettext" ,gettext-minimal)
5368 ("python2-pytest" ,python2-pytest)
5369 ("python2-miniboa" ,python2-miniboa)
5370 ("python2-parameterized" ,python2-parameterized)))
5372 `(#:python ,python-2
5374 (modify-phases %standard-phases
5375 ;; Move the 'check phase to after 'install, so that the installed
5376 ;; library can be used
5378 (add-after 'install 'check
5379 (lambda* (#:key outputs #:allow-other-keys)
5380 (let ((out (assoc-ref outputs "out")))
5381 ;; Set PYTHONPATH so that the installed linkchecker is used
5382 (setenv "PYTHONPATH"
5383 (string-append out "/lib/python2.7/site-packages"
5385 (getenv "PYTHONPATH")))
5386 ;; Remove this directory to avoid it being used when running
5388 (delete-file-recursively "linkcheck")
5390 (invoke "py.test" "tests"))
5392 (home-page "https://linkcheck.github.io/linkchecker")
5393 (synopsis "Check websites for broken links")
5394 (description "LinkChecker is a website validator. It checks for broken
5395 links in websites. It is recursive and multithreaded providing output in
5396 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
5397 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
5399 (license (list l:gpl2+
5400 l:bsd-2 ; linkcheck/better_exchook2.py
5401 l:bsd-3 ; linkcheck/colorama.py
5402 l:psfl ; linkcheck/gzip2.py
5403 l:expat)))) ; linkcheck/mem.py
5405 (define-public cadaver
5412 (uri (string-append "http://www.webdav.org/cadaver/"
5413 name "-" version ".tar.gz"))
5416 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
5417 (build-system gnu-build-system)
5418 ;; TODO: Unbundle libneon and make build succeed with new neon.
5420 `(#:configure-flags (list "--with-ssl=openssl")
5421 #:tests? #f)) ;No tests included
5423 `(("gettext" ,gnu-gettext)
5424 ("pkg-config" ,pkg-config)
5425 ("intltool" ,intltool)))
5428 ("openssl" ,openssl)))
5429 (home-page "http://www.webdav.org/cadaver")
5430 (synopsis "Command-line WebDAV client")
5432 "Cadaver is a command-line WebDAV client for Unix. It supports
5433 file upload, download, on-screen display, namespace operations (move/copy),
5434 collection creation and deletion, and locking operations.")
5437 (define-public python-py-ubjson
5439 (name "python-py-ubjson")
5444 (uri (pypi-uri "py-ubjson" version))
5447 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
5448 (build-system python-build-system)
5449 (home-page "https://github.com/Iotic-Labs/py-ubjson")
5450 (synopsis "Universal Binary JSON encoder/decoder")
5452 "Py-ubjson is a Python module providing an Universal Binary JSON
5453 encoder/decoder based on the draft-12 specification for UBJSON.")
5454 (license l:asl2.0)))
5456 (define-public java-tomcat
5458 (name "java-tomcat")
5462 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
5463 version "/src/apache-tomcat-" version "-src.tar.gz"))
5466 "13pbsyk39g1qph82nngp54mqycmg60rxlxwy4yszsssahrqnggb2"))
5467 (modules '((guix build utils)))
5468 ;; Delete bundled jars.
5471 (for-each delete-file (find-files "." "\\.jar$"))
5473 (build-system ant-build-system)
5475 `(("java-eclipse-jdt-core" ,java-eclipse-jdt-core)))
5477 `(("java-junit" ,java-junit)))
5479 `(#:build-target "package"
5480 #:tests? #f; requires downloading some files.
5482 (modify-phases %standard-phases
5483 (add-after 'unpack 'prevent-download
5485 ;; This directory must exist
5487 ;; We patch build.xml so it doesn't download any dependency, because
5488 ;; we already have all of them.
5489 (substitute* "build.xml"
5490 (("download-compile,") "")
5491 (("depends=\"validate\"") "depends=\"build-prepare\"")
5492 ((",download-validate") ""))
5494 (add-after 'unpack 'strip-timestamps
5496 (substitute* "build.xml"
5497 (("<filter token=\"YEAR\" value=.*")
5498 "<filter token=\"YEAR\" value=\"1970\"/>")
5499 (("<filter token=\"VERSION_BUILT\" value=.*")
5500 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
5502 (add-after 'unpack 'generate-properties
5504 ;; This could have been passed to make-flags, but getcwd returns
5505 ;; a different directory then.
5506 (with-output-to-file "build.properties"
5509 (string-append "base.path=" (getcwd) "/downloads\n"))))
5512 (install-jars "output/build/lib")))))
5513 (home-page "https://tomcat.apache.org")
5514 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
5516 (description "Apache Tomcat is a free implementation of the Java
5517 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
5519 (license l:asl2.0)))
5521 (define-public java-eclipse-jetty-test-helper
5523 (name "java-eclipse-jetty-test-helper")
5527 (uri (string-append "https://github.com/eclipse/jetty.toolchain/"
5528 "archive/jetty-test-helper-" version ".tar.gz"))
5531 "1jd6r9wc26fa11si4rn2gvy8ml8q4zw1nr6v04mjp8wvwpgvzwx5"))))
5532 (build-system ant-build-system)
5534 `(#:jar-name "eclipse-jetty-test-helper.jar"
5535 #:source-dir "src/main/java"
5536 #:test-dir "src/test"
5539 (modify-phases %standard-phases
5540 (add-before 'configure 'chdir
5542 (chdir "jetty-test-helper")
5544 (add-before 'build 'fix-paths
5547 ;; This file assumes that the build directory is named "target"
5548 ;; but it is not the case with our ant-build-system. Once we have
5549 ;; maven though, we will have to rebuild this package because this
5550 ;; assumption is correct with maven-build-system.
5552 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
5553 (("\"target\"") "\"build\"")
5554 (("\"tests\"") "\"test-classes\""))
5555 ;; Tests assume we are building with maven, so that the build
5556 ;; directory is named "target", and not "build".
5557 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
5558 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
5559 "MavenTestingUtilsTest.java")
5560 (("target/tests") "build/test-classes")
5561 (("\"target") "\"build")))
5564 `(("junit" ,java-junit)
5565 ("hamcrest" ,java-hamcrest-all)))
5566 (home-page "https://www.eclipse.org/jetty/")
5567 (synopsis "Helper classes for jetty tests")
5568 (description "This packages contains helper classes for testing the Jetty
5570 ;; This program is licensed under both epl and asl.
5571 (license (list l:epl1.0 l:asl2.0))))
5573 (define-public java-eclipse-jetty-perf-helper
5575 (inherit java-eclipse-jetty-test-helper)
5576 (name "java-eclipse-jetty-perf-helper")
5578 `(#:jar-name "eclipse-jetty-perf-helper.jar"
5579 #:source-dir "src/main/java"
5580 #:tests? #f; no tests
5583 (modify-phases %standard-phases
5584 (add-before 'configure 'chdir
5586 (chdir "jetty-perf-helper")
5589 `(("hdrhistogram" ,java-hdrhistogram)))))
5591 (define-public java-eclipse-jetty-util
5593 (name "java-eclipse-jetty-util")
5597 (uri (string-append "https://github.com/eclipse/jetty.project/"
5598 "archive/jetty-" version ".v20170531.tar.gz"))
5601 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
5602 (build-system ant-build-system)
5604 `(#:jar-name "eclipse-jetty-util.jar"
5605 #:source-dir "src/main/java"
5607 (list "**/Abstract*.java"
5609 "**/InetAddressSetTest.java"
5610 ;; Assumes we are using maven
5611 "**/TypeUtilTest.java"
5612 ;; Error on the style of log
5613 "**/StdErrLogTest.java")
5616 (modify-phases %standard-phases
5617 (add-before 'configure 'chdir
5619 (chdir "jetty-util")
5622 `(("slf4j" ,java-slf4j-api)
5623 ("servlet" ,java-tomcat)))
5625 `(("junit" ,java-junit)
5626 ("hamcrest" ,java-hamcrest-all)
5627 ("perf-helper" ,java-eclipse-jetty-perf-helper)
5628 ("test-helper" ,java-eclipse-jetty-test-helper)))
5629 (home-page "https://www.eclipse.org/jetty/")
5630 (synopsis "Utility classes for Jetty")
5631 (description "The Jetty Web Server provides an HTTP server and Servlet
5632 container capable of serving static and dynamic content either from a standalone
5633 or embedded instantiation. This package provides utility classes.")
5634 (license (list l:epl1.0 l:asl2.0))))
5636 ;; This version is required by maven-wagon
5637 (define-public java-eclipse-jetty-util-9.2
5639 (inherit java-eclipse-jetty-util)
5643 (uri (string-append "https://github.com/eclipse/jetty.project/"
5644 "archive/jetty-" version ".v20170606.tar.gz"))
5647 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
5649 `(#:jar-name "eclipse-jetty-util.jar"
5650 #:source-dir "src/main/java"
5653 (list "**/Abstract*.java"
5655 "**/InetAddressSetTest.java"
5656 ;; Assumes we are using maven
5657 "**/TypeUtilTest.java"
5658 ;; We don't have an implementation for slf4j
5660 ;; Error on the style of log
5661 "**/StdErrLogTest.java")
5663 (modify-phases %standard-phases
5664 (add-before 'configure 'chdir
5666 (chdir "jetty-util")
5668 (add-before 'build 'fix-test-sources
5670 ;; We need to fix issues caused by changes in newer versions of
5671 ;; jetty-test-helper
5672 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
5673 (substitute* (string-append src "/AbstractFSResourceTest.java")
5674 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
5675 (("testdir.getFile\\(\"foo\"\\)")
5676 "testdir.getPathFile(\"foo\").toFile()")
5677 (("testdir.getFile\\(name\\)")
5678 "testdir.getPathFile(name).toFile()")))
5681 (define-public java-eclipse-jetty-io
5683 (inherit java-eclipse-jetty-util)
5684 (name "java-eclipse-jetty-io")
5686 `(#:jar-name "eclipse-jetty-io.jar"
5687 #:source-dir "src/main/java"
5689 #:test-exclude (list "**/Abstract*.java"
5691 "**/EndPointTest.java")
5693 (modify-phases %standard-phases
5694 (add-before 'configure 'chdir
5699 `(("slf4j" ,java-slf4j-api)
5700 ("servlet" ,java-javaee-servletapi)
5701 ("util" ,java-eclipse-jetty-util)))
5702 (synopsis "Jetty :: IO Utility")
5703 (description "The Jetty Web Server provides an HTTP server and Servlet
5704 container capable of serving static and dynamic content either from a standalone
5705 or embedded instantiation. This package provides IO-related utility classes.")))
5707 (define-public java-eclipse-jetty-io-9.2
5709 (inherit java-eclipse-jetty-io)
5710 (version (package-version java-eclipse-jetty-util-9.2))
5711 (source (package-source java-eclipse-jetty-util-9.2))
5713 `(("util" ,java-eclipse-jetty-util-9.2)
5714 ,@(package-inputs java-eclipse-jetty-util-9.2)))
5716 `(("mockito" ,java-mockito-1)
5717 ("cglib" ,java-cglib)
5718 ("objenesis" ,java-objenesis)
5720 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
5722 (define-public java-eclipse-jetty-http
5724 (inherit java-eclipse-jetty-util)
5725 (name "java-eclipse-jetty-http")
5727 `(#:jar-name "eclipse-jetty-http.jar"
5728 #:source-dir "src/main/java"
5731 (modify-phases %standard-phases
5732 (add-before 'configure 'chdir
5734 (chdir "jetty-http")
5736 (add-before 'build 'copy-resources
5738 (mkdir-p "build/classes")
5739 (copy-recursively "src/main/resources/" "build/classes/")
5742 `(("slf4j" ,java-slf4j-api)
5743 ("servlet" ,java-javaee-servletapi)
5744 ("io" ,java-eclipse-jetty-io)
5745 ("util" ,java-eclipse-jetty-util)))
5746 (synopsis "Jetty :: Http Utility")
5747 (description "The Jetty Web Server provides an HTTP server and Servlet
5748 container capable of serving static and dynamic content either from a standalone
5749 or embedded instantiation. This package provides HTTP-related utility classes.")))
5751 (define-public java-eclipse-jetty-http-9.2
5753 (inherit java-eclipse-jetty-http)
5754 (version (package-version java-eclipse-jetty-util-9.2))
5755 (source (package-source java-eclipse-jetty-util-9.2))
5757 `(("util" ,java-eclipse-jetty-util-9.2)
5758 ("io" ,java-eclipse-jetty-io-9.2)
5759 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5761 (define-public java-eclipse-jetty-jmx
5763 (inherit java-eclipse-jetty-util)
5764 (name "java-eclipse-jetty-jmx")
5766 `(#:jar-name "eclipse-jetty-jmx.jar"
5767 #:source-dir "src/main/java"
5769 #:tests? #f; FIXME: requires com.openpojo.validation
5771 (modify-phases %standard-phases
5772 (add-before 'configure 'chdir
5777 `(("slf4j" ,java-slf4j-api)
5778 ("servlet" ,java-javaee-servletapi)
5779 ("util" ,java-eclipse-jetty-util)))
5780 (synopsis "Jetty :: JMX Management")
5781 (description "The Jetty Web Server provides an HTTP server and Servlet
5782 container capable of serving static and dynamic content either from a standalone
5783 or embedded instantiation. This package provides the JMX management.")))
5785 (define-public java-eclipse-jetty-jmx-9.2
5787 (inherit java-eclipse-jetty-jmx)
5788 (version (package-version java-eclipse-jetty-util-9.2))
5789 (source (package-source java-eclipse-jetty-util-9.2))
5791 `(("util" ,java-eclipse-jetty-util-9.2)
5792 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5794 (define java-eclipse-jetty-http-test-classes
5796 (inherit java-eclipse-jetty-util)
5797 (name "java-eclipse-jetty-http-test-classes")
5799 `(#:jar-name "eclipse-jetty-http.jar"
5800 #:source-dir "src/test"
5804 (modify-phases %standard-phases
5805 (add-before 'configure 'chdir
5807 (chdir "jetty-http")
5810 `(("slf4j" ,java-slf4j-api)
5811 ("servlet" ,java-tomcat)
5812 ("http" ,java-eclipse-jetty-http)
5813 ("io" ,java-eclipse-jetty-io)
5814 ("util" ,java-eclipse-jetty-util)))))
5816 (define java-eclipse-jetty-http-test-classes-9.2
5818 (inherit java-eclipse-jetty-http-test-classes)
5819 (version (package-version java-eclipse-jetty-util-9.2))
5820 (source (package-source java-eclipse-jetty-util-9.2))
5822 `(("http" ,java-eclipse-jetty-http-9.2)
5823 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
5825 (define-public java-eclipse-jetty-server
5827 (inherit java-eclipse-jetty-util)
5828 (name "java-eclipse-jetty-server")
5830 `(#:jar-name "eclipse-jetty-server.jar"
5831 #:source-dir "src/main/java"
5833 #:tests? #f; requires a mockito version we don't have
5835 (modify-phases %standard-phases
5836 (add-before 'configure 'chdir
5838 (chdir "jetty-server")
5840 (add-before 'build 'fix-source
5842 ;; Explicit casts to prevent build failures
5843 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
5844 (("append\\(LazyList")
5845 "append((CharSequence)LazyList"))
5847 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
5849 "Class<\\? extends EventListener> clazz = _classLoader==null"
5850 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
5851 "_classLoader.loadClass\\(className\\);"))
5852 (string-append "Class<? extends EventListener> clazz = "
5853 "(Class<? extends EventListener>) "
5854 "(_classLoader==null?Loader.loadClass("
5855 "ContextHandler.class,className):"
5856 "_classLoader.loadClass(className));")))
5859 `(("slf4j" ,java-slf4j-api)
5860 ("servlet" ,java-javaee-servletapi)
5861 ("http" ,java-eclipse-jetty-http)
5862 ("io" ,java-eclipse-jetty-io)
5863 ("jmx" ,java-eclipse-jetty-jmx)
5864 ("util" ,java-eclipse-jetty-util)))
5866 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
5867 ,@(package-native-inputs java-eclipse-jetty-util)))
5868 (synopsis "Core jetty server artifact")
5869 (description "The Jetty Web Server provides an HTTP server and Servlet
5870 container capable of serving static and dynamic content either from a standalone
5871 or embedded instantiation. This package provides the core jetty server
5874 (define-public java-eclipse-jetty-server-9.2
5876 (inherit java-eclipse-jetty-server)
5877 (version (package-version java-eclipse-jetty-util-9.2))
5878 (source (package-source java-eclipse-jetty-util-9.2))
5880 `(("util" ,java-eclipse-jetty-util-9.2)
5881 ("jmx" ,java-eclipse-jetty-jmx-9.2)
5882 ("io" ,java-eclipse-jetty-io-9.2)
5883 ("http" ,java-eclipse-jetty-http-9.2)
5884 ,@(package-inputs java-eclipse-jetty-util-9.2)))
5886 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
5887 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
5889 (define-public java-eclipse-jetty-security
5891 (inherit java-eclipse-jetty-util)
5892 (name "java-eclipse-jetty-security")
5894 `(#:jar-name "eclipse-jetty-security.jar"
5895 #:source-dir "src/main/java"
5897 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
5899 (modify-phases %standard-phases
5900 (add-before 'configure 'chdir
5902 (chdir "jetty-security")
5905 `(("slf4j" ,java-slf4j-api)
5906 ("servlet" ,java-tomcat)
5907 ("http" ,java-eclipse-jetty-http)
5908 ("server" ,java-eclipse-jetty-server)
5909 ("util" ,java-eclipse-jetty-util)))
5911 `(("io" ,java-eclipse-jetty-io)
5912 ,@(package-native-inputs java-eclipse-jetty-util)))
5913 (synopsis "Jetty security infrastructure")
5914 (description "The Jetty Web Server provides an HTTP server and Servlet
5915 container capable of serving static and dynamic content either from a standalone
5916 or embedded instantiation. This package provides the core jetty security
5919 (define-public java-eclipse-jetty-security-9.2
5921 (inherit java-eclipse-jetty-security)
5922 (version (package-version java-eclipse-jetty-util-9.2))
5923 (source (package-source java-eclipse-jetty-util-9.2))
5925 `(("util" ,java-eclipse-jetty-util-9.2)
5926 ("http" ,java-eclipse-jetty-http-9.2)
5927 ("server" ,java-eclipse-jetty-server-9.2)
5928 ,@(package-inputs java-eclipse-jetty-util-9.2)))
5930 `(("io" ,java-eclipse-jetty-io-9.2)
5931 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
5933 (define-public java-eclipse-jetty-servlet
5935 (inherit java-eclipse-jetty-util)
5936 (name "java-eclipse-jetty-servlet")
5938 `(#:jar-name "eclipse-jetty-servlet.jar"
5939 #:source-dir "src/main/java"
5942 (modify-phases %standard-phases
5943 (add-before 'configure 'chdir
5945 (chdir "jetty-servlet")
5948 `(("slf4j" ,java-slf4j-api)
5949 ("servlet" ,java-tomcat)
5950 ("http" ,java-eclipse-jetty-http)
5951 ("http-test" ,java-eclipse-jetty-http-test-classes)
5952 ("io" ,java-eclipse-jetty-io)
5953 ("jmx" ,java-eclipse-jetty-jmx)
5954 ("security" ,java-eclipse-jetty-security)
5955 ("server" ,java-eclipse-jetty-server)
5956 ("util" ,java-eclipse-jetty-util)))
5957 (synopsis "Jetty Servlet Container")
5958 (description "The Jetty Web Server provides an HTTP server and Servlet
5959 container capable of serving static and dynamic content either from a standalone
5960 or embedded instantiation. This package provides the core jetty servlet
5963 (define-public java-eclipse-jetty-servlet-9.2
5965 (inherit java-eclipse-jetty-servlet)
5966 (version (package-version java-eclipse-jetty-util-9.2))
5967 (source (package-source java-eclipse-jetty-util-9.2))
5969 `(#:jar-name "eclipse-jetty-servlet.jar"
5970 #:source-dir "src/main/java"
5972 #:tests? #f; doesn't work
5974 (modify-phases %standard-phases
5975 (add-before 'configure 'chdir
5977 (chdir "jetty-servlet")
5980 `(("util" ,java-eclipse-jetty-util-9.2)
5981 ("jmx" ,java-eclipse-jetty-jmx-9.2)
5982 ("io" ,java-eclipse-jetty-io-9.2)
5983 ("http" ,java-eclipse-jetty-http-9.2)
5984 ("security" ,java-eclipse-jetty-security-9.2)
5985 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
5986 ("server" ,java-eclipse-jetty-server-9.2)
5987 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5989 (define-public java-eclipse-jetty-xml
5991 (inherit java-eclipse-jetty-util)
5992 (name "java-eclipse-jetty-xml")
5994 `(#:jar-name "eclipse-jetty-xml.jar"
5995 #:source-dir "src/main/java"
5997 #:tests? #f; most tests require network
5999 (modify-phases %standard-phases
6000 (add-before 'configure 'chdir
6005 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
6007 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6008 ,@(package-native-inputs java-eclipse-jetty-util)))))
6010 (define-public java-eclipse-jetty-xml-9.2
6012 (inherit java-eclipse-jetty-xml)
6013 (version (package-version java-eclipse-jetty-util-9.2))
6014 (source (package-source java-eclipse-jetty-util-9.2))
6016 `(#:jar-name "eclipse-jetty-xml.jar"
6017 #:source-dir "src/main/java"
6019 #:tests? #f; most tests require network
6021 (modify-phases %standard-phases
6022 (add-before 'configure 'chdir
6027 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6028 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6030 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6031 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6033 (define-public java-eclipse-jetty-webapp
6035 (inherit java-eclipse-jetty-util)
6036 (name "java-eclipse-jetty-webapp")
6038 `(#:jar-name "eclipse-jetty-webapp.jar"
6039 #:source-dir "src/main/java"
6042 #:test-exclude (list "**/WebAppContextTest.java")
6044 (modify-phases %standard-phases
6045 (add-before 'configure 'chdir
6047 (chdir "jetty-webapp")
6050 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
6051 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
6052 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
6053 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
6054 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
6055 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
6056 ("java-javaee-servletapi" ,java-javaee-servletapi)))
6058 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6059 ,@(package-native-inputs java-eclipse-jetty-util)))))
6061 (define-public java-eclipse-jetty-webapp-9.2
6063 (inherit java-eclipse-jetty-webapp)
6064 (version (package-version java-eclipse-jetty-util-9.2))
6065 (source (package-source java-eclipse-jetty-util-9.2))
6067 `(#:jar-name "eclipse-jetty-webapp.jar"
6068 #:source-dir "src/main/java"
6070 #:test-exclude (list "**/WebAppContextTest.java")
6072 (modify-phases %standard-phases
6073 (add-before 'configure 'chdir
6075 (chdir "jetty-webapp")
6078 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6079 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
6080 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
6081 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
6082 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
6083 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
6084 ("java-tomcat" ,java-tomcat)
6085 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6087 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6088 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6090 (define-public java-jsoup
6096 (uri (string-append "https://github.com/jhy/jsoup/archive/jsoup-"
6100 "0xbzw7rjv7s4nz1xk9b2cnin6zkpaldmc3svk71waa7hhjgp0a20"))))
6101 (build-system ant-build-system)
6103 `(#:jar-name "jsoup.jar"
6104 #:source-dir "src/main/java"
6106 (modify-phases %standard-phases
6107 (add-before 'build 'copy-resources
6109 (let ((classes-dir (string-append (getcwd) "/build/classes")))
6110 (with-directory-excursion "src/main/java"
6111 (for-each (lambda (file)
6112 (let ((dist (string-append classes-dir "/" file)))
6113 (mkdir-p (dirname dist))
6114 (copy-file file dist)))
6115 (find-files "." ".*.properties"))))
6118 `(("java-junit" ,java-junit)
6119 ("java-hamcrest-core" ,java-hamcrest-core)
6120 ("java-gson" ,java-gson)))
6121 (home-page "https://jsoup.org")
6122 (synopsis "HTML parser")
6123 (description "Jsoup is a Java library for working with real-world HTML. It
6124 provides a very convenient API for extracting and manipulating data, using the
6125 best of DOM, CSS, and jQuery-like methods.")
6128 (define-public tidyp
6135 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
6139 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
6140 (build-system gnu-build-system)
6141 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
6142 (arguments `(#:tests? #f))
6143 (home-page "http://www.tidyp.com/")
6144 (synopsis "Validate HTML")
6145 (description "Tidyp is a program that can validate your HTML, as well as
6146 modify it to be more clean and standard. tidyp does not validate HTML 5.
6148 libtidyp is the library on which the program is based. It can be used by any
6149 other program that can interface to it. The Perl module @code{HTML::Tidy} is
6150 based on this library, allowing Perl programmers to easily validate HTML.")
6151 ;; See htmldoc/license.html
6154 (define-public perl-html-tidy
6156 (name "perl-html-tidy")
6161 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
6165 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
6166 (build-system perl-build-system)
6169 (modify-phases %standard-phases
6170 (add-after 'unpack 'fix-tidyp-paths
6171 (lambda* (#:key inputs #:allow-other-keys)
6172 (substitute* "Makefile.PL"
6173 (("^my \\$inc = \"" line)
6175 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
6178 "-L" (assoc-ref inputs "tidyp") "/lib")))
6181 `(("perl-libwww" ,perl-libwww)
6184 `(("perl-test-exception" ,perl-test-exception)))
6185 (home-page "https://metacpan.org/release/HTML-Tidy")
6186 (synopsis "(X)HTML validation in a Perl object")
6187 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
6188 object. It's meant as a replacement for @code{HTML::Lint}, which is written
6189 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
6190 (license l:artistic2.0)))
6192 (define-public geomyidae
6200 (url "git://r-36.net/geomyidae")
6201 (commit (string-append "v" version))))
6202 (file-name (git-file-name name version))
6204 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
6205 (build-system gnu-build-system)
6207 `(#:make-flags (list "CC=gcc"
6208 (string-append "PREFIX="
6209 (assoc-ref %outputs "out")))
6210 #:tests? #f ; no tests
6211 #:phases (modify-phases %standard-phases
6212 (delete 'configure))))
6213 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
6214 (synopsis "Small Gopher server")
6216 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
6220 @item Gopher menus (see @file{index.gph} for an example);
6221 @item directory listings (if no @file{index.gph} was found);
6222 @item CGI support (@file{.cgi} files are executed);
6223 @item search support in CGI files;
6224 @item logging with multiple log levels.
6228 (define-public cat-avatar-generator
6230 (name "cat-avatar-generator")
6235 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
6236 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
6237 (file-name (string-append name "-" version))
6240 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
6241 (build-system trivial-build-system)
6243 `(#:modules ((guix build utils)
6248 (use-modules (guix build utils)
6251 (let ((source (assoc-ref %build-inputs "source"))
6252 (php-dir (string-append %output "/share/web/" ,name "/")))
6253 ;; The cache directory must not be in the store, but in a writable
6254 ;; location. The webserver will give us this location.
6255 (copy-recursively source php-dir)
6256 (substitute* (string-append php-dir "/cat-avatar-generator.php")
6257 (("\\$cachepath = .*")
6258 "if(isset($_SERVER['CACHE_DIR']))
6259 $cachepath = $_SERVER['CACHE_DIR'];
6261 die('You need to set the CACHE_DIR variable first.');"))
6263 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
6264 (synopsis "Random avatar generator")
6265 (description "Cat avatar generator is a generator of cat pictures optimised
6266 to generate random avatars, or defined avatar from a \"seed\". This is a
6267 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
6268 ;; expat for the code, CC-BY 4.0 for the artwork
6269 (license (list l:expat
6272 (define-public nghttp2
6279 (uri (string-append "https://github.com/nghttp2/nghttp2/"
6280 "releases/download/v" version "/"
6281 name "-" version ".tar.xz"))
6284 "0fi6qg2w82636wixwkqy7bclpgxslmvg82r431hs8h6aqc4mnzwv"))))
6285 (build-system gnu-build-system)
6286 (outputs (list "out"
6287 "lib")) ; only libnghttp2
6289 `(("pkg-config" ,pkg-config)
6290 ("gcc" ,gcc-7) ; 1.35.0 requires GCC6 or later
6292 ;; Required by tests.
6294 ("tzdata" ,tzdata-for-tests)))
6296 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
6297 `(("c-ares" ,c-ares)
6298 ("jansson" ,jansson) ; for HPACK tools
6299 ("jemalloc" ,jemalloc) ; fight nghttpd{,x} heap fragmentation
6301 ("libxml2" ,libxml2) ; for ‘nghttp -a’
6302 ("openssl" ,openssl)))
6305 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
6306 "--enable-app" ; build all the tools
6307 "--enable-hpack-tools" ; ...all the tools
6308 "--disable-examples"
6309 "--disable-static") ; don't bother building .a files
6311 (modify-phases %standard-phases
6312 (add-after 'unpack 'break-circular-reference
6313 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
6314 ;; which is not allowed. Break this cycle. While we could install
6315 ;; only the library to ‘out’ and move everything else to a separate
6316 ;; output, this would inconvenience the majority of (human) users.
6317 (lambda* (#:key outputs #:allow-other-keys)
6318 (substitute* "lib/libnghttp2.pc.in"
6320 (assoc-ref outputs "lib")))
6322 (add-before 'configure 'work-around-bug-30756
6324 (for-each unsetenv '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH")) #t))
6325 (add-before 'check 'set-timezone-directory
6326 (lambda* (#:key inputs #:allow-other-keys)
6327 (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
6330 (home-page "https://nghttp2.org/")
6331 (synopsis "HTTP/2 protocol client, proxy, server, and library")
6333 "nghttp2 implements the Hypertext Transfer Protocol, version
6336 A reusable C library provides the HTTP/2 framing layer, with several tools built
6340 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
6341 and low-level aspects of the protocol and is useful for debugging.
6342 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
6343 serves files from a local directory.
6344 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
6345 deployed in front of existing web servers that don't support HTTP/2.
6346 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
6347 backwards compatibilty with clients that don't speak HTTP/2.
6348 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
6349 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
6350 nghttp2 provides a HPACK encoder and decoder as part of its public API.
6351 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
6352 compressed JSON header blocks.
6353 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
6357 (define-public hpcguix-web
6358 (let ((commit "53e09ea59ec0380b41a4cbda32df8bdb9a10004d")
6361 (name "hpcguix-web")
6362 (version (git-version "0.0.1" revision commit))
6366 (url "https://github.com/UMCUGenetics/hpcguix-web.git")
6368 (file-name (git-file-name name version))
6371 "1ah4pn9697vazhbvd45n4b1rrkx2nbhnw384cr0b941q3sz1dfyc"))))
6372 (build-system gnu-build-system)
6374 `(#:modules ((guix build gnu-build-system)
6380 (modify-phases %standard-phases
6381 (add-before 'configure 'set-variables
6383 ;; This prevents a few warnings
6384 (setenv "GUILE_AUTO_COMPILE" "0")
6385 (setenv "XDG_CACHE_HOME" (getcwd))
6387 (add-after 'install 'wrap-program
6388 (lambda* (#:key inputs outputs #:allow-other-keys)
6389 (let* ((out (assoc-ref outputs "out"))
6390 (guix (assoc-ref inputs "guix"))
6391 (guile (assoc-ref inputs "guile"))
6392 (gcrypt (assoc-ref inputs "guile-gcrypt"))
6393 (git (assoc-ref inputs "guile-git"))
6394 (bs (assoc-ref inputs "guile-bytestructures"))
6395 (json (assoc-ref inputs "guile-json"))
6396 (guile-cm (assoc-ref inputs
6397 "guile-commonmark"))
6398 (deps (list guile gcrypt git bs guile-cm guix json))
6401 (open-pipe* OPEN_READ
6402 (string-append guile "/bin/guile")
6403 "-c" "(display (effective-version))")))
6405 (map (cut string-append <>
6406 "/share/guile/site/"
6410 (gopath (string-join
6411 (map (cut string-append <>
6412 "/lib/guile/" effective
6416 (wrap-program (string-append out "/bin/run")
6417 `("GUILE_LOAD_PATH" ":" prefix (,path))
6418 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
6422 `(("autoconf" ,autoconf)
6423 ("automake" ,automake)
6424 ("uglify-js" ,uglify-js)
6425 ("pkg-config" ,pkg-config)))
6429 `(("guile" ,guile-2.2)
6430 ("guile-commonmark" ,guile-commonmark)
6431 ("guile-json" ,guile-json)))
6432 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
6433 (synopsis "Web interface for cluster deployments of Guix")
6434 (description "Hpcguix-web provides a web interface to the list of packages
6435 provided by Guix. The list of packages is searchable and provides
6436 instructions on how to use Guix in a shared HPC environment.")
6437 (license l:agpl3+))))