1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
4 ;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
7 ;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
8 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
9 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 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, 2019 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>
33 ;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
34 ;;; Copyright © 2019 Brendan Tildesley <mail@brendan.scot>
35 ;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
36 ;;; Copyright © 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
37 ;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>
39 ;;; This file is part of GNU Guix.
41 ;;; GNU Guix is free software; you can redistribute it and/or modify it
42 ;;; under the terms of the GNU General Public License as published by
43 ;;; the Free Software Foundation; either version 3 of the License, or (at
44 ;;; your option) any later version.
46 ;;; GNU Guix is distributed in the hope that it will be useful, but
47 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
48 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49 ;;; GNU General Public License for more details.
51 ;;; You should have received a copy of the GNU General Public License
52 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
54 (define-module (gnu packages web)
55 #:use-module (ice-9 match)
56 #:use-module ((guix licenses) #:prefix license:)
57 #:use-module (guix packages)
58 #:use-module (guix download)
59 #:use-module (guix git-download)
60 #:use-module (guix cvs-download)
61 #:use-module (guix hg-download)
62 #:use-module (guix utils)
63 #:use-module (guix build-system gnu)
64 #:use-module (guix build-system glib-or-gtk)
65 #:use-module (guix build-system perl)
66 #:use-module (guix build-system cmake)
67 #:use-module (guix build-system trivial)
68 #:use-module (guix build-system python)
69 #:use-module (guix build-system ant)
70 #:use-module (guix build-system scons)
71 #:use-module (gnu packages)
72 #:use-module (gnu packages admin)
73 #:use-module (gnu packages adns)
74 #:use-module (gnu packages apr)
75 #:use-module (gnu packages boost)
76 #:use-module (gnu packages check)
77 #:use-module (gnu packages documentation)
78 #:use-module (gnu packages docbook)
79 #:use-module (gnu packages autotools)
80 #:use-module (gnu packages compression)
81 #:use-module (gnu packages curl)
82 #:use-module (gnu packages cyrus-sasl)
83 #:use-module (gnu packages databases)
84 #:use-module (gnu packages bison)
85 #:use-module (gnu packages flex)
86 #:use-module (gnu packages freedesktop)
87 #:use-module (gnu packages kerberos)
88 #:use-module (gnu packages gcc)
89 #:use-module (gnu packages gd)
90 #:use-module (gnu packages gettext)
91 #:use-module (gnu packages glib)
92 #:use-module (gnu packages gnome)
93 #:use-module (gnu packages gnu-doc)
94 #:use-module (gnu packages gnupg)
95 #:use-module (gnu packages gperf)
96 #:use-module (gnu packages gtk)
97 #:use-module (gnu packages guile)
98 #:use-module (gnu packages guile-xyz)
99 #:use-module (gnu packages java)
100 #:use-module (gnu packages jemalloc)
101 #:use-module (gnu packages image)
102 #:use-module (gnu packages imagemagick)
103 #:use-module (gnu packages libevent)
104 #:use-module (gnu packages libidn)
105 #:use-module (gnu packages libunistring)
106 #:use-module (gnu packages linux)
107 #:use-module (gnu packages lisp)
108 #:use-module (gnu packages lua)
109 #:use-module (gnu packages markup)
110 #:use-module (gnu packages ncurses)
111 #:use-module (gnu packages nss)
112 #:use-module (gnu packages openstack)
113 #:use-module (gnu packages base)
114 #:use-module (gnu packages package-management)
115 #:use-module (gnu packages perl)
116 #:use-module (gnu packages perl-check)
117 #:use-module (gnu packages python)
118 #:use-module (gnu packages python-web)
119 #:use-module (gnu packages python-xyz)
120 #:use-module (gnu packages pcre)
121 #:use-module (gnu packages pkg-config)
122 #:use-module (gnu packages qt)
123 #:use-module (gnu packages readline)
124 #:use-module (gnu packages sphinx)
125 #:use-module (gnu packages texinfo)
126 #:use-module (gnu packages textutils)
127 #:use-module (gnu packages tls)
128 #:use-module (gnu packages valgrind)
129 #:use-module (gnu packages version-control)
130 #:use-module (gnu packages vim)
131 #:use-module (gnu packages xml))
139 (uri (string-append "mirror://apache/httpd/httpd-"
143 "18ngvsjq65qxk3biggnkhkq8jlll9dsg9n3csra9p99sfw2rvjml"))))
144 (build-system gnu-build-system)
145 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
146 (inputs `(("apr" ,apr)
147 ("apr-util" ,apr-util)
149 ("perl" ,perl))) ; needed to run bin/apxs
151 `(#:test-target "test"
152 #:configure-flags (list "--enable-rewrite"
154 "--enable-vhost-alias"
156 "--enable-mime-magic"
157 (string-append "--sysconfdir="
158 (assoc-ref %outputs "out")
160 (synopsis "Featureful HTTP server")
162 "The Apache HTTP Server Project is a collaborative software development
163 effort aimed at creating a robust, commercial-grade, featureful, and
164 freely-available source code implementation of an HTTP (Web) server. The
165 project is jointly managed by a group of volunteers located around the world,
166 using the Internet and the Web to communicate, plan, and develop the server
167 and its related documentation.")
168 (license license:asl2.0)
169 (home-page "https://httpd.apache.org/")))
171 (define-public mod-wsgi
178 (url "https://github.com/GrahamDumpleton/mod_wsgi.git")
180 (file-name (git-file-name name version))
183 "1q90xw2cbhka5gcd6yc69iir73x4gm7fm75qpkins2ryfl6w1q3f"))))
184 (build-system gnu-build-system)
186 '(#:tests? #f ; TODO: can't figure out if there are tests
188 (string-append "DESTDIR="
189 (assoc-ref %outputs "out"))
190 "LIBEXECDIR=/modules")))
193 ("python" ,python-wrapper)))
194 (synopsis "Apache HTTPD module for Python WSGI applications")
196 "The mod_wsgi module for the Apache HTTPD Server adds support for running
197 applications that support the Python @acronym{WSGI, Web Server Gateway
198 Interface} specification.")
199 (license license:asl2.0)
200 (home-page "https://modwsgi.readthedocs.io/")))
205 ;; Track the ‘mainline’ branch. Upstream considers it more reliable than
206 ;; ’stable’ and recommends that “in general you deploy the NGINX mainline
207 ;; branch at all times” (https://www.nginx.com/blog/nginx-1-6-1-7-released/)
208 ;; Consider updating the nginx-documentation package together with this one.
212 (uri (string-append "https://nginx.org/download/nginx-"
216 "1v39gslwbvpfhqqv74q0lkfrhrwsp59xc8pwhvxns7af8s3kccsy"))))
217 (build-system gnu-build-system)
218 (inputs `(("openssl" ,openssl)
222 `(#:tests? #f ; no test target
224 (modify-phases %standard-phases
225 (add-before 'configure 'patch-/bin/sh
227 (substitute* "auto/feature"
228 (("/bin/sh") (which "sh")))
231 ;; The configure script is hand-written, not from GNU autotools.
232 (lambda* (#:key outputs #:allow-other-keys)
234 (list (string-append "--prefix=" (assoc-ref outputs "out"))
235 "--with-http_ssl_module"
236 "--with-http_v2_module"
239 ;; Even when not cross-building, we pass the
240 ;; --crossbuild option to avoid customizing for the
241 ;; kernel version on the build machine.
242 ,(let ((system "Linux") ; uname -s
243 (release "3.2.0") ; uname -r
245 (machine (match (or (%current-target-system)
247 ("x86_64-linux" "x86_64")
248 ("i686-linux" "i686")
249 ("mips64el-linux" "mips64")
250 ;; Prevent errors when querying
251 ;; this package on unsupported
252 ;; platforms, e.g. when running
253 ;; "guix package --search="
255 (string-append "--crossbuild="
256 system ":" release ":" machine)))))
258 (format #t "environment variable `CC' set to `gcc'~%")
259 (format #t "configure flags: ~s~%" flags)
260 (apply invoke "./configure" flags)
262 (add-after 'install 'install-man-page
263 (lambda* (#:key outputs #:allow-other-keys)
264 (let* ((out (assoc-ref outputs "out"))
265 (man (string-append out "/share/man")))
266 (install-file "objs/nginx.8" (string-append man "/man8"))
268 (add-after 'install 'fix-root-dirs
269 (lambda* (#:key outputs #:allow-other-keys)
270 ;; 'make install' puts things in strange places, so we need to
271 ;; clean it up ourselves.
272 (let* ((out (assoc-ref outputs "out"))
273 (share (string-append out "/share/nginx")))
274 ;; This directory is empty, so get rid of it.
275 (rmdir (string-append out "/logs"))
276 ;; Example configuration and HTML files belong in
279 (rename-file (string-append out "/conf")
280 (string-append share "/conf"))
281 (rename-file (string-append out "/html")
282 (string-append share "/html"))
284 (home-page "https://nginx.org")
285 (synopsis "HTTP and reverse proxy server")
287 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
288 created by Igor Sysoev. It can be used both as a stand-alone web server
289 and as a proxy to reduce the load on back-end HTTP or mail servers.")
290 ;; Almost all of nginx is distributed under the bsd-2 license.
291 ;; The exceptions are:
292 ;; * The 'nginx-http-push' module is covered by the expat license.
293 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
294 ;; except for two source files which are bsd-4 licensed.
295 (license (list license:bsd-2 license:expat license:bsd-3 license:bsd-4))))
297 (define nginx-xslscript
299 (changeset "01dc9ba12e1b"))
301 (name "nginx-xslscript")
303 (simple-format #f "2014-03-31-~A-~A" revision changeset))
307 (url "http://hg.nginx.org/xslscript")
308 (changeset changeset)))
309 (file-name (string-append name "-" version))
312 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
313 (build-system gnu-build-system)
315 '(#:tests? #f ; No test suite
317 (modify-phases %standard-phases
321 (lambda* (#:key outputs #:allow-other-keys)
322 (let ((out-bin (string-append
323 (assoc-ref outputs "out")
326 (copy-file "xslscript.pl"
331 (home-page "http://hg.nginx.org/xslscript")
332 (synopsis "XSLScript with NGinx specific modifications")
334 "XSLScript is a terse notation for writing complex XSLT stylesheets.
335 This is modified version, specifically intended for use with the NGinx
337 (license license:bsd-2))))
339 (define-public nginx-documentation
340 ;; This documentation should be relevant for nginx@1.15.9.
341 (let ((revision 2345)
342 (changeset "7ef11708457e"))
344 (name "nginx-documentation")
346 (simple-format #f "2019-03-01-~A-~A" revision changeset))
348 (origin (method hg-fetch)
350 (url "http://hg.nginx.org/nginx.org")
351 (changeset changeset)))
352 (file-name (string-append name "-" version))
355 "15975jvh53mnsgi4hhgrwdwy3by23v4kxnhy2vnkziq8v7wkmy4y"))))
356 (build-system gnu-build-system)
358 '(#:tests? #f ; no test suite
360 (modify-phases %standard-phases
361 (delete 'configure) ; no configure script
363 (lambda* (#:key outputs #:allow-other-keys)
364 (let ((output (assoc-ref outputs "out")))
365 (substitute* "umasked.sh"
366 ((" /bin/sh") (string-append " " (which "sh"))))
367 ;; The documentation includes a banner, which makes sense on
368 ;; the NGinx website, but doesn't make much sense when
369 ;; viewing locally. Therefore, modify the CSS to remove the
371 (substitute* "xslt/style.xslt"
372 (("#banner \\{ background: black;")
373 "#banner { display: none;"))
377 (lambda* (#:key outputs #:allow-other-keys)
378 (let ((output (assoc-ref outputs "out")))
380 (copy-recursively "libxslt" output)
383 `(("libxml2" ,libxml2)
385 ("nginx-xslscript" ,nginx-xslscript)))
386 (home-page "https://nginx.org")
387 (synopsis "Documentation for the nginx web server")
389 "This package provides HTML documentation for the nginx web server.")
390 (license license:bsd-2))))
399 ;; Upstream has disappeared.
400 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
401 "fcgi-" version ".tar.gz"))
404 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
405 (patches (search-patches "fcgi-2.4.0-poll.patch"
406 "fcgi-2.4.0-gcc44-fixes.patch"))))
407 (build-system gnu-build-system)
408 ;; Parallel building is not supported.
409 (arguments `(#:parallel-build? #f))
410 ;; This is an archived fork of the original home page, www.fastcgi.com.
411 (home-page "https://fastcgi-archives.github.io/")
412 (synopsis "Language-independent, high-performant extension to CGI")
413 (description "FastCGI is a language-independent, scalable extension to CGI
414 that provides high performance without the limitations of server specific
416 ;; This package is released under the Open Market License, a variant of
417 ;; the Expat license, incompatible with the GPL.
418 (license (license:non-copyleft "file://LICENSE.TERMS"))))
420 (define-public fcgiwrap
428 (url "https://github.com/gnosek/fcgiwrap.git")
430 (file-name (git-file-name name version))
432 (base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f"))))
433 (build-system gnu-build-system)
435 `(#:tests? #f ; no tests included
436 #:make-flags (list "CC=gcc")))
438 `(("autoconf" ,autoconf)
439 ("automake" ,automake)
440 ("pkg-config" ,pkg-config)))
443 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
444 (synopsis "Simple server for running CGI applications over FastCGI")
445 (description "Fcgiwrap is a simple server for running CGI applications
446 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
447 servers that may need it).")
448 (license license:expat)))
450 (define-public starman
457 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
458 "Starman-" version ".tar.gz"))
461 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
462 (build-system perl-build-system)
464 `(("perl-libwww" ,perl-libwww)
465 ("perl-module-build-tiny" ,perl-module-build-tiny)
466 ("perl-test-requires" ,perl-test-requires)))
468 `(("perl-data-dump" ,perl-data-dump)
469 ("perl-http-date" ,perl-http-date)
470 ("perl-http-message" ,perl-http-message)
471 ("perl-http-parser-xs" ,perl-http-parser-xs)
472 ("perl-net-server" ,perl-net-server)
473 ("perl-plack" ,perl-plack)
474 ("perl-test-tcp" ,perl-test-tcp)))
475 (home-page "https://metacpan.org/release/Starman")
476 (synopsis "PSGI/Plack web server")
477 (description "Starman is a PSGI perl web server that has unique features
478 such as high performance, preforking, signal support, superdaemon awareness,
479 and UNIX socket support.")
480 (license license:perl-license)))
482 (define-public icedtea-web
489 "http://icedtea.wildebeest.org/download/source/"
490 name "-" version ".tar.gz"))
493 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
494 (build-system gnu-build-system)
497 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
498 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
500 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
501 (outputs '("out" "doc"))
503 `(("pkg-config" ,pkg-config)
507 ("jdk" ,icedtea "jdk")))
508 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
509 (synopsis "Java Web Start")
511 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
512 Protocol}, also known as Java Web Start. This package provides tools and
513 libraries for working with JNLP applets.")
514 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
516 (license license:gpl2+)))
518 (define-public jansson
525 (string-append "http://www.digip.org/jansson/releases/jansson-"
529 "1lp1mv8pjp5yziws66cy0dhpcam4bbjqhffk13v4vgdybp674pb4"))))
530 (build-system gnu-build-system)
532 `(#:configure-flags '("--disable-static")))
533 (home-page "http://www.digip.org/jansson/")
534 (synopsis "JSON C library")
536 "Jansson is a C library for encoding, decoding and manipulating JSON
538 (license license:expat)))
540 (define-public json-c
547 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
551 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
552 (modules '((guix build utils)))
555 ;; Somehow 'config.h.in' is older than
556 ;; 'aclocal.m4', which would trigger a rule to
558 (set-file-time "config.h.in"
561 (build-system gnu-build-system)
562 (home-page "https://github.com/json-c/json-c/wiki")
563 (synopsis "JSON implementation in C")
565 "JSON-C implements a reference counting object model that allows you to
566 easily construct JSON objects in C, output them as JSON-formatted strings and
567 parse JSON-formatted strings back into the C representation of JSON objects.
568 It aims to conform to RFC 7159.")
569 (license license:x11)))
571 ;; TODO: remove this old version when all dependents have been updated.
572 (define-public json-c-0.12
579 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
582 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
583 (modules '((guix build utils)))
586 ;; Somehow 'config.h.in' is older than
587 ;; 'aclocal.m4', which would trigger a rule to
589 (set-file-time "config.h.in"
592 ;; Don't try to build with -Werror.
593 (substitute* (find-files "." "Makefile\\.in")
597 (define-public json-parser
602 ;; do not use auto-generated tarballs
605 (url "https://github.com/udp/json-parser.git")
606 (commit (string-append "v" version))))
607 (file-name (git-file-name name version))
610 "1ls7z4fx0sq633s5bc0j1gh36sv087gmrgr7rza22wjq2d4606yf"))))
611 ;; FIXME: we should build the python bindings in a separate package
612 (build-system gnu-build-system)
613 ;; the tests are written for the python bindings which are not built here
614 (arguments '(#:tests? #f))
615 (home-page "https://github.com/udp/json-parser")
616 (synopsis "JSON parser written in ANSI C")
617 (description "This package provides a very low footprint JSON parser
618 written in portable ANSI C.
621 @item BSD licensed with no dependencies (i.e. just drop the C file into your
623 @item Never recurses or allocates more memory than it needs
624 @item Very simple API with operator sugar for C++
626 (license license:bsd-2)))
635 (url "https://github.com/flavio/qjson.git")
637 (file-name (git-file-name name version))
640 "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs"))))
641 (build-system cmake-build-system)
643 ;; The tests require a running X server.
644 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
645 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
647 (modify-phases %standard-phases
648 (add-after 'unpack 'disable-broken-test
650 ;; FIXME: One test fails. See
651 ;; https://github.com/flavio/qjson/issues/105
652 (substitute* "tests/scanner/testscanner.cpp"
653 (("QTest::newRow\\(\"too large exponential\"\\)" line)
654 (string-append "//" line)))
656 (add-before 'check 'render-offscreen
657 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
659 `(("qtbase" ,qtbase)))
660 (home-page "http://qjson.sourceforge.net")
661 (synopsis "Library that maps JSON data to QVariant objects")
662 (description "QJson is a Qt-based library that maps JSON data to
663 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
664 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
665 ;; Only version 2.1 of the license
666 (license license:lgpl2.1)))
668 (define-public krona-tools
675 "https://github.com/marbl/Krona/releases/download/v"
676 version "/KronaTools-" version ".tar"))
679 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
680 (build-system perl-build-system)
683 (modify-phases %standard-phases
684 ;; There is no configure or build steps.
687 ;; Install script "install.pl" expects the build directory to remain
688 ;; after installation, creating symlinks etc., so re-implement it
691 (lambda* (#:key outputs #:allow-other-keys)
692 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
693 (perl (string-append (assoc-ref outputs "out")
694 "/lib/perl5/site_perl/krona-tools/lib")))
698 (let* ((executable (string-append "scripts/" script ".pl")))
699 ;; Prefix executables with 'kt' as install script does.
700 (copy-file executable (string-append bin "/kt" script))))
702 "GetContigMagnitudes"
712 "ImportMETAREP-BLAST"
717 "ImportRDPComparison"
723 (copy-recursively directory
724 (string-append perl "/../" directory)))
725 (list "data" "img" "taxonomy" "src"))
726 (install-file "lib/KronaTools.pm" perl))))
727 (add-after 'install 'wrap-program
728 (lambda* (#:key inputs outputs #:allow-other-keys)
729 (let* ((out (assoc-ref outputs "out"))
730 (path (getenv "PERL5LIB")))
733 (wrap-program executable
734 `("PERL5LIB" ":" prefix
735 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
736 (find-files (string-append out "/bin/") ".*")))))
738 (add-after 'wrap-program 'check
739 (lambda* (#:key inputs outputs #:allow-other-keys)
740 (with-directory-excursion "data"
741 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
745 (home-page "https://github.com/marbl/Krona/wiki")
746 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
748 "Krona is a flexible tool for exploring the relative proportions of
749 hierarchical data, such as metagenomic classifications, using a radial,
750 space-filling display. It is implemented using HTML5 and JavaScript, allowing
751 charts to be explored locally or served over the Internet, requiring only a
752 current version of any major web browser.")
753 (license license:bsd-3)))
755 (define-public rapidjson
762 (url "https://github.com/Tencent/rapidjson.git")
763 (commit (string-append "v" version))))
764 (file-name (git-file-name name version))
767 "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"))
768 (patches (search-patches "rapidjson-gcc-compat.patch"))
769 (modules '((guix build utils)))
772 ;; Remove code using the problematic JSON license (see
773 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
774 (delete-file-recursively "bin/jsonchecker")
776 (build-system cmake-build-system)
778 (if (string-prefix? "aarch64" (or (%current-target-system)
781 (modify-phases %standard-phases
782 (add-after 'unpack 'patch-aarch-march-detection
784 (substitute* (find-files "." "^CMakeLists\\.txt$")
785 (("native") "armv8-a"))
787 ;; Disable CPU optimization for reproducibility.
788 '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF"))))
789 (home-page "https://github.com/Tencent/rapidjson")
790 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
792 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
794 (license license:expat)))
796 (define-public libyajl
803 (url "https://github.com/lloyd/yajl.git")
805 (file-name (git-file-name name version))
808 "00yj06drb6izcxfxfqlhimlrb089kka0w0x8k27pyzyiq7qzcvml"))))
809 (build-system cmake-build-system)
812 (modify-phases %standard-phases
813 (add-after 'patch-source-shebangs 'patch-tests
815 (substitute* "test/parsing/run_tests.sh"
816 (("`which echo`") (which "echo")))
818 (home-page "https://lloyd.github.io/yajl/")
819 (synopsis "C library for parsing JSON")
821 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
822 parser written in ANSI C and a small validating JSON generator.")
823 (license license:isc)))
825 (define-public libwebsockets
827 (name "libwebsockets")
830 ;; The project does not publish tarballs, so we have to take
834 (url "https://github.com/warmcat/libwebsockets.git")
835 (commit (string-append "v" version
836 "-chrome37-firefox30"))))
839 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
840 (file-name (string-append name "-" version))))
842 (build-system cmake-build-system)
844 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
845 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
848 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
849 (inputs `(("zlib" ,zlib)
850 ("openssl" ,openssl)))
851 (synopsis "WebSockets library written in C")
853 "Libwebsockets is a library that allows C programs to establish client
854 and server WebSockets connections---a protocol layered above HTTP that allows
855 for efficient socket-like bidirectional reliable communication channels.")
856 (home-page "http://libwebsockets.org/")
858 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
859 (license license:lgpl2.1)))
861 (define-public websocketpp
869 (url "https://github.com/zaphoyd/websocketpp.git")
871 (file-name (git-file-name name version))
873 (base32 "12ffczcrryh74c1xssww35ic6yiy2l2xgdd30lshiq9wnzl2brgy"))))
874 (build-system cmake-build-system)
875 (inputs `(("boost" ,boost)
876 ("openssl" ,openssl)))
877 (arguments '(#:configure-flags '("-DBUILD_TESTS=ON")
879 (modify-phases %standard-phases
880 (add-after 'install 'remove-tests
881 (lambda* (#:key outputs #:allow-other-keys)
882 (let* ((install-dir (assoc-ref outputs "out"))
883 (bin-dir (string-append install-dir "/bin")))
884 (delete-file-recursively bin-dir)
886 (home-page "https://www.zaphoyd.com/websocketpp/")
887 (synopsis "C++ library implementing the WebSocket protocol")
888 (description "WebSocket++ is a C++ library that can be used to implement
889 WebSocket functionality. The goals of the project are to provide a WebSocket
890 implementation that is simple, portable, flexible, lightweight, low level, and
892 (license license:bsd-3)))
894 (define-public libpsl
900 (uri (string-append "https://github.com/rockdaboot/libpsl/"
901 "releases/download/libpsl-" version
902 "/libpsl-" version ".tar.gz"))
905 "04pfagb7ppq3yibx4lhazd1v9nwkxdfkyy2rgcrmrf3mldsirga1"))))
906 (build-system gnu-build-system)
908 `(("pkg-config" ,pkg-config)
911 ("python" ,python-wrapper)))
913 `(("libidn2" ,libidn2)
914 ("libunistring" ,libunistring)))
915 (home-page "https://github.com/rockdaboot/libpsl")
916 (synopsis "C library for the Publix Suffix List")
918 "A \"public suffix\" is a domain name under which Internet users can
919 directly register own names.
921 Browsers and other web clients can use it to avoid privacy-leaking
922 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
923 highlighting parts of the domain in a user interface, and sorting domain lists
926 Libpsl has built-in PSL data for fast access, allows to load PSL data from
927 files, checks if a given domain is a public suffix, provides immediate cookie
928 domain verification, finds the longest public part of a given domain, finds
929 the shortest private part of a given domain, works with international
930 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
932 (license license:x11)))
942 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
944 (revision "2009-12-23")))
945 (file-name (string-append name "-" version "-checkout"))
948 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
949 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
950 (build-system gnu-build-system)
952 '(#:phases (modify-phases %standard-phases
954 (lambda* (#:key inputs #:allow-other-keys)
955 ;; configure.in and Makefile.am aren't in the root of the
957 (copy-recursively "build/gnuauto" ".")
958 (setenv "AUTOMAKE" "automake --foreign")
959 (invoke "autoreconf" "-vfi"))))))
961 `(("automake" ,automake)
962 ("autoconf" ,autoconf)
963 ("libtool" ,libtool)))
964 (synopsis "HTML validator and tidier")
965 (description "HTML Tidy is a command-line tool and C library that can be
966 used to validate and fix HTML data.")
967 (home-page "http://tidy.sourceforge.net/")
968 (license (license:x11-style "file:///include/tidy.h"))))
970 (define-public tinyproxy
976 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
977 "releases/download/" version "/tinyproxy-"
981 "10jnk6y2swld25mm47mjc0nkffyzsfysnsxwr7cs0ns1kil8ggjr"))))
982 (build-system gnu-build-system)
986 ;; For the log file, etc.
987 "--localstatedir=/var")
989 (modify-phases %standard-phases
990 (add-before 'build 'pre-build
991 (lambda* (#:key inputs #:allow-other-keys #:rest args)
992 ;; Uncommenting the next two lines may assist in debugging
993 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
994 ;; (setenv "XML_DEBUG_CATALOG" "1")
996 (home-page "https://tinyproxy.github.io/")
997 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
998 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
999 daemon. Designed from the ground up to be fast and yet small, it is an ideal
1000 solution for use cases such as embedded deployments where a full featured HTTP
1001 proxy is required, but the system resources for a larger proxy are
1003 (license license:gpl2+)))
1005 (define-public polipo
1013 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
1017 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
1018 (native-inputs `(("texinfo" ,texinfo)))
1019 (build-system gnu-build-system)
1021 `(#:phases (modify-phases %standard-phases
1022 (delete 'configure))
1023 #:make-flags (let ((out (assoc-ref %outputs "out")))
1024 (list (string-append "PREFIX=" out)
1025 (string-append "LOCAL_ROOT="
1026 out "/share/polipo/www")
1028 ;; No 'check' target.
1030 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
1031 (synopsis "Small caching web proxy")
1033 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
1034 server). It was primarily designed to be used by one person or a small group
1036 (license license:expat)))
1038 (define-public websockify
1045 (url "https://github.com/novnc/websockify.git")
1046 (commit (string-append "v" version))))
1047 (file-name (git-file-name name version))
1050 "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
1051 (build-system python-build-system)
1053 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
1054 ; named 'stubout'". The tests can be run by replacing the check phase with
1055 ; the command "python setup.py nosetests --verbosity=3".
1056 (native-inputs `(; Required for tests:
1057 ("python-mox3" ,python-mox3)
1058 ("python-nose" ,python-nose)))
1059 (propagated-inputs `(("python-numpy" ,python-numpy)))
1060 (home-page "https://github.com/novnc/websockify")
1061 (synopsis "WebSockets support for any application/server")
1062 (description "Websockify translates WebSockets traffic to normal socket
1063 traffic. Websockify accepts the WebSockets handshake, parses it, and then
1064 begins forwarding traffic between the client and the target in both
1066 (license license:lgpl3)))
1068 (define-public wwwoffle
1074 (uri (string-append "https://www.gedanken.org.uk/software/"
1075 "wwwoffle/download/wwwoffle-"
1079 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
1080 (build-system gnu-build-system)
1082 `(#:configure-flags '("--with-gnutls")
1083 #:tests? #f)) ; no test target
1084 (native-inputs `(("flex" ,flex)))
1085 (inputs `(("gnutls" ,gnutls)
1086 ("libcrypt" ,libgcrypt)))
1087 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1088 (synopsis "Caching web proxy optimized for intermittent internet links")
1089 (description "WWWOFFLE is a proxy web server that is especially good for
1090 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1091 protocols, and supports browsing and requesting pages while offline, indexing,
1092 modifying pages and incoming and outgoing headers, monitoring pages for
1093 changes, and much more.")
1094 (license license:gpl2+)))
1096 (define-public liboauth
1102 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1106 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1107 (build-system gnu-build-system)
1108 (arguments '(#:configure-flags '("--enable-nss")))
1109 (native-inputs `(("pkg-config" ,pkg-config)))
1113 (home-page "https://sourceforge.net/projects/liboauth")
1114 (synopsis "C library implementing the OAuth API")
1116 "liboauth is a collection of C functions implementing the OAuth API.
1117 liboauth provides functions to escape and encode strings according to OAuth
1118 specifications and offers high-level functionality built on top to sign
1119 requests or verify signatures using either NSS or OpenSSL for calculating the
1121 ;; Source code may be distributed under either license.
1122 (license (list license:expat license:gpl2+))))
1124 (define-public libyaml
1132 "http://pyyaml.org/download/libyaml/yaml-"
1136 "0a87931cx5m14a1x8rbjix3nz7agrcgndf4h392vm62a4rby9240"))))
1137 (build-system gnu-build-system)
1138 (home-page "http://pyyaml.org/wiki/LibYAML")
1139 (synopsis "YAML 1.1 parser and emitter written in C")
1141 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1142 (license license:expat)))
1144 (define-public libquvi-scripts
1146 (name "libquvi-scripts")
1152 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1153 name "/" name "-" version ".tar.xz"))
1155 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1156 (build-system gnu-build-system)
1157 (home-page "http://quvi.sourceforge.net/")
1158 (synopsis "Media stream URL parser")
1159 (description "This package contains support scripts called by libquvi to
1160 parse media stream properties.")
1161 (license license:lgpl2.1+)))
1163 (define-public libquvi
1171 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1172 name "-" version ".tar.xz"))
1174 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1175 (build-system gnu-build-system)
1176 (native-inputs `(("pkg-config" ,pkg-config)))
1179 ("cyrus-sasl" ,cyrus-sasl)
1180 ("libquvi-scripts" ,libquvi-scripts)
1182 ("openssl" ,openssl)
1185 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1187 (let ((lua (assoc-ref %build-inputs "lua")))
1189 (string-append "liblua_CFLAGS=-I" lua "/include")
1190 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1191 (home-page "http://quvi.sourceforge.net/")
1192 (synopsis "Media stream URL parser")
1193 (description "libquvi is a library with a C API for parsing media stream
1194 URLs and extracting their actual media files.")
1195 (license license:lgpl2.1+)))
1205 "mirror://sourceforge/" name "/" (version-major+minor version)
1206 "/" name "/" name "-" version ".tar.xz"))
1208 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1209 (build-system gnu-build-system)
1210 (native-inputs `(("pkg-config" ,pkg-config)))
1213 ("libquvi" ,libquvi)))
1214 (home-page "http://quvi.sourceforge.net/")
1215 (synopsis "Media stream URL parser")
1216 (description "quvi is a command-line-tool suite to extract media files
1217 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1218 (license license:lgpl2.1+)))
1227 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
1228 version ".tar.bz2"))
1230 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1231 (build-system scons-build-system)
1234 ("apr-util" ,apr-util)
1235 ("openssl" ,openssl)))
1237 `(;; TODO: Fix build with gss.
1241 `(#:scons ,scons-python2
1242 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1243 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1244 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1245 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1246 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1247 (string-append "PREFIX=" %output))
1249 (modify-phases %standard-phases
1250 (add-after 'unpack 'scons-propagate-environment
1252 ;; By design, SCons does not, by default, propagate
1253 ;; environment variables to subprocesses. See:
1254 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1255 ;; Here, we modify the SConstruct file to arrange for
1256 ;; environment variables to be propagated.
1257 (substitute* "SConstruct"
1258 (("^env = Environment\\(")
1259 "env = Environment(ENV=os.environ, "))))
1260 (add-before 'check 'disable-broken-tests
1262 ;; These tests rely on SSL certificates that expired 2017-04-18.
1263 ;; While there are newer certs available upstream, we don't want
1264 ;; this package to suddenly "expire" some time in the future.
1265 ;; https://bugs.gnu.org/26671
1267 '("test_ssl_trust_rootca"
1268 "test_ssl_certificate_chain_with_anchor"
1269 "test_ssl_certificate_chain_all_from_server"
1270 "test_ssl_no_servercert_callback_allok"
1271 "test_ssl_large_response"
1272 "test_ssl_large_request"
1273 "test_ssl_client_certificate"
1274 "test_ssl_future_server_cert"
1275 "test_setup_ssltunnel"
1276 "test_ssltunnel_basic_auth"
1277 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1278 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1279 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1280 "test_ssltunnel_digest_auth")))
1283 (substitute* "test/test_context.c"
1284 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1287 (home-page "https://serf.apache.org/")
1288 (synopsis "High-performance asynchronous HTTP client library")
1290 "serf is a C-based HTTP client library built upon the Apache Portable
1291 Runtime (APR) library. It multiplexes connections, running the read/write
1292 communication asynchronously. Memory copies and transformations are kept to a
1293 minimum to provide high performance operation.")
1294 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1295 ;; bundled CuTest framework uses a different non-copyleft license.
1296 (license (list license:asl2.0 (license:non-copyleft "file://test/CuTest-README.txt")))))
1298 (define-public libsass
1305 (url "https://github.com/sass/libsass.git")
1307 (file-name (git-file-name name version))
1310 "0830pjcvhzxh6yixj82x5k5r1xnadjqzi16kp53213icbly0r9ma"))))
1311 (build-system gnu-build-system)
1314 (modify-phases %standard-phases
1315 (add-before 'bootstrap 'set-LIBSASS_VERSION
1317 (setenv "LIBSASS_VERSION" ,version)
1320 `(("autoconf" ,autoconf)
1321 ("automake" ,automake)
1322 ("libtool" ,libtool)))
1323 (home-page "https://sass-lang.com/libsass")
1324 (synopsis "SASS Compiler, implemented as a C/C++ library")
1326 "LibSass is a @acronym{SASS,Syntactically awesome style sheets} compiler
1327 library designed for portability and efficiency. To actually compile SASS
1328 stylesheets, you'll need to use another program that uses this library,
1329 @var{sassc} for example.")
1330 (license license:expat)))
1332 (define-public sassc
1339 (url "https://github.com/sass/sassc.git")
1341 (file-name (git-file-name name version))
1344 "0jsfz1zg4gwk0dq8i92ll12axs3s70wsdsmdyi71zx8zmvib5nl6"))))
1345 (build-system gnu-build-system)
1349 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1350 ;; I don't believe sassc contains any tests
1353 (modify-phases %standard-phases
1354 (add-after 'unpack 'patch-Makefile
1356 (substitute* "Makefile"
1357 (("build-shared: \\$\\(RESOURCES\\) \\$\\(OBJECTS\\) \\$\\(LIB_SHARED\\)")
1358 "build-shared: $(RESOURCES) $(OBJECTS)")
1359 (("\\$\\(SASSC_EXE\\): libsass build")
1360 "$(SASSC_EXE): build")
1361 (("install: libsass-install-\\$\\(BUILD\\) \\\\")
1364 ;; This phase fails for some reason
1366 ;; There is no configure script
1368 (add-before 'build 'setup-environment
1370 (setenv "BUILD" "shared")
1371 (setenv "SASSC_VERSION" ,version)
1374 `(("libsass" ,libsass)))
1375 (synopsis "CSS pre-processor")
1376 (description "SassC is a compiler written in C for the CSS pre-processor
1377 language known as SASS.")
1378 (home-page "http://sass-lang.com/libsass")
1379 (license license:expat)))
1382 (define-public perl-apache-logformat-compiler
1384 (name "perl-apache-logformat-compiler")
1389 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1390 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1392 (base32 "06i70ydxk2wa2rcqn16842kra2qz3jwk0vk1abq8lah4180c0m0n"))))
1393 (build-system perl-build-system)
1395 `(("perl-http-message" ,perl-http-message)
1396 ("perl-module-build-tiny" ,perl-module-build-tiny)
1397 ("perl-test-mocktime" ,perl-test-mocktime)
1398 ("perl-try-tiny" ,perl-try-tiny)
1399 ("perl-uri" ,perl-uri)))
1401 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1402 (arguments `(#:tests? #f)) ; TODO: Timezone test failures
1403 (home-page "https://metacpan.org/release/Apache-LogFormat-Compiler")
1404 (synopsis "Compile a log format string to perl-code")
1405 (description "This module provides methods to compile a log format string
1406 to perl-code, for faster generation of access_log lines.")
1407 (license license:perl-license)))
1409 (define-public perl-authen-sasl
1411 (name "perl-authen-sasl")
1416 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1417 "Authen-SASL-" version ".tar.gz"))
1420 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1421 (build-system perl-build-system)
1424 (modify-phases %standard-phases
1425 (add-after 'unpack 'set-env
1426 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1427 ;; versions of perl-authen-sasl.
1428 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1430 `(("perl-digest-hmac" ,perl-digest-hmac)
1431 ("perl-gssapi" ,perl-gssapi)))
1432 (home-page "https://metacpan.org/release/Authen-SASL")
1433 (synopsis "SASL authentication framework")
1434 (description "Authen::SASL provides an SASL authentication framework.")
1435 (license license:perl-license)))
1437 (define-public perl-catalyst-action-renderview
1439 (name "perl-catalyst-action-renderview")
1444 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1445 "Catalyst-Action-RenderView-"
1449 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1450 (build-system perl-build-system)
1452 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1453 ("perl-module-install" ,perl-module-install)))
1455 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1456 ("perl-data-visitor" ,perl-data-visitor)
1457 ("perl-mro-compat" ,perl-mro-compat)))
1458 (home-page "https://metacpan.org/release/Catalyst-Action-RenderView")
1459 (synopsis "Sensible default Catalyst action")
1460 (description "This Catalyst action implements a sensible default end
1461 action, which will forward to the first available view.")
1462 (license license:perl-license)))
1464 (define-public perl-catalyst-action-rest
1466 (name "perl-catalyst-action-rest")
1470 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1471 "Catalyst-Action-REST-" version ".tar.gz"))
1474 "086bykggzalbjfk0islac4b48g9s2ypj7y81d6ns1lq0aax1py6c"))))
1475 (build-system perl-build-system)
1477 `(("perl-test-requires" ,perl-test-requires)
1478 ("perl-module-install" ,perl-module-install)))
1480 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1481 ("perl-class-inspector" ,perl-class-inspector)
1482 ("perl-config-general" ,perl-config-general)
1483 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1484 ("perl-libwww" ,perl-libwww)
1485 ("perl-moose" ,perl-moose)
1486 ("perl-mro-compat" ,perl-mro-compat)
1487 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1488 ("perl-params-validate" ,perl-params-validate)
1489 ("perl-uri-find" ,perl-uri-find)
1490 ("perl-xml-simple" ,perl-xml-simple)))
1491 (home-page "https://metacpan.org/release/Catalyst-Action-REST")
1492 (synopsis "Automated REST Method Dispatching")
1493 (description "This Action handles doing automatic method dispatching for
1494 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1495 append an underscore and method name. First it will try dispatching to an
1496 action with the generated name, and failing that it will try to dispatch to a
1498 (license license:perl-license)))
1500 (define-public perl-catalyst-authentication-store-dbix-class
1502 (name "perl-catalyst-authentication-store-dbix-class")
1507 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1508 "Catalyst-Authentication-Store-DBIx-Class-"
1512 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1513 (build-system perl-build-system)
1515 `(("perl-catalyst-plugin-authorization-roles"
1516 ,perl-catalyst-plugin-authorization-roles)
1517 ("perl-catalyst-plugin-session-state-cookie"
1518 ,perl-catalyst-plugin-session-state-cookie)
1519 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1520 ("perl-module-install" ,perl-module-install)
1521 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1523 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1524 ("perl-catalyst-plugin-authentication"
1525 ,perl-catalyst-plugin-authentication)
1526 ("perl-dbix-class" ,perl-dbix-class)
1527 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1529 "https://metacpan.org/release/Catalyst-Authentication-Store-DBIx-Class")
1530 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1531 (description "The Catalyst::Authentication::Store::DBIx::Class class
1532 provides access to authentication information stored in a database via
1534 (license license:perl-license)))
1536 (define-public perl-catalyst-component-instancepercontext
1538 (name "perl-catalyst-component-instancepercontext")
1539 (version "0.001001")
1543 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1544 "Catalyst-Component-InstancePerContext-"
1548 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1549 (build-system perl-build-system)
1551 `(("perl-module-install" ,perl-module-install)))
1553 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1554 ("perl-moose" ,perl-moose)))
1556 "https://metacpan.org/release/Catalyst-Component-InstancePerContext")
1557 (synopsis "Create only one instance of Moose component per context")
1558 (description "Catalyst::Component::InstancePerContext returns a new
1559 instance of a component on each request.")
1560 (license license:perl-license)))
1562 (define-public perl-catalyst-devel
1564 (name "perl-catalyst-devel")
1569 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1570 "Catalyst-Devel-" version ".tar.gz"))
1573 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1574 (build-system perl-build-system)
1576 `(("perl-test-fatal" ,perl-test-fatal)))
1578 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1579 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1580 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1581 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1582 ("perl-config-general" ,perl-config-general)
1583 ("perl-file-changenotify" ,perl-file-changenotify)
1584 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1585 ("perl-file-sharedir" ,perl-file-sharedir)
1586 ("perl-module-install" ,perl-module-install)
1587 ("perl-moose" ,perl-moose)
1588 ("perl-moosex-emulate-class-accessor-fast"
1589 ,perl-moosex-emulate-class-accessor-fast)
1590 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1591 ("perl-namespace-clean" ,perl-namespace-clean)
1592 ("perl-path-class" ,perl-path-class)
1593 ("perl-template-toolkit" ,perl-template-toolkit)))
1594 (home-page "https://metacpan.org/release/Catalyst-Devel")
1595 (synopsis "Catalyst Development Tools")
1596 (description "The Catalyst-Devel distribution includes a variety of
1597 modules useful for the development of Catalyst applications, but not required
1598 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1599 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1600 extension for Catalyst; and requirements for a variety of development-related
1602 (license license:perl-license)))
1604 (define-public perl-catalyst-dispatchtype-regex
1606 (name "perl-catalyst-dispatchtype-regex")
1611 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1612 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1615 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1616 (build-system perl-build-system)
1618 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1619 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1620 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1622 `(("perl-moose" ,perl-moose)
1623 ("perl-text-simpletable" ,perl-text-simpletable)))
1624 (home-page "https://metacpan.org/release/Catalyst-DispatchType-Regex")
1625 (synopsis "Regex DispatchType for Catalyst")
1626 (description "Dispatch type managing path-matching behaviour using
1627 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1628 core. It is recommend that you use Chained methods or other techniques
1629 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1630 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1631 when the dispatch type is first seen in your application.")
1632 (license license:perl-license)))
1634 (define-public perl-catalyst-model-dbic-schema
1636 (name "perl-catalyst-model-dbic-schema")
1641 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1642 "Catalyst-Model-DBIC-Schema-"
1646 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1647 (build-system perl-build-system)
1649 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1650 ("perl-module-install" ,perl-module-install)
1651 ("perl-test-exception" ,perl-test-exception)
1652 ("perl-test-requires" ,perl-test-requires)))
1654 `(("perl-carp-clan" ,perl-carp-clan)
1655 ("perl-catalyst-component-instancepercontext"
1656 ,perl-catalyst-component-instancepercontext)
1657 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1658 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1659 ("perl-dbix-class" ,perl-dbix-class)
1660 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1661 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1662 ("perl-hash-merge" ,perl-hash-merge)
1663 ("perl-list-moreutils" ,perl-list-moreutils)
1664 ("perl-module-runtime" ,perl-module-runtime)
1665 ("perl-moose" ,perl-moose)
1666 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1667 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1668 ("perl-moosex-types" ,perl-moosex-types)
1669 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1670 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1671 ("perl-namespace-clean" ,perl-namespace-clean)
1672 ("perl-tie-ixhash" ,perl-tie-ixhash)
1673 ("perl-try-tiny" ,perl-try-tiny)))
1674 (home-page "https://metacpan.org/release/Catalyst-Model-DBIC-Schema")
1675 (synopsis "DBIx::Class::Schema Model Class")
1676 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1678 (license license:perl-license)))
1680 (define-public perl-catalyst-plugin-accesslog
1682 (name "perl-catalyst-plugin-accesslog")
1687 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1688 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1691 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1692 (build-system perl-build-system)
1694 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1695 ("perl-datetime" ,perl-datetime)
1696 ("perl-moose" ,perl-moose)
1697 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1698 (home-page "https://metacpan.org/release/Catalyst-Plugin-AccessLog")
1699 (synopsis "Request logging from within Catalyst")
1700 (description "This Catalyst plugin enables you to create \"access logs\"
1701 from within a Catalyst application instead of requiring a webserver to do it
1702 for you. It will work even with Catalyst debug logging turned off.")
1703 (license license:perl-license)))
1705 (define-public perl-catalyst-plugin-authentication
1707 (name "perl-catalyst-plugin-authentication")
1712 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1713 "Catalyst-Plugin-Authentication-"
1717 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1718 (build-system perl-build-system)
1720 `(("perl-module-install" ,perl-module-install)))
1722 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1723 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1724 ("perl-class-inspector" ,perl-class-inspector)
1725 ("perl-moose" ,perl-moose)
1726 ("perl-moosex-emulate-class-accessor-fast"
1727 ,perl-moosex-emulate-class-accessor-fast)
1728 ("perl-mro-compat" ,perl-mro-compat)
1729 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1730 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1731 ("perl-test-exception" ,perl-test-exception)
1732 ("perl-try-tiny" ,perl-try-tiny)))
1733 (home-page "https://metacpan.org/release/Catalyst-Plugin-Authentication")
1734 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1735 (description "The authentication plugin provides generic user support for
1736 Catalyst apps. It is the basis for both authentication (checking the user is
1737 who they claim to be), and authorization (allowing the user to do what the
1738 system authorises them to do).")
1739 (license license:perl-license)))
1741 (define-public perl-catalyst-plugin-authorization-roles
1743 (name "perl-catalyst-plugin-authorization-roles")
1748 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1749 "Catalyst-Plugin-Authorization-Roles-"
1753 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1754 (build-system perl-build-system)
1756 `(("perl-module-install" ,perl-module-install)
1757 ("perl-test-exception" ,perl-test-exception)))
1759 `(("perl-catalyst-plugin-authentication"
1760 ,perl-catalyst-plugin-authentication)
1761 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1762 ("perl-set-object" ,perl-set-object)
1763 ("perl-universal-isa" ,perl-universal-isa)))
1765 "https://metacpan.org/release/Catalyst-Plugin-Authorization-Roles")
1766 (synopsis "Role-based authorization for Catalyst")
1767 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1768 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1769 (license license:perl-license)))
1771 (define-public perl-catalyst-plugin-captcha
1773 (name "perl-catalyst-plugin-captcha")
1778 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1779 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1782 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1783 (build-system perl-build-system)
1785 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1786 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1787 ("perl-gd-securityimage" ,perl-gd-securityimage)
1788 ("perl-http-date" ,perl-http-date)))
1789 (home-page "https://metacpan.org/release/Catalyst-Plugin-Captcha")
1790 (synopsis "Captchas for Catalyst")
1791 (description "This plugin creates and validates Captcha images for
1793 (license license:perl-license)))
1795 (define-public perl-catalyst-plugin-configloader
1797 (name "perl-catalyst-plugin-configloader")
1802 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1803 "Catalyst-Plugin-ConfigLoader-"
1807 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1808 (build-system perl-build-system)
1810 `(("perl-path-class" ,perl-path-class)
1811 ("perl-module-install" ,perl-module-install)))
1813 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1814 ("perl-config-any" ,perl-config-any)
1815 ("perl-data-visitor" ,perl-data-visitor)
1816 ("perl-mro-compat" ,perl-mro-compat)))
1817 (home-page "https://metacpan.org/release/Catalyst-Plugin-ConfigLoader")
1818 (synopsis "Load config files of various types")
1819 (description "This module will attempt to load find and load configuration
1820 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1822 (license license:perl-license)))
1824 (define-public perl-catalyst-plugin-session
1826 (name "perl-catalyst-plugin-session")
1831 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1832 "Catalyst-Plugin-Session-" version ".tar.gz"))
1834 (base32 "0a451997zc2vjx7rvndgx1ldbrpic8sfbddyvncynh0zr8bhlqc5"))))
1835 (build-system perl-build-system)
1837 `(("perl-module-install" ,perl-module-install)
1838 ("perl-test-deep" ,perl-test-deep)
1839 ("perl-test-exception" ,perl-test-exception)))
1841 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1842 ("perl-moose" ,perl-moose)
1843 ("perl-moosex-emulate-class-accessor-fast"
1844 ,perl-moosex-emulate-class-accessor-fast)
1845 ("perl-mro-compat" ,perl-mro-compat)
1846 ("perl-namespace-clean" ,perl-namespace-clean)
1847 ("perl-object-signature" ,perl-object-signature)
1848 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1849 (home-page "https://metacpan.org/release/Catalyst-Plugin-Session")
1850 (synopsis "Catalyst generic session plugin")
1851 (description "This plugin links the two pieces required for session
1852 management in web applications together: the state, and the store.")
1853 (license license:perl-license)))
1855 (define-public perl-catalyst-plugin-session-state-cookie
1857 (name "perl-catalyst-plugin-session-state-cookie")
1862 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1863 "Catalyst-Plugin-Session-State-Cookie-"
1867 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1868 (build-system perl-build-system)
1870 `(("perl-module-install" ,perl-module-install)))
1872 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1873 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1874 ("perl-moose" ,perl-moose)
1875 ("perl-mro-compat" ,perl-mro-compat)
1876 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1878 "https://metacpan.org/release/Catalyst-Plugin-Session-State-Cookie")
1879 (synopsis "Maintain session IDs using cookies")
1880 (description "In order for Catalyst::Plugin::Session to work, the session
1881 ID needs to be stored on the client, and the session data needs to be stored
1882 on the server. This plugin stores the session ID on the client using the
1884 (license license:perl-license)))
1886 (define-public perl-catalyst-plugin-session-store-fastmmap
1888 (name "perl-catalyst-plugin-session-store-fastmmap")
1893 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1894 "Catalyst-Plugin-Session-Store-FastMmap-"
1898 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1899 (build-system perl-build-system)
1901 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1902 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1903 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1904 ("perl-moosex-emulate-class-accessor-fast"
1905 ,perl-moosex-emulate-class-accessor-fast)
1906 ("perl-mro-compat" ,perl-mro-compat)
1907 ("perl-path-class" ,perl-path-class)))
1909 "https://metacpan.org/release/Catalyst-Plugin-Session-Store-FastMmap")
1910 (synopsis "FastMmap session storage backend")
1911 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1912 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1913 memory interprocess cache. It is based on Cache::FastMmap.")
1914 (license license:perl-license)))
1916 (define-public perl-catalyst-plugin-stacktrace
1918 (name "perl-catalyst-plugin-stacktrace")
1923 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1924 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1927 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1928 (build-system perl-build-system)
1930 `(("perl-module-install" ,perl-module-install)))
1932 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1933 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1934 ("perl-mro-compat" ,perl-mro-compat)))
1935 (home-page "https://metacpan.org/release/Catalyst-Plugin-StackTrace")
1936 (synopsis "Stack trace on the Catalyst debug screen")
1937 (description "This plugin enhances the standard Catalyst debug screen by
1938 including a stack trace of your application up to the point where the error
1939 occurred. Each stack frame is displayed along with the package name, line
1940 number, file name, and code context surrounding the line number.")
1941 (license license:perl-license)))
1943 (define-public perl-catalyst-plugin-static-simple
1945 (name "perl-catalyst-plugin-static-simple")
1950 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1951 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1954 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
1955 (build-system perl-build-system)
1957 `(("perl-module-install" ,perl-module-install)))
1959 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1960 ("perl-mime-types" ,perl-mime-types)
1961 ("perl-moose" ,perl-moose)
1962 ("perl-moosex-types" ,perl-moosex-types)
1963 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1964 (home-page "https://metacpan.org/release/Catalyst-Plugin-Static-Simple")
1965 (synopsis "Simple serving of static pages")
1966 (description "The Static::Simple plugin is designed to make serving static
1967 content in your application during development quick and easy, without
1968 requiring a single line of code from you. This plugin detects static files by
1969 looking at the file extension in the URL (such as .css or .png or .js). The
1970 plugin uses the lightweight MIME::Types module to map file extensions to
1971 IANA-registered MIME types, and will serve your static files with the correct
1972 MIME type directly to the browser, without being processed through Catalyst.")
1973 (license license:perl-license)))
1975 (define-public perl-catalyst-runtime
1977 (name "perl-catalyst-runtime")
1982 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1983 "Catalyst-Runtime-" version ".tar.gz"))
1986 "1iw7x9rqk3sz2hm1bw01blz5vwm7zlljdf4xj3r8vz54f1yggzqr"))))
1987 (build-system perl-build-system)
1989 `(("perl-test-fatal" ,perl-test-fatal)))
1991 `(("perl-cgi-simple" ,perl-cgi-simple)
1992 ("perl-cgi-struct" ,perl-cgi-struct)
1993 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1994 ("perl-class-date" ,perl-class-date)
1995 ("perl-class-load" ,perl-class-load)
1996 ("perl-data-dump" ,perl-data-dump)
1997 ("perl-http-body" ,perl-http-body)
1998 ("perl-http-message" ,perl-http-message)
1999 ("perl-json-maybexs" ,perl-json-maybexs)
2000 ("perl-libwww" ,perl-libwww)
2001 ("perl-module-pluggable" ,perl-module-pluggable)
2002 ("perl-moose" ,perl-moose)
2003 ("perl-moosex-emulate-class-accessor-fast"
2004 ,perl-moosex-emulate-class-accessor-fast)
2005 ("perl-moosex-getopt" ,perl-moosex-getopt)
2006 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
2007 ("perl-namespace-clean" ,perl-namespace-clean)
2008 ("perl-path-class" ,perl-path-class)
2009 ("perl-plack" ,perl-plack)
2010 ("perl-plack-middleware-fixmissingbodyinredirect"
2011 ,perl-plack-middleware-fixmissingbodyinredirect)
2012 ("perl-plack-middleware-methodoverride"
2013 ,perl-plack-middleware-methodoverride)
2014 ("perl-plack-middleware-removeredundantbody"
2015 ,perl-plack-middleware-removeredundantbody)
2016 ("perl-plack-middleware-reverseproxy"
2017 ,perl-plack-middleware-reverseproxy)
2018 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
2019 ("perl-safe-isa" ,perl-safe-isa)
2020 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
2021 ("perl-text-simpletable" ,perl-text-simpletable)
2022 ("perl-tree-simple" ,perl-tree-simple)
2023 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
2024 ("perl-try-tiny" ,perl-try-tiny)
2025 ("perl-uri" ,perl-uri)
2026 ("perl-uri-ws" ,perl-uri-ws)))
2027 (home-page "https://metacpan.org/release/Catalyst-Runtime")
2028 (synopsis "The Catalyst Framework Runtime")
2029 (description "Catalyst is a modern framework for making web applications.
2030 It is designed to make it easy to manage the various tasks you need to do to
2031 run an application on the web, either by doing them itself, or by letting you
2032 \"plug in\" existing Perl modules that do what you need.")
2033 (license license:perl-license)))
2035 (define-public perl-catalyst-traitfor-request-proxybase
2037 (name "perl-catalyst-traitfor-request-proxybase")
2038 (version "0.000005")
2042 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
2043 "Catalyst-TraitFor-Request-ProxyBase-"
2047 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
2048 (build-system perl-build-system)
2050 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2051 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2052 ("perl-http-message" ,perl-http-message)
2053 ("perl-module-install" ,perl-module-install)))
2055 `(("perl-moose" ,perl-moose)
2056 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2057 ("perl-uri" ,perl-uri)))
2059 "https://metacpan.org/release/Catalyst-TraitFor-Request-ProxyBase")
2060 (synopsis "Replace request base with value passed by HTTP proxy")
2061 (description "This module is a Moose::Role which allows you more
2062 flexibility in your application's deployment configurations when deployed
2063 behind a proxy. Using this module, the request base ($c->req->base) is
2064 replaced with the contents of the X-Request-Base header.")
2065 (license license:perl-license)))
2067 (define-public perl-catalyst-view-download
2069 (name "perl-catalyst-view-download")
2074 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
2075 "Catalyst-View-Download-" version ".tar.gz"))
2078 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
2079 (build-system perl-build-system)
2081 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2082 ("perl-module-install" ,perl-module-install)
2083 ("perl-test-simple" ,perl-test-simple)
2084 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
2085 ("perl-text-csv" ,perl-text-csv)
2086 ("perl-xml-simple" ,perl-xml-simple)))
2087 (home-page "https://metacpan.org/release/Catalyst-View-Download")
2088 (synopsis "Download data in many formats")
2089 (description "The purpose of this module is to provide a method for
2090 downloading data into many supportable formats. For example, downloading a
2091 table based report in a variety of formats (CSV, HTML, etc.).")
2092 (license license:perl-license)))
2094 (define-public perl-catalyst-view-json
2096 (name "perl-catalyst-view-json")
2101 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2102 "Catalyst-View-JSON-" version ".tar.gz"))
2105 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
2106 (build-system perl-build-system)
2108 `(("perl-module-install" ,perl-module-install)
2109 ("perl-yaml" ,perl-yaml)))
2111 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2112 ("perl-json-maybexs" ,perl-json-maybexs)
2113 ("perl-mro-compat" ,perl-mro-compat)))
2114 (home-page "https://metacpan.org/release/Catalyst-View-JSON")
2115 (synopsis "Catalyst JSON view")
2116 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2117 stash data in JSON format.")
2118 (license license:perl-license)))
2120 (define-public perl-catalyst-view-tt
2122 (name "perl-catalyst-view-tt")
2127 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2128 "Catalyst-View-TT-" version ".tar.gz"))
2131 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2132 (build-system perl-build-system)
2134 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2135 ("perl-class-accessor" ,perl-class-accessor)
2136 ("perl-data-dump" ,perl-data-dump)
2137 ("perl-mro-compat" ,perl-mro-compat)
2138 ("perl-path-class" ,perl-path-class)
2139 ("perl-template-timer" ,perl-template-timer)
2140 ("perl-template-toolkit" ,perl-template-toolkit)))
2141 (home-page "https://metacpan.org/release/Catalyst-View-TT")
2142 (synopsis "Template View Class")
2143 (description "This module is a Catalyst view class for the Template
2145 (license license:perl-license)))
2147 (define-public perl-catalystx-component-traits
2149 (name "perl-catalystx-component-traits")
2154 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2155 "CatalystX-Component-Traits-" version ".tar.gz"))
2158 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2159 (build-system perl-build-system)
2161 `(("perl-moose" ,perl-moose)
2162 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2163 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2165 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2166 ("perl-class-load" ,perl-class-load)
2167 ("perl-moose" ,perl-moose)
2168 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2169 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2170 ("perl-list-moreutils" ,perl-list-moreutils)))
2171 (home-page "https://metacpan.org/release/CatalystX-Component-Traits")
2172 (synopsis "Trait Loading and Resolution for Catalyst Components")
2173 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2174 Catalyst component base class that reads the optional \"traits\" parameter
2175 from app and component config and instantiates the component subclass with
2176 those traits using \"new_with_traits\" in MooseX::Traits from
2177 MooseX::Traits::Pluggable.")
2178 (license license:perl-license)))
2180 (define-public perl-catalystx-roleapplicator
2182 (name "perl-catalystx-roleapplicator")
2187 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2188 "CatalystX-RoleApplicator-" version ".tar.gz"))
2191 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2192 (build-system perl-build-system)
2194 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2195 ("perl-moose" ,perl-moose)
2196 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2197 (home-page "https://metacpan.org/release/CatalystX-RoleApplicator")
2198 (synopsis "Apply roles to Catalyst classes")
2199 (description "CatalystX::RoleApplicator applies roles to Catalyst
2200 application classes.")
2201 (license license:perl-license)))
2203 (define-public perl-catalystx-script-server-starman
2205 (name "perl-catalystx-script-server-starman")
2210 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2211 "CatalystX-Script-Server-Starman-"
2215 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2216 (build-system perl-build-system)
2218 `(("perl-module-install" ,perl-module-install)
2219 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2221 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2222 ("perl-moose" ,perl-moose)
2223 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2224 ("starman" ,starman)))
2225 (home-page "https://metacpan.org/release/CatalystX-Script-Server-Starman")
2226 (synopsis "Catalyst development server with Starman")
2227 (description "This module provides a Catalyst extension to replace the
2228 development server with Starman.")
2229 (license license:perl-license)))
2231 (define-public perl-cgi
2238 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2239 "CGI-" version ".tar.gz"))
2242 "1m779315rzj4mpgscw209a2wk18iwg2n8zibn8aak4mv56jz8n4c"))))
2243 (build-system perl-build-system)
2245 `(("perl-test-deep" ,perl-test-deep)
2246 ("perl-test-nowarnings" ,perl-test-nowarnings)
2247 ("perl-test-warn" ,perl-test-warn)))
2249 `(("perl-html-parser" ,perl-html-parser)))
2250 (home-page "https://metacpan.org/release/CGI")
2251 (synopsis "Handle Common Gateway Interface requests and responses")
2252 (description "CGI.pm is a stable, complete and mature solution for
2253 processing and preparing HTTP requests and responses. Major features include
2254 processing form submissions, file uploads, reading and writing cookies, query
2255 string generation and manipulation, and processing and preparing HTTP
2257 (license license:perl-license)))
2259 (define-public perl-cgi-formbuilder
2261 (name "perl-cgi-formbuilder")
2267 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2268 "CGI-FormBuilder-" version ".tar.gz"))
2271 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2272 (build-system perl-build-system)
2273 (inputs `(("perl-cgi" ,perl-cgi)))
2275 "https://metacpan.org/release/CGI-FormBuilder")
2277 "Generate and process stateful forms")
2279 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2280 form-based applications.")
2281 (license license:perl-license)))
2283 (define-public perl-cgi-session
2285 (name "perl-cgi-session")
2291 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2296 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2297 (build-system perl-build-system)
2299 `(("perl-module-build" ,perl-module-build)))
2300 (inputs `(("perl-cgi" ,perl-cgi)))
2302 "https://metacpan.org/release/CGI-Session")
2304 "Persistent session data in CGI applications")
2306 "@code{CGI::Session} provides modular session management system across
2308 (license license:perl-license)))
2310 (define-public perl-cgi-simple
2312 (name "perl-cgi-simple")
2317 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2318 "CGI-Simple-" version ".tar.gz"))
2320 (base32 "1wzc2igs4khmj7zfahvs87c24p9ks8hnqhhsyviyiix53xx2y6sg"))))
2321 (build-system perl-build-system)
2323 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2324 ("perl-module-build" ,perl-module-build)
2325 ("perl-test-exception" ,perl-test-exception)
2326 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2327 (home-page "https://metacpan.org/release/CGI-Simple")
2328 (synopsis "CGI interface that is CGI.pm compliant")
2329 (description "CGI::Simple provides a relatively lightweight drop in
2330 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2331 parameter parsing, file upload, cookie handling and header generation.")
2332 (license license:perl-license)))
2334 (define-public perl-cgi-struct
2336 (name "perl-cgi-struct")
2341 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2342 "CGI-Struct-" version ".tar.gz"))
2345 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2346 (build-system perl-build-system)
2348 `(("perl-test-deep" ,perl-test-deep)))
2349 (home-page "https://metacpan.org/release/CGI-Struct")
2350 (synopsis "Build structures from CGI data")
2351 (description "This is a module for building structured data from CGI
2352 inputs, in a manner reminiscent of how PHP does.")
2353 (license license:bsd-2)))
2355 (define-public perl-datetime-format-http
2357 (name "perl-datetime-format-http")
2362 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2363 "DateTime-Format-HTTP-" version ".tar.gz"))
2366 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2367 (build-system perl-build-system)
2369 `(("perl-module-build" ,perl-module-build)))
2371 `(("perl-datetime" ,perl-datetime)
2372 ("perl-http-date" ,perl-http-date)))
2373 (home-page "https://metacpan.org/release/DateTime-Format-HTTP")
2374 (synopsis "Date conversion routines")
2375 (description "This module provides functions that deal with the date
2376 formats used by the HTTP protocol.")
2377 (license license:perl-license)))
2379 (define-public perl-digest-md5-file
2381 (name "perl-digest-md5-file")
2386 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2387 "Digest-MD5-File-" version ".tar.gz"))
2390 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2391 (build-system perl-build-system)
2393 `(("perl-libwww" ,perl-libwww)))
2394 (home-page "https://metacpan.org/release/Digest-MD5-File")
2395 (synopsis "MD5 sums for files and urls")
2396 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2397 for files and urls.")
2398 (license license:perl-license)))
2400 (define-public perl-encode-locale
2402 (name "perl-encode-locale")
2407 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2411 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2412 (build-system perl-build-system)
2413 (license license:perl-license)
2414 (synopsis "Perl locale encoding determination")
2416 "The POSIX locale system is used to specify both the language
2417 conventions requested by the user and the preferred character set to
2418 consume and output. The Encode::Locale module looks up the charset and
2419 encoding (called a CODESET in the locale jargon) and arranges for the
2420 Encode module to know this encoding under the name \"locale\". It means
2421 bytes obtained from the environment can be converted to Unicode strings
2422 by calling Encode::encode(locale => $bytes) and converted back again
2423 with Encode::decode(locale => $string).")
2424 (home-page "https://metacpan.org/release/Encode-Locale")))
2426 (define-public perl-feed-find
2428 (name "perl-feed-find")
2432 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2433 "Feed-Find-" version ".tar.gz"))
2436 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2437 (build-system perl-build-system)
2439 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2442 (modify-phases %standard-phases
2443 (add-after 'unpack 'set-env
2444 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2446 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2447 ("perl-html-parser" ,perl-html-parser)
2448 ("perl-libwww" ,perl-libwww)
2449 ("perl-uri" ,perl-uri)))
2450 (home-page "https://metacpan.org/release/Feed-Find")
2451 (synopsis "Syndication feed auto-discovery")
2452 (description "@code{Feed::Find} implements feed auto-discovery for finding
2453 syndication feeds, given a URI. It will discover the following feed formats:
2454 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2455 (license license:perl-license)))
2457 (define-public perl-file-listing
2459 (name "perl-file-listing")
2464 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2468 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2469 (build-system perl-build-system)
2471 `(("perl-http-date" ,perl-http-date)))
2472 (license license:perl-license)
2473 (synopsis "Perl directory listing parser")
2475 "The File::Listing module exports a single function called parse_dir(),
2476 which can be used to parse directory listings.")
2477 (home-page "https://metacpan.org/release/File-Listing")))
2479 (define-public perl-finance-quote
2481 (name "perl-finance-quote")
2486 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2487 "Finance-Quote-" version ".tar.gz"))
2489 (base32 "0gzbq85738f299jaw4nj3ljnka380j2y6yspmyl71rgfypqjvbr7"))
2490 (patches (search-patches
2491 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2492 (build-system perl-build-system)
2494 `(("perl-cgi" ,perl-cgi)
2495 ("perl-datetime" ,perl-datetime)
2496 ("perl-html-parser" ,perl-html-parser)
2497 ("perl-html-tableextract" ,perl-html-tableextract)
2498 ("perl-html-tree" ,perl-html-tree)
2499 ("perl-http-cookies" ,perl-http-cookies)
2500 ("perl-http-message" ,perl-http-message)
2501 ("perl-json" ,perl-json)
2502 ("perl-libwww" ,perl-libwww)
2503 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2504 ("perl-uri" ,perl-uri)))
2505 (home-page "https://metacpan.org/release/Finance-Quote")
2506 (synopsis "Stock and mutual fund quotes")
2508 "Finance::Quote gets stock quotes from various internet sources, including
2509 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2510 (license license:gpl2)))
2512 (define-public perl-gssapi
2514 (name "perl-gssapi")
2519 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2520 "GSSAPI-" version ".tar.gz"))
2523 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2524 (build-system perl-build-system)
2525 (inputs `(("gssapi" ,mit-krb5)))
2527 `(#:make-maker-flags
2528 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2529 (home-page "https://metacpan.org/release/GSSAPI")
2530 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2531 (description "This is a Perl extension for using GSSAPI C bindings as
2532 described in RFC 2744.")
2533 (license license:perl-license)))
2535 (define-public perl-html-element-extended
2537 (name "perl-html-element-extended")
2542 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2543 "HTML-Element-Extended-" version ".tar.gz"))
2546 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2547 (build-system perl-build-system)
2549 `(("perl-html-tree" ,perl-html-tree)))
2550 (home-page "https://metacpan.org/release/HTML-Element-Extended")
2551 (synopsis "Manipulate tables of HTML::Element")
2553 "HTML::Element::Extended is a Perl extension for manipulating a table
2554 composed of HTML::Element style components.")
2555 (license license:perl-license)))
2557 (define-public perl-html-form
2559 (name "perl-html-form")
2564 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
2565 "HTML-Form-" version ".tar.gz"))
2567 (base32 "100090bdsr5kapv8h0wxzwlzfbfqn57rq9gzrvg9i6hvnsl5gmcw"))))
2568 (build-system perl-build-system)
2570 `(("perl-html-parser" ,perl-html-parser)
2571 ("perl-html-tagset" ,perl-html-tagset)
2572 ("perl-http-message" ,perl-http-message)
2573 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2574 ("perl-uri" ,perl-uri)))
2575 (home-page "https://metacpan.org/release/HTML-Form")
2576 (synopsis "Perl class representing an HTML form element")
2577 (description "Objects of the HTML::Form class represents a single HTML
2578 <form> ... </form> instance.")
2579 (license license:perl-license)))
2581 (define-public perl-html-scrubber
2583 (name "perl-html-scrubber")
2589 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2594 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
2595 (build-system perl-build-system)
2597 `(("perl-module-build" ,perl-module-build)
2598 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2599 ("perl-test-differences" ,perl-test-differences)
2600 ("perl-test-eol" ,perl-test-eol)
2601 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2602 ("perl-test-notabs" ,perl-test-notabs)))
2604 `(("perl-html-parser" ,perl-html-parser)))
2606 "https://metacpan.org/release/HTML-Scrubber")
2608 "Perl extension for scrubbing/sanitizing html")
2610 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2611 (license license:perl-license)))
2613 (define-public perl-html-lint
2615 (name "perl-html-lint")
2620 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2621 "HTML-Lint-" version ".tar.gz"))
2623 (base32 "0lk02xpfxcg7ij4dvpsa4wjlzhmiizj0jfr3rwmdpbj69nvc93br"))))
2624 (build-system perl-build-system)
2626 `(("perl-html-parser" ,perl-html-parser)
2627 ("perl-html-tagset" ,perl-html-tagset)
2628 ("perl-libwww" ,perl-libwww)))
2629 (home-page "https://metacpan.org/release/HTML-Lint")
2630 (synopsis "Check for HTML errors in a string or file")
2631 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2632 syntactic legitmacy.")
2633 (license license:artistic2.0)))
2635 (define-public perl-html-tableextract
2637 (name "perl-html-tableextract")
2642 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2643 "HTML-TableExtract-" version ".tar.gz"))
2646 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2647 (build-system perl-build-system)
2649 `(("perl-html-element-extended" ,perl-html-element-extended)
2650 ("perl-html-parser" ,perl-html-parser)))
2651 (home-page "https://metacpan.org/release/HTML-TableExtract")
2652 (synopsis "Extract contents from HTML tables")
2654 "HTML::TableExtract is a Perl module for extracting the content contained
2655 in tables within an HTML document, either as text or encoded element trees.")
2656 (license license:perl-license)))
2658 (define-public perl-html-tree
2660 (name "perl-html-tree")
2665 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2666 "HTML-Tree-" version ".tar.gz"))
2669 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
2670 (build-system perl-build-system)
2672 `(("perl-module-build" ,perl-module-build)
2673 ("perl-test-fatal" ,perl-test-fatal)))
2675 `(("perl-html-parser" ,perl-html-parser)
2676 ("perl-html-tagset" ,perl-html-tagset)
2677 ("perl-libwww" ,perl-libwww)))
2678 (home-page "https://metacpan.org/release/HTML-Tree")
2679 (synopsis "Work with HTML in a DOM-like tree structure")
2680 (description "This distribution contains a suite of modules for
2681 representing, creating, and extracting information from HTML syntax trees.")
2682 (license license:perl-license)))
2684 (define-public perl-html-parser
2686 (name "perl-html-parser")
2691 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2695 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2696 (build-system perl-build-system)
2698 `(("perl-html-tagset" ,perl-html-tagset)
2699 ("perl-http-message" ,perl-http-message)))
2700 (license license:perl-license)
2701 (synopsis "Perl HTML parser class")
2703 "Objects of the HTML::Parser class will recognize markup and separate
2704 it from plain text (alias data content) in HTML documents. As different
2705 kinds of markup and text are recognized, the corresponding event handlers
2707 (home-page "https://metacpan.org/release/HTML-Parser")))
2709 (define-public perl-html-tagset
2711 (name "perl-html-tagset")
2716 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2720 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2721 (build-system perl-build-system)
2722 (license license:perl-license)
2723 (synopsis "Perl data tables useful in parsing HTML")
2725 "The HTML::Tagset module contains several data tables useful in various
2726 kinds of HTML parsing operations.")
2727 (home-page "https://metacpan.org/release/HTML-Tagset")))
2729 (define-public perl-html-template
2731 (name "perl-html-template")
2735 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2736 "HTML-Template-" version ".tar.gz"))
2739 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2740 (build-system perl-build-system)
2742 `(("perl-cgi" ,perl-cgi)))
2743 (home-page "https://metacpan.org/release/HTML-Template")
2744 (synopsis "HTML-like templates")
2746 "This module attempts to make using HTML templates simple and natural.
2747 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2748 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2749 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2750 these new tags is called a template. Using this module you fill in the values
2751 for the variables, loops and branches declared in the template. This allows
2752 you to separate design from the data.")
2753 (license license:perl-license)))
2755 (define-public perl-http-body
2757 (name "perl-http-body")
2762 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2763 "HTTP-Body-" version ".tar.gz"))
2766 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2767 (build-system perl-build-system)
2769 `(("perl-test-deep" ,perl-test-deep)))
2771 `(("perl-file-temp" ,perl-file-temp)
2772 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2773 (home-page "https://metacpan.org/release/HTTP-Body")
2774 (synopsis "HTTP Body Parser")
2775 (description "HTTP::Body parses chunks of HTTP POST data and supports
2776 application/octet-stream, application/json, application/x-www-form-urlencoded,
2777 and multipart/form-data.")
2778 (license license:perl-license)))
2780 (define-public perl-http-cookiejar
2782 (name "perl-http-cookiejar")
2787 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2788 "HTTP-CookieJar-" version ".tar.gz"))
2791 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2792 (build-system perl-build-system)
2794 `(("perl-test-deep" ,perl-test-deep)
2795 ("perl-test-requires" ,perl-test-requires)
2796 ("perl-time-mock" ,perl-time-mock)
2797 ("perl-uri" ,perl-uri)))
2799 `(("perl-time-local" ,perl-time-local)
2800 ("perl-http-date" ,perl-http-date)))
2801 (home-page "https://metacpan.org/release/HTTP-CookieJar")
2802 (synopsis "Minimalist HTTP user agent cookie jar")
2803 (description "This module implements a minimalist HTTP user agent cookie
2804 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2805 (license license:asl2.0)))
2807 (define-public perl-http-cookies
2809 (name "perl-http-cookies")
2814 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
2818 "1m0kxcirbvbkrm2c59p1bkbvzlcdymg8fdpa7wlxijlx0xwz1iqc"))))
2819 (build-system perl-build-system)
2821 `(("perl-http-message" ,perl-http-message)))
2822 (license license:perl-license)
2823 (synopsis "Perl HTTP cookie jars")
2825 "The HTTP::Cookies class is for objects that represent a cookie jar,
2826 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2827 object knows about.")
2828 (home-page "https://metacpan.org/release/GAAS/HTTP-Cookies-6.01")))
2830 (define-public perl-http-daemon
2832 (name "perl-http-daemon")
2837 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2841 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2842 (build-system perl-build-system)
2844 `(("perl-http-message" ,perl-http-message)
2845 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2846 (license license:perl-license)
2847 (synopsis "Perl simple http server class")
2849 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2850 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2851 IO::Socket::INET, so you can perform socket operations directly on it too.")
2852 (home-page "https://metacpan.org/release/HTTP-Daemon")))
2854 (define-public perl-http-date
2856 (name "perl-http-date")
2861 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2865 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2866 (build-system perl-build-system)
2867 (license license:perl-license)
2868 (synopsis "Perl date conversion routines")
2870 "The HTTP::Date module provides functions that deal with date formats
2871 used by the HTTP protocol (and then some more).")
2872 (home-page "https://metacpan.org/release/HTTP-Date")))
2874 (define-public perl-http-message
2876 (name "perl-http-message")
2881 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
2885 "11fbvisyvi6bw8z9iq9fm9mraf69qyds09fblhl9gyvg7ccll93v"))))
2886 (build-system perl-build-system)
2888 `(("perl-try-tiny" ,perl-try-tiny)))
2890 `(("perl-encode-locale" ,perl-encode-locale)
2891 ("perl-http-date" ,perl-http-date)
2892 ("perl-io-html" ,perl-io-html)
2893 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2894 ("perl-uri" ,perl-uri)))
2895 (license license:perl-license)
2896 (synopsis "Perl HTTP style message")
2898 "An HTTP::Message object contains some headers and a content body.")
2899 (home-page "https://metacpan.org/release/ETHER/HTTP-Message-6.11")))
2901 (define-public perl-http-negotiate
2903 (name "perl-http-negotiate")
2908 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2912 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2913 (build-system perl-build-system)
2915 `(("perl-http-message" ,perl-http-message)))
2916 (license license:perl-license)
2917 (synopsis "Perl http content negotiation")
2919 "The HTTP::Negotiate module provides a complete implementation of the
2920 HTTP content negotiation algorithm specified in
2921 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2922 the selection of a preferred content representation based upon attributes
2923 of the negotiable variants and the value of the various Accept* header
2924 fields in the request.")
2925 (home-page "https://metacpan.org/release/HTTP-Negotiate")))
2927 (define-public perl-http-parser
2929 (name "perl-http-parser")
2934 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2935 "HTTP-Parser-" version ".tar.gz"))
2938 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2939 (build-system perl-build-system)
2941 `(("perl-http-message" ,perl-http-message)
2942 ("perl-uri" ,perl-uri)))
2943 (home-page "https://metacpan.org/release/HTTP-Parser")
2944 (synopsis "Parse HTTP/1.1 requests")
2945 (description "This is an HTTP request parser. It takes chunks of text as
2946 received and returns a @code{hint} as to what is required, or returns the
2947 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2949 (license license:perl-license)))
2951 (define-public perl-http-parser-xs
2953 (name "perl-http-parser-xs")
2958 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2959 "HTTP-Parser-XS-" version ".tar.gz"))
2962 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2963 (build-system perl-build-system)
2965 `(("perl-module-install" ,perl-module-install)))
2966 (home-page "https://metacpan.org/release/HTTP-Parser-XS")
2967 (synopsis "Fast HTTP request parser")
2968 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2970 (license license:perl-license)))
2972 (define-public perl-http-request-ascgi
2974 (name "perl-http-request-ascgi")
2979 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2980 "HTTP-Request-AsCGI-" version ".tar.gz"))
2983 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2984 (build-system perl-build-system)
2986 `(("perl-class-accessor" ,perl-class-accessor)
2987 ("perl-http-message" ,perl-http-message)))
2988 (home-page "https://metacpan.org/release/HTTP-Request-AsCGI")
2989 (synopsis "Set up a CGI environment from an HTTP::Request")
2990 (description "This module provides a convenient way to set up a CGI
2991 environment from an HTTP::Request.")
2992 (license license:perl-license)))
2994 (define-public perl-http-server-simple
2996 (name "perl-http-server-simple")
3001 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
3002 "HTTP-Server-Simple-" version ".tar.gz"))
3005 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
3006 (build-system perl-build-system)
3008 `(("perl-cgi" ,perl-cgi)))
3010 ;; See the discussion of a related tests issue at
3011 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
3014 #:phases (modify-phases %standard-phases
3015 (add-before 'configure 'set-search-path
3017 ;; Work around "dotless @INC" build failure.
3019 (string-append (getcwd) ":"
3020 (getenv "PERL5LIB")))
3022 (home-page "https://metacpan.org/release/HTTP-Server-Simple")
3023 (synopsis "Lightweight HTTP server")
3024 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
3025 no non-core module dependencies. It can be used for building a standalone
3026 http-based UI to your existing tools.")
3027 (license license:perl-license)))
3029 (define-public perl-http-tiny
3031 (name "perl-http-tiny")
3036 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
3037 "HTTP-Tiny-" version ".tar.gz"))
3040 "11wkxxqj3ff84rgj9q2gzkdgscwp3fzj205846k9ycqinlpsmgfx"))))
3041 (build-system perl-build-system)
3043 `(("perl-http-cookiejar" ,perl-http-cookiejar)
3044 ("perl-io-socket-ip" ,perl-io-socket-ip)
3045 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
3046 ("perl-mozilla-ca" ,perl-mozilla-ca)
3047 ("perl-net-ssleay" ,perl-net-ssleay)))
3048 (home-page "https://metacpan.org/release/HTTP-Tiny")
3049 (synopsis "HTTP/1.1 client")
3050 (description "This is a very simple HTTP/1.1 client, designed for doing
3051 simple requests without the overhead of a large framework like LWP::UserAgent.
3052 It supports proxies and redirection. It also correctly resumes after EINTR.")
3053 (license license:perl-license)))
3055 (define-public perl-http-tinyish
3057 (name "perl-http-tinyish")
3063 "mirror://cpan/authors/id/M/MI/MIYAGAWA/HTTP-Tinyish-"
3068 "199sa722amvwhq0czjfb7psj3hbqmvni5vxkrm579r5943pg0rax"))))
3069 (build-system perl-build-system)
3071 `(("perl-file-which" ,perl-file-which)
3072 ("perl-ipc-run3" ,perl-ipc-run3)))
3073 (home-page "https://metacpan.org/release/HTTP-Tinyish")
3074 (synopsis "@code{HTTP::Tiny} compatible HTTP client wrappers")
3076 "@code{HTTP::Tinyish} is a wrapper module for @acronym{LWP,libwww-perl},
3077 @code{HTTP::Tiny}, curl and wget.
3079 It provides an API compatible to HTTP::Tiny.")
3080 (license license:perl-license)))
3082 (define-public perl-io-html
3084 (name "perl-io-html")
3089 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3093 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3094 (build-system perl-build-system)
3095 (license license:perl-license)
3096 (synopsis "Perl module to open an HTML file with automatic charset detection")
3098 "IO::HTML provides an easy way to open a file containing HTML while
3099 automatically determining its encoding. It uses the HTML5 encoding sniffing
3100 algorithm specified in section 8.2.2.1 of the draft standard.")
3101 (home-page "https://metacpan.org/release/IO-HTML")))
3103 (define-public perl-io-socket-ip
3105 (name "perl-io-socket-ip")
3110 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
3111 "IO-Socket-IP-" version ".tar.gz"))
3114 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
3115 (build-system perl-build-system)
3116 (native-inputs `(("perl-module-build" ,perl-module-build)))
3117 (home-page "https://metacpan.org/release/IO-Socket-IP")
3118 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
3119 (description "This module provides a protocol-independent way to use IPv4
3120 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
3121 (license license:perl-license)))
3123 (define-public perl-io-socket-ssl
3125 (name "perl-io-socket-ssl")
3129 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
3130 "IO-Socket-SSL-" version ".tar.gz"))
3133 "1kgbws7dwp2hh16qid7169dfkhmcwg7dz9ffbm6k0id5h53hciqd"))
3134 (patches (search-patches
3135 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3136 (build-system perl-build-system)
3138 `(("perl-net-ssleay" ,perl-net-ssleay)
3140 ("perl-uri" ,perl-uri)))
3141 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3143 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3144 necessary functionality into the familiar IO::Socket interface and providing
3145 secure defaults whenever possible. This way existing applications can be made
3146 SSL-aware without much effort, at least if you do blocking I/O and don't use
3148 (license license:perl-license)
3149 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3151 (define-public perl-libwww
3153 (name "perl-libwww")
3158 "mirror://cpan/authors/id/O/OA/OALDERS/libwww-perl-"
3162 "1mblfwz3g7vmyykmb0mcbmmad77rwx55fwaca9ymv9wajd3pg3cs"))))
3163 (build-system perl-build-system)
3165 `(("perl-test-fatal" ,perl-test-fatal)
3166 ("perl-test-needs" ,perl-test-needs)
3167 ("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3169 `(("perl-encode-locale" ,perl-encode-locale)
3170 ("perl-file-listing" ,perl-file-listing)
3171 ("perl-html-parser" ,perl-html-parser)
3172 ("perl-http-cookies" ,perl-http-cookies)
3173 ("perl-http-daemon" ,perl-http-daemon)
3174 ("perl-http-date" ,perl-http-date)
3175 ("perl-http-message" ,perl-http-message)
3176 ("perl-http-negotiate" ,perl-http-negotiate)
3177 ("perl-net-http" ,perl-net-http)
3178 ("perl-try-tiny" ,perl-try-tiny)
3179 ("perl-uri" ,perl-uri)
3180 ("perl-www-robotrules" ,perl-www-robotrules)))
3181 (license license:perl-license)
3182 (synopsis "Perl modules for the WWW")
3184 "The libwww-perl collection is a set of Perl modules which provides a
3185 simple and consistent application programming interface to the
3186 World-Wide Web. The main focus of the library is to provide classes
3187 and functions that allow you to write WWW clients. The library also
3188 contains modules that are of more general use and even classes that
3189 help you implement simple HTTP servers.")
3190 (home-page "https://metacpan.org/release/libwww-perl")))
3192 (define-public perl-lwp-online
3194 (name "perl-lwp-online")
3200 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3204 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3205 (build-system perl-build-system)
3207 `(("perl-libwww" ,perl-libwww)
3208 ("perl-uri" ,perl-uri)))
3210 `(("perl-module-install" ,perl-module-install)))
3211 (home-page "https://metacpan.org/release/LWP-Online")
3212 (synopsis "Checks whether your process has access to the web")
3213 (description "This module attempts to answer, as accurately as it can, one
3214 of the nastiest technical questions there is: am I on the internet?
3216 A host of networking and security issues make this problem very difficult.
3217 There are firewalls, proxies (both well behaved and badly behaved). We might
3218 not have DNS. We might not have a network card at all!")
3219 (license license:perl-license)))
3221 (define-public perl-lwp-mediatypes
3223 (name "perl-lwp-mediatypes")
3228 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
3232 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
3233 (build-system perl-build-system)
3234 (license license:perl-license)
3235 (synopsis "Perl module to guess the media type for a file or a URL")
3237 "The LWP::MediaTypes module provides functions for handling media (also
3238 known as MIME) types and encodings. The mapping from file extensions to
3239 media types is defined by the media.types file. If the ~/.media.types file
3240 exists it is used instead.")
3241 (home-page "https://metacpan.org/release/LWP-MediaTypes")))
3243 (define-public perl-lwp-protocol-https
3245 (name "perl-lwp-protocol-https")
3250 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3251 "LWP-Protocol-https-" version ".tar.gz"))
3254 "1rxrpwylfw1afah0nk96kgkwjbl2p1a7lwx50iipg8c4rx3cjb2j"))))
3255 (build-system perl-build-system)
3258 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3260 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3261 ("perl-libwww" ,perl-libwww)
3262 ;; Users should instead make sure SSL_ca_path is set properly.
3263 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3264 ("perl-net-http" ,perl-net-http)))
3265 (home-page "https://metacpan.org/release/LWP-Protocol-https")
3266 (synopsis "HTTPS support for LWP::UserAgent")
3267 (description "The LWP::Protocol::https module provides support for using
3268 https schemed URLs with LWP.")
3269 (license license:perl-license)))
3271 (define-public perl-lwp-useragent-determined
3273 (name "perl-lwp-useragent-determined")
3278 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3279 "LWP-UserAgent-Determined-" version ".tar.gz"))
3282 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3283 (build-system perl-build-system)
3285 `(("perl-libwww" ,perl-libwww)))
3286 (home-page "https://metacpan.org/release/LWP-UserAgent-Determined")
3287 (synopsis "Virtual browser that retries errors")
3288 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3289 except that when you use it to get a web page but run into a
3290 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3291 and retry a few times.")
3292 (license license:perl-license)))
3294 (define-public perl-net-amazon-s3
3296 (name "perl-net-amazon-s3")
3301 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3302 "Net-Amazon-S3-" version ".tar.gz"))
3305 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3306 (patches (search-patches
3307 "perl-net-amazon-s3-moose-warning.patch"))))
3308 (build-system perl-build-system)
3310 `(("perl-libwww" ,perl-libwww)
3311 ("perl-test-exception" ,perl-test-exception)))
3313 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3314 ("perl-datetime-format-http" ,perl-datetime-format-http)
3315 ("perl-digest-hmac" ,perl-digest-hmac)
3316 ("perl-digest-md5-file" ,perl-digest-md5-file)
3317 ("perl-file-find-rule" ,perl-file-find-rule)
3318 ("perl-http-date" ,perl-http-date)
3319 ("perl-http-message" ,perl-http-message)
3320 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3321 ("perl-mime-types" ,perl-mime-types)
3322 ("perl-moose" ,perl-moose)
3323 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3324 ("perl-moosex-types-datetime-morecoercions"
3325 ,perl-moosex-types-datetime-morecoercions)
3326 ("perl-path-class" ,perl-path-class)
3327 ("perl-regexp-common" ,perl-regexp-common)
3328 ("perl-term-encoding" ,perl-term-encoding)
3329 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3330 ("perl-uri" ,perl-uri)
3331 ("perl-xml-libxml" ,perl-xml-libxml)))
3332 (home-page "https://metacpan.org/release/Net-Amazon-S3")
3333 (synopsis "Perl interface to Amazon S3")
3334 (description "This module provides a Perlish interface to Amazon S3.")
3335 (license license:perl-license)))
3337 (define-public perl-net-http
3339 (name "perl-net-http")
3344 "mirror://cpan/authors/id/O/OA/OALDERS/"
3345 "Net-HTTP-" version ".tar.gz"))
3348 "1i1gbcwdzx74whn5vn6xbr2cp7frldfz2rfrcjp2qljr770nxdsj"))))
3349 (build-system perl-build-system)
3351 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3352 ("perl-uri" ,perl-uri)))
3353 (license license:perl-license)
3354 (synopsis "Perl low-level HTTP connection (client)")
3356 "The Net::HTTP class is a low-level HTTP client. An instance of the
3357 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3358 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3360 (home-page "https://metacpan.org/release/Net-HTTP")))
3362 (define-public perl-net-server
3364 (name "perl-net-server")
3369 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3370 "Net-Server-" version ".tar.gz"))
3373 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3374 (build-system perl-build-system)
3375 (home-page "https://metacpan.org/release/Net-Server")
3376 (synopsis "Extensible Perl server engine")
3377 (description "Net::Server is an extensible, generic Perl server engine.
3378 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3379 It includes with it the ability to run as an inetd
3380 process (Net::Server::INET), a single connection server (Net::Server or
3381 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3382 server which maintains a constant number of preforked
3383 children (Net::Server::PreForkSimple), or as a managed preforking server which
3384 maintains the number of children based on server load (Net::Server::PreFork).
3385 In all but the inetd type, the server provides the ability to connect to one
3386 or to multiple server ports.")
3387 (license license:perl-license)))
3389 (define-public perl-net-smtp-ssl
3391 (name "perl-net-smtp-ssl")
3396 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3397 "Net-SMTP-SSL-" version ".tar.gz"))
3400 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3401 (build-system perl-build-system)
3403 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3404 (home-page "https://metacpan.org/release/Net-SMTP-SSL")
3405 (synopsis "SSL support for Net::SMTP")
3406 (description "SSL support for Net::SMTP.")
3407 (license license:perl-license)))
3409 (define-public perl-plack
3416 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3417 "Plack-" version ".tar.gz"))
3420 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3421 (build-system perl-build-system)
3423 `(("perl-test-requires" ,perl-test-requires)
3424 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3426 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3427 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3428 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3429 ("perl-file-sharedir" ,perl-file-sharedir)
3430 ("perl-hash-multivalue" ,perl-hash-multivalue)
3431 ("perl-http-body" ,perl-http-body)
3432 ("perl-http-message" ,perl-http-message)
3433 ("perl-http-tiny" ,perl-http-tiny)
3434 ("perl-libwww" ,perl-libwww)
3435 ("perl-stream-buffered" ,perl-stream-buffered)
3436 ("perl-test-tcp" ,perl-test-tcp)
3437 ("perl-try-tiny" ,perl-try-tiny)
3438 ("perl-uri" ,perl-uri)))
3439 (home-page "https://metacpan.org/release/Plack")
3440 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3441 (description "Plack is a set of tools for using the PSGI stack. It
3442 contains middleware components, a reference server, and utilities for Web
3443 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3445 (license license:perl-license)))
3447 (define-public perl-plack-middleware-deflater
3449 (name "perl-plack-middleware-deflater")
3455 "mirror://cpan/authors/id/K/KA/KAZEBURO/"
3456 "Plack-Middleware-Deflater-" version ".tar.gz"))
3459 "0xf2visi16hgwgyp9q0cjr10ikbn474hjia5mj8mb2scvbkrbni8"))))
3460 (build-system perl-build-system)
3462 `(("perl-module-install" ,perl-module-install)
3463 ("perl-test-requires" ,perl-test-requires)))
3465 `(("perl-plack" ,perl-plack)))
3466 (home-page "https://metacpan.org/release/Plack-Middleware-Deflater")
3467 (synopsis "Compress response body with Gzip or Deflate")
3469 "Plack::Middleware::Deflater is a middleware to encode your response body
3470 in gzip or deflate, based on \"Accept-Encoding\" HTTP request header. It
3471 would save the bandwidth a little bit but should increase the Plack server
3472 load, so ideally you should handle this on the frontend reverse proxy
3474 (license license:perl-license)))
3476 (define-public perl-plack-middleware-fixmissingbodyinredirect
3478 (name "perl-plack-middleware-fixmissingbodyinredirect")
3483 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3484 "Plack-Middleware-FixMissingBodyInRedirect-"
3488 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3489 (build-system perl-build-system)
3491 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3492 ("perl-http-message" ,perl-http-message)
3493 ("perl-plack" ,perl-plack))) ;for Plack::Test
3495 "https://metacpan.org/release/Plack-Middleware-FixMissingBodyInRedirect")
3496 (synopsis "Plack::Middleware which sets body for redirect response")
3497 (description "This module sets the body in redirect response, if it's not
3499 (license license:perl-license)))
3501 (define-public perl-plack-middleware-methodoverride
3503 (name "perl-plack-middleware-methodoverride")
3508 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3509 "Plack-Middleware-MethodOverride-"
3512 (base32 "1wdmmav3rbhv49zpw311zrxxqmg1fz3f3q9src0ypgs8zcp5myyv"))))
3513 (build-system perl-build-system)
3515 `(("perl-module-build" ,perl-module-build)))
3517 `(("perl-plack" ,perl-plack)))
3518 (home-page "https://metacpan.org/release/Plack-Middleware-MethodOverride")
3519 (synopsis "Override REST methods to Plack apps via POST")
3520 (description "This middleware allows for POST requests that pretend to be
3521 something else: by adding either a header named X-HTTP-Method-Override to the
3522 request, or a query parameter named x-tunneled-method to the URI, the client
3523 can say what method it actually meant.")
3524 (license license:perl-license)))
3526 (define-public perl-plack-middleware-removeredundantbody
3528 (name "perl-plack-middleware-removeredundantbody")
3533 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3534 "Plack-Middleware-RemoveRedundantBody-"
3537 (base32 "1hz3kgb5vw4r02gfk9i911f5ykvz55lrsx45bdcllk2bszal3f34"))))
3538 (build-system perl-build-system)
3540 `(("perl-plack" ,perl-plack)))
3542 "https://metacpan.org/release/Plack-Middleware-RemoveRedundantBody")
3543 (synopsis "Plack::Middleware which removes body for HTTP response")
3544 (description "This module removes the body in an HTTP response if it's not
3546 (license license:perl-license)))
3548 (define-public perl-plack-middleware-reverseproxy
3550 (name "perl-plack-middleware-reverseproxy")
3555 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3556 "Plack-Middleware-ReverseProxy-"
3559 (base32 "0a512n62pnk5ayj3zdzyj50iy1qi8nwh6ygks2h7nrh7gp9k2jc7"))))
3560 (build-system perl-build-system)
3562 `(("perl-module-install" ,perl-module-install)))
3564 `(("perl-plack" ,perl-plack)))
3565 (home-page "https://metacpan.org/release/Plack-Middleware-ReverseProxy")
3566 (synopsis "Supports app to run as a reverse proxy backend")
3567 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3568 which are changed by reverse-proxy. You can specify the reverse proxy address
3569 and stop fake requests using @code{enable_if} directive in your app.psgi.")
3570 (license license:perl-license)))
3572 (define-public perl-plack-test-externalserver
3574 (name "perl-plack-test-externalserver")
3579 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3580 "Plack-Test-ExternalServer-" version ".tar.gz"))
3582 (base32 "1l1yj1l25679x7cbpd27ii7s1f1ajpkspif9xqnl21hczrbmrbsv"))))
3583 (build-system perl-build-system)
3585 `(("perl-plack" ,perl-plack)))
3586 (home-page "https://metacpan.org/release/Plack-Test-ExternalServer")
3587 (synopsis "Run HTTP tests on external live servers")
3588 (description "This module allows your to run your Plack::Test tests
3589 against an external server instead of just against a local application through
3590 either mocked HTTP or a locally spawned server.")
3591 (license license:perl-license)))
3593 (define-public perl-test-tcp
3595 (name "perl-test-tcp")
3600 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3601 "Test-TCP-" version ".tar.gz"))
3603 (base32 "14ahzklq3xgmwj58p9vdcfgpggrmh3nigq5mzqk4wakbb6fjs0fx"))))
3604 (build-system perl-build-system)
3606 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3607 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3608 (home-page "https://metacpan.org/release/Test-TCP")
3609 (synopsis "Testing TCP programs")
3610 (description "Test::TCP is test utilities for TCP/IP programs.")
3611 (license license:perl-license)))
3613 (define-public perl-test-www-mechanize
3615 (name "perl-test-www-mechanize")
3620 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3621 "Test-WWW-Mechanize-" version ".tar.gz"))
3623 (base32 "1jsywlbxhqw39ij7s8vmgff5vys58vlfaq27072awacnxc65aal4"))))
3624 (build-system perl-build-system)
3626 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3627 ("perl-html-form" ,perl-html-form)
3628 ("perl-html-lint" ,perl-html-lint)
3629 ("perl-http-server-simple" ,perl-http-server-simple)
3630 ("perl-libwww" ,perl-libwww)
3631 ("perl-test-longstring" ,perl-test-longstring)
3632 ("perl-www-mechanize" ,perl-www-mechanize)))
3633 (home-page "https://metacpan.org/release/Test-WWW-Mechanize")
3634 (synopsis "Testing-specific WWW::Mechanize subclass")
3635 (description "Test::WWW::Mechanize is a subclass of the Perl module
3636 WWW::Mechanize that incorporates features for web application testing.")
3637 (license license:artistic2.0)))
3639 (define-public perl-test-www-mechanize-catalyst
3641 (name "perl-test-www-mechanize-catalyst")
3646 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
3647 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3649 (base32 "1cdc2q16vs6fb335pzaislz2rx1ph9acaxyp7v5hv9xbwwddwfqq"))))
3650 (build-system perl-build-system)
3652 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3653 ("perl-catalyst-plugin-session-state-cookie"
3654 ,perl-catalyst-plugin-session-state-cookie)
3655 ("perl-module-install" ,perl-module-install)
3656 ("perl-test-exception" ,perl-test-exception)
3657 ("perl-test-pod" ,perl-test-pod)
3658 ("perl-test-utf8" ,perl-test-utf8)))
3660 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3661 ("perl-class-load" ,perl-class-load)
3662 ("perl-libwww" ,perl-libwww)
3663 ("perl-moose" ,perl-moose)
3664 ("perl-namespace-clean" ,perl-namespace-clean)
3665 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3666 ("perl-www-mechanize" ,perl-www-mechanize)))
3667 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-Catalyst")
3668 (synopsis "Test::WWW::Mechanize for Catalyst")
3669 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3670 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3671 testing of Catalyst applications without needing to start up a web server.")
3672 (license license:perl-license)))
3674 (define-public perl-test-www-mechanize-psgi
3676 (name "perl-test-www-mechanize-psgi")
3681 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3682 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3685 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
3686 (build-system perl-build-system)
3688 `(("perl-test-pod" ,perl-test-pod)))
3690 `(("perl-plack" ,perl-plack)
3691 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3692 (home-page "https://metacpan.org/release/Test-WWW-Mechanize-PSGI")
3693 (synopsis "Test PSGI programs using WWW::Mechanize")
3694 (description "PSGI is a specification to decouple web server environments
3695 from web application framework code. Test::WWW::Mechanize is a subclass of
3696 WWW::Mechanize that incorporates features for web application testing. The
3697 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3699 (license license:perl-license)))
3701 (define-public perl-uri
3707 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3708 "URI-" version ".tar.gz"))
3711 "0gj1aj18k43kmzc3y1zhj5giinf8rksacf757r475xfna0fqxjdj"))))
3712 (build-system perl-build-system)
3715 `(("perl-test-needs" ,perl-test-needs)))
3716 (license license:perl-license)
3717 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3719 "The URI module implements the URI class. Objects of this class
3720 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3721 and updated by RFC 2732.")
3722 (home-page "https://metacpan.org/release/URI")))
3724 (define-public perl-uri-fetch
3726 (name "perl-uri-fetch")
3730 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3731 "URI-Fetch-" version ".tar.gz"))
3734 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3735 (build-system perl-build-system)
3737 `(#:tests? #f)) ; Tests require internet connection to succeed
3739 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3740 ("perl-libwww" ,perl-libwww)
3741 ("perl-uri" ,perl-uri)))
3742 (home-page "https://metacpan.org/release/URI-Fetch")
3743 (synopsis "Smart URI fetching/caching")
3744 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3745 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3746 and time-saving way.")
3747 (license license:perl-license)))
3749 (define-public perl-uri-find
3751 (name "perl-uri-find")
3752 (version "20160806")
3756 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3757 "URI-Find-" version ".tar.gz"))
3760 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
3761 (build-system perl-build-system)
3763 `(("perl-module-build" ,perl-module-build)))
3765 `(("perl-uri" ,perl-uri)))
3766 (home-page "https://metacpan.org/release/URI-Find")
3767 (synopsis "Find URIs in arbitrary text")
3768 (description "This module finds URIs and URLs (according to what URI.pm
3769 considers a URI) in plain text. It only finds URIs which include a
3770 scheme (http:// or the like), for something a bit less strict, consider
3771 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3772 (license license:perl-license)))
3774 (define-public perl-uri-ws
3776 (name "perl-uri-ws")
3781 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3782 "URI-ws-" version ".tar.gz"))
3785 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3786 (build-system perl-build-system)
3788 `(("perl-uri" ,perl-uri)))
3789 (home-page "https://metacpan.org/release/URI-ws")
3790 (synopsis "WebSocket support for URI package")
3791 (description "With this module, the URI package provides the same set of
3792 methods for WebSocket URIs as it does for HTTP URIs.")
3793 (license license:perl-license)))
3795 (define-public perl-uri-template
3797 (name "perl-uri-template")
3801 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3805 "1phibcmam2hklrddzj79l43va1gcqpyszbw21ynxq53ynmhjvbk8"))))
3806 (build-system perl-build-system)
3808 `(("perl-uri" ,perl-uri)))
3810 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3811 ("perl-test-pod" ,perl-test-pod)
3812 ("perl-module-install" ,perl-module-install)
3813 ("perl-json" ,perl-json)))
3814 (home-page "https://metacpan.org/release/URI-Template")
3815 (synopsis "Object for handling URI templates")
3816 (description "This perl module provides a wrapper around URI templates as described in
3818 (license license:perl-license)))
3820 (define-public perl-www-curl
3822 (name "perl-www-curl")
3827 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3829 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3832 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3833 (build-system perl-build-system)
3835 '(#:tests? #f ;XXX: tests require network access
3837 #:phases (modify-phases %standard-phases
3838 (add-before 'configure 'set-search-path
3840 ;; Work around "dotless @INC" build failure.
3842 (string-append (getcwd) ":"
3843 (getenv "PERL5LIB")))
3846 `(("perl-module-install" ,perl-module-install)))
3847 (inputs `(("curl" ,curl)))
3848 (synopsis "Perl extension interface for libcurl")
3850 "This is a Perl extension interface for the libcurl file downloading
3852 (license license:perl-license)
3853 (home-page "https://metacpan.org/release/WWW-Curl")))
3855 (define-public perl-www-mechanize
3857 (name "perl-www-mechanize")
3862 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3863 "WWW-Mechanize-" version ".tar.gz"))
3865 (base32 "0cb14m1vhaf0mgn2fqwi5hm72xhfi77hpq2g57swgy0w83x7m27b"))))
3866 (build-system perl-build-system)
3867 (native-inputs ;only for tests
3868 `(("perl-cgi" ,perl-cgi)
3869 ("perl-test-deep" ,perl-test-deep)
3870 ("perl-test-fatal" ,perl-test-fatal)
3871 ("perl-test-output" ,perl-test-output)
3872 ("perl-test-warnings" ,perl-test-warnings)))
3874 `(("perl-html-form" ,perl-html-form)
3875 ("perl-html-parser" ,perl-html-parser)
3876 ("perl-html-tree" ,perl-html-tree)
3877 ("perl-http-message" ,perl-http-message)
3878 ("perl-http-server-simple" ,perl-http-server-simple)
3879 ("perl-libwww" ,perl-libwww)
3880 ("perl-test-warn" ,perl-test-warn)
3881 ("perl-uri" ,perl-uri)))
3882 (home-page "https://metacpan.org/release/WWW-Mechanize")
3883 (synopsis "Web browsing in a Perl object")
3884 (description "WWW::Mechanize is a Perl module for stateful programmatic
3885 web browsing, used for automating interaction with websites.")
3886 (license license:perl-license)))
3888 (define-public perl-www-opensearch
3890 (name "perl-www-opensearch")
3894 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3895 "WWW-OpenSearch-" version ".tar.gz"))
3898 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3899 (build-system perl-build-system)
3901 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3902 ("perl-datetime" ,perl-datetime)
3903 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
3904 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
3905 ("perl-feed-find" ,perl-feed-find)
3906 ("perl-module-install" ,perl-module-install)
3907 ("perl-module-pluggable" ,perl-module-pluggable)
3908 ("perl-uri-fetch" ,perl-uri-fetch)
3909 ("perl-test-simple" ,perl-test-simple)
3910 ("perl-xml-atom" ,perl-xml-atom)
3911 ("perl-xml-rss" ,perl-xml-rss)))
3913 `(("perl-data-page" ,perl-data-page)
3914 ("perl-libwww" ,perl-libwww)
3915 ("perl-uri" ,perl-uri)
3916 ("perl-uri-template" ,perl-uri-template)
3917 ("perl-xml-feed" ,perl-xml-feed)
3918 ("perl-xml-libxml" ,perl-xml-libxml)))
3919 (home-page "https://metacpan.org/release/WWW-OpenSearch")
3920 (synopsis "Search A9 OpenSearch compatible engines")
3922 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3923 http://opensearch.a9.com} compatible search engines.")
3924 (license license:perl-license)))
3926 (define-public perl-www-robotrules
3928 (name "perl-www-robotrules")
3933 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3937 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3938 (build-system perl-build-system)
3940 `(("perl-uri" ,perl-uri)))
3941 (license license:perl-license)
3942 (synopsis "Perl database of robots.txt-derived permissions")
3944 "The WWW::RobotRules module parses /robots.txt files as specified in
3945 \"A Standard for Robot Exclusion\", at
3946 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3947 /robots.txt file to forbid conforming robots from accessing parts of
3949 (home-page "https://metacpan.org/release/WWW-RobotRules")))
3951 (define-public python-feedparser
3953 (name "python-feedparser")
3958 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3961 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3962 (build-system python-build-system)
3966 "https://github.com/kurtmckee/feedparser")
3967 (synopsis "Parse feeds in Python")
3969 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3970 CDF, Atom 0.3, and Atom 1.0 feeds.")
3971 (license (list license:bsd-2 ; source code
3972 license:freebsd-doc)))) ; documentation
3974 (define-public python2-feedparser
3975 (package-with-python2 python-feedparser))
3977 (define-public gumbo-parser
3979 (name "gumbo-parser")
3983 (uri (string-append "https://github.com/google/"
3984 "gumbo-parser/archive/v" version ".tar.gz"))
3985 (file-name (string-append name "-" version ".tar.gz"))
3988 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
3989 (build-system gnu-build-system)
3991 `(#:tests? #f)) ;tests require bundling googletest sources
3992 ;; The release tarball lacks the generated files.
3994 `(("autoconf" ,autoconf)
3995 ("automake" ,automake)
3996 ("libtool" ,libtool)))
3997 (home-page "https://github.com/google/gumbo-parser")
3998 (synopsis "HTML5 parsing library")
4000 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4001 a pure C99 library.")
4002 (license license:asl2.0)))
4004 (define-public uwsgi
4010 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4014 "10zmk4npknigmbqcq1wmhd461dk93159px172112vyq0i19sqwj9"))))
4015 (build-system gnu-build-system)
4016 (outputs '("out" "python"))
4018 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4019 ;; But there is no obvious way to run the real tests.
4022 (modify-phases %standard-phases
4024 ;; Configuration is done by writing an ini file.
4025 (lambda* (#:key outputs #:allow-other-keys)
4026 (let* ((out (assoc-ref outputs "out"))
4027 (bindir (string-append out "/bin"))
4028 (plugindir (string-append out "/lib/uwsgi")))
4029 ;; The build phase outputs files to these directories directly.
4032 ;; XXX: Enable other plugins.
4033 (call-with-output-file "buildconf/guix.ini"
4035 (format port "[uwsgi]
4041 plugins = cgi,python
4043 " bindir plugindir))))
4044 (setenv "PROFILE" "guix")
4047 ;; Move plugins into their own output.
4048 (lambda* (#:key outputs #:allow-other-keys)
4049 (let* ((out (assoc-ref outputs "out"))
4050 (plugindir (string-append out "/lib/uwsgi"))
4051 (python-plugin (string-append
4052 plugindir "/python_plugin.so")))
4053 (install-file python-plugin
4055 (assoc-ref outputs "python") "/lib/uwsgi"))
4056 (delete-file python-plugin)
4059 `(("pkg-config" ,pkg-config)
4060 ("python" ,python-wrapper)))
4062 `(("jansson" ,jansson)
4063 ("libxml2" ,libxml2)
4064 ("libyaml" ,libyaml)
4065 ("openssl" ,openssl)
4069 ("python" ,python)))
4070 (home-page "https://uwsgi-docs.readthedocs.org/")
4071 (synopsis "Application container server")
4073 "uWSGI presents a complete stack for networked/clustered web applications,
4074 implementing message/object passing, caching, RPC and process management.
4075 It uses the uwsgi protocol for all the networking/interprocess communications.")
4076 (license license:gpl2+))) ; with linking exception
4085 (uri (string-append "https://github.com/stedolan/jq"
4086 "/releases/download/jq-" version
4087 "/jq-" version ".tar.gz"))
4089 (base32 "0wmapfskhzfwranf6515nzmm84r7kwljgfs7dg6bjgxakbicis2x"))
4090 (modules '((guix build utils)))
4093 ;; Remove bundled onigurama.
4094 (delete-file-recursively "modules")
4097 `(("oniguruma" ,oniguruma)))
4099 `(;; TODO fix gems to generate documentation
4101 ;;("bundler" ,bundler)
4102 ("valgrind" ,valgrind)))
4103 (build-system gnu-build-system)
4104 (home-page "http://stedolan.github.io/jq/")
4105 (synopsis "Command-line JSON processor")
4106 (description "jq is like sed for JSON data – you can use it to slice and
4107 filter and map and transform structured data with the same ease that sed, awk,
4108 grep and friends let you play with text. It is written in portable C. jq can
4109 mangle the data format that you have into the one that you want with very
4110 little effort, and the program to do so is often shorter and simpler than
4112 (license (list license:expat license:cc-by3.0))))
4114 (define-public uhttpmock
4121 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4122 name "-" version ".tar.xz"))
4125 "163py4klka423x7li2b685gmg3a6hjf074mlff2ajhmi3l0lm8x6"))))
4126 (build-system glib-or-gtk-build-system)
4128 `(("gobject-introspection" ,gobject-introspection)
4130 ("glib-networking" ,glib-networking)
4131 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4132 ("pkg-config" ,pkg-config)))
4134 `(("libsoup" ,libsoup)))
4135 (home-page "https://gitlab.com/groups/uhttpmock")
4136 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4138 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4139 HTTPS. It provides a library, libuhttpmock, which implements recording and
4140 playback of HTTP request/response traces.")
4141 (license license:lgpl2.1+)))
4146 (version "2012-05-31")
4150 "http://www.home.unix-ag.org/simon/woof-"
4154 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4155 (build-system trivial-build-system)
4157 '(#:modules ((guix build utils))
4160 (use-modules (guix build utils))
4161 (let* ((source (assoc-ref %build-inputs "source"))
4162 (out (assoc-ref %outputs "out"))
4163 (bin (string-append out "/bin"))
4164 (python (assoc-ref %build-inputs "python")))
4166 (with-directory-excursion bin
4167 (copy-file source "woof")
4168 (patch-shebang "woof" (list (string-append python "/bin")))
4169 (chmod "woof" #o555))
4171 (inputs `(("python" ,python-2)))
4172 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4173 (synopsis "Single file web server")
4174 (description "Woof (Web Offer One File) is a small simple web server that
4175 can easily be invoked on a single file. Your partner can access the file with
4176 tools they trust (e.g. wget).")
4177 (license license:gpl2+)))
4179 (define netsurf-buildsystem
4181 (name "netsurf-buildsystem")
4186 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4187 "buildsystem-" version ".tar.gz"))
4190 "1q23aaycv35ma5471l1gxib8lfq2s9kprrkaqgfc926d04rlbmhw"))))
4191 (build-system gnu-build-system)
4192 (inputs `(("perl" ,perl)))
4194 '(#:make-flags (list (string-append "PREFIX=" %output))
4195 #:tests? #f ;no tests
4196 #:phases (modify-phases %standard-phases
4199 (home-page "http://www.netsurf-browser.org")
4200 (synopsis "Build system for the Netsurf project")
4202 "This package provides the shared build system for Netsurf project
4204 (license license:expat)))
4206 (define netsurf-buildsystem-arguments
4207 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4208 "CC=gcc" "BUILD_CC=gcc"
4209 ,(string-append "PREFIX=" %output)
4210 ,(string-append "NSSHARED="
4211 (assoc-ref %build-inputs
4212 "netsurf-buildsystem")
4213 "/share/netsurf-buildsystem"))
4214 #:test-target "test"
4215 #:phases (modify-phases %standard-phases
4216 (delete 'configure))))
4218 (define-public libparserutils
4220 (name "libparserutils")
4225 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4226 name "-" version "-src.tar.gz"))
4229 "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj"))))
4230 (build-system gnu-build-system)
4232 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4233 ("pkg-config" ,pkg-config)
4234 ("perl" ,perl))) ;for test harness
4235 (arguments netsurf-buildsystem-arguments)
4236 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
4237 (synopsis "Parser building library")
4239 "LibParserUtils is a library for building efficient parsers, written in
4240 C. It is developed as part of the NetSurf project.")
4241 (license license:expat)))
4243 (define-public hubbub
4250 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4251 "libhubbub-" version "-src.tar.gz"))
4254 "1x3v7xvagx85v9h3pypzc86rcxs4mij87mmcqkp8pq50q6awfmnp"))
4255 (patches (search-patches "hubbub-sort-entities.patch"))))
4256 (build-system gnu-build-system)
4258 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4259 ("pkg-config" ,pkg-config)
4260 ("doxygen" ,doxygen)
4261 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4264 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4265 (arguments netsurf-buildsystem-arguments)
4266 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
4267 (synopsis "HTML5 compliant parsing library")
4269 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4270 parse both valid and invalid web content. It is developed as part of the
4272 (license license:expat)))
4274 (define-public ikiwiki
4277 (version "3.20190228")
4281 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4282 "20190301T035241Z/pool/main/i/ikiwiki/ikiwiki_"
4283 version ".orig.tar.xz"))
4286 "17pyblaqhkb61lxl63bzndiffism8k859p54k3k4sghclq6lsynh"))))
4287 (build-system perl-build-system)
4290 (modify-phases %standard-phases
4291 (add-after 'unpack 'include-PERL5LIB-in-wrapper
4293 (substitute* "IkiWiki/Wrapper.pm"
4294 (("^@wrapper\\_hooks")
4297 " addenv(\"PERL5LIB\", \""
4300 (add-after 'patch-source-shebangs 'patch-Makefile
4302 (substitute* "Makefile.PL"
4303 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
4305 (add-after 'install 'wrap-programs
4306 (lambda* (#:key outputs #:allow-other-keys)
4307 (let* ((out (assoc-ref outputs "out"))
4308 (bin (string-append out "/bin/"))
4309 (path (getenv "PERL5LIB")))
4310 (for-each (lambda (file)
4312 `("PERL5LIB" ":" prefix (,path))))
4317 ("perl-html-tagset" ,perl-html-tagset)
4318 ("perl-timedate" ,perl-timedate)
4319 ("perl-xml-sax" ,perl-xml-sax)
4320 ("perl-xml-simple" ,perl-xml-simple)
4321 ("gettext" ,gettext-minimal)
4322 ("subversion" ,subversion)
4326 ("mercurial" ,mercurial)))
4328 `(("python" ,python-wrapper)
4329 ("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
4330 ("perl-cgi-session" ,perl-cgi-session)
4331 ("perl-cgi-simple" ,perl-cgi-simple)
4332 ("perl-db-file" ,perl-db-file)
4333 ("perl-html-parser" ,perl-html-parser)
4334 ("perl-html-scrubber" ,perl-html-scrubber)
4335 ("perl-html-template" ,perl-html-template)
4336 ("perl-image-magick" ,perl-image-magick)
4337 ("perl-json" ,perl-json)
4338 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4339 ("perl-uri" ,perl-uri)
4340 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4341 (home-page "https://ikiwiki.info/")
4342 (synopsis "Wiki compiler, capable of generating HTML")
4344 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4345 pages, but also incorporating dynamic features like a web based editor and
4347 (license license:gpl2+)))
4349 (define-public libwapcaplet
4351 (name "libwapcaplet")
4356 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4357 "libwapcaplet-" version "-src.tar.gz"))
4360 "1fjwzbn7j8bi1b9bvwxsy3i2cr6byq2s2d29866801pjnf528g86"))))
4361 (build-system gnu-build-system)
4363 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4364 ("pkg-config" ,pkg-config)
4365 ("check" ,check))) ;for tests
4366 (arguments netsurf-buildsystem-arguments)
4367 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
4368 (synopsis "String internment library")
4370 "LibWapcaplet provides a reference counted string internment system
4371 designed to store small strings and allow rapid comparison of them. It is
4372 developed as part of the Netsurf project.")
4373 (license license:expat)))
4375 (define-public libcss
4382 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4383 "libcss-" version "-src.tar.gz"))
4386 "1vw9j3d2mr4wbvs8fyqmgslkbxknvac10456775hflxxcivbm3xr"))))
4387 (build-system gnu-build-system)
4389 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4390 ("pkg-config" ,pkg-config)
4392 (propagated-inputs ;needed for libcss.pc
4393 `(("libparserutils" ,libparserutils)
4394 ("libwapcaplet" ,libwapcaplet)))
4395 (arguments netsurf-buildsystem-arguments)
4396 (home-page "http://www.netsurf-browser.org/projects/libcss/")
4397 (synopsis "CSS parser and selection library")
4399 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4400 written in C. It is developed as part of the NetSurf project.")
4401 (license license:expat)))
4403 (define-public libdom
4410 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4411 "libdom-" version "-src.tar.gz"))
4414 "1ixkqsl3f7dl1kajksm0c231w1v5xy8z6hm3v67hgm9nh4qcvfcy"))))
4415 (build-system gnu-build-system)
4417 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4418 ("pkg-config" ,pkg-config)
4419 ("perl" ,perl) ;for test harness
4420 ("perl-libxml" ,perl-libxml)
4421 ("perl-switch" ,perl-switch)
4422 ("perl-xml-xpath" ,perl-xml-xpath)))
4424 `(("libparserutils" ,libparserutils)
4425 ("libwapcaplet" ,libwapcaplet)))
4427 `(("expat" ,expat) ;needed for headers and linking
4428 ("hubbub" ,hubbub))) ;for libdom.pc
4430 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4431 ,@netsurf-buildsystem-arguments))
4432 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4433 (synopsis "Implementation of the W3C DOM")
4435 "LibDOM is an implementation of the W3C DOM, written in C. It is
4436 developed as part of the NetSurf project.")
4437 (license license:expat)))
4439 (define-public libsvgtiny
4446 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4447 name "-" version "-src.tar.gz"))
4450 "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c"))))
4451 (build-system gnu-build-system)
4453 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4454 ("pkg-config" ,pkg-config)
4455 ("gperf" ,gperf-3.0)))
4457 `(("libwapcaplet" ,libwapcaplet)))
4459 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4460 (arguments netsurf-buildsystem-arguments)
4461 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4462 (synopsis "Library for parsing SVG files")
4464 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4465 which can be rendered easily, as defined in
4466 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4468 (license license:expat)))
4470 (define-public libnsbmp
4477 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4478 name "-" version "-src.tar.gz"))
4481 "0lib2m07d1i0k80m4blkwnj0g7rha4jbm5vrgd0wwbkyfa0hvk35"))))
4482 (build-system gnu-build-system)
4484 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4485 (arguments netsurf-buildsystem-arguments)
4486 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4487 (synopsis "Decoding library for BMP and ICO files")
4489 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4490 written in C. It is developed as part of the NetSurf project.")
4491 (license license:expat)))
4493 (define-public libnsgif
4500 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4501 name "-" version "-src.tar.gz"))
4504 "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly"))))
4505 (build-system gnu-build-system)
4507 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4508 (arguments netsurf-buildsystem-arguments)
4509 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4510 (synopsis "Decoding library for GIF files")
4512 "Libnsgif is a decoding library for the GIF image file format, written in
4513 C. It is developed as part of the NetSurf project.")
4514 (license license:expat)))
4516 (define-public libnslog
4523 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4524 "libnslog-" version "-src.tar.gz"))
4527 "1ggs6xvxp8fbg5w8pifalipm458ygr9ab6j2yvj8fnnmxwvdh4jd"))))
4528 (build-system gnu-build-system)
4530 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4531 ("pkg-config" ,pkg-config)
4532 ("check" ,check) ;for tests
4535 (arguments netsurf-buildsystem-arguments)
4536 (home-page "http://www.netsurf-browser.org/")
4537 (synopsis "Logging library")
4539 "Libnslog provides a category-based logging library which supports
4540 complex logging filters, multiple log levels, and provides context through to
4541 client applications. It is developed as part of the NetSurf project.")
4542 (license license:expat)))
4544 (define-public libnsutils
4551 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4552 name "-" version "-src.tar.gz"))
4555 "09w1rixps1iiq6wirjwxmd6h87llvjzvw565rahjb3rlyhcplfqf"))))
4556 (build-system gnu-build-system)
4558 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4559 (arguments netsurf-buildsystem-arguments)
4560 (home-page "http://www.netsurf-browser.org/")
4561 (synopsis "Utility library for NetSurf")
4563 "Libnsutils provides a small number of useful utility routines. It is
4564 developed as part of the NetSurf project.")
4565 (license license:expat)))
4567 (define-public libnspsl
4574 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4575 "libnspsl-" version "-src.tar.gz"))
4578 "0siq8zjfxv75i9fw6q5hkaijpdm1w3zskd5qk6vsvz8cqan4vifd"))))
4579 (build-system gnu-build-system)
4581 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4582 (arguments netsurf-buildsystem-arguments)
4583 (home-page "http://www.netsurf-browser.org/")
4584 (synopsis "Library to generate a static Public Suffix List")
4586 "Libnspsl is a library to generate a static code representation of the
4587 Public Suffix List. It is developed as part of the NetSurf project.")
4588 (license license:expat)))
4590 (define-public nsgenbind
4597 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4598 "nsgenbind-" version "-src.tar.gz"))
4601 "0rplmky4afsjwiwh7grkmcdmzg86zksa55j93dvq92f91yljwqqq"))))
4602 (build-system gnu-build-system)
4604 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4608 (substitute-keyword-arguments netsurf-buildsystem-arguments
4609 ((#:make-flags flags)
4610 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4611 (home-page "http://www.netsurf-browser.org/")
4612 (synopsis "Generate JavaScript to DOM bindings")
4614 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4615 w3c webidl files and a binding configuration file.")
4616 (license license:expat)))
4618 (define-public netsurf
4625 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4626 "releases/source/netsurf-" version "-src.tar.gz"))
4629 "1hzcm2s2wh5sapgr000lg63hcdbj6hyajxl43xa1x80kc5piqbyp"))
4630 (patches (search-patches "netsurf-system-utf8proc.patch"
4631 "netsurf-y2038-tests.patch"
4632 "netsurf-longer-test-timeout.patch"
4633 "netsurf-message-timestamp.patch"))))
4634 (build-system glib-or-gtk-build-system)
4636 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4637 ("nsgenbind" ,nsgenbind)
4638 ("libidn" ,libidn) ;only for tests
4641 ("perl-html-parser" ,perl-html-parser)
4642 ("pkg-config" ,pkg-config)
4647 ("openssl" ,openssl)
4648 ("utf8proc" ,utf8proc)
4650 ("libjpeg" ,libjpeg)
4653 ("libnsbmp" ,libnsbmp)
4654 ("libnsgif" ,libnsgif)
4655 ("libnslog" ,libnslog)
4656 ("libnspsl" ,libnspsl)
4657 ("libnsutils" ,libnsutils)
4658 ("libsvgtiny" ,libsvgtiny)
4659 ("miscfiles" ,miscfiles)))
4661 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4662 ,(string-append "PREFIX=" %output)
4663 ,(string-append "NSSHARED="
4664 (assoc-ref %build-inputs
4665 "netsurf-buildsystem")
4666 "/share/netsurf-buildsystem"))
4667 #:test-target "test"
4668 #:modules ((ice-9 rdelim)
4672 ,@%glib-or-gtk-build-system-modules)
4674 (modify-phases %standard-phases
4676 (add-after 'build 'adjust-welcome
4678 ;; First, fix some unended tags and simple substitutions
4679 (substitute* "frontends/gtk/res/welcome.html"
4680 (("<(img|input)([^>]*)>" _ tag contents)
4681 (string-append "<" tag contents " />"))
4682 (("Licence") "License") ;prefer GNU spelling
4683 ((" open source") ", free software")
4684 (("web site") "website")
4685 ;; Prefer privacy-respecting default search engine
4686 (("www.google.co.uk") "www.duckduckgo.com/html")
4687 (("Google Search") "DuckDuckGo Search")
4688 (("name=\"btnG\"") ""))
4689 ;; Remove default links so it doesn't seem we're endorsing them
4690 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4692 ;; Leave the DOCTYPE header as is
4693 (display (read-line in 'concat) out)
4695 (let rec ((sxml (xml->sxml in)))
4696 ;; We'd like to use sxml-match here, but it can't
4697 ;; match against generic tag symbols...
4699 (`(div (@ (class "links")) . ,rest)
4706 (add-before 'check 'patch-check
4707 (lambda* (#:key inputs #:allow-other-keys)
4708 (substitute* '("test/bloom.c" "test/hashtable.c")
4709 (("/usr/share/dict/words")
4710 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4712 (add-after 'install 'install-more
4713 (lambda* (#:key outputs #:allow-other-keys)
4714 (let* ((out (assoc-ref outputs "out"))
4715 (desktop (string-append out "/share/applications/"
4716 "netsurf.desktop")))
4717 (mkdir-p (dirname desktop))
4718 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4720 (substitute* desktop
4721 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk"))
4722 (("netsurf.png") (string-append out "/share/netsurf/"
4724 (install-file "docs/netsurf-gtk.1"
4725 (string-append out "/share/man/man1/"))
4727 (home-page "http://www.netsurf-browser.org")
4728 (synopsis "Web browser")
4730 "NetSurf is a lightweight web browser that has its own layout and
4731 rendering engine entirely written from scratch. It is small and capable of
4732 handling many of the web standards in use today.")
4733 (license license:gpl2+)))
4735 (define-public surfraw
4742 (uri (string-append "https://gitlab.com/surfraw/Surfraw/uploads/"
4743 "2de827b2786ef2fe43b6f07913ca7b7f/"
4744 "surfraw-" version ".tar.gz"))
4746 (base32 "099nbif0x5cbcf18snc58nx1a3q7z0v9br9p2jiq9pcc7ic2015d"))))
4747 (build-system gnu-build-system)
4750 (modify-phases %standard-phases
4751 (add-before 'configure 'patch-perl
4752 (lambda* (#:key inputs #:allow-other-keys)
4753 (let ((perl (assoc-ref inputs "perl")))
4754 (substitute* "surfraw.IN"
4756 (string-append perl "/bin/perl -e")))
4758 (add-after 'install 'compress-elvi.1sr
4759 (lambda* (#:key outputs #:allow-other-keys)
4760 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4761 ;; but elvi.1sr does not get compressed by our manpage phase.
4762 (let* ((out (assoc-ref %outputs "out"))
4763 (man (string-append out "/share/man/man1")))
4764 (with-directory-excursion man
4765 (invoke "gzip" "elvi.1sr"))))))))
4768 ("perl-www-opensearch" ,perl-www-opensearch)
4769 ("perl-html-parser" ,perl-html-parser)
4770 ("perl-libwww" ,perl-libwww)))
4771 (synopsis "Unix command line interface to the www")
4772 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4773 provides a unix command line interface to a variety of popular www search engines
4774 and similar services.")
4775 (home-page "https://surfraw.alioth.debian.org/")
4776 (license license:public-domain)))
4778 (define-public darkhttpd
4785 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4786 version ".tar.bz2"))
4789 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4790 (build-system gnu-build-system)
4792 `(#:make-flags '("CC=gcc")
4793 #:tests? #f ; No test suite
4795 (modify-phases %standard-phases
4798 (lambda* (#:key outputs #:allow-other-keys)
4799 (install-file "darkhttpd"
4800 (string-append (assoc-ref outputs "out")
4803 (synopsis "Simple static web server")
4804 (description "darkhttpd is a simple static web server. It is
4805 standalone and does not need inetd or ucspi-tcp. It does not need any
4806 config files---you only have to specify the www root.")
4807 (home-page "https://unix4lyfe.org/darkhttpd/")
4808 (license license:isc)))
4810 (define-public goaccess
4816 (uri (string-append "http://tar.goaccess.io/goaccess-"
4820 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4821 (modules '((guix build utils)))
4823 (substitute* "src/error.h"
4824 (("__DATE__") "\"1970-01-01\"")
4825 (("__TIME__") "\"00:00:00\""))
4827 (build-system gnu-build-system)
4829 ;; TODO: Add dependency on geoip-tools.
4831 ("ncurses" ,ncurses)))
4833 `(("pkg-config" ,pkg-config)))
4834 (home-page "https://goaccess.io")
4835 (synopsis "Analyze Web server logs in real time")
4837 "GoAccess is a real-time web log analyzer and interactive viewer that
4838 runs in a terminal or through your browser. It provides fast and valuable
4839 HTTP statistics for system administrators that require a visual server report
4841 (license license:x11)))
4843 (define-public httptunnel
4850 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4851 name "-" version ".tar.gz"))
4854 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4855 (modules '((guix build utils)))
4857 ;; Remove non-free IETF RFC documentation.
4858 (delete-file-recursively "doc")
4860 (build-system gnu-build-system)
4863 (modify-phases %standard-phases
4864 ;; The default configure phase tries to pass environment variables as
4865 ;; command-line arguments, which confuses the ./configure script.
4867 (lambda* (#:key outputs #:allow-other-keys)
4868 (let* ((out (assoc-ref outputs "out")))
4869 (setenv "CONFIG_SHELL" (which "bash"))
4870 (invoke "./configure"
4871 (string-append "--prefix=" out))))))))
4872 (home-page "http://www.nocrew.org/software/httptunnel.html")
4873 (synopsis "Tunnel data connections through HTTP requests")
4874 (description "httptunnel creates a bidirectional virtual data connection
4875 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4876 useful for users behind restrictive firewalls. As long as Web traffic is
4877 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4878 tools like SSH (Secure Shell) to reach the outside world.")
4879 (license license:gpl2+)))
4881 (define-public stunnel
4888 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4891 (base32 "0qjc0wkjf6bqz29fvwwsn9hnjhm6alsm10jcwx4jad2q3ks6kplh"))))
4892 (build-system gnu-build-system)
4895 `(("iproute" ,iproute)
4897 ("procps" ,procps)))
4898 (inputs `(("openssl" ,openssl)))
4901 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
4903 (modify-phases %standard-phases
4904 (add-after 'unpack 'patch-output-directories
4906 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
4907 (substitute* (list "Makefile.in"
4909 "tools/Makefile.in")
4911 (string-append "/doc/" ,name "-" ,version)))
4913 (add-before 'check 'patch-tests
4915 (substitute* "tests/make_test"
4917 (string-append (which "sh") " ")))
4919 (home-page "https://www.stunnel.org")
4920 (synopsis "TLS proxy for clients or servers")
4921 (description "Stunnel is a proxy designed to add TLS encryption
4922 functionality to existing clients and servers without any changes in the
4923 programs' code. Its architecture is optimized for security, portability, and
4924 scalability (including load-balancing), making it suitable for large
4926 (license license:gpl2+)))
4928 (define-public varnish
4931 (home-page "https://varnish-cache.org/")
4935 (uri (string-append home-page "_downloads/varnish-" version ".tgz"))
4938 "0lwfk2gq99c653h5f51fs3j37r0gh2pf0p4w5z986nm2mi9z6yn3"))))
4939 (build-system gnu-build-system)
4941 `(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")
4942 ;; Use absolute path of GCC so it's found at runtime.
4943 (string-append "PTHREAD_CC="
4944 (assoc-ref %build-inputs "gcc")
4946 "--localstatedir=/var")
4948 (modify-phases %standard-phases
4949 (add-after 'unpack 'use-absolute-file-names
4951 (substitute* '("bin/varnishtest/vtc_varnish.c"
4952 "bin/varnishtest/vtc_process.c"
4953 "bin/varnishd/mgt/mgt_vcc.c")
4954 (("/bin/sh") (which "sh")))
4955 (substitute* "bin/varnishd/mgt/mgt_shmem.c"
4956 (("rm -rf") (string-append (which "rm") " -rf")))
4957 (substitute* "bin/varnishtest/vtc_main.c"
4958 (("/bin/rm") (which "rm")))
4960 (add-before 'install 'patch-Makefile
4962 (substitute* "Makefile"
4963 ;; Do not create /var/varnish during install.
4964 (("^install-data-am: install-data-local") "install-data-am: "))
4966 (add-after 'install 'wrap-varnishd
4967 ;; Varnish uses GCC to compile VCL, so wrap it with required GCC
4968 ;; environment variables to avoid propagating them to profiles.
4969 (lambda* (#:key inputs outputs #:allow-other-keys)
4970 (let* ((out (assoc-ref outputs "out"))
4971 (varnishd (string-append out "/sbin/varnishd"))
4972 (PATH (string-append (assoc-ref inputs "binutils") "/bin"))
4973 (LIBRARY_PATH (string-append (assoc-ref inputs "libc") "/lib")))
4974 (wrap-program varnishd
4975 ;; Add binutils to PATH so gcc finds the 'as' executable.
4976 `("PATH" ":" prefix (,PATH))
4977 ;; Make sure 'crti.o' et.al is found.
4978 `("LIBRARY_PATH" ":" prefix (,LIBRARY_PATH)))
4981 `(("pkg-config" ,pkg-config)
4982 ("python-sphinx" ,python-sphinx)
4983 ("rst2man" ,python-docutils)))
4985 `(("jemalloc" ,jemalloc)
4986 ("ncurses" ,ncurses)
4988 ("python" ,python-wrapper)
4989 ("readline" ,readline)))
4990 (synopsis "Web application accelerator")
4992 "Varnish is a high-performance HTTP accelerator. It acts as a caching
4993 reverse proxy and load balancer. You install it in front of any server that
4994 speaks HTTP and configure it to cache the contents through an extensive
4995 configuration language.")
4996 (license (list license:bsd-2 ;main distribution
4997 license:zlib ;lib/libvgz/*
4998 license:public-domain ;bin/varnishncsa/as64.c, include/miniobj.h
4999 license:bsd-3)))) ;include/vqueue.h, lib/libvarnishcompat/daemon.c
5001 (define-public varnish-modules
5003 (name "varnish-modules")
5004 (home-page "https://github.com/varnish/varnish-modules")
5008 (uri (string-append "https://download.varnish-software.com"
5009 "/varnish-modules/varnish-modules-"
5013 "09li9lqa1kb275w1rby2zldyg8r9cfcl4qyv53qyd9xbzilrz751"))))
5014 (build-system gnu-build-system)
5016 `(("pkg-config" ,pkg-config)))
5018 `(("python" ,python)
5019 ("varnish" ,varnish)))
5020 (synopsis "Collection of Varnish modules")
5022 "This package provides a collection of modules (@dfn{vmods}) for the Varnish
5023 cache server, extending the @dfn{Varnish Configuration Language} (VCL) with
5024 additional capabilities.")
5025 (license license:bsd-2)))
5027 (define-public xinetd
5035 (url "https://github.com/xinetd-org/xinetd.git")
5036 (commit (string-append "xinetd-"
5037 (string-join (string-split version #\.)
5039 (file-name (git-file-name name version))
5040 (patches (search-patches "xinetd-CVE-2013-4342.patch"
5041 "xinetd-fix-fd-leak.patch"))
5043 (base32 "0wjai6qagcgxpa1khh639ih7kswgkryc7ll1i4hxhs29sc7irdcn"))))
5044 (build-system gnu-build-system)
5046 `(#:configure-flags '("--with-loadavg")
5047 #:tests? #f)) ; no tests
5048 (home-page "https://github.com/xinetd-org/xinetd")
5049 (synopsis "Internet services daemon")
5050 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5051 listens for incoming requests over a network and launches the appropriate
5052 service for that request. Requests are made using port numbers as identifiers
5053 and xinetd usually launches another daemon to handle the request. It can be
5054 used to start services with both privileged and non-privileged port numbers.")
5055 (license (license:fsf-free "file://COPYRIGHT"))))
5057 (define-public tidy-html
5064 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
5066 (file-name (string-append name "-" version ".tar.gz"))
5069 "0n29wcgw32rhnraj9j21ibhwi0xagmmcskhbaz8ihxly7nx3p9h8"))))
5070 (build-system cmake-build-system)
5072 "static")) ; 1.0MiB of .a files
5074 `(#:tests? #f ; no tests available
5075 #:build-type "Release"
5077 (modify-phases %standard-phases
5078 (add-after 'install 'move-static-libraries
5079 (lambda* (#:key outputs #:allow-other-keys)
5080 ;; Move static libraries to the "static" output.
5081 (let* ((out (assoc-ref outputs "out"))
5082 (lib (string-append out "/lib"))
5083 (static (assoc-ref outputs "static"))
5084 (slib (string-append static "/lib")))
5086 (for-each (lambda (file)
5087 (install-file file slib)
5089 (find-files lib "\\.a$"))
5092 `(("libxslt" ,libxslt)))
5093 (home-page "http://www.html-tidy.org/")
5094 (synopsis "HTML Tidy with HTML5 support")
5096 "Tidy is a console application which corrects and cleans up
5097 HTML and XML documents by fixing markup errors and upgrading
5098 legacy code to modern standards.
5100 Tidy also provides @code{libtidy}, a C static and dynamic library that
5101 developers can integrate into their applications to make use of the
5102 functions of Tidy.")
5103 (license license:bsd-3)))
5105 (define-public hiawatha
5112 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5113 "hiawatha-" version ".tar.gz"))
5114 (modules '((guix build utils)))
5116 ;; We use packaged libraries, so delete the bundled copies.
5117 (for-each delete-file-recursively
5118 (list "extra/nghttp2.tgz" "mbedtls"))
5121 (base32 "1f2j2x1ziawz8ijg3s3izqpyzpiwfyhlsvbv0szxvhvj4a0l7pbl"))))
5122 (build-system cmake-build-system)
5124 `(#:tests? #f ; no tests included
5125 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5126 (string-append "-DENABLE_HTTP2=on")
5127 (string-append "-DUSE_SYSTEM_NGHTTP2=on")
5128 (string-append "-DENABLE_TOMAHAWK=on")
5129 (string-append "-DLOG_DIR=/var/log/hiawatha")
5130 (string-append "-DPID_DIR=/run")
5131 (string-append "-DWEBROOT_DIR="
5132 (assoc-ref %outputs "out")
5133 "/share/hiawatha/html")
5134 (string-append "-DWORK_DIR=/var/lib/hiawatha"))
5136 (modify-phases %standard-phases
5137 (add-after 'unpack 'install-no-empty-directories
5139 (substitute* "CMakeLists.txt"
5140 (("install\\(DIRECTORY DESTINATION" match)
5141 (string-append "#" match)))
5143 (add-after 'install 'wrap
5144 (lambda* (#:key inputs outputs #:allow-other-keys)
5145 ;; Make sure 'hiawatha' finds 'mbedtls'.
5146 (let* ((out (assoc-ref outputs "out"))
5147 (sbin (string-append out "/sbin"))
5148 (mbed (assoc-ref inputs "mbedtls-apache")))
5149 (wrap-program (string-append sbin "/hiawatha")
5150 `("PATH" ":" prefix (,mbed)))))))))
5152 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha".
5153 `(("libxslt" ,libxslt)
5154 ("libxml2" ,libxml2)
5155 ("mbedtls-apache" ,mbedtls-for-hiawatha)
5156 ("nghttp2" ,nghttp2 "lib")
5158 (home-page "https://www.hiawatha-webserver.org")
5159 (synopsis "Webserver with focus on security")
5161 "Hiawatha has been written with security in mind.
5162 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5164 (license license:gpl2)))
5166 (define-public python-httpbin
5168 (name "python-httpbin")
5173 (uri (pypi-uri "httpbin" version))
5176 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5177 (build-system python-build-system)
5179 `(("python-decorator" ,python-decorator)
5180 ("python-flask" ,python-flask)
5181 ("python-itsdangerous" ,python-itsdangerous)
5182 ("python-markupsafe" ,python-markupsafe)
5183 ("python-six" ,python-six)))
5184 (home-page "https://github.com/Runscope/httpbin")
5185 (synopsis "HTTP request and response service")
5186 (description "Testing an HTTP Library can become difficult sometimes.
5187 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5188 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5190 (license license:isc)))
5192 (define-public python2-httpbin
5193 (package-with-python2 python-httpbin))
5195 (define-public python-pytest-httpbin
5197 (name "python-pytest-httpbin")
5202 (uri (pypi-uri "pytest-httpbin" version))
5205 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5206 (build-system python-build-system)
5208 `(("python-six" ,python-six)
5209 ("python-httpbin" ,python-httpbin)
5210 ("python-pytest" ,python-pytest)))
5212 "https://github.com/kevin1024/pytest-httpbin")
5214 "Test your HTTP library against a local copy of httpbin")
5216 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5217 into your tests. It automatically starts up a HTTP server in a separate thread running
5218 @code{httpbin} and provides your test with the URL in the fixture.")
5219 (license license:expat)))
5221 (define-public python2-pytest-httpbin
5222 (package-with-python2 python-pytest-httpbin))
5224 (define-public http-parser
5226 (name "http-parser")
5228 (home-page "https://github.com/nodejs/http-parser")
5231 (uri (git-reference (url home-page)
5232 (commit (string-append "v" version))))
5233 (file-name (git-file-name name version))
5236 "1qs6x3n2nrcj1wiik5pg5i16inykf7rcfdfdy7rwyzf40pvdl3c2"))))
5237 (build-system gnu-build-system)
5239 `(#:test-target "test"
5241 (list (string-append "PREFIX="
5242 (assoc-ref %outputs "out"))
5245 (modify-phases %standard-phases
5246 (delete 'configure))))
5247 (synopsis "HTTP request/response parser for C")
5248 (description "This is a parser for HTTP messages written in C. It parses
5249 both requests and responses. The parser is designed to be used in
5250 high-performance HTTP applications. It does not make any syscalls nor
5251 allocations, it does not buffer data, it can be interrupted at anytime.
5252 Depending on your architecture, it only requires about 40 bytes of data per
5253 message stream (in a web server that is per connection).")
5254 (license license:expat)))
5256 (define-public python-httpretty
5258 (name "python-httpretty")
5263 (uri (pypi-uri "httpretty" version))
5265 (base32 "1p1rb4mpngh0632xrmdfhvc8yink519yfkqz97d2ww3y0x2jvd81"))))
5266 (build-system python-build-system)
5268 `(("python-six" ,python-six)))
5270 `(("python-coverage" ,python-coverage)
5271 ("python-httplib2" ,python-httplib2)
5272 ("python-mock" ,python-mock)
5273 ("python-nose" ,python-nose)
5274 ("python-nose-randomly" ,python-nose-randomly)
5275 ("python-rednose" ,python-rednose)
5276 ("python-requests" ,python-requests)
5277 ("python-sure" ,python-sure)
5278 ("python-tornado" ,python-tornado)
5279 ("python-urllib3" ,python-urllib3)))
5280 (home-page "https://httpretty.readthedocs.io")
5281 (synopsis "HTTP client mock for Python")
5282 (description "@code{httpretty} is a helper for faking web requests,
5283 inspired by Ruby's @code{fakeweb}.")
5284 (license license:expat)))
5293 (uri (string-append "https://github.com/jpmens/jo/releases/download/"
5294 version "/jo-" version ".tar.gz"))
5297 "1bmdck53jslrl3anqqpm6iyjdxrz445qzcc4fr37hr3wjg22zv1n"))))
5298 (build-system gnu-build-system)
5299 (home-page "https://github.com/jpmens/jo")
5300 (synopsis "Output JSON from a shell")
5301 (description "jo is a command-line utility to create JSON objects or
5302 arrays. It creates a JSON string on stdout from words provided as
5303 command-line arguments or read from stdin.")
5304 (license (list license:gpl2+
5305 license:expat)))) ; json.c, json.h
5307 (define-public python-internetarchive
5309 (name "python-internetarchive")
5315 (url "https://github.com/jjjake/internetarchive")
5316 (commit (string-append "v" version))))
5317 (file-name (git-file-name name version))
5320 "0ih7hplv92wbv6cmgc1gs0v35qkajwicalwcq8vcljw30plr24fp"))
5321 (modules '((guix build utils)))
5324 ;; Python 3.7 removed `_pattern_type'.
5325 (for-each (lambda (file)
5328 (("^import re\n" line)
5329 (string-append line "re._pattern_type = re.Pattern\n"))))
5330 (find-files "." "\\.py$"))
5332 (build-system python-build-system)
5335 (modify-phases %standard-phases
5337 (add-after 'install 'check
5338 (lambda* (#:key inputs outputs #:allow-other-keys)
5339 (add-installed-pythonpath inputs outputs)
5340 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
5341 ":" (getenv "PATH")))
5342 (invoke "py.test" "-v" "-k"
5344 ;; These tests attempt to make a connection to
5345 ;; an external web service.
5346 "not test_get_item_with_kwargs"
5347 " and not test_ia")))))))
5349 `(("python-requests" ,python-requests)
5350 ("python-jsonpatch" ,python-jsonpatch-0.4)
5351 ("python-docopt" ,python-docopt)
5352 ("python-clint" ,python-clint)
5353 ("python-six" ,python-six)
5354 ("python-schema" ,python-schema-0.5)
5355 ("python-backports-csv" ,python-backports-csv)))
5357 `(("python-pytest" ,python-pytest)
5358 ("python-pytest-capturelog" ,python-pytest-capturelog)
5359 ("python-responses" ,python-responses)))
5360 (home-page "https://github.com/jjjake/internetarchive")
5361 (synopsis "Command-line interface to archive.org")
5362 (description "@code{ia} is a command-line tool for using
5363 @url{archive.org} from the command-line. It also emplements the
5364 internetarchive python module for programmatic access to archive.org.")
5366 `((python2-variant . ,(delay python2-internetarchive))))
5367 (license license:agpl3+)))
5369 (define-public python2-internetarchive
5370 (package-with-python2
5371 (strip-python2-variant python-internetarchive)))
5373 (define-public python-clf
5374 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
5381 (uri (pypi-uri "clf" version))
5384 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
5385 (build-system python-build-system)
5387 `(("python-docopt" ,python-docopt)
5388 ("python-pygments" ,python-pygments)
5389 ("python-requests" ,python-requests)
5390 ("python-nose" ,python-nose)
5391 ("python-lxml" ,python-lxml)
5392 ("python-pyaml" ,python-pyaml)))
5397 (uri (string-append "https://raw.githubusercontent.com"
5398 "/ncrocfer/clf/" commit-test-clf
5402 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
5405 (modify-phases %standard-phases
5406 (add-after 'unpack 'get-tests
5408 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
5413 ;; These tests require an Internet connection.
5414 "--exclude=test_browse"
5415 "--exclude=test_command"
5416 "--exclude=test_search"))))))
5417 (home-page "https://github.com/ncrocfer/clf")
5418 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
5419 (description "@code{clf} is a command line tool for searching code
5420 snippets on @url{https://commandlinefu.com}.")
5421 (license license:expat))))
5423 (define-public python2-clf
5424 (package-with-python2 python-clf))
5426 (define-public rss-bridge
5429 (version "2019-01-13")
5434 (url "https://github.com/RSS-Bridge/rss-bridge")
5436 (file-name (git-file-name name version))
5439 "1m0dq491954f0d7k4508ddlywk09whcz9j21rc4yk3lbwpf0nd4c"))))
5440 (build-system trivial-build-system)
5442 '(#:modules ((guix build utils))
5445 (use-modules (guix build utils)
5447 (let* ((out (assoc-ref %outputs "out"))
5448 (share-rss-bridge (string-append out "/share/rss-bridge")))
5449 (mkdir-p share-rss-bridge)
5450 (copy-recursively (assoc-ref %build-inputs "source") share-rss-bridge)
5452 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5453 (synopsis "Generate Atom feeds for social networking websites")
5454 (description "rss-bridge generates Atom feeds for social networking
5455 websites lacking feeds. Supported websites include Facebook, Twitter,
5456 Instagram and YouTube.")
5457 (license (list license:public-domain
5458 license:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php
5460 (define-public linkchecker
5462 (name "linkchecker")
5468 (url "https://github.com/linkchecker/linkchecker")
5469 (commit (string-append "v" version))))
5471 (search-patches "linkchecker-tests-require-network.patch"))
5472 (file-name (git-file-name name version))
5475 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
5476 (build-system python-build-system)
5478 `(("python2-dnspython" ,python2-dnspython)
5479 ("python2-pyxdg" ,python2-pyxdg)
5480 ("python2-requests" ,python2-requests)))
5482 `(("gettext" ,gettext-minimal)
5483 ("python2-pytest" ,python2-pytest)
5484 ("python2-miniboa" ,python2-miniboa)
5485 ("python2-parameterized" ,python2-parameterized)))
5487 `(#:python ,python-2
5489 (modify-phases %standard-phases
5490 ;; Move the 'check phase to after 'install, so that the installed
5491 ;; library can be used
5493 (add-after 'install 'check
5494 (lambda* (#:key outputs #:allow-other-keys)
5495 (let ((out (assoc-ref outputs "out")))
5496 ;; Set PYTHONPATH so that the installed linkchecker is used
5497 (setenv "PYTHONPATH"
5498 (string-append out "/lib/python2.7/site-packages"
5500 (getenv "PYTHONPATH")))
5501 ;; Remove this directory to avoid it being used when running
5503 (delete-file-recursively "linkcheck")
5505 (invoke "py.test" "tests"))
5507 (home-page "https://linkcheck.github.io/linkchecker")
5508 (synopsis "Check websites for broken links")
5509 (description "LinkChecker is a website validator. It checks for broken
5510 links in websites. It is recursive and multithreaded providing output in
5511 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
5512 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
5514 (license (list license:gpl2+
5515 license:bsd-2 ; linkcheck/better_exchook2.py
5516 license:bsd-3 ; linkcheck/colorama.py
5517 license:psfl ; linkcheck/gzip2.py
5518 license:expat)))) ; linkcheck/mem.py
5520 (define-public cadaver
5527 (uri (string-append "http://www.webdav.org/cadaver/"
5528 name "-" version ".tar.gz"))
5531 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
5532 (build-system gnu-build-system)
5533 ;; TODO: Unbundle libneon and make build succeed with new neon.
5535 `(#:configure-flags (list "--with-ssl=openssl")
5536 #:tests? #f)) ;No tests included
5538 `(("gettext" ,gnu-gettext)
5539 ("pkg-config" ,pkg-config)
5540 ("intltool" ,intltool)))
5543 ("openssl" ,openssl)))
5544 (home-page "http://www.webdav.org/cadaver")
5545 (synopsis "Command-line WebDAV client")
5547 "Cadaver is a command-line WebDAV client for Unix. It supports
5548 file upload, download, on-screen display, namespace operations (move/copy),
5549 collection creation and deletion, and locking operations.")
5550 (license license:gpl2)))
5552 (define-public python-py-ubjson
5554 (name "python-py-ubjson")
5559 (uri (pypi-uri "py-ubjson" version))
5562 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
5563 (build-system python-build-system)
5564 (home-page "https://github.com/Iotic-Labs/py-ubjson")
5565 (synopsis "Universal Binary JSON encoder/decoder")
5567 "Py-ubjson is a Python module providing an Universal Binary JSON
5568 encoder/decoder based on the draft-12 specification for UBJSON.")
5569 (license license:asl2.0)))
5571 (define-public java-tomcat
5573 (name "java-tomcat")
5577 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
5578 version "/src/apache-tomcat-" version "-src.tar.gz"))
5581 "13pbsyk39g1qph82nngp54mqycmg60rxlxwy4yszsssahrqnggb2"))
5582 (modules '((guix build utils)))
5583 ;; Delete bundled jars.
5586 (for-each delete-file (find-files "." "\\.jar$"))
5588 (build-system ant-build-system)
5590 `(("java-eclipse-jdt-core" ,java-eclipse-jdt-core)))
5592 `(("java-junit" ,java-junit)))
5594 `(#:build-target "package"
5595 #:tests? #f; requires downloading some files.
5597 (modify-phases %standard-phases
5598 (add-after 'unpack 'prevent-download
5600 ;; This directory must exist
5602 ;; We patch build.xml so it doesn't download any dependency, because
5603 ;; we already have all of them.
5604 (substitute* "build.xml"
5605 (("download-compile,") "")
5606 (("depends=\"validate\"") "depends=\"build-prepare\"")
5607 ((",download-validate") ""))
5609 (add-after 'unpack 'strip-timestamps
5611 (substitute* "build.xml"
5612 (("<filter token=\"YEAR\" value=.*")
5613 "<filter token=\"YEAR\" value=\"1970\"/>")
5614 (("<filter token=\"VERSION_BUILT\" value=.*")
5615 "<filter token=\"VERSION_BUILT\" value=\"Jan 1 1970 00:00:00 UTC\"/>"))
5617 (add-after 'unpack 'generate-properties
5619 ;; This could have been passed to make-flags, but getcwd returns
5620 ;; a different directory then.
5621 (with-output-to-file "build.properties"
5624 (string-append "base.path=" (getcwd) "/downloads\n"))))
5627 (install-jars "output/build/lib")))))
5628 (home-page "https://tomcat.apache.org")
5629 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
5631 (description "Apache Tomcat is a free implementation of the Java
5632 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
5634 (license license:asl2.0)))
5636 (define-public java-eclipse-jetty-test-helper
5638 (name "java-eclipse-jetty-test-helper")
5642 (uri (string-append "https://github.com/eclipse/jetty.toolchain/"
5643 "archive/jetty-test-helper-" version ".tar.gz"))
5646 "1jd6r9wc26fa11si4rn2gvy8ml8q4zw1nr6v04mjp8wvwpgvzwx5"))))
5647 (build-system ant-build-system)
5649 `(#:jar-name "eclipse-jetty-test-helper.jar"
5650 #:source-dir "src/main/java"
5651 #:test-dir "src/test"
5654 (modify-phases %standard-phases
5655 (add-before 'configure 'chdir
5657 (chdir "jetty-test-helper")
5659 (add-before 'build 'fix-paths
5662 ;; This file assumes that the build directory is named "target"
5663 ;; but it is not the case with our ant-build-system. Once we have
5664 ;; maven though, we will have to rebuild this package because this
5665 ;; assumption is correct with maven-build-system.
5667 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
5668 (("\"target\"") "\"build\"")
5669 (("\"tests\"") "\"test-classes\""))
5670 ;; Tests assume we are building with maven, so that the build
5671 ;; directory is named "target", and not "build".
5672 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
5673 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
5674 "MavenTestingUtilsTest.java")
5675 (("target/tests") "build/test-classes")
5676 (("\"target") "\"build")))
5679 `(("junit" ,java-junit)
5680 ("hamcrest" ,java-hamcrest-all)))
5681 (home-page "https://www.eclipse.org/jetty/")
5682 (synopsis "Helper classes for jetty tests")
5683 (description "This package contains helper classes for testing the Jetty
5685 ;; This program is licensed under both epl and asl.
5686 (license (list license:epl1.0 license:asl2.0))))
5688 (define-public java-eclipse-jetty-perf-helper
5690 (inherit java-eclipse-jetty-test-helper)
5691 (name "java-eclipse-jetty-perf-helper")
5693 `(#:jar-name "eclipse-jetty-perf-helper.jar"
5694 #:source-dir "src/main/java"
5695 #:tests? #f; no tests
5698 (modify-phases %standard-phases
5699 (add-before 'configure 'chdir
5701 (chdir "jetty-perf-helper")
5704 `(("hdrhistogram" ,java-hdrhistogram)))))
5706 (define-public java-eclipse-jetty-util
5708 (name "java-eclipse-jetty-util")
5712 (uri (string-append "https://github.com/eclipse/jetty.project/"
5713 "archive/jetty-" version ".v20170531.tar.gz"))
5716 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
5717 (build-system ant-build-system)
5719 `(#:jar-name "eclipse-jetty-util.jar"
5720 #:source-dir "src/main/java"
5722 (list "**/Abstract*.java"
5724 "**/InetAddressSetTest.java"
5725 ;; Assumes we are using maven
5726 "**/TypeUtilTest.java"
5727 ;; Error on the style of log
5728 "**/StdErrLogTest.java")
5731 (modify-phases %standard-phases
5732 (add-before 'configure 'chdir
5734 (chdir "jetty-util")
5737 `(("slf4j" ,java-slf4j-api)
5738 ("servlet" ,java-tomcat)))
5740 `(("junit" ,java-junit)
5741 ("hamcrest" ,java-hamcrest-all)
5742 ("perf-helper" ,java-eclipse-jetty-perf-helper)
5743 ("test-helper" ,java-eclipse-jetty-test-helper)))
5744 (home-page "https://www.eclipse.org/jetty/")
5745 (synopsis "Utility classes for Jetty")
5746 (description "The Jetty Web Server provides an HTTP server and Servlet
5747 container capable of serving static and dynamic content either from a standalone
5748 or embedded instantiation. This package provides utility classes.")
5749 (license (list license:epl1.0 license:asl2.0))))
5751 ;; This version is required by maven-wagon
5752 (define-public java-eclipse-jetty-util-9.2
5754 (inherit java-eclipse-jetty-util)
5758 (uri (string-append "https://github.com/eclipse/jetty.project/"
5759 "archive/jetty-" version ".v20170606.tar.gz"))
5762 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
5764 `(#:jar-name "eclipse-jetty-util.jar"
5765 #:source-dir "src/main/java"
5768 (list "**/Abstract*.java"
5770 "**/InetAddressSetTest.java"
5771 ;; Assumes we are using maven
5772 "**/TypeUtilTest.java"
5773 ;; We don't have an implementation for slf4j
5775 ;; Error on the style of log
5776 "**/StdErrLogTest.java")
5778 (modify-phases %standard-phases
5779 (add-before 'configure 'chdir
5781 (chdir "jetty-util")
5783 (add-before 'build 'fix-test-sources
5785 ;; We need to fix issues caused by changes in newer versions of
5786 ;; jetty-test-helper
5787 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
5788 (substitute* (string-append src "/AbstractFSResourceTest.java")
5789 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
5790 (("testdir.getFile\\(\"foo\"\\)")
5791 "testdir.getPathFile(\"foo\").toFile()")
5792 (("testdir.getFile\\(name\\)")
5793 "testdir.getPathFile(name).toFile()")))
5796 (define-public java-eclipse-jetty-io
5798 (inherit java-eclipse-jetty-util)
5799 (name "java-eclipse-jetty-io")
5801 `(#:jar-name "eclipse-jetty-io.jar"
5802 #:source-dir "src/main/java"
5804 #:test-exclude (list "**/Abstract*.java"
5806 "**/EndPointTest.java")
5808 (modify-phases %standard-phases
5809 (add-before 'configure 'chdir
5814 `(("slf4j" ,java-slf4j-api)
5815 ("servlet" ,java-javaee-servletapi)
5816 ("util" ,java-eclipse-jetty-util)))
5817 (synopsis "Jetty :: IO Utility")
5818 (description "The Jetty Web Server provides an HTTP server and Servlet
5819 container capable of serving static and dynamic content either from a standalone
5820 or embedded instantiation. This package provides IO-related utility classes.")))
5822 (define-public java-eclipse-jetty-io-9.2
5824 (inherit java-eclipse-jetty-io)
5825 (version (package-version java-eclipse-jetty-util-9.2))
5826 (source (package-source java-eclipse-jetty-util-9.2))
5828 `(("util" ,java-eclipse-jetty-util-9.2)
5829 ,@(package-inputs java-eclipse-jetty-util-9.2)))
5831 `(("mockito" ,java-mockito-1)
5832 ("cglib" ,java-cglib)
5833 ("objenesis" ,java-objenesis)
5835 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
5837 (define-public java-eclipse-jetty-http
5839 (inherit java-eclipse-jetty-util)
5840 (name "java-eclipse-jetty-http")
5842 `(#:jar-name "eclipse-jetty-http.jar"
5843 #:source-dir "src/main/java"
5846 (modify-phases %standard-phases
5847 (add-before 'configure 'chdir
5849 (chdir "jetty-http")
5851 (add-before 'build 'copy-resources
5853 (mkdir-p "build/classes")
5854 (copy-recursively "src/main/resources/" "build/classes/")
5857 `(("slf4j" ,java-slf4j-api)
5858 ("servlet" ,java-javaee-servletapi)
5859 ("io" ,java-eclipse-jetty-io)
5860 ("util" ,java-eclipse-jetty-util)))
5861 (synopsis "Jetty :: Http Utility")
5862 (description "The Jetty Web Server provides an HTTP server and Servlet
5863 container capable of serving static and dynamic content either from a standalone
5864 or embedded instantiation. This package provides HTTP-related utility classes.")))
5866 (define-public java-eclipse-jetty-http-9.2
5868 (inherit java-eclipse-jetty-http)
5869 (version (package-version java-eclipse-jetty-util-9.2))
5870 (source (package-source java-eclipse-jetty-util-9.2))
5872 `(("util" ,java-eclipse-jetty-util-9.2)
5873 ("io" ,java-eclipse-jetty-io-9.2)
5874 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5876 (define-public java-eclipse-jetty-jmx
5878 (inherit java-eclipse-jetty-util)
5879 (name "java-eclipse-jetty-jmx")
5881 `(#:jar-name "eclipse-jetty-jmx.jar"
5882 #:source-dir "src/main/java"
5884 #:tests? #f; FIXME: requires com.openpojo.validation
5886 (modify-phases %standard-phases
5887 (add-before 'configure 'chdir
5892 `(("slf4j" ,java-slf4j-api)
5893 ("servlet" ,java-javaee-servletapi)
5894 ("util" ,java-eclipse-jetty-util)))
5895 (synopsis "Jetty :: JMX Management")
5896 (description "The Jetty Web Server provides an HTTP server and Servlet
5897 container capable of serving static and dynamic content either from a standalone
5898 or embedded instantiation. This package provides the JMX management.")))
5900 (define-public java-eclipse-jetty-jmx-9.2
5902 (inherit java-eclipse-jetty-jmx)
5903 (version (package-version java-eclipse-jetty-util-9.2))
5904 (source (package-source java-eclipse-jetty-util-9.2))
5906 `(("util" ,java-eclipse-jetty-util-9.2)
5907 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5909 (define java-eclipse-jetty-http-test-classes
5911 (inherit java-eclipse-jetty-util)
5912 (name "java-eclipse-jetty-http-test-classes")
5914 `(#:jar-name "eclipse-jetty-http.jar"
5915 #:source-dir "src/test"
5919 (modify-phases %standard-phases
5920 (add-before 'configure 'chdir
5922 (chdir "jetty-http")
5925 `(("slf4j" ,java-slf4j-api)
5926 ("servlet" ,java-tomcat)
5927 ("http" ,java-eclipse-jetty-http)
5928 ("io" ,java-eclipse-jetty-io)
5929 ("util" ,java-eclipse-jetty-util)))))
5931 (define java-eclipse-jetty-http-test-classes-9.2
5933 (inherit java-eclipse-jetty-http-test-classes)
5934 (version (package-version java-eclipse-jetty-util-9.2))
5935 (source (package-source java-eclipse-jetty-util-9.2))
5937 `(("http" ,java-eclipse-jetty-http-9.2)
5938 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
5940 (define-public java-eclipse-jetty-server
5942 (inherit java-eclipse-jetty-util)
5943 (name "java-eclipse-jetty-server")
5945 `(#:jar-name "eclipse-jetty-server.jar"
5946 #:source-dir "src/main/java"
5948 #:tests? #f; requires a mockito version we don't have
5950 (modify-phases %standard-phases
5951 (add-before 'configure 'chdir
5953 (chdir "jetty-server")
5955 (add-before 'build 'fix-source
5957 ;; Explicit casts to prevent build failures
5958 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
5959 (("append\\(LazyList")
5960 "append((CharSequence)LazyList"))
5962 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
5964 "Class<\\? extends EventListener> clazz = _classLoader==null"
5965 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
5966 "_classLoader.loadClass\\(className\\);"))
5967 (string-append "Class<? extends EventListener> clazz = "
5968 "(Class<? extends EventListener>) "
5969 "(_classLoader==null?Loader.loadClass("
5970 "ContextHandler.class,className):"
5971 "_classLoader.loadClass(className));")))
5974 `(("slf4j" ,java-slf4j-api)
5975 ("servlet" ,java-javaee-servletapi)
5976 ("http" ,java-eclipse-jetty-http)
5977 ("io" ,java-eclipse-jetty-io)
5978 ("jmx" ,java-eclipse-jetty-jmx)
5979 ("util" ,java-eclipse-jetty-util)))
5981 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
5982 ,@(package-native-inputs java-eclipse-jetty-util)))
5983 (synopsis "Core jetty server artifact")
5984 (description "The Jetty Web Server provides an HTTP server and Servlet
5985 container capable of serving static and dynamic content either from a standalone
5986 or embedded instantiation. This package provides the core jetty server
5989 (define-public java-eclipse-jetty-server-9.2
5991 (inherit java-eclipse-jetty-server)
5992 (version (package-version java-eclipse-jetty-util-9.2))
5993 (source (package-source java-eclipse-jetty-util-9.2))
5995 `(("util" ,java-eclipse-jetty-util-9.2)
5996 ("jmx" ,java-eclipse-jetty-jmx-9.2)
5997 ("io" ,java-eclipse-jetty-io-9.2)
5998 ("http" ,java-eclipse-jetty-http-9.2)
5999 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6001 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6002 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6004 (define-public java-eclipse-jetty-security
6006 (inherit java-eclipse-jetty-util)
6007 (name "java-eclipse-jetty-security")
6009 `(#:jar-name "eclipse-jetty-security.jar"
6010 #:source-dir "src/main/java"
6012 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
6014 (modify-phases %standard-phases
6015 (add-before 'configure 'chdir
6017 (chdir "jetty-security")
6020 `(("slf4j" ,java-slf4j-api)
6021 ("servlet" ,java-tomcat)
6022 ("http" ,java-eclipse-jetty-http)
6023 ("server" ,java-eclipse-jetty-server)
6024 ("util" ,java-eclipse-jetty-util)))
6026 `(("io" ,java-eclipse-jetty-io)
6027 ,@(package-native-inputs java-eclipse-jetty-util)))
6028 (synopsis "Jetty security infrastructure")
6029 (description "The Jetty Web Server provides an HTTP server and Servlet
6030 container capable of serving static and dynamic content either from a standalone
6031 or embedded instantiation. This package provides the core jetty security
6034 (define-public java-eclipse-jetty-security-9.2
6036 (inherit java-eclipse-jetty-security)
6037 (version (package-version java-eclipse-jetty-util-9.2))
6038 (source (package-source java-eclipse-jetty-util-9.2))
6040 `(("util" ,java-eclipse-jetty-util-9.2)
6041 ("http" ,java-eclipse-jetty-http-9.2)
6042 ("server" ,java-eclipse-jetty-server-9.2)
6043 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6045 `(("io" ,java-eclipse-jetty-io-9.2)
6046 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6048 (define-public java-eclipse-jetty-servlet
6050 (inherit java-eclipse-jetty-util)
6051 (name "java-eclipse-jetty-servlet")
6053 `(#:jar-name "eclipse-jetty-servlet.jar"
6054 #:source-dir "src/main/java"
6057 (modify-phases %standard-phases
6058 (add-before 'configure 'chdir
6060 (chdir "jetty-servlet")
6063 `(("slf4j" ,java-slf4j-api)
6064 ("servlet" ,java-tomcat)
6065 ("http" ,java-eclipse-jetty-http)
6066 ("http-test" ,java-eclipse-jetty-http-test-classes)
6067 ("io" ,java-eclipse-jetty-io)
6068 ("jmx" ,java-eclipse-jetty-jmx)
6069 ("security" ,java-eclipse-jetty-security)
6070 ("server" ,java-eclipse-jetty-server)
6071 ("util" ,java-eclipse-jetty-util)))
6072 (synopsis "Jetty Servlet Container")
6073 (description "The Jetty Web Server provides an HTTP server and Servlet
6074 container capable of serving static and dynamic content either from a standalone
6075 or embedded instantiation. This package provides the core jetty servlet
6078 (define-public java-eclipse-jetty-servlet-9.2
6080 (inherit java-eclipse-jetty-servlet)
6081 (version (package-version java-eclipse-jetty-util-9.2))
6082 (source (package-source java-eclipse-jetty-util-9.2))
6084 `(#:jar-name "eclipse-jetty-servlet.jar"
6085 #:source-dir "src/main/java"
6087 #:tests? #f; doesn't work
6089 (modify-phases %standard-phases
6090 (add-before 'configure 'chdir
6092 (chdir "jetty-servlet")
6095 `(("util" ,java-eclipse-jetty-util-9.2)
6096 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6097 ("io" ,java-eclipse-jetty-io-9.2)
6098 ("http" ,java-eclipse-jetty-http-9.2)
6099 ("security" ,java-eclipse-jetty-security-9.2)
6100 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
6101 ("server" ,java-eclipse-jetty-server-9.2)
6102 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6104 (define-public java-eclipse-jetty-xml
6106 (inherit java-eclipse-jetty-util)
6107 (name "java-eclipse-jetty-xml")
6109 `(#:jar-name "eclipse-jetty-xml.jar"
6110 #:source-dir "src/main/java"
6112 #:tests? #f; most tests require network
6114 (modify-phases %standard-phases
6115 (add-before 'configure 'chdir
6120 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
6122 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6123 ,@(package-native-inputs java-eclipse-jetty-util)))))
6125 (define-public java-eclipse-jetty-xml-9.2
6127 (inherit java-eclipse-jetty-xml)
6128 (version (package-version java-eclipse-jetty-util-9.2))
6129 (source (package-source java-eclipse-jetty-util-9.2))
6131 `(#:jar-name "eclipse-jetty-xml.jar"
6132 #:source-dir "src/main/java"
6134 #:tests? #f; most tests require network
6136 (modify-phases %standard-phases
6137 (add-before 'configure 'chdir
6142 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6143 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6145 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6146 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6148 (define-public java-eclipse-jetty-webapp
6150 (inherit java-eclipse-jetty-util)
6151 (name "java-eclipse-jetty-webapp")
6153 `(#:jar-name "eclipse-jetty-webapp.jar"
6154 #:source-dir "src/main/java"
6157 #:test-exclude (list "**/WebAppContextTest.java")
6159 (modify-phases %standard-phases
6160 (add-before 'configure 'chdir
6162 (chdir "jetty-webapp")
6165 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
6166 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
6167 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
6168 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
6169 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
6170 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
6171 ("java-javaee-servletapi" ,java-javaee-servletapi)))
6173 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6174 ,@(package-native-inputs java-eclipse-jetty-util)))))
6176 (define-public java-eclipse-jetty-webapp-9.2
6178 (inherit java-eclipse-jetty-webapp)
6179 (version (package-version java-eclipse-jetty-util-9.2))
6180 (source (package-source java-eclipse-jetty-util-9.2))
6182 `(#:jar-name "eclipse-jetty-webapp.jar"
6183 #:source-dir "src/main/java"
6185 #:test-exclude (list "**/WebAppContextTest.java")
6187 (modify-phases %standard-phases
6188 (add-before 'configure 'chdir
6190 (chdir "jetty-webapp")
6193 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6194 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
6195 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
6196 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
6197 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
6198 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
6199 ("java-tomcat" ,java-tomcat)
6200 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6202 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6203 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6205 (define-public java-jsoup
6211 (uri (string-append "https://github.com/jhy/jsoup/archive/jsoup-"
6215 "0xbzw7rjv7s4nz1xk9b2cnin6zkpaldmc3svk71waa7hhjgp0a20"))))
6216 (build-system ant-build-system)
6218 `(#:jar-name "jsoup.jar"
6219 #:source-dir "src/main/java"
6221 (modify-phases %standard-phases
6222 (add-before 'build 'copy-resources
6224 (let ((classes-dir (string-append (getcwd) "/build/classes")))
6225 (with-directory-excursion "src/main/java"
6226 (for-each (lambda (file)
6227 (let ((dist (string-append classes-dir "/" file)))
6228 (mkdir-p (dirname dist))
6229 (copy-file file dist)))
6230 (find-files "." ".*.properties"))))
6233 `(("java-junit" ,java-junit)
6234 ("java-hamcrest-core" ,java-hamcrest-core)
6235 ("java-gson" ,java-gson)))
6236 (home-page "https://jsoup.org")
6237 (synopsis "HTML parser")
6238 (description "Jsoup is a Java library for working with real-world HTML. It
6239 provides a very convenient API for extracting and manipulating data, using the
6240 best of DOM, CSS, and jQuery-like methods.")
6241 (license license:expat)))
6243 (define-public tidyp
6250 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
6254 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
6255 (build-system gnu-build-system)
6256 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
6257 (arguments `(#:tests? #f))
6258 (home-page "http://www.tidyp.com/")
6259 (synopsis "Validate HTML")
6260 (description "Tidyp is a program that can validate your HTML, as well as
6261 modify it to be more clean and standard. tidyp does not validate HTML 5.
6263 libtidyp is the library on which the program is based. It can be used by any
6264 other program that can interface to it. The Perl module @code{HTML::Tidy} is
6265 based on this library, allowing Perl programmers to easily validate HTML.")
6266 ;; See htmldoc/license.html
6267 (license license:bsd-3)))
6269 (define-public perl-html-tidy
6271 (name "perl-html-tidy")
6276 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
6280 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
6281 (build-system perl-build-system)
6284 (modify-phases %standard-phases
6285 (add-after 'unpack 'fix-tidyp-paths
6286 (lambda* (#:key inputs #:allow-other-keys)
6287 (substitute* "Makefile.PL"
6288 (("^my \\$inc = \"" line)
6290 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
6293 "-L" (assoc-ref inputs "tidyp") "/lib")))
6296 `(("perl-libwww" ,perl-libwww)
6299 `(("perl-test-exception" ,perl-test-exception)))
6300 (home-page "https://metacpan.org/release/HTML-Tidy")
6301 (synopsis "(X)HTML validation in a Perl object")
6302 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
6303 object. It's meant as a replacement for @code{HTML::Lint}, which is written
6304 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
6305 (license license:artistic2.0)))
6307 (define-public geomyidae
6315 (url "git://r-36.net/geomyidae")
6316 (commit (string-append "v" version))))
6317 (file-name (git-file-name name version))
6319 (base32 "02afgrk36wkdkflyqr2xgh49v9zq6ma454jshk7igvhpxfb5l3ks"))))
6320 (build-system gnu-build-system)
6322 `(#:make-flags (list "CC=gcc"
6323 (string-append "PREFIX="
6324 (assoc-ref %outputs "out")))
6325 #:tests? #f ; no tests
6326 #:phases (modify-phases %standard-phases
6327 (delete 'configure))))
6328 (home-page "http://r-36.net/scm/geomyidae/file/README.html")
6329 (synopsis "Small Gopher server")
6331 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
6335 @item Gopher menus (see @file{index.gph} for an example);
6336 @item directory listings (if no @file{index.gph} was found);
6337 @item CGI support (@file{.cgi} files are executed);
6338 @item search support in CGI files;
6339 @item logging with multiple log levels.
6341 (license license:expat)))
6343 (define-public cat-avatar-generator
6345 (name "cat-avatar-generator")
6350 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
6351 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
6352 (file-name (string-append name "-" version))
6355 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
6356 (build-system trivial-build-system)
6358 `(#:modules ((guix build utils)
6363 (use-modules (guix build utils)
6366 (let ((source (assoc-ref %build-inputs "source"))
6367 (php-dir (string-append %output "/share/web/" ,name "/")))
6368 ;; The cache directory must not be in the store, but in a writable
6369 ;; location. The webserver will give us this location.
6370 (copy-recursively source php-dir)
6371 (substitute* (string-append php-dir "/cat-avatar-generator.php")
6372 (("\\$cachepath = .*")
6373 "if(isset($_SERVER['CACHE_DIR']))
6374 $cachepath = $_SERVER['CACHE_DIR'];
6376 die('You need to set the CACHE_DIR variable first.');"))
6378 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
6379 (synopsis "Random avatar generator")
6380 (description "Cat avatar generator is a generator of cat pictures optimised
6381 to generate random avatars, or defined avatar from a \"seed\". This is a
6382 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
6383 ;; expat for the code, CC-BY 4.0 for the artwork
6384 (license (list license:expat
6385 license:cc-by4.0))))
6387 (define-public nghttp2
6394 (uri (string-append "https://github.com/nghttp2/nghttp2/"
6395 "releases/download/v" version "/"
6396 name "-" version ".tar.xz"))
6399 "0j0lk37k8k3f61r9nw647hg4b22z1753l36n3xrp9x01civ614b7"))))
6400 (build-system gnu-build-system)
6401 (outputs (list "out"
6402 "lib")) ; only libnghttp2
6404 `(("pkg-config" ,pkg-config)
6406 ;; Required by tests.
6408 ("tzdata" ,tzdata-for-tests)))
6410 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
6411 `(("c-ares" ,c-ares)
6412 ("jansson" ,jansson) ; for HPACK tools
6413 ("jemalloc" ,jemalloc) ; fight nghttpd{,x} heap fragmentation
6415 ("libxml2" ,libxml2) ; for ‘nghttp -a’
6416 ("openssl" ,openssl)))
6419 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
6420 "--enable-app" ; build all the tools
6421 "--enable-hpack-tools" ; ...all the tools
6422 "--disable-examples"
6423 "--disable-static") ; don't bother building .a files
6425 (modify-phases %standard-phases
6426 (add-after 'unpack 'break-circular-reference
6427 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
6428 ;; which is not allowed. Break this cycle. While we could install
6429 ;; only the library to ‘out’ and move everything else to a separate
6430 ;; output, this would inconvenience the majority of (human) users.
6431 (lambda* (#:key outputs #:allow-other-keys)
6432 (substitute* "lib/libnghttp2.pc.in"
6434 (assoc-ref outputs "lib")))
6436 (add-before 'check 'set-timezone-directory
6437 (lambda* (#:key inputs #:allow-other-keys)
6438 (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
6441 (home-page "https://nghttp2.org/")
6442 (synopsis "HTTP/2 protocol client, proxy, server, and library")
6444 "nghttp2 implements the Hypertext Transfer Protocol, version
6447 A reusable C library provides the HTTP/2 framing layer, with several tools built
6451 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
6452 and low-level aspects of the protocol and is useful for debugging.
6453 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
6454 serves files from a local directory.
6455 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
6456 deployed in front of existing web servers that don't support HTTP/2.
6457 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
6458 backwards compatibility with clients that don't speak HTTP/2.
6459 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
6460 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
6461 nghttp2 provides a HPACK encoder and decoder as part of its public API.
6462 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
6463 compressed JSON header blocks.
6464 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
6466 (license license:expat)))
6468 (define-public hpcguix-web
6469 (let ((commit "f39c90b35e99e4122b0866ec4337020d61c81508")
6472 (name "hpcguix-web")
6473 (version (git-version "0.0.1" revision commit))
6477 (url "https://github.com/UMCUGenetics/hpcguix-web.git")
6479 (file-name (git-file-name name version))
6482 "0idzzlwnaymk6hm5q9nh146h5m6vd8acp32vlmzp6qq08mimfkq7"))))
6483 (build-system gnu-build-system)
6485 `(#:modules ((guix build gnu-build-system)
6491 (modify-phases %standard-phases
6492 (add-before 'configure 'set-variables
6494 ;; This prevents a few warnings
6495 (setenv "GUILE_AUTO_COMPILE" "0")
6496 (setenv "XDG_CACHE_HOME" (getcwd))
6498 (add-after 'install 'wrap-program
6499 (lambda* (#:key inputs outputs #:allow-other-keys)
6500 (let* ((out (assoc-ref outputs "out"))
6501 (guix (assoc-ref inputs "guix"))
6502 (guile (assoc-ref inputs "guile"))
6503 (gcrypt (assoc-ref inputs "guile-gcrypt"))
6504 (git (assoc-ref inputs "guile-git"))
6505 (bs (assoc-ref inputs "guile-bytestructures"))
6506 (json (assoc-ref inputs "guile-json"))
6507 (guile-cm (assoc-ref inputs
6508 "guile-commonmark"))
6509 (deps (list guile gcrypt git bs guile-cm guix json))
6512 (open-pipe* OPEN_READ
6513 (string-append guile "/bin/guile")
6514 "-c" "(display (effective-version))")))
6516 (map (cut string-append <>
6517 "/share/guile/site/"
6521 (gopath (string-join
6522 (map (cut string-append <>
6523 "/lib/guile/" effective
6527 (wrap-program (string-append out "/bin/run")
6528 `("GUILE_LOAD_PATH" ":" prefix (,path))
6529 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
6533 `(("autoconf" ,autoconf)
6534 ("automake" ,automake)
6535 ("uglify-js" ,uglify-js)
6536 ("pkg-config" ,pkg-config)))
6540 `(("guile" ,guile-2.2)
6541 ("guile-commonmark" ,guile-commonmark)
6542 ("guile-json" ,guile-json-3)))
6543 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
6544 (synopsis "Web interface for cluster deployments of Guix")
6545 (description "Hpcguix-web provides a web interface to the list of packages
6546 provided by Guix. The list of packages is searchable and provides
6547 instructions on how to use Guix in a shared HPC environment.")
6548 (license license:agpl3+))))
6550 (define-public httrack
6556 (uri (string-append "https://mirror.httrack.com/historical/"
6557 "httrack-" version ".tar.gz"))
6560 "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"))))
6561 (build-system gnu-build-system)
6563 `(("libressl" ,libressl)
6565 (home-page "https://www.httrack.com/")
6566 (synopsis "Easy-to-use offline browser utility")
6567 (description "HTTrack allows you to download a World Wide Web site from
6568 the Internet to a local directory, building recursively all directories,
6569 getting HTML, images, and other files from the server to your computer.
6571 HTTrack arranges the original site's relative link-structure. Simply open
6572 a page of the ``mirrored'' website in your browser, and you can browse the
6573 site from link to link, as if you were viewing it online. HTTrack can also
6574 update an existing mirrored site, and resume interrupted downloads.
6576 HTTrack is fully configurable, and has an integrated help system.")
6577 (license license:gpl3+)))
6579 (define-public anonip
6585 (uri (pypi-uri "anonip" version))
6588 "0ckn9nnfhpdnz8b92q8pkysdqj6pdh71ckfqvfj0z01cq0hzbhd2"))))
6589 (build-system python-build-system)
6590 (home-page "https://github.com/DigitaleGesellschaft/Anonip")
6591 (synopsis "Anonymize IP addresses in log files")
6593 "Anonip masks the last bits of IPv4 and IPv6 addresses in log files.
6594 That way most of the relevant information is preserved, while the IP address
6595 does not match a particular individuum anymore.
6597 Depending on your Web server, the log entries may be piped to Anonip directly
6598 or via a FIFO (named pipe). Thus the unmasked IP addresses will never be
6599 written to any file.
6601 It's also possible to rewrite existing log files.
6603 Anonip can also be uses as a Python module in your own Python application.")
6604 (license license:bsd-3)))