1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
4 ;;; Copyright © 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2016, 2017, 2018 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 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 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 Nils Gillmann <ng0@n0.is>
18 ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2016, 2017, 2018 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 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 © 2018 Julien Lepiller <julien@lepiller.eu>
28 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
30 ;;; This file is part of GNU Guix.
32 ;;; GNU Guix is free software; you can redistribute it and/or modify it
33 ;;; under the terms of the GNU General Public License as published by
34 ;;; the Free Software Foundation; either version 3 of the License, or (at
35 ;;; your option) any later version.
37 ;;; GNU Guix is distributed in the hope that it will be useful, but
38 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
39 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40 ;;; GNU General Public License for more details.
42 ;;; You should have received a copy of the GNU General Public License
43 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
45 (define-module (gnu packages web)
46 #:use-module (ice-9 match)
47 #:use-module ((guix licenses) #:prefix l:)
48 #:use-module (guix packages)
49 #:use-module (guix download)
50 #:use-module (guix git-download)
51 #:use-module (guix cvs-download)
52 #:use-module (guix hg-download)
53 #:use-module (guix utils)
54 #:use-module (guix build-system gnu)
55 #:use-module (guix build-system glib-or-gtk)
56 #:use-module (guix build-system perl)
57 #:use-module (guix build-system cmake)
58 #:use-module (guix build-system r)
59 #:use-module (guix build-system trivial)
60 #:use-module (guix build-system python)
61 #:use-module (guix build-system ant)
62 #:use-module (guix build-system scons)
63 #:use-module (gnu packages)
64 #:use-module (gnu packages adns)
65 #:use-module (gnu packages apr)
66 #:use-module (gnu packages check)
67 #:use-module (gnu packages cran)
68 #:use-module (gnu packages documentation)
69 #:use-module (gnu packages docbook)
70 #:use-module (gnu packages autotools)
71 #:use-module (gnu packages compression)
72 #:use-module (gnu packages cyrus-sasl)
73 #:use-module (gnu packages databases)
74 #:use-module (gnu packages bison)
75 #:use-module (gnu packages flex)
76 #:use-module (gnu packages freedesktop)
77 #:use-module (gnu packages kerberos)
78 #:use-module (gnu packages gd)
79 #:use-module (gnu packages gettext)
80 #:use-module (gnu packages glib)
81 #:use-module (gnu packages gnome)
82 #:use-module (gnu packages gnu-doc)
83 #:use-module (gnu packages gnupg)
84 #:use-module (gnu packages gnuzilla)
85 #:use-module (gnu packages gperf)
86 #:use-module (gnu packages gtk)
87 #:use-module (gnu packages guile)
88 #:use-module (gnu packages java)
89 #:use-module (gnu packages javascript)
90 #:use-module (gnu packages jemalloc)
91 #:use-module (gnu packages image)
92 #:use-module (gnu packages imagemagick)
93 #:use-module (gnu packages libevent)
94 #:use-module (gnu packages libidn)
95 #:use-module (gnu packages libunistring)
96 #:use-module (gnu packages lisp)
97 #:use-module (gnu packages lua)
98 #:use-module (gnu packages markup)
99 #:use-module (gnu packages ncurses)
100 #:use-module (gnu packages openstack)
101 #:use-module (gnu packages base)
102 #:use-module (gnu packages package-management)
103 #:use-module (gnu packages perl)
104 #:use-module (gnu packages perl-check)
105 #:use-module (gnu packages python)
106 #:use-module (gnu packages python-web)
107 #:use-module (gnu packages pcre)
108 #:use-module (gnu packages pkg-config)
109 #:use-module (gnu packages qt)
110 #:use-module (gnu packages valgrind)
111 #:use-module (gnu packages xml)
112 #:use-module (gnu packages curl)
113 #:use-module (gnu packages texinfo)
114 #:use-module (gnu packages textutils)
115 #:use-module (gnu packages tls)
116 #:use-module (gnu packages statistics)
117 #:use-module (gnu packages version-control))
125 (uri (string-append "mirror://apache/httpd/httpd-"
129 "01bghiq4pbgjbgd6gic0nb8bbk6mfpwx3gcsbf21f3dhb4c520ny"))))
130 (build-system gnu-build-system)
131 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
132 (inputs `(("apr" ,apr)
133 ("apr-util" ,apr-util)
135 ("perl" ,perl))) ; needed to run bin/apxs
137 `(#:test-target "test"
138 #:configure-flags (list "--enable-rewrite"
140 "--enable-vhost-alias"
142 "--enable-mime-magic"
143 (string-append "--sysconfdir="
144 (assoc-ref %outputs "out")
146 (synopsis "Featureful HTTP server")
148 "The Apache HTTP Server Project is a collaborative software development
149 effort aimed at creating a robust, commercial-grade, featureful, and
150 freely-available source code implementation of an HTTP (Web) server. The
151 project is jointly managed by a group of volunteers located around the world,
152 using the Internet and the Web to communicate, plan, and develop the server
153 and its related documentation.")
155 (home-page "https://httpd.apache.org/")))
157 (define-public mod-wsgi
164 "https://github.com/GrahamDumpleton/mod_wsgi/archive/"
166 (file-name (string-append name "-" version ".tar.gz"))
169 "0n1yhmrfp8mjbsngmyjl937c6rc0069p6wdi1lknrbn1q42hzw6q"))))
170 (build-system gnu-build-system)
172 '(#:tests? #f ;; TODO: Can't figure out if there are tests
174 (string-append "DESTDIR="
175 (assoc-ref %outputs "out"))
176 "LIBEXECDIR=/modules")))
179 ("python" ,python-wrapper)))
180 (synopsis "Apache HTTPD module for Python WSGI applications")
182 "The mod_wsgi module for the Apache HTTPD Server adds support for running
183 applications that support the Python @acronym{WSGI, Web Server Gateway
184 Interface} specification.")
186 (home-page "https://modwsgi.readthedocs.io/")))
191 ;; Consider updating the nginx-documentation package if the nginx package is
196 (uri (string-append "https://nginx.org/download/nginx-"
200 "1d9c0avfpbwvzyg53b59ks8shpnrxnbnshcd7ziizflsyv5vw5ax"))))
201 (build-system gnu-build-system)
202 (inputs `(("openssl" ,openssl)
206 `(#:tests? #f ; no test target
208 (modify-phases %standard-phases
209 (add-before 'configure 'patch-/bin/sh
211 (substitute* "auto/feature"
212 (("/bin/sh") (which "sh")))
215 ;; The configure script is hand-written, not from GNU autotools.
216 (lambda* (#:key outputs #:allow-other-keys)
218 (list (string-append "--prefix=" (assoc-ref outputs "out"))
219 "--with-http_ssl_module"
220 "--with-http_v2_module"
223 ;; Even when not cross-building, we pass the
224 ;; --crossbuild option to avoid customizing for the
225 ;; kernel version on the build machine.
226 ,(let ((system "Linux") ; uname -s
227 (release "3.2.0") ; uname -r
229 (machine (match (or (%current-target-system)
231 ("x86_64-linux" "x86_64")
232 ("i686-linux" "i686")
233 ("mips64el-linux" "mips64")
234 ;; Prevent errors when querying
235 ;; this package on unsupported
236 ;; platforms, e.g. when running
237 ;; "guix package --search="
239 (string-append "--crossbuild="
240 system ":" release ":" machine)))))
242 (format #t "environment variable `CC' set to `gcc'~%")
243 (format #t "configure flags: ~s~%" flags)
244 (apply invoke "./configure" flags)
246 (add-after 'install 'install-man-page
247 (lambda* (#:key outputs #:allow-other-keys)
248 (let* ((out (assoc-ref outputs "out"))
249 (man (string-append out "/share/man")))
250 (install-file "objs/nginx.8" (string-append man "/man8"))
252 (add-after 'install 'fix-root-dirs
253 (lambda* (#:key outputs #:allow-other-keys)
254 ;; 'make install' puts things in strange places, so we need to
255 ;; clean it up ourselves.
256 (let* ((out (assoc-ref outputs "out"))
257 (share (string-append out "/share/nginx")))
258 ;; This directory is empty, so get rid of it.
259 (rmdir (string-append out "/logs"))
260 ;; Example configuration and HTML files belong in
263 (rename-file (string-append out "/conf")
264 (string-append share "/conf"))
265 (rename-file (string-append out "/html")
266 (string-append share "/html"))
268 (home-page "https://nginx.org")
269 (synopsis "HTTP and reverse proxy server")
271 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
272 created by Igor Sysoev. It can be used both as a stand-alone web server
273 and as a proxy to reduce the load on back-end HTTP or mail servers.")
274 ;; Almost all of nginx is distributed under the bsd-2 license.
275 ;; The exceptions are:
276 ;; * The 'nginx-http-push' module is covered by the expat license.
277 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
278 ;; except for two source files which are bsd-4 licensed.
279 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
281 (define nginx-xslscript
283 (changeset "01dc9ba12e1b"))
285 (name "nginx-xslscript")
287 (simple-format #f "2014-03-31-~A-~A" revision changeset))
291 (url "http://hg.nginx.org/xslscript")
292 (changeset changeset)))
293 (file-name (string-append name "-" version))
296 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
297 (build-system gnu-build-system)
299 '(#:tests? #f ; No test suite
301 (modify-phases %standard-phases
305 (lambda* (#:key outputs #:allow-other-keys)
306 (let ((out-bin (string-append
307 (assoc-ref outputs "out")
310 (copy-file "xslscript.pl"
315 (home-page "http://hg.nginx.org/xslscript")
316 (synopsis "XSLScript with NGinx specific modifications")
318 "XSLScript is a terse notation for writing complex XSLT stylesheets.
319 This is modified version, specifically intended for use with the NGinx
323 (define-public nginx-documentation
324 ;; This documentation should be relevant for nginx@1.13.11.
325 (let ((revision 2131)
326 (changeset "dbaf3950f8e9"))
328 (name "nginx-documentation")
330 (simple-format #f "2018-04-04-~A-~A" revision changeset))
332 (origin (method hg-fetch)
334 (url "http://hg.nginx.org/nginx.org")
335 (changeset changeset)))
336 (file-name (string-append name "-" version))
339 "0acdjsdaqixzh9g9s6db552v4pan4nqrllyqapay9ns9yzh1hrp7"))))
340 (build-system gnu-build-system)
342 '(#:tests? #f ; no test suite
344 (modify-phases %standard-phases
345 (delete 'configure) ; no configure script
347 (lambda* (#:key outputs #:allow-other-keys)
348 (let ((output (assoc-ref outputs "out")))
349 (substitute* "umasked.sh"
350 ((" /bin/sh") (string-append " " (which "sh"))))
351 ;; The documentation includes a banner, which makes sense on
352 ;; the NGinx website, but doesn't make much sense when
353 ;; viewing locally. Therefore, modify the CSS to remove the
355 (substitute* "xslt/style.xslt"
356 (("#banner \\{ background: black;")
357 "#banner { background: black;
362 (lambda* (#:key outputs #:allow-other-keys)
363 (let ((output (assoc-ref outputs "out")))
365 (copy-recursively "libxslt" output)
368 `(("libxml2" ,libxml2)
370 ("nginx-xslscript" ,nginx-xslscript)))
371 (home-page "https://nginx.org")
372 (synopsis "Documentation for the nginx web server")
374 "This package provides HTML documentation for the nginx web server.")
384 ;; Upstream has disappeared.
385 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
386 "fcgi-" version ".tar.gz"))
389 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
390 (patches (search-patches "fcgi-2.4.0-poll.patch"
391 "fcgi-2.4.0-gcc44-fixes.patch"))))
392 (build-system gnu-build-system)
393 ;; Parallel building is not supported.
394 (arguments `(#:parallel-build? #f))
395 ;; This is an archived fork of the original home page, www.fastcgi.com.
396 (home-page "https://fastcgi-archives.github.io/")
397 (synopsis "Language-independent, high-performant extension to CGI")
398 (description "FastCGI is a language-independent, scalable extension to CGI
399 that provides high performance without the limitations of server specific
401 ;; This package is released under the Open Market License, a variant of
402 ;; the Expat license, incompatible with the GPL.
403 (license (l:non-copyleft "file://LICENSE.TERMS"))))
405 (define-public fcgiwrap
412 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
413 "archive/" version ".tar.gz"))
414 (file-name (string-append name "-" version ".tar.gz"))
417 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
418 (build-system gnu-build-system)
420 `(#:tests? #f ; no tests included
421 #:make-flags (list "CC=gcc")))
423 `(("autoconf" ,autoconf)
424 ("automake" ,automake)
425 ("pkg-config" ,pkg-config)))
428 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
429 (synopsis "Simple server for running CGI applications over FastCGI")
430 (description "Fcgiwrap is a simple server for running CGI applications
431 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
432 servers that may need it).")
435 (define-public starman
442 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
443 "Starman-" version ".tar.gz"))
446 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
447 (build-system perl-build-system)
449 `(("perl-libwww" ,perl-libwww)
450 ("perl-module-build-tiny" ,perl-module-build-tiny)
451 ("perl-test-requires" ,perl-test-requires)))
453 `(("perl-data-dump" ,perl-data-dump)
454 ("perl-http-date" ,perl-http-date)
455 ("perl-http-message" ,perl-http-message)
456 ("perl-http-parser-xs" ,perl-http-parser-xs)
457 ("perl-net-server" ,perl-net-server)
458 ("perl-plack" ,perl-plack)
459 ("perl-test-tcp" ,perl-test-tcp)))
460 (home-page "http://search.cpan.org/dist/Starman")
461 (synopsis "PSGI/Plack web server")
462 (description "Starman is a PSGI perl web server that has unique features
463 such as high performance, preforking, signal support, superdaemon awareness,
464 and UNIX socket support.")
465 (license l:perl-license)))
467 (define-public icedtea-web
474 "http://icedtea.wildebeest.org/download/source/"
475 name "-" version ".tar.gz"))
478 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
479 (build-system gnu-build-system)
482 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
483 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
485 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
486 (outputs '("out" "doc"))
488 `(("pkg-config" ,pkg-config)
492 ("jdk" ,icedtea "jdk")))
493 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
494 (synopsis "Java Web Start")
496 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
497 Protocol}, also known as Java Web Start. This package provides tools and
498 libraries for working with JNLP applets.")
499 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
503 (define-public jansson
510 (string-append "http://www.digip.org/jansson/releases/jansson-"
514 "0iv4rxsnamqm3ldpg7dyhjq0x9cp023nc7ac820jdd3pwb8ml8bq"))))
515 (build-system gnu-build-system)
516 (home-page "http://www.digip.org/jansson/")
517 (synopsis "JSON C library")
519 "Jansson is a C library for encoding, decoding and manipulating JSON
523 (define-public json-c
530 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
534 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
535 (modules '((guix build utils)))
538 ;; Somehow 'config.h.in' is older than
539 ;; 'aclocal.m4', which would trigger a rule to
541 (set-file-time "config.h.in"
544 (build-system gnu-build-system)
545 (home-page "https://github.com/json-c/json-c/wiki")
546 (synopsis "JSON implementation in C")
548 "JSON-C implements a reference counting object model that allows you to
549 easily construct JSON objects in C, output them as JSON-formatted strings and
550 parse JSON-formatted strings back into the C representation of JSON objects.
551 It aims to conform to RFC 7159.")
554 ;; TODO: remove this old version when all dependents have been updated.
555 (define-public json-c-0.12
562 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
565 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
566 (modules '((guix build utils)))
569 ;; Somehow 'config.h.in' is older than
570 ;; 'aclocal.m4', which would trigger a rule to
572 (set-file-time "config.h.in"
575 ;; Don't try to build with -Werror.
576 (substitute* (find-files "." "Makefile\\.in")
587 "https://github.com/flavio/qjson/archive/"
589 (file-name (string-append name "-" version ".tar.gz"))
592 "1m0h4rajj99hv9w4i381a8x81lxiv167lxk10ncvphpkfxs624p8"))))
593 (build-system cmake-build-system)
595 ;; The tests require a X server
596 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
597 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
599 (modify-phases %standard-phases
600 (add-after 'unpack 'disable-broken-test
602 ;; FIXME: One test fails. See
603 ;; https://github.com/flavio/qjson/issues/105
604 (substitute* "tests/scanner/testscanner.cpp"
605 (("QTest::newRow\\(\"too large exponential\"\\)" line)
606 (string-append "//" line)))
608 (add-before 'check 'render-offscreen
609 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
611 `(("qtbase" ,qtbase)))
612 (home-page "http://qjson.sourceforge.net")
613 (synopsis "Library that maps JSON data to QVariant objects")
614 (description "QJson is a Qt-based library that maps JSON data to
615 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
616 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
617 ;; Only version 2.1 of the license
618 (license l:lgpl2.1)))
620 (define-public krona-tools
627 "https://github.com/marbl/Krona/releases/download/v"
628 version "/KronaTools-" version ".tar"))
631 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
632 (build-system perl-build-system)
635 (modify-phases %standard-phases
636 ;; There is no configure or build steps.
639 ;; Install script "install.pl" expects the build directory to remain
640 ;; after installation, creating symlinks etc., so re-implement it
643 (lambda* (#:key outputs #:allow-other-keys)
644 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
645 (perl (string-append (assoc-ref outputs "out")
646 "/lib/perl5/site_perl/krona-tools/lib")))
650 (let* ((executable (string-append "scripts/" script ".pl")))
651 ;; Prefix executables with 'kt' as install script does.
652 (copy-file executable (string-append bin "/kt" script))))
654 "GetContigMagnitudes"
664 "ImportMETAREP-BLAST"
669 "ImportRDPComparison"
675 (copy-recursively directory
676 (string-append perl "/../" directory)))
677 (list "data" "img" "taxonomy" "src"))
678 (install-file "lib/KronaTools.pm" perl))))
679 (add-after 'install 'wrap-program
680 (lambda* (#:key inputs outputs #:allow-other-keys)
681 (let* ((out (assoc-ref outputs "out"))
682 (path (getenv "PERL5LIB")))
685 (wrap-program executable
686 `("PERL5LIB" ":" prefix
687 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
688 (find-files (string-append out "/bin/") ".*")))))
690 (add-after 'wrap-program 'check
691 (lambda* (#:key inputs outputs #:allow-other-keys)
692 (with-directory-excursion "data"
693 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
697 (home-page "https://github.com/marbl/Krona/wiki")
698 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
700 "Krona is a flexible tool for exploring the relative proportions of
701 hierarchical data, such as metagenomic classifications, using a radial,
702 space-filling display. It is implemented using HTML5 and JavaScript, allowing
703 charts to be explored locally or served over the Internet, requiring only a
704 current version of any major web browser.")
707 (define-public rapidjson
714 "https://github.com/miloyip/rapidjson/archive/v"
716 (file-name (string-append name "-" version ".tar.gz"))
719 "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))))
720 (build-system cmake-build-system)
722 `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
725 (modify-phases %standard-phases
726 (add-after 'unpack 'patch-aarch-march-detection
728 (substitute* (find-files "." "^CMakeLists\\.txt$")
729 (("native") "armv8-a"))
732 (home-page "https://github.com/miloyip/rapidjson")
733 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
735 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
739 (define-public libyajl
745 (uri (string-append "https://github.com/lloyd/yajl/"
746 "archive/" version ".tar.gz"))
747 (file-name (string-append name "-" version ".tar.gz"))
750 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
751 (build-system cmake-build-system)
752 (home-page "https://lloyd.github.io/yajl/")
753 (synopsis "C library for parsing JSON")
755 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
756 parser written in ANSI C and a small validating JSON generator.")
759 (define-public libwebsockets
761 (name "libwebsockets")
764 ;; The project does not publish tarballs, so we have to take
768 (url "https://github.com/warmcat/libwebsockets.git")
769 (commit (string-append "v" version
770 "-chrome37-firefox30"))))
773 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
774 (file-name (string-append name "-" version))))
776 (build-system cmake-build-system)
778 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
779 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
782 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
783 (inputs `(("zlib" ,zlib)
784 ("openssl" ,openssl)))
785 (synopsis "WebSockets library written in C")
787 "Libwebsockets is a library that allows C programs to establish client
788 and server WebSockets connections---a protocol layered above HTTP that allows
789 for efficient socket-like bidirectional reliable communication channels.")
790 (home-page "http://libwebsockets.org/")
792 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
793 (license l:lgpl2.1)))
795 (define-public libpsl
801 (uri (string-append "https://github.com/rockdaboot/libpsl/"
802 "releases/download/libpsl-" version
803 "/libpsl-" version ".tar.gz"))
806 "17r18y25ka2ck2ykfidbg4a7jpyzmkqwrzplgqjp7mwd2l9rc6cm"))))
807 (build-system gnu-build-system)
809 `(("pkg-config" ,pkg-config)))
811 `(("libidn2" ,libidn2)
812 ("libunistring" ,libunistring)
813 ("python-2" ,python-2)))
814 (home-page "https://github.com/rockdaboot/libpsl")
815 (synopsis "C library for the Publix Suffix List")
817 "A \"public suffix\" is a domain name under which Internet users can
818 directly register own names.
820 Browsers and other web clients can use it to avoid privacy-leaking
821 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
822 highlighting parts of the domain in a user interface, and sorting domain lists
825 Libpsl has built-in PSL data for fast access, allows to load PSL data from
826 files, checks if a given domain is a public suffix, provides immediate cookie
827 domain verification, finds the longest public part of a given domain, finds
828 the shortest private part of a given domain, works with international
829 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
841 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
843 (revision "2009-12-23")))
844 (file-name (string-append name "-" version "-checkout"))
847 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
848 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
849 (build-system gnu-build-system)
851 '(#:phases (modify-phases %standard-phases
853 (lambda* (#:key inputs #:allow-other-keys)
854 ;; configure.in and Makefile.am aren't in the root of the
856 (copy-recursively "build/gnuauto" ".")
857 (setenv "AUTOMAKE" "automake --foreign")
858 (invoke "autoreconf" "-vfi"))))))
860 `(("automake" ,automake)
861 ("autoconf" ,autoconf)
862 ("libtool" ,libtool)))
863 (synopsis "HTML validator and tidier")
864 (description "HTML Tidy is a command-line tool and C library that can be
865 used to validate and fix HTML data.")
866 (home-page "http://tidy.sourceforge.net/")
867 (license (l:x11-style "file:///include/tidy.h"))))
869 (define-public tinyproxy
875 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
876 "releases/download/" version "/tinyproxy-"
880 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
881 (build-system gnu-build-system)
885 ;; For the log file, etc.
886 "--localstatedir=/var")
888 (modify-phases %standard-phases
889 (add-before 'build 'pre-build
890 (lambda* (#:key inputs #:allow-other-keys #:rest args)
891 ;; Uncommenting the next two lines may assist in debugging
892 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
893 ;; (setenv "XML_DEBUG_CATALOG" "1")
895 ;; All of the below are used to generate the documentation
896 ;; (Should they be propagated inputs of asciidoc ??)
897 (native-inputs `(("asciidoc" ,asciidoc)))
898 (home-page "https://tinyproxy.github.io/")
899 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
900 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
901 daemon. Designed from the ground up to be fast and yet small, it is an ideal
902 solution for use cases such as embedded deployments where a full featured HTTP
903 proxy is required, but the system resources for a larger proxy are
907 (define-public polipo
915 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
919 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
920 (native-inputs `(("texinfo" ,texinfo)))
921 (build-system gnu-build-system)
923 `(#:phases (modify-phases %standard-phases
925 #:make-flags (let ((out (assoc-ref %outputs "out")))
926 (list (string-append "PREFIX=" out)
927 (string-append "LOCAL_ROOT="
928 out "/share/polipo/www")
930 ;; No 'check' target.
932 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
933 (synopsis "Small caching web proxy")
935 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
936 server). It was primarily designed to be used by one person or a small group
940 (define-public websockify
946 (uri (string-append "https://github.com/novnc/websockify/archive/v"
947 version "/archive.tar.gz"))
948 (file-name (string-append name "-" version ".tar.gz"))
951 "1kjq6gibsvbb6zx5gi8hgh7110x62pbwcqkwapf3k7s27w5y907h"))))
952 (build-system python-build-system)
954 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
955 ; named 'stubout'". The tests can be run by replacing the check phase with
956 ; the command "python setup.py nosetests --verbosity=3".
957 (native-inputs `(; Required for tests:
958 ("python-mox3" ,python-mox3)
959 ("python-nose" ,python-nose)))
960 (propagated-inputs `(("python-numpy" ,python-numpy)))
961 (home-page "https://github.com/novnc/websockify")
962 (synopsis "WebSockets support for any application/server")
963 (description "Websockify translates WebSockets traffic to normal socket
964 traffic. Websockify accepts the WebSockets handshake, parses it, and then
965 begins forwarding traffic between the client and the target in both
969 (define-public wwwoffle
975 (uri (string-append "https://www.gedanken.org.uk/software/"
976 "wwwoffle/download/wwwoffle-"
980 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
981 (build-system gnu-build-system)
983 `(#:configure-flags '("--with-gnutls")
984 #:tests? #f)) ; no test target
985 (native-inputs `(("flex" ,flex)))
986 (inputs `(("gnutls" ,gnutls)
987 ("libcrypt" ,libgcrypt)))
988 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
989 (synopsis "Caching web proxy optimized for intermittent internet links")
990 (description "WWWOFFLE is a proxy web server that is especially good for
991 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
992 protocols, and supports browsing and requesting pages while offline, indexing,
993 modifying pages and incoming and outgoing headers, monitoring pages for
994 changes, and much more.")
997 (define-public liboauth
1003 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1007 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1008 (build-system gnu-build-system)
1009 (arguments '(#:configure-flags '("--enable-nss")))
1010 (native-inputs `(("pkg-config" ,pkg-config)))
1014 (home-page "https://sourceforge.net/projects/liboauth")
1015 (synopsis "C library implementing the OAuth API")
1017 "liboauth is a collection of C functions implementing the OAuth API.
1018 liboauth provides functions to escape and encode strings according to OAuth
1019 specifications and offers high-level functionality built on top to sign
1020 requests or verify signatures using either NSS or OpenSSL for calculating the
1022 ;; Source code may be distributed under either license.
1023 (license (list l:expat l:gpl2+))))
1025 (define-public libyaml
1033 "http://pyyaml.org/download/libyaml/yaml-"
1035 (patches (search-patches "libyaml-CVE-2014-9130.patch"))
1038 "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx"))))
1039 (build-system gnu-build-system)
1040 (home-page "http://pyyaml.org/wiki/LibYAML")
1041 (synopsis "YAML 1.1 parser and emitter written in C")
1043 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1046 (define-public libquvi-scripts
1048 (name "libquvi-scripts")
1054 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1055 name "/" name "-" version ".tar.xz"))
1057 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1058 (build-system gnu-build-system)
1059 (home-page "http://quvi.sourceforge.net/")
1060 (synopsis "Media stream URL parser")
1061 (description "This package contains support scripts called by libquvi to
1062 parse media stream properties.")
1063 (license l:lgpl2.1+)))
1065 (define-public libquvi
1073 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1074 name "-" version ".tar.xz"))
1076 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1077 (build-system gnu-build-system)
1078 (native-inputs `(("pkg-config" ,pkg-config)))
1081 ("cyrus-sasl" ,cyrus-sasl)
1082 ("libquvi-scripts" ,libquvi-scripts)
1084 ("openssl" ,openssl)
1087 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1089 (let ((lua (assoc-ref %build-inputs "lua")))
1091 (string-append "liblua_CFLAGS=-I" lua "/include")
1092 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1093 (home-page "http://quvi.sourceforge.net/")
1094 (synopsis "Media stream URL parser")
1095 (description "libquvi is a library with a C API for parsing media stream
1096 URLs and extracting their actual media files.")
1097 (license l:lgpl2.1+)))
1107 "mirror://sourceforge/" name "/" (version-major+minor version)
1108 "/" name "/" name "-" version ".tar.xz"))
1110 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1111 (build-system gnu-build-system)
1112 (native-inputs `(("pkg-config" ,pkg-config)))
1115 ("libquvi" ,libquvi)))
1116 (home-page "http://quvi.sourceforge.net/")
1117 (synopsis "Media stream URL parser")
1118 (description "quvi is a command-line-tool suite to extract media files
1119 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1120 (license l:lgpl2.1+)))
1129 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
1130 version ".tar.bz2"))
1132 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1133 (build-system scons-build-system)
1136 ("apr-util" ,apr-util)
1137 ("openssl" ,openssl)))
1139 `(;; TODO: Fix build with gss.
1143 `(#:scons ,scons-python2
1144 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1145 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1146 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1147 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1148 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1149 (string-append "PREFIX=" %output))
1151 (modify-phases %standard-phases
1152 (add-after 'unpack 'scons-propagate-environment
1154 ;; By design, SCons does not, by default, propagate
1155 ;; environment variables to subprocesses. See:
1156 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1157 ;; Here, we modify the SConstruct file to arrange for
1158 ;; environment variables to be propagated.
1159 (substitute* "SConstruct"
1160 (("^env = Environment\\(")
1161 "env = Environment(ENV=os.environ, "))))
1162 (add-before 'check 'disable-broken-tests
1164 ;; These tests rely on SSL certificates that expired 2017-04-18.
1165 ;; While there are newer certs available upstream, we don't want
1166 ;; this package to suddenly "expire" some time in the future.
1167 ;; https://bugs.gnu.org/26671
1169 '("test_ssl_trust_rootca"
1170 "test_ssl_certificate_chain_with_anchor"
1171 "test_ssl_certificate_chain_all_from_server"
1172 "test_ssl_no_servercert_callback_allok"
1173 "test_ssl_large_response"
1174 "test_ssl_large_request"
1175 "test_ssl_client_certificate"
1176 "test_ssl_future_server_cert"
1177 "test_setup_ssltunnel"
1178 "test_ssltunnel_basic_auth"
1179 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1180 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1181 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1182 "test_ssltunnel_digest_auth")))
1185 (substitute* "test/test_context.c"
1186 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1189 (home-page "https://serf.apache.org/")
1190 (synopsis "High-performance asynchronous HTTP client library")
1192 "serf is a C-based HTTP client library built upon the Apache Portable
1193 Runtime (APR) library. It multiplexes connections, running the read/write
1194 communication asynchronously. Memory copies and transformations are kept to a
1195 minimum to provide high performance operation.")
1196 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1197 ;; bundled CuTest framework uses a different non-copyleft license.
1198 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
1200 (define-public sassc
1201 ;; libsass must be statically linked and it isn't included in the sassc
1202 ;; release tarballs, hence this odd package recipe.
1203 (let* ((version "3.4.5")
1208 "https://github.com/sass/libsass/archive/"
1210 (file-name (string-append "libsass-" version ".tar.gz"))
1213 "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x")))))
1219 (uri (string-append "https://github.com/sass/sassc/archive/"
1221 (file-name (string-append "sassc-" version ".tar.gz"))
1224 "1xk4kmmvziz9sal3swpqa10q0s289xjpcz8aggmly8mvxvmngsi9"))))
1225 (build-system gnu-build-system)
1229 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1230 #:test-target "test"
1231 ;; FIXME: "make test" rebuilds the application and gets lost in a
1232 ;; non-existing directory.
1235 (modify-phases %standard-phases
1237 (add-after 'unpack 'unpack-libsass-and-set-path
1238 (lambda* (#:key inputs #:allow-other-keys)
1239 (invoke "tar" "xvf" (assoc-ref inputs "libsass"))
1240 (setenv "SASS_LIBSASS_PATH"
1241 (string-append (getcwd) "/libsass-" ,version)))))))
1243 `(("libsass" ,libsass)))
1244 (synopsis "CSS pre-processor")
1245 (description "SassC is a compiler written in C for the CSS pre-processor
1246 language known as SASS.")
1247 (home-page "http://sass-lang.com/libsass")
1248 (license l:expat))))
1251 (define-public perl-apache-logformat-compiler
1253 (name "perl-apache-logformat-compiler")
1258 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1259 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1262 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
1263 (build-system perl-build-system)
1265 `(("perl-http-message" ,perl-http-message)
1266 ("perl-module-build" ,perl-module-build)
1267 ("perl-test-mocktime" ,perl-test-mocktime)
1268 ("perl-try-tiny" ,perl-try-tiny)
1269 ("perl-uri" ,perl-uri)))
1271 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1272 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
1273 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
1274 (synopsis "Compile a log format string to perl-code")
1275 (description "This module provides methods to compile a log format string
1276 to perl-code, for faster generation of access_log lines.")
1277 (license l:perl-license)))
1279 (define-public perl-authen-sasl
1281 (name "perl-authen-sasl")
1286 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1287 "Authen-SASL-" version ".tar.gz"))
1290 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1291 (build-system perl-build-system)
1294 (modify-phases %standard-phases
1295 (add-after 'unpack 'set-env
1296 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1297 ;; versions of perl-authen-sasl.
1298 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1300 `(("perl-digest-hmac" ,perl-digest-hmac)
1301 ("perl-gssapi" ,perl-gssapi)))
1302 (home-page "http://search.cpan.org/dist/Authen-SASL")
1303 (synopsis "SASL authentication framework")
1304 (description "Authen::SASL provides an SASL authentication framework.")
1305 (license l:perl-license)))
1307 (define-public perl-catalyst-action-renderview
1309 (name "perl-catalyst-action-renderview")
1314 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1315 "Catalyst-Action-RenderView-"
1319 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1320 (build-system perl-build-system)
1322 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1323 ("perl-module-install" ,perl-module-install)))
1325 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1326 ("perl-data-visitor" ,perl-data-visitor)
1327 ("perl-mro-compat" ,perl-mro-compat)))
1328 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
1329 (synopsis "Sensible default Catalyst action")
1330 (description "This Catalyst action implements a sensible default end
1331 action, which will forward to the first available view.")
1332 (license l:perl-license)))
1334 (define-public perl-catalyst-action-rest
1336 (name "perl-catalyst-action-rest")
1340 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1341 "Catalyst-Action-REST-" version ".tar.gz"))
1344 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
1345 (build-system perl-build-system)
1347 `(("perl-test-requires" ,perl-test-requires)
1348 ("perl-module-install" ,perl-module-install)))
1350 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1351 ("perl-class-inspector" ,perl-class-inspector)
1352 ("perl-config-general" ,perl-config-general)
1353 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1354 ("perl-libwww" ,perl-libwww)
1355 ("perl-moose" ,perl-moose)
1356 ("perl-mro-compat" ,perl-mro-compat)
1357 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1358 ("perl-params-validate" ,perl-params-validate)
1359 ("perl-uri-find" ,perl-uri-find)
1360 ("perl-xml-simple" ,perl-xml-simple)))
1361 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
1362 (synopsis "Automated REST Method Dispatching")
1363 (description "This Action handles doing automatic method dispatching for
1364 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1365 append an underscore and method name. First it will try dispatching to an
1366 action with the generated name, and failing that it will try to dispatch to a
1368 (license l:perl-license)))
1370 (define-public perl-catalyst-authentication-store-dbix-class
1372 (name "perl-catalyst-authentication-store-dbix-class")
1377 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1378 "Catalyst-Authentication-Store-DBIx-Class-"
1382 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1383 (build-system perl-build-system)
1385 `(("perl-catalyst-plugin-authorization-roles"
1386 ,perl-catalyst-plugin-authorization-roles)
1387 ("perl-catalyst-plugin-session-state-cookie"
1388 ,perl-catalyst-plugin-session-state-cookie)
1389 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1390 ("perl-module-install" ,perl-module-install)
1391 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1393 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1394 ("perl-catalyst-plugin-authentication"
1395 ,perl-catalyst-plugin-authentication)
1396 ("perl-dbix-class" ,perl-dbix-class)
1397 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1399 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
1400 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1401 (description "The Catalyst::Authentication::Store::DBIx::Class class
1402 provides access to authentication information stored in a database via
1404 (license l:perl-license)))
1406 (define-public perl-catalyst-component-instancepercontext
1408 (name "perl-catalyst-component-instancepercontext")
1409 (version "0.001001")
1413 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1414 "Catalyst-Component-InstancePerContext-"
1418 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1419 (build-system perl-build-system)
1421 `(("perl-module-install" ,perl-module-install)))
1423 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1424 ("perl-moose" ,perl-moose)))
1426 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
1427 (synopsis "Create only one instance of Moose component per context")
1428 (description "Catalyst::Component::InstancePerContext returns a new
1429 instance of a component on each request.")
1430 (license l:perl-license)))
1432 (define-public perl-catalyst-devel
1434 (name "perl-catalyst-devel")
1439 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1440 "Catalyst-Devel-" version ".tar.gz"))
1443 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1444 (build-system perl-build-system)
1446 `(("perl-test-fatal" ,perl-test-fatal)))
1448 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1449 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1450 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1451 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1452 ("perl-config-general" ,perl-config-general)
1453 ("perl-file-changenotify" ,perl-file-changenotify)
1454 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1455 ("perl-file-sharedir" ,perl-file-sharedir)
1456 ("perl-module-install" ,perl-module-install)
1457 ("perl-moose" ,perl-moose)
1458 ("perl-moosex-emulate-class-accessor-fast"
1459 ,perl-moosex-emulate-class-accessor-fast)
1460 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1461 ("perl-namespace-clean" ,perl-namespace-clean)
1462 ("perl-path-class" ,perl-path-class)
1463 ("perl-template-toolkit" ,perl-template-toolkit)))
1464 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1465 (synopsis "Catalyst Development Tools")
1466 (description "The Catalyst-Devel distribution includes a variety of
1467 modules useful for the development of Catalyst applications, but not required
1468 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1469 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1470 extension for Catalyst; and requirements for a variety of development-related
1472 (license l:perl-license)))
1474 (define-public perl-catalyst-dispatchtype-regex
1476 (name "perl-catalyst-dispatchtype-regex")
1481 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1482 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1485 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1486 (build-system perl-build-system)
1488 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1489 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1490 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1492 `(("perl-moose" ,perl-moose)
1493 ("perl-text-simpletable" ,perl-text-simpletable)))
1494 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1495 (synopsis "Regex DispatchType for Catalyst")
1496 (description "Dispatch type managing path-matching behaviour using
1497 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1498 core. It is recommend that you use Chained methods or other techniques
1499 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1500 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1501 when the dispatch type is first seen in your application.")
1502 (license l:perl-license)))
1504 (define-public perl-catalyst-model-dbic-schema
1506 (name "perl-catalyst-model-dbic-schema")
1511 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1512 "Catalyst-Model-DBIC-Schema-"
1516 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1517 (build-system perl-build-system)
1519 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1520 ("perl-module-install" ,perl-module-install)
1521 ("perl-test-exception" ,perl-test-exception)
1522 ("perl-test-requires" ,perl-test-requires)))
1524 `(("perl-carp-clan" ,perl-carp-clan)
1525 ("perl-catalyst-component-instancepercontext"
1526 ,perl-catalyst-component-instancepercontext)
1527 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1528 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1529 ("perl-dbix-class" ,perl-dbix-class)
1530 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1531 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1532 ("perl-hash-merge" ,perl-hash-merge)
1533 ("perl-list-moreutils" ,perl-list-moreutils)
1534 ("perl-module-runtime" ,perl-module-runtime)
1535 ("perl-moose" ,perl-moose)
1536 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1537 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1538 ("perl-moosex-types" ,perl-moosex-types)
1539 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1540 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1541 ("perl-namespace-clean" ,perl-namespace-clean)
1542 ("perl-tie-ixhash" ,perl-tie-ixhash)
1543 ("perl-try-tiny" ,perl-try-tiny)))
1544 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1545 (synopsis "DBIx::Class::Schema Model Class")
1546 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1548 (license l:perl-license)))
1550 (define-public perl-catalyst-plugin-accesslog
1552 (name "perl-catalyst-plugin-accesslog")
1557 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1558 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1561 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1562 (build-system perl-build-system)
1564 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1565 ("perl-datetime" ,perl-datetime)
1566 ("perl-moose" ,perl-moose)
1567 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1568 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1569 (synopsis "Request logging from within Catalyst")
1570 (description "This Catalyst plugin enables you to create \"access logs\"
1571 from within a Catalyst application instead of requiring a webserver to do it
1572 for you. It will work even with Catalyst debug logging turned off.")
1573 (license l:perl-license)))
1575 (define-public perl-catalyst-plugin-authentication
1577 (name "perl-catalyst-plugin-authentication")
1582 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1583 "Catalyst-Plugin-Authentication-"
1587 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1588 (build-system perl-build-system)
1590 `(("perl-module-install" ,perl-module-install)))
1592 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1593 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1594 ("perl-class-inspector" ,perl-class-inspector)
1595 ("perl-moose" ,perl-moose)
1596 ("perl-moosex-emulate-class-accessor-fast"
1597 ,perl-moosex-emulate-class-accessor-fast)
1598 ("perl-mro-compat" ,perl-mro-compat)
1599 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1600 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1601 ("perl-test-exception" ,perl-test-exception)
1602 ("perl-try-tiny" ,perl-try-tiny)))
1603 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1604 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1605 (description "The authentication plugin provides generic user support for
1606 Catalyst apps. It is the basis for both authentication (checking the user is
1607 who they claim to be), and authorization (allowing the user to do what the
1608 system authorises them to do).")
1609 (license l:perl-license)))
1611 (define-public perl-catalyst-plugin-authorization-roles
1613 (name "perl-catalyst-plugin-authorization-roles")
1618 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1619 "Catalyst-Plugin-Authorization-Roles-"
1623 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1624 (build-system perl-build-system)
1626 `(("perl-module-install" ,perl-module-install)
1627 ("perl-test-exception" ,perl-test-exception)))
1629 `(("perl-catalyst-plugin-authentication"
1630 ,perl-catalyst-plugin-authentication)
1631 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1632 ("perl-set-object" ,perl-set-object)
1633 ("perl-universal-isa" ,perl-universal-isa)))
1635 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1636 (synopsis "Role-based authorization for Catalyst")
1637 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1638 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1639 (license l:perl-license)))
1641 (define-public perl-catalyst-plugin-captcha
1643 (name "perl-catalyst-plugin-captcha")
1648 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1649 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1652 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1653 (build-system perl-build-system)
1655 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1656 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1657 ("perl-gd-securityimage" ,perl-gd-securityimage)
1658 ("perl-http-date" ,perl-http-date)))
1659 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1660 (synopsis "Captchas for Catalyst")
1661 (description "This plugin creates and validates Captcha images for
1663 (license l:perl-license)))
1665 (define-public perl-catalyst-plugin-configloader
1667 (name "perl-catalyst-plugin-configloader")
1672 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1673 "Catalyst-Plugin-ConfigLoader-"
1677 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1678 (build-system perl-build-system)
1680 `(("perl-path-class" ,perl-path-class)
1681 ("perl-module-install" ,perl-module-install)))
1683 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1684 ("perl-config-any" ,perl-config-any)
1685 ("perl-data-visitor" ,perl-data-visitor)
1686 ("perl-mro-compat" ,perl-mro-compat)))
1687 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1688 (synopsis "Load config files of various types")
1689 (description "This module will attempt to load find and load configuration
1690 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1692 (license l:perl-license)))
1694 (define-public perl-catalyst-plugin-session
1696 (name "perl-catalyst-plugin-session")
1701 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1702 "Catalyst-Plugin-Session-" version ".tar.gz"))
1705 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
1706 (build-system perl-build-system)
1708 `(("perl-module-install" ,perl-module-install)
1709 ("perl-test-deep" ,perl-test-deep)
1710 ("perl-test-exception" ,perl-test-exception)))
1712 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1713 ("perl-moose" ,perl-moose)
1714 ("perl-moosex-emulate-class-accessor-fast"
1715 ,perl-moosex-emulate-class-accessor-fast)
1716 ("perl-mro-compat" ,perl-mro-compat)
1717 ("perl-namespace-clean" ,perl-namespace-clean)
1718 ("perl-object-signature" ,perl-object-signature)
1719 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1720 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1721 (synopsis "Catalyst generic session plugin")
1722 (description "This plugin links the two pieces required for session
1723 management in web applications together: the state, and the store.")
1724 (license l:perl-license)))
1726 (define-public perl-catalyst-plugin-session-state-cookie
1728 (name "perl-catalyst-plugin-session-state-cookie")
1733 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1734 "Catalyst-Plugin-Session-State-Cookie-"
1738 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1739 (build-system perl-build-system)
1741 `(("perl-module-install" ,perl-module-install)))
1743 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1744 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1745 ("perl-moose" ,perl-moose)
1746 ("perl-mro-compat" ,perl-mro-compat)
1747 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1749 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1750 (synopsis "Maintain session IDs using cookies")
1751 (description "In order for Catalyst::Plugin::Session to work, the session
1752 ID needs to be stored on the client, and the session data needs to be stored
1753 on the server. This plugin stores the session ID on the client using the
1755 (license l:perl-license)))
1757 (define-public perl-catalyst-plugin-session-store-fastmmap
1759 (name "perl-catalyst-plugin-session-store-fastmmap")
1764 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1765 "Catalyst-Plugin-Session-Store-FastMmap-"
1769 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1770 (build-system perl-build-system)
1772 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1773 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1774 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1775 ("perl-moosex-emulate-class-accessor-fast"
1776 ,perl-moosex-emulate-class-accessor-fast)
1777 ("perl-mro-compat" ,perl-mro-compat)
1778 ("perl-path-class" ,perl-path-class)))
1780 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
1781 (synopsis "FastMmap session storage backend")
1782 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1783 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1784 memory interprocess cache. It is based on Cache::FastMmap.")
1785 (license l:perl-license)))
1787 (define-public perl-catalyst-plugin-stacktrace
1789 (name "perl-catalyst-plugin-stacktrace")
1794 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1795 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1798 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1799 (build-system perl-build-system)
1801 `(("perl-module-install" ,perl-module-install)))
1803 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1804 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1805 ("perl-mro-compat" ,perl-mro-compat)))
1806 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1807 (synopsis "Stack trace on the Catalyst debug screen")
1808 (description "This plugin enhances the standard Catalyst debug screen by
1809 including a stack trace of your application up to the point where the error
1810 occurred. Each stack frame is displayed along with the package name, line
1811 number, file name, and code context surrounding the line number.")
1812 (license l:perl-license)))
1814 (define-public perl-catalyst-plugin-static-simple
1816 (name "perl-catalyst-plugin-static-simple")
1821 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1822 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1825 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
1826 (build-system perl-build-system)
1828 `(("perl-module-install" ,perl-module-install)))
1830 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1831 ("perl-mime-types" ,perl-mime-types)
1832 ("perl-moose" ,perl-moose)
1833 ("perl-moosex-types" ,perl-moosex-types)
1834 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1835 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1836 (synopsis "Simple serving of static pages")
1837 (description "The Static::Simple plugin is designed to make serving static
1838 content in your application during development quick and easy, without
1839 requiring a single line of code from you. This plugin detects static files by
1840 looking at the file extension in the URL (such as .css or .png or .js). The
1841 plugin uses the lightweight MIME::Types module to map file extensions to
1842 IANA-registered MIME types, and will serve your static files with the correct
1843 MIME type directly to the browser, without being processed through Catalyst.")
1844 (license l:perl-license)))
1846 (define-public perl-catalyst-runtime
1848 (name "perl-catalyst-runtime")
1853 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1854 "Catalyst-Runtime-" version ".tar.gz"))
1857 "0kh3ng6pjpxmndq9vrn515f70x7h44ish5bsgjwj4pjvchcyivzm"))))
1858 (build-system perl-build-system)
1860 `(("perl-module-install" ,perl-module-install)
1861 ("perl-test-fatal" ,perl-test-fatal)))
1863 `(("perl-cgi-simple" ,perl-cgi-simple)
1864 ("perl-cgi-struct" ,perl-cgi-struct)
1865 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1866 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1867 ("perl-class-date" ,perl-class-date)
1868 ("perl-class-load" ,perl-class-load)
1869 ("perl-data-dump" ,perl-data-dump)
1870 ("perl-http-body" ,perl-http-body)
1871 ("perl-http-message" ,perl-http-message)
1872 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1873 ("perl-io-stringy" ,perl-io-stringy)
1874 ("perl-json-maybexs" ,perl-json-maybexs)
1875 ("perl-libwww" ,perl-libwww)
1876 ("perl-module-pluggable" ,perl-module-pluggable)
1877 ("perl-moose" ,perl-moose)
1878 ("perl-moosex-emulate-class-accessor-fast"
1879 ,perl-moosex-emulate-class-accessor-fast)
1880 ("perl-moosex-getopt" ,perl-moosex-getopt)
1881 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1882 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1883 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1884 ("perl-namespace-clean" ,perl-namespace-clean)
1885 ("perl-path-class" ,perl-path-class)
1886 ("perl-plack" ,perl-plack)
1887 ("perl-plack-middleware-fixmissingbodyinredirect"
1888 ,perl-plack-middleware-fixmissingbodyinredirect)
1889 ("perl-plack-middleware-methodoverride"
1890 ,perl-plack-middleware-methodoverride)
1891 ("perl-plack-middleware-removeredundantbody"
1892 ,perl-plack-middleware-removeredundantbody)
1893 ("perl-plack-middleware-reverseproxy"
1894 ,perl-plack-middleware-reverseproxy)
1895 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1896 ("perl-safe-isa" ,perl-safe-isa)
1897 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1898 ("perl-text-simpletable" ,perl-text-simpletable)
1899 ("perl-tree-simple" ,perl-tree-simple)
1900 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1901 ("perl-try-tiny" ,perl-try-tiny)
1902 ("perl-uri" ,perl-uri)
1903 ("perl-uri-ws" ,perl-uri-ws)))
1904 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1905 (synopsis "The Catalyst Framework Runtime")
1906 (description "Catalyst is a modern framework for making web applications.
1907 It is designed to make it easy to manage the various tasks you need to do to
1908 run an application on the web, either by doing them itself, or by letting you
1909 \"plug in\" existing Perl modules that do what you need.")
1910 (license l:perl-license)))
1912 (define-public perl-catalyst-traitfor-request-proxybase
1914 (name "perl-catalyst-traitfor-request-proxybase")
1915 (version "0.000005")
1919 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1920 "Catalyst-TraitFor-Request-ProxyBase-"
1924 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1925 (build-system perl-build-system)
1927 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1928 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1929 ("perl-http-message" ,perl-http-message)
1930 ("perl-module-install" ,perl-module-install)))
1932 `(("perl-moose" ,perl-moose)
1933 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1934 ("perl-uri" ,perl-uri)))
1936 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1937 (synopsis "Replace request base with value passed by HTTP proxy")
1938 (description "This module is a Moose::Role which allows you more
1939 flexibility in your application's deployment configurations when deployed
1940 behind a proxy. Using this module, the request base ($c->req->base) is
1941 replaced with the contents of the X-Request-Base header.")
1942 (license l:perl-license)))
1944 (define-public perl-catalyst-view-download
1946 (name "perl-catalyst-view-download")
1951 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1952 "Catalyst-View-Download-" version ".tar.gz"))
1955 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1956 (build-system perl-build-system)
1958 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1959 ("perl-module-install" ,perl-module-install)
1960 ("perl-test-simple" ,perl-test-simple)
1961 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1962 ("perl-text-csv" ,perl-text-csv)
1963 ("perl-xml-simple" ,perl-xml-simple)))
1964 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1965 (synopsis "Download data in many formats")
1966 (description "The purpose of this module is to provide a method for
1967 downloading data into many supportable formats. For example, downloading a
1968 table based report in a variety of formats (CSV, HTML, etc.).")
1969 (license l:perl-license)))
1971 (define-public perl-catalyst-view-json
1973 (name "perl-catalyst-view-json")
1978 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1979 "Catalyst-View-JSON-" version ".tar.gz"))
1982 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
1983 (build-system perl-build-system)
1985 `(("perl-module-install" ,perl-module-install)
1986 ("perl-yaml" ,perl-yaml)))
1988 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1989 ("perl-json-maybexs" ,perl-json-maybexs)
1990 ("perl-mro-compat" ,perl-mro-compat)))
1991 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1992 (synopsis "Catalyst JSON view")
1993 (description "Catalyst::View::JSON is a Catalyst View handler that returns
1994 stash data in JSON format.")
1995 (license l:perl-license)))
1997 (define-public perl-catalyst-view-tt
1999 (name "perl-catalyst-view-tt")
2004 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2005 "Catalyst-View-TT-" version ".tar.gz"))
2008 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2009 (build-system perl-build-system)
2011 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2012 ("perl-class-accessor" ,perl-class-accessor)
2013 ("perl-data-dump" ,perl-data-dump)
2014 ("perl-mro-compat" ,perl-mro-compat)
2015 ("perl-path-class" ,perl-path-class)
2016 ("perl-template-timer" ,perl-template-timer)
2017 ("perl-template-toolkit" ,perl-template-toolkit)))
2018 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
2019 (synopsis "Template View Class")
2020 (description "This module is a Catalyst view class for the Template
2022 (license l:perl-license)))
2024 (define-public perl-catalystx-component-traits
2026 (name "perl-catalystx-component-traits")
2031 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2032 "CatalystX-Component-Traits-" version ".tar.gz"))
2035 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2036 (build-system perl-build-system)
2038 `(("perl-moose" ,perl-moose)
2039 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2040 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2042 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2043 ("perl-class-load" ,perl-class-load)
2044 ("perl-moose" ,perl-moose)
2045 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2046 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2047 ("perl-list-moreutils" ,perl-list-moreutils)))
2048 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
2049 (synopsis "Trait Loading and Resolution for Catalyst Components")
2050 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2051 Catalyst component base class that reads the optional \"traits\" parameter
2052 from app and component config and instantiates the component subclass with
2053 those traits using \"new_with_traits\" in MooseX::Traits from
2054 MooseX::Traits::Pluggable.")
2055 (license l:perl-license)))
2057 (define-public perl-catalystx-roleapplicator
2059 (name "perl-catalystx-roleapplicator")
2064 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2065 "CatalystX-RoleApplicator-" version ".tar.gz"))
2068 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2069 (build-system perl-build-system)
2071 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2072 ("perl-moose" ,perl-moose)
2073 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2074 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
2075 (synopsis "Apply roles to Catalyst classes")
2076 (description "CatalystX::RoleApplicator applies roles to Catalyst
2077 application classes.")
2078 (license l:perl-license)))
2080 (define-public perl-catalystx-script-server-starman
2082 (name "perl-catalystx-script-server-starman")
2087 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2088 "CatalystX-Script-Server-Starman-"
2092 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
2093 (build-system perl-build-system)
2095 `(("perl-module-install" ,perl-module-install)
2096 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2098 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2099 ("perl-moose" ,perl-moose)
2100 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2101 ("starman" ,starman)))
2102 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
2103 (synopsis "Catalyst development server with Starman")
2104 (description "This module provides a Catalyst extension to replace the
2105 development server with Starman.")
2106 (license l:perl-license)))
2108 (define-public perl-cgi
2115 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2116 "CGI-" version ".tar.gz"))
2119 "1m779315rzj4mpgscw209a2wk18iwg2n8zibn8aak4mv56jz8n4c"))))
2120 (build-system perl-build-system)
2122 `(("perl-test-deep" ,perl-test-deep)
2123 ("perl-test-nowarnings" ,perl-test-nowarnings)
2124 ("perl-test-warn" ,perl-test-warn)))
2126 `(("perl-html-parser" ,perl-html-parser)))
2127 (home-page "http://search.cpan.org/dist/CGI")
2128 (synopsis "Handle Common Gateway Interface requests and responses")
2129 (description "CGI.pm is a stable, complete and mature solution for
2130 processing and preparing HTTP requests and responses. Major features include
2131 processing form submissions, file uploads, reading and writing cookies, query
2132 string generation and manipulation, and processing and preparing HTTP
2134 (license l:perl-license)))
2136 (define-public perl-cgi-formbuilder
2138 (name "perl-cgi-formbuilder")
2144 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2145 "CGI-FormBuilder-" version ".tar.gz"))
2148 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2149 (build-system perl-build-system)
2150 (inputs `(("perl-cgi" ,perl-cgi)))
2152 "https://metacpan.org/release/CGI-FormBuilder")
2154 "Generate and process stateful forms")
2156 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2157 form-based applications.")
2158 (license l:perl-license)))
2160 (define-public perl-cgi-session
2162 (name "perl-cgi-session")
2168 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2173 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2174 (build-system perl-build-system)
2176 `(("perl-module-build" ,perl-module-build)))
2177 (inputs `(("perl-cgi" ,perl-cgi)))
2179 "http://search.cpan.org/dist/CGI-Session")
2181 "Persistent session data in CGI applications")
2183 "@code{CGI::Session} provides modular session management system across
2185 (license l:perl-license)))
2187 (define-public perl-cgi-simple
2189 (name "perl-cgi-simple")
2194 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
2195 "CGI-Simple-" version ".tar.gz"))
2198 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
2199 (build-system perl-build-system)
2201 `(("perl-module-build" ,perl-module-build)
2202 ("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
2203 (home-page "http://search.cpan.org/dist/CGI-Simple")
2204 (synopsis "CGI interface that is CGI.pm compliant")
2205 (description "CGI::Simple provides a relatively lightweight drop in
2206 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2207 parameter parsing, file upload, cookie handling and header generation.")
2208 (license l:perl-license)))
2210 (define-public perl-cgi-struct
2212 (name "perl-cgi-struct")
2217 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2218 "CGI-Struct-" version ".tar.gz"))
2221 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2222 (build-system perl-build-system)
2224 `(("perl-test-deep" ,perl-test-deep)))
2225 (home-page "http://search.cpan.org/dist/CGI-Struct")
2226 (synopsis "Build structures from CGI data")
2227 (description "This is a module for building structured data from CGI
2228 inputs, in a manner reminiscent of how PHP does.")
2231 (define-public perl-datetime-format-http
2233 (name "perl-datetime-format-http")
2238 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2239 "DateTime-Format-HTTP-" version ".tar.gz"))
2242 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2243 (build-system perl-build-system)
2245 `(("perl-module-build" ,perl-module-build)))
2247 `(("perl-datetime" ,perl-datetime)
2248 ("perl-http-date" ,perl-http-date)))
2249 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
2250 (synopsis "Date conversion routines")
2251 (description "This module provides functions that deal with the date
2252 formats used by the HTTP protocol.")
2253 (license l:perl-license)))
2255 (define-public perl-digest-md5-file
2257 (name "perl-digest-md5-file")
2262 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2263 "Digest-MD5-File-" version ".tar.gz"))
2266 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2267 (build-system perl-build-system)
2269 `(("perl-libwww" ,perl-libwww)))
2270 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
2271 (synopsis "MD5 sums for files and urls")
2272 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2273 for files and urls.")
2274 (license l:perl-license)))
2276 (define-public perl-encode-locale
2278 (name "perl-encode-locale")
2283 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2287 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2288 (build-system perl-build-system)
2289 (license l:perl-license)
2290 (synopsis "Perl locale encoding determination")
2292 "The POSIX locale system is used to specify both the language
2293 conventions requested by the user and the preferred character set to
2294 consume and output. The Encode::Locale module looks up the charset and
2295 encoding (called a CODESET in the locale jargon) and arranges for the
2296 Encode module to know this encoding under the name \"locale\". It means
2297 bytes obtained from the environment can be converted to Unicode strings
2298 by calling Encode::encode(locale => $bytes) and converted back again
2299 with Encode::decode(locale => $string).")
2300 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
2302 (define-public perl-feed-find
2304 (name "perl-feed-find")
2308 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2309 "Feed-Find-" version ".tar.gz"))
2312 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2313 (build-system perl-build-system)
2315 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2318 (modify-phases %standard-phases
2319 (add-after 'unpack 'set-env
2320 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2322 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2323 ("perl-html-parser" ,perl-html-parser)
2324 ("perl-libwww" ,perl-libwww)
2325 ("perl-uri" ,perl-uri)))
2326 (home-page "http://search.cpan.org/dist/Feed-Find")
2327 (synopsis "Syndication feed auto-discovery")
2328 (description "@code{Feed::Find} implements feed auto-discovery for finding
2329 syndication feeds, given a URI. It will discover the following feed formats:
2330 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2331 (license l:perl-license)))
2333 (define-public perl-file-listing
2335 (name "perl-file-listing")
2340 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2344 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2345 (build-system perl-build-system)
2347 `(("perl-http-date" ,perl-http-date)))
2348 (license l:perl-license)
2349 (synopsis "Perl directory listing parser")
2351 "The File::Listing module exports a single function called parse_dir(),
2352 which can be used to parse directory listings.")
2353 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
2355 (define-public perl-finance-quote
2357 (name "perl-finance-quote")
2362 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2363 "Finance-Quote-" version ".tar.gz"))
2366 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
2367 (patches (search-patches
2368 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2369 (build-system perl-build-system)
2371 `(("perl-cgi" ,perl-cgi)
2372 ("perl-datetime" ,perl-datetime)
2373 ("perl-html-parser" ,perl-html-parser)
2374 ("perl-html-tableextract" ,perl-html-tableextract)
2375 ("perl-html-tree" ,perl-html-tree)
2376 ("perl-http-cookies" ,perl-http-cookies)
2377 ("perl-http-message" ,perl-http-message)
2378 ("perl-json" ,perl-json)
2379 ("perl-libwww" ,perl-libwww)
2380 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2381 ("perl-uri" ,perl-uri)))
2382 (home-page "http://search.cpan.org/dist/Finance-Quote")
2383 (synopsis "Stock and mutual fund quotes")
2385 "Finance::Quote gets stock quotes from various internet sources, including
2386 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2389 (define-public perl-gssapi
2391 (name "perl-gssapi")
2396 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2397 "GSSAPI-" version ".tar.gz"))
2400 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2401 (build-system perl-build-system)
2402 (inputs `(("gssapi" ,mit-krb5)))
2404 `(#:make-maker-flags
2405 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2406 (home-page "http://search.cpan.org/dist/GSSAPI")
2407 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2408 (description "This is a Perl extension for using GSSAPI C bindings as
2409 described in RFC 2744.")
2410 (license l:perl-license)))
2412 (define-public perl-html-element-extended
2414 (name "perl-html-element-extended")
2419 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2420 "HTML-Element-Extended-" version ".tar.gz"))
2423 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2424 (build-system perl-build-system)
2426 `(("perl-html-tree" ,perl-html-tree)))
2427 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
2428 (synopsis "Manipulate tables of HTML::Element")
2430 "HTML::Element::Extended is a Perl extension for manipulating a table
2431 composed of HTML::Element style components.")
2432 (license l:perl-license)))
2434 (define-public perl-html-form
2436 (name "perl-html-form")
2441 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2442 "HTML-Form-" version ".tar.gz"))
2445 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2446 (build-system perl-build-system)
2448 `(("perl-html-parser" ,perl-html-parser)
2449 ("perl-html-tagset" ,perl-html-tagset)
2450 ("perl-http-message" ,perl-http-message)
2451 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2452 ("perl-uri" ,perl-uri)))
2453 (home-page "http://search.cpan.org/dist/HTML-Form")
2454 (synopsis "Perl class representing an HTML form element")
2455 (description "Objects of the HTML::Form class represents a single HTML
2456 <form> ... </form> instance.")
2457 (license l:perl-license)))
2459 (define-public perl-html-scrubber
2461 (name "perl-html-scrubber")
2467 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2472 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
2473 (build-system perl-build-system)
2475 `(("perl-module-build" ,perl-module-build)
2476 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2477 ("perl-test-differences" ,perl-test-differences)
2478 ("perl-test-eol" ,perl-test-eol)
2479 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2480 ("perl-test-notabs" ,perl-test-notabs)))
2482 `(("perl-html-parser" ,perl-html-parser)))
2484 "http://search.cpan.org/dist/HTML-Scrubber")
2486 "Perl extension for scrubbing/sanitizing html")
2488 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2489 (license l:perl-license)))
2491 (define-public perl-html-lint
2493 (name "perl-html-lint")
2498 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2499 "HTML-Lint-" version ".tar.gz"))
2502 "02vi1s4sw3hjnndxd6s91cp54iw5pg8n5kl9v0109dfxzn1n9bnl"))))
2503 (build-system perl-build-system)
2505 `(("perl-html-parser" ,perl-html-parser)
2506 ("perl-html-tagset" ,perl-html-tagset)
2507 ("perl-libwww" ,perl-libwww)))
2508 (home-page "http://search.cpan.org/dist/HTML-Lint")
2509 (synopsis "Check for HTML errors in a string or file")
2510 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2511 syntactic legitmacy.")
2512 (license l:artistic2.0)))
2514 (define-public perl-html-tableextract
2516 (name "perl-html-tableextract")
2521 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2522 "HTML-TableExtract-" version ".tar.gz"))
2525 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2526 (build-system perl-build-system)
2528 `(("perl-html-element-extended" ,perl-html-element-extended)
2529 ("perl-html-parser" ,perl-html-parser)))
2530 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
2531 (synopsis "Extract contents from HTML tables")
2533 "HTML::TableExtract is a Perl module for extracting the content contained
2534 in tables within an HTML document, either as text or encoded element trees.")
2535 (license l:perl-license)))
2537 (define-public perl-html-tree
2539 (name "perl-html-tree")
2544 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2545 "HTML-Tree-" version ".tar.gz"))
2548 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
2549 (build-system perl-build-system)
2551 `(("perl-module-build" ,perl-module-build)
2552 ("perl-test-fatal" ,perl-test-fatal)))
2554 `(("perl-html-parser" ,perl-html-parser)
2555 ("perl-html-tagset" ,perl-html-tagset)
2556 ("perl-libwww" ,perl-libwww)))
2557 (home-page "http://search.cpan.org/dist/HTML-Tree")
2558 (synopsis "Work with HTML in a DOM-like tree structure")
2559 (description "This distribution contains a suite of modules for
2560 representing, creating, and extracting information from HTML syntax trees.")
2561 (license l:perl-license)))
2563 (define-public perl-html-parser
2565 (name "perl-html-parser")
2570 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2574 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2575 (build-system perl-build-system)
2577 `(("perl-html-tagset" ,perl-html-tagset)
2578 ("perl-http-message" ,perl-http-message)))
2579 (license l:perl-license)
2580 (synopsis "Perl HTML parser class")
2582 "Objects of the HTML::Parser class will recognize markup and separate
2583 it from plain text (alias data content) in HTML documents. As different
2584 kinds of markup and text are recognized, the corresponding event handlers
2586 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2588 (define-public perl-html-tagset
2590 (name "perl-html-tagset")
2595 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2599 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2600 (build-system perl-build-system)
2601 (license l:perl-license)
2602 (synopsis "Perl data tables useful in parsing HTML")
2604 "The HTML::Tagset module contains several data tables useful in various
2605 kinds of HTML parsing operations.")
2606 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
2608 (define-public perl-html-template
2610 (name "perl-html-template")
2614 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2615 "HTML-Template-" version ".tar.gz"))
2618 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2619 (build-system perl-build-system)
2621 `(("perl-cgi" ,perl-cgi)))
2622 (home-page "http://search.cpan.org/dist/HTML-Template")
2623 (synopsis "HTML-like templates")
2625 "This module attempts to make using HTML templates simple and natural.
2626 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2627 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2628 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2629 these new tags is called a template. Using this module you fill in the values
2630 for the variables, loops and branches declared in the template. This allows
2631 you to separate design from the data.")
2632 (license l:perl-license)))
2634 (define-public perl-http-body
2636 (name "perl-http-body")
2641 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2642 "HTTP-Body-" version ".tar.gz"))
2645 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2646 (build-system perl-build-system)
2648 `(("perl-test-deep" ,perl-test-deep)))
2650 `(("perl-file-temp" ,perl-file-temp)
2651 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2652 (home-page "http://search.cpan.org/dist/HTTP-Body")
2653 (synopsis "HTTP Body Parser")
2654 (description "HTTP::Body parses chunks of HTTP POST data and supports
2655 application/octet-stream, application/json, application/x-www-form-urlencoded,
2656 and multipart/form-data.")
2657 (license l:perl-license)))
2659 (define-public perl-http-cookiejar
2661 (name "perl-http-cookiejar")
2666 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2667 "HTTP-CookieJar-" version ".tar.gz"))
2670 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2671 (build-system perl-build-system)
2673 `(("perl-test-deep" ,perl-test-deep)
2674 ("perl-test-requires" ,perl-test-requires)
2675 ("perl-time-mock" ,perl-time-mock)
2676 ("perl-uri" ,perl-uri)))
2678 `(("perl-time-local" ,perl-time-local)
2679 ("perl-http-date" ,perl-http-date)))
2680 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2681 (synopsis "Minimalist HTTP user agent cookie jar")
2682 (description "This module implements a minimalist HTTP user agent cookie
2683 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2684 (license l:asl2.0)))
2686 (define-public perl-http-cookies
2688 (name "perl-http-cookies")
2693 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
2697 "1m0kxcirbvbkrm2c59p1bkbvzlcdymg8fdpa7wlxijlx0xwz1iqc"))))
2698 (build-system perl-build-system)
2700 `(("perl-http-message" ,perl-http-message)))
2701 (license l:perl-license)
2702 (synopsis "Perl HTTP cookie jars")
2704 "The HTTP::Cookies class is for objects that represent a cookie jar,
2705 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2706 object knows about.")
2707 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2709 (define-public perl-http-daemon
2711 (name "perl-http-daemon")
2716 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2720 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2721 (build-system perl-build-system)
2723 `(("perl-http-message" ,perl-http-message)
2724 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2725 (license l:perl-license)
2726 (synopsis "Perl simple http server class")
2728 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2729 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2730 IO::Socket::INET, so you can perform socket operations directly on it too.")
2731 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2733 (define-public perl-http-date
2735 (name "perl-http-date")
2740 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2744 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2745 (build-system perl-build-system)
2746 (license l:perl-license)
2747 (synopsis "Perl date conversion routines")
2749 "The HTTP::Date module provides functions that deal with date formats
2750 used by the HTTP protocol (and then some more).")
2751 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2753 (define-public perl-http-message
2755 (name "perl-http-message")
2760 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
2764 "11fbvisyvi6bw8z9iq9fm9mraf69qyds09fblhl9gyvg7ccll93v"))))
2765 (build-system perl-build-system)
2767 `(("perl-try-tiny" ,perl-try-tiny)))
2769 `(("perl-encode-locale" ,perl-encode-locale)
2770 ("perl-http-date" ,perl-http-date)
2771 ("perl-io-html" ,perl-io-html)
2772 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2773 ("perl-uri" ,perl-uri)))
2774 (license l:perl-license)
2775 (synopsis "Perl HTTP style message")
2777 "An HTTP::Message object contains some headers and a content body.")
2778 (home-page "http://search.cpan.org/~ether/HTTP-Message/")))
2780 (define-public perl-http-negotiate
2782 (name "perl-http-negotiate")
2787 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2791 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2792 (build-system perl-build-system)
2794 `(("perl-http-message" ,perl-http-message)))
2795 (license l:perl-license)
2796 (synopsis "Perl http content negotiation")
2798 "The HTTP::Negotiate module provides a complete implementation of the
2799 HTTP content negotiation algorithm specified in
2800 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2801 the selection of a preferred content representation based upon attributes
2802 of the negotiable variants and the value of the various Accept* header
2803 fields in the request.")
2804 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2806 (define-public perl-http-parser
2808 (name "perl-http-parser")
2813 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2814 "HTTP-Parser-" version ".tar.gz"))
2817 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2818 (build-system perl-build-system)
2820 `(("perl-http-message" ,perl-http-message)
2821 ("perl-uri" ,perl-uri)))
2822 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2823 (synopsis "Parse HTTP/1.1 requests")
2824 (description "This is an HTTP request parser. It takes chunks of text as
2825 received and returns a 'hint' as to what is required, or returns the
2826 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2828 (license l:perl-license)))
2830 (define-public perl-http-parser-xs
2832 (name "perl-http-parser-xs")
2837 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2838 "HTTP-Parser-XS-" version ".tar.gz"))
2841 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2842 (build-system perl-build-system)
2844 `(("perl-module-install" ,perl-module-install)))
2845 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2846 (synopsis "Fast HTTP request parser")
2847 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2849 (license l:perl-license)))
2851 (define-public perl-http-request-ascgi
2853 (name "perl-http-request-ascgi")
2858 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2859 "HTTP-Request-AsCGI-" version ".tar.gz"))
2862 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2863 (build-system perl-build-system)
2865 `(("perl-class-accessor" ,perl-class-accessor)
2866 ("perl-http-message" ,perl-http-message)))
2867 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2868 (synopsis "Set up a CGI environment from an HTTP::Request")
2869 (description "This module provides a convenient way to set up a CGI
2870 environment from an HTTP::Request.")
2871 (license l:perl-license)))
2873 (define-public perl-http-server-simple
2875 (name "perl-http-server-simple")
2880 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
2881 "HTTP-Server-Simple-" version ".tar.gz"))
2884 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
2885 (build-system perl-build-system)
2887 `(("perl-cgi" ,perl-cgi)))
2889 ;; See the discussion of a related tests issue at
2890 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2893 #:phases (modify-phases %standard-phases
2894 (add-before 'configure 'set-search-path
2896 ;; Work around "dotless @INC" build failure.
2898 (string-append (getcwd) ":"
2899 (getenv "PERL5LIB")))
2901 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2902 (synopsis "Lightweight HTTP server")
2903 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2904 no non-core module dependencies. It can be used for building a standalone
2905 http-based UI to your existing tools.")
2906 (license l:perl-license)))
2908 (define-public perl-http-tiny
2910 (name "perl-http-tiny")
2915 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2916 "HTTP-Tiny-" version ".tar.gz"))
2919 "0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
2920 (build-system perl-build-system)
2922 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2923 ("perl-io-socket-ip" ,perl-io-socket-ip)
2924 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2925 ("perl-mozilla-ca" ,perl-mozilla-ca)
2926 ("perl-net-ssleay" ,perl-net-ssleay)))
2927 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2928 (synopsis "HTTP/1.1 client")
2929 (description "This is a very simple HTTP/1.1 client, designed for doing
2930 simple requests without the overhead of a large framework like LWP::UserAgent.
2931 It supports proxies and redirection. It also correctly resumes after EINTR.")
2932 (license l:perl-license)))
2934 (define-public perl-io-html
2936 (name "perl-io-html")
2941 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2945 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2946 (build-system perl-build-system)
2947 (license l:perl-license)
2948 (synopsis "Perl module to open an HTML file with automatic charset detection")
2950 "IO::HTML provides an easy way to open a file containing HTML while
2951 automatically determining its encoding. It uses the HTML5 encoding sniffing
2952 algorithm specified in section 8.2.2.1 of the draft standard.")
2953 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2955 (define-public perl-io-socket-ip
2957 (name "perl-io-socket-ip")
2962 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2963 "IO-Socket-IP-" version ".tar.gz"))
2966 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
2967 (build-system perl-build-system)
2968 (native-inputs `(("perl-module-build" ,perl-module-build)))
2969 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2970 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2971 (description "This module provides a protocol-independent way to use IPv4
2972 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2973 (license l:perl-license)))
2975 (define-public perl-io-socket-ssl
2977 (name "perl-io-socket-ssl")
2981 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2982 "IO-Socket-SSL-" version ".tar.gz"))
2985 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2986 (patches (search-patches
2987 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2988 (build-system perl-build-system)
2990 `(("perl-net-ssleay" ,perl-net-ssleay)
2992 ("perl-uri" ,perl-uri)))
2993 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2995 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2996 necessary functionality into the familiar IO::Socket interface and providing
2997 secure defaults whenever possible. This way existing applications can be made
2998 SSL-aware without much effort, at least if you do blocking I/O and don't use
3000 (license l:perl-license)
3001 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3003 (define-public perl-libwww
3005 (name "perl-libwww")
3010 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
3014 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
3015 (build-system perl-build-system)
3017 `(("perl-encode-locale" ,perl-encode-locale)
3018 ("perl-file-listing" ,perl-file-listing)
3019 ("perl-html-parser" ,perl-html-parser)
3020 ("perl-http-cookies" ,perl-http-cookies)
3021 ("perl-http-daemon" ,perl-http-daemon)
3022 ("perl-http-date" ,perl-http-date)
3023 ("perl-http-message" ,perl-http-message)
3024 ("perl-http-negotiate" ,perl-http-negotiate)
3025 ("perl-net-http" ,perl-net-http)
3026 ("perl-uri" ,perl-uri)
3027 ("perl-www-robotrules" ,perl-www-robotrules)))
3028 (license l:perl-license)
3029 (synopsis "Perl modules for the WWW")
3031 "The libwww-perl collection is a set of Perl modules which provides a
3032 simple and consistent application programming interface to the
3033 World-Wide Web. The main focus of the library is to provide classes
3034 and functions that allow you to write WWW clients. The library also
3035 contains modules that are of more general use and even classes that
3036 help you implement simple HTTP servers.")
3037 (home-page "http://search.cpan.org/dist/libwww-perl/")))
3039 (define-public perl-lwp-online
3041 (name "perl-lwp-online")
3047 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3051 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3052 (build-system perl-build-system)
3054 `(("perl-libwww" ,perl-libwww)
3055 ("perl-uri" ,perl-uri)))
3057 `(("perl-module-install" ,perl-module-install)))
3058 (home-page "http://search.cpan.org/dist/LWP-Online/")
3059 (synopsis "Checks whether your process has access to the web")
3060 (description "This module attempts to answer, as accurately as it can, one
3061 of the nastiest technical questions there is: am I on the internet?
3063 A host of networking and security issues make this problem very difficult.
3064 There are firewalls, proxies (both well behaved and badly behaved). We might
3065 not have DNS. We might not have a network card at all!")
3066 (license l:perl-license)))
3068 (define-public perl-lwp-mediatypes
3070 (name "perl-lwp-mediatypes")
3075 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
3079 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
3080 (build-system perl-build-system)
3081 (license l:perl-license)
3082 (synopsis "Perl module to guess the media type for a file or a URL")
3084 "The LWP::MediaTypes module provides functions for handling media (also
3085 known as MIME) types and encodings. The mapping from file extensions to
3086 media types is defined by the media.types file. If the ~/.media.types file
3087 exists it is used instead.")
3088 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
3090 (define-public perl-lwp-protocol-https
3092 (name "perl-lwp-protocol-https")
3097 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
3098 "LWP-Protocol-https-" version ".tar.gz"))
3101 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
3102 (build-system perl-build-system)
3104 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3105 ("perl-libwww" ,perl-libwww)
3106 ;; Users should instead make sure SSL_ca_path is set properly.
3107 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3108 ("perl-net-http" ,perl-net-http)))
3109 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
3110 (synopsis "HTTPS support for LWP::UserAgent")
3111 (description "The LWP::Protocol::https module provides support for using
3112 https schemed URLs with LWP.")
3113 (license l:perl-license)))
3115 (define-public perl-lwp-useragent-determined
3117 (name "perl-lwp-useragent-determined")
3122 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3123 "LWP-UserAgent-Determined-" version ".tar.gz"))
3126 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3127 (build-system perl-build-system)
3129 `(("perl-libwww" ,perl-libwww)))
3130 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
3131 (synopsis "Virtual browser that retries errors")
3132 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3133 except that when you use it to get a web page but run into a
3134 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3135 and retry a few times.")
3136 (license l:perl-license)))
3138 (define-public perl-net-amazon-s3
3140 (name "perl-net-amazon-s3")
3145 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3146 "Net-Amazon-S3-" version ".tar.gz"))
3149 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3150 (patches (search-patches
3151 "perl-net-amazon-s3-moose-warning.patch"))))
3152 (build-system perl-build-system)
3154 `(("perl-libwww" ,perl-libwww)
3155 ("perl-test-exception" ,perl-test-exception)))
3157 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3158 ("perl-datetime-format-http" ,perl-datetime-format-http)
3159 ("perl-digest-hmac" ,perl-digest-hmac)
3160 ("perl-digest-md5-file" ,perl-digest-md5-file)
3161 ("perl-file-find-rule" ,perl-file-find-rule)
3162 ("perl-http-date" ,perl-http-date)
3163 ("perl-http-message" ,perl-http-message)
3164 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3165 ("perl-mime-types" ,perl-mime-types)
3166 ("perl-moose" ,perl-moose)
3167 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3168 ("perl-moosex-types-datetime-morecoercions"
3169 ,perl-moosex-types-datetime-morecoercions)
3170 ("perl-path-class" ,perl-path-class)
3171 ("perl-regexp-common" ,perl-regexp-common)
3172 ("perl-term-encoding" ,perl-term-encoding)
3173 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3174 ("perl-uri" ,perl-uri)
3175 ("perl-xml-libxml" ,perl-xml-libxml)))
3176 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
3177 (synopsis "Perl interface to Amazon S3")
3178 (description "This module provides a Perlish interface to Amazon S3.")
3179 (license l:perl-license)))
3181 (define-public perl-net-http
3183 (name "perl-net-http")
3188 "mirror://cpan/authors/id/O/OA/OALDERS/"
3189 "Net-HTTP-" version ".tar.gz"))
3192 "074mp9s37q1j290xa3qj1wwgalzla328i2zpnh73xkmdnwnxyhky"))))
3193 (build-system perl-build-system)
3195 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3196 ("perl-uri" ,perl-uri)))
3197 (license l:perl-license)
3198 (synopsis "Perl low-level HTTP connection (client)")
3200 "The Net::HTTP class is a low-level HTTP client. An instance of the
3201 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3202 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3204 (home-page "http://search.cpan.org/dist/Net-HTTP")))
3206 (define-public perl-net-server
3208 (name "perl-net-server")
3213 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3214 "Net-Server-" version ".tar.gz"))
3217 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3218 (build-system perl-build-system)
3219 (home-page "http://search.cpan.org/dist/Net-Server")
3220 (synopsis "Extensible Perl server engine")
3221 (description "Net::Server is an extensible, generic Perl server engine.
3222 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3223 It includes with it the ability to run as an inetd
3224 process (Net::Server::INET), a single connection server (Net::Server or
3225 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3226 server which maintains a constant number of preforked
3227 children (Net::Server::PreForkSimple), or as a managed preforking server which
3228 maintains the number of children based on server load (Net::Server::PreFork).
3229 In all but the inetd type, the server provides the ability to connect to one
3230 or to multiple server ports.")
3231 (license l:perl-license)))
3233 (define-public perl-net-smtp-ssl
3235 (name "perl-net-smtp-ssl")
3240 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3241 "Net-SMTP-SSL-" version ".tar.gz"))
3244 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3245 (build-system perl-build-system)
3247 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3248 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
3249 (synopsis "SSL support for Net::SMTP")
3250 (description "SSL support for Net::SMTP.")
3251 (license l:perl-license)))
3253 (define-public perl-plack
3260 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3261 "Plack-" version ".tar.gz"))
3264 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3265 (build-system perl-build-system)
3267 `(("perl-test-requires" ,perl-test-requires)
3268 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3270 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3271 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3272 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3273 ("perl-file-sharedir" ,perl-file-sharedir)
3274 ("perl-hash-multivalue" ,perl-hash-multivalue)
3275 ("perl-http-body" ,perl-http-body)
3276 ("perl-http-message" ,perl-http-message)
3277 ("perl-http-tiny" ,perl-http-tiny)
3278 ("perl-libwww" ,perl-libwww)
3279 ("perl-stream-buffered" ,perl-stream-buffered)
3280 ("perl-test-tcp" ,perl-test-tcp)
3281 ("perl-try-tiny" ,perl-try-tiny)
3282 ("perl-uri" ,perl-uri)))
3283 (home-page "http://search.cpan.org/dist/Plack")
3284 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3285 (description "Plack is a set of tools for using the PSGI stack. It
3286 contains middleware components, a reference server, and utilities for Web
3287 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3289 (license l:perl-license)))
3291 (define-public perl-plack-middleware-fixmissingbodyinredirect
3293 (name "perl-plack-middleware-fixmissingbodyinredirect")
3298 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3299 "Plack-Middleware-FixMissingBodyInRedirect-"
3303 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3304 (build-system perl-build-system)
3306 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3307 ("perl-http-message" ,perl-http-message)
3308 ("perl-plack" ,perl-plack))) ;for Plack::Test
3310 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
3311 (synopsis "Plack::Middleware which sets body for redirect response")
3312 (description "This module sets the body in redirect response, if it's not
3314 (license l:perl-license)))
3316 (define-public perl-plack-middleware-methodoverride
3318 (name "perl-plack-middleware-methodoverride")
3323 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
3324 "Plack-Middleware-MethodOverride-"
3328 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
3329 (build-system perl-build-system)
3331 `(("perl-module-build" ,perl-module-build)))
3333 `(("perl-plack" ,perl-plack)))
3334 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
3335 (synopsis "Override REST methods to Plack apps via POST")
3336 (description "This middleware allows for POST requests that pretend to be
3337 something else: by adding either a header named X-HTTP-Method-Override to the
3338 request, or a query parameter named x-tunneled-method to the URI, the client
3339 can say what method it actually meant.")
3340 (license l:perl-license)))
3342 (define-public perl-plack-middleware-removeredundantbody
3344 (name "perl-plack-middleware-removeredundantbody")
3349 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3350 "Plack-Middleware-RemoveRedundantBody-"
3354 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
3355 (build-system perl-build-system)
3357 `(("perl-plack" ,perl-plack)))
3359 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
3360 (synopsis "Plack::Middleware which removes body for HTTP response")
3361 (description "This module removes the body in an HTTP response if it's not
3363 (license l:perl-license)))
3365 (define-public perl-plack-middleware-reverseproxy
3367 (name "perl-plack-middleware-reverseproxy")
3372 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3373 "Plack-Middleware-ReverseProxy-"
3377 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
3378 (build-system perl-build-system)
3380 `(("perl-module-install" ,perl-module-install)))
3382 `(("perl-plack" ,perl-plack)))
3383 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
3384 (synopsis "Supports app to run as a reverse proxy backend")
3385 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3386 which are changed by reverse-proxy. You can specify the reverse proxy address
3387 and stop fake requests using 'enable_if' directive in your app.psgi.")
3388 (license l:perl-license)))
3390 (define-public perl-plack-test-externalserver
3392 (name "perl-plack-test-externalserver")
3397 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3398 "Plack-Test-ExternalServer-" version ".tar.gz"))
3401 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
3402 (build-system perl-build-system)
3404 `(("perl-plack" ,perl-plack)))
3405 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
3406 (synopsis "Run HTTP tests on external live servers")
3407 (description "This module allows your to run your Plack::Test tests
3408 against an external server instead of just against a local application through
3409 either mocked HTTP or a locally spawned server.")
3410 (license l:perl-license)))
3412 (define-public perl-test-tcp
3414 (name "perl-test-tcp")
3419 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3420 "Test-TCP-" version ".tar.gz"))
3423 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
3424 (build-system perl-build-system)
3426 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3427 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3428 (home-page "http://search.cpan.org/dist/Test-TCP")
3429 (synopsis "Testing TCP programs")
3430 (description "Test::TCP is test utilities for TCP/IP programs.")
3431 (license l:perl-license)))
3433 (define-public perl-test-www-mechanize
3435 (name "perl-test-www-mechanize")
3440 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3441 "Test-WWW-Mechanize-" version ".tar.gz"))
3444 "097pl87vdbxbb56vawzvs6ikrlb8nz3dx223kjjbdn3jlli3jjhg"))))
3445 (build-system perl-build-system)
3447 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3448 ("perl-html-form" ,perl-html-form)
3449 ("perl-html-lint" ,perl-html-lint)
3450 ("perl-http-server-simple" ,perl-http-server-simple)
3451 ("perl-libwww" ,perl-libwww)
3452 ("perl-test-longstring" ,perl-test-longstring)
3453 ("perl-www-mechanize" ,perl-www-mechanize)))
3454 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
3455 (synopsis "Testing-specific WWW::Mechanize subclass")
3456 (description "Test::WWW::Mechanize is a subclass of the Perl module
3457 WWW::Mechanize that incorporates features for web application testing.")
3458 (license l:artistic2.0)))
3460 (define-public perl-test-www-mechanize-catalyst
3462 (name "perl-test-www-mechanize-catalyst")
3467 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
3468 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3471 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
3472 (build-system perl-build-system)
3474 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3475 ("perl-catalyst-plugin-session-state-cookie"
3476 ,perl-catalyst-plugin-session-state-cookie)
3477 ("perl-module-install" ,perl-module-install)
3478 ("perl-test-exception" ,perl-test-exception)
3479 ("perl-test-pod" ,perl-test-pod)
3480 ("perl-test-utf8" ,perl-test-utf8)))
3482 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3483 ("perl-class-load" ,perl-class-load)
3484 ("perl-libwww" ,perl-libwww)
3485 ("perl-moose" ,perl-moose)
3486 ("perl-namespace-clean" ,perl-namespace-clean)
3487 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3488 ("perl-www-mechanize" ,perl-www-mechanize)))
3489 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
3490 (synopsis "Test::WWW::Mechanize for Catalyst")
3491 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3492 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3493 testing of Catalyst applications without needing to start up a web server.")
3494 (license l:perl-license)))
3496 (define-public perl-test-www-mechanize-psgi
3498 (name "perl-test-www-mechanize-psgi")
3503 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3504 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3507 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
3508 (build-system perl-build-system)
3510 `(("perl-test-pod" ,perl-test-pod)))
3512 `(("perl-plack" ,perl-plack)
3513 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3514 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
3515 (synopsis "Test PSGI programs using WWW::Mechanize")
3516 (description "PSGI is a specification to decouple web server environments
3517 from web application framework code. Test::WWW::Mechanize is a subclass of
3518 WWW::Mechanize that incorporates features for web application testing. The
3519 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3521 (license l:perl-license)))
3523 (define-public perl-uri
3529 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3530 "URI-" version ".tar.gz"))
3533 "04z4xwiryrbxxi48bwbkgq9q9pwfgqry3wp0ramcrwv3dx5ap9yc"))))
3534 (build-system perl-build-system)
3537 `(("perl-test-needs" ,perl-test-needs)))
3538 (license l:perl-license)
3539 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3541 "The URI module implements the URI class. Objects of this class
3542 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3543 and updated by RFC 2732.")
3544 (home-page "http://search.cpan.org/dist/URI/")))
3546 (define-public perl-uri-fetch
3548 (name "perl-uri-fetch")
3552 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3553 "URI-Fetch-" version ".tar.gz"))
3556 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3557 (build-system perl-build-system)
3559 `(#:tests? #f)) ; Tests require internet connection to succeed
3561 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3562 ("perl-libwww" ,perl-libwww)
3563 ("perl-uri" ,perl-uri)))
3564 (home-page "http://search.cpan.org/dist/URI-Fetch")
3565 (synopsis "Smart URI fetching/caching")
3566 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3567 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3568 and time-saving way.")
3569 (license l:perl-license)))
3571 (define-public perl-uri-find
3573 (name "perl-uri-find")
3574 (version "20160806")
3578 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3579 "URI-Find-" version ".tar.gz"))
3582 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
3583 (build-system perl-build-system)
3585 `(("perl-module-build" ,perl-module-build)))
3587 `(("perl-uri" ,perl-uri)))
3588 (home-page "http://search.cpan.org/dist/URI-Find")
3589 (synopsis "Find URIs in arbitrary text")
3590 (description "This module finds URIs and URLs (according to what URI.pm
3591 considers a URI) in plain text. It only finds URIs which include a
3592 scheme (http:// or the like), for something a bit less strict, consider
3593 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3594 (license l:perl-license)))
3596 (define-public perl-uri-ws
3598 (name "perl-uri-ws")
3603 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3604 "URI-ws-" version ".tar.gz"))
3607 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3608 (build-system perl-build-system)
3610 `(("perl-uri" ,perl-uri)))
3611 (home-page "http://search.cpan.org/dist/URI-ws")
3612 (synopsis "WebSocket support for URI package")
3613 (description "With this module, the URI package provides the same set of
3614 methods for WebSocket URIs as it does for HTTP URIs.")
3615 (license l:perl-license)))
3617 (define-public perl-uri-template
3619 (name "perl-uri-template")
3623 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3627 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3628 (build-system perl-build-system)
3630 `(("perl-uri" ,perl-uri)))
3632 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3633 ("perl-test-pod" ,perl-test-pod)
3634 ("perl-module-install" ,perl-module-install)
3635 ("perl-json" ,perl-json)))
3636 (home-page "http://search.cpan.org/dist/URI-Template")
3637 (synopsis "Object for handling URI templates")
3638 (description "This perl module provides a wrapper around URI templates as described in
3640 (license l:perl-license)))
3642 (define-public perl-www-curl
3644 (name "perl-www-curl")
3649 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3651 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3654 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3655 (build-system perl-build-system)
3657 '(#:tests? #f ;XXX: tests require network access
3659 #:phases (modify-phases %standard-phases
3660 (add-before 'configure 'set-search-path
3662 ;; Work around "dotless @INC" build failure.
3664 (string-append (getcwd) ":"
3665 (getenv "PERL5LIB")))
3668 `(("perl-module-install" ,perl-module-install)))
3669 (inputs `(("curl" ,curl)))
3670 (synopsis "Perl extension interface for libcurl")
3672 "This is a Perl extension interface for the libcurl file downloading
3674 (license l:perl-license)
3675 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3677 (define-public perl-www-mechanize
3679 (name "perl-www-mechanize")
3684 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3685 "WWW-Mechanize-" version ".tar.gz"))
3688 "0yd8a1zsfpbv5wr79x3iqmik9gvcd10iam9dfrdan4dri9vpxn9n"))))
3689 (build-system perl-build-system)
3690 (native-inputs ;only for tests
3691 `(("perl-cgi" ,perl-cgi)
3692 ("perl-test-deep" ,perl-test-deep)
3693 ("perl-test-fatal" ,perl-test-fatal)
3694 ("perl-test-output" ,perl-test-output)
3695 ("perl-test-warnings" ,perl-test-warnings)))
3697 `(("perl-html-form" ,perl-html-form)
3698 ("perl-html-parser" ,perl-html-parser)
3699 ("perl-html-tree" ,perl-html-tree)
3700 ("perl-http-message" ,perl-http-message)
3701 ("perl-http-server-simple" ,perl-http-server-simple)
3702 ("perl-libwww" ,perl-libwww)
3703 ("perl-test-warn" ,perl-test-warn)
3704 ("perl-uri" ,perl-uri)))
3705 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3706 (synopsis "Web browsing in a Perl object")
3707 (description "WWW::Mechanize is a Perl module for stateful programmatic
3708 web browsing, used for automating interaction with websites.")
3709 (license l:perl-license)))
3711 (define-public perl-www-opensearch
3713 (name "perl-www-opensearch")
3717 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3718 "WWW-OpenSearch-" version ".tar.gz"))
3721 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3722 (build-system perl-build-system)
3724 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3725 ("perl-datetime" ,perl-datetime)
3726 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
3727 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
3728 ("perl-feed-find" ,perl-feed-find)
3729 ("perl-module-install" ,perl-module-install)
3730 ("perl-module-pluggable" ,perl-module-pluggable)
3731 ("perl-uri-fetch" ,perl-uri-fetch)
3732 ("perl-test-simple" ,perl-test-simple)
3733 ("perl-xml-atom" ,perl-xml-atom)
3734 ("perl-xml-rss" ,perl-xml-rss)))
3736 `(("perl-data-page" ,perl-data-page)
3737 ("perl-libwww" ,perl-libwww)
3738 ("perl-uri" ,perl-uri)
3739 ("perl-uri-template" ,perl-uri-template)
3740 ("perl-xml-feed" ,perl-xml-feed)
3741 ("perl-xml-libxml" ,perl-xml-libxml)))
3742 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3743 (synopsis "Search A9 OpenSearch compatible engines")
3745 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3746 http://opensearch.a9.com} compatible search engines.")
3747 (license l:perl-license)))
3749 (define-public perl-www-robotrules
3751 (name "perl-www-robotrules")
3756 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3760 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3761 (build-system perl-build-system)
3763 `(("perl-uri" ,perl-uri)))
3764 (license l:perl-license)
3765 (synopsis "Perl database of robots.txt-derived permissions")
3767 "The WWW::RobotRules module parses /robots.txt files as specified in
3768 \"A Standard for Robot Exclusion\", at
3769 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3770 /robots.txt file to forbid conforming robots from accessing parts of
3772 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3774 (define-public python-feedparser
3776 (name "python-feedparser")
3781 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3784 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3785 (build-system python-build-system)
3789 "https://github.com/kurtmckee/feedparser")
3790 (synopsis "Parse feeds in Python")
3792 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3793 CDF, Atom 0.3, and Atom 1.0 feeds.")
3794 (license (list l:bsd-2 ; source code
3795 l:freebsd-doc)))) ; documentation
3797 (define-public python2-feedparser
3798 (package-with-python2 python-feedparser))
3800 (define-public r-httpuv
3806 (uri (cran-uri "httpuv" version))
3809 "15ghxcyg9h0za3qy077fnn3izbpihskvaqwsppm2s43a771imsf6"))))
3810 (build-system r-build-system)
3811 (native-inputs `(("r-rcpp" ,r-rcpp)))
3814 ("r-later" ,r-later)
3815 ("r-promises" ,r-promises)))
3816 (home-page "https://github.com/rstudio/httpuv")
3817 (synopsis "HTTP and WebSocket server library for R")
3819 "The httpuv package provides low-level socket and protocol support for
3820 handling HTTP and WebSocket requests directly from within R. It is primarily
3821 intended as a building block for other packages, rather than making it
3822 particularly easy to create complete web applications using httpuv alone.")
3823 ;; This package includes third-party code that was originally released
3824 ;; under various non-copyleft licenses. Full licensing information can be
3825 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3828 (define-public r-jsonlite
3834 (uri (cran-uri "jsonlite" version))
3837 "00lfg464jhf7k01bal9pcjvbdf5cxk6xi2h46hccp1x3h883g434"))))
3838 (build-system r-build-system)
3839 (home-page "http://arxiv.org/abs/1403.2805")
3840 (synopsis "Robust, high performance JSON parser and generator for R")
3842 "The jsonlite package provides a fast JSON parser and generator optimized
3843 for statistical data and the web. It offers flexible, robust, high
3844 performance tools for working with JSON in R and is particularly powerful for
3845 building pipelines and interacting with a web API. In addition to converting
3846 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3847 and prettify JSON data. The unit tests included with the package verify that
3848 all edge cases are encoded and decoded consistently for use with dynamic data
3849 in systems and applications.")
3852 (define-public r-servr
3858 (uri (cran-uri "servr" version))
3861 "0yz3igqsiyqnjj1ngh199zicg3spx4kbmvl0wc8i8xahk6l9g06v"))))
3862 (build-system r-build-system)
3864 `(("r-httpuv" ,r-httpuv)
3865 ("r-jsonlite" ,r-jsonlite)
3867 ("r-xfun" ,r-xfun)))
3868 (home-page "https://github.com/yihui/servr")
3869 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3871 "Servr provides an HTTP server in R to serve static files, or dynamic
3872 documents that can be converted to HTML files (e.g., R Markdown) under a given
3876 (define-public r-htmltools
3878 (name "r-htmltools")
3882 (uri (cran-uri "htmltools" version))
3885 "18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4"))))
3886 (build-system r-build-system)
3889 (modify-phases %standard-phases
3890 ;; See https://github.com/rstudio/htmltools/pull/68
3891 ;; The resource files are in the store and have mode 444. After
3892 ;; copying the files R fails to remove them again because it doesn't
3893 ;; have write access to them.
3894 (add-after 'unpack 'copy-files-without-mode
3896 (substitute* "R/html_dependency.R"
3897 (("file.copy\\(from, to, " prefix)
3898 (string-append prefix
3899 "copy.mode = FALSE, ")))
3902 `(("r-digest" ,r-digest)
3903 ("r-rcpp" ,r-rcpp)))
3904 (home-page "https://cran.r-project.org/web/packages/htmltools")
3905 (synopsis "R tools for HTML")
3907 "This package provides tools for HTML generation and output in R.")
3910 (define-public r-htmlwidgets
3912 (name "r-htmlwidgets")
3916 (uri (cran-uri "htmlwidgets" version))
3919 "04c4d0mfcy3dkdlbxnaccpdgxvyxfdwfmmh5djim6v9hyg0j2z8s"))))
3920 (build-system r-build-system)
3922 `(("r-htmltools" ,r-htmltools)
3923 ("r-jsonlite" ,r-jsonlite)
3924 ("r-yaml" ,r-yaml)))
3925 (home-page "https://github.com/ramnathv/htmlwidgets")
3926 (synopsis "HTML Widgets for R")
3928 "HTML widgets is a framework for creating HTML widgets that render in
3929 various contexts including the R console, R Markdown documents, and Shiny web
3933 (define-public r-htmltable
3935 (name "r-htmltable")
3940 (uri (cran-uri "htmlTable" version))
3943 "1n5136vb7mi4rxl5jgwdmdhn4mwv2pcqyw2mrj406ih4hy6hpxa2"))))
3944 (properties `((upstream-name . "htmlTable")))
3945 (build-system r-build-system)
3947 `(("r-checkmate" ,r-checkmate)
3948 ("r-htmltools" ,r-htmltools)
3949 ("r-htmlwidgets" ,r-htmlwidgets)
3950 ("r-knitr" ,r-knitr)
3951 ("r-magrittr" ,r-magrittr)
3952 ("r-rstudioapi" ,r-rstudioapi)
3953 ("r-stringr" ,r-stringr)))
3954 (home-page "http://gforge.se/packages/")
3955 (synopsis "Advanced tables for Markdown/HTML")
3957 "This package provides functions to build tables with advanced layout
3958 elements such as row spanners, column spanners, table spanners, zebra
3959 striping, and more. While allowing advanced layout, the underlying
3960 CSS-structure is simple in order to maximize compatibility with word
3961 processors such as LibreOffice. The package also contains a few text
3962 formatting functions that help outputting text compatible with HTML or
3966 (define-public r-curl
3972 (uri (cran-uri "curl" version))
3975 "15hmy71310hnf9yqvz0icx4cq939gv6iqaifzlfdh2ia8akawdhn"))))
3976 (build-system r-build-system)
3979 (modify-phases %standard-phases
3980 ;; The environment variable CURL_CA_BUNDLE is only respected when
3981 ;; running Windows, so we disable the platform checks.
3982 ;; This can be removed once the libcurl has been patched.
3983 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3985 (substitute* "R/onload.R"
3986 (("if \\(!grepl\\(\"mingw\".*")
3988 (substitute* "src/handle.c"
3989 (("#ifdef _WIN32") "#if 1"))
3992 `(("libcurl" ,curl)))
3993 (home-page "https://github.com/jeroenooms/curl")
3994 (synopsis "HTTP client for R")
3996 "The @code{curl()} and @code{curl_download()} functions provide highly
3997 configurable drop-in replacements for base @code{url()} and
3998 @code{download.file()} with better performance, support for encryption, gzip
3999 compression, authentication, and other @code{libcurl} goodies. The core of
4000 the package implements a framework for performing fully customized requests
4001 where data can be processed either in memory, on disk, or streaming via the
4002 callback or connection interfaces.")
4005 (define-public r-hwriter
4012 (uri (cran-uri "hwriter" version))
4015 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
4016 (build-system r-build-system)
4017 (home-page "https://cran.r-project.org/web/packages/hwriter")
4018 (synopsis "Output R objects in HTML format")
4020 "This package provides easy-to-use and versatile functions to output R
4021 objects in HTML format.")
4022 (license l:lgpl2.1+)))
4024 (define-public r-rjson
4031 (uri (cran-uri "rjson" version))
4034 "0v1zvdd3svnavklh7y5xbwrrkbvx6053r4c5hgnk7hz7bqg7qa1s"))))
4035 (build-system r-build-system)
4036 (home-page "https://cran.r-project.org/web/packages/rjson")
4037 (synopsis "JSON library for R")
4039 "This package provides functions to convert R objects into JSON objects
4043 (define-public gumbo-parser
4045 (name "gumbo-parser")
4049 (uri (string-append "https://github.com/google/"
4050 "gumbo-parser/archive/v" version ".tar.gz"))
4051 (file-name (string-append name "-" version ".tar.gz"))
4054 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
4055 (build-system gnu-build-system)
4057 `(#:tests? #f)) ;tests require bundling googletest sources
4058 ;; The release tarball lacks the generated files.
4060 `(("autoconf" ,autoconf)
4061 ("automake" ,automake)
4062 ("libtool" ,libtool)))
4063 (home-page "https://github.com/google/gumbo-parser")
4064 (synopsis "HTML5 parsing library")
4066 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4067 a pure C99 library.")
4068 (license l:asl2.0)))
4070 (define-public uwsgi
4076 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4080 "1wlbaairsmhp6bx5wv282q9pgh6w7w6yrb8vxjznfaxrinsfkhix"))))
4081 (build-system gnu-build-system)
4082 (outputs '("out" "python"))
4084 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4085 ;; But there is no obvious way to run the real tests.
4088 (modify-phases %standard-phases
4090 ;; Configuration is done by writing an ini file.
4091 (lambda* (#:key outputs #:allow-other-keys)
4092 (let* ((out (assoc-ref outputs "out"))
4093 (bindir (string-append out "/bin"))
4094 (plugindir (string-append out "/lib/uwsgi")))
4095 ;; The build phase outputs files to these directories directly.
4098 ;; XXX: Enable other plugins.
4099 (call-with-output-file "buildconf/guix.ini"
4101 (format port "[uwsgi]
4107 plugins = cgi,python
4109 " bindir plugindir))))
4110 (setenv "PROFILE" "guix")
4113 ;; Move plugins into their own output.
4114 (lambda* (#:key outputs #:allow-other-keys)
4115 (let* ((out (assoc-ref outputs "out"))
4116 (plugindir (string-append out "/lib/uwsgi"))
4117 (python-plugin (string-append
4118 plugindir "/python_plugin.so")))
4119 (install-file python-plugin
4121 (assoc-ref outputs "python") "/lib/uwsgi"))
4122 (delete-file python-plugin)
4125 `(("pkg-config" ,pkg-config)
4126 ("python" ,python-wrapper)))
4128 `(("jansson" ,jansson)
4129 ("libxml2" ,libxml2)
4130 ("libyaml" ,libyaml)
4131 ("openssl" ,openssl)
4135 ("python" ,python)))
4136 (home-page "https://uwsgi-docs.readthedocs.org/")
4137 (synopsis "Application container server")
4139 "uWSGI presents a complete stack for networked/clustered web applications,
4140 implementing message/object passing, caching, RPC and process management.
4141 It uses the uwsgi protocol for all the networking/interprocess communications.")
4142 (license l:gpl2+))) ; with linking exception
4150 (uri (string-append "https://github.com/stedolan/" name
4151 "/releases/download/" name "-" version
4152 "/" name "-" version ".tar.gz"))
4155 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
4156 ;; This patch has been pushed and the vulnerability will be
4157 ;; fixed in the next release after 1.5.
4158 ;; https://github.com/stedolan/jq/issues/995
4159 (patches (search-patches "jq-CVE-2015-8863.patch"))))
4161 `(("oniguruma" ,oniguruma)))
4163 `(;; TODO fix gems to generate documentation
4165 ;;("bundler" ,bundler)
4166 ("valgrind" ,valgrind)))
4167 (build-system gnu-build-system)
4168 (home-page "http://stedolan.github.io/jq/")
4169 (synopsis "Command-line JSON processor")
4170 (description "jq is like sed for JSON data – you can use it to slice and
4171 filter and map and transform structured data with the same ease that sed, awk,
4172 grep and friends let you play with text. It is written in portable C. jq can
4173 mangle the data format that you have into the one that you want with very
4174 little effort, and the program to do so is often shorter and simpler than
4176 (license (list l:expat l:cc-by3.0))))
4178 (define-public uhttpmock
4185 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4186 name "-" version ".tar.xz"))
4189 "163py4klka423x7li2b685gmg3a6hjf074mlff2ajhmi3l0lm8x6"))))
4190 (build-system glib-or-gtk-build-system)
4193 (modify-phases %standard-phases
4194 (add-before 'check 'use-empty-ssl-cert-file
4196 ;; Search for ca-certificates.crt files
4197 ;; during the check phase.
4198 (setenv "SSL_CERT_FILE" "/dev/null")
4201 `(("gobject-introspection" ,gobject-introspection)
4203 ("glib-networking" ,glib-networking)
4204 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4205 ("pkg-config" ,pkg-config)))
4207 `(("libsoup" ,libsoup)))
4208 (home-page "https://gitlab.com/groups/uhttpmock")
4209 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4211 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4212 HTTPS. It provides a library, libuhttpmock, which implements recording and
4213 playback of HTTP request/response traces.")
4214 (license l:lgpl2.1+)))
4219 (version "2012-05-31")
4223 "http://www.home.unix-ag.org/simon/woof-"
4227 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4228 (build-system trivial-build-system)
4230 '(#:modules ((guix build utils))
4233 (use-modules (guix build utils))
4234 (let* ((source (assoc-ref %build-inputs "source"))
4235 (out (assoc-ref %outputs "out"))
4236 (bin (string-append out "/bin"))
4237 (python (assoc-ref %build-inputs "python")))
4239 (with-directory-excursion bin
4240 (copy-file source "woof")
4241 (patch-shebang "woof" (list (string-append python "/bin")))
4242 (chmod "woof" #o555))
4244 (inputs `(("python" ,python-2)))
4245 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4246 (synopsis "Single file web server")
4247 (description "Woof (Web Offer One File) is a small simple web server that
4248 can easily be invoked on a single file. Your partner can access the file with
4249 tools they trust (e.g. wget).")
4252 (define netsurf-buildsystem
4254 (name "netsurf-buildsystem")
4259 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4260 "buildsystem-" version ".tar.gz"))
4263 "0p5k708lcq8dip9xxck6hml32bjrbyipprm22bbsvdnsc0pqm71x"))))
4264 (build-system gnu-build-system)
4265 (inputs `(("perl" ,perl)))
4267 '(#:make-flags (list (string-append "PREFIX=" %output))
4268 #:tests? #f ;no tests
4269 #:phases (modify-phases %standard-phases
4272 (home-page "http://www.netsurf-browser.org")
4273 (synopsis "Build system for the Netsurf project")
4275 "This package provides the shared build system for Netsurf project
4279 (define netsurf-buildsystem-arguments
4280 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4281 "CC=gcc" "BUILD_CC=gcc"
4282 ,(string-append "PREFIX=" %output)
4283 ,(string-append "NSSHARED="
4284 (assoc-ref %build-inputs
4285 "netsurf-buildsystem")
4286 "/share/netsurf-buildsystem"))
4287 #:test-target "test"
4288 #:phases (modify-phases %standard-phases
4289 (delete 'configure))))
4291 (define-public libparserutils
4293 (name "libparserutils")
4298 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4299 name "-" version "-src.tar.gz"))
4302 "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
4303 (build-system gnu-build-system)
4305 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4306 ("pkg-config" ,pkg-config)
4307 ("perl" ,perl))) ;for test harness
4308 (arguments netsurf-buildsystem-arguments)
4309 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
4310 (synopsis "Parser building library")
4312 "LibParserUtils is a library for building efficient parsers, written in
4313 C. It is developed as part of the NetSurf project.")
4316 (define-public hubbub
4323 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4324 "lib" name "-" version "-src.tar.gz"))
4327 "1shi4hv8drn9zy8f2f6yhnz2dqnpg5jkybvqhzggfjx1q35fbxz3"))
4328 (patches (search-patches "hubbub-sort-entities.patch"))))
4329 (build-system gnu-build-system)
4331 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4332 ("pkg-config" ,pkg-config)
4333 ("doxygen" ,doxygen)
4334 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4337 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4338 (arguments netsurf-buildsystem-arguments)
4339 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
4340 (synopsis "HTML5 compliant parsing library")
4342 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4343 parse both valid and invalid web content. It is developed as part of the
4347 (define-public ikiwiki
4350 (version "3.20170111")
4354 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4355 "20170111T215449Z/pool/main/i/ikiwiki/ikiwiki_"
4359 "00d7yzv426fvqbhvzyafddv7fa6b4j2647b0wi371wd5yjj9j3sz"))))
4360 (build-system perl-build-system)
4362 `(;; Image tests fail
4364 ;; Test Summary Report
4365 ;; -------------------
4366 ;; t/img.t (Wstat: 2304 Tests: 62 Failed: 9)
4367 ;; Failed tests: 21, 27-28, 30-35
4368 ;; Non-zero exit status: 9
4371 (modify-phases %standard-phases
4372 (add-after 'unpack 'include-PERL5LIB-in-wrapper
4374 (substitute* "IkiWiki/Wrapper.pm"
4375 (("^@wrapper\\_hooks")
4378 " addenv(\"PERL5LIB\", \""
4381 (add-after 'install 'wrap-programs
4382 (lambda* (#:key outputs #:allow-other-keys)
4383 (let* ((out (assoc-ref outputs "out"))
4384 (bin (string-append out "/bin/"))
4385 (path (getenv "PERL5LIB")))
4386 (for-each (lambda (file)
4388 `("PERL5LIB" ":" prefix (,path))))
4393 ("perl-html-tagset" ,perl-html-tagset)
4394 ("perl-timedate" ,perl-timedate)
4395 ("perl-xml-sax" ,perl-xml-sax)
4396 ("perl-xml-simple" ,perl-xml-simple)
4397 ("gettext" ,gettext-minimal)
4398 ("subversion" ,subversion)
4402 ("mercurial" ,mercurial)))
4404 `(("python" ,python-wrapper)
4405 ("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
4406 ("perl-cgi-session" ,perl-cgi-session)
4407 ("perl-cgi-simple" ,perl-cgi-simple)
4408 ("perl-db-file" ,perl-db-file)
4409 ("perl-html-parser" ,perl-html-parser)
4410 ("perl-html-scrubber" ,perl-html-scrubber)
4411 ("perl-html-template" ,perl-html-template)
4412 ("perl-image-magick" ,perl-image-magick)
4413 ("perl-json" ,perl-json)
4414 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4415 ("perl-uri" ,perl-uri)
4416 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4417 (home-page "https://ikiwiki.info/")
4418 (synopsis "Wiki compiler, capable of generating HTML")
4420 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4421 pages, but also incorporating dynamic features like a web based editor and
4425 (define-public libwapcaplet
4427 (name "libwapcaplet")
4432 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4433 name "-" version "-src.tar.gz"))
4436 "15yr0pl6qa6biy36qkmd949ydbjzpqiaccpx3sprh4jknabsk1vv"))))
4437 (build-system gnu-build-system)
4439 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4440 ("pkg-config" ,pkg-config)
4441 ("check" ,check))) ;for tests
4442 (arguments netsurf-buildsystem-arguments)
4443 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
4444 (synopsis "String internment library")
4446 "LibWapcaplet provides a reference counted string internment system
4447 designed to store small strings and allow rapid comparison of them. It is
4448 developed as part of the Netsurf project.")
4451 (define-public libcss
4458 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4459 name "-" version "-src.tar.gz"))
4462 "16mns3h8vj7iw8myvgnw58q84irvbjlvfkxh8mdw6fbkjvaa7cnz"))))
4463 (build-system gnu-build-system)
4465 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4466 ("pkg-config" ,pkg-config)
4468 (propagated-inputs ;needed for libcss.pc
4469 `(("libparserutils" ,libparserutils)
4470 ("libwapcaplet" ,libwapcaplet)))
4471 (arguments netsurf-buildsystem-arguments)
4472 (home-page "http://www.netsurf-browser.org/projects/libcss/")
4473 (synopsis "CSS parser and selection library")
4475 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4476 written in C. It is developed as part of the NetSurf project.")
4479 (define-public libdom
4486 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4487 name "-" version "-src.tar.gz"))
4490 "1zb7x2qwm6p11lph6j2vcyp4a0a8i1klkqilnk5vb4qmlzzpcv7i"))))
4491 (build-system gnu-build-system)
4493 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4494 ("pkg-config" ,pkg-config)
4495 ("perl" ,perl) ;for test harness
4496 ("perl-libxml" ,perl-libxml)
4497 ("perl-switch" ,perl-switch)
4498 ("perl-xml-xpath" ,perl-xml-xpath)))
4500 `(("libparserutils" ,libparserutils)
4501 ("libwapcaplet" ,libwapcaplet)))
4503 `(("expat" ,expat) ;needed for headers and linking
4504 ("hubbub" ,hubbub))) ;for libdom.pc
4506 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4507 ,@netsurf-buildsystem-arguments))
4508 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4509 (synopsis "Implementation of the W3C DOM")
4511 "LibDOM is an implementation of the W3C DOM, written in C. It is
4512 developed as part of the NetSurf project.")
4515 (define-public libsvgtiny
4522 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4523 name "-" version "-src.tar.gz"))
4526 "12ppy2r7m21ykrjgbf067cgi6dn48fkj7i4b7m64xl4dc13y0ah6"))))
4527 (build-system gnu-build-system)
4529 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4530 ("pkg-config" ,pkg-config)
4531 ("gperf" ,gperf-3.0)))
4533 `(("libwapcaplet" ,libwapcaplet)))
4535 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4536 (arguments netsurf-buildsystem-arguments)
4537 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4538 (synopsis "Library for parsing SVG files")
4540 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4541 which can be rendered easily, as defined in
4542 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4546 (define-public libnsbmp
4553 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4554 name "-" version "-src.tar.gz"))
4557 "0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
4558 (build-system gnu-build-system)
4560 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4561 (arguments netsurf-buildsystem-arguments)
4562 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4563 (synopsis "Decoding library for BMP and ICO files")
4565 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4566 written in C. It is developed as part of the NetSurf project.")
4569 (define-public libnsgif
4576 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4577 name "-" version "-src.tar.gz"))
4580 "1phwf0m24m6nd7096fw14hanl4f8gr9bcppi834lbik04agxk38a"))))
4581 (build-system gnu-build-system)
4583 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4584 (arguments netsurf-buildsystem-arguments)
4585 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4586 (synopsis "Decoding library for GIF files")
4588 "Libnsgif is a decoding library for the GIF image file format, written in
4589 C. It is developed as part of the NetSurf project.")
4592 (define-public libnsutils
4599 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4600 name "-" version "-src.tar.gz"))
4603 "0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
4604 (build-system gnu-build-system)
4606 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4607 (arguments netsurf-buildsystem-arguments)
4608 (home-page "http://www.netsurf-browser.org/")
4609 (synopsis "Utility library for NetSurf")
4611 "Libnsutils provides a small number of useful utility routines. It is
4612 developed as part of the NetSurf project.")
4615 (define-public libnspsl
4622 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4623 name "-" version "-src.tar.gz"))
4626 "0wim5hwzwrfrvvap096whf79m2mnfivbqhqlh03ci9d89xb1w0y9"))))
4627 (build-system gnu-build-system)
4629 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4630 (arguments netsurf-buildsystem-arguments)
4631 (home-page "http://www.netsurf-browser.org/")
4632 (synopsis "Library to generate a static Public Suffix List")
4634 "Libnspsl is a library to generate a static code representation of the
4635 Public Suffix List. It is developed as part of the NetSurf project.")
4638 (define-public nsgenbind
4645 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4646 name "-" version "-src.tar.gz"))
4649 "1iwjpdaan0njlhb9ir6a2q5vpxfmkqfldkvnqszqdz50b44vd1jv"))))
4650 (build-system gnu-build-system)
4652 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4656 (substitute-keyword-arguments netsurf-buildsystem-arguments
4657 ((#:make-flags flags)
4658 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4659 (home-page "http://www.netsurf-browser.org/")
4660 (synopsis "Generate JavaScript to DOM bindings")
4662 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4663 w3c webidl files and a binding configuration file.")
4666 (define-public netsurf
4673 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4674 "releases/source/netsurf-" version "-src.tar.gz"))
4677 "05kynfzzwd4fc03vbqdjpghh5xnk2yrh43w7vikak89vla30mhpg"))
4678 (patches (search-patches "netsurf-system-utf8proc.patch"
4679 "netsurf-y2038-tests.patch"
4680 "netsurf-longer-test-timeout.patch"))))
4681 (build-system glib-or-gtk-build-system)
4683 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4684 ("nsgenbind" ,nsgenbind)
4685 ("libidn" ,libidn) ;only for tests
4688 ("perl-html-parser" ,perl-html-parser)
4689 ("pkg-config" ,pkg-config)))
4693 ("openssl" ,openssl)
4694 ("utf8proc" ,utf8proc)
4696 ("libjpeg" ,libjpeg)
4699 ("libnsbmp" ,libnsbmp)
4700 ("libnsgif" ,libnsgif)
4701 ("libnspsl" ,libnspsl)
4702 ("libnsutils" ,libnsutils)
4703 ("libsvgtiny" ,libsvgtiny)
4704 ("miscfiles" ,miscfiles)))
4706 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4707 ,(string-append "PREFIX=" %output)
4708 ,(string-append "NSSHARED="
4709 (assoc-ref %build-inputs
4710 "netsurf-buildsystem")
4711 "/share/netsurf-buildsystem"))
4712 #:test-target "test"
4713 #:modules ((ice-9 rdelim)
4717 ,@%glib-or-gtk-build-system-modules)
4719 (modify-phases %standard-phases
4721 (add-after 'build 'adjust-welcome
4723 ;; First, fix some unended tags and simple substitutions
4724 (substitute* "frontends/gtk/res/welcome.html"
4725 (("<(img|input)([^>]*)>" _ tag contents)
4726 (string-append "<" tag contents " />"))
4727 (("Licence") "License") ;prefer GNU spelling
4728 ((" open source") ", free software")
4729 (("web site") "website")
4730 ;; Prefer privacy-respecting default search engine
4731 (("www.google.co.uk") "www.duckduckgo.com/html")
4732 (("Google Search") "DuckDuckGo Search")
4733 (("name=\"btnG\"") ""))
4734 ;; Remove default links so it doesn't seem we're endorsing them
4735 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4737 ;; Leave the DOCTYPE header as is
4738 (display (read-line in 'concat) out)
4740 (let rec ((sxml (xml->sxml in)))
4741 ;; We'd like to use sxml-match here, but it can't
4742 ;; match against generic tag symbols...
4744 (`(div (@ (class "links")) . ,rest)
4751 (add-before 'check 'patch-check
4752 (lambda* (#:key inputs #:allow-other-keys)
4753 (substitute* '("test/bloom.c" "test/hashtable.c")
4754 (("/usr/share/dict/words")
4755 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4757 (add-after 'install 'install-more
4758 (lambda* (#:key outputs #:allow-other-keys)
4759 (let* ((out (assoc-ref outputs "out"))
4760 (desktop (string-append out "/share/applications/"
4761 "netsurf.desktop")))
4762 (mkdir-p (dirname desktop))
4763 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4765 (substitute* desktop
4766 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk"))
4767 (("netsurf.png") (string-append out "/share/netsurf/"
4769 (install-file "docs/netsurf-gtk.1"
4770 (string-append out "/share/man/man1/"))
4772 (home-page "http://www.netsurf-browser.org")
4773 (synopsis "Web browser")
4775 "NetSurf is a lightweight web browser that has its own layout and
4776 rendering engine entirely written from scratch. It is small and capable of
4777 handling many of the web standards in use today.")
4780 (define-public surfraw
4786 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4787 name "-" version ".tar.gz"))
4790 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4791 (build-system gnu-build-system)
4794 (modify-phases %standard-phases
4795 (add-before 'configure 'patch-perl
4796 (lambda* (#:key inputs #:allow-other-keys)
4797 (let ((perl (assoc-ref inputs "perl")))
4798 (substitute* "surfraw.IN"
4800 (string-append perl "/bin/perl -e")))
4802 (add-after 'install 'compress-elvi.1sr
4803 (lambda* (#:key outputs #:allow-other-keys)
4804 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4805 ;; but elvi.1sr does not get compressed by our manpage phase.
4806 (let* ((out (assoc-ref %outputs "out"))
4807 (man (string-append out "/share/man/man1")))
4808 (with-directory-excursion man
4809 (invoke "gzip" "elvi.1sr"))))))))
4812 ("perl-www-opensearch" ,perl-www-opensearch)
4813 ("perl-html-parser" ,perl-html-parser)
4814 ("perl-libwww" ,perl-libwww)))
4815 (synopsis "Unix command line interface to the www")
4816 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4817 provides a unix command line interface to a variety of popular www search engines
4818 and similar services.")
4819 (home-page "https://surfraw.alioth.debian.org/")
4820 (license l:public-domain)))
4822 (define-public darkhttpd
4829 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4830 version ".tar.bz2"))
4833 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4834 (build-system gnu-build-system)
4836 `(#:make-flags '("CC=gcc")
4837 #:tests? #f ; No test suite
4839 (modify-phases %standard-phases
4842 (lambda* (#:key outputs #:allow-other-keys)
4843 (install-file "darkhttpd"
4844 (string-append (assoc-ref outputs "out")
4847 (synopsis "Simple static web server")
4848 (description "darkhttpd is a simple static web server. It is
4849 standalone and does not need inetd or ucspi-tcp. It does not need any
4850 config files---you only have to specify the www root.")
4851 (home-page "https://unix4lyfe.org/darkhttpd/")
4854 (define-public goaccess
4860 (uri (string-append "http://tar.goaccess.io/goaccess-"
4864 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4865 (modules '((guix build utils)))
4867 (substitute* "src/error.h"
4868 (("__DATE__") "\"1970-01-01\"")
4869 (("__TIME__") "\"00:00:00\""))
4871 (build-system gnu-build-system)
4873 ;; TODO: Add dependency on geoip-tools.
4875 ("ncurses" ,ncurses)))
4877 `(("pkg-config" ,pkg-config)))
4878 (home-page "https://goaccess.io")
4879 (synopsis "Analyze Web server logs in real time")
4881 "GoAccess is a real-time web log analyzer and interactive viewer that
4882 runs in a terminal or through your browser. It provides fast and valuable
4883 HTTP statistics for system administrators that require a visual server report
4887 (define-public httptunnel
4894 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4895 name "-" version ".tar.gz"))
4898 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4899 (modules '((guix build utils)))
4901 ;; Remove non-free IETF RFC documentation.
4902 (delete-file-recursively "doc")
4904 (build-system gnu-build-system)
4907 (modify-phases %standard-phases
4908 ;; The default configure phase tries to pass environment variables as
4909 ;; command-line arguments, which confuses the ./configure script.
4911 (lambda* (#:key outputs #:allow-other-keys)
4912 (let* ((out (assoc-ref outputs "out")))
4913 (setenv "CONFIG_SHELL" (which "bash"))
4914 (invoke "./configure"
4915 (string-append "--prefix=" out))))))))
4916 (home-page "http://www.nocrew.org/software/httptunnel.html")
4917 (synopsis "Tunnel data connections through HTTP requests")
4918 (description "httptunnel creates a bidirectional virtual data connection
4919 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4920 useful for users behind restrictive firewalls. As long as Web traffic is
4921 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4922 tools like SSH (Secure Shell) to reach the outside world.")
4925 (define-public stunnel
4932 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4936 "1iw4gap9ysag8iww2ik029scmdllk7jdzcpnnbj7hgbl526b9akn"))))
4937 (build-system gnu-build-system)
4938 (inputs `(("openssl" ,openssl)))
4941 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))))
4942 (home-page "https://www.stunnel.org")
4943 (synopsis "TLS proxy for clients or servers")
4944 (description "Stunnel is a proxy designed to add TLS encryption
4945 functionality to existing clients and servers without any changes in the
4946 programs' code. Its architecture is optimized for security, portability, and
4947 scalability (including load-balancing), making it suitable for large
4951 (define-public xinetd
4959 (string-append "https://github.com/xinetd-org/xinetd/archive/xinetd-"
4960 (string-join (string-split version #\.) "-") ".tar.gz"))
4961 (patches (search-patches "xinetd-CVE-2013-4342.patch"
4962 "xinetd-fix-fd-leak.patch"))
4965 "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
4966 (build-system gnu-build-system)
4968 `(#:configure-flags '("--with-loadavg")
4969 #:tests? #f)) ; no tests
4970 (home-page "https://github.com/xinetd-org/xinetd")
4971 (synopsis "Internet services daemon")
4972 (description "@code{xinetd}, a more secure replacement for @code{inetd},
4973 listens for incoming requests over a network and launches the appropriate
4974 service for that request. Requests are made using port numbers as identifiers
4975 and xinetd usually launches another daemon to handle the request. It can be
4976 used to start services with both privileged and non-privileged port numbers.")
4977 (license (l:fsf-free "file://COPYRIGHT"))))
4979 (define-public tidy-html
4986 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
4988 (file-name (string-append name "-" version ".tar.gz"))
4991 "0n29wcgw32rhnraj9j21ibhwi0xagmmcskhbaz8ihxly7nx3p9h8"))))
4992 (build-system cmake-build-system)
4994 "static")) ; 1.0MiB of .a files
4996 `(#:tests? #f ; no tests available
4997 #:build-type "Release"
4999 (modify-phases %standard-phases
5000 (add-after 'install 'move-static-libraries
5001 (lambda* (#:key outputs #:allow-other-keys)
5002 ;; Move static libraries to the "static" output.
5003 (let* ((out (assoc-ref outputs "out"))
5004 (lib (string-append out "/lib"))
5005 (static (assoc-ref outputs "static"))
5006 (slib (string-append static "/lib")))
5008 (for-each (lambda (file)
5009 (install-file file slib)
5011 (find-files lib "\\.a$"))
5014 `(("libxslt" ,libxslt)))
5015 (home-page "http://www.html-tidy.org/")
5016 (synopsis "HTML Tidy with HTML5 support")
5018 "Tidy is a console application which corrects and cleans up
5019 HTML and XML documents by fixing markup errors and upgrading
5020 legacy code to modern standards.
5022 Tidy also provides @code{libtidy}, a C static and dynamic library that
5023 developers can integrate into their applications to make use of the
5024 functions of Tidy.")
5027 (define-public hiawatha
5034 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5035 "hiawatha-" version ".tar.gz"))
5036 (modules '((guix build utils)))
5038 ;; We use our packaged mbedtls, so delete the included copy.
5039 (delete-file-recursively "mbedtls")
5043 "0x2zfc8kc6c7rl4gwymwmg13w1c60biv6c6c9fvzpnl59bc9jgin"))))
5044 (build-system cmake-build-system)
5046 `(#:tests? #f ; No tests included
5047 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5048 (string-append "-DENABLE_TOMAHAWK=on")
5049 (string-append "-DWEBROOT_DIR="
5050 (assoc-ref %outputs "out")
5051 "/share/hiawatha/html"))
5053 (modify-phases %standard-phases
5054 (add-after 'install 'remove-empty-dirs
5055 (lambda* (#:key outputs #:allow-other-keys)
5056 (let* ((out (assoc-ref outputs "out")))
5057 ;; The directories in "var" are empty, remove them.
5058 (delete-file-recursively (string-append out "/var"))
5060 (add-after 'install 'wrap
5061 (lambda* (#:key inputs outputs #:allow-other-keys)
5062 ;; Make sure 'hiawatha' finds 'mbedtls'.
5063 (let* ((out (assoc-ref outputs "out"))
5064 (sbin (string-append out "/sbin"))
5065 (mbed (assoc-ref inputs "mbedtls-apache")))
5066 (wrap-program (string-append sbin "/hiawatha")
5067 `("PATH" ":" prefix (,mbed)))))))))
5069 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
5070 `(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
5072 ("libxslt" ,libxslt)
5073 ("libxml2" ,libxml2)))
5074 (home-page "https://www.hiawatha-webserver.org")
5075 (synopsis "Webserver with focus on security")
5077 "Hiawatha has been written with security in mind.
5078 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5082 (define-public python-httpbin
5084 (name "python-httpbin")
5089 (uri (pypi-uri "httpbin" version))
5092 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5093 (build-system python-build-system)
5095 `(("python-decorator" ,python-decorator)
5096 ("python-flask" ,python-flask)
5097 ("python-itsdangerous" ,python-itsdangerous)
5098 ("python-markupsafe" ,python-markupsafe)
5099 ("python-six" ,python-six)))
5100 (home-page "https://github.com/Runscope/httpbin")
5101 (synopsis "HTTP request and response service")
5102 (description "Testing an HTTP Library can become difficult sometimes.
5103 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5104 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5108 (define-public python2-httpbin
5109 (package-with-python2 python-httpbin))
5111 (define-public python-pytest-httpbin
5113 (name "python-pytest-httpbin")
5118 (uri (pypi-uri "pytest-httpbin" version))
5121 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5122 (build-system python-build-system)
5124 `(("python-six" ,python-six)
5125 ("python-httpbin" ,python-httpbin)
5126 ("python-pytest" ,python-pytest)))
5128 "https://github.com/kevin1024/pytest-httpbin")
5130 "Test your HTTP library against a local copy of httpbin")
5132 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5133 into your tests. It automatically starts up a HTTP server in a separate thread running
5134 @code{httpbin} and provides your test with the URL in the fixture.")
5137 (define-public python2-pytest-httpbin
5138 (package-with-python2 python-pytest-httpbin))
5140 (define-public http-parser
5142 (name "http-parser")
5146 (uri (string-append "https://github.com/nodejs/http-parser/"
5147 "archive/v" version ".tar.gz"))
5148 (file-name (string-append name "-" version ".tar.gz"))
5151 "15ids8k2f0xhnnxh4m85w2f78pg5ndiwrpl24kyssznnp1l5yqai"))))
5152 (build-system gnu-build-system)
5154 `(#:test-target "test"
5156 (list (string-append "PREFIX="
5157 (assoc-ref %outputs "out"))
5160 (modify-phases %standard-phases
5161 (delete 'configure))))
5162 (home-page "https://github.com/nodejs/http-parser")
5163 (synopsis "HTTP request/response parser for C")
5164 (description "This is a parser for HTTP messages written in C. It parses
5165 both requests and responses. The parser is designed to be used in
5166 high-performance HTTP applications. It does not make any syscalls nor
5167 allocations, it does not buffer data, it can be interrupted at anytime.
5168 Depending on your architecture, it only requires about 40 bytes of data per
5169 message stream (in a web server that is per connection).")
5172 (define-public python2-httpretty
5174 (name "python2-httpretty")
5179 (uri (pypi-uri "httpretty" version))
5182 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
5183 (build-system python-build-system)
5185 `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
5186 ("python-sphinx" ,python2-sphinx)
5187 ("python-coverage" ,python2-coverage)
5188 ("python-tornado" ,python2-tornado)
5189 ("python-urllib3" ,python2-urllib3)
5190 ("python-sure" ,python2-sure)
5191 ("python-steadymark" ,python2-steadymark)
5192 ("python-requests" ,python2-requests)
5193 ("python-rednose" ,python2-rednose)
5194 ("python-nose-randomly" ,python2-nose-randomly)
5195 ("python-misaka" ,python2-misaka)
5196 ("python-pytest-httpbin" ,python2-pytest-httpbin)
5197 ("python-nose" ,python2-nose)))
5200 ;; Requires mock>=1.3.0 which requires a more up-to-date
5201 ;; python-pbr. After updating these trying to build the
5202 ;; package leads to failures in python-flake8 and other
5203 ;; packages. The cascade of updates and failures this
5204 ;; leads to, seems to not be worth having the test run.
5207 (modify-phases %standard-phases
5208 (add-before 'build 'patch-test-requirements
5209 (lambda* (#:key inputs #:allow-other-keys)
5210 ;; Update requirements from dependecy==version
5211 ;; to dependency>=version
5212 (substitute* "development.txt"
5215 (home-page "http://github.com/gabrielfalcao/httpretty")
5216 (synopsis "HTTP client mock for Python")
5217 (description "@code{httpretty} is a helper for faking web requests,
5218 inspired by Ruby's @code{fakeweb}.")
5228 (uri (string-append "https://github.com/jpmens/jo/releases/download/v"
5229 version "/jo-" version ".tar.gz"))
5232 "0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3"))))
5233 (build-system gnu-build-system)
5234 (home-page "https://github.com/jpmens/jo")
5235 (synopsis "Output JSON from a shell")
5236 (description "jo is a command-line utility to create JSON objects or
5237 arrays. It creates a JSON string on stdout from words provided as
5238 command-line arguments or read from stdin.")
5239 (license (list l:gpl2+
5240 l:expat)))) ; json.c, json.h
5242 (define-public python-internetarchive
5244 (name "python-internetarchive")
5249 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
5250 "v" version ".tar.gz"))
5251 (file-name (string-append name "-" version ".tar.gz"))
5254 "0sdbb2ag6vmybi8zmbjszi492a587giaaqxyy1p6gy03cb8mc512"))))
5255 (build-system python-build-system)
5258 (modify-phases %standard-phases
5260 (add-after 'install 'check
5261 (lambda* (#:key inputs outputs #:allow-other-keys)
5262 (add-installed-pythonpath inputs outputs)
5263 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
5264 ":" (getenv "PATH")))
5265 (invoke "py.test" "-v" "-k"
5267 ;; These tests attempt to make a connection to
5268 ;; an external web service.
5269 "not test_get_item_with_kwargs"
5270 " and not test_ia")))))))
5272 `(("python-requests" ,python-requests)
5273 ("python-jsonpatch" ,python-jsonpatch-0.4)
5274 ("python-docopt" ,python-docopt)
5275 ("python-clint" ,python-clint)
5276 ("python-six" ,python-six)
5277 ("python-schema" ,python-schema-0.5)
5278 ("python-backports-csv" ,python-backports-csv)))
5280 `(("python-pytest" ,python-pytest)
5281 ("python-pytest-capturelog" ,python-pytest-capturelog)
5282 ("python-responses" ,python-responses)))
5283 (home-page "https://github.com/jjjake/internetarchive")
5284 (synopsis "Command-line interface to archive.org")
5285 (description "@code{ia} is a command-line tool for using
5286 @url{archive.org} from the command-line. It also emplements the
5287 internetarchive python module for programatic access to archive.org.")
5289 `((python2-variant . ,(delay python2-internetarchive))))
5290 (license l:agpl3+)))
5292 (define-public python2-internetarchive
5293 (package-with-python2
5294 (strip-python2-variant python-internetarchive)))
5296 (define-public python-clf
5297 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
5304 (uri (pypi-uri "clf" version))
5307 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
5308 (build-system python-build-system)
5310 `(("python-docopt" ,python-docopt)
5311 ("python-pygments" ,python-pygments)
5312 ("python-requests" ,python-requests)
5313 ("python-nose" ,python-nose)
5314 ("python-lxml" ,python-lxml)
5315 ("python-pyaml" ,python-pyaml)))
5320 (uri (string-append "https://raw.githubusercontent.com"
5321 "/ncrocfer/clf/" commit-test-clf
5325 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
5328 (modify-phases %standard-phases
5329 (add-after 'unpack 'get-tests
5331 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
5336 ;; These tests require an Internet connection.
5337 "--exclude=test_browse"
5338 "--exclude=test_command"
5339 "--exclude=test_search"))))))
5340 (home-page "https://github.com/ncrocfer/clf")
5341 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
5342 (description "@code{clf} is a command line tool for searching code
5343 snippets on @url{https://commandlinefu.com}.")
5344 (license l:expat))))
5346 (define-public python2-clf
5347 (package-with-python2 python-clf))
5349 (define-public r-shiny
5357 (url "https://github.com/rstudio/shiny.git")
5358 (commit (string-append "v" version))))
5359 (file-name (git-file-name name version))
5362 "041q2gzvzs13syfhbirmkik96asdji8dxnnbs63j7v1ks97hrvvz"))))
5363 (build-system r-build-system)
5365 `(#:modules ((guix build r-build-system)
5366 (guix build minify-build-system)
5369 #:imported-modules (,@%r-build-system-modules
5370 (guix build minify-build-system))
5372 (modify-phases (@ (guix build r-build-system) %standard-phases)
5373 (add-after 'unpack 'replace-bundled-minified-JavaScript
5374 (lambda* (#:key inputs #:allow-other-keys)
5375 (let ((replace-file (lambda (old new)
5376 (format #t "replacing ~a with ~a\n" old new)
5378 (symlink new old))))
5379 ;; NOTE: Files in ./inst/www/shared/datepicker/js/locales/
5380 ;; contain just data. They are not minified code, so we don't
5382 (with-directory-excursion "inst/www/shared"
5383 (replace-file "bootstrap/shim/respond.min.js"
5384 (string-append (assoc-ref inputs "js-respond")
5385 "/share/javascript/respond.min.js"))
5386 (replace-file "bootstrap/shim/html5shiv.min.js"
5387 (string-append (assoc-ref inputs "js-html5shiv")
5388 "/share/javascript/html5shiv.min.js"))
5389 (replace-file "json2-min.js"
5390 (string-append (assoc-ref inputs "js-json2")
5391 "/share/javascript/json2.min.js"))
5392 (replace-file "strftime/strftime-min.js"
5393 (string-append (assoc-ref inputs "js-strftime")
5394 "/share/javascript/strftime.min.js"))
5395 (replace-file "highlight/highlight.pack.js"
5396 (string-append (assoc-ref inputs "js-highlight")
5397 "/share/javascript/highlight.min.js"))
5398 (replace-file "datatables/js/jquery.dataTables.min.js"
5399 (string-append (assoc-ref inputs "js-datatables")
5400 "/share/javascript/jquery.dataTables.min.js"))
5401 (replace-file "selectize/js/selectize.min.js"
5402 (string-append (assoc-ref inputs "js-selectize")
5403 "/share/javascript/selectize.min.js"))
5404 (replace-file "selectize/js/es5-shim.min.js"
5405 (string-append (assoc-ref inputs "js-es5-shim")
5406 "/share/javascript/es5-shim.min.js"))
5407 (for-each (match-lambda
5409 (delete-file target)
5410 (minify source #:target target)))
5411 '(("jqueryui/jquery-ui.js" .
5412 "jqueryui/jquery-ui.min.js")
5413 ("showdown/src/showdown.js" .
5414 "showdown/compressed/showdown.js")
5415 ("datepicker/js/bootstrap-datepicker.js" .
5416 "datepicker/js/bootstrap-datepicker.min.js")
5417 ("ionrangeslider/js/ion.rangeSlider.js" .
5418 "ionrangeslider/js/ion.rangeSlider.min.js")
5419 ("bootstrap/js/bootstrap.js" .
5420 "bootstrap/js/bootstrap.min.js")
5424 "jquery.min.js")))))
5427 `(("r-crayon" ,r-crayon)
5428 ("r-httpuv" ,r-httpuv)
5430 ("r-jsonlite" ,r-jsonlite)
5431 ("r-xtable" ,r-xtable)
5432 ("r-digest" ,r-digest)
5433 ("r-htmltools" ,r-htmltools)
5435 ("r-sourcetools" ,r-sourcetools)))
5437 `(("js-datatables" ,js-datatables)
5438 ("js-html5shiv" ,js-html5shiv)
5439 ("js-json2" ,js-json2)
5440 ("js-respond" ,js-respond)
5441 ("js-selectize" ,js-selectize)
5442 ("js-strftime" ,js-strftime)
5443 ("js-highlight" ,js-highlight)
5444 ("js-es5-shim" ,js-es5-shim)))
5445 (home-page "http://shiny.rstudio.com")
5446 (synopsis "Easy interactive web applications with R")
5448 "Makes it incredibly easy to build interactive web applications
5449 with R. Automatic \"reactive\" binding between inputs and outputs and
5450 extensive prebuilt widgets make it possible to build beautiful,
5451 responsive, and powerful applications with minimal effort.")
5452 (license l:artistic2.0)))
5454 (define-public r-shinydashboard
5456 (name "r-shinydashboard")
5460 (uri (cran-uri "shinydashboard" version))
5463 "10yqcqqcxgfqwkmscqwvvgr710im583qsqnsqkfpisjvkqp10yqb"))))
5464 (build-system r-build-system)
5465 ;; The directory inst/AdminLTE/ contains a minified JavaScript file.
5466 ;; Regenerate it from the included sources.
5468 `(#:modules ((guix build utils)
5469 (guix build r-build-system)
5472 (modify-phases %standard-phases
5473 (add-after 'unpack 'generate-minified-javascript
5475 (with-directory-excursion "inst/AdminLTE"
5476 (delete-file "app.min.js")
5477 (let ((minified (open-pipe* OPEN_READ "uglify-js" "app.js")))
5478 (call-with-output-file "app.min.js"
5480 (dump-port minified port))))))))))
5482 `(("r-htmltools" ,r-htmltools)
5483 ("r-shiny" ,r-shiny)))
5485 `(("uglify-js" ,uglify-js)))
5486 (home-page "http://rstudio.github.io/shinydashboard/")
5487 (synopsis "Create dashboards with shiny")
5488 (description "This package provides an extension to the Shiny web
5489 application framework for R, making it easy to create attractive dashboards.")
5490 ;; This package includes software that was released under the Expat
5491 ;; license, but the whole package is released under GPL version 2 or
5495 (define-public r-crosstalk
5497 (name "r-crosstalk")
5502 (uri (cran-uri "crosstalk" version))
5505 "0lfa89vhrzi7a1rghmygcjr8gzddw35sinb3jx6g49mc9jias7mk"))))
5506 (build-system r-build-system)
5508 `(("r-ggplot2" ,r-ggplot2)
5509 ("r-htmltools" ,r-htmltools)
5510 ("r-jsonlite" ,r-jsonlite)
5511 ("r-lazyeval" ,r-lazyeval)
5513 ("r-shiny" ,r-shiny)))
5514 (home-page "https://rstudio.github.io/crosstalk/")
5515 (synopsis "Inter-widget interactivity for HTML widgets")
5517 "This package provides building blocks for allowing HTML widgets to
5518 communicate with each other, with Shiny or without (i.e. static @code{.html}
5519 files). It currently supports linked brushing and filtering.")
5522 (define-public r-rook
5529 (uri (cran-uri "Rook" version))
5532 "00s9a0kr9rwxvlq433daxjk4ji8m0w60hjdprf502msw9kxfrx00"))))
5533 (properties `((upstream-name . "Rook")))
5534 (build-system r-build-system)
5535 (propagated-inputs `(("r-brew" ,r-brew)))
5536 (home-page "https://cran.r-project.org/web/packages/Rook")
5537 (synopsis "Web server interface for R")
5539 "This package contains the Rook specification and convenience software
5540 for building and running Rook applications. A Rook application is an R
5541 reference class object that implements a @code{call} method or an R closure
5542 that takes exactly one argument, an environment, and returns a list with three
5543 named elements: the @code{status}, the @code{headers}, and the @code{body}.")
5546 (define-public rss-bridge
5549 (version "2018-03-11")
5553 (uri (string-append "https://github.com/RSS-Bridge/rss-bridge/archive/"
5555 (file-name (string-append name "-" version ".tar.gz"))
5558 "1ix15ck45yb659k63mhwxwia6qnm9nn8jw0bga85abrvk1rchjdn"))))
5559 (build-system trivial-build-system)
5564 '(#:modules ((guix build utils))
5567 (use-modules (guix build utils)
5569 (let* ((out (assoc-ref %outputs "out"))
5570 (share-rss-bridge (string-append out "/share/rss-bridge")))
5571 (set-path-environment-variable
5572 "PATH" '("bin") (map (match-lambda ((_ . input) input))
5574 (mkdir-p share-rss-bridge)
5575 (invoke "tar" "xvf" (assoc-ref %build-inputs "source")
5576 "--strip-components" "1" "-C" share-rss-bridge)))))
5577 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5578 (synopsis "Generate Atom feeds for social networking websites")
5579 (description "rss-bridge generates Atom feeds for social networking
5580 websites lacking feeds. Supported websites include Facebook, Twitter,
5581 Instagram and YouTube.")
5582 (license (list l:public-domain
5583 l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php
5585 (define-public linkchecker
5587 (name "linkchecker")
5593 (url "https://github.com/linkchecker/linkchecker")
5594 (commit (string-append "v" version))))
5597 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
5598 (build-system python-build-system)
5600 `(("python2-dnspython" ,python2-dnspython)
5601 ("python2-pyxdg" ,python2-pyxdg)
5602 ("python2-requests" ,python2-requests)))
5604 `(#:python ,python-2))
5605 (home-page "https://linkcheck.github.io/linkchecker")
5606 (synopsis "Check websites for broken links")
5607 (description "LinkChecker is a website validator. It checks for broken
5608 links in websites. It is recursive and multithreaded providing output in
5609 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
5610 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
5612 (license (list l:gpl2+
5613 l:bsd-2 ; linkcheck/better_exchook2.py
5614 l:bsd-3 ; linkcheck/colorama.py
5615 l:psfl ; linkcheck/gzip2.py
5616 l:expat)))) ; linkcheck/mem.py
5618 (define-public cadaver
5625 (uri (string-append "http://www.webdav.org/cadaver/"
5626 name "-" version ".tar.gz"))
5629 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
5630 (build-system gnu-build-system)
5631 ;; TODO: Unbundle libneon and make build succeed with new neon.
5633 `(#:configure-flags (list "--with-ssl=openssl")
5634 #:tests? #f)) ;No tests included
5636 `(("gettext" ,gnu-gettext)
5637 ("pkg-config" ,pkg-config)
5638 ("intltool" ,intltool)))
5641 ("openssl" ,openssl)))
5642 (home-page "http://www.webdav.org/cadaver")
5643 (synopsis "Command-line WebDAV client")
5645 "Cadaver is a command-line WebDAV client for Unix. It supports
5646 file upload, download, on-screen display, namespace operations (move/copy),
5647 collection creation and deletion, and locking operations.")
5650 (define-public python-py-ubjson
5652 (name "python-py-ubjson")
5657 (uri (pypi-uri "py-ubjson" version))
5660 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
5661 (build-system python-build-system)
5662 (home-page "https://github.com/Iotic-Labs/py-ubjson")
5663 (synopsis "Universal Binary JSON encoder/decoder")
5665 "Py-ubjson is a Python module providing an Universal Binary JSON
5666 encoder/decoder based on the draft-12 specification for UBJSON.")
5667 (license l:asl2.0)))
5669 (define-public java-tomcat
5671 (name "java-tomcat")
5675 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
5676 version "/src/apache-tomcat-" version "-src.tar.gz"))
5679 "0q2bc3sajrmcx3z3vhhwp78y47ryc2ky8ssbdmfk24zvqdb76hvl"))))
5680 (build-system ant-build-system)
5682 `(("java-eclipse-jdt-core" ,java-eclipse-jdt-core)))
5684 `(("java-junit" ,java-junit)))
5686 `(#:build-target "package"
5687 #:tests? #f; requires downloading some files.
5689 (modify-phases %standard-phases
5690 (add-after 'unpack 'prevent-download
5692 ;; This directory must exist
5694 ;; We patch build.xml so it doesn't download any dependency, because
5695 ;; we already have all of them.
5696 (substitute* "build.xml"
5697 (("download-compile,") "")
5698 (("depends=\"validate\"") "depends=\"build-prepare\"")
5699 ((",download-validate") ""))
5701 (add-after 'unpack 'generate-properties
5703 ;; This could have been passed to make-flags, but getcwd returns
5704 ;; a different directory then.
5705 (with-output-to-file "build.properties"
5708 (string-append "base.path=" (getcwd) "/downloads\n"))))
5711 (install-jars "output/build/lib")))))
5712 (home-page "https://tomcat.apache.org")
5713 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
5715 (description "Apache Tomcat is a free implementation of the Java
5716 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
5718 (license l:asl2.0)))
5720 (define-public java-eclipse-jetty-test-helper
5722 (name "java-eclipse-jetty-test-helper")
5726 (uri (string-append "https://github.com/eclipse/jetty.toolchain/"
5727 "archive/jetty-test-helper-" version ".tar.gz"))
5730 "1jd6r9wc26fa11si4rn2gvy8ml8q4zw1nr6v04mjp8wvwpgvzwx5"))))
5731 (build-system ant-build-system)
5733 `(#:jar-name "eclipse-jetty-test-helper.jar"
5734 #:source-dir "src/main/java"
5735 #:test-dir "src/test"
5738 (modify-phases %standard-phases
5739 (add-before 'configure 'chdir
5741 (chdir "jetty-test-helper")))
5742 (add-before 'build 'fix-paths
5745 ;; This file assumes that the build directory is named "target"
5746 ;; but it is not the case with our ant-build-system. Once we have
5747 ;; maven though, we will have to rebuild this package because this
5748 ;; assumption is correct with maven-build-system.
5750 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
5751 (("\"target\"") "\"build\"")
5752 (("\"tests\"") "\"test-classes\""))
5753 ;; Tests assume we are building with maven, so that the build
5754 ;; directory is named "target", and not "build".
5755 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
5756 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
5757 "MavenTestingUtilsTest.java")
5758 (("target/tests") "build/test-classes")
5759 (("\"target") "\"build")))
5762 `(("junit" ,java-junit)
5763 ("hamcrest" ,java-hamcrest-all)))
5764 (home-page "https://www.eclipse.org/jetty/")
5765 (synopsis "Helper classes for jetty tests")
5766 (description "This packages contains helper classes for testing the Jetty
5768 ;; This program is licensed under both epl and asl.
5769 (license (list l:epl1.0 l:asl2.0))))
5771 (define-public java-eclipse-jetty-perf-helper
5773 (inherit java-eclipse-jetty-test-helper)
5774 (name "java-eclipse-jetty-perf-helper")
5776 `(#:jar-name "eclipse-jetty-perf-helper.jar"
5777 #:source-dir "src/main/java"
5778 #:tests? #f; no tests
5781 (modify-phases %standard-phases
5782 (add-before 'configure 'chdir
5784 (chdir "jetty-perf-helper")
5787 `(("hdrhistogram" ,java-hdrhistogram)))))
5789 (define-public java-eclipse-jetty-util
5791 (name "java-eclipse-jetty-util")
5795 (uri (string-append "https://github.com/eclipse/jetty.project/"
5796 "archive/jetty-" version ".v20170531.tar.gz"))
5799 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
5800 (build-system ant-build-system)
5802 `(#:jar-name "eclipse-jetty-util.jar"
5803 #:source-dir "src/main/java"
5805 (list "**/Abstract*.java"
5807 "**/InetAddressSetTest.java"
5808 ;; Assumes we are using maven
5809 "**/TypeUtilTest.java"
5810 ;; Error on the style of log
5811 "**/StdErrLogTest.java")
5814 (modify-phases %standard-phases
5815 (add-before 'configure 'chdir
5817 (chdir "jetty-util")
5820 `(("slf4j" ,java-slf4j-api)
5821 ("servlet" ,java-tomcat)))
5823 `(("junit" ,java-junit)
5824 ("hamcrest" ,java-hamcrest-all)
5825 ("perf-helper" ,java-eclipse-jetty-perf-helper)
5826 ("test-helper" ,java-eclipse-jetty-test-helper)))
5827 (home-page "https://www.eclipse.org/jetty/")
5828 (synopsis "Utility classes for Jetty")
5829 (description "The Jetty Web Server provides an HTTP server and Servlet
5830 container capable of serving static and dynamic content either from a standalone
5831 or embedded instantiation. This package provides utility classes.")
5832 (license (list l:epl1.0 l:asl2.0))))
5834 ;; This version is required by maven-wagon
5835 (define-public java-eclipse-jetty-util-9.2
5837 (inherit java-eclipse-jetty-util)
5841 (uri (string-append "https://github.com/eclipse/jetty.project/"
5842 "archive/jetty-" version ".v20170606.tar.gz"))
5845 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
5847 `(#:jar-name "eclipse-jetty-util.jar"
5848 #:source-dir "src/main/java"
5851 (list "**/Abstract*.java"
5853 "**/InetAddressSetTest.java"
5854 ;; Assumes we are using maven
5855 "**/TypeUtilTest.java"
5856 ;; We don't have an implementation for slf4j
5858 ;; Error on the style of log
5859 "**/StdErrLogTest.java")
5861 (modify-phases %standard-phases
5862 (add-before 'configure 'chdir
5864 (chdir "jetty-util")
5866 (add-before 'build 'fix-test-sources
5868 ;; We need to fix issues caused by changes in newer versions of
5869 ;; jetty-test-helper
5870 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
5871 (substitute* (string-append src "/AbstractFSResourceTest.java")
5872 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
5873 (("testdir.getFile\\(\"foo\"\\)")
5874 "testdir.getPathFile(\"foo\").toFile()")
5875 (("testdir.getFile\\(name\\)")
5876 "testdir.getPathFile(name).toFile()")))
5879 (define-public java-eclipse-jetty-io
5881 (inherit java-eclipse-jetty-util)
5882 (name "java-eclipse-jetty-io")
5884 `(#:jar-name "eclipse-jetty-io.jar"
5885 #:source-dir "src/main/java"
5887 #:test-exclude (list "**/Abstract*.java"
5889 "**/EndPointTest.java")
5891 (modify-phases %standard-phases
5892 (add-before 'configure 'chdir
5897 `(("slf4j" ,java-slf4j-api)
5898 ("servlet" ,java-tomcat)
5899 ("util" ,java-eclipse-jetty-util)))
5900 (synopsis "Jetty :: IO Utility")
5901 (description "The Jetty Web Server provides an HTTP server and Servlet
5902 container capable of serving static and dynamic content either from a standalone
5903 or embedded instantiation. This package provides IO-related utility classes.")))
5905 (define-public java-eclipse-jetty-io-9.2
5907 (inherit java-eclipse-jetty-io)
5908 (version (package-version java-eclipse-jetty-util-9.2))
5909 (source (package-source java-eclipse-jetty-util-9.2))
5911 `(("util" ,java-eclipse-jetty-util-9.2)
5912 ,@(package-inputs java-eclipse-jetty-util-9.2)))
5914 `(("mockito" ,java-mockito-1)
5915 ("cglib" ,java-cglib)
5916 ("objenesis" ,java-objenesis)
5918 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
5920 (define-public java-eclipse-jetty-http
5922 (inherit java-eclipse-jetty-util)
5923 (name "java-eclipse-jetty-http")
5925 `(#:jar-name "eclipse-jetty-http.jar"
5926 #:source-dir "src/main/java"
5929 (modify-phases %standard-phases
5930 (add-before 'configure 'chdir
5932 (chdir "jetty-http")
5934 (add-before 'build 'copy-resources
5936 (mkdir-p "build/classes")
5937 (copy-recursively "src/main/resources/" "build/classes/")
5940 `(("slf4j" ,java-slf4j-api)
5941 ("servlet" ,java-tomcat)
5942 ("io" ,java-eclipse-jetty-io)
5943 ("util" ,java-eclipse-jetty-util)))
5944 (synopsis "Jetty :: Http Utility")
5945 (description "The Jetty Web Server provides an HTTP server and Servlet
5946 container capable of serving static and dynamic content either from a standalone
5947 or embedded instantiation. This package provides HTTP-related utility classes.")))
5949 (define-public java-eclipse-jetty-http-9.2
5951 (inherit java-eclipse-jetty-http)
5952 (version (package-version java-eclipse-jetty-util-9.2))
5953 (source (package-source java-eclipse-jetty-util-9.2))
5955 `(("util" ,java-eclipse-jetty-util-9.2)
5956 ("io" ,java-eclipse-jetty-io-9.2)
5957 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5959 (define-public java-eclipse-jetty-jmx
5961 (inherit java-eclipse-jetty-util)
5962 (name "java-eclipse-jetty-jmx")
5964 `(#:jar-name "eclipse-jetty-jmx.jar"
5965 #:source-dir "src/main/java"
5967 #:tests? #f; FIXME: requires com.openpojo.validation
5969 (modify-phases %standard-phases
5970 (add-before 'configure 'chdir
5975 `(("slf4j" ,java-slf4j-api)
5976 ("servlet" ,java-tomcat)
5977 ("util" ,java-eclipse-jetty-util)))
5978 (synopsis "Jetty :: JMX Management")
5979 (description "The Jetty Web Server provides an HTTP server and Servlet
5980 container capable of serving static and dynamic content either from a standalone
5981 or embedded instantiation. This package provides the JMX management.")))
5983 (define-public java-eclipse-jetty-jmx-9.2
5985 (inherit java-eclipse-jetty-jmx)
5986 (version (package-version java-eclipse-jetty-util-9.2))
5987 (source (package-source java-eclipse-jetty-util-9.2))
5989 `(("util" ,java-eclipse-jetty-util-9.2)
5990 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5992 (define java-eclipse-jetty-http-test-classes
5994 (inherit java-eclipse-jetty-util)
5995 (name "java-eclipse-jetty-http-test-classes")
5997 `(#:jar-name "eclipse-jetty-http.jar"
5998 #:source-dir "src/test"
6002 (modify-phases %standard-phases
6003 (add-before 'configure 'chdir
6005 (chdir "jetty-http"))))))
6007 `(("slf4j" ,java-slf4j-api)
6008 ("servlet" ,java-tomcat)
6009 ("http" ,java-eclipse-jetty-http)
6010 ("io" ,java-eclipse-jetty-io)
6011 ("util" ,java-eclipse-jetty-util)))))
6013 (define java-eclipse-jetty-http-test-classes-9.2
6015 (inherit java-eclipse-jetty-http-test-classes)
6016 (version (package-version java-eclipse-jetty-util-9.2))
6017 (source (package-source java-eclipse-jetty-util-9.2))
6019 `(("http" ,java-eclipse-jetty-http-9.2)
6020 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6022 (define-public java-eclipse-jetty-server
6024 (inherit java-eclipse-jetty-util)
6025 (name "java-eclipse-jetty-server")
6027 `(#:jar-name "eclipse-jetty-server.jar"
6028 #:source-dir "src/main/java"
6030 #:tests? #f; requires a mockito version we don't have
6032 (modify-phases %standard-phases
6033 (add-before 'configure 'chdir
6035 (chdir "jetty-server")
6037 (add-before 'build 'fix-source
6039 ;; Explicit casts to prevent build failures
6040 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6041 (("append\\(LazyList")
6042 "append((CharSequence)LazyList"))
6044 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6046 "Class<\\? extends EventListener> clazz = _classLoader==null"
6047 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6048 "_classLoader.loadClass\\(className\\);"))
6049 (string-append "Class<? extends EventListener> clazz = "
6050 "(Class<? extends EventListener>) "
6051 "(_classLoader==null?Loader.loadClass("
6052 "ContextHandler.class,className):"
6053 "_classLoader.loadClass(className));")))
6056 `(("slf4j" ,java-slf4j-api)
6057 ("servlet" ,java-tomcat)
6058 ("http" ,java-eclipse-jetty-http)
6059 ("io" ,java-eclipse-jetty-io)
6060 ("jmx" ,java-eclipse-jetty-jmx)
6061 ("util" ,java-eclipse-jetty-util)))
6063 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6064 ,@(package-native-inputs java-eclipse-jetty-util)))
6065 (synopsis "Core jetty server artifact")
6066 (description "The Jetty Web Server provides an HTTP server and Servlet
6067 container capable of serving static and dynamic content either from a standalone
6068 or embedded instantiation. This package provides the core jetty server
6071 (define-public java-eclipse-jetty-server-9.2
6073 (inherit java-eclipse-jetty-server)
6074 (version (package-version java-eclipse-jetty-util-9.2))
6075 (source (package-source java-eclipse-jetty-util-9.2))
6077 `(("util" ,java-eclipse-jetty-util-9.2)
6078 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6079 ("io" ,java-eclipse-jetty-io-9.2)
6080 ("http" ,java-eclipse-jetty-http-9.2)
6081 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6083 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6084 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6086 (define-public java-eclipse-jetty-security
6088 (inherit java-eclipse-jetty-util)
6089 (name "java-eclipse-jetty-security")
6091 `(#:jar-name "eclipse-jetty-security.jar"
6092 #:source-dir "src/main/java"
6095 (modify-phases %standard-phases
6096 (add-before 'configure 'chdir
6098 (chdir "jetty-security")
6101 `(("slf4j" ,java-slf4j-api)
6102 ("servlet" ,java-tomcat)
6103 ("http" ,java-eclipse-jetty-http)
6104 ("server" ,java-eclipse-jetty-server)
6105 ("util" ,java-eclipse-jetty-util)))
6107 `(("io" ,java-eclipse-jetty-io)
6108 ,@(package-native-inputs java-eclipse-jetty-util)))
6109 (synopsis "Jetty security infrastructure")
6110 (description "The Jetty Web Server provides an HTTP server and Servlet
6111 container capable of serving static and dynamic content either from a standalone
6112 or embedded instantiation. This package provides the core jetty security
6115 (define-public java-eclipse-jetty-security-9.2
6117 (inherit java-eclipse-jetty-security)
6118 (version (package-version java-eclipse-jetty-util-9.2))
6119 (source (package-source java-eclipse-jetty-util-9.2))
6123 (list "**/ConstraintTest.*")
6124 ,@(package-arguments java-eclipse-jetty-security)))
6126 `(("util" ,java-eclipse-jetty-util-9.2)
6127 ("http" ,java-eclipse-jetty-http-9.2)
6128 ("server" ,java-eclipse-jetty-server-9.2)
6129 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6131 `(("io" ,java-eclipse-jetty-io-9.2)
6132 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6134 (define-public java-eclipse-jetty-servlet
6136 (inherit java-eclipse-jetty-util)
6137 (name "java-eclipse-jetty-servlet")
6139 `(#:jar-name "eclipse-jetty-servlet.jar"
6140 #:source-dir "src/main/java"
6143 (modify-phases %standard-phases
6144 (add-before 'configure 'chdir
6146 (chdir "jetty-servlet")
6149 `(("slf4j" ,java-slf4j-api)
6150 ("servlet" ,java-tomcat)
6151 ("http" ,java-eclipse-jetty-http)
6152 ("http-test" ,java-eclipse-jetty-http-test-classes)
6153 ("io" ,java-eclipse-jetty-io)
6154 ("jmx" ,java-eclipse-jetty-jmx)
6155 ("security" ,java-eclipse-jetty-security)
6156 ("server" ,java-eclipse-jetty-server)
6157 ("util" ,java-eclipse-jetty-util)))
6158 (synopsis "Jetty Servlet Container")
6159 (description "The Jetty Web Server provides an HTTP server and Servlet
6160 container capable of serving static and dynamic content either from a standalone
6161 or embedded instantiation. This package provides the core jetty servlet
6164 (define-public java-eclipse-jetty-servlet-9.2
6166 (inherit java-eclipse-jetty-servlet)
6167 (version (package-version java-eclipse-jetty-util-9.2))
6168 (source (package-source java-eclipse-jetty-util-9.2))
6170 `(#:jar-name "eclipse-jetty-servlet.jar"
6171 #:source-dir "src/main/java"
6173 #:tests? #f; doesn't work
6175 (modify-phases %standard-phases
6176 (add-before 'configure 'chdir
6178 (chdir "jetty-servlet")
6181 `(("util" ,java-eclipse-jetty-util-9.2)
6182 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6183 ("io" ,java-eclipse-jetty-io-9.2)
6184 ("http" ,java-eclipse-jetty-http-9.2)
6185 ("security" ,java-eclipse-jetty-security-9.2)
6186 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
6187 ("server" ,java-eclipse-jetty-server-9.2)
6188 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6190 (define-public java-eclipse-jetty-xml
6192 (inherit java-eclipse-jetty-util)
6193 (name "java-eclipse-jetty-xml")
6195 `(#:jar-name "eclipse-jetty-xml.jar"
6196 #:source-dir "src/main/java"
6198 #:tests? #f; most tests require network
6200 (modify-phases %standard-phases
6201 (add-before 'configure 'chdir
6206 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
6208 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6209 ,@(package-native-inputs java-eclipse-jetty-util)))))
6211 (define-public java-jsoup
6217 (uri (string-append "https://github.com/jhy/jsoup/archive/jsoup-"
6221 "0xbzw7rjv7s4nz1xk9b2cnin6zkpaldmc3svk71waa7hhjgp0a20"))))
6222 (build-system ant-build-system)
6224 `(#:jar-name "jsoup.jar"
6225 #:source-dir "src/main/java"
6227 (modify-phases %standard-phases
6228 (add-before 'build 'copy-resources
6230 (let ((classes-dir (string-append (getcwd) "/build/classes")))
6231 (with-directory-excursion "src/main/java"
6232 (for-each (lambda (file)
6233 (let ((dist (string-append classes-dir "/" file)))
6234 (mkdir-p (dirname dist))
6235 (copy-file file dist)))
6236 (find-files "." ".*.properties"))))
6239 `(("java-junit" ,java-junit)
6240 ("java-hamcrest-core" ,java-hamcrest-core)
6241 ("java-gson" ,java-gson)))
6242 (home-page "https://jsoup.org")
6243 (synopsis "HTML parser")
6244 (description "Jsoup is a Java library for working with real-world HTML. It
6245 provides a very convenient API for extracting and manipulating data, using the
6246 best of DOM, CSS, and jQuery-like methods.")
6249 (define-public tidyp
6256 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
6260 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
6261 (build-system gnu-build-system)
6262 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
6263 (arguments `(#:tests? #f))
6264 (home-page "http://www.tidyp.com/")
6265 (synopsis "Validate HTML")
6266 (description "Tidyp is a program that can validate your HTML, as well as
6267 modify it to be more clean and standard. tidyp does not validate HTML 5.
6269 libtidyp is the library on which the program is based. It can be used by any
6270 other program that can interface to it. The Perl module @code{HTML::Tidy} is
6271 based on this library, allowing Perl programmers to easily validate HTML.")
6272 ;; See htmldoc/license.html
6275 (define-public perl-html-tidy
6277 (name "perl-html-tidy")
6282 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
6286 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
6287 (build-system perl-build-system)
6290 (modify-phases %standard-phases
6291 (add-after 'unpack 'fix-tidyp-paths
6292 (lambda* (#:key inputs #:allow-other-keys)
6293 (substitute* "Makefile.PL"
6294 (("^my \\$inc = \"" line)
6296 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
6299 "-L" (assoc-ref inputs "tidyp") "/lib")))
6302 `(("perl-libwww" ,perl-libwww)
6305 `(("perl-test-exception" ,perl-test-exception)))
6306 (home-page "http://search.cpan.org/dist/HTML-Tidy/")
6307 (synopsis "(X)HTML validation in a Perl object")
6308 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
6309 object. It's meant as a replacement for @code{HTML::Lint}, which is written
6310 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
6311 (license l:artistic2.0)))
6313 (define-public geomyidae
6320 (uri (string-append "http://git.r-36.net/geomyidae/snapshot/"
6321 "geomyidae-" version ".tar.bz2"))
6324 "1ih7220c6mgq4r7blm4kx3pxbl53sph58lqgwci6cmi3c0sq5c3x"))))
6325 (build-system gnu-build-system)
6327 `(#:make-flags (list "CC=gcc"
6328 (string-append "PREFIX="
6329 (assoc-ref %outputs "out")))
6330 #:tests? #f ;no tests
6331 #:phases (modify-phases %standard-phases
6332 (delete 'configure))))
6333 (home-page "http://git.r-36.net/geomyidae")
6334 (synopsis "Small Gopher server")
6336 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
6340 @item Gopher menus (see @file{index.gph} for an example);
6341 @item directory listings (if no @file{index.gph} was found);
6342 @item CGI support (@file{.cgi} files are executed);
6343 @item search support in CGI files;
6344 @item logging with multiple log levels.
6348 (define-public cat-avatar-generator
6350 (name "cat-avatar-generator")
6355 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
6356 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
6357 (file-name (string-append name "-" version))
6360 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
6361 (build-system trivial-build-system)
6363 `(#:modules ((guix build utils)
6368 (use-modules (guix build utils)
6371 (let ((source (assoc-ref %build-inputs "source"))
6372 (php-dir (string-append %output "/share/web/" ,name "/")))
6373 ;; The cache directory must not be in the store, but in a writable
6374 ;; location. The webserver will give us this location.
6375 (copy-recursively source php-dir)
6376 (substitute* (string-append php-dir "/cat-avatar-generator.php")
6377 (("\\$cachepath = .*")
6378 "if(isset($_SERVER['CACHE_DIR']))
6379 $cachepath = $_SERVER['CACHE_DIR'];
6381 die('You need to set the CACHE_DIR variable first.');"))
6383 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
6384 (synopsis "Random avatar generator")
6385 (description "Cat avatar generator is a generator of cat pictures optimised
6386 to generate random avatars, or defined avatar from a \"seed\". This is a
6387 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
6388 ;; expat for the code, CC-BY 4.0 for the artwork
6389 (license (list l:expat
6392 (define-public nghttp2
6399 (uri (string-append "https://github.com/nghttp2/nghttp2/"
6400 "releases/download/v" version "/"
6401 name "-" version ".tar.xz"))
6404 "00z1687m4wi2gbgkijbv099l9hs1sjlyzbhh8jhn0xssx4xcifb5"))))
6405 (build-system gnu-build-system)
6406 (outputs (list "out"
6407 "lib")) ; only libnghttp2
6409 `(("pkg-config" ,pkg-config)
6411 ;; Required by tests.
6413 ("tzdata" ,tzdata-for-tests)))
6415 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
6416 `(("c-ares" ,c-ares)
6417 ("jansson" ,jansson) ; for HPACK tools
6418 ("jemalloc" ,jemalloc) ; fight nghttpd{,x} heap fragmentation
6420 ("libxml2" ,libxml2) ; for ‘nghttp -a’
6421 ("openssl" ,openssl)))
6424 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
6425 "--enable-app" ; build all the tools
6426 "--enable-hpack-tools" ; ...all the tools
6427 "--disable-examples"
6428 "--disable-static") ; don't bother building .a files
6430 (modify-phases %standard-phases
6431 (add-after 'unpack 'break-circular-reference
6432 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
6433 ;; which is not allowed. Break this cycle. While we could install
6434 ;; only the library to ‘out’ and move everything else to a separate
6435 ;; output, this would inconvenience the majority of (human) users.
6436 (lambda* (#:key outputs #:allow-other-keys)
6437 (substitute* "lib/libnghttp2.pc.in"
6439 (assoc-ref outputs "lib")))
6441 (add-before 'check 'set-timezone-directory
6442 (lambda* (#:key inputs #:allow-other-keys)
6443 (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
6446 (home-page "https://nghttp2.org/")
6447 (synopsis "HTTP/2 protocol client, proxy, server, and library")
6449 "nghttp2 implements the Hypertext Transfer Protocol, version
6452 A reusable C library provides the HTTP/2 framing layer, with several tools built
6456 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
6457 and low-level aspects of the protocol and is useful for debugging.
6458 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
6459 serves files from a local directory.
6460 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
6461 deployed in front of existing web servers that don't support HTTP/2.
6462 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
6463 backwards compatibilty with clients that don't speak HTTP/2.
6464 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
6465 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
6466 nghttp2 provides a HPACK encoder and decoder as part of its public API.
6467 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
6468 compressed JSON header blocks.
6469 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
6473 (define-public hpcguix-web
6474 (let ((commit "87cb51611c0f1fd3863b830614ab1364599cf1ca"))
6476 (name "hpcguix-web")
6477 (version (git-version "0.0.1" "1" commit))
6481 (url "https://github.com/UMCUGenetics/hpcguix-web.git")
6483 (file-name (git-file-name name version))
6486 "0p66fl8r3v73v13fqg9rbqbzbdzvyznchxbq2s1jwq6qfsn2w3gr"))))
6487 (build-system gnu-build-system)
6489 `(#:modules ((guix build gnu-build-system)
6496 (modify-phases %standard-phases
6497 (add-before 'configure 'autoconf
6499 (setenv "GUILE_AUTO_COMPILE" "0")
6500 (setenv "XDG_CACHE_HOME" (getcwd))
6501 (invoke "autoreconf" "-vif")))
6502 (add-after 'install 'wrap-program
6503 (lambda* (#:key inputs outputs #:allow-other-keys)
6504 (let* ((out (assoc-ref outputs "out"))
6505 (guix (assoc-ref inputs "guix"))
6506 (guile (assoc-ref inputs "guile"))
6507 (json (assoc-ref inputs "guile-json"))
6508 (guile-cm (assoc-ref inputs
6509 "guile-commonmark"))
6510 (deps (list guile guile-cm guix json))
6513 (open-pipe* OPEN_READ
6514 (string-append guile "/bin/guile")
6515 "-c" "(display (effective-version))")))
6517 (map (cut string-append <>
6518 "/share/guile/site/"
6522 (gopath (string-join
6523 (map (cut string-append <>
6524 "/lib/guile/" effective
6528 (wrap-program (string-append out "/bin/run")
6529 `("GUILE_LOAD_PATH" ":" prefix (,path))
6530 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
6534 `(("autoconf" ,autoconf)
6535 ("automake" ,automake)
6536 ("uglify-js" ,uglify-js)
6537 ("pkg-config" ,pkg-config)))
6541 `(("guile" ,guile-2.2)
6542 ("guile-commonmark" ,guile-commonmark)
6543 ("guile-json" ,guile-json)))
6544 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
6545 (synopsis "Web interface for cluster deployments of Guix")
6546 (description "Hpcguix-web provides a web interface to the list of packages
6547 provided by Guix. The list of packages is searchable and provides
6548 instructions on how to use Guix in a shared HPC environment.")
6549 (license l:agpl3+))))