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 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>
29 ;;; This file is part of GNU Guix.
31 ;;; GNU Guix is free software; you can redistribute it and/or modify it
32 ;;; under the terms of the GNU General Public License as published by
33 ;;; the Free Software Foundation; either version 3 of the License, or (at
34 ;;; your option) any later version.
36 ;;; GNU Guix is distributed in the hope that it will be useful, but
37 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
38 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39 ;;; GNU General Public License for more details.
41 ;;; You should have received a copy of the GNU General Public License
42 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
44 (define-module (gnu packages web)
45 #:use-module (ice-9 match)
46 #:use-module ((guix licenses) #:prefix l:)
47 #:use-module (guix packages)
48 #:use-module (guix download)
49 #:use-module (guix git-download)
50 #:use-module (guix cvs-download)
51 #:use-module (guix hg-download)
52 #:use-module (guix utils)
53 #:use-module (guix build-system gnu)
54 #:use-module (guix build-system glib-or-gtk)
55 #:use-module (guix build-system perl)
56 #:use-module (guix build-system cmake)
57 #:use-module (guix build-system r)
58 #:use-module (guix build-system trivial)
59 #:use-module (guix build-system python)
60 #:use-module (guix build-system ant)
61 #:use-module (guix build-system scons)
62 #:use-module (gnu packages)
63 #:use-module (gnu packages adns)
64 #:use-module (gnu packages apr)
65 #:use-module (gnu packages check)
66 #:use-module (gnu packages cran)
67 #:use-module (gnu packages documentation)
68 #:use-module (gnu packages docbook)
69 #:use-module (gnu packages autotools)
70 #:use-module (gnu packages compression)
71 #:use-module (gnu packages cyrus-sasl)
72 #:use-module (gnu packages databases)
73 #:use-module (gnu packages bison)
74 #:use-module (gnu packages flex)
75 #:use-module (gnu packages kerberos)
76 #:use-module (gnu packages gd)
77 #:use-module (gnu packages gettext)
78 #:use-module (gnu packages glib)
79 #:use-module (gnu packages gnome)
80 #:use-module (gnu packages gnu-doc)
81 #:use-module (gnu packages gnupg)
82 #:use-module (gnu packages gnuzilla)
83 #:use-module (gnu packages gperf)
84 #:use-module (gnu packages gtk)
85 #:use-module (gnu packages java)
86 #:use-module (gnu packages javascript)
87 #:use-module (gnu packages jemalloc)
88 #:use-module (gnu packages image)
89 #:use-module (gnu packages imagemagick)
90 #:use-module (gnu packages libevent)
91 #:use-module (gnu packages libidn)
92 #:use-module (gnu packages libunistring)
93 #:use-module (gnu packages lisp)
94 #:use-module (gnu packages lua)
95 #:use-module (gnu packages markup)
96 #:use-module (gnu packages ncurses)
97 #:use-module (gnu packages openstack)
98 #:use-module (gnu packages base)
99 #:use-module (gnu packages perl)
100 #:use-module (gnu packages perl-check)
101 #:use-module (gnu packages python)
102 #:use-module (gnu packages python-web)
103 #:use-module (gnu packages pcre)
104 #:use-module (gnu packages pkg-config)
105 #:use-module (gnu packages qt)
106 #:use-module (gnu packages valgrind)
107 #:use-module (gnu packages xml)
108 #:use-module (gnu packages curl)
109 #:use-module (gnu packages texinfo)
110 #:use-module (gnu packages textutils)
111 #:use-module (gnu packages tls)
112 #:use-module (gnu packages statistics)
113 #:use-module (gnu packages version-control))
121 (uri (string-append "mirror://apache/httpd/httpd-"
125 "01bghiq4pbgjbgd6gic0nb8bbk6mfpwx3gcsbf21f3dhb4c520ny"))))
126 (build-system gnu-build-system)
127 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
128 (inputs `(("apr" ,apr)
129 ("apr-util" ,apr-util)
131 ("perl" ,perl))) ; needed to run bin/apxs
133 `(#:test-target "test"
134 #:configure-flags (list "--enable-rewrite"
136 "--enable-vhost-alias"
138 "--enable-mime-magic"
139 (string-append "--sysconfdir="
140 (assoc-ref %outputs "out")
142 (synopsis "Featureful HTTP server")
144 "The Apache HTTP Server Project is a collaborative software development
145 effort aimed at creating a robust, commercial-grade, featureful, and
146 freely-available source code implementation of an HTTP (Web) server. The
147 project is jointly managed by a group of volunteers located around the world,
148 using the Internet and the Web to communicate, plan, and develop the server
149 and its related documentation.")
151 (home-page "https://httpd.apache.org/")))
153 (define-public mod-wsgi
160 "https://github.com/GrahamDumpleton/mod_wsgi/archive/"
162 (file-name (string-append name "-" version ".tar.gz"))
165 "0n1yhmrfp8mjbsngmyjl937c6rc0069p6wdi1lknrbn1q42hzw6q"))))
166 (build-system gnu-build-system)
168 '(#:tests? #f ;; TODO: Can't figure out if there are tests
170 (string-append "DESTDIR="
171 (assoc-ref %outputs "out"))
172 "LIBEXECDIR=/modules")))
175 ("python" ,python-wrapper)))
176 (synopsis "Apache HTTPD module for Python WSGI applications")
178 "The mod_wsgi module for the Apache HTTPD Server adds support for running
179 applications that support the Python @acronym{WSGI, Web Server Gateway
180 Interface} specification.")
182 (home-page "https://modwsgi.readthedocs.io/")))
187 ;; Consider updating the nginx-documentation package if the nginx package is
192 (uri (string-append "https://nginx.org/download/nginx-"
196 "1d9c0avfpbwvzyg53b59ks8shpnrxnbnshcd7ziizflsyv5vw5ax"))))
197 (build-system gnu-build-system)
198 (inputs `(("openssl" ,openssl)
202 `(#:tests? #f ; no test target
204 (modify-phases %standard-phases
205 (add-before 'configure 'patch-/bin/sh
207 (substitute* "auto/feature"
208 (("/bin/sh") (which "sh")))
211 ;; The configure script is hand-written, not from GNU autotools.
212 (lambda* (#:key outputs #:allow-other-keys)
214 (list (string-append "--prefix=" (assoc-ref outputs "out"))
215 "--with-http_ssl_module"
216 "--with-http_v2_module"
219 ;; Even when not cross-building, we pass the
220 ;; --crossbuild option to avoid customizing for the
221 ;; kernel version on the build machine.
222 ,(let ((system "Linux") ; uname -s
223 (release "3.2.0") ; uname -r
225 (machine (match (or (%current-target-system)
227 ("x86_64-linux" "x86_64")
228 ("i686-linux" "i686")
229 ("mips64el-linux" "mips64")
230 ;; Prevent errors when querying
231 ;; this package on unsupported
232 ;; platforms, e.g. when running
233 ;; "guix package --search="
235 (string-append "--crossbuild="
236 system ":" release ":" machine)))))
238 (format #t "environment variable `CC' set to `gcc'~%")
239 (format #t "configure flags: ~s~%" flags)
240 (apply invoke "./configure" flags)
242 (add-after 'install 'install-man-page
243 (lambda* (#:key outputs #:allow-other-keys)
244 (let* ((out (assoc-ref outputs "out"))
245 (man (string-append out "/share/man")))
246 (install-file "objs/nginx.8" (string-append man "/man8"))
248 (add-after 'install 'fix-root-dirs
249 (lambda* (#:key outputs #:allow-other-keys)
250 ;; 'make install' puts things in strange places, so we need to
251 ;; clean it up ourselves.
252 (let* ((out (assoc-ref outputs "out"))
253 (share (string-append out "/share/nginx")))
254 ;; This directory is empty, so get rid of it.
255 (rmdir (string-append out "/logs"))
256 ;; Example configuration and HTML files belong in
259 (rename-file (string-append out "/conf")
260 (string-append share "/conf"))
261 (rename-file (string-append out "/html")
262 (string-append share "/html"))
264 (home-page "https://nginx.org")
265 (synopsis "HTTP and reverse proxy server")
267 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
268 created by Igor Sysoev. It can be used both as a stand-alone web server
269 and as a proxy to reduce the load on back-end HTTP or mail servers.")
270 ;; Almost all of nginx is distributed under the bsd-2 license.
271 ;; The exceptions are:
272 ;; * The 'nginx-http-push' module is covered by the expat license.
273 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
274 ;; except for two source files which are bsd-4 licensed.
275 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
277 (define nginx-xslscript
279 (changeset "01dc9ba12e1b"))
281 (name "nginx-xslscript")
283 (simple-format #f "2014-03-31-~A-~A" revision changeset))
287 (url "http://hg.nginx.org/xslscript")
288 (changeset changeset)))
289 (file-name (string-append name "-" version))
292 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
293 (build-system gnu-build-system)
295 '(#:tests? #f ; No test suite
297 (modify-phases %standard-phases
301 (lambda* (#:key outputs #:allow-other-keys)
302 (let ((out-bin (string-append
303 (assoc-ref outputs "out")
306 (copy-file "xslscript.pl"
311 (home-page "http://hg.nginx.org/xslscript")
312 (synopsis "XSLScript with NGinx specific modifications")
314 "XSLScript is a terse notation for writing complex XSLT stylesheets.
315 This is modified version, specifically intended for use with the NGinx
319 (define-public nginx-documentation
320 ;; This documentation should be relevant for nginx@1.13.11.
321 (let ((revision 2131)
322 (changeset "dbaf3950f8e9"))
324 (name "nginx-documentation")
326 (simple-format #f "2018-04-04-~A-~A" revision changeset))
328 (origin (method hg-fetch)
330 (url "http://hg.nginx.org/nginx.org")
331 (changeset changeset)))
332 (file-name (string-append name "-" version))
335 "0acdjsdaqixzh9g9s6db552v4pan4nqrllyqapay9ns9yzh1hrp7"))))
336 (build-system gnu-build-system)
338 '(#:tests? #f ; no test suite
340 (modify-phases %standard-phases
341 (delete 'configure) ; no configure script
343 (lambda* (#:key outputs #:allow-other-keys)
344 (let ((output (assoc-ref outputs "out")))
345 (substitute* "umasked.sh"
346 ((" /bin/sh") (string-append " " (which "sh"))))
347 ;; The documentation includes a banner, which makes sense on
348 ;; the NGinx website, but doesn't make much sense when
349 ;; viewing locally. Therefore, modify the CSS to remove the
351 (substitute* "xslt/style.xslt"
352 (("#banner \\{ background: black;")
353 "#banner { background: black;
358 (lambda* (#:key outputs #:allow-other-keys)
359 (let ((output (assoc-ref outputs "out")))
361 (copy-recursively "libxslt" output)
364 `(("libxml2" ,libxml2)
366 ("nginx-xslscript" ,nginx-xslscript)))
367 (home-page "https://nginx.org")
368 (synopsis "Documentation for the nginx web server")
370 "This package provides HTML documentation for the nginx web server.")
380 ;; Upstream has disappeared.
381 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
382 "fcgi-" version ".tar.gz"))
385 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
386 (patches (search-patches "fcgi-2.4.0-poll.patch"
387 "fcgi-2.4.0-gcc44-fixes.patch"))))
388 (build-system gnu-build-system)
389 ;; Parallel building is not supported.
390 (arguments `(#:parallel-build? #f))
391 ;; This is an archived fork of the original home page, www.fastcgi.com.
392 (home-page "https://fastcgi-archives.github.io/")
393 (synopsis "Language-independent, high-performant extension to CGI")
394 (description "FastCGI is a language-independent, scalable extension to CGI
395 that provides high performance without the limitations of server specific
397 ;; This package is released under the Open Market License, a variant of
398 ;; the Expat license, incompatible with the GPL.
399 (license (l:non-copyleft "file://LICENSE.TERMS"))))
401 (define-public fcgiwrap
408 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
409 "archive/" version ".tar.gz"))
410 (file-name (string-append name "-" version ".tar.gz"))
413 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
414 (build-system gnu-build-system)
416 `(#:tests? #f ; no tests included
417 #:make-flags (list "CC=gcc")
419 (modify-phases %standard-phases
420 (add-after 'unpack 'bootstrap
422 (zero? (system* "autoreconf" "-vif")))))))
424 `(("autoconf" ,autoconf)
425 ("automake" ,automake)
426 ("pkg-config" ,pkg-config)))
429 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
430 (synopsis "Simple server for running CGI applications over FastCGI")
431 (description "Fcgiwrap is a simple server for running CGI applications
432 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
433 servers that may need it).")
436 (define-public starman
443 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
444 "Starman-" version ".tar.gz"))
447 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
448 (build-system perl-build-system)
450 `(("perl-libwww" ,perl-libwww)
451 ("perl-module-build-tiny" ,perl-module-build-tiny)
452 ("perl-test-requires" ,perl-test-requires)))
454 `(("perl-data-dump" ,perl-data-dump)
455 ("perl-http-date" ,perl-http-date)
456 ("perl-http-message" ,perl-http-message)
457 ("perl-http-parser-xs" ,perl-http-parser-xs)
458 ("perl-net-server" ,perl-net-server)
459 ("perl-plack" ,perl-plack)
460 ("perl-test-tcp" ,perl-test-tcp)))
461 (home-page "http://search.cpan.org/dist/Starman")
462 (synopsis "PSGI/Plack web server")
463 (description "Starman is a PSGI perl web server that has unique features
464 such as high performance, preforking, signal support, superdaemon awareness,
465 and UNIX socket support.")
466 (license l:perl-license)))
468 (define-public icedtea-web
475 "http://icedtea.wildebeest.org/download/source/"
476 name "-" version ".tar.gz"))
479 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
480 (build-system gnu-build-system)
483 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
484 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
486 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
487 (outputs '("out" "doc"))
489 `(("pkg-config" ,pkg-config)
493 ("jdk" ,icedtea "jdk")))
494 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
495 (synopsis "Java Web Start")
497 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
498 Protocol}, also known as Java Web Start. This package provides tools and
499 libraries for working with JNLP applets.")
500 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
504 (define-public jansson
511 (string-append "http://www.digip.org/jansson/releases/jansson-"
515 "0iv4rxsnamqm3ldpg7dyhjq0x9cp023nc7ac820jdd3pwb8ml8bq"))))
516 (build-system gnu-build-system)
517 (home-page "http://www.digip.org/jansson/")
518 (synopsis "JSON C library")
520 "Jansson is a C library for encoding, decoding and manipulating JSON
524 (define-public json-c
531 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
535 "0kf2594kxcfga6x0mvwzj2qg8pgxhjkibc16ghnw85mdx45ph5h3"))
536 (modules '((guix build utils)))
539 ;; Somehow 'config.h.in' is older than
540 ;; 'aclocal.m4', which would trigger a rule to
542 (set-file-time "config.h.in"
545 ;; Don't try to build with -Werror.
546 (substitute* (find-files "." "Makefile\\.in")
547 (("-Werror") ""))))))
548 (build-system gnu-build-system)
549 (arguments '(#:parallel-build? #f
550 #:parallel-tests? #f))
551 (home-page "https://github.com/json-c/json-c/wiki")
552 (synopsis "JSON implementation in C")
554 "JSON-C implements a reference counting object model that allows you to
555 easily construct JSON objects in C, output them as JSON-formatted strings and
556 parse JSON-formatted strings back into the C representation of JSON objects.
557 It aims to conform to RFC 7159.")
560 ;; TODO: remove this old version when all dependents have been updated.
561 (define-public json-c-0.12
568 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
571 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
572 (modules '((guix build utils)))
575 ;; Somehow 'config.h.in' is older than
576 ;; 'aclocal.m4', which would trigger a rule to
578 (set-file-time "config.h.in"
581 ;; Don't try to build with -Werror.
582 (substitute* (find-files "." "Makefile\\.in")
583 (("-Werror") ""))))))))
592 "https://github.com/flavio/qjson/archive/"
594 (file-name (string-append name "-" version ".tar.gz"))
597 "1m0h4rajj99hv9w4i381a8x81lxiv167lxk10ncvphpkfxs624p8"))))
598 (build-system cmake-build-system)
600 ;; The tests require a X server
601 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
602 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
604 (modify-phases %standard-phases
605 (add-after 'unpack 'disable-broken-test
607 ;; FIXME: One test fails. See
608 ;; https://github.com/flavio/qjson/issues/105
609 (substitute* "tests/scanner/testscanner.cpp"
610 (("QTest::newRow\\(\"too large exponential\"\\)" line)
611 (string-append "//" line)))
613 (add-before 'check 'render-offscreen
614 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
616 `(("qtbase" ,qtbase)))
617 (home-page "http://qjson.sourceforge.net")
618 (synopsis "Library that maps JSON data to QVariant objects")
619 (description "QJson is a Qt-based library that maps JSON data to
620 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
621 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
622 ;; Only version 2.1 of the license
623 (license l:lgpl2.1)))
625 (define-public krona-tools
632 "https://github.com/marbl/Krona/releases/download/v"
633 version "/KronaTools-" version ".tar"))
636 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
637 (build-system perl-build-system)
640 (modify-phases %standard-phases
641 ;; There is no configure or build steps.
644 ;; Install script "install.pl" expects the build directory to remain
645 ;; after installation, creating symlinks etc., so re-implement it
648 (lambda* (#:key outputs #:allow-other-keys)
649 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
650 (perl (string-append (assoc-ref outputs "out")
651 "/lib/perl5/site_perl/krona-tools/lib")))
655 (let* ((executable (string-append "scripts/" script ".pl")))
656 ;; Prefix executables with 'kt' as install script does.
657 (copy-file executable (string-append bin "/kt" script))))
659 "GetContigMagnitudes"
669 "ImportMETAREP-BLAST"
674 "ImportRDPComparison"
680 (copy-recursively directory
681 (string-append perl "/../" directory)))
682 (list "data" "img" "taxonomy" "src"))
683 (install-file "lib/KronaTools.pm" perl))))
684 (add-after 'install 'wrap-program
685 (lambda* (#:key inputs outputs #:allow-other-keys)
686 (let* ((out (assoc-ref outputs "out"))
687 (path (getenv "PERL5LIB")))
690 (wrap-program executable
691 `("PERL5LIB" ":" prefix
692 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
693 (find-files (string-append out "/bin/") ".*")))))
695 (add-after 'wrap-program 'check
696 (lambda* (#:key inputs outputs #:allow-other-keys)
697 (with-directory-excursion "data"
698 (zero? (system* (string-append (assoc-ref outputs "out") "/bin/ktImportText")
702 (home-page "https://github.com/marbl/Krona/wiki")
703 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
705 "Krona is a flexible tool for exploring the relative proportions of
706 hierarchical data, such as metagenomic classifications, using a radial,
707 space-filling display. It is implemented using HTML5 and JavaScript, allowing
708 charts to be explored locally or served over the Internet, requiring only a
709 current version of any major web browser.")
712 (define-public rapidjson
719 "https://github.com/miloyip/rapidjson/archive/v"
721 (file-name (string-append name "-" version ".tar.gz"))
724 "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))))
725 (build-system cmake-build-system)
727 `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
730 (modify-phases %standard-phases
731 (add-after 'unpack 'patch-aarch-march-detection
733 (substitute* (find-files "." "^CMakeLists\\.txt$")
734 (("native") "armv8-a"))
737 (home-page "https://github.com/miloyip/rapidjson")
738 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
740 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
744 (define-public libyajl
750 (uri (string-append "https://github.com/lloyd/yajl/"
751 "archive/" version ".tar.gz"))
752 (file-name (string-append name "-" version ".tar.gz"))
755 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
756 (build-system cmake-build-system)
757 (home-page "https://lloyd.github.io/yajl/")
758 (synopsis "C library for parsing JSON")
760 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
761 parser written in ANSI C and a small validating JSON generator.")
764 (define-public libwebsockets
766 (name "libwebsockets")
769 ;; The project does not publish tarballs, so we have to take
773 (url "https://github.com/warmcat/libwebsockets.git")
774 (commit (string-append "v" version
775 "-chrome37-firefox30"))))
778 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
779 (file-name (string-append name "-" version))))
781 (build-system cmake-build-system)
783 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
784 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
787 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
788 (inputs `(("zlib" ,zlib)
789 ("openssl" ,openssl)))
790 (synopsis "WebSockets library written in C")
792 "Libwebsockets is a library that allows C programs to establish client
793 and server WebSockets connections---a protocol layered above HTTP that allows
794 for efficient socket-like bidirectional reliable communication channels.")
795 (home-page "http://libwebsockets.org/")
797 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
798 (license l:lgpl2.1)))
800 (define-public libpsl
806 (uri (string-append "https://github.com/rockdaboot/libpsl/"
807 "releases/download/libpsl-" version
808 "/libpsl-" version ".tar.gz"))
811 "17r18y25ka2ck2ykfidbg4a7jpyzmkqwrzplgqjp7mwd2l9rc6cm"))))
812 (build-system gnu-build-system)
814 `(("pkg-config" ,pkg-config)))
816 `(("libidn2" ,libidn2)
817 ("libunistring" ,libunistring)
818 ("python-2" ,python-2)))
819 (home-page "https://github.com/rockdaboot/libpsl")
820 (synopsis "C library for the Publix Suffix List")
822 "A \"public suffix\" is a domain name under which Internet users can
823 directly register own names.
825 Browsers and other web clients can use it to avoid privacy-leaking
826 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
827 highlighting parts of the domain in a user interface, and sorting domain lists
830 Libpsl has built-in PSL data for fast access, allows to load PSL data from
831 files, checks if a given domain is a public suffix, provides immediate cookie
832 domain verification, finds the longest public part of a given domain, finds
833 the shortest private part of a given domain, works with international
834 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
846 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
848 (revision "2009-12-23")))
849 (file-name (string-append name "-" version "-checkout"))
852 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
853 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
854 (build-system gnu-build-system)
856 '(#:phases (modify-phases %standard-phases
857 (add-after 'unpack 'bootstrap
858 (lambda* (#:key inputs #:allow-other-keys)
859 ;; configure.in and Makefile.am aren't in the root of the
861 (copy-recursively "build/gnuauto" ".")
862 (setenv "AUTOMAKE" "automake --foreign")
863 (zero? (system* "autoreconf" "-vfi")))))))
865 `(("automake" ,automake)
866 ("autoconf" ,autoconf)
867 ("libtool" ,libtool)))
868 (synopsis "HTML validator and tidier")
869 (description "HTML Tidy is a command-line tool and C library that can be
870 used to validate and fix HTML data.")
871 (home-page "http://tidy.sourceforge.net/")
872 (license (l:x11-style "file:///include/tidy.h"))))
874 (define-public tinyproxy
880 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
881 "releases/download/" version "/tinyproxy-"
885 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
886 (build-system gnu-build-system)
890 ;; For the log file, etc.
891 "--localstatedir=/var")
893 (modify-phases %standard-phases
894 (add-before 'build 'pre-build
895 (lambda* (#:key inputs #:allow-other-keys #:rest args)
896 ;; Uncommenting the next two lines may assist in debugging
897 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
898 ;; (setenv "XML_DEBUG_CATALOG" "1")
900 ;; All of the below are used to generate the documentation
901 ;; (Should they be propagated inputs of asciidoc ??)
902 (native-inputs `(("asciidoc" ,asciidoc)))
903 (home-page "https://tinyproxy.github.io/")
904 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
905 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
906 daemon. Designed from the ground up to be fast and yet small, it is an ideal
907 solution for use cases such as embedded deployments where a full featured HTTP
908 proxy is required, but the system resources for a larger proxy are
912 (define-public polipo
920 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
924 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
925 (native-inputs `(("texinfo" ,texinfo)))
926 (build-system gnu-build-system)
928 `(#:phases (modify-phases %standard-phases
930 #:make-flags (let ((out (assoc-ref %outputs "out")))
931 (list (string-append "PREFIX=" out)
932 (string-append "LOCAL_ROOT="
933 out "/share/polipo/www")
935 ;; No 'check' target.
937 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
938 (synopsis "Small caching web proxy")
940 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
941 server). It was primarily designed to be used by one person or a small group
945 (define-public websockify
951 (uri (string-append "https://github.com/novnc/websockify/archive/v"
952 version "/archive.tar.gz"))
953 (file-name (string-append name "-" version ".tar.gz"))
956 "1kjq6gibsvbb6zx5gi8hgh7110x62pbwcqkwapf3k7s27w5y907h"))))
957 (build-system python-build-system)
959 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
960 ; named 'stubout'". The tests can be run by replacing the check phase with
961 ; the command "python setup.py nosetests --verbosity=3".
962 (native-inputs `(; Required for tests:
963 ("python-mox3" ,python-mox3)
964 ("python-nose" ,python-nose)))
965 (propagated-inputs `(("python-numpy" ,python-numpy)))
966 (home-page "https://github.com/novnc/websockify")
967 (synopsis "WebSockets support for any application/server")
968 (description "Websockify translates WebSockets traffic to normal socket
969 traffic. Websockify accepts the WebSockets handshake, parses it, and then
970 begins forwarding traffic between the client and the target in both
974 (define-public wwwoffle
980 (uri (string-append "https://www.gedanken.org.uk/software/"
981 "wwwoffle/download/wwwoffle-"
985 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
986 (build-system gnu-build-system)
988 `(#:configure-flags '("--with-gnutls")
989 #:tests? #f)) ; no test target
990 (native-inputs `(("flex" ,flex)))
991 (inputs `(("gnutls" ,gnutls)
992 ("libcrypt" ,libgcrypt)))
993 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
994 (synopsis "Caching web proxy optimized for intermittent internet links")
995 (description "WWWOFFLE is a proxy web server that is especially good for
996 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
997 protocols, and supports browsing and requesting pages while offline, indexing,
998 modifying pages and incoming and outgoing headers, monitoring pages for
999 changes, and much more.")
1002 (define-public liboauth
1008 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1012 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1013 (build-system gnu-build-system)
1014 (arguments '(#:configure-flags '("--enable-nss")))
1015 (native-inputs `(("pkg-config" ,pkg-config)))
1019 (home-page "https://sourceforge.net/projects/liboauth")
1020 (synopsis "C library implementing the OAuth API")
1022 "liboauth is a collection of C functions implementing the OAuth API.
1023 liboauth provides functions to escape and encode strings according to OAuth
1024 specifications and offers high-level functionality built on top to sign
1025 requests or verify signatures using either NSS or OpenSSL for calculating the
1027 ;; Source code may be distributed under either license.
1028 (license (list l:expat l:gpl2+))))
1030 (define-public libyaml
1038 "http://pyyaml.org/download/libyaml/yaml-"
1040 (patches (search-patches "libyaml-CVE-2014-9130.patch"))
1043 "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx"))))
1044 (build-system gnu-build-system)
1045 (home-page "http://pyyaml.org/wiki/LibYAML")
1046 (synopsis "YAML 1.1 parser and emitter written in C")
1048 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1051 (define-public libquvi-scripts
1053 (name "libquvi-scripts")
1059 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1060 name "/" name "-" version ".tar.xz"))
1062 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1063 (build-system gnu-build-system)
1064 (home-page "http://quvi.sourceforge.net/")
1065 (synopsis "Media stream URL parser")
1066 (description "This package contains support scripts called by libquvi to
1067 parse media stream properties.")
1068 (license l:lgpl2.1+)))
1070 (define-public libquvi
1078 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1079 name "-" version ".tar.xz"))
1081 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1082 (build-system gnu-build-system)
1083 (native-inputs `(("pkg-config" ,pkg-config)))
1086 ("cyrus-sasl" ,cyrus-sasl)
1087 ("libquvi-scripts" ,libquvi-scripts)
1089 ("openssl" ,openssl)
1092 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1094 (let ((lua (assoc-ref %build-inputs "lua")))
1096 (string-append "liblua_CFLAGS=-I" lua "/include")
1097 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1098 (home-page "http://quvi.sourceforge.net/")
1099 (synopsis "Media stream URL parser")
1100 (description "libquvi is a library with a C API for parsing media stream
1101 URLs and extracting their actual media files.")
1102 (license l:lgpl2.1+)))
1112 "mirror://sourceforge/" name "/" (version-major+minor version)
1113 "/" name "/" name "-" version ".tar.xz"))
1115 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1116 (build-system gnu-build-system)
1117 (native-inputs `(("pkg-config" ,pkg-config)))
1120 ("libquvi" ,libquvi)))
1121 (home-page "http://quvi.sourceforge.net/")
1122 (synopsis "Media stream URL parser")
1123 (description "quvi is a command-line-tool suite to extract media files
1124 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1125 (license l:lgpl2.1+)))
1134 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
1135 version ".tar.bz2"))
1137 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1138 (build-system scons-build-system)
1141 ("apr-util" ,apr-util)
1142 ("openssl" ,openssl)))
1144 `(;; TODO: Fix build with gss.
1148 `(#:scons ,scons-python2
1149 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1150 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1151 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1152 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1153 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1154 (string-append "PREFIX=" %output))
1156 (modify-phases %standard-phases
1157 (add-after 'unpack 'scons-propagate-environment
1159 ;; By design, SCons does not, by default, propagate
1160 ;; environment variables to subprocesses. See:
1161 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1162 ;; Here, we modify the SConstruct file to arrange for
1163 ;; environment variables to be propagated.
1164 (substitute* "SConstruct"
1165 (("^env = Environment\\(")
1166 "env = Environment(ENV=os.environ, "))))
1167 (add-before 'check 'disable-broken-tests
1169 ;; These tests rely on SSL certificates that expired 2017-04-18.
1170 ;; While there are newer certs available upstream, we don't want
1171 ;; this package to suddenly "expire" some time in the future.
1172 ;; https://bugs.gnu.org/26671
1174 '("test_ssl_trust_rootca"
1175 "test_ssl_certificate_chain_with_anchor"
1176 "test_ssl_certificate_chain_all_from_server"
1177 "test_ssl_no_servercert_callback_allok"
1178 "test_ssl_large_response"
1179 "test_ssl_large_request"
1180 "test_ssl_client_certificate"
1181 "test_ssl_future_server_cert"
1182 "test_setup_ssltunnel"
1183 "test_ssltunnel_basic_auth"
1184 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1185 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1186 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1187 "test_ssltunnel_digest_auth")))
1190 (substitute* "test/test_context.c"
1191 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1194 (home-page "https://serf.apache.org/")
1195 (synopsis "High-performance asynchronous HTTP client library")
1197 "serf is a C-based HTTP client library built upon the Apache Portable
1198 Runtime (APR) library. It multiplexes connections, running the read/write
1199 communication asynchronously. Memory copies and transformations are kept to a
1200 minimum to provide high performance operation.")
1201 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1202 ;; bundled CuTest framework uses a different non-copyleft license.
1203 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
1205 (define-public sassc
1206 ;; libsass must be statically linked and it isn't included in the sassc
1207 ;; release tarballs, hence this odd package recipe.
1208 (let* ((version "3.4.5")
1213 "https://github.com/sass/libsass/archive/"
1215 (file-name (string-append "libsass-" version ".tar.gz"))
1218 "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x")))))
1224 (uri (string-append "https://github.com/sass/sassc/archive/"
1226 (file-name (string-append "sassc-" version ".tar.gz"))
1229 "1xk4kmmvziz9sal3swpqa10q0s289xjpcz8aggmly8mvxvmngsi9"))))
1230 (build-system gnu-build-system)
1234 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1235 #:test-target "test"
1236 ;; FIXME: "make test" rebuilds the application and gets lost in a
1237 ;; non-existing directory.
1240 (modify-phases %standard-phases
1242 (add-after 'unpack 'unpack-libsass-and-set-path
1243 (lambda* (#:key inputs #:allow-other-keys)
1244 (and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass")))
1246 (setenv "SASS_LIBSASS_PATH"
1247 (string-append (getcwd) "/libsass-" ,version))
1250 `(("libsass" ,libsass)))
1251 (synopsis "CSS pre-processor")
1252 (description "SassC is a compiler written in C for the CSS pre-processor
1253 language known as SASS.")
1254 (home-page "http://sass-lang.com/libsass")
1255 (license l:expat))))
1258 (define-public perl-apache-logformat-compiler
1260 (name "perl-apache-logformat-compiler")
1265 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1266 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1269 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
1270 (build-system perl-build-system)
1272 `(("perl-http-message" ,perl-http-message)
1273 ("perl-module-build" ,perl-module-build)
1274 ("perl-test-mocktime" ,perl-test-mocktime)
1275 ("perl-try-tiny" ,perl-try-tiny)
1276 ("perl-uri" ,perl-uri)))
1278 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1279 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
1280 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
1281 (synopsis "Compile a log format string to perl-code")
1282 (description "This module provides methods to compile a log format string
1283 to perl-code, for faster generation of access_log lines.")
1284 (license l:perl-license)))
1286 (define-public perl-authen-sasl
1288 (name "perl-authen-sasl")
1293 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1294 "Authen-SASL-" version ".tar.gz"))
1297 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1298 (build-system perl-build-system)
1301 (modify-phases %standard-phases
1302 (add-after 'unpack 'set-env
1303 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1304 ;; versions of perl-authen-sasl.
1305 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1307 `(("perl-digest-hmac" ,perl-digest-hmac)
1308 ("perl-gssapi" ,perl-gssapi)))
1309 (home-page "http://search.cpan.org/dist/Authen-SASL")
1310 (synopsis "SASL authentication framework")
1311 (description "Authen::SASL provides an SASL authentication framework.")
1312 (license l:perl-license)))
1314 (define-public perl-catalyst-action-renderview
1316 (name "perl-catalyst-action-renderview")
1321 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1322 "Catalyst-Action-RenderView-"
1326 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1327 (build-system perl-build-system)
1329 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1330 ("perl-module-install" ,perl-module-install)))
1332 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1333 ("perl-data-visitor" ,perl-data-visitor)
1334 ("perl-mro-compat" ,perl-mro-compat)))
1335 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
1336 (synopsis "Sensible default Catalyst action")
1337 (description "This Catalyst action implements a sensible default end
1338 action, which will forward to the first available view.")
1339 (license l:perl-license)))
1341 (define-public perl-catalyst-action-rest
1343 (name "perl-catalyst-action-rest")
1347 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1348 "Catalyst-Action-REST-" version ".tar.gz"))
1351 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
1352 (build-system perl-build-system)
1354 `(("perl-test-requires" ,perl-test-requires)
1355 ("perl-module-install" ,perl-module-install)))
1357 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1358 ("perl-class-inspector" ,perl-class-inspector)
1359 ("perl-config-general" ,perl-config-general)
1360 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1361 ("perl-libwww" ,perl-libwww)
1362 ("perl-moose" ,perl-moose)
1363 ("perl-mro-compat" ,perl-mro-compat)
1364 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1365 ("perl-params-validate" ,perl-params-validate)
1366 ("perl-uri-find" ,perl-uri-find)
1367 ("perl-xml-simple" ,perl-xml-simple)))
1368 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
1369 (synopsis "Automated REST Method Dispatching")
1370 (description "This Action handles doing automatic method dispatching for
1371 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1372 append an underscore and method name. First it will try dispatching to an
1373 action with the generated name, and failing that it will try to dispatch to a
1375 (license l:perl-license)))
1377 (define-public perl-catalyst-authentication-store-dbix-class
1379 (name "perl-catalyst-authentication-store-dbix-class")
1384 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1385 "Catalyst-Authentication-Store-DBIx-Class-"
1389 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1390 (build-system perl-build-system)
1392 `(("perl-catalyst-plugin-authorization-roles"
1393 ,perl-catalyst-plugin-authorization-roles)
1394 ("perl-catalyst-plugin-session-state-cookie"
1395 ,perl-catalyst-plugin-session-state-cookie)
1396 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1397 ("perl-module-install" ,perl-module-install)
1398 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1400 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1401 ("perl-catalyst-plugin-authentication"
1402 ,perl-catalyst-plugin-authentication)
1403 ("perl-dbix-class" ,perl-dbix-class)
1404 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1406 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
1407 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1408 (description "The Catalyst::Authentication::Store::DBIx::Class class
1409 provides access to authentication information stored in a database via
1411 (license l:perl-license)))
1413 (define-public perl-catalyst-component-instancepercontext
1415 (name "perl-catalyst-component-instancepercontext")
1416 (version "0.001001")
1420 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1421 "Catalyst-Component-InstancePerContext-"
1425 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1426 (build-system perl-build-system)
1428 `(("perl-module-install" ,perl-module-install)))
1430 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1431 ("perl-moose" ,perl-moose)))
1433 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
1434 (synopsis "Create only one instance of Moose component per context")
1435 (description "Catalyst::Component::InstancePerContext returns a new
1436 instance of a component on each request.")
1437 (license l:perl-license)))
1439 (define-public perl-catalyst-devel
1441 (name "perl-catalyst-devel")
1446 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1447 "Catalyst-Devel-" version ".tar.gz"))
1450 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1451 (build-system perl-build-system)
1453 `(("perl-test-fatal" ,perl-test-fatal)))
1455 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1456 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1457 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1458 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1459 ("perl-config-general" ,perl-config-general)
1460 ("perl-file-changenotify" ,perl-file-changenotify)
1461 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1462 ("perl-file-sharedir" ,perl-file-sharedir)
1463 ("perl-module-install" ,perl-module-install)
1464 ("perl-moose" ,perl-moose)
1465 ("perl-moosex-emulate-class-accessor-fast"
1466 ,perl-moosex-emulate-class-accessor-fast)
1467 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1468 ("perl-namespace-clean" ,perl-namespace-clean)
1469 ("perl-path-class" ,perl-path-class)
1470 ("perl-template-toolkit" ,perl-template-toolkit)))
1471 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1472 (synopsis "Catalyst Development Tools")
1473 (description "The Catalyst-Devel distribution includes a variety of
1474 modules useful for the development of Catalyst applications, but not required
1475 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1476 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1477 extension for Catalyst; and requirements for a variety of development-related
1479 (license l:perl-license)))
1481 (define-public perl-catalyst-dispatchtype-regex
1483 (name "perl-catalyst-dispatchtype-regex")
1488 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1489 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1492 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1493 (build-system perl-build-system)
1495 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1496 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1497 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1499 `(("perl-moose" ,perl-moose)
1500 ("perl-text-simpletable" ,perl-text-simpletable)))
1501 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1502 (synopsis "Regex DispatchType for Catalyst")
1503 (description "Dispatch type managing path-matching behaviour using
1504 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1505 core. It is recommend that you use Chained methods or other techniques
1506 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1507 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1508 when the dispatch type is first seen in your application.")
1509 (license l:perl-license)))
1511 (define-public perl-catalyst-model-dbic-schema
1513 (name "perl-catalyst-model-dbic-schema")
1518 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1519 "Catalyst-Model-DBIC-Schema-"
1523 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1524 (build-system perl-build-system)
1526 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1527 ("perl-module-install" ,perl-module-install)
1528 ("perl-test-exception" ,perl-test-exception)
1529 ("perl-test-requires" ,perl-test-requires)))
1531 `(("perl-carp-clan" ,perl-carp-clan)
1532 ("perl-catalyst-component-instancepercontext"
1533 ,perl-catalyst-component-instancepercontext)
1534 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1535 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1536 ("perl-dbix-class" ,perl-dbix-class)
1537 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1538 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1539 ("perl-hash-merge" ,perl-hash-merge)
1540 ("perl-list-moreutils" ,perl-list-moreutils)
1541 ("perl-module-runtime" ,perl-module-runtime)
1542 ("perl-moose" ,perl-moose)
1543 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1544 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1545 ("perl-moosex-types" ,perl-moosex-types)
1546 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1547 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1548 ("perl-namespace-clean" ,perl-namespace-clean)
1549 ("perl-tie-ixhash" ,perl-tie-ixhash)
1550 ("perl-try-tiny" ,perl-try-tiny)))
1551 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1552 (synopsis "DBIx::Class::Schema Model Class")
1553 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1555 (license l:perl-license)))
1557 (define-public perl-catalyst-plugin-accesslog
1559 (name "perl-catalyst-plugin-accesslog")
1564 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1565 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1568 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1569 (build-system perl-build-system)
1571 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1572 ("perl-datetime" ,perl-datetime)
1573 ("perl-moose" ,perl-moose)
1574 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1575 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1576 (synopsis "Request logging from within Catalyst")
1577 (description "This Catalyst plugin enables you to create \"access logs\"
1578 from within a Catalyst application instead of requiring a webserver to do it
1579 for you. It will work even with Catalyst debug logging turned off.")
1580 (license l:perl-license)))
1582 (define-public perl-catalyst-plugin-authentication
1584 (name "perl-catalyst-plugin-authentication")
1589 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1590 "Catalyst-Plugin-Authentication-"
1594 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1595 (build-system perl-build-system)
1597 `(("perl-module-install" ,perl-module-install)))
1599 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1600 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1601 ("perl-class-inspector" ,perl-class-inspector)
1602 ("perl-moose" ,perl-moose)
1603 ("perl-moosex-emulate-class-accessor-fast"
1604 ,perl-moosex-emulate-class-accessor-fast)
1605 ("perl-mro-compat" ,perl-mro-compat)
1606 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1607 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1608 ("perl-test-exception" ,perl-test-exception)
1609 ("perl-try-tiny" ,perl-try-tiny)))
1610 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1611 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1612 (description "The authentication plugin provides generic user support for
1613 Catalyst apps. It is the basis for both authentication (checking the user is
1614 who they claim to be), and authorization (allowing the user to do what the
1615 system authorises them to do).")
1616 (license l:perl-license)))
1618 (define-public perl-catalyst-plugin-authorization-roles
1620 (name "perl-catalyst-plugin-authorization-roles")
1625 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1626 "Catalyst-Plugin-Authorization-Roles-"
1630 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1631 (build-system perl-build-system)
1633 `(("perl-module-install" ,perl-module-install)
1634 ("perl-test-exception" ,perl-test-exception)))
1636 `(("perl-catalyst-plugin-authentication"
1637 ,perl-catalyst-plugin-authentication)
1638 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1639 ("perl-set-object" ,perl-set-object)
1640 ("perl-universal-isa" ,perl-universal-isa)))
1642 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1643 (synopsis "Role-based authorization for Catalyst")
1644 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1645 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1646 (license l:perl-license)))
1648 (define-public perl-catalyst-plugin-captcha
1650 (name "perl-catalyst-plugin-captcha")
1655 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1656 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1659 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1660 (build-system perl-build-system)
1662 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1663 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1664 ("perl-gd-securityimage" ,perl-gd-securityimage)
1665 ("perl-http-date" ,perl-http-date)))
1666 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1667 (synopsis "Captchas for Catalyst")
1668 (description "This plugin creates and validates Captcha images for
1670 (license l:perl-license)))
1672 (define-public perl-catalyst-plugin-configloader
1674 (name "perl-catalyst-plugin-configloader")
1679 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1680 "Catalyst-Plugin-ConfigLoader-"
1684 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1685 (build-system perl-build-system)
1687 `(("perl-path-class" ,perl-path-class)
1688 ("perl-module-install" ,perl-module-install)))
1690 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1691 ("perl-config-any" ,perl-config-any)
1692 ("perl-data-visitor" ,perl-data-visitor)
1693 ("perl-mro-compat" ,perl-mro-compat)))
1694 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1695 (synopsis "Load config files of various types")
1696 (description "This module will attempt to load find and load configuration
1697 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1699 (license l:perl-license)))
1701 (define-public perl-catalyst-plugin-session
1703 (name "perl-catalyst-plugin-session")
1708 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1709 "Catalyst-Plugin-Session-" version ".tar.gz"))
1712 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
1713 (build-system perl-build-system)
1715 `(("perl-module-install" ,perl-module-install)
1716 ("perl-test-deep" ,perl-test-deep)
1717 ("perl-test-exception" ,perl-test-exception)))
1719 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1720 ("perl-moose" ,perl-moose)
1721 ("perl-moosex-emulate-class-accessor-fast"
1722 ,perl-moosex-emulate-class-accessor-fast)
1723 ("perl-mro-compat" ,perl-mro-compat)
1724 ("perl-namespace-clean" ,perl-namespace-clean)
1725 ("perl-object-signature" ,perl-object-signature)
1726 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1727 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1728 (synopsis "Catalyst generic session plugin")
1729 (description "This plugin links the two pieces required for session
1730 management in web applications together: the state, and the store.")
1731 (license l:perl-license)))
1733 (define-public perl-catalyst-plugin-session-state-cookie
1735 (name "perl-catalyst-plugin-session-state-cookie")
1740 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1741 "Catalyst-Plugin-Session-State-Cookie-"
1745 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1746 (build-system perl-build-system)
1748 `(("perl-module-install" ,perl-module-install)))
1750 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1751 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1752 ("perl-moose" ,perl-moose)
1753 ("perl-mro-compat" ,perl-mro-compat)
1754 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1756 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1757 (synopsis "Maintain session IDs using cookies")
1758 (description "In order for Catalyst::Plugin::Session to work, the session
1759 ID needs to be stored on the client, and the session data needs to be stored
1760 on the server. This plugin stores the session ID on the client using the
1762 (license l:perl-license)))
1764 (define-public perl-catalyst-plugin-session-store-fastmmap
1766 (name "perl-catalyst-plugin-session-store-fastmmap")
1771 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1772 "Catalyst-Plugin-Session-Store-FastMmap-"
1776 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1777 (build-system perl-build-system)
1779 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1780 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1781 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1782 ("perl-moosex-emulate-class-accessor-fast"
1783 ,perl-moosex-emulate-class-accessor-fast)
1784 ("perl-mro-compat" ,perl-mro-compat)
1785 ("perl-path-class" ,perl-path-class)))
1787 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
1788 (synopsis "FastMmap session storage backend")
1789 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1790 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1791 memory interprocess cache. It is based on Cache::FastMmap.")
1792 (license l:perl-license)))
1794 (define-public perl-catalyst-plugin-stacktrace
1796 (name "perl-catalyst-plugin-stacktrace")
1801 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1802 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1805 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1806 (build-system perl-build-system)
1808 `(("perl-module-install" ,perl-module-install)))
1810 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1811 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1812 ("perl-mro-compat" ,perl-mro-compat)))
1813 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1814 (synopsis "Stack trace on the Catalyst debug screen")
1815 (description "This plugin enhances the standard Catalyst debug screen by
1816 including a stack trace of your application up to the point where the error
1817 occurred. Each stack frame is displayed along with the package name, line
1818 number, file name, and code context surrounding the line number.")
1819 (license l:perl-license)))
1821 (define-public perl-catalyst-plugin-static-simple
1823 (name "perl-catalyst-plugin-static-simple")
1828 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1829 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1832 "1h8f12bhzh0ssq9gs8r9g3hqn8zn2k0q944vc1vm8j81bns16msy"))))
1833 (build-system perl-build-system)
1835 `(("perl-module-install" ,perl-module-install)))
1837 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1838 ("perl-mime-types" ,perl-mime-types)
1839 ("perl-moose" ,perl-moose)
1840 ("perl-moosex-types" ,perl-moosex-types)
1841 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1842 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1843 (synopsis "Simple serving of static pages")
1844 (description "The Static::Simple plugin is designed to make serving static
1845 content in your application during development quick and easy, without
1846 requiring a single line of code from you. This plugin detects static files by
1847 looking at the file extension in the URL (such as .css or .png or .js). The
1848 plugin uses the lightweight MIME::Types module to map file extensions to
1849 IANA-registered MIME types, and will serve your static files with the correct
1850 MIME type directly to the browser, without being processed through Catalyst.")
1851 (license l:perl-license)))
1853 (define-public perl-catalyst-runtime
1855 (name "perl-catalyst-runtime")
1860 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1861 "Catalyst-Runtime-" version ".tar.gz"))
1864 "0kh3ng6pjpxmndq9vrn515f70x7h44ish5bsgjwj4pjvchcyivzm"))))
1865 (build-system perl-build-system)
1867 `(("perl-module-install" ,perl-module-install)
1868 ("perl-test-fatal" ,perl-test-fatal)))
1870 `(("perl-cgi-simple" ,perl-cgi-simple)
1871 ("perl-cgi-struct" ,perl-cgi-struct)
1872 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1873 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1874 ("perl-class-date" ,perl-class-date)
1875 ("perl-class-load" ,perl-class-load)
1876 ("perl-data-dump" ,perl-data-dump)
1877 ("perl-http-body" ,perl-http-body)
1878 ("perl-http-message" ,perl-http-message)
1879 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1880 ("perl-io-stringy" ,perl-io-stringy)
1881 ("perl-json-maybexs" ,perl-json-maybexs)
1882 ("perl-libwww" ,perl-libwww)
1883 ("perl-module-pluggable" ,perl-module-pluggable)
1884 ("perl-moose" ,perl-moose)
1885 ("perl-moosex-emulate-class-accessor-fast"
1886 ,perl-moosex-emulate-class-accessor-fast)
1887 ("perl-moosex-getopt" ,perl-moosex-getopt)
1888 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1889 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1890 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1891 ("perl-namespace-clean" ,perl-namespace-clean)
1892 ("perl-path-class" ,perl-path-class)
1893 ("perl-plack" ,perl-plack)
1894 ("perl-plack-middleware-fixmissingbodyinredirect"
1895 ,perl-plack-middleware-fixmissingbodyinredirect)
1896 ("perl-plack-middleware-methodoverride"
1897 ,perl-plack-middleware-methodoverride)
1898 ("perl-plack-middleware-removeredundantbody"
1899 ,perl-plack-middleware-removeredundantbody)
1900 ("perl-plack-middleware-reverseproxy"
1901 ,perl-plack-middleware-reverseproxy)
1902 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1903 ("perl-safe-isa" ,perl-safe-isa)
1904 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1905 ("perl-text-simpletable" ,perl-text-simpletable)
1906 ("perl-tree-simple" ,perl-tree-simple)
1907 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1908 ("perl-try-tiny" ,perl-try-tiny)
1909 ("perl-uri" ,perl-uri)
1910 ("perl-uri-ws" ,perl-uri-ws)))
1911 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1912 (synopsis "The Catalyst Framework Runtime")
1913 (description "Catalyst is a modern framework for making web applications.
1914 It is designed to make it easy to manage the various tasks you need to do to
1915 run an application on the web, either by doing them itself, or by letting you
1916 \"plug in\" existing Perl modules that do what you need.")
1917 (license l:perl-license)))
1919 (define-public perl-catalyst-traitfor-request-proxybase
1921 (name "perl-catalyst-traitfor-request-proxybase")
1922 (version "0.000005")
1926 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1927 "Catalyst-TraitFor-Request-ProxyBase-"
1931 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1932 (build-system perl-build-system)
1934 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1935 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1936 ("perl-http-message" ,perl-http-message)
1937 ("perl-module-install" ,perl-module-install)))
1939 `(("perl-moose" ,perl-moose)
1940 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1941 ("perl-uri" ,perl-uri)))
1943 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1944 (synopsis "Replace request base with value passed by HTTP proxy")
1945 (description "This module is a Moose::Role which allows you more
1946 flexibility in your application's deployment configurations when deployed
1947 behind a proxy. Using this module, the request base ($c->req->base) is
1948 replaced with the contents of the X-Request-Base header.")
1949 (license l:perl-license)))
1951 (define-public perl-catalyst-view-download
1953 (name "perl-catalyst-view-download")
1958 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1959 "Catalyst-View-Download-" version ".tar.gz"))
1962 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1963 (build-system perl-build-system)
1965 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1966 ("perl-module-install" ,perl-module-install)
1967 ("perl-test-simple" ,perl-test-simple)
1968 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1969 ("perl-text-csv" ,perl-text-csv)
1970 ("perl-xml-simple" ,perl-xml-simple)))
1971 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1972 (synopsis "Download data in many formats")
1973 (description "The purpose of this module is to provide a method for
1974 downloading data into many supportable formats. For example, downloading a
1975 table based report in a variety of formats (CSV, HTML, etc.).")
1976 (license l:perl-license)))
1978 (define-public perl-catalyst-view-json
1980 (name "perl-catalyst-view-json")
1985 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1986 "Catalyst-View-JSON-" version ".tar.gz"))
1989 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
1990 (build-system perl-build-system)
1992 `(("perl-module-install" ,perl-module-install)
1993 ("perl-yaml" ,perl-yaml)))
1995 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1996 ("perl-json-maybexs" ,perl-json-maybexs)
1997 ("perl-mro-compat" ,perl-mro-compat)))
1998 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1999 (synopsis "Catalyst JSON view")
2000 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2001 stash data in JSON format.")
2002 (license l:perl-license)))
2004 (define-public perl-catalyst-view-tt
2006 (name "perl-catalyst-view-tt")
2011 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2012 "Catalyst-View-TT-" version ".tar.gz"))
2015 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2016 (build-system perl-build-system)
2018 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2019 ("perl-class-accessor" ,perl-class-accessor)
2020 ("perl-data-dump" ,perl-data-dump)
2021 ("perl-mro-compat" ,perl-mro-compat)
2022 ("perl-path-class" ,perl-path-class)
2023 ("perl-template-timer" ,perl-template-timer)
2024 ("perl-template-toolkit" ,perl-template-toolkit)))
2025 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
2026 (synopsis "Template View Class")
2027 (description "This module is a Catalyst view class for the Template
2029 (license l:perl-license)))
2031 (define-public perl-catalystx-component-traits
2033 (name "perl-catalystx-component-traits")
2038 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2039 "CatalystX-Component-Traits-" version ".tar.gz"))
2042 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2043 (build-system perl-build-system)
2045 `(("perl-moose" ,perl-moose)
2046 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2047 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2049 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2050 ("perl-class-load" ,perl-class-load)
2051 ("perl-moose" ,perl-moose)
2052 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2053 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2054 ("perl-list-moreutils" ,perl-list-moreutils)))
2055 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
2056 (synopsis "Trait Loading and Resolution for Catalyst Components")
2057 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2058 Catalyst component base class that reads the optional \"traits\" parameter
2059 from app and component config and instantiates the component subclass with
2060 those traits using \"new_with_traits\" in MooseX::Traits from
2061 MooseX::Traits::Pluggable.")
2062 (license l:perl-license)))
2064 (define-public perl-catalystx-roleapplicator
2066 (name "perl-catalystx-roleapplicator")
2071 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2072 "CatalystX-RoleApplicator-" version ".tar.gz"))
2075 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2076 (build-system perl-build-system)
2078 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2079 ("perl-moose" ,perl-moose)
2080 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2081 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
2082 (synopsis "Apply roles to Catalyst classes")
2083 (description "CatalystX::RoleApplicator applies roles to Catalyst
2084 application classes.")
2085 (license l:perl-license)))
2087 (define-public perl-catalystx-script-server-starman
2089 (name "perl-catalystx-script-server-starman")
2094 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2095 "CatalystX-Script-Server-Starman-"
2099 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
2100 (build-system perl-build-system)
2102 `(("perl-module-install" ,perl-module-install)
2103 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2105 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2106 ("perl-moose" ,perl-moose)
2107 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2108 ("starman" ,starman)))
2109 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
2110 (synopsis "Catalyst development server with Starman")
2111 (description "This module provides a Catalyst extension to replace the
2112 development server with Starman.")
2113 (license l:perl-license)))
2115 (define-public perl-cgi
2122 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2123 "CGI-" version ".tar.gz"))
2126 "07gwnlc7vq58fjwmfsrv0hfyirqqdrpjhf89caq34rjrkz2wsd0b"))))
2127 (build-system perl-build-system)
2129 `(("perl-test-deep" ,perl-test-deep)
2130 ("perl-test-nowarnings" ,perl-test-nowarnings)
2131 ("perl-test-warn" ,perl-test-warn)))
2133 `(("perl-html-parser" ,perl-html-parser)))
2134 (home-page "http://search.cpan.org/dist/CGI")
2135 (synopsis "Handle Common Gateway Interface requests and responses")
2136 (description "CGI.pm is a stable, complete and mature solution for
2137 processing and preparing HTTP requests and responses. Major features include
2138 processing form submissions, file uploads, reading and writing cookies, query
2139 string generation and manipulation, and processing and preparing HTTP
2141 (license l:perl-license)))
2143 (define-public perl-cgi-session
2145 (name "perl-cgi-session")
2151 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2156 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2157 (build-system perl-build-system)
2159 `(("perl-module-build" ,perl-module-build)))
2160 (inputs `(("perl-cgi" ,perl-cgi)))
2162 "http://search.cpan.org/dist/CGI-Session")
2164 "Persistent session data in CGI applications")
2166 "@code{CGI::Session} provides modular session management system across
2168 (license l:perl-license)))
2170 (define-public perl-cgi-simple
2172 (name "perl-cgi-simple")
2177 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
2178 "CGI-Simple-" version ".tar.gz"))
2181 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
2182 (build-system perl-build-system)
2184 `(("perl-module-build" ,perl-module-build)
2185 ("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
2186 (home-page "http://search.cpan.org/dist/CGI-Simple")
2187 (synopsis "CGI interface that is CGI.pm compliant")
2188 (description "CGI::Simple provides a relatively lightweight drop in
2189 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2190 parameter parsing, file upload, cookie handling and header generation.")
2191 (license l:perl-license)))
2193 (define-public perl-cgi-struct
2195 (name "perl-cgi-struct")
2200 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2201 "CGI-Struct-" version ".tar.gz"))
2204 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2205 (build-system perl-build-system)
2207 `(("perl-test-deep" ,perl-test-deep)))
2208 (home-page "http://search.cpan.org/dist/CGI-Struct")
2209 (synopsis "Build structures from CGI data")
2210 (description "This is a module for building structured data from CGI
2211 inputs, in a manner reminiscent of how PHP does.")
2214 (define-public perl-datetime-format-http
2216 (name "perl-datetime-format-http")
2221 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2222 "DateTime-Format-HTTP-" version ".tar.gz"))
2225 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2226 (build-system perl-build-system)
2228 `(("perl-module-build" ,perl-module-build)))
2230 `(("perl-datetime" ,perl-datetime)
2231 ("perl-http-date" ,perl-http-date)))
2232 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
2233 (synopsis "Date conversion routines")
2234 (description "This module provides functions that deal with the date
2235 formats used by the HTTP protocol.")
2236 (license l:perl-license)))
2238 (define-public perl-digest-md5-file
2240 (name "perl-digest-md5-file")
2245 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2246 "Digest-MD5-File-" version ".tar.gz"))
2249 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2250 (build-system perl-build-system)
2252 `(("perl-libwww" ,perl-libwww)))
2253 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
2254 (synopsis "MD5 sums for files and urls")
2255 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2256 for files and urls.")
2257 (license l:perl-license)))
2259 (define-public perl-encode-locale
2261 (name "perl-encode-locale")
2266 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2270 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2271 (build-system perl-build-system)
2272 (license l:perl-license)
2273 (synopsis "Perl locale encoding determination")
2275 "The POSIX locale system is used to specify both the language
2276 conventions requested by the user and the preferred character set to
2277 consume and output. The Encode::Locale module looks up the charset and
2278 encoding (called a CODESET in the locale jargon) and arranges for the
2279 Encode module to know this encoding under the name \"locale\". It means
2280 bytes obtained from the environment can be converted to Unicode strings
2281 by calling Encode::encode(locale => $bytes) and converted back again
2282 with Encode::decode(locale => $string).")
2283 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
2285 (define-public perl-feed-find
2287 (name "perl-feed-find")
2291 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2292 "Feed-Find-" version ".tar.gz"))
2295 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2296 (build-system perl-build-system)
2298 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2301 (modify-phases %standard-phases
2302 (add-after 'unpack 'set-env
2303 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2305 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2306 ("perl-html-parser" ,perl-html-parser)
2307 ("perl-libwww" ,perl-libwww)
2308 ("perl-uri" ,perl-uri)))
2309 (home-page "http://search.cpan.org/dist/Feed-Find")
2310 (synopsis "Syndication feed auto-discovery")
2311 (description "@code{Feed::Find} implements feed auto-discovery for finding
2312 syndication feeds, given a URI. It will discover the following feed formats:
2313 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2314 (license l:perl-license)))
2316 (define-public perl-file-listing
2318 (name "perl-file-listing")
2323 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2327 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2328 (build-system perl-build-system)
2330 `(("perl-http-date" ,perl-http-date)))
2331 (license l:perl-license)
2332 (synopsis "Perl directory listing parser")
2334 "The File::Listing module exports a single function called parse_dir(),
2335 which can be used to parse directory listings.")
2336 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
2338 (define-public perl-finance-quote
2340 (name "perl-finance-quote")
2345 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2346 "Finance-Quote-" version ".tar.gz"))
2349 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
2350 (patches (search-patches
2351 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2352 (build-system perl-build-system)
2354 `(("perl-cgi" ,perl-cgi)
2355 ("perl-datetime" ,perl-datetime)
2356 ("perl-html-parser" ,perl-html-parser)
2357 ("perl-html-tableextract" ,perl-html-tableextract)
2358 ("perl-html-tree" ,perl-html-tree)
2359 ("perl-http-cookies" ,perl-http-cookies)
2360 ("perl-http-message" ,perl-http-message)
2361 ("perl-json" ,perl-json)
2362 ("perl-libwww" ,perl-libwww)
2363 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2364 ("perl-uri" ,perl-uri)))
2365 (home-page "http://search.cpan.org/dist/Finance-Quote")
2366 (synopsis "Stock and mutual fund quotes")
2368 "Finance::Quote gets stock quotes from various internet sources, including
2369 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2372 (define-public perl-gssapi
2374 (name "perl-gssapi")
2379 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2380 "GSSAPI-" version ".tar.gz"))
2383 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2384 (build-system perl-build-system)
2385 (inputs `(("gssapi" ,mit-krb5)))
2387 `(#:make-maker-flags
2388 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2389 (home-page "http://search.cpan.org/dist/GSSAPI")
2390 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2391 (description "This is a Perl extension for using GSSAPI C bindings as
2392 described in RFC 2744.")
2393 (license l:perl-license)))
2395 (define-public perl-html-element-extended
2397 (name "perl-html-element-extended")
2402 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2403 "HTML-Element-Extended-" version ".tar.gz"))
2406 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2407 (build-system perl-build-system)
2409 `(("perl-html-tree" ,perl-html-tree)))
2410 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
2411 (synopsis "Manipulate tables of HTML::Element")
2413 "HTML::Element::Extended is a Perl extension for manipulating a table
2414 composed of HTML::Element style components.")
2415 (license l:perl-license)))
2417 (define-public perl-html-form
2419 (name "perl-html-form")
2424 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2425 "HTML-Form-" version ".tar.gz"))
2428 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2429 (build-system perl-build-system)
2431 `(("perl-html-parser" ,perl-html-parser)
2432 ("perl-html-tagset" ,perl-html-tagset)
2433 ("perl-http-message" ,perl-http-message)
2434 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2435 ("perl-uri" ,perl-uri)))
2436 (home-page "http://search.cpan.org/dist/HTML-Form")
2437 (synopsis "Perl class representing an HTML form element")
2438 (description "Objects of the HTML::Form class represents a single HTML
2439 <form> ... </form> instance.")
2440 (license l:perl-license)))
2442 (define-public perl-html-scrubber
2444 (name "perl-html-scrubber")
2450 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2455 "1m1f8gm2jry42zxja05dxp2ck7y66m7i8vc38nj6hccnwlby6cvi"))))
2456 (build-system perl-build-system)
2458 `(("perl-module-build" ,perl-module-build)
2459 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2460 ("perl-test-eol" ,perl-test-eol)
2461 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2462 ("perl-test-notabs" ,perl-test-notabs)))
2464 `(("perl-html-parser" ,perl-html-parser)))
2466 "http://search.cpan.org/dist/HTML-Scrubber")
2468 "Perl extension for scrubbing/sanitizing html")
2470 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2471 (license l:perl-license)))
2473 (define-public perl-html-lint
2475 (name "perl-html-lint")
2480 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2481 "HTML-Lint-" version ".tar.gz"))
2484 "02vi1s4sw3hjnndxd6s91cp54iw5pg8n5kl9v0109dfxzn1n9bnl"))))
2485 (build-system perl-build-system)
2487 `(("perl-html-parser" ,perl-html-parser)
2488 ("perl-html-tagset" ,perl-html-tagset)
2489 ("perl-libwww" ,perl-libwww)))
2490 (home-page "http://search.cpan.org/dist/HTML-Lint")
2491 (synopsis "Check for HTML errors in a string or file")
2492 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2493 syntactic legitmacy.")
2494 (license l:artistic2.0)))
2496 (define-public perl-html-tableextract
2498 (name "perl-html-tableextract")
2503 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2504 "HTML-TableExtract-" version ".tar.gz"))
2507 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2508 (build-system perl-build-system)
2510 `(("perl-html-element-extended" ,perl-html-element-extended)
2511 ("perl-html-parser" ,perl-html-parser)))
2512 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
2513 (synopsis "Extract contents from HTML tables")
2515 "HTML::TableExtract is a Perl module for extracting the content contained
2516 in tables within an HTML document, either as text or encoded element trees.")
2517 (license l:perl-license)))
2519 (define-public perl-html-tree
2521 (name "perl-html-tree")
2526 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2527 "HTML-Tree-" version ".tar.gz"))
2530 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
2531 (build-system perl-build-system)
2533 `(("perl-module-build" ,perl-module-build)
2534 ("perl-test-fatal" ,perl-test-fatal)))
2536 `(("perl-html-parser" ,perl-html-parser)
2537 ("perl-html-tagset" ,perl-html-tagset)
2538 ("perl-libwww" ,perl-libwww)))
2539 (home-page "http://search.cpan.org/dist/HTML-Tree")
2540 (synopsis "Work with HTML in a DOM-like tree structure")
2541 (description "This distribution contains a suite of modules for
2542 representing, creating, and extracting information from HTML syntax trees.")
2543 (license l:perl-license)))
2545 (define-public perl-html-parser
2547 (name "perl-html-parser")
2552 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2556 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2557 (build-system perl-build-system)
2559 `(("perl-html-tagset" ,perl-html-tagset)
2560 ("perl-http-message" ,perl-http-message)))
2561 (license l:perl-license)
2562 (synopsis "Perl HTML parser class")
2564 "Objects of the HTML::Parser class will recognize markup and separate
2565 it from plain text (alias data content) in HTML documents. As different
2566 kinds of markup and text are recognized, the corresponding event handlers
2568 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2570 (define-public perl-html-tagset
2572 (name "perl-html-tagset")
2577 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2581 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2582 (build-system perl-build-system)
2583 (license l:perl-license)
2584 (synopsis "Perl data tables useful in parsing HTML")
2586 "The HTML::Tagset module contains several data tables useful in various
2587 kinds of HTML parsing operations.")
2588 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
2590 (define-public perl-html-template
2592 (name "perl-html-template")
2596 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2597 "HTML-Template-" version ".tar.gz"))
2600 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2601 (build-system perl-build-system)
2603 `(("perl-cgi" ,perl-cgi)))
2604 (home-page "http://search.cpan.org/dist/HTML-Template")
2605 (synopsis "HTML-like templates")
2607 "This module attempts to make using HTML templates simple and natural.
2608 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2609 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2610 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2611 these new tags is called a template. Using this module you fill in the values
2612 for the variables, loops and branches declared in the template. This allows
2613 you to separate design from the data.")
2614 (license l:perl-license)))
2616 (define-public perl-http-body
2618 (name "perl-http-body")
2623 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2624 "HTTP-Body-" version ".tar.gz"))
2627 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2628 (build-system perl-build-system)
2630 `(("perl-test-deep" ,perl-test-deep)))
2632 `(("perl-file-temp" ,perl-file-temp)
2633 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2634 (home-page "http://search.cpan.org/dist/HTTP-Body")
2635 (synopsis "HTTP Body Parser")
2636 (description "HTTP::Body parses chunks of HTTP POST data and supports
2637 application/octet-stream, application/json, application/x-www-form-urlencoded,
2638 and multipart/form-data.")
2639 (license l:perl-license)))
2641 (define-public perl-http-cookiejar
2643 (name "perl-http-cookiejar")
2648 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2649 "HTTP-CookieJar-" version ".tar.gz"))
2652 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2653 (build-system perl-build-system)
2655 `(("perl-test-deep" ,perl-test-deep)
2656 ("perl-test-requires" ,perl-test-requires)
2657 ("perl-time-mock" ,perl-time-mock)
2658 ("perl-uri" ,perl-uri)))
2660 `(("perl-time-local" ,perl-time-local)
2661 ("perl-http-date" ,perl-http-date)))
2662 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2663 (synopsis "Minimalist HTTP user agent cookie jar")
2664 (description "This module implements a minimalist HTTP user agent cookie
2665 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2666 (license l:asl2.0)))
2668 (define-public perl-http-cookies
2670 (name "perl-http-cookies")
2675 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
2679 "1m0kxcirbvbkrm2c59p1bkbvzlcdymg8fdpa7wlxijlx0xwz1iqc"))))
2680 (build-system perl-build-system)
2682 `(("perl-http-message" ,perl-http-message)))
2683 (license l:perl-license)
2684 (synopsis "Perl HTTP cookie jars")
2686 "The HTTP::Cookies class is for objects that represent a cookie jar,
2687 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2688 object knows about.")
2689 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2691 (define-public perl-http-daemon
2693 (name "perl-http-daemon")
2698 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2702 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2703 (build-system perl-build-system)
2705 `(("perl-http-message" ,perl-http-message)
2706 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2707 (license l:perl-license)
2708 (synopsis "Perl simple http server class")
2710 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2711 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2712 IO::Socket::INET, so you can perform socket operations directly on it too.")
2713 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2715 (define-public perl-http-date
2717 (name "perl-http-date")
2722 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2726 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2727 (build-system perl-build-system)
2728 (license l:perl-license)
2729 (synopsis "Perl date conversion routines")
2731 "The HTTP::Date module provides functions that deal with date formats
2732 used by the HTTP protocol (and then some more).")
2733 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2735 (define-public perl-http-message
2737 (name "perl-http-message")
2742 "mirror://cpan/authors/id/E/ET/ETHER/HTTP-Message-"
2746 "06yq6cjx4vzl4if4ykap77xsrrd8aa7ish90k7cqi8g6g83nicz7"))))
2747 (build-system perl-build-system)
2749 `(("perl-encode-locale" ,perl-encode-locale)
2750 ("perl-http-date" ,perl-http-date)
2751 ("perl-io-html" ,perl-io-html)
2752 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2753 ("perl-uri" ,perl-uri)))
2754 (license l:perl-license)
2755 (synopsis "Perl HTTP style message")
2757 "An HTTP::Message object contains some headers and a content body.")
2758 (home-page "http://search.cpan.org/~ether/HTTP-Message/")))
2760 (define-public perl-http-negotiate
2762 (name "perl-http-negotiate")
2767 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2771 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2772 (build-system perl-build-system)
2774 `(("perl-http-message" ,perl-http-message)))
2775 (license l:perl-license)
2776 (synopsis "Perl http content negotiation")
2778 "The HTTP::Negotiate module provides a complete implementation of the
2779 HTTP content negotiation algorithm specified in
2780 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2781 the selection of a preferred content representation based upon attributes
2782 of the negotiable variants and the value of the various Accept* header
2783 fields in the request.")
2784 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2786 (define-public perl-http-parser
2788 (name "perl-http-parser")
2793 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2794 "HTTP-Parser-" version ".tar.gz"))
2797 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2798 (build-system perl-build-system)
2800 `(("perl-http-message" ,perl-http-message)
2801 ("perl-uri" ,perl-uri)))
2802 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2803 (synopsis "Parse HTTP/1.1 requests")
2804 (description "This is an HTTP request parser. It takes chunks of text as
2805 received and returns a 'hint' as to what is required, or returns the
2806 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2808 (license l:perl-license)))
2810 (define-public perl-http-parser-xs
2812 (name "perl-http-parser-xs")
2817 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2818 "HTTP-Parser-XS-" version ".tar.gz"))
2821 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2822 (build-system perl-build-system)
2824 `(("perl-module-install" ,perl-module-install)))
2825 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2826 (synopsis "Fast HTTP request parser")
2827 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2829 (license l:perl-license)))
2831 (define-public perl-http-request-ascgi
2833 (name "perl-http-request-ascgi")
2838 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2839 "HTTP-Request-AsCGI-" version ".tar.gz"))
2842 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2843 (build-system perl-build-system)
2845 `(("perl-class-accessor" ,perl-class-accessor)
2846 ("perl-http-message" ,perl-http-message)))
2847 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2848 (synopsis "Set up a CGI environment from an HTTP::Request")
2849 (description "This module provides a convenient way to set up a CGI
2850 environment from an HTTP::Request.")
2851 (license l:perl-license)))
2853 (define-public perl-http-server-simple
2855 (name "perl-http-server-simple")
2860 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
2861 "HTTP-Server-Simple-" version ".tar.gz"))
2864 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
2865 (build-system perl-build-system)
2867 `(("perl-cgi" ,perl-cgi)))
2869 ;; See the discussion of a related tests issue at
2870 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2873 #:phases (modify-phases %standard-phases
2874 (add-before 'configure 'set-search-path
2876 ;; Work around "dotless @INC" build failure.
2878 (string-append (getcwd) ":"
2879 (getenv "PERL5LIB")))
2881 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2882 (synopsis "Lightweight HTTP server")
2883 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2884 no non-core module dependencies. It can be used for building a standalone
2885 http-based UI to your existing tools.")
2886 (license l:perl-license)))
2888 (define-public perl-http-tiny
2890 (name "perl-http-tiny")
2895 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2896 "HTTP-Tiny-" version ".tar.gz"))
2899 "0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
2900 (build-system perl-build-system)
2902 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2903 ("perl-io-socket-ip" ,perl-io-socket-ip)
2904 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2905 ("perl-mozilla-ca" ,perl-mozilla-ca)
2906 ("perl-net-ssleay" ,perl-net-ssleay)))
2907 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2908 (synopsis "HTTP/1.1 client")
2909 (description "This is a very simple HTTP/1.1 client, designed for doing
2910 simple requests without the overhead of a large framework like LWP::UserAgent.
2911 It supports proxies and redirection. It also correctly resumes after EINTR.")
2912 (license l:perl-license)))
2914 (define-public perl-io-html
2916 (name "perl-io-html")
2921 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2925 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2926 (build-system perl-build-system)
2927 (license l:perl-license)
2928 (synopsis "Perl module to open an HTML file with automatic charset detection")
2930 "IO::HTML provides an easy way to open a file containing HTML while
2931 automatically determining its encoding. It uses the HTML5 encoding sniffing
2932 algorithm specified in section 8.2.2.1 of the draft standard.")
2933 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2935 (define-public perl-io-socket-ip
2937 (name "perl-io-socket-ip")
2942 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2943 "IO-Socket-IP-" version ".tar.gz"))
2946 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
2947 (build-system perl-build-system)
2948 (native-inputs `(("perl-module-build" ,perl-module-build)))
2949 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2950 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2951 (description "This module provides a protocol-independent way to use IPv4
2952 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2953 (license l:perl-license)))
2955 (define-public perl-io-socket-ssl
2957 (name "perl-io-socket-ssl")
2961 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2962 "IO-Socket-SSL-" version ".tar.gz"))
2965 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2966 (patches (search-patches
2967 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2968 (build-system perl-build-system)
2970 `(("perl-net-ssleay" ,perl-net-ssleay)
2972 ("perl-uri" ,perl-uri)))
2973 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2975 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2976 necessary functionality into the familiar IO::Socket interface and providing
2977 secure defaults whenever possible. This way existing applications can be made
2978 SSL-aware without much effort, at least if you do blocking I/O and don't use
2980 (license l:perl-license)
2981 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2983 (define-public perl-libwww
2985 (name "perl-libwww")
2990 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
2994 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
2995 (build-system perl-build-system)
2997 `(("perl-encode-locale" ,perl-encode-locale)
2998 ("perl-file-listing" ,perl-file-listing)
2999 ("perl-html-parser" ,perl-html-parser)
3000 ("perl-http-cookies" ,perl-http-cookies)
3001 ("perl-http-daemon" ,perl-http-daemon)
3002 ("perl-http-date" ,perl-http-date)
3003 ("perl-http-message" ,perl-http-message)
3004 ("perl-http-negotiate" ,perl-http-negotiate)
3005 ("perl-net-http" ,perl-net-http)
3006 ("perl-uri" ,perl-uri)
3007 ("perl-www-robotrules" ,perl-www-robotrules)))
3008 (license l:perl-license)
3009 (synopsis "Perl modules for the WWW")
3011 "The libwww-perl collection is a set of Perl modules which provides a
3012 simple and consistent application programming interface to the
3013 World-Wide Web. The main focus of the library is to provide classes
3014 and functions that allow you to write WWW clients. The library also
3015 contains modules that are of more general use and even classes that
3016 help you implement simple HTTP servers.")
3017 (home-page "http://search.cpan.org/dist/libwww-perl/")))
3019 (define-public perl-lwp-online
3021 (name "perl-lwp-online")
3027 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3031 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3032 (build-system perl-build-system)
3034 `(("perl-libwww" ,perl-libwww)
3035 ("perl-uri" ,perl-uri)))
3037 `(("perl-module-install" ,perl-module-install)))
3038 (home-page "http://search.cpan.org/dist/LWP-Online/")
3039 (synopsis "Checks whether your process has access to the web")
3040 (description "This module attempts to answer, as accurately as it can, one
3041 of the nastiest technical questions there is: am I on the internet?
3043 A host of networking and security issues make this problem very difficult.
3044 There are firewalls, proxies (both well behaved and badly behaved). We might
3045 not have DNS. We might not have a network card at all!")
3046 (license l:perl-license)))
3048 (define-public perl-lwp-mediatypes
3050 (name "perl-lwp-mediatypes")
3055 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
3059 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
3060 (build-system perl-build-system)
3061 (license l:perl-license)
3062 (synopsis "Perl module to guess the media type for a file or a URL")
3064 "The LWP::MediaTypes module provides functions for handling media (also
3065 known as MIME) types and encodings. The mapping from file extensions to
3066 media types is defined by the media.types file. If the ~/.media.types file
3067 exists it is used instead.")
3068 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
3070 (define-public perl-lwp-protocol-https
3072 (name "perl-lwp-protocol-https")
3077 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
3078 "LWP-Protocol-https-" version ".tar.gz"))
3081 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
3082 (build-system perl-build-system)
3084 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3085 ("perl-libwww" ,perl-libwww)
3086 ;; Users should instead make sure SSL_ca_path is set properly.
3087 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3088 ("perl-net-http" ,perl-net-http)))
3089 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
3090 (synopsis "HTTPS support for LWP::UserAgent")
3091 (description "The LWP::Protocol::https module provides support for using
3092 https schemed URLs with LWP.")
3093 (license l:perl-license)))
3095 (define-public perl-lwp-useragent-determined
3097 (name "perl-lwp-useragent-determined")
3102 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3103 "LWP-UserAgent-Determined-" version ".tar.gz"))
3106 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3107 (build-system perl-build-system)
3109 `(("perl-libwww" ,perl-libwww)))
3110 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
3111 (synopsis "Virtual browser that retries errors")
3112 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3113 except that when you use it to get a web page but run into a
3114 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3115 and retry a few times.")
3116 (license l:perl-license)))
3118 (define-public perl-net-amazon-s3
3120 (name "perl-net-amazon-s3")
3125 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3126 "Net-Amazon-S3-" version ".tar.gz"))
3129 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3130 (patches (search-patches
3131 "perl-net-amazon-s3-moose-warning.patch"))))
3132 (build-system perl-build-system)
3134 `(("perl-libwww" ,perl-libwww)
3135 ("perl-test-exception" ,perl-test-exception)))
3137 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3138 ("perl-datetime-format-http" ,perl-datetime-format-http)
3139 ("perl-digest-hmac" ,perl-digest-hmac)
3140 ("perl-digest-md5-file" ,perl-digest-md5-file)
3141 ("perl-file-find-rule" ,perl-file-find-rule)
3142 ("perl-http-date" ,perl-http-date)
3143 ("perl-http-message" ,perl-http-message)
3144 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3145 ("perl-mime-types" ,perl-mime-types)
3146 ("perl-moose" ,perl-moose)
3147 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3148 ("perl-moosex-types-datetime-morecoercions"
3149 ,perl-moosex-types-datetime-morecoercions)
3150 ("perl-path-class" ,perl-path-class)
3151 ("perl-regexp-common" ,perl-regexp-common)
3152 ("perl-term-encoding" ,perl-term-encoding)
3153 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3154 ("perl-uri" ,perl-uri)
3155 ("perl-xml-libxml" ,perl-xml-libxml)))
3156 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
3157 (synopsis "Perl interface to Amazon S3")
3158 (description "This module provides a Perlish interface to Amazon S3.")
3159 (license l:perl-license)))
3161 (define-public perl-net-http
3163 (name "perl-net-http")
3168 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
3172 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
3173 (build-system perl-build-system)
3175 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3176 ("perl-uri" ,perl-uri)))
3177 (license l:perl-license)
3178 (synopsis "Perl low-level HTTP connection (client)")
3180 "The Net::HTTP class is a low-level HTTP client. An instance of the
3181 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3182 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3184 (home-page "http://search.cpan.org/dist/Net-HTTP")))
3186 (define-public perl-net-server
3188 (name "perl-net-server")
3193 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3194 "Net-Server-" version ".tar.gz"))
3197 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3198 (build-system perl-build-system)
3199 (home-page "http://search.cpan.org/dist/Net-Server")
3200 (synopsis "Extensible Perl server engine")
3201 (description "Net::Server is an extensible, generic Perl server engine.
3202 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3203 It includes with it the ability to run as an inetd
3204 process (Net::Server::INET), a single connection server (Net::Server or
3205 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3206 server which maintains a constant number of preforked
3207 children (Net::Server::PreForkSimple), or as a managed preforking server which
3208 maintains the number of children based on server load (Net::Server::PreFork).
3209 In all but the inetd type, the server provides the ability to connect to one
3210 or to multiple server ports.")
3211 (license l:perl-license)))
3213 (define-public perl-net-smtp-ssl
3215 (name "perl-net-smtp-ssl")
3220 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3221 "Net-SMTP-SSL-" version ".tar.gz"))
3224 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3225 (build-system perl-build-system)
3227 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3228 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
3229 (synopsis "SSL support for Net::SMTP")
3230 (description "SSL support for Net::SMTP.")
3231 (license l:perl-license)))
3233 (define-public perl-plack
3240 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3241 "Plack-" version ".tar.gz"))
3244 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3245 (build-system perl-build-system)
3247 `(("perl-test-requires" ,perl-test-requires)
3248 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3250 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3251 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3252 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3253 ("perl-file-sharedir" ,perl-file-sharedir)
3254 ("perl-hash-multivalue" ,perl-hash-multivalue)
3255 ("perl-http-body" ,perl-http-body)
3256 ("perl-http-message" ,perl-http-message)
3257 ("perl-http-tiny" ,perl-http-tiny)
3258 ("perl-libwww" ,perl-libwww)
3259 ("perl-stream-buffered" ,perl-stream-buffered)
3260 ("perl-test-tcp" ,perl-test-tcp)
3261 ("perl-try-tiny" ,perl-try-tiny)
3262 ("perl-uri" ,perl-uri)))
3263 (home-page "http://search.cpan.org/dist/Plack")
3264 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3265 (description "Plack is a set of tools for using the PSGI stack. It
3266 contains middleware components, a reference server, and utilities for Web
3267 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3269 (license l:perl-license)))
3271 (define-public perl-plack-middleware-fixmissingbodyinredirect
3273 (name "perl-plack-middleware-fixmissingbodyinredirect")
3278 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3279 "Plack-Middleware-FixMissingBodyInRedirect-"
3283 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3284 (build-system perl-build-system)
3286 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3287 ("perl-http-message" ,perl-http-message)
3288 ("perl-plack" ,perl-plack))) ;for Plack::Test
3290 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
3291 (synopsis "Plack::Middleware which sets body for redirect response")
3292 (description "This module sets the body in redirect response, if it's not
3294 (license l:perl-license)))
3296 (define-public perl-plack-middleware-methodoverride
3298 (name "perl-plack-middleware-methodoverride")
3303 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
3304 "Plack-Middleware-MethodOverride-"
3308 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
3309 (build-system perl-build-system)
3311 `(("perl-module-build" ,perl-module-build)))
3313 `(("perl-plack" ,perl-plack)))
3314 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
3315 (synopsis "Override REST methods to Plack apps via POST")
3316 (description "This middleware allows for POST requests that pretend to be
3317 something else: by adding either a header named X-HTTP-Method-Override to the
3318 request, or a query parameter named x-tunneled-method to the URI, the client
3319 can say what method it actually meant.")
3320 (license l:perl-license)))
3322 (define-public perl-plack-middleware-removeredundantbody
3324 (name "perl-plack-middleware-removeredundantbody")
3329 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3330 "Plack-Middleware-RemoveRedundantBody-"
3334 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
3335 (build-system perl-build-system)
3337 `(("perl-plack" ,perl-plack)))
3339 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
3340 (synopsis "Plack::Middleware which removes body for HTTP response")
3341 (description "This module removes the body in an HTTP response if it's not
3343 (license l:perl-license)))
3345 (define-public perl-plack-middleware-reverseproxy
3347 (name "perl-plack-middleware-reverseproxy")
3352 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3353 "Plack-Middleware-ReverseProxy-"
3357 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
3358 (build-system perl-build-system)
3360 `(("perl-module-install" ,perl-module-install)))
3362 `(("perl-plack" ,perl-plack)))
3363 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
3364 (synopsis "Supports app to run as a reverse proxy backend")
3365 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3366 which are changed by reverse-proxy. You can specify the reverse proxy address
3367 and stop fake requests using 'enable_if' directive in your app.psgi.")
3368 (license l:perl-license)))
3370 (define-public perl-plack-test-externalserver
3372 (name "perl-plack-test-externalserver")
3377 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3378 "Plack-Test-ExternalServer-" version ".tar.gz"))
3381 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
3382 (build-system perl-build-system)
3384 `(("perl-plack" ,perl-plack)))
3385 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
3386 (synopsis "Run HTTP tests on external live servers")
3387 (description "This module allows your to run your Plack::Test tests
3388 against an external server instead of just against a local application through
3389 either mocked HTTP or a locally spawned server.")
3390 (license l:perl-license)))
3392 (define-public perl-test-tcp
3394 (name "perl-test-tcp")
3399 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3400 "Test-TCP-" version ".tar.gz"))
3403 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
3404 (build-system perl-build-system)
3406 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3407 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3408 (home-page "http://search.cpan.org/dist/Test-TCP")
3409 (synopsis "Testing TCP programs")
3410 (description "Test::TCP is test utilities for TCP/IP programs.")
3411 (license l:perl-license)))
3413 (define-public perl-test-www-mechanize
3415 (name "perl-test-www-mechanize")
3420 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3421 "Test-WWW-Mechanize-" version ".tar.gz"))
3424 "1d11fx9155d5v17d5w7q3kj37b01l8yj2yb0g6b0z1vh938rrlcr"))))
3425 (build-system perl-build-system)
3427 `(("perl-test-exception" ,perl-test-exception)))
3429 `(("perl-module-install" ,perl-module-install)))
3431 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3432 ("perl-html-form" ,perl-html-form)
3433 ("perl-html-lint" ,perl-html-lint)
3434 ("perl-html-tree" ,perl-html-tree)
3435 ("perl-http-server-simple" ,perl-http-server-simple)
3436 ("perl-libwww" ,perl-libwww)
3437 ("perl-test-longstring" ,perl-test-longstring)
3438 ("perl-www-mechanize" ,perl-www-mechanize)))
3439 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
3440 (synopsis "Testing-specific WWW::Mechanize subclass")
3441 (description "Test::WWW::Mechanize is a subclass of the Perl module
3442 WWW::Mechanize that incorporates features for web application testing.")
3443 (license l:artistic2.0)))
3445 (define-public perl-test-www-mechanize-catalyst
3447 (name "perl-test-www-mechanize-catalyst")
3452 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
3453 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3456 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
3457 (build-system perl-build-system)
3459 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3460 ("perl-catalyst-plugin-session-state-cookie"
3461 ,perl-catalyst-plugin-session-state-cookie)
3462 ("perl-module-install" ,perl-module-install)
3463 ("perl-test-exception" ,perl-test-exception)
3464 ("perl-test-pod" ,perl-test-pod)
3465 ("perl-test-utf8" ,perl-test-utf8)))
3467 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3468 ("perl-class-load" ,perl-class-load)
3469 ("perl-libwww" ,perl-libwww)
3470 ("perl-moose" ,perl-moose)
3471 ("perl-namespace-clean" ,perl-namespace-clean)
3472 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3473 ("perl-www-mechanize" ,perl-www-mechanize)))
3474 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
3475 (synopsis "Test::WWW::Mechanize for Catalyst")
3476 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3477 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3478 testing of Catalyst applications without needing to start up a web server.")
3479 (license l:perl-license)))
3481 (define-public perl-test-www-mechanize-psgi
3483 (name "perl-test-www-mechanize-psgi")
3488 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3489 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3492 "0c9a9w0d2whadnrich7f09w37fgq5hws4gq04zgz4jsdjcvr3qv2"))))
3493 (build-system perl-build-system)
3495 `(("perl-test-pod" ,perl-test-pod)))
3497 `(("perl-plack" ,perl-plack)
3498 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3499 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
3500 (synopsis "Test PSGI programs using WWW::Mechanize")
3501 (description "PSGI is a specification to decouple web server environments
3502 from web application framework code. Test::WWW::Mechanize is a subclass of
3503 WWW::Mechanize that incorporates features for web application testing. The
3504 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3506 (license l:perl-license)))
3508 (define-public perl-uri
3514 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3515 "URI-" version ".tar.gz"))
3518 "04z4xwiryrbxxi48bwbkgq9q9pwfgqry3wp0ramcrwv3dx5ap9yc"))))
3519 (build-system perl-build-system)
3522 `(("perl-test-needs" ,perl-test-needs)))
3523 (license l:perl-license)
3524 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3526 "The URI module implements the URI class. Objects of this class
3527 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3528 and updated by RFC 2732.")
3529 (home-page "http://search.cpan.org/dist/URI/")))
3531 (define-public perl-uri-fetch
3533 (name "perl-uri-fetch")
3537 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3538 "URI-Fetch-" version ".tar.gz"))
3541 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3542 (build-system perl-build-system)
3544 `(#:tests? #f)) ; Tests require internet connection to succeed
3546 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3547 ("perl-libwww" ,perl-libwww)
3548 ("perl-uri" ,perl-uri)))
3549 (home-page "http://search.cpan.org/dist/URI-Fetch")
3550 (synopsis "Smart URI fetching/caching")
3551 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3552 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3553 and time-saving way.")
3554 (license l:perl-license)))
3556 (define-public perl-uri-find
3558 (name "perl-uri-find")
3559 (version "20160806")
3563 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3564 "URI-Find-" version ".tar.gz"))
3567 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
3568 (build-system perl-build-system)
3570 `(("perl-module-build" ,perl-module-build)))
3572 `(("perl-uri" ,perl-uri)))
3573 (home-page "http://search.cpan.org/dist/URI-Find")
3574 (synopsis "Find URIs in arbitrary text")
3575 (description "This module finds URIs and URLs (according to what URI.pm
3576 considers a URI) in plain text. It only finds URIs which include a
3577 scheme (http:// or the like), for something a bit less strict, consider
3578 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3579 (license l:perl-license)))
3581 (define-public perl-uri-ws
3583 (name "perl-uri-ws")
3588 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3589 "URI-ws-" version ".tar.gz"))
3592 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3593 (build-system perl-build-system)
3595 `(("perl-uri" ,perl-uri)))
3596 (home-page "http://search.cpan.org/dist/URI-ws")
3597 (synopsis "WebSocket support for URI package")
3598 (description "With this module, the URI package provides the same set of
3599 methods for WebSocket URIs as it does for HTTP URIs.")
3600 (license l:perl-license)))
3602 (define-public perl-uri-template
3604 (name "perl-uri-template")
3608 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3612 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3613 (build-system perl-build-system)
3615 `(("perl-uri" ,perl-uri)))
3617 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3618 ("perl-test-pod" ,perl-test-pod)
3619 ("perl-module-install" ,perl-module-install)
3620 ("perl-json" ,perl-json)))
3621 (home-page "http://search.cpan.org/dist/URI-Template")
3622 (synopsis "Object for handling URI templates")
3623 (description "This perl module provides a wrapper around URI templates as described in
3625 (license l:perl-license)))
3627 (define-public perl-www-curl
3629 (name "perl-www-curl")
3634 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3636 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3639 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3640 (build-system perl-build-system)
3642 '(#:tests? #f ;XXX: tests require network access
3644 #:phases (modify-phases %standard-phases
3645 (add-before 'configure 'set-search-path
3647 ;; Work around "dotless @INC" build failure.
3649 (string-append (getcwd) ":"
3650 (getenv "PERL5LIB")))
3653 `(("perl-module-install" ,perl-module-install)))
3654 (inputs `(("curl" ,curl)))
3655 (synopsis "Perl extension interface for libcurl")
3657 "This is a Perl extension interface for the libcurl file downloading
3659 (license l:perl-license)
3660 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3662 (define-public perl-www-mechanize
3664 (name "perl-www-mechanize")
3669 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3670 "WWW-Mechanize-" version ".tar.gz"))
3673 "0yd8a1zsfpbv5wr79x3iqmik9gvcd10iam9dfrdan4dri9vpxn9n"))))
3674 (build-system perl-build-system)
3675 (native-inputs ;only for tests
3676 `(("perl-cgi" ,perl-cgi)
3677 ("perl-test-deep" ,perl-test-deep)
3678 ("perl-test-fatal" ,perl-test-fatal)
3679 ("perl-test-output" ,perl-test-output)
3680 ("perl-test-warnings" ,perl-test-warnings)))
3682 `(("perl-html-form" ,perl-html-form)
3683 ("perl-html-parser" ,perl-html-parser)
3684 ("perl-html-tree" ,perl-html-tree)
3685 ("perl-http-message" ,perl-http-message)
3686 ("perl-http-server-simple" ,perl-http-server-simple)
3687 ("perl-libwww" ,perl-libwww)
3688 ("perl-test-warn" ,perl-test-warn)
3689 ("perl-uri" ,perl-uri)))
3690 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3691 (synopsis "Web browsing in a Perl object")
3692 (description "WWW::Mechanize is a Perl module for stateful programmatic
3693 web browsing, used for automating interaction with websites.")
3694 (license l:perl-license)))
3696 (define-public perl-www-opensearch
3698 (name "perl-www-opensearch")
3702 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3703 "WWW-OpenSearch-" version ".tar.gz"))
3706 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3707 (build-system perl-build-system)
3709 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3710 ("perl-datetime" ,perl-datetime)
3711 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
3712 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
3713 ("perl-feed-find" ,perl-feed-find)
3714 ("perl-module-install" ,perl-module-install)
3715 ("perl-module-pluggable" ,perl-module-pluggable)
3716 ("perl-uri-fetch" ,perl-uri-fetch)
3717 ("perl-test-simple" ,perl-test-simple)
3718 ("perl-xml-atom" ,perl-xml-atom)
3719 ("perl-xml-rss" ,perl-xml-rss)))
3721 `(("perl-data-page" ,perl-data-page)
3722 ("perl-libwww" ,perl-libwww)
3723 ("perl-uri" ,perl-uri)
3724 ("perl-uri-template" ,perl-uri-template)
3725 ("perl-xml-feed" ,perl-xml-feed)
3726 ("perl-xml-libxml" ,perl-xml-libxml)))
3727 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3728 (synopsis "Search A9 OpenSearch compatible engines")
3730 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3731 http://opensearch.a9.com} compatible search engines.")
3732 (license l:perl-license)))
3734 (define-public perl-www-robotrules
3736 (name "perl-www-robotrules")
3741 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3745 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3746 (build-system perl-build-system)
3748 `(("perl-uri" ,perl-uri)))
3749 (license l:perl-license)
3750 (synopsis "Perl database of robots.txt-derived permissions")
3752 "The WWW::RobotRules module parses /robots.txt files as specified in
3753 \"A Standard for Robot Exclusion\", at
3754 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3755 /robots.txt file to forbid conforming robots from accessing parts of
3757 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3759 (define-public python-feedparser
3761 (name "python-feedparser")
3766 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3769 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3770 (build-system python-build-system)
3774 "https://github.com/kurtmckee/feedparser")
3775 (synopsis "Parse feeds in Python")
3777 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3778 CDF, Atom 0.3, and Atom 1.0 feeds.")
3779 (license (list l:bsd-2 ; source code
3780 l:freebsd-doc)))) ; documentation
3782 (define-public python2-feedparser
3783 (package-with-python2 python-feedparser))
3785 (define-public r-httpuv
3791 (uri (cran-uri "httpuv" version))
3794 "0h3hkw575b211bxma23inbq1565wkhiapgasd539h219apqs534f"))))
3795 (build-system r-build-system)
3796 (native-inputs `(("r-rcpp" ,r-rcpp)))
3797 (home-page "https://github.com/rstudio/httpuv")
3798 (synopsis "HTTP and WebSocket server library for R")
3800 "The httpuv package provides low-level socket and protocol support for
3801 handling HTTP and WebSocket requests directly from within R. It is primarily
3802 intended as a building block for other packages, rather than making it
3803 particularly easy to create complete web applications using httpuv alone.")
3804 ;; This package includes third-party code that was originally released
3805 ;; under various non-copyleft licenses. Full licensing information can be
3806 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3809 (define-public r-jsonlite
3815 (uri (cran-uri "jsonlite" version))
3818 "00lfg464jhf7k01bal9pcjvbdf5cxk6xi2h46hccp1x3h883g434"))))
3819 (build-system r-build-system)
3820 (home-page "http://arxiv.org/abs/1403.2805")
3821 (synopsis "Robust, high performance JSON parser and generator for R")
3823 "The jsonlite package provides a fast JSON parser and generator optimized
3824 for statistical data and the web. It offers flexible, robust, high
3825 performance tools for working with JSON in R and is particularly powerful for
3826 building pipelines and interacting with a web API. In addition to converting
3827 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3828 and prettify JSON data. The unit tests included with the package verify that
3829 all edge cases are encoded and decoded consistently for use with dynamic data
3830 in systems and applications.")
3833 (define-public r-servr
3839 (uri (cran-uri "servr" version))
3842 "0bs0i5mjfzxfshqz8i30nhn7kvgwly4fqn5bfq6dqfdrn7biai2x"))))
3843 (build-system r-build-system)
3845 `(("r-httpuv" ,r-httpuv)
3846 ("r-jsonlite" ,r-jsonlite)
3848 ("r-xfun" ,r-xfun)))
3850 `(("r-rcpp" ,r-rcpp)))
3851 (home-page "https://github.com/yihui/servr")
3852 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3854 "Servr provides an HTTP server in R to serve static files, or dynamic
3855 documents that can be converted to HTML files (e.g., R Markdown) under a given
3859 (define-public r-htmltools
3861 (name "r-htmltools")
3865 (uri (cran-uri "htmltools" version))
3868 "18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4"))))
3869 (build-system r-build-system)
3872 (modify-phases %standard-phases
3873 ;; See https://github.com/rstudio/htmltools/pull/68
3874 ;; The resource files are in the store and have mode 444. After
3875 ;; copying the files R fails to remove them again because it doesn't
3876 ;; have write access to them.
3877 (add-after 'unpack 'copy-files-without-mode
3879 (substitute* "R/html_dependency.R"
3880 (("file.copy\\(from, to, " prefix)
3881 (string-append prefix
3882 "copy.mode = FALSE, ")))
3885 `(("r-digest" ,r-digest)
3886 ("r-rcpp" ,r-rcpp)))
3887 (home-page "https://cran.r-project.org/web/packages/htmltools")
3888 (synopsis "R tools for HTML")
3890 "This package provides tools for HTML generation and output in R.")
3893 (define-public r-htmlwidgets
3895 (name "r-htmlwidgets")
3899 (uri (cran-uri "htmlwidgets" version))
3902 "04c4d0mfcy3dkdlbxnaccpdgxvyxfdwfmmh5djim6v9hyg0j2z8s"))))
3903 (build-system r-build-system)
3905 `(("r-htmltools" ,r-htmltools)
3906 ("r-jsonlite" ,r-jsonlite)
3907 ("r-yaml" ,r-yaml)))
3908 (home-page "https://github.com/ramnathv/htmlwidgets")
3909 (synopsis "HTML Widgets for R")
3911 "HTML widgets is a framework for creating HTML widgets that render in
3912 various contexts including the R console, R Markdown documents, and Shiny web
3916 (define-public r-htmltable
3918 (name "r-htmltable")
3923 (uri (cran-uri "htmlTable" version))
3926 "1lbpi0kkk8b41w10scmlf27dg5azcv51a4q3p5bpqyphrnqp78k4"))))
3927 (properties `((upstream-name . "htmlTable")))
3928 (build-system r-build-system)
3930 `(("r-checkmate" ,r-checkmate)
3931 ("r-htmltools" ,r-htmltools)
3932 ("r-htmlwidgets" ,r-htmlwidgets)
3933 ("r-knitr" ,r-knitr)
3934 ("r-magrittr" ,r-magrittr)
3935 ("r-rstudioapi" ,r-rstudioapi)
3936 ("r-stringr" ,r-stringr)))
3937 (home-page "http://gforge.se/packages/")
3938 (synopsis "Advanced tables for Markdown/HTML")
3940 "This package provides functions to build tables with advanced layout
3941 elements such as row spanners, column spanners, table spanners, zebra
3942 striping, and more. While allowing advanced layout, the underlying
3943 CSS-structure is simple in order to maximize compatibility with word
3944 processors such as LibreOffice. The package also contains a few text
3945 formatting functions that help outputting text compatible with HTML or
3949 (define-public r-curl
3955 (uri (cran-uri "curl" version))
3958 "15hmy71310hnf9yqvz0icx4cq939gv6iqaifzlfdh2ia8akawdhn"))))
3959 (build-system r-build-system)
3962 (modify-phases %standard-phases
3963 ;; The environment variable CURL_CA_BUNDLE is only respected when
3964 ;; running Windows, so we disable the platform checks.
3965 ;; This can be removed once the libcurl has been patched.
3966 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3968 (substitute* "R/onload.R"
3969 (("if \\(!grepl\\(\"mingw\".*")
3971 (substitute* "src/handle.c"
3972 (("#ifdef _WIN32") "#if 1"))
3975 `(("libcurl" ,curl)))
3976 (home-page "https://github.com/jeroenooms/curl")
3977 (synopsis "HTTP client for R")
3979 "The @code{curl()} and @code{curl_download()} functions provide highly
3980 configurable drop-in replacements for base @code{url()} and
3981 @code{download.file()} with better performance, support for encryption, gzip
3982 compression, authentication, and other @code{libcurl} goodies. The core of
3983 the package implements a framework for performing fully customized requests
3984 where data can be processed either in memory, on disk, or streaming via the
3985 callback or connection interfaces.")
3988 (define-public r-hwriter
3995 (uri (cran-uri "hwriter" version))
3998 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
3999 (build-system r-build-system)
4000 (home-page "https://cran.r-project.org/web/packages/hwriter")
4001 (synopsis "Output R objects in HTML format")
4003 "This package provides easy-to-use and versatile functions to output R
4004 objects in HTML format.")
4005 (license l:lgpl2.1+)))
4007 (define-public r-rjson
4014 (uri (cran-uri "rjson" version))
4017 "1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
4018 (build-system r-build-system)
4019 (home-page "https://cran.r-project.org/web/packages/rjson")
4020 (synopsis "JSON library for R")
4022 "This package provides functions to convert R objects into JSON objects
4026 (define-public gumbo-parser
4028 (name "gumbo-parser")
4032 (uri (string-append "https://github.com/google/"
4033 "gumbo-parser/archive/v" version ".tar.gz"))
4034 (file-name (string-append name "-" version ".tar.gz"))
4037 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
4038 (build-system gnu-build-system)
4040 `(#:tests? #f ; tests require bundling googletest sources
4042 (modify-phases %standard-phases
4043 (add-after 'unpack 'bootstrap
4044 (lambda _ (zero? (system* "sh" "autogen.sh")))))))
4045 ;; The release tarball lacks the generated files.
4047 `(("autoconf" ,autoconf)
4048 ("automake" ,automake)
4049 ("libtool" ,libtool)))
4050 (home-page "https://github.com/google/gumbo-parser")
4051 (synopsis "HTML5 parsing library")
4053 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4054 a pure C99 library.")
4055 (license l:asl2.0)))
4057 (define-public uwsgi
4063 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4067 "1wlbaairsmhp6bx5wv282q9pgh6w7w6yrb8vxjznfaxrinsfkhix"))))
4068 (build-system gnu-build-system)
4069 (outputs '("out" "python"))
4071 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4072 ;; But there is no obvious way to run the real tests.
4075 (modify-phases %standard-phases
4077 ;; Configuration is done by writing an ini file.
4078 (lambda* (#:key outputs #:allow-other-keys)
4079 (let* ((out (assoc-ref outputs "out"))
4080 (bindir (string-append out "/bin"))
4081 (plugindir (string-append out "/lib/uwsgi")))
4082 ;; The build phase outputs files to these directories directly.
4085 ;; XXX: Enable other plugins.
4086 (call-with-output-file "buildconf/guix.ini"
4088 (format port "[uwsgi]
4094 plugins = cgi,python
4096 " bindir plugindir))))
4097 (setenv "PROFILE" "guix")
4100 ;; Move plugins into their own output.
4101 (lambda* (#:key outputs #:allow-other-keys)
4102 (let* ((out (assoc-ref outputs "out"))
4103 (plugindir (string-append out "/lib/uwsgi"))
4104 (python-plugin (string-append
4105 plugindir "/python_plugin.so")))
4106 (install-file python-plugin
4108 (assoc-ref outputs "python") "/lib/uwsgi"))
4109 (delete-file python-plugin)
4112 `(("pkg-config" ,pkg-config)
4113 ("python" ,python-wrapper)))
4115 `(("jansson" ,jansson)
4116 ("libxml2" ,libxml2)
4117 ("libyaml" ,libyaml)
4118 ("openssl" ,openssl)
4122 ("python" ,python)))
4123 (home-page "https://uwsgi-docs.readthedocs.org/")
4124 (synopsis "Application container server")
4126 "uWSGI presents a complete stack for networked/clustered web applications,
4127 implementing message/object passing, caching, RPC and process management.
4128 It uses the uwsgi protocol for all the networking/interprocess communications.")
4129 (license l:gpl2+))) ; with linking exception
4137 (uri (string-append "https://github.com/stedolan/" name
4138 "/releases/download/" name "-" version
4139 "/" name "-" version ".tar.gz"))
4142 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
4143 ;; This patch has been pushed and the vulnerability will be
4144 ;; fixed in the next release after 1.5.
4145 ;; https://github.com/stedolan/jq/issues/995
4146 (patches (search-patches "jq-CVE-2015-8863.patch"))))
4148 `(("oniguruma" ,oniguruma)))
4150 `(;; TODO fix gems to generate documentation
4152 ;;("bundler" ,bundler)
4153 ("valgrind" ,valgrind)))
4154 (build-system gnu-build-system)
4155 (home-page "http://stedolan.github.io/jq/")
4156 (synopsis "Command-line JSON processor")
4157 (description "jq is like sed for JSON data – you can use it to slice and
4158 filter and map and transform structured data with the same ease that sed, awk,
4159 grep and friends let you play with text. It is written in portable C. jq can
4160 mangle the data format that you have into the one that you want with very
4161 little effort, and the program to do so is often shorter and simpler than
4163 (license (list l:expat l:cc-by3.0))))
4165 (define-public uhttpmock
4172 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4173 name "-" version ".tar.xz"))
4176 "163py4klka423x7li2b685gmg3a6hjf074mlff2ajhmi3l0lm8x6"))))
4177 (build-system glib-or-gtk-build-system)
4180 (modify-phases %standard-phases
4181 (add-before 'check 'use-empty-ssl-cert-file
4183 ;; Search for ca-certificates.crt files
4184 ;; during the check phase.
4185 (setenv "SSL_CERT_FILE" "/dev/null")
4188 `(("gobject-introspection" ,gobject-introspection)
4190 ("glib-networking" ,glib-networking)
4191 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4192 ("pkg-config" ,pkg-config)))
4194 `(("libsoup" ,libsoup)))
4195 (home-page "https://gitlab.com/groups/uhttpmock")
4196 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4198 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4199 HTTPS. It provides a library, libuhttpmock, which implements recording and
4200 playback of HTTP request/response traces.")
4201 (license l:lgpl2.1+)))
4206 (version "2012-05-31")
4210 "http://www.home.unix-ag.org/simon/woof-"
4214 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4215 (build-system trivial-build-system)
4217 '(#:modules ((guix build utils))
4220 (use-modules (guix build utils))
4221 (let* ((source (assoc-ref %build-inputs "source"))
4222 (out (assoc-ref %outputs "out"))
4223 (bin (string-append out "/bin"))
4224 (python (assoc-ref %build-inputs "python")))
4226 (with-directory-excursion bin
4227 (copy-file source "woof")
4228 (patch-shebang "woof" (list (string-append python "/bin")))
4229 (chmod "woof" #o555))
4231 (inputs `(("python" ,python-2)))
4232 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4233 (synopsis "Single file web server")
4234 (description "Woof (Web Offer One File) is a small simple web server that
4235 can easily be invoked on a single file. Your partner can access the file with
4236 tools they trust (e.g. wget).")
4239 (define netsurf-buildsystem
4241 (name "netsurf-buildsystem")
4246 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4247 "buildsystem-" version ".tar.gz"))
4250 "0p5k708lcq8dip9xxck6hml32bjrbyipprm22bbsvdnsc0pqm71x"))))
4251 (build-system gnu-build-system)
4252 (inputs `(("perl" ,perl)))
4254 '(#:make-flags (list (string-append "PREFIX=" %output))
4255 #:tests? #f ;no tests
4256 #:phases (modify-phases %standard-phases
4259 (home-page "http://www.netsurf-browser.org")
4260 (synopsis "Build system for the Netsurf project")
4262 "This package provides the shared build system for Netsurf project
4266 (define netsurf-buildsystem-arguments
4267 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4268 "CC=gcc" "BUILD_CC=gcc"
4269 ,(string-append "PREFIX=" %output)
4270 ,(string-append "NSSHARED="
4271 (assoc-ref %build-inputs
4272 "netsurf-buildsystem")
4273 "/share/netsurf-buildsystem"))
4274 #:test-target "test"
4275 #:phases (modify-phases %standard-phases
4276 (delete 'configure))))
4278 (define-public libparserutils
4280 (name "libparserutils")
4285 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4286 name "-" version "-src.tar.gz"))
4289 "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
4290 (build-system gnu-build-system)
4292 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4293 ("pkg-config" ,pkg-config)
4294 ("perl" ,perl))) ;for test harness
4295 (arguments netsurf-buildsystem-arguments)
4296 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
4297 (synopsis "Parser building library")
4299 "LibParserUtils is a library for building efficient parsers, written in
4300 C. It is developed as part of the NetSurf project.")
4303 (define-public hubbub
4310 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4311 "lib" name "-" version "-src.tar.gz"))
4314 "1shi4hv8drn9zy8f2f6yhnz2dqnpg5jkybvqhzggfjx1q35fbxz3"))
4315 (patches (search-patches "hubbub-sort-entities.patch"))))
4316 (build-system gnu-build-system)
4318 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4319 ("pkg-config" ,pkg-config)
4320 ("doxygen" ,doxygen)
4321 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4324 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4325 (arguments netsurf-buildsystem-arguments)
4326 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
4327 (synopsis "HTML5 compliant parsing library")
4329 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4330 parse both valid and invalid web content. It is developed as part of the
4334 (define-public ikiwiki
4337 (version "3.20170111")
4341 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4342 "20170111T215449Z/pool/main/i/ikiwiki/ikiwiki_"
4346 "00d7yzv426fvqbhvzyafddv7fa6b4j2647b0wi371wd5yjj9j3sz"))))
4347 (build-system perl-build-system)
4349 `(;; Image tests fail
4351 ;; Test Summary Report
4352 ;; -------------------
4353 ;; t/img.t (Wstat: 2304 Tests: 62 Failed: 9)
4354 ;; Failed tests: 21, 27-28, 30-35
4355 ;; Non-zero exit status: 9
4358 (modify-phases %standard-phases
4359 (add-after 'unpack 'include-PERL5LIB-in-wrapper
4361 (substitute* "IkiWiki/Wrapper.pm"
4362 (("^@wrapper\\_hooks")
4365 " addenv(\"PERL5LIB\", \""
4368 (add-after 'install 'wrap-programs
4369 (lambda* (#:key outputs #:allow-other-keys)
4370 (let* ((out (assoc-ref outputs "out"))
4371 (bin (string-append out "/bin/"))
4372 (path (getenv "PERL5LIB")))
4373 (for-each (lambda (file)
4375 `("PERL5LIB" ":" prefix (,path))))
4380 ("perl-html-tagset" ,perl-html-tagset)
4381 ("perl-timedate" ,perl-timedate)
4382 ("perl-xml-sax" ,perl-xml-sax)
4383 ("perl-xml-simple" ,perl-xml-simple)
4384 ("gettext" ,gettext-minimal)
4385 ("subversion" ,subversion)
4389 ("mercurial" ,mercurial)))
4391 `(("python" ,python-wrapper)
4392 ("perl-cgi-session" ,perl-cgi-session)
4393 ("perl-cgi-simple" ,perl-cgi-simple)
4394 ("perl-json" ,perl-json)
4395 ("perl-image-magick" ,perl-image-magick)
4396 ("perl-uri" ,perl-uri)
4397 ("perl-html-parser" ,perl-html-parser)
4398 ("perl-uri" ,perl-uri)
4399 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4400 ("perl-html-scrubber" ,perl-html-scrubber)
4401 ("perl-html-template" ,perl-html-template)
4402 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4403 (home-page "https://ikiwiki.info/")
4404 (synopsis "Wiki compiler, capable of generating HTML")
4406 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4407 pages, but also incorporating dynamic features like a web based editor and
4411 (define-public libwapcaplet
4413 (name "libwapcaplet")
4418 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4419 name "-" version "-src.tar.gz"))
4422 "15yr0pl6qa6biy36qkmd949ydbjzpqiaccpx3sprh4jknabsk1vv"))))
4423 (build-system gnu-build-system)
4425 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4426 ("pkg-config" ,pkg-config)
4427 ("check" ,check))) ;for tests
4428 (arguments netsurf-buildsystem-arguments)
4429 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
4430 (synopsis "String internment library")
4432 "LibWapcaplet provides a reference counted string internment system
4433 designed to store small strings and allow rapid comparison of them. It is
4434 developed as part of the Netsurf project.")
4437 (define-public libcss
4444 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4445 name "-" version "-src.tar.gz"))
4448 "16mns3h8vj7iw8myvgnw58q84irvbjlvfkxh8mdw6fbkjvaa7cnz"))))
4449 (build-system gnu-build-system)
4451 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4452 ("pkg-config" ,pkg-config)
4454 (propagated-inputs ;needed for libcss.pc
4455 `(("libparserutils" ,libparserutils)
4456 ("libwapcaplet" ,libwapcaplet)))
4457 (arguments netsurf-buildsystem-arguments)
4458 (home-page "http://www.netsurf-browser.org/projects/libcss/")
4459 (synopsis "CSS parser and selection library")
4461 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4462 written in C. It is developed as part of the NetSurf project.")
4465 (define-public libdom
4472 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4473 name "-" version "-src.tar.gz"))
4476 "1zb7x2qwm6p11lph6j2vcyp4a0a8i1klkqilnk5vb4qmlzzpcv7i"))))
4477 (build-system gnu-build-system)
4479 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4480 ("pkg-config" ,pkg-config)
4481 ("perl" ,perl) ;for test harness
4482 ("perl-libxml" ,perl-libxml)
4483 ("perl-switch" ,perl-switch)
4484 ("perl-xml-xpath" ,perl-xml-xpath)))
4486 `(("libparserutils" ,libparserutils)
4487 ("libwapcaplet" ,libwapcaplet)))
4489 `(("expat" ,expat) ;needed for headers and linking
4490 ("hubbub" ,hubbub))) ;for libdom.pc
4492 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4493 ,@netsurf-buildsystem-arguments))
4494 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4495 (synopsis "Implementation of the W3C DOM")
4497 "LibDOM is an implementation of the W3C DOM, written in C. It is
4498 developed as part of the NetSurf project.")
4501 (define-public libsvgtiny
4508 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4509 name "-" version "-src.tar.gz"))
4512 "12ppy2r7m21ykrjgbf067cgi6dn48fkj7i4b7m64xl4dc13y0ah6"))))
4513 (build-system gnu-build-system)
4515 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4516 ("pkg-config" ,pkg-config)
4517 ("gperf" ,gperf-3.0)))
4519 `(("libwapcaplet" ,libwapcaplet)))
4521 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4522 (arguments netsurf-buildsystem-arguments)
4523 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4524 (synopsis "Library for parsing SVG files")
4526 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4527 which can be rendered easily, as defined in
4528 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4532 (define-public libnsbmp
4539 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4540 name "-" version "-src.tar.gz"))
4543 "0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
4544 (build-system gnu-build-system)
4546 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4547 (arguments netsurf-buildsystem-arguments)
4548 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4549 (synopsis "Decoding library for BMP and ICO files")
4551 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4552 written in C. It is developed as part of the NetSurf project.")
4555 (define-public libnsgif
4562 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4563 name "-" version "-src.tar.gz"))
4566 "1phwf0m24m6nd7096fw14hanl4f8gr9bcppi834lbik04agxk38a"))))
4567 (build-system gnu-build-system)
4569 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4570 (arguments netsurf-buildsystem-arguments)
4571 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4572 (synopsis "Decoding library for GIF files")
4574 "Libnsgif is a decoding library for the GIF image file format, written in
4575 C. It is developed as part of the NetSurf project.")
4578 (define-public libnsutils
4585 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4586 name "-" version "-src.tar.gz"))
4589 "0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
4590 (build-system gnu-build-system)
4592 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4593 (arguments netsurf-buildsystem-arguments)
4594 (home-page "http://www.netsurf-browser.org/")
4595 (synopsis "Utility library for NetSurf")
4597 "Libnsutils provides a small number of useful utility routines. It is
4598 developed as part of the NetSurf project.")
4601 (define-public libnspsl
4608 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4609 name "-" version "-src.tar.gz"))
4612 "0wim5hwzwrfrvvap096whf79m2mnfivbqhqlh03ci9d89xb1w0y9"))))
4613 (build-system gnu-build-system)
4615 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4616 (arguments netsurf-buildsystem-arguments)
4617 (home-page "http://www.netsurf-browser.org/")
4618 (synopsis "Library to generate a static Public Suffix List")
4620 "Libnspsl is a library to generate a static code representation of the
4621 Public Suffix List. It is developed as part of the NetSurf project.")
4624 (define-public nsgenbind
4631 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4632 name "-" version "-src.tar.gz"))
4635 "1iwjpdaan0njlhb9ir6a2q5vpxfmkqfldkvnqszqdz50b44vd1jv"))))
4636 (build-system gnu-build-system)
4638 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4642 (substitute-keyword-arguments netsurf-buildsystem-arguments
4643 ((#:make-flags flags)
4644 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4645 (home-page "http://www.netsurf-browser.org/")
4646 (synopsis "Generate JavaScript to DOM bindings")
4648 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4649 w3c webidl files and a binding configuration file.")
4652 (define-public netsurf
4659 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4660 "releases/source/netsurf-" version "-src.tar.gz"))
4663 "05kynfzzwd4fc03vbqdjpghh5xnk2yrh43w7vikak89vla30mhpg"))
4664 (patches (search-patches "netsurf-system-utf8proc.patch"
4665 "netsurf-y2038-tests.patch"
4666 "netsurf-longer-test-timeout.patch"))))
4667 (build-system glib-or-gtk-build-system)
4669 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4670 ("nsgenbind" ,nsgenbind)
4671 ("libidn" ,libidn) ;only for tests
4674 ("perl-html-parser" ,perl-html-parser)
4675 ("pkg-config" ,pkg-config)))
4679 ("openssl" ,openssl)
4680 ("utf8proc" ,utf8proc)
4682 ("libjpeg" ,libjpeg)
4685 ("libnsbmp" ,libnsbmp)
4686 ("libnsgif" ,libnsgif)
4687 ("libnspsl" ,libnspsl)
4688 ("libnsutils" ,libnsutils)
4689 ("libsvgtiny" ,libsvgtiny)
4690 ("miscfiles" ,miscfiles)))
4692 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4693 ,(string-append "PREFIX=" %output)
4694 ,(string-append "NSSHARED="
4695 (assoc-ref %build-inputs
4696 "netsurf-buildsystem")
4697 "/share/netsurf-buildsystem"))
4698 #:test-target "test"
4699 #:modules ((ice-9 rdelim)
4703 ,@%glib-or-gtk-build-system-modules)
4705 (modify-phases %standard-phases
4707 (add-after 'build 'adjust-welcome
4709 ;; First, fix some unended tags and simple substitutions
4710 (substitute* "frontends/gtk/res/welcome.html"
4711 (("<(img|input)([^>]*)>" _ tag contents)
4712 (string-append "<" tag contents " />"))
4713 (("Licence") "License") ;prefer GNU spelling
4714 ((" open source") ", free software")
4715 (("web site") "website")
4716 ;; Prefer privacy-respecting default search engine
4717 (("www.google.co.uk") "www.duckduckgo.com/html")
4718 (("Google Search") "DuckDuckGo Search")
4719 (("name=\"btnG\"") ""))
4720 ;; Remove default links so it doesn't seem we're endorsing them
4721 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4723 ;; Leave the DOCTYPE header as is
4724 (display (read-line in 'concat) out)
4726 (let rec ((sxml (xml->sxml in)))
4727 ;; We'd like to use sxml-match here, but it can't
4728 ;; match against generic tag symbols...
4730 (`(div (@ (class "links")) . ,rest)
4737 (add-before 'check 'patch-check
4738 (lambda* (#:key inputs #:allow-other-keys)
4739 (substitute* '("test/bloom.c" "test/hashtable.c")
4740 (("/usr/share/dict/words")
4741 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4743 (add-after 'install 'install-more
4744 (lambda* (#:key outputs #:allow-other-keys)
4745 (let* ((out (assoc-ref outputs "out"))
4746 (desktop (string-append out "/share/applications/"
4747 "netsurf.desktop")))
4748 (mkdir-p (dirname desktop))
4749 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4751 (substitute* desktop
4752 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk"))
4753 (("netsurf.png") (string-append out "/share/netsurf/"
4755 (install-file "docs/netsurf-gtk.1"
4756 (string-append out "/share/man/man1/"))
4758 (home-page "http://www.netsurf-browser.org")
4759 (synopsis "Web browser")
4761 "NetSurf is a lightweight web browser that has its own layout and
4762 rendering engine entirely written from scratch. It is small and capable of
4763 handling many of the web standards in use today.")
4766 (define-public surfraw
4772 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4773 name "-" version ".tar.gz"))
4776 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4777 (build-system gnu-build-system)
4780 (modify-phases %standard-phases
4781 (add-before 'configure 'patch-perl
4782 (lambda* (#:key inputs #:allow-other-keys)
4783 (let ((perl (assoc-ref inputs "perl")))
4784 (substitute* "surfraw.IN"
4786 (string-append perl "/bin/perl -e")))
4788 (add-after 'install 'compress-elvi.1sr
4789 (lambda* (#:key outputs #:allow-other-keys)
4790 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4791 ;; but elvi.1sr does not get compressed by our manpage phase.
4792 (let* ((out (assoc-ref %outputs "out"))
4793 (man (string-append out "/share/man/man1")))
4794 (with-directory-excursion man
4795 (zero? (system* "gzip" "elvi.1sr")))))))))
4798 ("perl-www-opensearch" ,perl-www-opensearch)
4799 ("perl-html-parser" ,perl-html-parser)
4800 ("perl-libwww" ,perl-libwww)))
4801 (synopsis "Unix command line interface to the www")
4802 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4803 provides a unix command line interface to a variety of popular www search engines
4804 and similar services.")
4805 (home-page "https://surfraw.alioth.debian.org/")
4806 (license l:public-domain)))
4808 (define-public darkhttpd
4815 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4816 version ".tar.bz2"))
4819 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4820 (build-system gnu-build-system)
4822 `(#:make-flags '("CC=gcc")
4823 #:tests? #f ; No test suite
4825 (modify-phases %standard-phases
4828 (lambda* (#:key outputs #:allow-other-keys)
4829 (install-file "darkhttpd"
4830 (string-append (assoc-ref outputs "out")
4833 (synopsis "Simple static web server")
4834 (description "darkhttpd is a simple static web server. It is
4835 standalone and does not need inetd or ucspi-tcp. It does not need any
4836 config files---you only have to specify the www root.")
4837 (home-page "https://unix4lyfe.org/darkhttpd/")
4840 (define-public goaccess
4846 (uri (string-append "http://tar.goaccess.io/goaccess-"
4850 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4851 (modules '((guix build utils)))
4853 '(substitute* "src/error.h"
4854 (("__DATE__") "\"1970-01-01\"")
4855 (("__TIME__") "\"00:00:00\"")))))
4856 (build-system gnu-build-system)
4858 ;; TODO: Add dependency on geoip-tools.
4860 ("ncurses" ,ncurses)))
4862 `(("pkg-config" ,pkg-config)))
4863 (home-page "https://goaccess.io")
4864 (synopsis "Analyze Web server logs in real time")
4866 "GoAccess is a real-time web log analyzer and interactive viewer that
4867 runs in a terminal or through your browser. It provides fast and valuable
4868 HTTP statistics for system administrators that require a visual server report
4872 (define-public httptunnel
4879 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4880 name "-" version ".tar.gz"))
4883 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4884 (modules '((guix build utils)))
4886 ;; Remove non-free IETF RFC documentation.
4887 '(delete-file-recursively "doc"))))
4888 (build-system gnu-build-system)
4891 (modify-phases %standard-phases
4892 ;; The default configure phase tries to pass environment variables as
4893 ;; command-line arguments, which confuses the ./configure script.
4895 (lambda* (#:key outputs #:allow-other-keys)
4896 (let* ((out (assoc-ref outputs "out")))
4897 (setenv "CONFIG_SHELL" (which "bash"))
4898 (zero? (system* "./configure"
4899 (string-append "--prefix=" out)))))))))
4900 (home-page "http://www.nocrew.org/software/httptunnel.html")
4901 (synopsis "Tunnel data connections through HTTP requests")
4902 (description "httptunnel creates a bidirectional virtual data connection
4903 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4904 useful for users behind restrictive firewalls. As long as Web traffic is
4905 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4906 tools like SSH (Secure Shell) to reach the outside world.")
4909 (define-public stunnel
4916 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4920 "1692y69wl7j6yjgnrrzclgzb34bxsaxjzl1dfy47vms7pdfk42lr"))))
4921 (build-system gnu-build-system)
4922 (inputs `(("openssl" ,openssl)))
4925 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))))
4926 (home-page "https://www.stunnel.org")
4927 (synopsis "TLS proxy for clients or servers")
4928 (description "Stunnel is a proxy designed to add TLS encryption
4929 functionality to existing clients and servers without any changes in the
4930 programs' code. Its architecture is optimized for security, portability, and
4931 scalability (including load-balancing), making it suitable for large
4935 (define-public xinetd
4943 (string-append "https://github.com/xinetd-org/xinetd/archive/xinetd-"
4944 (string-join (string-split version #\.) "-") ".tar.gz"))
4945 (patches (search-patches "xinetd-CVE-2013-4342.patch"
4946 "xinetd-fix-fd-leak.patch"))
4949 "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
4950 (build-system gnu-build-system)
4952 `(#:configure-flags '("--with-loadavg")
4953 #:tests? #f)) ; no tests
4954 (home-page "https://github.com/xinetd-org/xinetd")
4955 (synopsis "Internet services daemon")
4956 (description "@code{xinetd}, a more secure replacement for @code{inetd},
4957 listens for incoming requests over a network and launches the appropriate
4958 service for that request. Requests are made using port numbers as identifiers
4959 and xinetd usually launches another daemon to handle the request. It can be
4960 used to start services with both privileged and non-privileged port numbers.")
4961 (license (l:fsf-free "file://COPYRIGHT"))))
4963 (define-public tidy-html
4970 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
4972 (file-name (string-append name "-" version ".tar.gz"))
4975 "0n29wcgw32rhnraj9j21ibhwi0xagmmcskhbaz8ihxly7nx3p9h8"))))
4976 (build-system cmake-build-system)
4978 "static")) ; 1.0MiB of .a files
4980 `(#:tests? #f ; no tests available
4981 #:build-type "Release"
4983 (modify-phases %standard-phases
4984 (add-after 'install 'move-static-libraries
4985 (lambda* (#:key outputs #:allow-other-keys)
4986 ;; Move static libraries to the "static" output.
4987 (let* ((out (assoc-ref outputs "out"))
4988 (lib (string-append out "/lib"))
4989 (static (assoc-ref outputs "static"))
4990 (slib (string-append static "/lib")))
4992 (for-each (lambda (file)
4993 (install-file file slib)
4995 (find-files lib "\\.a$"))
4998 `(("libxslt" ,libxslt)))
4999 (home-page "http://www.html-tidy.org/")
5000 (synopsis "HTML Tidy with HTML5 support")
5002 "Tidy is a console application which corrects and cleans up
5003 HTML and XML documents by fixing markup errors and upgrading
5004 legacy code to modern standards.
5006 Tidy also provides @code{libtidy}, a C static and dynamic library that
5007 developers can integrate into their applications to make use of the
5008 functions of Tidy.")
5011 (define-public hiawatha
5018 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5019 "hiawatha-" version ".tar.gz"))
5020 (modules '((guix build utils)))
5022 ;; We use our packaged mbedtls, so delete the included copy.
5023 '(delete-file-recursively "mbedtls"))
5026 "0x2zfc8kc6c7rl4gwymwmg13w1c60biv6c6c9fvzpnl59bc9jgin"))))
5027 (build-system cmake-build-system)
5029 `(#:tests? #f ; No tests included
5030 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5031 (string-append "-DENABLE_TOMAHAWK=on")
5032 (string-append "-DWEBROOT_DIR="
5033 (assoc-ref %outputs "out")
5034 "/share/hiawatha/html"))
5036 (modify-phases %standard-phases
5037 (add-after 'install 'remove-empty-dirs
5038 (lambda* (#:key outputs #:allow-other-keys)
5039 (let* ((out (assoc-ref outputs "out")))
5040 ;; The directories in "var" are empty, remove them.
5041 (delete-file-recursively (string-append out "/var"))
5043 (add-after 'install 'wrap
5044 (lambda* (#:key inputs outputs #:allow-other-keys)
5045 ;; Make sure 'hiawatha' finds 'mbedtls'.
5046 (let* ((out (assoc-ref outputs "out"))
5047 (sbin (string-append out "/sbin"))
5048 (mbed (assoc-ref inputs "mbedtls-apache")))
5049 (wrap-program (string-append sbin "/hiawatha")
5050 `("PATH" ":" prefix (,mbed)))))))))
5052 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
5053 `(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
5055 ("libxslt" ,libxslt)
5056 ("libxml2" ,libxml2)))
5057 (home-page "https://www.hiawatha-webserver.org")
5058 (synopsis "Webserver with focus on security")
5060 "Hiawatha has been written with security in mind.
5061 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5065 (define-public python-httpbin
5067 (name "python-httpbin")
5072 (uri (pypi-uri "httpbin" version))
5075 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5076 (build-system python-build-system)
5078 `(("python-decorator" ,python-decorator)
5079 ("python-flask" ,python-flask)
5080 ("python-itsdangerous" ,python-itsdangerous)
5081 ("python-markupsafe" ,python-markupsafe)
5082 ("python-six" ,python-six)))
5083 (home-page "https://github.com/Runscope/httpbin")
5084 (synopsis "HTTP request and response service")
5085 (description "Testing an HTTP Library can become difficult sometimes.
5086 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5087 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5091 (define-public python2-httpbin
5092 (package-with-python2 python-httpbin))
5094 (define-public python-pytest-httpbin
5096 (name "python-pytest-httpbin")
5101 (uri (pypi-uri "pytest-httpbin" version))
5104 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5105 (build-system python-build-system)
5107 `(("python-six" ,python-six)
5108 ("python-httpbin" ,python-httpbin)
5109 ("python-pytest" ,python-pytest)))
5111 "https://github.com/kevin1024/pytest-httpbin")
5113 "Test your HTTP library against a local copy of httpbin")
5115 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5116 into your tests. It automatically starts up a HTTP server in a separate thread running
5117 @code{httpbin} and provides your test with the URL in the fixture.")
5120 (define-public python2-pytest-httpbin
5121 (package-with-python2 python-pytest-httpbin))
5123 (define-public http-parser
5125 (name "http-parser")
5129 (uri (string-append "https://github.com/nodejs/http-parser/"
5130 "archive/v" version ".tar.gz"))
5131 (file-name (string-append name "-" version ".tar.gz"))
5134 "15ids8k2f0xhnnxh4m85w2f78pg5ndiwrpl24kyssznnp1l5yqai"))))
5135 (build-system gnu-build-system)
5137 `(#:test-target "test"
5139 (list (string-append "PREFIX="
5140 (assoc-ref %outputs "out"))
5143 (modify-phases %standard-phases
5144 (delete 'configure))))
5145 (home-page "https://github.com/nodejs/http-parser")
5146 (synopsis "HTTP request/response parser for C")
5147 (description "This is a parser for HTTP messages written in C. It parses
5148 both requests and responses. The parser is designed to be used in
5149 high-performance HTTP applications. It does not make any syscalls nor
5150 allocations, it does not buffer data, it can be interrupted at anytime.
5151 Depending on your architecture, it only requires about 40 bytes of data per
5152 message stream (in a web server that is per connection).")
5155 (define-public python2-httpretty
5157 (name "python2-httpretty")
5162 (uri (pypi-uri "httpretty" version))
5165 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
5166 (build-system python-build-system)
5168 `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
5169 ("python-sphinx" ,python2-sphinx)
5170 ("python-coverage" ,python2-coverage)
5171 ("python-tornado" ,python2-tornado)
5172 ("python-urllib3" ,python2-urllib3)
5173 ("python-sure" ,python2-sure)
5174 ("python-steadymark" ,python2-steadymark)
5175 ("python-requests" ,python2-requests)
5176 ("python-rednose" ,python2-rednose)
5177 ("python-nose-randomly" ,python2-nose-randomly)
5178 ("python-misaka" ,python2-misaka)
5179 ("python-pytest-httpbin" ,python2-pytest-httpbin)
5180 ("python-nose" ,python2-nose)))
5183 ;; Requires mock>=1.3.0 which requires a more up-to-date
5184 ;; python-pbr. After updating these trying to build the
5185 ;; package leads to failures in python-flake8 and other
5186 ;; packages. The cascade of updates and failures this
5187 ;; leads to, seems to not be worth having the test run.
5190 (modify-phases %standard-phases
5191 (add-before 'build 'patch-test-requirements
5192 (lambda* (#:key inputs #:allow-other-keys)
5193 ;; Update requirements from dependecy==version
5194 ;; to dependency>=version
5195 (substitute* "development.txt"
5198 (home-page "http://github.com/gabrielfalcao/httpretty")
5199 (synopsis "HTTP client mock for Python")
5200 (description "@code{httpretty} is a helper for faking web requests,
5201 inspired by Ruby's @code{fakeweb}.")
5211 (uri (string-append "https://github.com/jpmens/jo/releases/download/v"
5212 version "/jo-" version ".tar.gz"))
5215 "0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3"))))
5216 (build-system gnu-build-system)
5217 (home-page "https://github.com/jpmens/jo")
5218 (synopsis "Output JSON from a shell")
5219 (description "jo is a command-line utility to create JSON objects or
5220 arrays. It creates a JSON string on stdout from words provided as
5221 command-line arguments or read from stdin.")
5222 (license (list l:gpl2+
5223 l:expat)))) ; json.c, json.h
5225 (define-public python-internetarchive
5227 (name "python-internetarchive")
5232 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
5233 "v" version ".tar.gz"))
5234 (file-name (string-append name "-" version ".tar.gz"))
5237 "0sdbb2ag6vmybi8zmbjszi492a587giaaqxyy1p6gy03cb8mc512"))))
5238 (build-system python-build-system)
5241 (modify-phases %standard-phases
5243 (add-after 'install 'check
5244 (lambda* (#:key inputs outputs #:allow-other-keys)
5245 (add-installed-pythonpath inputs outputs)
5246 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
5247 ":" (getenv "PATH")))
5248 (zero? (system* "py.test" "-v" "-k"
5250 ;; These tests attempt to make a connection to
5251 ;; an external web service.
5252 "not test_get_item_with_kwargs"
5253 " and not test_ia"))))))))
5255 `(("python-requests" ,python-requests)
5256 ("python-jsonpatch" ,python-jsonpatch-0.4)
5257 ("python-docopt" ,python-docopt)
5258 ("python-clint" ,python-clint)
5259 ("python-six" ,python-six)
5260 ("python-schema" ,python-schema-0.5)
5261 ("python-backports-csv" ,python-backports-csv)))
5263 `(("python-pytest" ,python-pytest)
5264 ("python-pytest-capturelog" ,python-pytest-capturelog)
5265 ("python-responses" ,python-responses)))
5266 (home-page "https://github.com/jjjake/internetarchive")
5267 (synopsis "Command-line interface to archive.org")
5268 (description "@code{ia} is a command-line tool for using
5269 @url{archive.org} from the command-line. It also emplements the
5270 internetarchive python module for programatic access to archive.org.")
5272 `((python2-variant . ,(delay python2-internetarchive))))
5273 (license l:agpl3+)))
5275 (define-public python2-internetarchive
5276 (package-with-python2
5277 (strip-python2-variant python-internetarchive)))
5279 (define-public python-clf
5280 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
5287 (uri (pypi-uri "clf" version))
5290 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
5291 (build-system python-build-system)
5293 `(("python-docopt" ,python-docopt)
5294 ("python-pygments" ,python-pygments)
5295 ("python-requests" ,python-requests)
5296 ("python-nose" ,python-nose)
5297 ("python-lxml" ,python-lxml)
5298 ("python-pyaml" ,python-pyaml)))
5303 (uri (string-append "https://raw.githubusercontent.com"
5304 "/ncrocfer/clf/" commit-test-clf
5308 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
5311 (modify-phases %standard-phases
5312 (add-after 'unpack 'get-tests
5314 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")))
5317 (zero? (system* "nosetests"
5318 ;; These tests require internet connection
5319 "--exclude=test_browse"
5320 "--exclude=test_command"
5321 "--exclude=test_search")))))))
5322 (home-page "https://github.com/ncrocfer/clf")
5323 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
5324 (description "@code{clf} is a command line tool for searching code
5325 snippets on @url{https://commandlinefu.com}.")
5326 (license l:expat))))
5328 (define-public python2-clf
5329 (package-with-python2 python-clf))
5331 (define-public r-shiny
5338 (uri (string-append "https://github.com/rstudio/shiny/"
5339 "archive/v" version ".tar.gz"))
5340 (file-name (string-append name "-" version ".tar.gz"))
5343 "0z2v2s4hd44mvzjn7r70549kdzkrrch9nxhp27r6x2cy6micizm3"))))
5344 (build-system r-build-system)
5346 `(#:modules ((guix build r-build-system)
5347 (guix build minify-build-system)
5350 #:imported-modules (,@%r-build-system-modules
5351 (guix build minify-build-system))
5353 (modify-phases (@ (guix build r-build-system) %standard-phases)
5354 (add-after 'unpack 'replace-bundled-minified-JavaScript
5355 (lambda* (#:key inputs #:allow-other-keys)
5356 (let ((replace-file (lambda (old new)
5357 (format #t "replacing ~a with ~a\n" old new)
5359 (symlink new old))))
5360 ;; NOTE: Files in ./inst/www/shared/datepicker/js/locales/
5361 ;; contain just data. They are not minified code, so we don't
5363 (with-directory-excursion "inst/www/shared"
5364 (replace-file "bootstrap/shim/respond.min.js"
5365 (string-append (assoc-ref inputs "js-respond")
5366 "/share/javascript/respond.min.js"))
5367 (replace-file "bootstrap/shim/html5shiv.min.js"
5368 (string-append (assoc-ref inputs "js-html5shiv")
5369 "/share/javascript/html5shiv.min.js"))
5370 (replace-file "json2-min.js"
5371 (string-append (assoc-ref inputs "js-json2")
5372 "/share/javascript/json2.min.js"))
5373 (replace-file "strftime/strftime-min.js"
5374 (string-append (assoc-ref inputs "js-strftime")
5375 "/share/javascript/strftime.min.js"))
5376 (replace-file "highlight/highlight.pack.js"
5377 (string-append (assoc-ref inputs "js-highlight")
5378 "/share/javascript/highlight.min.js"))
5379 (replace-file "datatables/js/jquery.dataTables.min.js"
5380 (string-append (assoc-ref inputs "js-datatables")
5381 "/share/javascript/jquery.dataTables.min.js"))
5382 (replace-file "selectize/js/selectize.min.js"
5383 (string-append (assoc-ref inputs "js-selectize")
5384 "/share/javascript/selectize.min.js"))
5385 (replace-file "selectize/js/es5-shim.min.js"
5386 (string-append (assoc-ref inputs "js-es5-shim")
5387 "/share/javascript/es5-shim.min.js"))
5388 (for-each (match-lambda
5390 (delete-file target)
5391 (minify source #:target target)))
5392 '(("jqueryui/jquery-ui.js" .
5393 "jqueryui/jquery-ui.min.js")
5394 ("showdown/src/showdown.js" .
5395 "showdown/compressed/showdown.js")
5396 ("datepicker/js/bootstrap-datepicker.js" .
5397 "datepicker/js/bootstrap-datepicker.min.js")
5398 ("ionrangeslider/js/ion.rangeSlider.js" .
5399 "ionrangeslider/js/ion.rangeSlider.min.js")
5400 ("bootstrap/js/bootstrap.js" .
5401 "bootstrap/js/bootstrap.min.js")
5405 "jquery.min.js")))))
5408 `(("r-httpuv" ,r-httpuv)
5410 ("r-jsonlite" ,r-jsonlite)
5411 ("r-xtable" ,r-xtable)
5412 ("r-digest" ,r-digest)
5413 ("r-htmltools" ,r-htmltools)
5415 ("r-sourcetools" ,r-sourcetools)))
5417 `(("js-datatables" ,js-datatables)
5418 ("js-html5shiv" ,js-html5shiv)
5419 ("js-json2" ,js-json2)
5420 ("js-respond" ,js-respond)
5421 ("js-selectize" ,js-selectize)
5422 ("js-strftime" ,js-strftime)
5423 ("js-highlight" ,js-highlight)
5424 ("js-es5-shim" ,js-es5-shim)))
5425 (home-page "http://shiny.rstudio.com")
5426 (synopsis "Easy interactive web applications with R")
5428 "Makes it incredibly easy to build interactive web applications
5429 with R. Automatic \"reactive\" binding between inputs and outputs and
5430 extensive prebuilt widgets make it possible to build beautiful,
5431 responsive, and powerful applications with minimal effort.")
5432 (license l:artistic2.0)))
5434 (define-public r-shinydashboard
5436 (name "r-shinydashboard")
5440 (uri (cran-uri "shinydashboard" version))
5443 "10yqcqqcxgfqwkmscqwvvgr710im583qsqnsqkfpisjvkqp10yqb"))))
5444 (build-system r-build-system)
5445 ;; The directory inst/AdminLTE/ contains a minified JavaScript file.
5446 ;; Regenerate it from the included sources.
5448 `(#:modules ((guix build utils)
5449 (guix build r-build-system)
5452 (modify-phases %standard-phases
5453 (add-after 'unpack 'generate-minified-javascript
5455 (with-directory-excursion "inst/AdminLTE"
5456 (delete-file "app.min.js")
5457 (let ((minified (open-pipe* OPEN_READ "uglify-js" "app.js")))
5458 (call-with-output-file "app.min.js"
5460 (dump-port minified port))))))))))
5462 `(("r-htmltools" ,r-htmltools)
5463 ("r-shiny" ,r-shiny)))
5465 `(("uglify-js" ,uglify-js)))
5466 (home-page "http://rstudio.github.io/shinydashboard/")
5467 (synopsis "Create dashboards with shiny")
5468 (description "This package provides an extension to the Shiny web
5469 application framework for R, making it easy to create attractive dashboards.")
5470 ;; This package includes software that was released under the Expat
5471 ;; license, but the whole package is released under GPL version 2 or
5475 (define-public r-crosstalk
5477 (name "r-crosstalk")
5482 (uri (cran-uri "crosstalk" version))
5485 "0lfa89vhrzi7a1rghmygcjr8gzddw35sinb3jx6g49mc9jias7mk"))))
5486 (build-system r-build-system)
5488 `(("r-ggplot2" ,r-ggplot2)
5489 ("r-htmltools" ,r-htmltools)
5490 ("r-jsonlite" ,r-jsonlite)
5491 ("r-lazyeval" ,r-lazyeval)
5493 ("r-shiny" ,r-shiny)))
5494 (home-page "https://rstudio.github.io/crosstalk/")
5495 (synopsis "Inter-widget interactivity for HTML widgets")
5497 "This package provides building blocks for allowing HTML widgets to
5498 communicate with each other, with Shiny or without (i.e. static @code{.html}
5499 files). It currently supports linked brushing and filtering.")
5502 (define-public r-rook
5509 (uri (cran-uri "Rook" version))
5512 "00s9a0kr9rwxvlq433daxjk4ji8m0w60hjdprf502msw9kxfrx00"))))
5513 (properties `((upstream-name . "Rook")))
5514 (build-system r-build-system)
5515 (propagated-inputs `(("r-brew" ,r-brew)))
5516 (home-page "https://cran.r-project.org/web/packages/Rook")
5517 (synopsis "Web server interface for R")
5519 "This package contains the Rook specification and convenience software
5520 for building and running Rook applications. A Rook application is an R
5521 reference class object that implements a @code{call} method or an R closure
5522 that takes exactly one argument, an environment, and returns a list with three
5523 named elements: the @code{status}, the @code{headers}, and the @code{body}.")
5526 (define-public rss-bridge
5529 (version "2018-03-11")
5533 (uri (string-append "https://github.com/RSS-Bridge/rss-bridge/archive/"
5535 (file-name (string-append name "-" version ".tar.gz"))
5538 "1ix15ck45yb659k63mhwxwia6qnm9nn8jw0bga85abrvk1rchjdn"))))
5539 (build-system trivial-build-system)
5544 '(#:modules ((guix build utils))
5547 (use-modules (guix build utils)
5549 (let* ((out (assoc-ref %outputs "out"))
5550 (share-rss-bridge (string-append out "/share/rss-bridge")))
5551 (set-path-environment-variable
5552 "PATH" '("bin") (map (match-lambda ((_ . input) input))
5554 (mkdir-p share-rss-bridge)
5555 (system* "tar" "xvf" (assoc-ref %build-inputs "source")
5556 "--strip-components" "1" "-C" share-rss-bridge)
5558 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5559 (synopsis "Generate Atom feeds for social networking websites")
5560 (description "rss-bridge generates Atom feeds for social networking
5561 websites lacking feeds. Supported websites include Facebook, Twitter,
5562 Instagram and YouTube.")
5563 (license (list l:public-domain
5564 l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php
5566 (define-public linkchecker
5568 (name "linkchecker")
5573 (uri (pypi-uri "LinkChecker" version))
5576 "0v8pavf0bx33xnz1kwflv0r7lxxwj7vg3syxhy2wzza0wh6sc2pf"))))
5577 (build-system python-build-system)
5579 `(("python2-requests" ,python2-requests)))
5581 `(#:python ,python-2
5583 (modify-phases %standard-phases
5584 ;; Remove faulty python-requests version check. This has been fixed
5585 ;; upstream, and can be removed in version 9.4.
5586 (add-after 'unpack 'remove-python-requests-version
5588 (substitute* "linkcheck/__init__.py"
5589 (("requests.__version__ <= '2.2.0'") "False"))
5591 (home-page "https://linkcheck.github.io/linkchecker")
5592 (synopsis "Check websites for broken links")
5593 (description "LinkChecker is a website validator. It checks for broken
5594 links in websites. It is recursive and multithreaded providing output in
5595 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
5596 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
5598 (license (list l:gpl2+
5599 l:bsd-2 ; linkcheck/better_exchook2.py
5600 l:bsd-3 ; linkcheck/colorama.py
5601 l:psfl ; linkcheck/gzip2.py
5602 l:expat ; linkcheck/mem.py
5603 ;; FIXME: Unbundle dnspython and miniboa
5604 ;; This issue has been raised upstream
5605 ;; https://github.com/wummel/linkchecker/issues/729
5606 l:isc ; third_party/dnspython
5607 l:asl2.0)))) ; third_party/miniboa
5609 (define-public cadaver
5616 (uri (string-append "http://www.webdav.org/cadaver/"
5617 name "-" version ".tar.gz"))
5620 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
5621 (build-system gnu-build-system)
5622 ;; TODO: Unbundle libneon and make build succeed with new neon.
5624 `(#:configure-flags (list "--with-ssl=openssl")
5625 #:tests? #f)) ;No tests included
5627 `(("gettext" ,gnu-gettext)
5628 ("pkg-config" ,pkg-config)
5629 ("intltool" ,intltool)))
5632 ("openssl" ,openssl)))
5633 (home-page "http://www.webdav.org/cadaver")
5634 (synopsis "Command-line WebDAV client")
5636 "Cadaver is a command-line WebDAV client for Unix. It supports
5637 file upload, download, on-screen display, namespace operations (move/copy),
5638 collection creation and deletion, and locking operations.")
5641 (define-public python-py-ubjson
5643 (name "python-py-ubjson")
5648 (uri (pypi-uri "py-ubjson" version))
5651 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
5652 (build-system python-build-system)
5653 (home-page "https://github.com/Iotic-Labs/py-ubjson")
5654 (synopsis "Universal Binary JSON encoder/decoder")
5656 "Py-ubjson is a Python module providing an Universal Binary JSON
5657 encoder/decoder based on the draft-12 specification for UBJSON.")
5658 (license l:asl2.0)))
5660 (define-public java-tomcat
5662 (name "java-tomcat")
5666 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
5667 version "/src/apache-tomcat-" version "-src.tar.gz"))
5670 "0q2bc3sajrmcx3z3vhhwp78y47ryc2ky8ssbdmfk24zvqdb76hvl"))))
5671 (build-system ant-build-system)
5673 `(("java-eclipse-jdt-core" ,java-eclipse-jdt-core)))
5675 `(("java-junit" ,java-junit)))
5677 `(#:build-target "package"
5678 #:tests? #f; requires downloading some files.
5680 (modify-phases %standard-phases
5681 (add-after 'unpack 'prevent-download
5683 ;; This directory must exist
5685 ;; We patch build.xml so it doesn't download any dependency, because
5686 ;; we already have all of them.
5687 (substitute* "build.xml"
5688 (("download-compile,") "")
5689 (("depends=\"validate\"") "depends=\"build-prepare\"")
5690 ((",download-validate") ""))
5692 (add-after 'unpack 'generate-properties
5694 ;; This could have been passed to make-flags, but getcwd returns
5695 ;; a different directory then.
5696 (with-output-to-file "build.properties"
5699 (string-append "base.path=" (getcwd) "/downloads\n"))))
5702 (install-jars "output/build/lib")))))
5703 (home-page "https://tomcat.apache.org")
5704 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
5706 (description "Apache Tomcat is a free implementation of the Java
5707 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
5709 (license l:asl2.0)))
5711 (define-public java-eclipse-jetty-test-helper
5713 (name "java-eclipse-jetty-test-helper")
5717 (uri (string-append "https://github.com/eclipse/jetty.toolchain/"
5718 "archive/jetty-test-helper-" version ".tar.gz"))
5721 "1jd6r9wc26fa11si4rn2gvy8ml8q4zw1nr6v04mjp8wvwpgvzwx5"))))
5722 (build-system ant-build-system)
5724 `(#:jar-name "eclipse-jetty-test-helper.jar"
5725 #:source-dir "src/main/java"
5726 #:test-dir "src/test"
5729 (modify-phases %standard-phases
5730 (add-before 'configure 'chdir
5732 (chdir "jetty-test-helper")))
5733 (add-before 'build 'fix-paths
5736 ;; This file assumes that the build directory is named "target"
5737 ;; but it is not the case with our ant-build-system. Once we have
5738 ;; maven though, we will have to rebuild this package because this
5739 ;; assumption is correct with maven-build-system.
5741 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
5742 (("\"target\"") "\"build\"")
5743 (("\"tests\"") "\"test-classes\""))
5744 ;; Tests assume we are building with maven, so that the build
5745 ;; directory is named "target", and not "build".
5746 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
5747 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
5748 "MavenTestingUtilsTest.java")
5749 (("target/tests") "build/test-classes")
5750 (("\"target") "\"build")))
5753 `(("junit" ,java-junit)
5754 ("hamcrest" ,java-hamcrest-all)))
5755 (home-page "https://www.eclipse.org/jetty/")
5756 (synopsis "Helper classes for jetty tests")
5757 (description "This packages contains helper classes for testing the Jetty
5759 ;; This program is licensed under both epl and asl.
5760 (license (list l:epl1.0 l:asl2.0))))
5762 (define-public java-eclipse-jetty-perf-helper
5764 (inherit java-eclipse-jetty-test-helper)
5765 (name "java-eclipse-jetty-perf-helper")
5767 `(#:jar-name "eclipse-jetty-perf-helper.jar"
5768 #:source-dir "src/main/java"
5769 #:tests? #f; no tests
5772 (modify-phases %standard-phases
5773 (add-before 'configure 'chdir
5775 (chdir "jetty-perf-helper")
5778 `(("hdrhistogram" ,java-hdrhistogram)))))
5780 (define-public java-eclipse-jetty-util
5782 (name "java-eclipse-jetty-util")
5786 (uri (string-append "https://github.com/eclipse/jetty.project/"
5787 "archive/jetty-" version ".v20170531.tar.gz"))
5790 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
5791 (build-system ant-build-system)
5793 `(#:jar-name "eclipse-jetty-util.jar"
5794 #:source-dir "src/main/java"
5796 (list "**/Abstract*.java"
5798 "**/InetAddressSetTest.java"
5799 ;; Assumes we are using maven
5800 "**/TypeUtilTest.java"
5801 ;; Error on the style of log
5802 "**/StdErrLogTest.java")
5805 (modify-phases %standard-phases
5806 (add-before 'configure 'chdir
5808 (chdir "jetty-util")
5811 `(("slf4j" ,java-slf4j-api)
5812 ("servlet" ,java-tomcat)))
5814 `(("junit" ,java-junit)
5815 ("hamcrest" ,java-hamcrest-all)
5816 ("perf-helper" ,java-eclipse-jetty-perf-helper)
5817 ("test-helper" ,java-eclipse-jetty-test-helper)))
5818 (home-page "https://www.eclipse.org/jetty/")
5819 (synopsis "Utility classes for Jetty")
5820 (description "The Jetty Web Server provides an HTTP server and Servlet
5821 container capable of serving static and dynamic content either from a standalone
5822 or embedded instantiation. This package provides utility classes.")
5823 (license (list l:epl1.0 l:asl2.0))))
5825 ;; This version is required by maven-wagon
5826 (define-public java-eclipse-jetty-util-9.2
5828 (inherit java-eclipse-jetty-util)
5832 (uri (string-append "https://github.com/eclipse/jetty.project/"
5833 "archive/jetty-" version ".v20170606.tar.gz"))
5836 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
5838 `(#:jar-name "eclipse-jetty-util.jar"
5839 #:source-dir "src/main/java"
5842 (list "**/Abstract*.java"
5844 "**/InetAddressSetTest.java"
5845 ;; Assumes we are using maven
5846 "**/TypeUtilTest.java"
5847 ;; We don't have an implementation for slf4j
5849 ;; Error on the style of log
5850 "**/StdErrLogTest.java")
5852 (modify-phases %standard-phases
5853 (add-before 'configure 'chdir
5855 (chdir "jetty-util")
5857 (add-before 'build 'fix-test-sources
5859 ;; We need to fix issues caused by changes in newer versions of
5860 ;; jetty-test-helper
5861 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
5862 (substitute* (string-append src "/AbstractFSResourceTest.java")
5863 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
5864 (("testdir.getFile\\(\"foo\"\\)")
5865 "testdir.getPathFile(\"foo\").toFile()")
5866 (("testdir.getFile\\(name\\)")
5867 "testdir.getPathFile(name).toFile()")))
5870 (define-public java-eclipse-jetty-io
5872 (inherit java-eclipse-jetty-util)
5873 (name "java-eclipse-jetty-io")
5875 `(#:jar-name "eclipse-jetty-io.jar"
5876 #:source-dir "src/main/java"
5878 #:test-exclude (list "**/Abstract*.java"
5880 "**/EndPointTest.java")
5882 (modify-phases %standard-phases
5883 (add-before 'configure 'chdir
5888 `(("slf4j" ,java-slf4j-api)
5889 ("servlet" ,java-tomcat)
5890 ("util" ,java-eclipse-jetty-util)))
5891 (synopsis "Jetty :: IO Utility")
5892 (description "The Jetty Web Server provides an HTTP server and Servlet
5893 container capable of serving static and dynamic content either from a standalone
5894 or embedded instantiation. This package provides IO-related utility classes.")))
5896 (define-public java-eclipse-jetty-io-9.2
5898 (inherit java-eclipse-jetty-io)
5899 (version (package-version java-eclipse-jetty-util-9.2))
5900 (source (package-source java-eclipse-jetty-util-9.2))
5902 `(("util" ,java-eclipse-jetty-util-9.2)
5903 ,@(package-inputs java-eclipse-jetty-util-9.2)))
5905 `(("mockito" ,java-mockito-1)
5906 ("cglib" ,java-cglib)
5907 ("objenesis" ,java-objenesis)
5909 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
5911 (define-public java-eclipse-jetty-http
5913 (inherit java-eclipse-jetty-util)
5914 (name "java-eclipse-jetty-http")
5916 `(#:jar-name "eclipse-jetty-http.jar"
5917 #:source-dir "src/main/java"
5920 (modify-phases %standard-phases
5921 (add-before 'configure 'chdir
5923 (chdir "jetty-http")
5925 (add-before 'build 'copy-resources
5927 (mkdir-p "build/classes")
5928 (copy-recursively "src/main/resources/" "build/classes/")
5931 `(("slf4j" ,java-slf4j-api)
5932 ("servlet" ,java-tomcat)
5933 ("io" ,java-eclipse-jetty-io)
5934 ("util" ,java-eclipse-jetty-util)))
5935 (synopsis "Jetty :: Http Utility")
5936 (description "The Jetty Web Server provides an HTTP server and Servlet
5937 container capable of serving static and dynamic content either from a standalone
5938 or embedded instantiation. This package provides HTTP-related utility classes.")))
5940 (define-public java-eclipse-jetty-http-9.2
5942 (inherit java-eclipse-jetty-http)
5943 (version (package-version java-eclipse-jetty-util-9.2))
5944 (source (package-source java-eclipse-jetty-util-9.2))
5946 `(("util" ,java-eclipse-jetty-util-9.2)
5947 ("io" ,java-eclipse-jetty-io-9.2)
5948 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5950 (define-public java-eclipse-jetty-jmx
5952 (inherit java-eclipse-jetty-util)
5953 (name "java-eclipse-jetty-jmx")
5955 `(#:jar-name "eclipse-jetty-jmx.jar"
5956 #:source-dir "src/main/java"
5958 #:tests? #f; FIXME: requires com.openpojo.validation
5960 (modify-phases %standard-phases
5961 (add-before 'configure 'chdir
5966 `(("slf4j" ,java-slf4j-api)
5967 ("servlet" ,java-tomcat)
5968 ("util" ,java-eclipse-jetty-util)))
5969 (synopsis "Jetty :: JMX Management")
5970 (description "The Jetty Web Server provides an HTTP server and Servlet
5971 container capable of serving static and dynamic content either from a standalone
5972 or embedded instantiation. This package provides the JMX management.")))
5974 (define-public java-eclipse-jetty-jmx-9.2
5976 (inherit java-eclipse-jetty-jmx)
5977 (version (package-version java-eclipse-jetty-util-9.2))
5978 (source (package-source java-eclipse-jetty-util-9.2))
5980 `(("util" ,java-eclipse-jetty-util-9.2)
5981 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5983 (define java-eclipse-jetty-http-test-classes
5985 (inherit java-eclipse-jetty-util)
5986 (name "java-eclipse-jetty-http-test-classes")
5988 `(#:jar-name "eclipse-jetty-http.jar"
5989 #:source-dir "src/test"
5993 (modify-phases %standard-phases
5994 (add-before 'configure 'chdir
5996 (chdir "jetty-http"))))))
5998 `(("slf4j" ,java-slf4j-api)
5999 ("servlet" ,java-tomcat)
6000 ("http" ,java-eclipse-jetty-http)
6001 ("io" ,java-eclipse-jetty-io)
6002 ("util" ,java-eclipse-jetty-util)))))
6004 (define java-eclipse-jetty-http-test-classes-9.2
6006 (inherit java-eclipse-jetty-http-test-classes)
6007 (version (package-version java-eclipse-jetty-util-9.2))
6008 (source (package-source java-eclipse-jetty-util-9.2))
6010 `(("http" ,java-eclipse-jetty-http-9.2)
6011 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6013 (define-public java-eclipse-jetty-server
6015 (inherit java-eclipse-jetty-util)
6016 (name "java-eclipse-jetty-server")
6018 `(#:jar-name "eclipse-jetty-server.jar"
6019 #:source-dir "src/main/java"
6021 #:tests? #f; requires a mockito version we don't have
6023 (modify-phases %standard-phases
6024 (add-before 'configure 'chdir
6026 (chdir "jetty-server")
6028 (add-before 'build 'fix-source
6030 ;; Explicit casts to prevent build failures
6031 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6032 (("append\\(LazyList")
6033 "append((CharSequence)LazyList"))
6035 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6037 "Class<\\? extends EventListener> clazz = _classLoader==null"
6038 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6039 "_classLoader.loadClass\\(className\\);"))
6040 (string-append "Class<? extends EventListener> clazz = "
6041 "(Class<? extends EventListener>) "
6042 "(_classLoader==null?Loader.loadClass("
6043 "ContextHandler.class,className):"
6044 "_classLoader.loadClass(className));")))
6047 `(("slf4j" ,java-slf4j-api)
6048 ("servlet" ,java-tomcat)
6049 ("http" ,java-eclipse-jetty-http)
6050 ("io" ,java-eclipse-jetty-io)
6051 ("jmx" ,java-eclipse-jetty-jmx)
6052 ("util" ,java-eclipse-jetty-util)))
6054 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6055 ,@(package-native-inputs java-eclipse-jetty-util)))
6056 (synopsis "Core jetty server artifact")
6057 (description "The Jetty Web Server provides an HTTP server and Servlet
6058 container capable of serving static and dynamic content either from a standalone
6059 or embedded instantiation. This package provides the core jetty server
6062 (define-public java-eclipse-jetty-server-9.2
6064 (inherit java-eclipse-jetty-server)
6065 (version (package-version java-eclipse-jetty-util-9.2))
6066 (source (package-source java-eclipse-jetty-util-9.2))
6068 `(("util" ,java-eclipse-jetty-util-9.2)
6069 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6070 ("io" ,java-eclipse-jetty-io-9.2)
6071 ("http" ,java-eclipse-jetty-http-9.2)
6072 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6074 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6075 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6077 (define-public java-eclipse-jetty-security
6079 (inherit java-eclipse-jetty-util)
6080 (name "java-eclipse-jetty-security")
6082 `(#:jar-name "eclipse-jetty-security.jar"
6083 #:source-dir "src/main/java"
6086 (modify-phases %standard-phases
6087 (add-before 'configure 'chdir
6089 (chdir "jetty-security")
6092 `(("slf4j" ,java-slf4j-api)
6093 ("servlet" ,java-tomcat)
6094 ("http" ,java-eclipse-jetty-http)
6095 ("server" ,java-eclipse-jetty-server)
6096 ("util" ,java-eclipse-jetty-util)))
6098 `(("io" ,java-eclipse-jetty-io)
6099 ,@(package-native-inputs java-eclipse-jetty-util)))
6100 (synopsis "Jetty security infrastructure")
6101 (description "The Jetty Web Server provides an HTTP server and Servlet
6102 container capable of serving static and dynamic content either from a standalone
6103 or embedded instantiation. This package provides the core jetty security
6106 (define-public java-eclipse-jetty-security-9.2
6108 (inherit java-eclipse-jetty-security)
6109 (version (package-version java-eclipse-jetty-util-9.2))
6110 (source (package-source java-eclipse-jetty-util-9.2))
6112 `(("util" ,java-eclipse-jetty-util-9.2)
6113 ("http" ,java-eclipse-jetty-http-9.2)
6114 ("server" ,java-eclipse-jetty-server-9.2)
6115 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6117 `(("io" ,java-eclipse-jetty-io-9.2)
6118 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6120 (define-public java-eclipse-jetty-servlet
6122 (inherit java-eclipse-jetty-util)
6123 (name "java-eclipse-jetty-servlet")
6125 `(#:jar-name "eclipse-jetty-servlet.jar"
6126 #:source-dir "src/main/java"
6129 (modify-phases %standard-phases
6130 (add-before 'configure 'chdir
6132 (chdir "jetty-servlet")
6135 `(("slf4j" ,java-slf4j-api)
6136 ("servlet" ,java-tomcat)
6137 ("http" ,java-eclipse-jetty-http)
6138 ("http-test" ,java-eclipse-jetty-http-test-classes)
6139 ("io" ,java-eclipse-jetty-io)
6140 ("jmx" ,java-eclipse-jetty-jmx)
6141 ("security" ,java-eclipse-jetty-security)
6142 ("server" ,java-eclipse-jetty-server)
6143 ("util" ,java-eclipse-jetty-util)))
6144 (synopsis "Jetty Servlet Container")
6145 (description "The Jetty Web Server provides an HTTP server and Servlet
6146 container capable of serving static and dynamic content either from a standalone
6147 or embedded instantiation. This package provides the core jetty servlet
6150 (define-public java-eclipse-jetty-servlet-9.2
6152 (inherit java-eclipse-jetty-servlet)
6153 (version (package-version java-eclipse-jetty-util-9.2))
6154 (source (package-source java-eclipse-jetty-util-9.2))
6156 `(#:jar-name "eclipse-jetty-servlet.jar"
6157 #:source-dir "src/main/java"
6159 #:tests? #f; doesn't work
6161 (modify-phases %standard-phases
6162 (add-before 'configure 'chdir
6164 (chdir "jetty-servlet")
6167 `(("util" ,java-eclipse-jetty-util-9.2)
6168 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6169 ("io" ,java-eclipse-jetty-io-9.2)
6170 ("http" ,java-eclipse-jetty-http-9.2)
6171 ("security" ,java-eclipse-jetty-security-9.2)
6172 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
6173 ("server" ,java-eclipse-jetty-server-9.2)
6174 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6176 (define-public java-jsoup
6182 (uri (string-append "https://github.com/jhy/jsoup/archive/jsoup-"
6186 "0xbzw7rjv7s4nz1xk9b2cnin6zkpaldmc3svk71waa7hhjgp0a20"))))
6187 (build-system ant-build-system)
6189 `(#:jar-name "jsoup.jar"
6190 #:source-dir "src/main/java"
6192 (modify-phases %standard-phases
6193 (add-before 'build 'copy-resources
6195 (let ((classes-dir (string-append (getcwd) "/build/classes")))
6196 (with-directory-excursion "src/main/java"
6197 (for-each (lambda (file)
6198 (let ((dist (string-append classes-dir "/" file)))
6199 (mkdir-p (dirname dist))
6200 (copy-file file dist)))
6201 (find-files "." ".*.properties"))))
6204 `(("java-junit" ,java-junit)
6205 ("java-hamcrest-core" ,java-hamcrest-core)
6206 ("java-gson" ,java-gson)))
6207 (home-page "https://jsoup.org")
6208 (synopsis "HTML parser")
6209 (description "Jsoup is a Java library for working with real-world HTML. It
6210 provides a very convenient API for extracting and manipulating data, using the
6211 best of DOM, CSS, and jQuery-like methods.")
6214 (define-public tidyp
6221 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
6225 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
6226 (build-system gnu-build-system)
6227 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
6228 (arguments `(#:tests? #f))
6229 (home-page "http://www.tidyp.com/")
6230 (synopsis "Validate HTML")
6231 (description "Tidyp is a program that can validate your HTML, as well as
6232 modify it to be more clean and standard. tidyp does not validate HTML 5.
6234 libtidyp is the library on which the program is based. It can be used by any
6235 other program that can interface to it. The Perl module @code{HTML::Tidy} is
6236 based on this library, allowing Perl programmers to easily validate HTML.")
6237 ;; See htmldoc/license.html
6240 (define-public perl-html-tidy
6242 (name "perl-html-tidy")
6247 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
6251 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
6252 (build-system perl-build-system)
6255 (modify-phases %standard-phases
6256 (add-after 'unpack 'fix-tidyp-paths
6257 (lambda* (#:key inputs #:allow-other-keys)
6258 (substitute* "Makefile.PL"
6259 (("^my \\$inc = \"" line)
6261 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
6264 "-L" (assoc-ref inputs "tidyp") "/lib")))
6267 `(("perl-libwww" ,perl-libwww)
6270 `(("perl-test-exception" ,perl-test-exception)))
6271 (home-page "http://search.cpan.org/dist/HTML-Tidy/")
6272 (synopsis "(X)HTML validation in a Perl object")
6273 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
6274 object. It's meant as a replacement for @code{HTML::Lint}, which is written
6275 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
6276 (license l:artistic2.0)))
6278 (define-public geomyidae
6285 (uri (string-append "http://git.r-36.net/geomyidae/snapshot/"
6286 "geomyidae-" version ".tar.bz2"))
6289 "1ih7220c6mgq4r7blm4kx3pxbl53sph58lqgwci6cmi3c0sq5c3x"))))
6290 (build-system gnu-build-system)
6292 `(#:make-flags (list "CC=gcc"
6293 (string-append "PREFIX="
6294 (assoc-ref %outputs "out")))
6295 #:tests? #f ;no tests
6296 #:phases (modify-phases %standard-phases
6297 (delete 'configure))))
6298 (home-page "http://git.r-36.net/geomyidae")
6299 (synopsis "Small Gopher server")
6301 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
6305 @item Gopher menus (see @file{index.gph} for an example);
6306 @item directory listings (if no @file{index.gph} was found);
6307 @item CGI support (@file{.cgi} files are executed);
6308 @item search support in CGI files;
6309 @item logging with multiple log levels.
6313 (define-public cat-avatar-generator
6315 (name "cat-avatar-generator")
6320 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
6321 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
6322 (file-name (string-append name "-" version))
6325 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
6326 (build-system trivial-build-system)
6328 `(#:modules ((guix build utils)
6333 (use-modules (guix build utils)
6336 (let ((source (assoc-ref %build-inputs "source"))
6337 (php-dir (string-append %output "/share/web/" ,name "/")))
6338 ;; The cache directory must not be in the store, but in a writable
6339 ;; location. The webserver will give us this location.
6340 (copy-recursively source php-dir)
6341 (substitute* (string-append php-dir "/cat-avatar-generator.php")
6342 (("\\$cachepath = .*")
6343 "if(isset($_SERVER['CACHE_DIR']))
6344 $cachepath = $_SERVER['CACHE_DIR'];
6346 die('You need to set the CACHE_DIR variable first.');"))))))
6347 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
6348 (synopsis "Random avatar generator")
6349 (description "Cat avatar generator is a generator of cat pictures optimised
6350 to generate random avatars, or defined avatar from a \"seed\". This is a
6351 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
6352 ;; expat for the code, CC-BY 4.0 for the artwork
6353 (license (list l:expat
6356 (define-public nghttp2
6363 (uri (string-append "https://github.com/nghttp2/nghttp2/"
6364 "releases/download/v" version "/"
6365 name "-" version ".tar.xz"))
6368 "00z1687m4wi2gbgkijbv099l9hs1sjlyzbhh8jhn0xssx4xcifb5"))))
6369 (build-system gnu-build-system)
6370 (outputs (list "out"
6371 "lib")) ; only libnghttp2
6373 `(("pkg-config" ,pkg-config)
6375 ;; Required by tests.
6377 ("tzdata" ,tzdata-for-tests)))
6379 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
6380 `(("c-ares" ,c-ares)
6381 ("jansson" ,jansson) ; for HPACK tools
6382 ("jemalloc" ,jemalloc) ; fight nghttpd{,x} heap fragmentation
6384 ("libxml2" ,libxml2) ; for ‘nghttp -a’
6385 ("openssl" ,openssl)))
6388 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
6389 "--enable-app" ; build all the tools
6390 "--enable-hpack-tools" ; ...all the tools
6391 "--disable-examples"
6392 "--disable-static") ; don't bother building .a files
6394 (modify-phases %standard-phases
6395 (add-after 'unpack 'break-circular-reference
6396 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
6397 ;; which is not allowed. Break this cycle. While we could install
6398 ;; only the library to ‘out’ and move everything else to a separate
6399 ;; output, this would inconvenience the majority of (human) users.
6400 (lambda* (#:key outputs #:allow-other-keys)
6401 (substitute* "lib/libnghttp2.pc.in"
6403 (assoc-ref outputs "lib")))
6405 (add-before 'check 'set-timezone-directory
6406 (lambda* (#:key inputs #:allow-other-keys)
6407 (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
6410 (home-page "https://nghttp2.org/")
6411 (synopsis "HTTP/2 protocol client, proxy, server, and library")
6413 "nghttp2 implements the Hypertext Transfer Protocol, version
6416 A reusable C library provides the HTTP/2 framing layer, with several tools built
6420 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
6421 and low-level aspects of the protocol and is useful for debugging.
6422 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
6423 serves files from a local directory.
6424 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
6425 deployed in front of existing web servers that don't support HTTP/2.
6426 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
6427 backwards compatibilty with clients that don't speak HTTP/2.
6428 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
6429 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
6430 nghttp2 provides a HPACK encoder and decoder as part of its public API.
6431 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
6432 compressed JSON header blocks.
6433 @item @command{inflatehd} converts such compressed headers back to JSON pairs.