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 ng0 <ng0@infotropique.org>
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 "003z3yckkdihfv69rgqsik1w2jsnh14j3ci8fjia4s2mlajm6xvp"))))
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/"
164 "0n1yhmrfp8mjbsngmyjl937c6rc0069p6wdi1lknrbn1q42hzw6q"))))
165 (build-system gnu-build-system)
167 '(#:tests? #f ;; TODO: Can't figure out if there are tests
169 (string-append "DESTDIR="
170 (assoc-ref %outputs "out"))
171 "LIBEXECDIR=/modules")))
174 ("python" ,python-wrapper)))
175 (synopsis "Apache HTTPD module for Python WSGI applications")
177 "The mod_wsgi module for the Apache HTTPD Server adds support for running
178 applications that support the Python @acronym{WSGI, Web Server Gateway
179 Interface} specification.")
181 (home-page "https://modwsgi.readthedocs.io/")))
186 ;; Consider updating the nginx-documentation package if the nginx package is
191 (uri (string-append "https://nginx.org/download/nginx-"
195 "0hpsyxpxj89p5vrzv9p1hp7xjbnj5c1w6fdy626ycvsiay4a3bjz"))))
196 (build-system gnu-build-system)
197 (inputs `(("openssl" ,openssl)
201 `(#:tests? #f ; no test target
203 (modify-phases %standard-phases
204 (add-before 'configure 'patch-/bin/sh
206 (substitute* "auto/feature"
207 (("/bin/sh") (which "sh")))
210 ;; The configure script is hand-written, not from GNU autotools.
211 (lambda* (#:key outputs #:allow-other-keys)
213 (list (string-append "--prefix=" (assoc-ref outputs "out"))
214 "--with-http_ssl_module"
215 "--with-http_v2_module"
218 ;; Even when not cross-building, we pass the
219 ;; --crossbuild option to avoid customizing for the
220 ;; kernel version on the build machine.
221 ,(let ((system "Linux") ; uname -s
222 (release "2.6.32") ; uname -r
224 (machine (match (or (%current-target-system)
226 ("x86_64-linux" "x86_64")
227 ("i686-linux" "i686")
228 ("mips64el-linux" "mips64")
229 ;; Prevent errors when querying
230 ;; this package on unsupported
231 ;; platforms, e.g. when running
232 ;; "guix package --search="
234 (string-append "--crossbuild="
235 system ":" release ":" machine)))))
237 (format #t "environment variable `CC' set to `gcc'~%")
238 (format #t "configure flags: ~s~%" flags)
239 (apply invoke "./configure" flags)
241 (add-after 'install 'install-man-page
242 (lambda* (#:key outputs #:allow-other-keys)
243 (let* ((out (assoc-ref outputs "out"))
244 (man (string-append out "/share/man")))
245 (install-file "objs/nginx.8" (string-append man "/man8"))
247 (add-after 'install 'fix-root-dirs
248 (lambda* (#:key outputs #:allow-other-keys)
249 ;; 'make install' puts things in strange places, so we need to
250 ;; clean it up ourselves.
251 (let* ((out (assoc-ref outputs "out"))
252 (share (string-append out "/share/nginx")))
253 ;; This directory is empty, so get rid of it.
254 (rmdir (string-append out "/logs"))
255 ;; Example configuration and HTML files belong in
258 (rename-file (string-append out "/conf")
259 (string-append share "/conf"))
260 (rename-file (string-append out "/html")
261 (string-append share "/html"))
263 (home-page "https://nginx.org")
264 (synopsis "HTTP and reverse proxy server")
266 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
267 created by Igor Sysoev. It can be used both as a stand-alone web server
268 and as a proxy to reduce the load on back-end HTTP or mail servers.")
269 ;; Almost all of nginx is distributed under the bsd-2 license.
270 ;; The exceptions are:
271 ;; * The 'nginx-http-push' module is covered by the expat license.
272 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
273 ;; except for two source files which are bsd-4 licensed.
274 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
276 (define nginx-xslscript
278 (changeset "01dc9ba12e1b"))
280 (name "nginx-xslscript")
282 (simple-format #f "2014-03-31-~A-~A" revision changeset))
286 (url "http://hg.nginx.org/xslscript")
287 (changeset changeset)))
288 (file-name (string-append name "-" version))
291 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
292 (build-system gnu-build-system)
294 '(#:tests? #f ; No test suite
296 (modify-phases %standard-phases
300 (lambda* (#:key outputs #:allow-other-keys)
301 (let ((out-bin (string-append
302 (assoc-ref outputs "out")
305 (copy-file "xslscript.pl"
310 (home-page "http://hg.nginx.org/xslscript")
311 (synopsis "XSLScript with NGinx specific modifications")
313 "XSLScript is a terse notation for writing complex XSLT stylesheets.
314 This is modified version, specifically intended for use with the NGinx
318 (define-public nginx-documentation
319 ;; This documentation should be relevant for nginx@1.13.8.
320 (let ((revision 2100)
321 (changeset "cfb7bd672d77"))
323 (name "nginx-documentation")
325 (simple-format #f "2018-01-22-~A-~A" revision changeset))
327 (origin (method hg-fetch)
329 (url "http://hg.nginx.org/nginx.org")
330 (changeset changeset)))
331 (file-name (string-append name "-" version))
334 "096fcsc0wnfr847m7dwp17rivd3alxq7v9hq9s5lkfbhylmh18vm"))))
335 (build-system gnu-build-system)
337 '(#:tests? #f ; no test suite
339 (modify-phases %standard-phases
340 (delete 'configure) ; no configure script
342 (lambda* (#:key outputs #:allow-other-keys)
343 (let ((output (assoc-ref outputs "out")))
344 (substitute* "umasked.sh"
345 ((" /bin/sh") (string-append " " (which "sh"))))
346 ;; The documentation includes a banner, which makes sense on
347 ;; the NGinx website, but doesn't make much sense when
348 ;; viewing locally. Therefore, modify the CSS to remove the
350 (substitute* "xslt/style.xslt"
351 (("#banner \\{ background: black;")
352 "#banner { background: black;
357 (lambda* (#:key outputs #:allow-other-keys)
358 (let ((output (assoc-ref outputs "out")))
360 (copy-recursively "libxslt" output)
363 `(("libxml2" ,libxml2)
365 ("nginx-xslscript" ,nginx-xslscript)))
366 (home-page "https://nginx.org")
367 (synopsis "Documentation for the nginx web server")
369 "This package provides HTML documentation for the nginx web server.")
379 ;; Upstream has disappeared.
380 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
381 "fcgi-" version ".tar.gz"))
384 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
385 (patches (search-patches "fcgi-2.4.0-poll.patch"
386 "fcgi-2.4.0-gcc44-fixes.patch"))))
387 (build-system gnu-build-system)
388 ;; Parallel building is not supported.
389 (arguments `(#:parallel-build? #f))
390 ;; This is an archived fork of the original home page, www.fastcgi.com.
391 (home-page "https://fastcgi-archives.github.io/")
392 (synopsis "Language-independent, high-performant extension to CGI")
393 (description "FastCGI is a language-independent, scalable extension to CGI
394 that provides high performance without the limitations of server specific
396 ;; This package is released under the Open Market License, a variant of
397 ;; the Expat license, incompatible with the GPL.
398 (license (l:non-copyleft "file://LICENSE.TERMS"))))
400 (define-public fcgiwrap
407 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
408 "archive/" version ".tar.gz"))
409 (file-name (string-append name "-" version ".tar.gz"))
412 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
413 (build-system gnu-build-system)
415 `(#:tests? #f ; no tests included
416 #:make-flags (list "CC=gcc")
418 (modify-phases %standard-phases
419 (add-after 'unpack 'bootstrap
421 (zero? (system* "autoreconf" "-vif")))))))
423 `(("autoconf" ,autoconf)
424 ("automake" ,automake)
425 ("pkg-config" ,pkg-config)))
428 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
429 (synopsis "Simple server for running CGI applications over FastCGI")
430 (description "Fcgiwrap is a simple server for running CGI applications
431 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
432 servers that may need it).")
435 (define-public starman
442 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
443 "Starman-" version ".tar.gz"))
446 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
447 (build-system perl-build-system)
449 `(("perl-libwww" ,perl-libwww)
450 ("perl-module-build-tiny" ,perl-module-build-tiny)
451 ("perl-test-requires" ,perl-test-requires)))
453 `(("perl-data-dump" ,perl-data-dump)
454 ("perl-http-date" ,perl-http-date)
455 ("perl-http-message" ,perl-http-message)
456 ("perl-http-parser-xs" ,perl-http-parser-xs)
457 ("perl-net-server" ,perl-net-server)
458 ("perl-plack" ,perl-plack)
459 ("perl-test-tcp" ,perl-test-tcp)))
460 (home-page "http://search.cpan.org/dist/Starman")
461 (synopsis "PSGI/Plack web server")
462 (description "Starman is a PSGI perl web server that has unique features
463 such as high performance, preforking, signal support, superdaemon awareness,
464 and UNIX socket support.")
465 (license l:perl-license)))
467 (define-public icedtea-web
474 "http://icedtea.wildebeest.org/download/source/"
475 name "-" version ".tar.gz"))
478 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
479 (build-system gnu-build-system)
482 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
483 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
485 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
486 (outputs '("out" "doc"))
488 `(("pkg-config" ,pkg-config)
492 ("jdk" ,icedtea "jdk")))
493 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
494 (synopsis "Java Web Start")
496 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
497 Protocol}, also known as Java Web Start. This package provides tools and
498 libraries for working with JNLP applets.")
499 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
503 (define-public jansson
510 (string-append "http://www.digip.org/jansson/releases/jansson-"
514 "0iv4rxsnamqm3ldpg7dyhjq0x9cp023nc7ac820jdd3pwb8ml8bq"))))
515 (build-system gnu-build-system)
516 (home-page "http://www.digip.org/jansson/")
517 (synopsis "JSON C library")
519 "Jansson is a C library for encoding, decoding and manipulating JSON
523 (define-public json-c
530 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
534 "0kf2594kxcfga6x0mvwzj2qg8pgxhjkibc16ghnw85mdx45ph5h3"))
535 (modules '((guix build utils)))
538 ;; Somehow 'config.h.in' is older than
539 ;; 'aclocal.m4', which would trigger a rule to
541 (set-file-time "config.h.in"
544 ;; Don't try to build with -Werror.
545 (substitute* (find-files "." "Makefile\\.in")
546 (("-Werror") ""))))))
547 (build-system gnu-build-system)
548 (arguments '(#:parallel-build? #f
549 #:parallel-tests? #f))
550 (home-page "https://github.com/json-c/json-c/wiki")
551 (synopsis "JSON implementation in C")
553 "JSON-C implements a reference counting object model that allows you to
554 easily construct JSON objects in C, output them as JSON-formatted strings and
555 parse JSON-formatted strings back into the C representation of JSON objects.
556 It aims to conform to RFC 7159.")
559 ;; TODO: remove this old version when all dependents have been updated.
560 (define-public json-c-0.12
567 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
570 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
571 (modules '((guix build utils)))
574 ;; Somehow 'config.h.in' is older than
575 ;; 'aclocal.m4', which would trigger a rule to
577 (set-file-time "config.h.in"
580 ;; Don't try to build with -Werror.
581 (substitute* (find-files "." "Makefile\\.in")
582 (("-Werror") ""))))))))
591 "https://github.com/flavio/qjson/archive/"
593 (file-name (string-append name "-" version ".tar.gz"))
596 "1m0h4rajj99hv9w4i381a8x81lxiv167lxk10ncvphpkfxs624p8"))))
597 (build-system cmake-build-system)
599 ;; The tests require a X server
600 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
601 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
603 (modify-phases %standard-phases
604 (add-after 'unpack 'disable-broken-test
606 ;; FIXME: One test fails. See
607 ;; https://github.com/flavio/qjson/issues/105
608 (substitute* "tests/scanner/testscanner.cpp"
609 (("QTest::newRow\\(\"too large exponential\"\\)" line)
610 (string-append "//" line)))
612 (add-before 'check 'render-offscreen
613 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
615 `(("qtbase" ,qtbase)))
616 (home-page "http://qjson.sourceforge.net")
617 (synopsis "Library that maps JSON data to QVariant objects")
618 (description "QJson is a Qt-based library that maps JSON data to
619 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
620 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
621 ;; Only version 2.1 of the license
622 (license l:lgpl2.1)))
624 (define-public krona-tools
631 "https://github.com/marbl/Krona/releases/download/v"
632 version "/KronaTools-" version ".tar"))
635 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
636 (build-system perl-build-system)
639 (modify-phases %standard-phases
640 ;; There is no configure or build steps.
643 ;; Install script "install.pl" expects the build directory to remain
644 ;; after installation, creating symlinks etc., so re-implement it
647 (lambda* (#:key outputs #:allow-other-keys)
648 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
649 (perl (string-append (assoc-ref outputs "out")
650 "/lib/perl5/site_perl/krona-tools/lib")))
654 (let* ((executable (string-append "scripts/" script ".pl")))
655 ;; Prefix executables with 'kt' as install script does.
656 (copy-file executable (string-append bin "/kt" script))))
658 "GetContigMagnitudes"
668 "ImportMETAREP-BLAST"
673 "ImportRDPComparison"
679 (copy-recursively directory
680 (string-append perl "/../" directory)))
681 (list "data" "img" "taxonomy" "src"))
682 (install-file "lib/KronaTools.pm" perl))))
683 (add-after 'install 'wrap-program
684 (lambda* (#:key inputs outputs #:allow-other-keys)
685 (let* ((out (assoc-ref outputs "out"))
686 (path (getenv "PERL5LIB")))
689 (wrap-program executable
690 `("PERL5LIB" ":" prefix
691 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
692 (find-files (string-append out "/bin/") ".*")))))
694 (add-after 'wrap-program 'check
695 (lambda* (#:key inputs outputs #:allow-other-keys)
696 (with-directory-excursion "data"
697 (zero? (system* (string-append (assoc-ref outputs "out") "/bin/ktImportText")
701 (home-page "https://github.com/marbl/Krona/wiki")
702 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
704 "Krona is a flexible tool for exploring the relative proportions of
705 hierarchical data, such as metagenomic classifications, using a radial,
706 space-filling display. It is implemented using HTML5 and JavaScript, allowing
707 charts to be explored locally or served over the Internet, requiring only a
708 current version of any major web browser.")
711 (define-public rapidjson
718 "https://github.com/miloyip/rapidjson/archive/v"
720 (file-name (string-append name "-" version ".tar.gz"))
723 "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))))
724 (build-system cmake-build-system)
726 `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
729 (modify-phases %standard-phases
730 (add-after 'unpack 'patch-aarch-march-detection
732 (substitute* (find-files "." "^CMakeLists\\.txt$")
733 (("native") "armv8-a"))
736 (home-page "https://github.com/miloyip/rapidjson")
737 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
739 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
743 (define-public libyajl
749 (uri (string-append "https://github.com/lloyd/yajl/"
750 "archive/" version ".tar.gz"))
751 (file-name (string-append name "-" version ".tar.gz"))
754 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
755 (build-system cmake-build-system)
756 (home-page "https://lloyd.github.io/yajl/")
757 (synopsis "C library for parsing JSON")
759 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
760 parser written in ANSI C and a small validating JSON generator.")
763 (define-public libwebsockets
765 (name "libwebsockets")
768 ;; The project does not publish tarballs, so we have to take
772 (url "https://github.com/warmcat/libwebsockets.git")
773 (commit (string-append "v" version
774 "-chrome37-firefox30"))))
777 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
778 (file-name (string-append name "-" version))))
780 (build-system cmake-build-system)
782 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
783 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
786 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
787 (inputs `(("zlib" ,zlib)
788 ("openssl" ,openssl)))
789 (synopsis "WebSockets library written in C")
791 "Libwebsockets is a library that allows C programs to establish client
792 and server WebSockets connections---a protocol layered above HTTP that allows
793 for efficient socket-like bidirectional reliable communication channels.")
794 (home-page "http://libwebsockets.org/")
796 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
797 (license l:lgpl2.1)))
799 (define-public libpsl
805 (uri (string-append "https://github.com/rockdaboot/libpsl/"
806 "releases/download/libpsl-" version
807 "/libpsl-" version ".tar.gz"))
810 "17r18y25ka2ck2ykfidbg4a7jpyzmkqwrzplgqjp7mwd2l9rc6cm"))))
811 (build-system gnu-build-system)
813 `(("pkg-config" ,pkg-config)))
815 `(("libidn2" ,libidn2)
816 ("libunistring" ,libunistring)
817 ("python-2" ,python-2)))
818 (home-page "https://github.com/rockdaboot/libpsl")
819 (synopsis "C library for the Publix Suffix List")
821 "A \"public suffix\" is a domain name under which Internet users can
822 directly register own names.
824 Browsers and other web clients can use it to avoid privacy-leaking
825 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
826 highlighting parts of the domain in a user interface, and sorting domain lists
829 Libpsl has built-in PSL data for fast access, allows to load PSL data from
830 files, checks if a given domain is a public suffix, provides immediate cookie
831 domain verification, finds the longest public part of a given domain, finds
832 the shortest private part of a given domain, works with international
833 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
845 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
847 (revision "2009-12-23")))
850 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
851 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
852 (build-system gnu-build-system)
854 '(#:phases (modify-phases %standard-phases
855 (add-after 'unpack 'bootstrap
856 (lambda* (#:key inputs #:allow-other-keys)
857 ;; configure.in and Makefile.am aren't in the root of the
859 (copy-recursively "build/gnuauto" ".")
860 (setenv "AUTOMAKE" "automake --foreign")
861 (zero? (system* "autoreconf" "-vfi")))))))
863 `(("automake" ,automake)
864 ("autoconf" ,autoconf)
865 ("libtool" ,libtool)))
866 (synopsis "HTML validator and tidier")
867 (description "HTML Tidy is a command-line tool and C library that can be
868 used to validate and fix HTML data.")
869 (home-page "http://tidy.sourceforge.net/")
870 (license (l:x11-style "file:///include/tidy.h"))))
872 (define-public tinyproxy
878 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
879 "releases/download/" version "/tinyproxy-"
883 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
884 (build-system gnu-build-system)
888 ;; For the log file, etc.
889 "--localstatedir=/var")
891 (modify-phases %standard-phases
892 (add-before 'build 'pre-build
893 (lambda* (#:key inputs #:allow-other-keys #:rest args)
894 ;; Uncommenting the next two lines may assist in debugging
895 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
896 ;; (setenv "XML_DEBUG_CATALOG" "1")
898 ;; All of the below are used to generate the documentation
899 ;; (Should they be propagated inputs of asciidoc ??)
900 (native-inputs `(("asciidoc" ,asciidoc)))
901 (home-page "https://tinyproxy.github.io/")
902 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
903 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
904 daemon. Designed from the ground up to be fast and yet small, it is an ideal
905 solution for use cases such as embedded deployments where a full featured HTTP
906 proxy is required, but the system resources for a larger proxy are
910 (define-public polipo
918 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
922 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
923 (native-inputs `(("texinfo" ,texinfo)))
924 (build-system gnu-build-system)
926 `(#:phases (modify-phases %standard-phases
928 #:make-flags (let ((out (assoc-ref %outputs "out")))
929 (list (string-append "PREFIX=" out)
930 (string-append "LOCAL_ROOT="
931 out "/share/polipo/www")
933 ;; No 'check' target.
935 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
936 (synopsis "Small caching web proxy")
938 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
939 server). It was primarily designed to be used by one person or a small group
943 (define-public websockify
949 (uri (string-append "https://github.com/novnc/websockify/archive/v"
950 version "/archive.tar.gz"))
951 (file-name (string-append name "-" version ".tar.gz"))
954 "1kjq6gibsvbb6zx5gi8hgh7110x62pbwcqkwapf3k7s27w5y907h"))))
955 (build-system python-build-system)
957 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
958 ; named 'stubout'". The tests can be run by replacing the check phase with
959 ; the command "python setup.py nosetests --verbosity=3".
960 (native-inputs `(; Required for tests:
961 ("python-mox3", python-mox3)
962 ("python-nose", python-nose)))
963 (propagated-inputs `(("python-numpy", python-numpy)))
964 (home-page "https://github.com/novnc/websockify")
965 (synopsis "WebSockets support for any application/server")
966 (description "Websockify translates WebSockets traffic to normal socket
967 traffic. Websockify accepts the WebSockets handshake, parses it, and then
968 begins forwarding traffic between the client and the target in both
972 (define-public wwwoffle
978 (uri (string-append "https://www.gedanken.org.uk/software/"
979 "wwwoffle/download/wwwoffle-"
983 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
984 (build-system gnu-build-system)
986 `(#:configure-flags '("--with-gnutls")
987 #:tests? #f)) ; no test target
988 (native-inputs `(("flex" ,flex)))
989 (inputs `(("gnutls" ,gnutls)
990 ("libcrypt", libgcrypt)))
991 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
992 (synopsis "Caching web proxy optimized for intermittent internet links")
993 (description "WWWOFFLE is a proxy web server that is especially good for
994 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
995 protocols, and supports browsing and requesting pages while offline, indexing,
996 modifying pages and incoming and outgoing headers, monitoring pages for
997 changes, and much more.")
1000 (define-public liboauth
1006 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1010 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1011 (build-system gnu-build-system)
1012 (arguments '(#:configure-flags '("--enable-nss")))
1013 (native-inputs `(("pkg-config" ,pkg-config)))
1017 (home-page "https://sourceforge.net/projects/liboauth")
1018 (synopsis "C library implementing the OAuth API")
1020 "liboauth is a collection of C functions implementing the OAuth API.
1021 liboauth provides functions to escape and encode strings according to OAuth
1022 specifications and offers high-level functionality built on top to sign
1023 requests or verify signatures using either NSS or OpenSSL for calculating the
1025 ;; Source code may be distributed under either license.
1026 (license (list l:expat l:gpl2+))))
1028 (define-public libyaml
1036 "http://pyyaml.org/download/libyaml/yaml-"
1038 (patches (search-patches "libyaml-CVE-2014-9130.patch"))
1041 "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx"))))
1042 (build-system gnu-build-system)
1043 (home-page "http://pyyaml.org/wiki/LibYAML")
1044 (synopsis "YAML 1.1 parser and emitter written in C")
1046 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1049 (define-public libquvi-scripts
1051 (name "libquvi-scripts")
1057 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1058 name "/" name "-" version ".tar.xz"))
1060 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1061 (build-system gnu-build-system)
1062 (home-page "http://quvi.sourceforge.net/")
1063 (synopsis "Media stream URL parser")
1064 (description "This package contains support scripts called by libquvi to
1065 parse media stream properties.")
1066 (license l:lgpl2.1+)))
1068 (define-public libquvi
1076 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1077 name "-" version ".tar.xz"))
1079 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1080 (build-system gnu-build-system)
1081 (native-inputs `(("pkg-config" ,pkg-config)))
1084 ("cyrus-sasl" ,cyrus-sasl)
1085 ("libquvi-scripts" ,libquvi-scripts)
1087 ("openssl" ,openssl)
1090 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1092 (let ((lua (assoc-ref %build-inputs "lua")))
1094 (string-append "liblua_CFLAGS=-I" lua "/include")
1095 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1096 (home-page "http://quvi.sourceforge.net/")
1097 (synopsis "Media stream URL parser")
1098 (description "libquvi is a library with a C API for parsing media stream
1099 URLs and extracting their actual media files.")
1100 (license l:lgpl2.1+)))
1110 "mirror://sourceforge/" name "/" (version-major+minor version)
1111 "/" name "/" name "-" version ".tar.xz"))
1113 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1114 (build-system gnu-build-system)
1115 (native-inputs `(("pkg-config" ,pkg-config)))
1118 ("libquvi" ,libquvi)))
1119 (home-page "http://quvi.sourceforge.net/")
1120 (synopsis "Media stream URL parser")
1121 (description "quvi is a command-line-tool suite to extract media files
1122 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1123 (license l:lgpl2.1+)))
1132 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
1133 version ".tar.bz2"))
1135 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1136 (build-system scons-build-system)
1139 ("apr-util" ,apr-util)
1140 ("openssl" ,openssl)))
1142 `(;; TODO: Fix build with gss.
1146 `(#:scons ,scons-python2
1147 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1148 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1149 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1150 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1151 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1152 (string-append "PREFIX=" %output))
1154 (modify-phases %standard-phases
1155 (add-after 'unpack 'scons-propagate-environment
1157 ;; By design, SCons does not, by default, propagate
1158 ;; environment variables to subprocesses. See:
1159 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1160 ;; Here, we modify the SConstruct file to arrange for
1161 ;; environment variables to be propagated.
1162 (substitute* "SConstruct"
1163 (("^env = Environment\\(")
1164 "env = Environment(ENV=os.environ, "))))
1165 (add-before 'check 'disable-broken-tests
1167 ;; These tests rely on SSL certificates that expired 2017-04-18.
1168 ;; While there are newer certs available upstream, we don't want
1169 ;; this package to suddenly "expire" some time in the future.
1170 ;; https://bugs.gnu.org/26671
1172 '("test_ssl_trust_rootca"
1173 "test_ssl_certificate_chain_with_anchor"
1174 "test_ssl_certificate_chain_all_from_server"
1175 "test_ssl_no_servercert_callback_allok"
1176 "test_ssl_large_response"
1177 "test_ssl_large_request"
1178 "test_ssl_client_certificate"
1179 "test_ssl_future_server_cert"
1180 "test_setup_ssltunnel"
1181 "test_ssltunnel_basic_auth"
1182 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1183 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1184 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1185 "test_ssltunnel_digest_auth")))
1188 (substitute* "test/test_context.c"
1189 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1192 (home-page "https://serf.apache.org/")
1193 (synopsis "High-performance asynchronous HTTP client library")
1195 "serf is a C-based HTTP client library built upon the Apache Portable
1196 Runtime (APR) library. It multiplexes connections, running the read/write
1197 communication asynchronously. Memory copies and transformations are kept to a
1198 minimum to provide high performance operation.")
1199 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1200 ;; bundled CuTest framework uses a different non-copyleft license.
1201 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
1203 (define-public sassc
1204 ;; libsass must be statically linked and it isn't included in the sassc
1205 ;; release tarballs, hence this odd package recipe.
1206 (let* ((version "3.4.5")
1211 "https://github.com/sass/libsass/archive/"
1213 (file-name (string-append "libsass-" version ".tar.gz"))
1216 "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x")))))
1222 (uri (string-append "https://github.com/sass/sassc/archive/"
1224 (file-name (string-append "sassc-" version ".tar.gz"))
1227 "1xk4kmmvziz9sal3swpqa10q0s289xjpcz8aggmly8mvxvmngsi9"))))
1228 (build-system gnu-build-system)
1232 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1233 #:test-target "test"
1234 ;; FIXME: "make test" rebuilds the application and gets lost in a
1235 ;; non-existing directory.
1238 (modify-phases %standard-phases
1240 (add-after 'unpack 'unpack-libsass-and-set-path
1241 (lambda* (#:key inputs #:allow-other-keys)
1242 (and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass")))
1244 (setenv "SASS_LIBSASS_PATH"
1245 (string-append (getcwd) "/libsass-" ,version))
1248 `(("libsass" ,libsass)))
1249 (synopsis "CSS pre-processor")
1250 (description "SassC is a compiler written in C for the CSS pre-processor
1251 language known as SASS.")
1252 (home-page "http://sass-lang.com/libsass")
1253 (license l:expat))))
1256 (define-public perl-apache-logformat-compiler
1258 (name "perl-apache-logformat-compiler")
1263 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1264 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1267 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
1268 (build-system perl-build-system)
1270 `(("perl-http-message" ,perl-http-message)
1271 ("perl-module-build" ,perl-module-build)
1272 ("perl-test-mocktime" ,perl-test-mocktime)
1273 ("perl-try-tiny" ,perl-try-tiny)
1274 ("perl-uri" ,perl-uri)))
1276 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1277 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
1278 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
1279 (synopsis "Compile a log format string to perl-code")
1280 (description "This module provides methods to compile a log format string
1281 to perl-code, for faster generation of access_log lines.")
1282 (license l:perl-license)))
1284 (define-public perl-authen-sasl
1286 (name "perl-authen-sasl")
1291 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1292 "Authen-SASL-" version ".tar.gz"))
1295 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1296 (build-system perl-build-system)
1299 (modify-phases %standard-phases
1300 (add-after 'unpack 'set-env
1301 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1302 ;; versions of perl-authen-sasl.
1303 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1305 `(("perl-digest-hmac" ,perl-digest-hmac)
1306 ("perl-gssapi" ,perl-gssapi)))
1307 (home-page "http://search.cpan.org/dist/Authen-SASL")
1308 (synopsis "SASL authentication framework")
1309 (description "Authen::SASL provides an SASL authentication framework.")
1310 (license l:perl-license)))
1312 (define-public perl-catalyst-action-renderview
1314 (name "perl-catalyst-action-renderview")
1319 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1320 "Catalyst-Action-RenderView-"
1324 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1325 (build-system perl-build-system)
1327 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1328 ("perl-module-install" ,perl-module-install)))
1330 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1331 ("perl-data-visitor" ,perl-data-visitor)
1332 ("perl-mro-compat" ,perl-mro-compat)))
1333 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
1334 (synopsis "Sensible default Catalyst action")
1335 (description "This Catalyst action implements a sensible default end
1336 action, which will forward to the first available view.")
1337 (license l:perl-license)))
1339 (define-public perl-catalyst-action-rest
1341 (name "perl-catalyst-action-rest")
1345 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1346 "Catalyst-Action-REST-" version ".tar.gz"))
1349 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
1350 (build-system perl-build-system)
1352 `(("perl-test-requires" ,perl-test-requires)
1353 ("perl-module-install" ,perl-module-install)))
1355 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1356 ("perl-class-inspector" ,perl-class-inspector)
1357 ("perl-config-general" ,perl-config-general)
1358 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1359 ("perl-libwww" ,perl-libwww)
1360 ("perl-moose" ,perl-moose)
1361 ("perl-mro-compat" ,perl-mro-compat)
1362 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1363 ("perl-params-validate" ,perl-params-validate)
1364 ("perl-uri-find" ,perl-uri-find)
1365 ("perl-xml-simple" ,perl-xml-simple)))
1366 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
1367 (synopsis "Automated REST Method Dispatching")
1368 (description "This Action handles doing automatic method dispatching for
1369 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1370 append an underscore and method name. First it will try dispatching to an
1371 action with the generated name, and failing that it will try to dispatch to a
1373 (license l:perl-license)))
1375 (define-public perl-catalyst-authentication-store-dbix-class
1377 (name "perl-catalyst-authentication-store-dbix-class")
1382 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1383 "Catalyst-Authentication-Store-DBIx-Class-"
1387 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1388 (build-system perl-build-system)
1390 `(("perl-catalyst-plugin-authorization-roles"
1391 ,perl-catalyst-plugin-authorization-roles)
1392 ("perl-catalyst-plugin-session-state-cookie"
1393 ,perl-catalyst-plugin-session-state-cookie)
1394 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1395 ("perl-module-install" ,perl-module-install)
1396 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1398 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1399 ("perl-catalyst-plugin-authentication"
1400 ,perl-catalyst-plugin-authentication)
1401 ("perl-dbix-class" ,perl-dbix-class)
1402 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1404 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
1405 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1406 (description "The Catalyst::Authentication::Store::DBIx::Class class
1407 provides access to authentication information stored in a database via
1409 (license l:perl-license)))
1411 (define-public perl-catalyst-component-instancepercontext
1413 (name "perl-catalyst-component-instancepercontext")
1414 (version "0.001001")
1418 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1419 "Catalyst-Component-InstancePerContext-"
1423 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1424 (build-system perl-build-system)
1426 `(("perl-module-install" ,perl-module-install)))
1428 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1429 ("perl-moose" ,perl-moose)))
1431 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
1432 (synopsis "Create only one instance of Moose component per context")
1433 (description "Catalyst::Component::InstancePerContext returns a new
1434 instance of a component on each request.")
1435 (license l:perl-license)))
1437 (define-public perl-catalyst-devel
1439 (name "perl-catalyst-devel")
1444 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1445 "Catalyst-Devel-" version ".tar.gz"))
1448 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1449 (build-system perl-build-system)
1451 `(("perl-test-fatal" ,perl-test-fatal)))
1453 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1454 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1455 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1456 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1457 ("perl-config-general" ,perl-config-general)
1458 ("perl-file-changenotify" ,perl-file-changenotify)
1459 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1460 ("perl-file-sharedir" ,perl-file-sharedir)
1461 ("perl-module-install" ,perl-module-install)
1462 ("perl-moose" ,perl-moose)
1463 ("perl-moosex-emulate-class-accessor-fast"
1464 ,perl-moosex-emulate-class-accessor-fast)
1465 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1466 ("perl-namespace-clean" ,perl-namespace-clean)
1467 ("perl-path-class" ,perl-path-class)
1468 ("perl-template-toolkit" ,perl-template-toolkit)))
1469 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1470 (synopsis "Catalyst Development Tools")
1471 (description "The Catalyst-Devel distribution includes a variety of
1472 modules useful for the development of Catalyst applications, but not required
1473 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1474 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1475 extension for Catalyst; and requirements for a variety of development-related
1477 (license l:perl-license)))
1479 (define-public perl-catalyst-dispatchtype-regex
1481 (name "perl-catalyst-dispatchtype-regex")
1486 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1487 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1490 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1491 (build-system perl-build-system)
1493 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1494 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1495 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1497 `(("perl-moose" ,perl-moose)
1498 ("perl-text-simpletable" ,perl-text-simpletable)))
1499 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1500 (synopsis "Regex DispatchType for Catalyst")
1501 (description "Dispatch type managing path-matching behaviour using
1502 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1503 core. It is recommend that you use Chained methods or other techniques
1504 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1505 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1506 when the dispatch type is first seen in your application.")
1507 (license l:perl-license)))
1509 (define-public perl-catalyst-model-dbic-schema
1511 (name "perl-catalyst-model-dbic-schema")
1516 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1517 "Catalyst-Model-DBIC-Schema-"
1521 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1522 (build-system perl-build-system)
1524 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1525 ("perl-module-install" ,perl-module-install)
1526 ("perl-test-exception" ,perl-test-exception)
1527 ("perl-test-requires" ,perl-test-requires)))
1529 `(("perl-carp-clan" ,perl-carp-clan)
1530 ("perl-catalyst-component-instancepercontext"
1531 ,perl-catalyst-component-instancepercontext)
1532 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1533 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1534 ("perl-dbix-class" ,perl-dbix-class)
1535 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1536 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1537 ("perl-hash-merge" ,perl-hash-merge)
1538 ("perl-list-moreutils" ,perl-list-moreutils)
1539 ("perl-module-runtime" ,perl-module-runtime)
1540 ("perl-moose" ,perl-moose)
1541 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1542 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1543 ("perl-moosex-types" ,perl-moosex-types)
1544 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1545 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1546 ("perl-namespace-clean" ,perl-namespace-clean)
1547 ("perl-tie-ixhash" ,perl-tie-ixhash)
1548 ("perl-try-tiny" ,perl-try-tiny)))
1549 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1550 (synopsis "DBIx::Class::Schema Model Class")
1551 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1553 (license l:perl-license)))
1555 (define-public perl-catalyst-plugin-accesslog
1557 (name "perl-catalyst-plugin-accesslog")
1562 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1563 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1566 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1567 (build-system perl-build-system)
1569 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1570 ("perl-datetime" ,perl-datetime)
1571 ("perl-moose" ,perl-moose)
1572 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1573 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1574 (synopsis "Request logging from within Catalyst")
1575 (description "This Catalyst plugin enables you to create \"access logs\"
1576 from within a Catalyst application instead of requiring a webserver to do it
1577 for you. It will work even with Catalyst debug logging turned off.")
1578 (license l:perl-license)))
1580 (define-public perl-catalyst-plugin-authentication
1582 (name "perl-catalyst-plugin-authentication")
1587 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1588 "Catalyst-Plugin-Authentication-"
1592 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1593 (build-system perl-build-system)
1595 `(("perl-module-install" ,perl-module-install)))
1597 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1598 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1599 ("perl-class-inspector" ,perl-class-inspector)
1600 ("perl-moose" ,perl-moose)
1601 ("perl-moosex-emulate-class-accessor-fast"
1602 ,perl-moosex-emulate-class-accessor-fast)
1603 ("perl-mro-compat" ,perl-mro-compat)
1604 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1605 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1606 ("perl-test-exception" ,perl-test-exception)
1607 ("perl-try-tiny" ,perl-try-tiny)))
1608 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1609 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1610 (description "The authentication plugin provides generic user support for
1611 Catalyst apps. It is the basis for both authentication (checking the user is
1612 who they claim to be), and authorization (allowing the user to do what the
1613 system authorises them to do).")
1614 (license l:perl-license)))
1616 (define-public perl-catalyst-plugin-authorization-roles
1618 (name "perl-catalyst-plugin-authorization-roles")
1623 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1624 "Catalyst-Plugin-Authorization-Roles-"
1628 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1629 (build-system perl-build-system)
1631 `(("perl-module-install" ,perl-module-install)
1632 ("perl-test-exception" ,perl-test-exception)))
1634 `(("perl-catalyst-plugin-authentication"
1635 ,perl-catalyst-plugin-authentication)
1636 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1637 ("perl-set-object" ,perl-set-object)
1638 ("perl-universal-isa" ,perl-universal-isa)))
1640 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1641 (synopsis "Role-based authorization for Catalyst")
1642 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1643 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1644 (license l:perl-license)))
1646 (define-public perl-catalyst-plugin-captcha
1648 (name "perl-catalyst-plugin-captcha")
1653 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1654 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1657 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1658 (build-system perl-build-system)
1660 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1661 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1662 ("perl-gd-securityimage" ,perl-gd-securityimage)
1663 ("perl-http-date" ,perl-http-date)))
1664 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1665 (synopsis "Captchas for Catalyst")
1666 (description "This plugin creates and validates Captcha images for
1668 (license l:perl-license)))
1670 (define-public perl-catalyst-plugin-configloader
1672 (name "perl-catalyst-plugin-configloader")
1677 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1678 "Catalyst-Plugin-ConfigLoader-"
1682 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1683 (build-system perl-build-system)
1685 `(("perl-path-class" ,perl-path-class)
1686 ("perl-module-install" ,perl-module-install)))
1688 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1689 ("perl-config-any" ,perl-config-any)
1690 ("perl-data-visitor" ,perl-data-visitor)
1691 ("perl-mro-compat" ,perl-mro-compat)))
1692 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1693 (synopsis "Load config files of various types")
1694 (description "This module will attempt to load find and load configuration
1695 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1697 (license l:perl-license)))
1699 (define-public perl-catalyst-plugin-session
1701 (name "perl-catalyst-plugin-session")
1706 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1707 "Catalyst-Plugin-Session-" version ".tar.gz"))
1710 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
1711 (build-system perl-build-system)
1713 `(("perl-module-install" ,perl-module-install)
1714 ("perl-test-deep" ,perl-test-deep)
1715 ("perl-test-exception" ,perl-test-exception)))
1717 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1718 ("perl-moose" ,perl-moose)
1719 ("perl-moosex-emulate-class-accessor-fast"
1720 ,perl-moosex-emulate-class-accessor-fast)
1721 ("perl-mro-compat" ,perl-mro-compat)
1722 ("perl-namespace-clean" ,perl-namespace-clean)
1723 ("perl-object-signature" ,perl-object-signature)
1724 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1725 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1726 (synopsis "Catalyst generic session plugin")
1727 (description "This plugin links the two pieces required for session
1728 management in web applications together: the state, and the store.")
1729 (license l:perl-license)))
1731 (define-public perl-catalyst-plugin-session-state-cookie
1733 (name "perl-catalyst-plugin-session-state-cookie")
1738 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1739 "Catalyst-Plugin-Session-State-Cookie-"
1743 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1744 (build-system perl-build-system)
1746 `(("perl-module-install" ,perl-module-install)))
1748 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1749 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1750 ("perl-moose" ,perl-moose)
1751 ("perl-mro-compat" ,perl-mro-compat)
1752 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1754 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1755 (synopsis "Maintain session IDs using cookies")
1756 (description "In order for Catalyst::Plugin::Session to work, the session
1757 ID needs to be stored on the client, and the session data needs to be stored
1758 on the server. This plugin stores the session ID on the client using the
1760 (license l:perl-license)))
1762 (define-public perl-catalyst-plugin-session-store-fastmmap
1764 (name "perl-catalyst-plugin-session-store-fastmmap")
1769 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1770 "Catalyst-Plugin-Session-Store-FastMmap-"
1774 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1775 (build-system perl-build-system)
1777 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1778 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1779 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1780 ("perl-moosex-emulate-class-accessor-fast"
1781 ,perl-moosex-emulate-class-accessor-fast)
1782 ("perl-mro-compat" ,perl-mro-compat)
1783 ("perl-path-class" ,perl-path-class)))
1785 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
1786 (synopsis "FastMmap session storage backend")
1787 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1788 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1789 memory interprocess cache. It is based on Cache::FastMmap.")
1790 (license l:perl-license)))
1792 (define-public perl-catalyst-plugin-stacktrace
1794 (name "perl-catalyst-plugin-stacktrace")
1799 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1800 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1803 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1804 (build-system perl-build-system)
1806 `(("perl-module-install" ,perl-module-install)))
1808 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1809 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1810 ("perl-mro-compat" ,perl-mro-compat)))
1811 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1812 (synopsis "Stack trace on the Catalyst debug screen")
1813 (description "This plugin enhances the standard Catalyst debug screen by
1814 including a stack trace of your application up to the point where the error
1815 occurred. Each stack frame is displayed along with the package name, line
1816 number, file name, and code context surrounding the line number.")
1817 (license l:perl-license)))
1819 (define-public perl-catalyst-plugin-static-simple
1821 (name "perl-catalyst-plugin-static-simple")
1826 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1827 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1830 "1h8f12bhzh0ssq9gs8r9g3hqn8zn2k0q944vc1vm8j81bns16msy"))))
1831 (build-system perl-build-system)
1833 `(("perl-module-install" ,perl-module-install)))
1835 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1836 ("perl-mime-types" ,perl-mime-types)
1837 ("perl-moose" ,perl-moose)
1838 ("perl-moosex-types" ,perl-moosex-types)
1839 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1840 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1841 (synopsis "Simple serving of static pages")
1842 (description "The Static::Simple plugin is designed to make serving static
1843 content in your application during development quick and easy, without
1844 requiring a single line of code from you. This plugin detects static files by
1845 looking at the file extension in the URL (such as .css or .png or .js). The
1846 plugin uses the lightweight MIME::Types module to map file extensions to
1847 IANA-registered MIME types, and will serve your static files with the correct
1848 MIME type directly to the browser, without being processed through Catalyst.")
1849 (license l:perl-license)))
1851 (define-public perl-catalyst-runtime
1853 (name "perl-catalyst-runtime")
1858 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1859 "Catalyst-Runtime-" version ".tar.gz"))
1862 "0kh3ng6pjpxmndq9vrn515f70x7h44ish5bsgjwj4pjvchcyivzm"))))
1863 (build-system perl-build-system)
1865 `(("perl-module-install" ,perl-module-install)
1866 ("perl-test-fatal" ,perl-test-fatal)))
1868 `(("perl-cgi-simple" ,perl-cgi-simple)
1869 ("perl-cgi-struct" ,perl-cgi-struct)
1870 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1871 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1872 ("perl-class-date" ,perl-class-date)
1873 ("perl-class-load" ,perl-class-load)
1874 ("perl-data-dump" ,perl-data-dump)
1875 ("perl-http-body" ,perl-http-body)
1876 ("perl-http-message" ,perl-http-message)
1877 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1878 ("perl-io-stringy" ,perl-io-stringy)
1879 ("perl-json-maybexs" ,perl-json-maybexs)
1880 ("perl-libwww" ,perl-libwww)
1881 ("perl-module-pluggable" ,perl-module-pluggable)
1882 ("perl-moose" ,perl-moose)
1883 ("perl-moosex-emulate-class-accessor-fast"
1884 ,perl-moosex-emulate-class-accessor-fast)
1885 ("perl-moosex-getopt" ,perl-moosex-getopt)
1886 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1887 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1888 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1889 ("perl-namespace-clean" ,perl-namespace-clean)
1890 ("perl-path-class" ,perl-path-class)
1891 ("perl-plack" ,perl-plack)
1892 ("perl-plack-middleware-fixmissingbodyinredirect"
1893 ,perl-plack-middleware-fixmissingbodyinredirect)
1894 ("perl-plack-middleware-methodoverride"
1895 ,perl-plack-middleware-methodoverride)
1896 ("perl-plack-middleware-removeredundantbody"
1897 ,perl-plack-middleware-removeredundantbody)
1898 ("perl-plack-middleware-reverseproxy"
1899 ,perl-plack-middleware-reverseproxy)
1900 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1901 ("perl-safe-isa" ,perl-safe-isa)
1902 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1903 ("perl-text-simpletable" ,perl-text-simpletable)
1904 ("perl-tree-simple" ,perl-tree-simple)
1905 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1906 ("perl-try-tiny" ,perl-try-tiny)
1907 ("perl-uri" ,perl-uri)
1908 ("perl-uri-ws" ,perl-uri-ws)))
1909 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1910 (synopsis "The Catalyst Framework Runtime")
1911 (description "Catalyst is a modern framework for making web applications.
1912 It is designed to make it easy to manage the various tasks you need to do to
1913 run an application on the web, either by doing them itself, or by letting you
1914 \"plug in\" existing Perl modules that do what you need.")
1915 (license l:perl-license)))
1917 (define-public perl-catalyst-traitfor-request-proxybase
1919 (name "perl-catalyst-traitfor-request-proxybase")
1920 (version "0.000005")
1924 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1925 "Catalyst-TraitFor-Request-ProxyBase-"
1929 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1930 (build-system perl-build-system)
1932 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1933 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1934 ("perl-http-message" ,perl-http-message)
1935 ("perl-module-install" ,perl-module-install)))
1937 `(("perl-moose" ,perl-moose)
1938 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1939 ("perl-uri" ,perl-uri)))
1941 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1942 (synopsis "Replace request base with value passed by HTTP proxy")
1943 (description "This module is a Moose::Role which allows you more
1944 flexibility in your application's deployment configurations when deployed
1945 behind a proxy. Using this module, the request base ($c->req->base) is
1946 replaced with the contents of the X-Request-Base header.")
1947 (license l:perl-license)))
1949 (define-public perl-catalyst-view-download
1951 (name "perl-catalyst-view-download")
1956 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1957 "Catalyst-View-Download-" version ".tar.gz"))
1960 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1961 (build-system perl-build-system)
1963 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1964 ("perl-module-install" ,perl-module-install)
1965 ("perl-test-simple" ,perl-test-simple)
1966 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1967 ("perl-text-csv" ,perl-text-csv)
1968 ("perl-xml-simple" ,perl-xml-simple)))
1969 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1970 (synopsis "Download data in many formats")
1971 (description "The purpose of this module is to provide a method for
1972 downloading data into many supportable formats. For example, downloading a
1973 table based report in a variety of formats (CSV, HTML, etc.).")
1974 (license l:perl-license)))
1976 (define-public perl-catalyst-view-json
1978 (name "perl-catalyst-view-json")
1983 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1984 "Catalyst-View-JSON-" version ".tar.gz"))
1987 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
1988 (build-system perl-build-system)
1990 `(("perl-module-install" ,perl-module-install)
1991 ("perl-yaml" ,perl-yaml)))
1993 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1994 ("perl-json-maybexs" ,perl-json-maybexs)
1995 ("perl-mro-compat" ,perl-mro-compat)))
1996 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1997 (synopsis "Catalyst JSON view")
1998 (description "Catalyst::View::JSON is a Catalyst View handler that returns
1999 stash data in JSON format.")
2000 (license l:perl-license)))
2002 (define-public perl-catalyst-view-tt
2004 (name "perl-catalyst-view-tt")
2009 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2010 "Catalyst-View-TT-" version ".tar.gz"))
2013 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2014 (build-system perl-build-system)
2016 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2017 ("perl-class-accessor" ,perl-class-accessor)
2018 ("perl-data-dump" ,perl-data-dump)
2019 ("perl-mro-compat" ,perl-mro-compat)
2020 ("perl-path-class" ,perl-path-class)
2021 ("perl-template-timer" ,perl-template-timer)
2022 ("perl-template-toolkit" ,perl-template-toolkit)))
2023 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
2024 (synopsis "Template View Class")
2025 (description "This module is a Catalyst view class for the Template
2027 (license l:perl-license)))
2029 (define-public perl-catalystx-component-traits
2031 (name "perl-catalystx-component-traits")
2036 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2037 "CatalystX-Component-Traits-" version ".tar.gz"))
2040 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2041 (build-system perl-build-system)
2043 `(("perl-moose" ,perl-moose)
2044 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2045 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2047 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2048 ("perl-class-load" ,perl-class-load)
2049 ("perl-moose" ,perl-moose)
2050 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2051 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2052 ("perl-list-moreutils" ,perl-list-moreutils)))
2053 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
2054 (synopsis "Trait Loading and Resolution for Catalyst Components")
2055 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2056 Catalyst component base class that reads the optional \"traits\" parameter
2057 from app and component config and instantiates the component subclass with
2058 those traits using \"new_with_traits\" in MooseX::Traits from
2059 MooseX::Traits::Pluggable.")
2060 (license l:perl-license)))
2062 (define-public perl-catalystx-roleapplicator
2064 (name "perl-catalystx-roleapplicator")
2069 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2070 "CatalystX-RoleApplicator-" version ".tar.gz"))
2073 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2074 (build-system perl-build-system)
2076 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2077 ("perl-moose" ,perl-moose)
2078 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2079 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
2080 (synopsis "Apply roles to Catalyst classes")
2081 (description "CatalystX::RoleApplicator applies roles to Catalyst
2082 application classes.")
2083 (license l:perl-license)))
2085 (define-public perl-catalystx-script-server-starman
2087 (name "perl-catalystx-script-server-starman")
2092 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2093 "CatalystX-Script-Server-Starman-"
2097 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
2098 (build-system perl-build-system)
2100 `(("perl-module-install" ,perl-module-install)
2101 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2103 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2104 ("perl-moose" ,perl-moose)
2105 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2106 ("starman" ,starman)))
2107 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
2108 (synopsis "Catalyst development server with Starman")
2109 (description "This module provides a Catalyst extension to replace the
2110 development server with Starman.")
2111 (license l:perl-license)))
2113 (define-public perl-cgi
2120 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2121 "CGI-" version ".tar.gz"))
2124 "07gwnlc7vq58fjwmfsrv0hfyirqqdrpjhf89caq34rjrkz2wsd0b"))))
2125 (build-system perl-build-system)
2127 `(("perl-test-deep" ,perl-test-deep)
2128 ("perl-test-nowarnings" ,perl-test-nowarnings)
2129 ("perl-test-warn" ,perl-test-warn)))
2131 `(("perl-html-parser" ,perl-html-parser)))
2132 (home-page "http://search.cpan.org/dist/CGI")
2133 (synopsis "Handle Common Gateway Interface requests and responses")
2134 (description "CGI.pm is a stable, complete and mature solution for
2135 processing and preparing HTTP requests and responses. Major features include
2136 processing form submissions, file uploads, reading and writing cookies, query
2137 string generation and manipulation, and processing and preparing HTTP
2139 (license l:perl-license)))
2141 (define-public perl-cgi-session
2143 (name "perl-cgi-session")
2149 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2154 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2155 (build-system perl-build-system)
2157 `(("perl-module-build" ,perl-module-build)))
2158 (inputs `(("perl-cgi" ,perl-cgi)))
2160 "http://search.cpan.org/dist/CGI-Session")
2162 "Persistent session data in CGI applications")
2164 "@code{CGI::Session} provides modular session management system across
2166 (license l:perl-license)))
2168 (define-public perl-cgi-simple
2170 (name "perl-cgi-simple")
2175 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
2176 "CGI-Simple-" version ".tar.gz"))
2179 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
2180 (build-system perl-build-system)
2182 `(("perl-module-build" ,perl-module-build)
2183 ("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
2184 (home-page "http://search.cpan.org/dist/CGI-Simple")
2185 (synopsis "CGI interface that is CGI.pm compliant")
2186 (description "CGI::Simple provides a relatively lightweight drop in
2187 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2188 parameter parsing, file upload, cookie handling and header generation.")
2189 (license l:perl-license)))
2191 (define-public perl-cgi-struct
2193 (name "perl-cgi-struct")
2198 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2199 "CGI-Struct-" version ".tar.gz"))
2202 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2203 (build-system perl-build-system)
2205 `(("perl-test-deep" ,perl-test-deep)))
2206 (home-page "http://search.cpan.org/dist/CGI-Struct")
2207 (synopsis "Build structures from CGI data")
2208 (description "This is a module for building structured data from CGI
2209 inputs, in a manner reminiscent of how PHP does.")
2212 (define-public perl-datetime-format-http
2214 (name "perl-datetime-format-http")
2219 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2220 "DateTime-Format-HTTP-" version ".tar.gz"))
2223 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2224 (build-system perl-build-system)
2226 `(("perl-module-build" ,perl-module-build)))
2228 `(("perl-datetime" ,perl-datetime)
2229 ("perl-http-date" ,perl-http-date)))
2230 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
2231 (synopsis "Date conversion routines")
2232 (description "This module provides functions that deal with the date
2233 formats used by the HTTP protocol.")
2234 (license l:perl-license)))
2236 (define-public perl-digest-md5-file
2238 (name "perl-digest-md5-file")
2243 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2244 "Digest-MD5-File-" version ".tar.gz"))
2247 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2248 (build-system perl-build-system)
2250 `(("perl-libwww" ,perl-libwww)))
2251 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
2252 (synopsis "MD5 sums for files and urls")
2253 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2254 for files and urls.")
2255 (license l:perl-license)))
2257 (define-public perl-encode-locale
2259 (name "perl-encode-locale")
2264 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2268 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2269 (build-system perl-build-system)
2270 (license l:perl-license)
2271 (synopsis "Perl locale encoding determination")
2273 "The POSIX locale system is used to specify both the language
2274 conventions requested by the user and the preferred character set to
2275 consume and output. The Encode::Locale module looks up the charset and
2276 encoding (called a CODESET in the locale jargon) and arranges for the
2277 Encode module to know this encoding under the name \"locale\". It means
2278 bytes obtained from the environment can be converted to Unicode strings
2279 by calling Encode::encode(locale => $bytes) and converted back again
2280 with Encode::decode(locale => $string).")
2281 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
2283 (define-public perl-feed-find
2285 (name "perl-feed-find")
2289 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2290 "Feed-Find-" version ".tar.gz"))
2293 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2294 (build-system perl-build-system)
2296 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2299 (modify-phases %standard-phases
2300 (add-after 'unpack 'set-env
2301 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2303 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2304 ("perl-html-parser" ,perl-html-parser)
2305 ("perl-libwww" ,perl-libwww)
2306 ("perl-uri" ,perl-uri)))
2307 (home-page "http://search.cpan.org/dist/Feed-Find")
2308 (synopsis "Syndication feed auto-discovery")
2309 (description "@code{Feed::Find} implements feed auto-discovery for finding
2310 syndication feeds, given a URI. It will discover the following feed formats:
2311 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2312 (license l:perl-license)))
2314 (define-public perl-file-listing
2316 (name "perl-file-listing")
2321 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2325 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2326 (build-system perl-build-system)
2328 `(("perl-http-date" ,perl-http-date)))
2329 (license l:perl-license)
2330 (synopsis "Perl directory listing parser")
2332 "The File::Listing module exports a single function called parse_dir(),
2333 which can be used to parse directory listings.")
2334 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
2336 (define-public perl-finance-quote
2338 (name "perl-finance-quote")
2343 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2344 "Finance-Quote-" version ".tar.gz"))
2347 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
2348 (patches (search-patches
2349 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2350 (build-system perl-build-system)
2352 `(("perl-cgi" ,perl-cgi)
2353 ("perl-datetime" ,perl-datetime)
2354 ("perl-html-parser" ,perl-html-parser)
2355 ("perl-html-tableextract" ,perl-html-tableextract)
2356 ("perl-html-tree" ,perl-html-tree)
2357 ("perl-http-cookies" ,perl-http-cookies)
2358 ("perl-http-message" ,perl-http-message)
2359 ("perl-json" ,perl-json)
2360 ("perl-libwww" ,perl-libwww)
2361 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2362 ("perl-uri" ,perl-uri)))
2363 (home-page "http://search.cpan.org/dist/Finance-Quote")
2364 (synopsis "Stock and mutual fund quotes")
2366 "Finance::Quote gets stock quotes from various internet sources, including
2367 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2370 (define-public perl-gssapi
2372 (name "perl-gssapi")
2377 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2378 "GSSAPI-" version ".tar.gz"))
2381 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2382 (build-system perl-build-system)
2383 (inputs `(("gssapi" ,mit-krb5)))
2385 `(#:make-maker-flags
2386 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2387 (home-page "http://search.cpan.org/dist/GSSAPI")
2388 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2389 (description "This is a Perl extension for using GSSAPI C bindings as
2390 described in RFC 2744.")
2391 (license l:perl-license)))
2393 (define-public perl-html-element-extended
2395 (name "perl-html-element-extended")
2400 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2401 "HTML-Element-Extended-" version ".tar.gz"))
2404 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2405 (build-system perl-build-system)
2407 `(("perl-html-tree" ,perl-html-tree)))
2408 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
2409 (synopsis "Manipulate tables of HTML::Element")
2411 "HTML::Element::Extended is a Perl extension for manipulating a table
2412 composed of HTML::Element style components.")
2413 (license l:perl-license)))
2415 (define-public perl-html-form
2417 (name "perl-html-form")
2422 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2423 "HTML-Form-" version ".tar.gz"))
2426 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2427 (build-system perl-build-system)
2429 `(("perl-html-parser" ,perl-html-parser)
2430 ("perl-html-tagset" ,perl-html-tagset)
2431 ("perl-http-message" ,perl-http-message)
2432 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2433 ("perl-uri" ,perl-uri)))
2434 (home-page "http://search.cpan.org/dist/HTML-Form")
2435 (synopsis "Perl class representing an HTML form element")
2436 (description "Objects of the HTML::Form class represents a single HTML
2437 <form> ... </form> instance.")
2438 (license l:perl-license)))
2440 (define-public perl-html-scrubber
2442 (name "perl-html-scrubber")
2448 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2453 "1m1f8gm2jry42zxja05dxp2ck7y66m7i8vc38nj6hccnwlby6cvi"))))
2454 (build-system perl-build-system)
2456 `(("perl-module-build" ,perl-module-build)
2457 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2458 ("perl-test-eol" ,perl-test-eol)
2459 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2460 ("perl-test-notabs" ,perl-test-notabs)))
2462 `(("perl-html-parser" ,perl-html-parser)))
2464 "http://search.cpan.org/dist/HTML-Scrubber")
2466 "Perl extension for scrubbing/sanitizing html")
2468 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2469 (license l:perl-license)))
2471 (define-public perl-html-lint
2473 (name "perl-html-lint")
2478 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2479 "HTML-Lint-" version ".tar.gz"))
2482 "02vi1s4sw3hjnndxd6s91cp54iw5pg8n5kl9v0109dfxzn1n9bnl"))))
2483 (build-system perl-build-system)
2485 `(("perl-html-parser" ,perl-html-parser)
2486 ("perl-html-tagset" ,perl-html-tagset)
2487 ("perl-libwww" ,perl-libwww)))
2488 (home-page "http://search.cpan.org/dist/HTML-Lint")
2489 (synopsis "Check for HTML errors in a string or file")
2490 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2491 syntactic legitmacy.")
2492 (license l:artistic2.0)))
2494 (define-public perl-html-tableextract
2496 (name "perl-html-tableextract")
2501 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2502 "HTML-TableExtract-" version ".tar.gz"))
2505 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2506 (build-system perl-build-system)
2508 `(("perl-html-element-extended" ,perl-html-element-extended)
2509 ("perl-html-parser" ,perl-html-parser)))
2510 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
2511 (synopsis "Extract contents from HTML tables")
2513 "HTML::TableExtract is a Perl module for extracting the content contained
2514 in tables within an HTML document, either as text or encoded element trees.")
2515 (license l:perl-license)))
2517 (define-public perl-html-tree
2519 (name "perl-html-tree")
2524 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2525 "HTML-Tree-" version ".tar.gz"))
2528 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
2529 (build-system perl-build-system)
2531 `(("perl-module-build" ,perl-module-build)
2532 ("perl-test-fatal" ,perl-test-fatal)))
2534 `(("perl-html-parser" ,perl-html-parser)
2535 ("perl-html-tagset" ,perl-html-tagset)
2536 ("perl-libwww" ,perl-libwww)))
2537 (home-page "http://search.cpan.org/dist/HTML-Tree")
2538 (synopsis "Work with HTML in a DOM-like tree structure")
2539 (description "This distribution contains a suite of modules for
2540 representing, creating, and extracting information from HTML syntax trees.")
2541 (license l:perl-license)))
2543 (define-public perl-html-parser
2545 (name "perl-html-parser")
2550 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2554 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2555 (build-system perl-build-system)
2557 `(("perl-html-tagset" ,perl-html-tagset)
2558 ("perl-http-message" ,perl-http-message)))
2559 (license l:perl-license)
2560 (synopsis "Perl HTML parser class")
2562 "Objects of the HTML::Parser class will recognize markup and separate
2563 it from plain text (alias data content) in HTML documents. As different
2564 kinds of markup and text are recognized, the corresponding event handlers
2566 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2568 (define-public perl-html-tagset
2570 (name "perl-html-tagset")
2575 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2579 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2580 (build-system perl-build-system)
2581 (license l:perl-license)
2582 (synopsis "Perl data tables useful in parsing HTML")
2584 "The HTML::Tagset module contains several data tables useful in various
2585 kinds of HTML parsing operations.")
2586 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
2588 (define-public perl-html-template
2590 (name "perl-html-template")
2594 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2595 "HTML-Template-" version ".tar.gz"))
2598 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2599 (build-system perl-build-system)
2601 `(("perl-cgi" ,perl-cgi)))
2602 (home-page "http://search.cpan.org/dist/HTML-Template")
2603 (synopsis "HTML-like templates")
2605 "This module attempts to make using HTML templates simple and natural.
2606 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2607 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2608 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2609 these new tags is called a template. Using this module you fill in the values
2610 for the variables, loops and branches declared in the template. This allows
2611 you to separate design from the data.")
2612 (license l:perl-license)))
2614 (define-public perl-http-body
2616 (name "perl-http-body")
2621 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2622 "HTTP-Body-" version ".tar.gz"))
2625 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2626 (build-system perl-build-system)
2628 `(("perl-test-deep" ,perl-test-deep)))
2630 `(("perl-file-temp" ,perl-file-temp)
2631 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2632 (home-page "http://search.cpan.org/dist/HTTP-Body")
2633 (synopsis "HTTP Body Parser")
2634 (description "HTTP::Body parses chunks of HTTP POST data and supports
2635 application/octet-stream, application/json, application/x-www-form-urlencoded,
2636 and multipart/form-data.")
2637 (license l:perl-license)))
2639 (define-public perl-http-cookiejar
2641 (name "perl-http-cookiejar")
2646 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2647 "HTTP-CookieJar-" version ".tar.gz"))
2650 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2651 (build-system perl-build-system)
2653 `(("perl-test-deep" ,perl-test-deep)
2654 ("perl-test-requires" ,perl-test-requires)
2655 ("perl-time-mock" ,perl-time-mock)
2656 ("perl-uri" ,perl-uri)))
2658 `(("perl-time-local" ,perl-time-local)
2659 ("perl-http-date" ,perl-http-date)))
2660 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2661 (synopsis "Minimalist HTTP user agent cookie jar")
2662 (description "This module implements a minimalist HTTP user agent cookie
2663 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2664 (license l:asl2.0)))
2666 (define-public perl-http-cookies
2668 (name "perl-http-cookies")
2673 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
2677 "1m0kxcirbvbkrm2c59p1bkbvzlcdymg8fdpa7wlxijlx0xwz1iqc"))))
2678 (build-system perl-build-system)
2680 `(("perl-http-message" ,perl-http-message)))
2681 (license l:perl-license)
2682 (synopsis "Perl HTTP cookie jars")
2684 "The HTTP::Cookies class is for objects that represent a cookie jar,
2685 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2686 object knows about.")
2687 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2689 (define-public perl-http-daemon
2691 (name "perl-http-daemon")
2696 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2700 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2701 (build-system perl-build-system)
2703 `(("perl-http-message" ,perl-http-message)
2704 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2705 (license l:perl-license)
2706 (synopsis "Perl simple http server class")
2708 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2709 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2710 IO::Socket::INET, so you can perform socket operations directly on it too.")
2711 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2713 (define-public perl-http-date
2715 (name "perl-http-date")
2720 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2724 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2725 (build-system perl-build-system)
2726 (license l:perl-license)
2727 (synopsis "Perl date conversion routines")
2729 "The HTTP::Date module provides functions that deal with date formats
2730 used by the HTTP protocol (and then some more).")
2731 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2733 (define-public perl-http-message
2735 (name "perl-http-message")
2740 "mirror://cpan/authors/id/E/ET/ETHER/HTTP-Message-"
2744 "06yq6cjx4vzl4if4ykap77xsrrd8aa7ish90k7cqi8g6g83nicz7"))))
2745 (build-system perl-build-system)
2747 `(("perl-encode-locale" ,perl-encode-locale)
2748 ("perl-http-date" ,perl-http-date)
2749 ("perl-io-html" ,perl-io-html)
2750 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2751 ("perl-uri" ,perl-uri)))
2752 (license l:perl-license)
2753 (synopsis "Perl HTTP style message")
2755 "An HTTP::Message object contains some headers and a content body.")
2756 (home-page "http://search.cpan.org/~ether/HTTP-Message/")))
2758 (define-public perl-http-negotiate
2760 (name "perl-http-negotiate")
2765 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2769 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2770 (build-system perl-build-system)
2772 `(("perl-http-message" ,perl-http-message)))
2773 (license l:perl-license)
2774 (synopsis "Perl http content negotiation")
2776 "The HTTP::Negotiate module provides a complete implementation of the
2777 HTTP content negotiation algorithm specified in
2778 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2779 the selection of a preferred content representation based upon attributes
2780 of the negotiable variants and the value of the various Accept* header
2781 fields in the request.")
2782 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2784 (define-public perl-http-parser
2786 (name "perl-http-parser")
2791 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2792 "HTTP-Parser-" version ".tar.gz"))
2795 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2796 (build-system perl-build-system)
2798 `(("perl-http-message" ,perl-http-message)
2799 ("perl-uri" ,perl-uri)))
2800 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2801 (synopsis "Parse HTTP/1.1 requests")
2802 (description "This is an HTTP request parser. It takes chunks of text as
2803 received and returns a 'hint' as to what is required, or returns the
2804 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2806 (license l:perl-license)))
2808 (define-public perl-http-parser-xs
2810 (name "perl-http-parser-xs")
2815 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2816 "HTTP-Parser-XS-" version ".tar.gz"))
2819 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2820 (build-system perl-build-system)
2822 `(("perl-module-install" ,perl-module-install)))
2823 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2824 (synopsis "Fast HTTP request parser")
2825 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2827 (license l:perl-license)))
2829 (define-public perl-http-request-ascgi
2831 (name "perl-http-request-ascgi")
2836 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2837 "HTTP-Request-AsCGI-" version ".tar.gz"))
2840 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2841 (build-system perl-build-system)
2843 `(("perl-class-accessor" ,perl-class-accessor)
2844 ("perl-http-message" ,perl-http-message)))
2845 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2846 (synopsis "Set up a CGI environment from an HTTP::Request")
2847 (description "This module provides a convenient way to set up a CGI
2848 environment from an HTTP::Request.")
2849 (license l:perl-license)))
2851 (define-public perl-http-server-simple
2853 (name "perl-http-server-simple")
2858 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
2859 "HTTP-Server-Simple-" version ".tar.gz"))
2862 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
2863 (build-system perl-build-system)
2865 `(("perl-cgi" ,perl-cgi)))
2867 ;; See the discussion of a related tests issue at
2868 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2871 #:phases (modify-phases %standard-phases
2872 (add-before 'configure 'set-search-path
2874 ;; Work around "dotless @INC" build failure.
2876 (string-append (getcwd) ":"
2877 (getenv "PERL5LIB")))
2879 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2880 (synopsis "Lightweight HTTP server")
2881 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2882 no non-core module dependencies. It can be used for building a standalone
2883 http-based UI to your existing tools.")
2884 (license l:perl-license)))
2886 (define-public perl-http-tiny
2888 (name "perl-http-tiny")
2893 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2894 "HTTP-Tiny-" version ".tar.gz"))
2897 "0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
2898 (build-system perl-build-system)
2900 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2901 ("perl-io-socket-ip" ,perl-io-socket-ip)
2902 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2903 ("perl-mozilla-ca" ,perl-mozilla-ca)
2904 ("perl-net-ssleay" ,perl-net-ssleay)))
2905 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2906 (synopsis "HTTP/1.1 client")
2907 (description "This is a very simple HTTP/1.1 client, designed for doing
2908 simple requests without the overhead of a large framework like LWP::UserAgent.
2909 It supports proxies and redirection. It also correctly resumes after EINTR.")
2910 (license l:perl-license)))
2912 (define-public perl-io-html
2914 (name "perl-io-html")
2919 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2923 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2924 (build-system perl-build-system)
2925 (license l:perl-license)
2926 (synopsis "Perl module to open an HTML file with automatic charset detection")
2928 "IO::HTML provides an easy way to open a file containing HTML while
2929 automatically determining its encoding. It uses the HTML5 encoding sniffing
2930 algorithm specified in section 8.2.2.1 of the draft standard.")
2931 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2933 (define-public perl-io-socket-ip
2935 (name "perl-io-socket-ip")
2940 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2941 "IO-Socket-IP-" version ".tar.gz"))
2944 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
2945 (build-system perl-build-system)
2946 (native-inputs `(("perl-module-build" ,perl-module-build)))
2947 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2948 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2949 (description "This module provides a protocol-independent way to use IPv4
2950 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2951 (license l:perl-license)))
2953 (define-public perl-io-socket-ssl
2955 (name "perl-io-socket-ssl")
2959 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2960 "IO-Socket-SSL-" version ".tar.gz"))
2963 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2964 (patches (search-patches
2965 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2966 (build-system perl-build-system)
2968 `(("perl-net-ssleay" ,perl-net-ssleay)
2970 ("perl-uri" ,perl-uri)))
2971 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2973 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2974 necessary functionality into the familiar IO::Socket interface and providing
2975 secure defaults whenever possible. This way existing applications can be made
2976 SSL-aware without much effort, at least if you do blocking I/O and don't use
2978 (license l:perl-license)
2979 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2981 (define-public perl-libwww
2983 (name "perl-libwww")
2988 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
2992 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
2993 (build-system perl-build-system)
2995 `(("perl-encode-locale" ,perl-encode-locale)
2996 ("perl-file-listing" ,perl-file-listing)
2997 ("perl-html-parser" ,perl-html-parser)
2998 ("perl-http-cookies" ,perl-http-cookies)
2999 ("perl-http-daemon" ,perl-http-daemon)
3000 ("perl-http-date" ,perl-http-date)
3001 ("perl-http-message" ,perl-http-message)
3002 ("perl-http-negotiate" ,perl-http-negotiate)
3003 ("perl-net-http" ,perl-net-http)
3004 ("perl-uri" ,perl-uri)
3005 ("perl-www-robotrules" ,perl-www-robotrules)))
3006 (license l:perl-license)
3007 (synopsis "Perl modules for the WWW")
3009 "The libwww-perl collection is a set of Perl modules which provides a
3010 simple and consistent application programming interface to the
3011 World-Wide Web. The main focus of the library is to provide classes
3012 and functions that allow you to write WWW clients. The library also
3013 contains modules that are of more general use and even classes that
3014 help you implement simple HTTP servers.")
3015 (home-page "http://search.cpan.org/dist/libwww-perl/")))
3017 (define-public perl-lwp-online
3019 (name "perl-lwp-online")
3025 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3029 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3030 (build-system perl-build-system)
3032 `(("perl-libwww" ,perl-libwww)
3033 ("perl-uri" ,perl-uri)))
3035 `(("perl-module-install" ,perl-module-install)))
3036 (home-page "http://search.cpan.org/dist/LWP-Online/")
3037 (synopsis "Checks whether your process has access to the web")
3038 (description "This module attempts to answer, as accurately as it can, one
3039 of the nastiest technical questions there is: am I on the internet?
3041 A host of networking and security issues make this problem very difficult.
3042 There are firewalls, proxies (both well behaved and badly behaved). We might
3043 not have DNS. We might not have a network card at all!")
3044 (license l:perl-license)))
3046 (define-public perl-lwp-mediatypes
3048 (name "perl-lwp-mediatypes")
3053 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
3057 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
3058 (build-system perl-build-system)
3059 (license l:perl-license)
3060 (synopsis "Perl module to guess the media type for a file or a URL")
3062 "The LWP::MediaTypes module provides functions for handling media (also
3063 known as MIME) types and encodings. The mapping from file extensions to
3064 media types is defined by the media.types file. If the ~/.media.types file
3065 exists it is used instead.")
3066 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
3068 (define-public perl-lwp-protocol-https
3070 (name "perl-lwp-protocol-https")
3075 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
3076 "LWP-Protocol-https-" version ".tar.gz"))
3079 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
3080 (build-system perl-build-system)
3082 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3083 ("perl-libwww" ,perl-libwww)
3084 ;; Users should instead make sure SSL_ca_path is set properly.
3085 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3086 ("perl-net-http" ,perl-net-http)))
3087 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
3088 (synopsis "HTTPS support for LWP::UserAgent")
3089 (description "The LWP::Protocol::https module provides support for using
3090 https schemed URLs with LWP.")
3091 (license l:perl-license)))
3093 (define-public perl-lwp-useragent-determined
3095 (name "perl-lwp-useragent-determined")
3100 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3101 "LWP-UserAgent-Determined-" version ".tar.gz"))
3104 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3105 (build-system perl-build-system)
3107 `(("perl-libwww" ,perl-libwww)))
3108 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
3109 (synopsis "Virtual browser that retries errors")
3110 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3111 except that when you use it to get a web page but run into a
3112 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3113 and retry a few times.")
3114 (license l:perl-license)))
3116 (define-public perl-net-amazon-s3
3118 (name "perl-net-amazon-s3")
3123 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3124 "Net-Amazon-S3-" version ".tar.gz"))
3127 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3128 (patches (search-patches
3129 "perl-net-amazon-s3-moose-warning.patch"))))
3130 (build-system perl-build-system)
3132 `(("perl-libwww" ,perl-libwww)
3133 ("perl-test-exception" ,perl-test-exception)))
3135 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3136 ("perl-datetime-format-http" ,perl-datetime-format-http)
3137 ("perl-digest-hmac" ,perl-digest-hmac)
3138 ("perl-digest-md5-file" ,perl-digest-md5-file)
3139 ("perl-file-find-rule" ,perl-file-find-rule)
3140 ("perl-http-date" ,perl-http-date)
3141 ("perl-http-message" ,perl-http-message)
3142 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3143 ("perl-mime-types" ,perl-mime-types)
3144 ("perl-moose" ,perl-moose)
3145 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3146 ("perl-moosex-types-datetime-morecoercions"
3147 ,perl-moosex-types-datetime-morecoercions)
3148 ("perl-path-class" ,perl-path-class)
3149 ("perl-regexp-common" ,perl-regexp-common)
3150 ("perl-term-encoding" ,perl-term-encoding)
3151 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3152 ("perl-uri" ,perl-uri)
3153 ("perl-xml-libxml" ,perl-xml-libxml)))
3154 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
3155 (synopsis "Perl interface to Amazon S3")
3156 (description "This module provides a Perlish interface to Amazon S3.")
3157 (license l:perl-license)))
3159 (define-public perl-net-http
3161 (name "perl-net-http")
3166 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
3170 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
3171 (build-system perl-build-system)
3173 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3174 ("perl-uri" ,perl-uri)))
3175 (license l:perl-license)
3176 (synopsis "Perl low-level HTTP connection (client)")
3178 "The Net::HTTP class is a low-level HTTP client. An instance of the
3179 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3180 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3182 (home-page "http://search.cpan.org/dist/Net-HTTP")))
3184 (define-public perl-net-server
3186 (name "perl-net-server")
3191 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3192 "Net-Server-" version ".tar.gz"))
3195 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3196 (build-system perl-build-system)
3197 (home-page "http://search.cpan.org/dist/Net-Server")
3198 (synopsis "Extensible Perl server engine")
3199 (description "Net::Server is an extensible, generic Perl server engine.
3200 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3201 It includes with it the ability to run as an inetd
3202 process (Net::Server::INET), a single connection server (Net::Server or
3203 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3204 server which maintains a constant number of preforked
3205 children (Net::Server::PreForkSimple), or as a managed preforking server which
3206 maintains the number of children based on server load (Net::Server::PreFork).
3207 In all but the inetd type, the server provides the ability to connect to one
3208 or to multiple server ports.")
3209 (license l:perl-license)))
3211 (define-public perl-net-smtp-ssl
3213 (name "perl-net-smtp-ssl")
3218 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3219 "Net-SMTP-SSL-" version ".tar.gz"))
3222 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3223 (build-system perl-build-system)
3225 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3226 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
3227 (synopsis "SSL support for Net::SMTP")
3228 (description "SSL support for Net::SMTP.")
3229 (license l:perl-license)))
3231 (define-public perl-plack
3238 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3239 "Plack-" version ".tar.gz"))
3242 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3243 (build-system perl-build-system)
3245 `(("perl-test-requires" ,perl-test-requires)
3246 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3248 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3249 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3250 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3251 ("perl-file-sharedir" ,perl-file-sharedir)
3252 ("perl-hash-multivalue" ,perl-hash-multivalue)
3253 ("perl-http-body" ,perl-http-body)
3254 ("perl-http-message" ,perl-http-message)
3255 ("perl-http-tiny" ,perl-http-tiny)
3256 ("perl-libwww" ,perl-libwww)
3257 ("perl-stream-buffered" ,perl-stream-buffered)
3258 ("perl-test-tcp" ,perl-test-tcp)
3259 ("perl-try-tiny" ,perl-try-tiny)
3260 ("perl-uri" ,perl-uri)))
3261 (home-page "http://search.cpan.org/dist/Plack")
3262 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3263 (description "Plack is a set of tools for using the PSGI stack. It
3264 contains middleware components, a reference server, and utilities for Web
3265 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3267 (license l:perl-license)))
3269 (define-public perl-plack-middleware-fixmissingbodyinredirect
3271 (name "perl-plack-middleware-fixmissingbodyinredirect")
3276 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3277 "Plack-Middleware-FixMissingBodyInRedirect-"
3281 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3282 (build-system perl-build-system)
3284 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3285 ("perl-http-message" ,perl-http-message)
3286 ("perl-plack" ,perl-plack))) ;for Plack::Test
3288 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
3289 (synopsis "Plack::Middleware which sets body for redirect response")
3290 (description "This module sets the body in redirect response, if it's not
3292 (license l:perl-license)))
3294 (define-public perl-plack-middleware-methodoverride
3296 (name "perl-plack-middleware-methodoverride")
3301 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
3302 "Plack-Middleware-MethodOverride-"
3306 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
3307 (build-system perl-build-system)
3309 `(("perl-module-build" ,perl-module-build)))
3311 `(("perl-plack" ,perl-plack)))
3312 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
3313 (synopsis "Override REST methods to Plack apps via POST")
3314 (description "This middleware allows for POST requests that pretend to be
3315 something else: by adding either a header named X-HTTP-Method-Override to the
3316 request, or a query parameter named x-tunneled-method to the URI, the client
3317 can say what method it actually meant.")
3318 (license l:perl-license)))
3320 (define-public perl-plack-middleware-removeredundantbody
3322 (name "perl-plack-middleware-removeredundantbody")
3327 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3328 "Plack-Middleware-RemoveRedundantBody-"
3332 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
3333 (build-system perl-build-system)
3335 `(("perl-plack" ,perl-plack)))
3337 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
3338 (synopsis "Plack::Middleware which removes body for HTTP response")
3339 (description "This module removes the body in an HTTP response if it's not
3341 (license l:perl-license)))
3343 (define-public perl-plack-middleware-reverseproxy
3345 (name "perl-plack-middleware-reverseproxy")
3350 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3351 "Plack-Middleware-ReverseProxy-"
3355 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
3356 (build-system perl-build-system)
3358 `(("perl-module-install" ,perl-module-install)))
3360 `(("perl-plack" ,perl-plack)))
3361 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
3362 (synopsis "Supports app to run as a reverse proxy backend")
3363 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3364 which are changed by reverse-proxy. You can specify the reverse proxy address
3365 and stop fake requests using 'enable_if' directive in your app.psgi.")
3366 (license l:perl-license)))
3368 (define-public perl-plack-test-externalserver
3370 (name "perl-plack-test-externalserver")
3375 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3376 "Plack-Test-ExternalServer-" version ".tar.gz"))
3379 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
3380 (build-system perl-build-system)
3382 `(("perl-plack" ,perl-plack)))
3383 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
3384 (synopsis "Run HTTP tests on external live servers")
3385 (description "This module allows your to run your Plack::Test tests
3386 against an external server instead of just against a local application through
3387 either mocked HTTP or a locally spawned server.")
3388 (license l:perl-license)))
3390 (define-public perl-test-tcp
3392 (name "perl-test-tcp")
3397 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3398 "Test-TCP-" version ".tar.gz"))
3401 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
3402 (build-system perl-build-system)
3404 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3405 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3406 (home-page "http://search.cpan.org/dist/Test-TCP")
3407 (synopsis "Testing TCP programs")
3408 (description "Test::TCP is test utilities for TCP/IP programs.")
3409 (license l:perl-license)))
3411 (define-public perl-test-www-mechanize
3413 (name "perl-test-www-mechanize")
3418 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3419 "Test-WWW-Mechanize-" version ".tar.gz"))
3422 "1d11fx9155d5v17d5w7q3kj37b01l8yj2yb0g6b0z1vh938rrlcr"))))
3423 (build-system perl-build-system)
3425 `(("perl-test-exception" ,perl-test-exception)))
3427 `(("perl-module-install" ,perl-module-install)))
3429 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3430 ("perl-html-form" ,perl-html-form)
3431 ("perl-html-lint" ,perl-html-lint)
3432 ("perl-html-tree" ,perl-html-tree)
3433 ("perl-http-server-simple" ,perl-http-server-simple)
3434 ("perl-libwww" ,perl-libwww)
3435 ("perl-test-longstring" ,perl-test-longstring)
3436 ("perl-www-mechanize" ,perl-www-mechanize)))
3437 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
3438 (synopsis "Testing-specific WWW::Mechanize subclass")
3439 (description "Test::WWW::Mechanize is a subclass of the Perl module
3440 WWW::Mechanize that incorporates features for web application testing.")
3441 (license l:artistic2.0)))
3443 (define-public perl-test-www-mechanize-catalyst
3445 (name "perl-test-www-mechanize-catalyst")
3450 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
3451 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3454 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
3455 (build-system perl-build-system)
3457 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3458 ("perl-catalyst-plugin-session-state-cookie"
3459 ,perl-catalyst-plugin-session-state-cookie)
3460 ("perl-module-install" ,perl-module-install)
3461 ("perl-test-exception" ,perl-test-exception)
3462 ("perl-test-pod" ,perl-test-pod)
3463 ("perl-test-utf8" ,perl-test-utf8)))
3465 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3466 ("perl-class-load" ,perl-class-load)
3467 ("perl-libwww" ,perl-libwww)
3468 ("perl-moose" ,perl-moose)
3469 ("perl-namespace-clean" ,perl-namespace-clean)
3470 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3471 ("perl-www-mechanize" ,perl-www-mechanize)))
3472 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
3473 (synopsis "Test::WWW::Mechanize for Catalyst")
3474 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3475 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3476 testing of Catalyst applications without needing to start up a web server.")
3477 (license l:perl-license)))
3479 (define-public perl-test-www-mechanize-psgi
3481 (name "perl-test-www-mechanize-psgi")
3486 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3487 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3490 "0c9a9w0d2whadnrich7f09w37fgq5hws4gq04zgz4jsdjcvr3qv2"))))
3491 (build-system perl-build-system)
3493 `(("perl-test-pod" ,perl-test-pod)))
3495 `(("perl-plack" ,perl-plack)
3496 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3497 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
3498 (synopsis "Test PSGI programs using WWW::Mechanize")
3499 (description "PSGI is a specification to decouple web server environments
3500 from web application framework code. Test::WWW::Mechanize is a subclass of
3501 WWW::Mechanize that incorporates features for web application testing. The
3502 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3504 (license l:perl-license)))
3506 (define-public perl-uri
3512 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3513 "URI-" version ".tar.gz"))
3516 "04z4xwiryrbxxi48bwbkgq9q9pwfgqry3wp0ramcrwv3dx5ap9yc"))))
3517 (build-system perl-build-system)
3520 `(("perl-test-needs" ,perl-test-needs)))
3521 (license l:perl-license)
3522 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3524 "The URI module implements the URI class. Objects of this class
3525 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3526 and updated by RFC 2732.")
3527 (home-page "http://search.cpan.org/dist/URI/")))
3529 (define-public perl-uri-fetch
3531 (name "perl-uri-fetch")
3535 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3536 "URI-Fetch-" version ".tar.gz"))
3539 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3540 (build-system perl-build-system)
3542 `(#:tests? #f)) ; Tests require internet connection to succeed
3544 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3545 ("perl-libwww" ,perl-libwww)
3546 ("perl-uri" ,perl-uri)))
3547 (home-page "http://search.cpan.org/dist/URI-Fetch")
3548 (synopsis "Smart URI fetching/caching")
3549 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3550 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3551 and time-saving way.")
3552 (license l:perl-license)))
3554 (define-public perl-uri-find
3556 (name "perl-uri-find")
3557 (version "20160806")
3561 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3562 "URI-Find-" version ".tar.gz"))
3565 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
3566 (build-system perl-build-system)
3568 `(("perl-module-build" ,perl-module-build)))
3570 `(("perl-uri" ,perl-uri)))
3571 (home-page "http://search.cpan.org/dist/URI-Find")
3572 (synopsis "Find URIs in arbitrary text")
3573 (description "This module finds URIs and URLs (according to what URI.pm
3574 considers a URI) in plain text. It only finds URIs which include a
3575 scheme (http:// or the like), for something a bit less strict, consider
3576 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3577 (license l:perl-license)))
3579 (define-public perl-uri-ws
3581 (name "perl-uri-ws")
3586 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3587 "URI-ws-" version ".tar.gz"))
3590 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3591 (build-system perl-build-system)
3593 `(("perl-uri" ,perl-uri)))
3594 (home-page "http://search.cpan.org/dist/URI-ws")
3595 (synopsis "WebSocket support for URI package")
3596 (description "With this module, the URI package provides the same set of
3597 methods for WebSocket URIs as it does for HTTP URIs.")
3598 (license l:perl-license)))
3600 (define-public perl-uri-template
3602 (name "perl-uri-template")
3606 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3610 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3611 (build-system perl-build-system)
3613 `(("perl-uri" ,perl-uri)))
3615 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3616 ("perl-test-pod" ,perl-test-pod)
3617 ("perl-module-install" ,perl-module-install)
3618 ("perl-json" ,perl-json)))
3619 (home-page "http://search.cpan.org/dist/URI-Template")
3620 (synopsis "Object for handling URI templates")
3621 (description "This perl module provides a wrapper around URI templates as described in
3623 (license l:perl-license)))
3625 (define-public perl-www-curl
3627 (name "perl-www-curl")
3632 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3634 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3637 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3638 (build-system perl-build-system)
3640 '(#:tests? #f ;XXX: tests require network access
3642 #:phases (modify-phases %standard-phases
3643 (add-before 'configure 'set-search-path
3645 ;; Work around "dotless @INC" build failure.
3647 (string-append (getcwd) ":"
3648 (getenv "PERL5LIB")))
3651 `(("perl-module-install" ,perl-module-install)))
3652 (inputs `(("curl" ,curl)))
3653 (synopsis "Perl extension interface for libcurl")
3655 "This is a Perl extension interface for the libcurl file downloading
3657 (license l:perl-license)
3658 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3660 (define-public perl-www-mechanize
3662 (name "perl-www-mechanize")
3667 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3668 "WWW-Mechanize-" version ".tar.gz"))
3671 "1kxrydhl7nxlyjv0xvyiyj4igdv4fwnggv0ihlp79bysbjjl54w1"))))
3672 (build-system perl-build-system)
3673 (native-inputs ;only for tests
3674 `(("perl-cgi" ,perl-cgi)
3675 ("perl-test-deep" ,perl-test-deep)
3676 ("perl-test-fatal" ,perl-test-fatal)
3677 ("perl-test-output" ,perl-test-output)
3678 ("perl-test-warnings" ,perl-test-warnings)))
3680 `(("perl-html-form" ,perl-html-form)
3681 ("perl-html-parser" ,perl-html-parser)
3682 ("perl-html-tree" ,perl-html-tree)
3683 ("perl-http-message" ,perl-http-message)
3684 ("perl-http-server-simple" ,perl-http-server-simple)
3685 ("perl-libwww" ,perl-libwww)
3686 ("perl-test-warn" ,perl-test-warn)
3687 ("perl-uri" ,perl-uri)))
3688 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3689 (synopsis "Web browsing in a Perl object")
3690 (description "WWW::Mechanize is a Perl module for stateful programmatic
3691 web browsing, used for automating interaction with websites.")
3692 (license l:perl-license)))
3694 (define-public perl-www-opensearch
3696 (name "perl-www-opensearch")
3700 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3701 "WWW-OpenSearch-" version ".tar.gz"))
3704 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3705 (build-system perl-build-system)
3707 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3708 ("perl-datetime" ,perl-datetime)
3709 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
3710 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
3711 ("perl-feed-find" ,perl-feed-find)
3712 ("perl-module-install" ,perl-module-install)
3713 ("perl-module-pluggable" ,perl-module-pluggable)
3714 ("perl-uri-fetch" ,perl-uri-fetch)
3715 ("perl-test-simple" ,perl-test-simple)
3716 ("perl-xml-atom" ,perl-xml-atom)
3717 ("perl-xml-rss" ,perl-xml-rss)))
3719 `(("perl-data-page" ,perl-data-page)
3720 ("perl-libwww" ,perl-libwww)
3721 ("perl-uri" ,perl-uri)
3722 ("perl-uri-template" ,perl-uri-template)
3723 ("perl-xml-feed" ,perl-xml-feed)
3724 ("perl-xml-libxml" ,perl-xml-libxml)))
3725 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3726 (synopsis "Search A9 OpenSearch compatible engines")
3728 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3729 http://opensearch.a9.com} compatible search engines.")
3730 (license l:perl-license)))
3732 (define-public perl-www-robotrules
3734 (name "perl-www-robotrules")
3739 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3743 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3744 (build-system perl-build-system)
3746 `(("perl-uri" ,perl-uri)))
3747 (license l:perl-license)
3748 (synopsis "Perl database of robots.txt-derived permissions")
3750 "The WWW::RobotRules module parses /robots.txt files as specified in
3751 \"A Standard for Robot Exclusion\", at
3752 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3753 /robots.txt file to forbid conforming robots from accessing parts of
3755 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3757 (define-public python-feedparser
3759 (name "python-feedparser")
3764 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3767 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3768 (build-system python-build-system)
3772 "https://github.com/kurtmckee/feedparser")
3773 (synopsis "Parse feeds in Python")
3775 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3776 CDF, Atom 0.3, and Atom 1.0 feeds.")
3777 (license (list l:bsd-2 ; source code
3778 l:freebsd-doc)))) ; documentation
3780 (define-public python2-feedparser
3781 (package-with-python2 python-feedparser))
3783 (define-public r-httpuv
3789 (uri (cran-uri "httpuv" version))
3792 "0h3hkw575b211bxma23inbq1565wkhiapgasd539h219apqs534f"))))
3793 (build-system r-build-system)
3794 (native-inputs `(("r-rcpp" ,r-rcpp)))
3795 (home-page "https://github.com/rstudio/httpuv")
3796 (synopsis "HTTP and WebSocket server library for R")
3798 "The httpuv package provides low-level socket and protocol support for
3799 handling HTTP and WebSocket requests directly from within R. It is primarily
3800 intended as a building block for other packages, rather than making it
3801 particularly easy to create complete web applications using httpuv alone.")
3802 ;; This package includes third-party code that was originally released
3803 ;; under various non-copyleft licenses. Full licensing information can be
3804 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3807 (define-public r-jsonlite
3813 (uri (cran-uri "jsonlite" version))
3816 "00lfg464jhf7k01bal9pcjvbdf5cxk6xi2h46hccp1x3h883g434"))))
3817 (build-system r-build-system)
3818 (home-page "http://arxiv.org/abs/1403.2805")
3819 (synopsis "Robust, high performance JSON parser and generator for R")
3821 "The jsonlite package provides a fast JSON parser and generator optimized
3822 for statistical data and the web. It offers flexible, robust, high
3823 performance tools for working with JSON in R and is particularly powerful for
3824 building pipelines and interacting with a web API. In addition to converting
3825 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3826 and prettify JSON data. The unit tests included with the package verify that
3827 all edge cases are encoded and decoded consistently for use with dynamic data
3828 in systems and applications.")
3831 (define-public r-servr
3837 (uri (cran-uri "servr" version))
3840 "05pz4ychqp4cqywcdavdi8jj3y09gmam097d2idjnlcg9x61h2s9"))))
3841 (build-system r-build-system)
3843 `(("r-httpuv" ,r-httpuv)
3844 ("r-jsonlite" ,r-jsonlite)
3845 ("r-mime" ,r-mime)))
3847 `(("r-rcpp" ,r-rcpp)))
3848 (home-page "https://github.com/yihui/servr")
3849 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3851 "Servr provides an HTTP server in R to serve static files, or dynamic
3852 documents that can be converted to HTML files (e.g., R Markdown) under a given
3856 (define-public r-htmltools
3858 (name "r-htmltools")
3862 (uri (cran-uri "htmltools" version))
3865 "18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4"))))
3866 (build-system r-build-system)
3869 (modify-phases %standard-phases
3870 ;; See https://github.com/rstudio/htmltools/pull/68
3871 ;; The resource files are in the store and have mode 444. After
3872 ;; copying the files R fails to remove them again because it doesn't
3873 ;; have write access to them.
3874 (add-after 'unpack 'copy-files-without-mode
3876 (substitute* "R/html_dependency.R"
3877 (("file.copy\\(from, to, " prefix)
3878 (string-append prefix
3879 "copy.mode = FALSE, ")))
3882 `(("r-digest" ,r-digest)
3883 ("r-rcpp" ,r-rcpp)))
3884 (home-page "https://cran.r-project.org/web/packages/htmltools")
3885 (synopsis "R tools for HTML")
3887 "This package provides tools for HTML generation and output in R.")
3890 (define-public r-htmlwidgets
3892 (name "r-htmlwidgets")
3896 (uri (cran-uri "htmlwidgets" version))
3899 "09lkmzh35l1420sg0dyh4vgyishqx3g8xmgs2y9z7lbi09xgwwwr"))))
3900 (build-system r-build-system)
3902 `(("r-htmltools" ,r-htmltools)
3903 ("r-jsonlite" ,r-jsonlite)
3904 ("r-yaml" ,r-yaml)))
3905 (home-page "https://github.com/ramnathv/htmlwidgets")
3906 (synopsis "HTML Widgets for R")
3908 "HTML widgets is a framework for creating HTML widgets that render in
3909 various contexts including the R console, R Markdown documents, and Shiny web
3913 (define-public r-htmltable
3915 (name "r-htmltable")
3920 (uri (cran-uri "htmlTable" version))
3923 "1lbpi0kkk8b41w10scmlf27dg5azcv51a4q3p5bpqyphrnqp78k4"))))
3924 (properties `((upstream-name . "htmlTable")))
3925 (build-system r-build-system)
3927 `(("r-checkmate" ,r-checkmate)
3928 ("r-htmltools" ,r-htmltools)
3929 ("r-htmlwidgets" ,r-htmlwidgets)
3930 ("r-knitr" ,r-knitr)
3931 ("r-magrittr" ,r-magrittr)
3932 ("r-rstudioapi" ,r-rstudioapi)
3933 ("r-stringr" ,r-stringr)))
3934 (home-page "http://gforge.se/packages/")
3935 (synopsis "Advanced tables for Markdown/HTML")
3937 "This package provides functions to build tables with advanced layout
3938 elements such as row spanners, column spanners, table spanners, zebra
3939 striping, and more. While allowing advanced layout, the underlying
3940 CSS-structure is simple in order to maximize compatibility with word
3941 processors such as LibreOffice. The package also contains a few text
3942 formatting functions that help outputting text compatible with HTML or
3946 (define-public r-curl
3952 (uri (cran-uri "curl" version))
3955 "15fbjya2xrf2k9hhvg3frisrram4yk5wlfz67zj1z8ahpsb2a3r7"))))
3956 (build-system r-build-system)
3959 (modify-phases %standard-phases
3960 ;; The environment variable CURL_CA_BUNDLE is only respected when
3961 ;; running Windows, so we disable the platform checks.
3962 ;; This can be removed once the libcurl has been patched.
3963 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3965 (substitute* "R/onload.R"
3966 (("if \\(!grepl\\(\"mingw\".*")
3968 (substitute* "src/handle.c"
3969 (("#ifdef _WIN32") "#if 1"))
3972 `(("libcurl" ,curl)))
3973 (home-page "https://github.com/jeroenooms/curl")
3974 (synopsis "HTTP client for R")
3976 "The @code{curl()} and @code{curl_download()} functions provide highly
3977 configurable drop-in replacements for base @code{url()} and
3978 @code{download.file()} with better performance, support for encryption, gzip
3979 compression, authentication, and other @code{libcurl} goodies. The core of
3980 the package implements a framework for performing fully customized requests
3981 where data can be processed either in memory, on disk, or streaming via the
3982 callback or connection interfaces.")
3985 (define-public r-hwriter
3992 (uri (cran-uri "hwriter" version))
3995 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
3996 (build-system r-build-system)
3997 (home-page "https://cran.r-project.org/web/packages/hwriter")
3998 (synopsis "Output R objects in HTML format")
4000 "This package provides easy-to-use and versatile functions to output R
4001 objects in HTML format.")
4002 (license l:lgpl2.1+)))
4004 (define-public r-rjson
4011 (uri (cran-uri "rjson" version))
4014 "1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
4015 (build-system r-build-system)
4016 (home-page "https://cran.r-project.org/web/packages/rjson")
4017 (synopsis "JSON library for R")
4019 "This package provides functions to convert R objects into JSON objects
4023 (define-public gumbo-parser
4025 (name "gumbo-parser")
4029 (uri (string-append "https://github.com/google/"
4030 "gumbo-parser/archive/v" version ".tar.gz"))
4031 (file-name (string-append name "-" version ".tar.gz"))
4034 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
4035 (build-system gnu-build-system)
4037 `(#:tests? #f ; tests require bundling googletest sources
4039 (modify-phases %standard-phases
4040 (add-after 'unpack 'bootstrap
4041 (lambda _ (zero? (system* "sh" "autogen.sh")))))))
4042 ;; The release tarball lacks the generated files.
4044 `(("autoconf" ,autoconf)
4045 ("automake" ,automake)
4046 ("libtool" ,libtool)))
4047 (home-page "https://github.com/google/gumbo-parser")
4048 (synopsis "HTML5 parsing library")
4050 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4051 a pure C99 library.")
4052 (license l:asl2.0)))
4054 (define-public uwsgi
4060 (uri (string-append "http://projects.unbit.it/downloads/uwsgi-"
4064 "1zvj28wp3c1hacpd4c6ra5ilwvvfq3l8y6gn8i7mnncpddlzjbjp"))))
4065 (build-system gnu-build-system)
4066 (outputs '("out" "python"))
4068 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4069 ;; But there is no obvious way to run the real tests.
4072 (modify-phases %standard-phases
4074 ;; Configuration is done by writing an ini file.
4075 (lambda* (#:key outputs #:allow-other-keys)
4076 (let* ((out (assoc-ref outputs "out"))
4077 (bindir (string-append out "/bin"))
4078 (plugindir (string-append out "/lib/uwsgi")))
4079 ;; The build phase outputs files to these directories directly.
4082 ;; XXX: Enable other plugins.
4083 (call-with-output-file "buildconf/guix.ini"
4085 (format port "[uwsgi]
4091 plugins = cgi,python
4093 " bindir plugindir))))
4094 (setenv "PROFILE" "guix")
4097 ;; Move plugins into their own output.
4098 (lambda* (#:key outputs #:allow-other-keys)
4099 (let* ((out (assoc-ref outputs "out"))
4100 (plugindir (string-append out "/lib/uwsgi"))
4101 (python-plugin (string-append
4102 plugindir "/python_plugin.so")))
4103 (install-file python-plugin
4105 (assoc-ref outputs "python") "/lib/uwsgi"))
4106 (delete-file python-plugin)
4109 `(("pkg-config" ,pkg-config)
4110 ("python" ,python-wrapper)))
4112 `(("jansson" ,jansson)
4113 ("libxml2" ,libxml2)
4114 ("libyaml" ,libyaml)
4115 ("openssl" ,openssl)
4119 ("python" ,python)))
4120 (home-page "https://uwsgi-docs.readthedocs.org/")
4121 (synopsis "Application container server")
4123 "uWSGI presents a complete stack for networked/clustered web applications,
4124 implementing message/object passing, caching, RPC and process management.
4125 It uses the uwsgi protocol for all the networking/interprocess communications.")
4126 (license l:gpl2+))) ; with linking exception
4134 (uri (string-append "https://github.com/stedolan/" name
4135 "/releases/download/" name "-" version
4136 "/" name "-" version ".tar.gz"))
4139 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
4140 ;; This patch has been pushed and the vulnerability will be
4141 ;; fixed in the next release after 1.5.
4142 ;; https://github.com/stedolan/jq/issues/995
4143 (patches (search-patches "jq-CVE-2015-8863.patch"))))
4145 `(("oniguruma" ,oniguruma)))
4147 `(;; TODO fix gems to generate documentation
4149 ;;("bundler" ,bundler)
4150 ("valgrind" ,valgrind)))
4151 (build-system gnu-build-system)
4152 (home-page "http://stedolan.github.io/jq/")
4153 (synopsis "Command-line JSON processor")
4154 (description "jq is like sed for JSON data – you can use it to slice and
4155 filter and map and transform structured data with the same ease that sed, awk,
4156 grep and friends let you play with text. It is written in portable C. jq can
4157 mangle the data format that you have into the one that you want with very
4158 little effort, and the program to do so is often shorter and simpler than
4160 (license (list l:expat l:cc-by3.0))))
4162 (define-public uhttpmock
4169 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4170 name "-" version ".tar.xz"))
4173 "163py4klka423x7li2b685gmg3a6hjf074mlff2ajhmi3l0lm8x6"))))
4174 (build-system glib-or-gtk-build-system)
4177 (modify-phases %standard-phases
4178 (add-before 'check 'use-empty-ssl-cert-file
4180 ;; Search for ca-certificates.crt files
4181 ;; during the check phase.
4182 (setenv "SSL_CERT_FILE" "/dev/null")
4185 `(("gobject-introspection" ,gobject-introspection)
4187 ("glib-networking" ,glib-networking)
4188 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4189 ("pkg-config" ,pkg-config)))
4191 `(("libsoup" ,libsoup)))
4192 (home-page "https://gitlab.com/groups/uhttpmock")
4193 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4195 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4196 HTTPS. It provides a library, libuhttpmock, which implements recording and
4197 playback of HTTP request/response traces.")
4198 (license l:lgpl2.1+)))
4203 (version "2012-05-31")
4207 "http://www.home.unix-ag.org/simon/woof-"
4211 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4212 (build-system trivial-build-system)
4214 '(#:modules ((guix build utils))
4217 (use-modules (guix build utils))
4218 (let* ((source (assoc-ref %build-inputs "source"))
4219 (out (assoc-ref %outputs "out"))
4220 (bin (string-append out "/bin"))
4221 (python (assoc-ref %build-inputs "python")))
4223 (with-directory-excursion bin
4224 (copy-file source "woof")
4225 (patch-shebang "woof" (list (string-append python "/bin")))
4226 (chmod "woof" #o555))
4228 (inputs `(("python" ,python-2)))
4229 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4230 (synopsis "Single file web server")
4231 (description "Woof (Web Offer One File) is a small simple web server that
4232 can easily be invoked on a single file. Your partner can access the file with
4233 tools they trust (e.g. wget).")
4236 (define netsurf-buildsystem
4238 (name "netsurf-buildsystem")
4243 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4244 "buildsystem-" version ".tar.gz"))
4247 "0p5k708lcq8dip9xxck6hml32bjrbyipprm22bbsvdnsc0pqm71x"))))
4248 (build-system gnu-build-system)
4249 (inputs `(("perl" ,perl)))
4251 '(#:make-flags (list (string-append "PREFIX=" %output))
4252 #:tests? #f ;no tests
4253 #:phases (modify-phases %standard-phases
4256 (home-page "http://www.netsurf-browser.org")
4257 (synopsis "Build system for the Netsurf project")
4259 "This package provides the shared build system for Netsurf project
4263 (define netsurf-buildsystem-arguments
4264 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4265 "CC=gcc" "BUILD_CC=gcc"
4266 ,(string-append "PREFIX=" %output)
4267 ,(string-append "NSSHARED="
4268 (assoc-ref %build-inputs
4269 "netsurf-buildsystem")
4270 "/share/netsurf-buildsystem"))
4271 #:test-target "test"
4272 #:phases (modify-phases %standard-phases
4273 (delete 'configure))))
4275 (define-public libparserutils
4277 (name "libparserutils")
4282 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4283 name "-" version "-src.tar.gz"))
4286 "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
4287 (build-system gnu-build-system)
4289 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4290 ("pkg-config" ,pkg-config)
4291 ("perl" ,perl))) ;for test harness
4292 (arguments netsurf-buildsystem-arguments)
4293 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
4294 (synopsis "Parser building library")
4296 "LibParserUtils is a library for building efficient parsers, written in
4297 C. It is developed as part of the NetSurf project.")
4300 (define-public hubbub
4307 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4308 "lib" name "-" version "-src.tar.gz"))
4311 "1shi4hv8drn9zy8f2f6yhnz2dqnpg5jkybvqhzggfjx1q35fbxz3"))
4312 (patches (search-patches "hubbub-sort-entities.patch"))))
4313 (build-system gnu-build-system)
4315 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4316 ("pkg-config" ,pkg-config)
4317 ("doxygen" ,doxygen)
4318 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4321 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4322 (arguments netsurf-buildsystem-arguments)
4323 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
4324 (synopsis "HTML5 compliant parsing library")
4326 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4327 parse both valid and invalid web content. It is developed as part of the
4331 (define-public ikiwiki
4334 (version "3.20170111")
4338 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4339 "20170111T215449Z/pool/main/i/ikiwiki/ikiwiki_"
4343 "00d7yzv426fvqbhvzyafddv7fa6b4j2647b0wi371wd5yjj9j3sz"))))
4344 (build-system perl-build-system)
4346 `(;; Image tests fail
4348 ;; Test Summary Report
4349 ;; -------------------
4350 ;; t/img.t (Wstat: 2304 Tests: 62 Failed: 9)
4351 ;; Failed tests: 21, 27-28, 30-35
4352 ;; Non-zero exit status: 9
4355 (modify-phases %standard-phases
4356 (add-after 'unpack 'include-PERL5LIB-in-wrapper
4358 (substitute* "IkiWiki/Wrapper.pm"
4359 (("^@wrapper\\_hooks")
4362 " addenv(\"PERL5LIB\", \""
4365 (add-after 'install 'wrap-programs
4366 (lambda* (#:key outputs #:allow-other-keys)
4367 (let* ((out (assoc-ref outputs "out"))
4368 (bin (string-append out "/bin/"))
4369 (path (getenv "PERL5LIB")))
4370 (for-each (lambda (file)
4372 `("PERL5LIB" ":" prefix (,path))))
4377 ("perl-html-tagset" ,perl-html-tagset)
4378 ("perl-timedate" ,perl-timedate)
4379 ("perl-xml-sax" ,perl-xml-sax)
4380 ("perl-xml-simple" ,perl-xml-simple)
4381 ("gettext" ,gettext-minimal)
4382 ("subversion" ,subversion)
4386 ("mercurial" ,mercurial)))
4388 `(("python" ,python-wrapper)
4389 ("perl-cgi-session" ,perl-cgi-session)
4390 ("perl-cgi-simple" ,perl-cgi-simple)
4391 ("perl-json" ,perl-json)
4392 ("perl-image-magick" ,perl-image-magick)
4393 ("perl-uri" ,perl-uri)
4394 ("perl-html-parser" ,perl-html-parser)
4395 ("perl-uri" ,perl-uri)
4396 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4397 ("perl-html-scrubber" ,perl-html-scrubber)
4398 ("perl-html-template" ,perl-html-template)
4399 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4400 (home-page "https://ikiwiki.info/")
4401 (synopsis "Wiki compiler, capable of generating HTML")
4403 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4404 pages, but also incorporating dynamic features like a web based editor and
4408 (define-public libwapcaplet
4410 (name "libwapcaplet")
4415 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4416 name "-" version "-src.tar.gz"))
4419 "15yr0pl6qa6biy36qkmd949ydbjzpqiaccpx3sprh4jknabsk1vv"))))
4420 (build-system gnu-build-system)
4422 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4423 ("pkg-config" ,pkg-config)
4424 ("check" ,check))) ;for tests
4425 (arguments netsurf-buildsystem-arguments)
4426 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
4427 (synopsis "String internment library")
4429 "LibWapcaplet provides a reference counted string internment system
4430 designed to store small strings and allow rapid comparison of them. It is
4431 developed as part of the Netsurf project.")
4434 (define-public libcss
4441 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4442 name "-" version "-src.tar.gz"))
4445 "16mns3h8vj7iw8myvgnw58q84irvbjlvfkxh8mdw6fbkjvaa7cnz"))))
4446 (build-system gnu-build-system)
4448 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4449 ("pkg-config" ,pkg-config)
4451 (propagated-inputs ;needed for libcss.pc
4452 `(("libparserutils" ,libparserutils)
4453 ("libwapcaplet" ,libwapcaplet)))
4454 (arguments netsurf-buildsystem-arguments)
4455 (home-page "http://www.netsurf-browser.org/projects/libcss/")
4456 (synopsis "CSS parser and selection library")
4458 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4459 written in C. It is developed as part of the NetSurf project.")
4462 (define-public libdom
4469 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4470 name "-" version "-src.tar.gz"))
4473 "1zb7x2qwm6p11lph6j2vcyp4a0a8i1klkqilnk5vb4qmlzzpcv7i"))))
4474 (build-system gnu-build-system)
4476 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4477 ("pkg-config" ,pkg-config)
4478 ("perl" ,perl) ;for test harness
4479 ("perl-libxml" ,perl-libxml)
4480 ("perl-switch" ,perl-switch)
4481 ("perl-xml-xpath" ,perl-xml-xpath)))
4483 `(("libparserutils" ,libparserutils)
4484 ("libwapcaplet" ,libwapcaplet)))
4486 `(("expat" ,expat) ;needed for headers and linking
4487 ("hubbub" ,hubbub))) ;for libdom.pc
4489 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4490 ,@netsurf-buildsystem-arguments))
4491 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4492 (synopsis "Implementation of the W3C DOM")
4494 "LibDOM is an implementation of the W3C DOM, written in C. It is
4495 developed as part of the NetSurf project.")
4498 (define-public libsvgtiny
4505 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4506 name "-" version "-src.tar.gz"))
4509 "12ppy2r7m21ykrjgbf067cgi6dn48fkj7i4b7m64xl4dc13y0ah6"))))
4510 (build-system gnu-build-system)
4512 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4513 ("pkg-config" ,pkg-config)
4514 ("gperf" ,gperf-3.0)))
4516 `(("libwapcaplet" ,libwapcaplet)))
4518 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4519 (arguments netsurf-buildsystem-arguments)
4520 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4521 (synopsis "Library for parsing SVG files")
4523 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4524 which can be rendered easily, as defined in
4525 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4529 (define-public libnsbmp
4536 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4537 name "-" version "-src.tar.gz"))
4540 "0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
4541 (build-system gnu-build-system)
4543 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4544 (arguments netsurf-buildsystem-arguments)
4545 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4546 (synopsis "Decoding library for BMP and ICO files")
4548 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4549 written in C. It is developed as part of the NetSurf project.")
4552 (define-public libnsgif
4559 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4560 name "-" version "-src.tar.gz"))
4563 "1phwf0m24m6nd7096fw14hanl4f8gr9bcppi834lbik04agxk38a"))))
4564 (build-system gnu-build-system)
4566 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4567 (arguments netsurf-buildsystem-arguments)
4568 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4569 (synopsis "Decoding library for GIF files")
4571 "Libnsgif is a decoding library for the GIF image file format, written in
4572 C. It is developed as part of the NetSurf project.")
4575 (define-public libnsutils
4582 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4583 name "-" version "-src.tar.gz"))
4586 "0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
4587 (build-system gnu-build-system)
4589 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4590 (arguments netsurf-buildsystem-arguments)
4591 (home-page "http://www.netsurf-browser.org/")
4592 (synopsis "Utility library for NetSurf")
4594 "Libnsutils provides a small number of useful utility routines. It is
4595 developed as part of the NetSurf project.")
4598 (define-public libnspsl
4605 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4606 name "-" version "-src.tar.gz"))
4609 "0wim5hwzwrfrvvap096whf79m2mnfivbqhqlh03ci9d89xb1w0y9"))))
4610 (build-system gnu-build-system)
4612 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4613 (arguments netsurf-buildsystem-arguments)
4614 (home-page "http://www.netsurf-browser.org/")
4615 (synopsis "Library to generate a static Public Suffix List")
4617 "Libnspsl is a library to generate a static code representation of the
4618 Public Suffix List. It is developed as part of the NetSurf project.")
4621 (define-public nsgenbind
4628 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4629 name "-" version "-src.tar.gz"))
4632 "1iwjpdaan0njlhb9ir6a2q5vpxfmkqfldkvnqszqdz50b44vd1jv"))))
4633 (build-system gnu-build-system)
4635 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4639 (substitute-keyword-arguments netsurf-buildsystem-arguments
4640 ((#:make-flags flags)
4641 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4642 (home-page "http://www.netsurf-browser.org/")
4643 (synopsis "Generate JavaScript to DOM bindings")
4645 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4646 w3c webidl files and a binding configuration file.")
4649 (define-public netsurf
4656 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4657 "releases/source/netsurf-" version "-src.tar.gz"))
4660 "05kynfzzwd4fc03vbqdjpghh5xnk2yrh43w7vikak89vla30mhpg"))
4661 (patches (search-patches "netsurf-system-utf8proc.patch"
4662 "netsurf-y2038-tests.patch"
4663 "netsurf-longer-test-timeout.patch"))))
4664 (build-system glib-or-gtk-build-system)
4666 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4667 ("nsgenbind" ,nsgenbind)
4668 ("libidn" ,libidn) ;only for tests
4671 ("perl-html-parser" ,perl-html-parser)
4672 ("pkg-config" ,pkg-config)))
4676 ("openssl" ,openssl)
4677 ("utf8proc" ,utf8proc)
4679 ("libjpeg" ,libjpeg)
4682 ("libnsbmp" ,libnsbmp)
4683 ("libnsgif" ,libnsgif)
4684 ("libnspsl" ,libnspsl)
4685 ("libnsutils" ,libnsutils)
4686 ("libsvgtiny" ,libsvgtiny)
4687 ("miscfiles" ,miscfiles)))
4689 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4690 ,(string-append "PREFIX=" %output)
4691 ,(string-append "NSSHARED="
4692 (assoc-ref %build-inputs
4693 "netsurf-buildsystem")
4694 "/share/netsurf-buildsystem"))
4695 #:test-target "test"
4696 #:modules ((ice-9 rdelim)
4700 ,@%glib-or-gtk-build-system-modules)
4702 (modify-phases %standard-phases
4704 (add-after 'build 'adjust-welcome
4706 ;; First, fix some unended tags and simple substitutions
4707 (substitute* "frontends/gtk/res/welcome.html"
4708 (("<(img|input)([^>]*)>" _ tag contents)
4709 (string-append "<" tag contents " />"))
4710 (("Licence") "License") ;prefer GNU spelling
4711 ((" open source") ", free software")
4712 (("web site") "website")
4713 ;; Prefer privacy-respecting default search engine
4714 (("www.google.co.uk") "www.duckduckgo.com/html")
4715 (("Google Search") "DuckDuckGo Search")
4716 (("name=\"btnG\"") ""))
4717 ;; Remove default links so it doesn't seem we're endorsing them
4718 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4720 ;; Leave the DOCTYPE header as is
4721 (display (read-line in 'concat) out)
4723 (let rec ((sxml (xml->sxml in)))
4724 ;; We'd like to use sxml-match here, but it can't
4725 ;; match against generic tag symbols...
4727 (`(div (@ (class "links")) . ,rest)
4734 (add-before 'check 'patch-check
4735 (lambda* (#:key inputs #:allow-other-keys)
4736 (substitute* '("test/bloom.c" "test/hashtable.c")
4737 (("/usr/share/dict/words")
4738 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4740 (add-after 'install 'install-more
4741 (lambda* (#:key outputs #:allow-other-keys)
4742 (let* ((out (assoc-ref outputs "out"))
4743 (desktop (string-append out "/share/applications/"
4744 "netsurf.desktop")))
4745 (mkdir-p (dirname desktop))
4746 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4748 (substitute* desktop
4749 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk"))
4750 (("netsurf.png") (string-append out "/share/netsurf/"
4752 (install-file "docs/netsurf-gtk.1"
4753 (string-append out "/share/man/man1/"))
4755 (home-page "http://www.netsurf-browser.org")
4756 (synopsis "Web browser")
4758 "NetSurf is a lightweight web browser that has its own layout and
4759 rendering engine entirely written from scratch. It is small and capable of
4760 handling many of the web standards in use today.")
4763 (define-public surfraw
4769 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4770 name "-" version ".tar.gz"))
4773 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4774 (build-system gnu-build-system)
4777 (modify-phases %standard-phases
4778 (add-before 'configure 'patch-perl
4779 (lambda* (#:key inputs #:allow-other-keys)
4780 (let ((perl (assoc-ref inputs "perl")))
4781 (substitute* "surfraw.IN"
4783 (string-append perl "/bin/perl -e")))
4785 (add-after 'install 'compress-elvi.1sr
4786 (lambda* (#:key outputs #:allow-other-keys)
4787 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4788 ;; but elvi.1sr does not get compressed by our manpage phase.
4789 (let* ((out (assoc-ref %outputs "out"))
4790 (man (string-append out "/share/man/man1")))
4791 (with-directory-excursion man
4792 (zero? (system* "gzip" "elvi.1sr")))))))))
4795 ("perl-www-opensearch" ,perl-www-opensearch)
4796 ("perl-html-parser" ,perl-html-parser)
4797 ("perl-libwww" ,perl-libwww)))
4798 (synopsis "Unix command line interface to the www")
4799 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4800 provides a unix command line interface to a variety of popular www search engines
4801 and similar services.")
4802 (home-page "https://surfraw.alioth.debian.org/")
4803 (license l:public-domain)))
4805 (define-public darkhttpd
4812 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4813 version ".tar.bz2"))
4816 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4817 (build-system gnu-build-system)
4819 `(#:make-flags '("CC=gcc")
4820 #:tests? #f ; No test suite
4822 (modify-phases %standard-phases
4825 (lambda* (#:key outputs #:allow-other-keys)
4826 (install-file "darkhttpd"
4827 (string-append (assoc-ref outputs "out")
4830 (synopsis "Simple static web server")
4831 (description "darkhttpd is a simple static web server. It is
4832 standalone and does not need inetd or ucspi-tcp. It does not need any
4833 config files---you only have to specify the www root.")
4834 (home-page "https://unix4lyfe.org/darkhttpd/")
4837 (define-public goaccess
4843 (uri (string-append "http://tar.goaccess.io/goaccess-"
4847 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4848 (modules '((guix build utils)))
4850 '(substitute* "src/error.h"
4851 (("__DATE__") "\"1970-01-01\"")
4852 (("__TIME__") "\"00:00:00\"")))))
4853 (build-system gnu-build-system)
4855 ;; TODO: Add dependency on geoip-tools.
4857 ("ncurses" ,ncurses)))
4859 `(("pkg-config" ,pkg-config)))
4860 (home-page "https://goaccess.io")
4861 (synopsis "Analyze Web server logs in real time")
4863 "GoAccess is a real-time web log analyzer and interactive viewer that
4864 runs in a terminal or through your browser. It provides fast and valuable
4865 HTTP statistics for system administrators that require a visual server report
4869 (define-public httptunnel
4876 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4877 name "-" version ".tar.gz"))
4880 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4881 (modules '((guix build utils)))
4883 ;; Remove non-free IETF RFC documentation.
4884 '(delete-file-recursively "doc"))))
4885 (build-system gnu-build-system)
4888 (modify-phases %standard-phases
4889 ;; The default configure phase tries to pass environment variables as
4890 ;; command-line arguments, which confuses the ./configure script.
4892 (lambda* (#:key outputs #:allow-other-keys)
4893 (let* ((out (assoc-ref outputs "out")))
4894 (setenv "CONFIG_SHELL" (which "bash"))
4895 (zero? (system* "./configure"
4896 (string-append "--prefix=" out)))))))))
4897 (home-page "http://www.nocrew.org/software/httptunnel.html")
4898 (synopsis "Tunnel data connections through HTTP requests")
4899 (description "httptunnel creates a bidirectional virtual data connection
4900 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4901 useful for users behind restrictive firewalls. As long as Web traffic is
4902 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4903 tools like SSH (Secure Shell) to reach the outside world.")
4906 (define-public stunnel
4913 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4917 "1692y69wl7j6yjgnrrzclgzb34bxsaxjzl1dfy47vms7pdfk42lr"))))
4918 (build-system gnu-build-system)
4919 (inputs `(("openssl" ,openssl)))
4922 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))))
4923 (home-page "https://www.stunnel.org")
4924 (synopsis "TLS proxy for clients or servers")
4925 (description "Stunnel is a proxy designed to add TLS encryption
4926 functionality to existing clients and servers without any changes in the
4927 programs' code. Its architecture is optimized for security, portability, and
4928 scalability (including load-balancing), making it suitable for large
4932 (define-public xinetd
4940 (string-append "https://github.com/xinetd-org/xinetd/archive/xinetd-"
4941 (string-join (string-split version #\.) "-") ".tar.gz"))
4942 (patches (search-patches "xinetd-CVE-2013-4342.patch"
4943 "xinetd-fix-fd-leak.patch"))
4946 "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
4947 (build-system gnu-build-system)
4949 `(#:configure-flags '("--with-loadavg")
4950 #:tests? #f)) ; no tests
4951 (home-page "https://github.com/xinetd-org/xinetd")
4952 (synopsis "Internet services daemon")
4953 (description "@code{xinetd}, a more secure replacement for @code{inetd},
4954 listens for incoming requests over a network and launches the appropriate
4955 service for that request. Requests are made using port numbers as identifiers
4956 and xinetd usually launches another daemon to handle the request. It can be
4957 used to start services with both privileged and non-privileged port numbers.")
4958 (license (l:fsf-free "file://COPYRIGHT"))))
4960 (define-public tidy-html
4967 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
4969 (file-name (string-append name "-" version ".tar.gz"))
4972 "0n29wcgw32rhnraj9j21ibhwi0xagmmcskhbaz8ihxly7nx3p9h8"))))
4973 (build-system cmake-build-system)
4975 "static")) ; 1.0MiB of .a files
4977 `(#:tests? #f ; No tests available
4978 #:configure-flags (list "-DCMAKE_BUILD_TYPE=Release")
4980 (modify-phases %standard-phases
4981 (add-after 'install 'move-static-libraries
4982 (lambda* (#:key outputs #:allow-other-keys)
4983 ;; Move static libraries to the "static" output.
4984 (let* ((out (assoc-ref outputs "out"))
4985 (lib (string-append out "/lib"))
4986 (static (assoc-ref outputs "static"))
4987 (slib (string-append static "/lib")))
4989 (for-each (lambda (file)
4990 (install-file file slib)
4992 (find-files lib "\\.a$"))
4995 `(("libxslt" ,libxslt)))
4996 (home-page "http://www.html-tidy.org/")
4997 (synopsis "HTML Tidy with HTML5 support")
4999 "Tidy is a console application which corrects and cleans up
5000 HTML and XML documents by fixing markup errors and upgrading
5001 legacy code to modern standards.
5003 Tidy also provides @code{libtidy}, a C static and dynamic library that
5004 developers can integrate into their applications to make use of the
5005 functions of Tidy.")
5008 (define-public hiawatha
5015 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5016 "hiawatha-" version ".tar.gz"))
5017 (modules '((guix build utils)))
5019 ;; We use our packaged mbedtls, so delete the included copy.
5020 '(delete-file-recursively "mbedtls"))
5023 "0x2zfc8kc6c7rl4gwymwmg13w1c60biv6c6c9fvzpnl59bc9jgin"))))
5024 (build-system cmake-build-system)
5026 `(#:tests? #f ; No tests included
5027 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5028 (string-append "-DENABLE_TOMAHAWK=on")
5029 (string-append "-DWEBROOT_DIR="
5030 (assoc-ref %outputs "out")
5031 "/share/hiawatha/html"))
5033 (modify-phases %standard-phases
5034 (add-after 'install 'remove-empty-dirs
5035 (lambda* (#:key outputs #:allow-other-keys)
5036 (let* ((out (assoc-ref outputs "out")))
5037 ;; The directories in "var" are empty, remove them.
5038 (delete-file-recursively (string-append out "/var"))
5040 (add-after 'install 'wrap
5041 (lambda* (#:key inputs outputs #:allow-other-keys)
5042 ;; Make sure 'hiawatha' finds 'mbedtls'.
5043 (let* ((out (assoc-ref outputs "out"))
5044 (sbin (string-append out "/sbin"))
5045 (mbed (assoc-ref inputs "mbedtls-apache")))
5046 (wrap-program (string-append sbin "/hiawatha")
5047 `("PATH" ":" prefix (,mbed)))))))))
5049 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
5050 `(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
5052 ("libxslt" ,libxslt)
5053 ("libxml2" ,libxml2)))
5054 (home-page "https://www.hiawatha-webserver.org")
5055 (synopsis "Webserver with focus on security")
5057 "Hiawatha has been written with security in mind.
5058 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5062 (define-public python-httpbin
5064 (name "python-httpbin")
5069 (uri (pypi-uri "httpbin" version))
5072 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5073 (build-system python-build-system)
5075 `(("python-decorator" ,python-decorator)
5076 ("python-flask" ,python-flask)
5077 ("python-itsdangerous" ,python-itsdangerous)
5078 ("python-markupsafe" ,python-markupsafe)
5079 ("python-six" ,python-six)))
5080 (home-page "https://github.com/Runscope/httpbin")
5081 (synopsis "HTTP request and response service")
5082 (description "Testing an HTTP Library can become difficult sometimes.
5083 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5084 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5088 (define-public python2-httpbin
5089 (package-with-python2 python-httpbin))
5091 (define-public python-pytest-httpbin
5093 (name "python-pytest-httpbin")
5098 (uri (pypi-uri "pytest-httpbin" version))
5101 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5102 (build-system python-build-system)
5104 `(("python-six" ,python-six)
5105 ("python-httpbin" ,python-httpbin)
5106 ("python-pytest" ,python-pytest)))
5108 "https://github.com/kevin1024/pytest-httpbin")
5110 "Test your HTTP library against a local copy of httpbin")
5112 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5113 into your tests. It automatically starts up a HTTP server in a separate thread running
5114 @code{httpbin} and provides your test with the URL in the fixture.")
5117 (define-public python2-pytest-httpbin
5118 (package-with-python2 python-pytest-httpbin))
5120 (define-public http-parser
5122 (name "http-parser")
5126 (uri (string-append "https://github.com/nodejs/http-parser/"
5127 "archive/v" version ".tar.gz"))
5128 (file-name (string-append name "-" version ".tar.gz"))
5131 "1cw6nf8xy4jhib1w0jd2y0gpqjbdasg8b7pkl2k2vpp54k9rlh3h"))))
5132 (build-system gnu-build-system)
5134 `(#:test-target "test"
5136 (list (string-append "PREFIX="
5137 (assoc-ref %outputs "out"))
5140 (modify-phases %standard-phases
5141 (delete 'configure))))
5142 (home-page "https://github.com/nodejs/http-parser")
5143 (synopsis "HTTP request/response parser for C")
5144 (description "This is a parser for HTTP messages written in C. It parses
5145 both requests and responses. The parser is designed to be used in
5146 high-performance HTTP applications. It does not make any syscalls nor
5147 allocations, it does not buffer data, it can be interrupted at anytime.
5148 Depending on your architecture, it only requires about 40 bytes of data per
5149 message stream (in a web server that is per connection).")
5152 (define-public python2-httpretty
5154 (name "python2-httpretty")
5159 (uri (pypi-uri "httpretty" version))
5162 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
5163 (build-system python-build-system)
5165 `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
5166 ("python-sphinx" ,python2-sphinx)
5167 ("python-coverage" ,python2-coverage)
5168 ("python-tornado" ,python2-tornado)
5169 ("python-urllib3" ,python2-urllib3)
5170 ("python-sure" ,python2-sure)
5171 ("python-steadymark" ,python2-steadymark)
5172 ("python-requests" ,python2-requests)
5173 ("python-rednose" ,python2-rednose)
5174 ("python-nose-randomly" ,python2-nose-randomly)
5175 ("python-misaka" ,python2-misaka)
5176 ("python-pytest-httpbin" ,python2-pytest-httpbin)
5177 ("python-nose" ,python2-nose)))
5180 ;; Requires mock>=1.3.0 which requires a more up-to-date
5181 ;; python-pbr. After updating these trying to build the
5182 ;; package leads to failures in python-flake8 and other
5183 ;; packages. The cascade of updates and failures this
5184 ;; leads to, seems to not be worth having the test run.
5187 (modify-phases %standard-phases
5188 (add-before 'build 'patch-test-requirements
5189 (lambda* (#:key inputs #:allow-other-keys)
5190 ;; Update requirements from dependecy==version
5191 ;; to dependency>=version
5192 (substitute* "development.txt"
5195 (home-page "http://github.com/gabrielfalcao/httpretty")
5196 (synopsis "HTTP client mock for Python")
5197 (description "@code{httpretty} is a helper for faking web requests,
5198 inspired by Ruby's @code{fakeweb}.")
5208 (uri (string-append "https://github.com/jpmens/jo/releases/download/v"
5209 version "/jo-" version ".tar.gz"))
5212 "0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3"))))
5213 (build-system gnu-build-system)
5214 (home-page "https://github.com/jpmens/jo")
5215 (synopsis "Output JSON from a shell")
5216 (description "jo is a command-line utility to create JSON objects or
5217 arrays. It creates a JSON string on stdout from words provided as
5218 command-line arguments or read from stdin.")
5219 (license (list l:gpl2+
5220 l:expat)))) ; json.c, json.h
5222 (define-public python-internetarchive
5224 (name "python-internetarchive")
5229 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
5230 "v" version ".tar.gz"))
5231 (file-name (string-append name "-" version ".tar.gz"))
5234 "0sdbb2ag6vmybi8zmbjszi492a587giaaqxyy1p6gy03cb8mc512"))))
5235 (build-system python-build-system)
5238 (modify-phases %standard-phases
5240 (add-after 'install 'check
5241 (lambda* (#:key inputs outputs #:allow-other-keys)
5242 (add-installed-pythonpath inputs outputs)
5243 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
5244 ":" (getenv "PATH")))
5245 (zero? (system* "py.test" "-v" "-k"
5247 ;; These tests attempt to make a connection to
5248 ;; an external web service.
5249 "not test_get_item_with_kwargs"
5250 " and not test_ia"))))))))
5252 `(("python-requests" ,python-requests)
5253 ("python-jsonpatch" ,python-jsonpatch-0.4)
5254 ("python-docopt" ,python-docopt)
5255 ("python-clint" ,python-clint)
5256 ("python-six" ,python-six)
5257 ("python-schema" ,python-schema-0.5)
5258 ("python-backports-csv" ,python-backports-csv)))
5260 `(("python-pytest" ,python-pytest)
5261 ("python-pytest-capturelog" ,python-pytest-capturelog)
5262 ("python-responses" ,python-responses)))
5263 (home-page "https://github.com/jjjake/internetarchive")
5264 (synopsis "Command-line interface to archive.org")
5265 (description "@code{ia} is a command-line tool for using
5266 @url{archive.org} from the command-line. It also emplements the
5267 internetarchive python module for programatic access to archive.org.")
5269 `((python2-variant . ,(delay python2-internetarchive))))
5270 (license l:agpl3+)))
5272 (define-public python2-internetarchive
5273 (package-with-python2
5274 (strip-python2-variant python-internetarchive)))
5276 (define-public python-clf
5277 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
5284 (uri (pypi-uri "clf" version))
5287 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
5288 (build-system python-build-system)
5290 `(("python-docopt" ,python-docopt)
5291 ("python-pygments" ,python-pygments)
5292 ("python-requests" ,python-requests)
5293 ("python-nose" ,python-nose)
5294 ("python-lxml" ,python-lxml)
5295 ("python-pyaml" ,python-pyaml)))
5300 (uri (string-append "https://raw.githubusercontent.com"
5301 "/ncrocfer/clf/" commit-test-clf
5305 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
5308 (modify-phases %standard-phases
5309 (add-after 'unpack 'get-tests
5311 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")))
5314 (zero? (system* "nosetests"
5315 ;; These tests require internet connection
5316 "--exclude=test_browse"
5317 "--exclude=test_command"
5318 "--exclude=test_search")))))))
5319 (home-page "https://github.com/ncrocfer/clf")
5320 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
5321 (description "@code{clf} is a command line tool for searching code
5322 snippets on @url{https://commandlinefu.com}.")
5323 (license l:expat))))
5325 (define-public python2-clf
5326 (package-with-python2 python-clf))
5328 (define-public r-shiny
5335 (uri (string-append "https://github.com/rstudio/shiny/"
5336 "archive/v" version ".tar.gz"))
5337 (file-name (string-append name "-" version ".tar.gz"))
5340 "0z2v2s4hd44mvzjn7r70549kdzkrrch9nxhp27r6x2cy6micizm3"))))
5341 (build-system r-build-system)
5343 `(#:modules ((guix build r-build-system)
5344 (guix build minify-build-system)
5347 #:imported-modules (,@%r-build-system-modules
5348 (guix build minify-build-system))
5350 (modify-phases (@ (guix build r-build-system) %standard-phases)
5351 (add-after 'unpack 'replace-bundled-minified-JavaScript
5352 (lambda* (#:key inputs #:allow-other-keys)
5353 (let ((replace-file (lambda (old new)
5354 (format #t "replacing ~a with ~a\n" old new)
5356 (symlink new old))))
5357 ;; NOTE: Files in ./inst/www/shared/datepicker/js/locales/
5358 ;; contain just data. They are not minified code, so we don't
5360 (with-directory-excursion "inst/www/shared"
5361 (replace-file "bootstrap/shim/respond.min.js"
5362 (string-append (assoc-ref inputs "js-respond")
5363 "/share/javascript/respond.min.js"))
5364 (replace-file "bootstrap/shim/html5shiv.min.js"
5365 (string-append (assoc-ref inputs "js-html5shiv")
5366 "/share/javascript/html5shiv.min.js"))
5367 (replace-file "json2-min.js"
5368 (string-append (assoc-ref inputs "js-json2")
5369 "/share/javascript/json2.min.js"))
5370 (replace-file "strftime/strftime-min.js"
5371 (string-append (assoc-ref inputs "js-strftime")
5372 "/share/javascript/strftime.min.js"))
5373 (replace-file "highlight/highlight.pack.js"
5374 (string-append (assoc-ref inputs "js-highlight")
5375 "/share/javascript/highlight.min.js"))
5376 (replace-file "datatables/js/jquery.dataTables.min.js"
5377 (string-append (assoc-ref inputs "js-datatables")
5378 "/share/javascript/jquery.dataTables.min.js"))
5379 (replace-file "selectize/js/selectize.min.js"
5380 (string-append (assoc-ref inputs "js-selectize")
5381 "/share/javascript/selectize.min.js"))
5382 (replace-file "selectize/js/es5-shim.min.js"
5383 (string-append (assoc-ref inputs "js-es5-shim")
5384 "/share/javascript/es5-shim.min.js"))
5385 (for-each (match-lambda
5387 (delete-file target)
5388 (minify source #:target target)))
5389 '(("jqueryui/jquery-ui.js" .
5390 "jqueryui/jquery-ui.min.js")
5391 ("showdown/src/showdown.js" .
5392 "showdown/compressed/showdown.js")
5393 ("datepicker/js/bootstrap-datepicker.js" .
5394 "datepicker/js/bootstrap-datepicker.min.js")
5395 ("ionrangeslider/js/ion.rangeSlider.js" .
5396 "ionrangeslider/js/ion.rangeSlider.min.js")
5397 ("bootstrap/js/bootstrap.js" .
5398 "bootstrap/js/bootstrap.min.js")
5402 "jquery.min.js")))))
5405 `(("r-httpuv" ,r-httpuv)
5407 ("r-jsonlite" ,r-jsonlite)
5408 ("r-xtable" ,r-xtable)
5409 ("r-digest" ,r-digest)
5410 ("r-htmltools" ,r-htmltools)
5412 ("r-sourcetools" ,r-sourcetools)))
5414 `(("js-datatables" ,js-datatables)
5415 ("js-html5shiv" ,js-html5shiv)
5416 ("js-json2" ,js-json2)
5417 ("js-respond" ,js-respond)
5418 ("js-selectize" ,js-selectize)
5419 ("js-strftime" ,js-strftime)
5420 ("js-highlight" ,js-highlight)
5421 ("js-es5-shim" ,js-es5-shim)))
5422 (home-page "http://shiny.rstudio.com")
5423 (synopsis "Easy interactive web applications with R")
5425 "Makes it incredibly easy to build interactive web applications
5426 with R. Automatic \"reactive\" binding between inputs and outputs and
5427 extensive prebuilt widgets make it possible to build beautiful,
5428 responsive, and powerful applications with minimal effort.")
5429 (license l:artistic2.0)))
5431 (define-public r-shinydashboard
5433 (name "r-shinydashboard")
5437 (uri (cran-uri "shinydashboard" version))
5440 "14zi7g5wrngy6lwi9xpvaid7727m6rfdijbb89al9likfhjqzqqy"))))
5441 (build-system r-build-system)
5442 ;; The directory inst/AdminLTE/ contains a minified JavaScript file.
5443 ;; Regenerate it from the included sources.
5445 `(#:modules ((guix build utils)
5446 (guix build r-build-system)
5449 (modify-phases %standard-phases
5450 (add-after 'unpack 'generate-minified-javascript
5452 (with-directory-excursion "inst/AdminLTE"
5453 (delete-file "app.min.js")
5454 (let ((minified (open-pipe* OPEN_READ "uglify-js" "app.js")))
5455 (call-with-output-file "app.min.js"
5457 (dump-port minified port))))))))))
5459 `(("r-htmltools" ,r-htmltools)
5460 ("r-shiny" ,r-shiny)))
5462 `(("uglify-js" ,uglify-js)))
5463 (home-page "http://rstudio.github.io/shinydashboard/")
5464 (synopsis "Create dashboards with shiny")
5465 (description "This package provides an extension to the Shiny web
5466 application framework for R, making it easy to create attractive dashboards.")
5467 ;; This package includes software that was released under the Expat
5468 ;; license, but the whole package is released under GPL version 2 or
5472 (define-public r-crosstalk
5474 (name "r-crosstalk")
5479 (uri (cran-uri "crosstalk" version))
5482 "0lfa89vhrzi7a1rghmygcjr8gzddw35sinb3jx6g49mc9jias7mk"))))
5483 (build-system r-build-system)
5485 `(("r-ggplot2" ,r-ggplot2)
5486 ("r-htmltools" ,r-htmltools)
5487 ("r-jsonlite" ,r-jsonlite)
5488 ("r-lazyeval" ,r-lazyeval)
5490 ("r-shiny" ,r-shiny)))
5491 (home-page "https://rstudio.github.io/crosstalk/")
5492 (synopsis "Inter-widget interactivity for HTML widgets")
5494 "This package provides building blocks for allowing HTML widgets to
5495 communicate with each other, with Shiny or without (i.e. static @code{.html}
5496 files). It currently supports linked brushing and filtering.")
5499 (define-public r-rook
5506 (uri (cran-uri "Rook" version))
5509 "00s9a0kr9rwxvlq433daxjk4ji8m0w60hjdprf502msw9kxfrx00"))))
5510 (properties `((upstream-name . "Rook")))
5511 (build-system r-build-system)
5512 (propagated-inputs `(("r-brew" ,r-brew)))
5513 (home-page "https://cran.r-project.org/web/packages/Rook")
5514 (synopsis "Web server interface for R")
5516 "This package contains the Rook specification and convenience software
5517 for building and running Rook applications. A Rook application is an R
5518 reference class object that implements a @code{call} method or an R closure
5519 that takes exactly one argument, an environment, and returns a list with three
5520 named elements: the @code{status}, the @code{headers}, and the @code{body}.")
5523 (define-public rss-bridge
5526 (version "2017-08-03")
5530 (uri (string-append "https://github.com/RSS-Bridge/rss-bridge/archive/"
5532 (file-name (string-append name "-" version ".tar.gz"))
5535 "05s16y552hbyj91s7bnlkx1bi64s6aw0fjy29az8via3i3b21yhl"))))
5536 (build-system trivial-build-system)
5541 '(#:modules ((guix build utils))
5544 (use-modules (guix build utils)
5546 (let* ((out (assoc-ref %outputs "out"))
5547 (share-rss-bridge (string-append out "/share/rss-bridge")))
5548 (set-path-environment-variable
5549 "PATH" '("bin") (map (match-lambda ((_ . input) input))
5551 (mkdir-p share-rss-bridge)
5552 (system* "tar" "xvf" (assoc-ref %build-inputs "source")
5553 "--strip-components" "1" "-C" share-rss-bridge)
5555 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5556 (synopsis "Generate Atom feeds for social networking websites")
5557 (description "rss-bridge generates Atom feeds for social networking
5558 websites lacking feeds. Supported websites include Facebook, Twitter,
5559 Instagram and YouTube.")
5560 (license (list l:public-domain
5561 l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php
5563 (define-public linkchecker
5565 (name "linkchecker")
5570 (uri (pypi-uri "LinkChecker" version))
5573 "0v8pavf0bx33xnz1kwflv0r7lxxwj7vg3syxhy2wzza0wh6sc2pf"))))
5574 (build-system python-build-system)
5576 `(("python2-requests" ,python2-requests)))
5578 `(#:python ,python-2
5580 (modify-phases %standard-phases
5581 ;; Remove faulty python-requests version check. This has been fixed
5582 ;; upstream, and can be removed in version 9.4.
5583 (add-after 'unpack 'remove-python-requests-version
5585 (substitute* "linkcheck/__init__.py"
5586 (("requests.__version__ <= '2.2.0'") "False"))
5588 (home-page "https://linkcheck.github.io/linkchecker")
5589 (synopsis "Check websites for broken links")
5590 (description "LinkChecker is a website validator. It checks for broken
5591 links in websites. It is recursive and multithreaded providing output in
5592 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
5593 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
5595 (license (list l:gpl2+
5596 l:bsd-2 ; linkcheck/better_exchook2.py
5597 l:bsd-3 ; linkcheck/colorama.py
5598 l:psfl ; linkcheck/gzip2.py
5599 l:expat ; linkcheck/mem.py
5600 ;; FIXME: Unbundle dnspython and miniboa
5601 ;; This issue has been raised upstream
5602 ;; https://github.com/wummel/linkchecker/issues/729
5603 l:isc ; third_party/dnspython
5604 l:asl2.0)))) ; third_party/miniboa
5606 (define-public cadaver
5613 (uri (string-append "http://www.webdav.org/cadaver/"
5614 name "-" version ".tar.gz"))
5617 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
5618 (build-system gnu-build-system)
5619 ;; TODO: Unbundle libneon and make build succeed with new neon.
5621 `(#:configure-flags (list "--with-ssl=openssl")
5622 #:tests? #f)) ;No tests included
5624 `(("gettext" ,gnu-gettext)
5625 ("pkg-config" ,pkg-config)
5626 ("intltool" ,intltool)))
5629 ("openssl" ,openssl)))
5630 (home-page "http://www.webdav.org/cadaver")
5631 (synopsis "Command-line WebDAV client")
5633 "Cadaver is a command-line WebDAV client for Unix. It supports
5634 file upload, download, on-screen display, namespace operations (move/copy),
5635 collection creation and deletion, and locking operations.")
5638 (define-public python-py-ubjson
5640 (name "python-py-ubjson")
5645 (uri (pypi-uri "py-ubjson" version))
5648 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
5649 (build-system python-build-system)
5650 (home-page "https://github.com/Iotic-Labs/py-ubjson")
5651 (synopsis "Universal Binary JSON encoder/decoder")
5653 "Py-ubjson is a Python module providing an Universal Binary JSON
5654 encoder/decoder based on the draft-12 specification for UBJSON.")
5655 (license l:asl2.0)))
5657 (define-public java-tomcat
5659 (name "java-tomcat")
5663 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
5664 version "/src/apache-tomcat-" version "-src.tar.gz"))
5667 "0q2bc3sajrmcx3z3vhhwp78y47ryc2ky8ssbdmfk24zvqdb76hvl"))))
5668 (build-system ant-build-system)
5670 `(("java-eclipse-jdt-core" ,java-eclipse-jdt-core)))
5672 `(("java-junit" ,java-junit)))
5674 `(#:build-target "package"
5675 #:tests? #f; requires downloading some files.
5677 (modify-phases %standard-phases
5678 (add-after 'unpack 'prevent-download
5680 ;; This directory must exist
5682 ;; We patch build.xml so it doesn't download any dependency, because
5683 ;; we already have all of them.
5684 (substitute* "build.xml"
5685 (("download-compile,") "")
5686 (("depends=\"validate\"") "depends=\"build-prepare\"")
5687 ((",download-validate") ""))
5689 (add-after 'unpack 'generate-properties
5691 ;; This could have been passed to make-flags, but getcwd returns
5692 ;; a different directory then.
5693 (with-output-to-file "build.properties"
5696 (string-append "base.path=" (getcwd) "/downloads\n"))))
5699 (install-jars "output/build/lib")))))
5700 (home-page "https://tomcat.apache.org")
5701 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
5703 (description "Apache Tomcat is a free implementation of the Java
5704 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
5706 (license l:asl2.0)))
5708 (define-public java-eclipse-jetty-test-helper
5710 (name "java-eclipse-jetty-test-helper")
5714 (uri (string-append "https://github.com/eclipse/jetty.toolchain/"
5715 "archive/jetty-test-helper-" version ".tar.gz"))
5718 "1jd6r9wc26fa11si4rn2gvy8ml8q4zw1nr6v04mjp8wvwpgvzwx5"))))
5719 (build-system ant-build-system)
5721 `(#:jar-name "eclipse-jetty-test-helper.jar"
5722 #:source-dir "src/main/java"
5723 #:test-dir "src/test"
5726 (modify-phases %standard-phases
5727 (add-before 'configure 'chdir
5729 (chdir "jetty-test-helper")))
5730 (add-before 'build 'fix-paths
5733 ;; This file assumes that the build directory is named "target"
5734 ;; but it is not the case with our ant-build-system. Once we have
5735 ;; maven though, we will have to rebuild this package because this
5736 ;; assumption is correct with maven-build-system.
5738 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
5739 (("\"target\"") "\"build\"")
5740 (("\"tests\"") "\"test-classes\""))
5741 ;; Tests assume we are building with maven, so that the build
5742 ;; directory is named "target", and not "build".
5743 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
5744 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
5745 "MavenTestingUtilsTest.java")
5746 (("target/tests") "build/test-classes")
5747 (("\"target") "\"build")))
5750 `(("junit" ,java-junit)
5751 ("hamcrest" ,java-hamcrest-all)))
5752 (home-page "https://www.eclipse.org/jetty/")
5753 (synopsis "Helper classes for jetty tests")
5754 (description "This packages contains helper classes for testing the Jetty
5756 ;; This program is licensed under both epl and asl.
5757 (license (list l:epl1.0 l:asl2.0))))
5759 (define-public java-eclipse-jetty-perf-helper
5761 (inherit java-eclipse-jetty-test-helper)
5762 (name "java-eclipse-jetty-perf-helper")
5764 `(#:jar-name "eclipse-jetty-perf-helper.jar"
5765 #:source-dir "src/main/java"
5766 #:tests? #f; no tests
5769 (modify-phases %standard-phases
5770 (add-before 'configure 'chdir
5772 (chdir "jetty-perf-helper")
5775 `(("hdrhistogram" ,java-hdrhistogram)))))
5777 (define-public java-eclipse-jetty-util
5779 (name "java-eclipse-jetty-util")
5783 (uri (string-append "https://github.com/eclipse/jetty.project/"
5784 "archive/jetty-" version ".v20170531.tar.gz"))
5787 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
5788 (build-system ant-build-system)
5790 `(#:jar-name "eclipse-jetty-util.jar"
5791 #:source-dir "src/main/java"
5793 (list "**/Abstract*.java"
5795 "**/InetAddressSetTest.java"
5796 ;; Assumes we are using maven
5797 "**/TypeUtilTest.java"
5798 ;; Error on the style of log
5799 "**/StdErrLogTest.java")
5802 (modify-phases %standard-phases
5803 (add-before 'configure 'chdir
5805 (chdir "jetty-util")
5808 `(("slf4j" ,java-slf4j-api)
5809 ("servlet" ,java-tomcat)))
5811 `(("junit" ,java-junit)
5812 ("hamcrest" ,java-hamcrest-all)
5813 ("perf-helper" ,java-eclipse-jetty-perf-helper)
5814 ("test-helper" ,java-eclipse-jetty-test-helper)))
5815 (home-page "https://www.eclipse.org/jetty/")
5816 (synopsis "Utility classes for Jetty")
5817 (description "The Jetty Web Server provides an HTTP server and Servlet
5818 container capable of serving static and dynamic content either from a standalone
5819 or embedded instantiation. This package provides utility classes.")
5820 (license (list l:epl1.0 l:asl2.0))))
5822 ;; This version is required by maven-wagon
5823 (define-public java-eclipse-jetty-util-9.2
5825 (inherit java-eclipse-jetty-util)
5829 (uri (string-append "https://github.com/eclipse/jetty.project/"
5830 "archive/jetty-" version ".v20170606.tar.gz"))
5833 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
5835 `(#:jar-name "eclipse-jetty-util.jar"
5836 #:source-dir "src/main/java"
5839 (list "**/Abstract*.java"
5841 "**/InetAddressSetTest.java"
5842 ;; Assumes we are using maven
5843 "**/TypeUtilTest.java"
5844 ;; We don't have an implementation for slf4j
5846 ;; Error on the style of log
5847 "**/StdErrLogTest.java")
5849 (modify-phases %standard-phases
5850 (add-before 'configure 'chdir
5852 (chdir "jetty-util")
5854 (add-before 'build 'fix-test-sources
5856 ;; We need to fix issues caused by changes in newer versions of
5857 ;; jetty-test-helper
5858 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
5859 (substitute* (string-append src "/AbstractFSResourceTest.java")
5860 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
5861 (("testdir.getFile\\(\"foo\"\\)")
5862 "testdir.getPathFile(\"foo\").toFile()")
5863 (("testdir.getFile\\(name\\)")
5864 "testdir.getPathFile(name).toFile()")))
5867 (define-public java-eclipse-jetty-io
5869 (inherit java-eclipse-jetty-util)
5870 (name "java-eclipse-jetty-io")
5872 `(#:jar-name "eclipse-jetty-io.jar"
5873 #:source-dir "src/main/java"
5875 #:test-exclude (list "**/Abstract*.java"
5877 "**/EndPointTest.java")
5879 (modify-phases %standard-phases
5880 (add-before 'configure 'chdir
5885 `(("slf4j" ,java-slf4j-api)
5886 ("servlet" ,java-tomcat)
5887 ("util" ,java-eclipse-jetty-util)))
5888 (synopsis "Jetty :: IO Utility")
5889 (description "The Jetty Web Server provides an HTTP server and Servlet
5890 container capable of serving static and dynamic content either from a standalone
5891 or embedded instantiation. This package provides IO-related utility classes.")))
5893 (define-public java-eclipse-jetty-io-9.2
5895 (inherit java-eclipse-jetty-io)
5896 (version (package-version java-eclipse-jetty-util-9.2))
5897 (source (package-source java-eclipse-jetty-util-9.2))
5899 `(("util" ,java-eclipse-jetty-util-9.2)
5900 ,@(package-inputs java-eclipse-jetty-util-9.2)))
5902 `(("mockito" ,java-mockito-1)
5903 ("cglib" ,java-cglib)
5904 ("objenesis" ,java-objenesis)
5906 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
5908 (define-public java-eclipse-jetty-http
5910 (inherit java-eclipse-jetty-util)
5911 (name "java-eclipse-jetty-http")
5913 `(#:jar-name "eclipse-jetty-http.jar"
5914 #:source-dir "src/main/java"
5917 (modify-phases %standard-phases
5918 (add-before 'configure 'chdir
5920 (chdir "jetty-http")
5922 (add-before 'build 'copy-resources
5924 (mkdir-p "build/classes")
5925 (copy-recursively "src/main/resources/" "build/classes/")
5928 `(("slf4j" ,java-slf4j-api)
5929 ("servlet" ,java-tomcat)
5930 ("io" ,java-eclipse-jetty-io)
5931 ("util" ,java-eclipse-jetty-util)))
5932 (synopsis "Jetty :: Http Utility")
5933 (description "The Jetty Web Server provides an HTTP server and Servlet
5934 container capable of serving static and dynamic content either from a standalone
5935 or embedded instantiation. This package provides HTTP-related utility classes.")))
5937 (define-public java-eclipse-jetty-http-9.2
5939 (inherit java-eclipse-jetty-http)
5940 (version (package-version java-eclipse-jetty-util-9.2))
5941 (source (package-source java-eclipse-jetty-util-9.2))
5943 `(("util" ,java-eclipse-jetty-util-9.2)
5944 ("io" ,java-eclipse-jetty-io-9.2)
5945 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5947 (define-public java-eclipse-jetty-jmx
5949 (inherit java-eclipse-jetty-util)
5950 (name "java-eclipse-jetty-jmx")
5952 `(#:jar-name "eclipse-jetty-jmx.jar"
5953 #:source-dir "src/main/java"
5955 #:tests? #f; FIXME: requires com.openpojo.validation
5957 (modify-phases %standard-phases
5958 (add-before 'configure 'chdir
5963 `(("slf4j" ,java-slf4j-api)
5964 ("servlet" ,java-tomcat)
5965 ("util" ,java-eclipse-jetty-util)))
5966 (synopsis "Jetty :: JMX Management")
5967 (description "The Jetty Web Server provides an HTTP server and Servlet
5968 container capable of serving static and dynamic content either from a standalone
5969 or embedded instantiation. This package provides the JMX management.")))
5971 (define-public java-eclipse-jetty-jmx-9.2
5973 (inherit java-eclipse-jetty-jmx)
5974 (version (package-version java-eclipse-jetty-util-9.2))
5975 (source (package-source java-eclipse-jetty-util-9.2))
5977 `(("util" ,java-eclipse-jetty-util-9.2)
5978 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
5980 (define java-eclipse-jetty-http-test-classes
5982 (inherit java-eclipse-jetty-util)
5983 (name "java-eclipse-jetty-http-test-classes")
5985 `(#:jar-name "eclipse-jetty-http.jar"
5986 #:source-dir "src/test"
5990 (modify-phases %standard-phases
5991 (add-before 'configure 'chdir
5993 (chdir "jetty-http"))))))
5995 `(("slf4j" ,java-slf4j-api)
5996 ("servlet" ,java-tomcat)
5997 ("http" ,java-eclipse-jetty-http)
5998 ("io" ,java-eclipse-jetty-io)
5999 ("util" ,java-eclipse-jetty-util)))))
6001 (define java-eclipse-jetty-http-test-classes-9.2
6003 (inherit java-eclipse-jetty-http-test-classes)
6004 (version (package-version java-eclipse-jetty-util-9.2))
6005 (source (package-source java-eclipse-jetty-util-9.2))
6007 `(("http" ,java-eclipse-jetty-http-9.2)
6008 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6010 (define-public java-eclipse-jetty-server
6012 (inherit java-eclipse-jetty-util)
6013 (name "java-eclipse-jetty-server")
6015 `(#:jar-name "eclipse-jetty-server.jar"
6016 #:source-dir "src/main/java"
6018 #:tests? #f; requires a mockito version we don't have
6020 (modify-phases %standard-phases
6021 (add-before 'configure 'chdir
6023 (chdir "jetty-server")
6025 (add-before 'build 'fix-source
6027 ;; Explicit casts to prevent build failures
6028 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6029 (("append\\(LazyList")
6030 "append((CharSequence)LazyList"))
6032 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6034 "Class<\\? extends EventListener> clazz = _classLoader==null"
6035 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6036 "_classLoader.loadClass\\(className\\);"))
6037 (string-append "Class<? extends EventListener> clazz = "
6038 "(Class<? extends EventListener>) "
6039 "(_classLoader==null?Loader.loadClass("
6040 "ContextHandler.class,className):"
6041 "_classLoader.loadClass(className));")))
6044 `(("slf4j" ,java-slf4j-api)
6045 ("servlet" ,java-tomcat)
6046 ("http" ,java-eclipse-jetty-http)
6047 ("io" ,java-eclipse-jetty-io)
6048 ("jmx" ,java-eclipse-jetty-jmx)
6049 ("util" ,java-eclipse-jetty-util)))
6051 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6052 ,@(package-native-inputs java-eclipse-jetty-util)))
6053 (synopsis "Core jetty server artifact")
6054 (description "The Jetty Web Server provides an HTTP server and Servlet
6055 container capable of serving static and dynamic content either from a standalone
6056 or embedded instantiation. This package provides the core jetty server
6059 (define-public java-eclipse-jetty-server-9.2
6061 (inherit java-eclipse-jetty-server)
6062 (version (package-version java-eclipse-jetty-util-9.2))
6063 (source (package-source java-eclipse-jetty-util-9.2))
6065 `(("util" ,java-eclipse-jetty-util-9.2)
6066 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6067 ("io" ,java-eclipse-jetty-io-9.2)
6068 ("http" ,java-eclipse-jetty-http-9.2)
6069 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6071 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6072 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6074 (define-public java-eclipse-jetty-security
6076 (inherit java-eclipse-jetty-util)
6077 (name "java-eclipse-jetty-security")
6079 `(#:jar-name "eclipse-jetty-security.jar"
6080 #:source-dir "src/main/java"
6083 (modify-phases %standard-phases
6084 (add-before 'configure 'chdir
6086 (chdir "jetty-security")
6089 `(("slf4j" ,java-slf4j-api)
6090 ("servlet" ,java-tomcat)
6091 ("http" ,java-eclipse-jetty-http)
6092 ("server" ,java-eclipse-jetty-server)
6093 ("util" ,java-eclipse-jetty-util)))
6095 `(("io" ,java-eclipse-jetty-io)
6096 ,@(package-native-inputs java-eclipse-jetty-util)))
6097 (synopsis "Jetty security infrastructure")
6098 (description "The Jetty Web Server provides an HTTP server and Servlet
6099 container capable of serving static and dynamic content either from a standalone
6100 or embedded instantiation. This package provides the core jetty security
6103 (define-public java-eclipse-jetty-security-9.2
6105 (inherit java-eclipse-jetty-security)
6106 (version (package-version java-eclipse-jetty-util-9.2))
6107 (source (package-source java-eclipse-jetty-util-9.2))
6109 `(("util" ,java-eclipse-jetty-util-9.2)
6110 ("http" ,java-eclipse-jetty-http-9.2)
6111 ("server" ,java-eclipse-jetty-server-9.2)
6112 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6114 `(("io" ,java-eclipse-jetty-io-9.2)
6115 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6117 (define-public java-eclipse-jetty-servlet
6119 (inherit java-eclipse-jetty-util)
6120 (name "java-eclipse-jetty-servlet")
6122 `(#:jar-name "eclipse-jetty-servlet.jar"
6123 #:source-dir "src/main/java"
6126 (modify-phases %standard-phases
6127 (add-before 'configure 'chdir
6129 (chdir "jetty-servlet")
6132 `(("slf4j" ,java-slf4j-api)
6133 ("servlet" ,java-tomcat)
6134 ("http" ,java-eclipse-jetty-http)
6135 ("http-test" ,java-eclipse-jetty-http-test-classes)
6136 ("io" ,java-eclipse-jetty-io)
6137 ("jmx" ,java-eclipse-jetty-jmx)
6138 ("security" ,java-eclipse-jetty-security)
6139 ("server" ,java-eclipse-jetty-server)
6140 ("util" ,java-eclipse-jetty-util)))
6141 (synopsis "Jetty Servlet Container")
6142 (description "The Jetty Web Server provides an HTTP server and Servlet
6143 container capable of serving static and dynamic content either from a standalone
6144 or embedded instantiation. This package provides the core jetty servlet
6147 (define-public java-eclipse-jetty-servlet-9.2
6149 (inherit java-eclipse-jetty-servlet)
6150 (version (package-version java-eclipse-jetty-util-9.2))
6151 (source (package-source java-eclipse-jetty-util-9.2))
6153 `(#:jar-name "eclipse-jetty-servlet.jar"
6154 #:source-dir "src/main/java"
6156 #:tests? #f; doesn't work
6158 (modify-phases %standard-phases
6159 (add-before 'configure 'chdir
6161 (chdir "jetty-servlet")
6164 `(("util" ,java-eclipse-jetty-util-9.2)
6165 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6166 ("io" ,java-eclipse-jetty-io-9.2)
6167 ("http" ,java-eclipse-jetty-http-9.2)
6168 ("security" ,java-eclipse-jetty-security-9.2)
6169 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
6170 ("server" ,java-eclipse-jetty-server-9.2)
6171 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6173 (define-public java-jsoup
6179 (uri (string-append "https://github.com/jhy/jsoup/archive/jsoup-"
6183 "0xbzw7rjv7s4nz1xk9b2cnin6zkpaldmc3svk71waa7hhjgp0a20"))))
6184 (build-system ant-build-system)
6186 `(#:jar-name "jsoup.jar"
6187 #:source-dir "src/main/java"
6189 (modify-phases %standard-phases
6190 (add-before 'build 'copy-resources
6192 (let ((classes-dir (string-append (getcwd) "/build/classes")))
6193 (with-directory-excursion "src/main/java"
6194 (for-each (lambda (file)
6195 (let ((dist (string-append classes-dir "/" file)))
6196 (mkdir-p (dirname dist))
6197 (copy-file file dist)))
6198 (find-files "." ".*.properties"))))
6201 `(("java-junit" ,java-junit)
6202 ("java-hamcrest-core" ,java-hamcrest-core)
6203 ("java-gson" ,java-gson)))
6204 (home-page "https://jsoup.org")
6205 (synopsis "HTML parser")
6206 (description "Jsoup is a Java library for working with real-world HTML. It
6207 provides a very convenient API for extracting and manipulating data, using the
6208 best of DOM, CSS, and jQuery-like methods.")
6211 (define-public tidyp
6218 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
6222 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
6223 (build-system gnu-build-system)
6224 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
6225 (arguments `(#:tests? #f))
6226 (home-page "http://www.tidyp.com/")
6227 (synopsis "Validate HTML")
6228 (description "Tidyp is a program that can validate your HTML, as well as
6229 modify it to be more clean and standard. tidyp does not validate HTML 5.
6231 libtidyp is the library on which the program is based. It can be used by any
6232 other program that can interface to it. The Perl module @code{HTML::Tidy} is
6233 based on this library, allowing Perl programmers to easily validate HTML.")
6234 ;; See htmldoc/license.html
6237 (define-public perl-html-tidy
6239 (name "perl-html-tidy")
6244 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
6248 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
6249 (build-system perl-build-system)
6252 (modify-phases %standard-phases
6253 (add-after 'unpack 'fix-tidyp-paths
6254 (lambda* (#:key inputs #:allow-other-keys)
6255 (substitute* "Makefile.PL"
6256 (("^my \\$inc = \"" line)
6258 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
6261 "-L" (assoc-ref inputs "tidyp") "/lib")))
6264 `(("perl-libwww" ,perl-libwww)
6267 `(("perl-test-exception" ,perl-test-exception)))
6268 (home-page "http://search.cpan.org/dist/HTML-Tidy/")
6269 (synopsis "(X)HTML validation in a Perl object")
6270 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
6271 object. It's meant as a replacement for @code{HTML::Lint}, which is written
6272 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
6273 (license l:artistic2.0)))
6275 (define-public geomyidae
6282 (uri (string-append "http://git.r-36.net/geomyidae/snapshot/"
6283 "geomyidae-" version ".tar.bz2"))
6286 "0qxgxp6psfrgfqhndyq2z54nb1qrmvvljddnxdwp207jbz366bja"))))
6287 (build-system gnu-build-system)
6289 `(#:make-flags (list "CC=gcc"
6290 (string-append "PREFIX="
6291 (assoc-ref %outputs "out")))
6292 #:tests? #f ;no tests
6293 #:phases (modify-phases %standard-phases
6294 (delete 'configure))))
6295 (home-page "http://git.r-36.net/geomyidae")
6296 (synopsis "Small Gopher server")
6298 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
6302 @item Gopher menus (see @file{index.gph} for an example);
6303 @item directory listings (if no @file{index.gph} was found);
6304 @item CGI support (@file{.cgi} files are executed);
6305 @item search support in CGI files;
6306 @item logging with multiple log levels.
6310 (define-public cat-avatar-generator
6312 (name "cat-avatar-generator")
6317 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
6318 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
6319 (file-name (string-append name "-" version))
6322 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
6323 (build-system trivial-build-system)
6325 `(#:modules ((guix build utils)
6330 (use-modules (guix build utils)
6333 (let ((source (assoc-ref %build-inputs "source"))
6334 (php-dir (string-append %output "/share/web/" ,name "/")))
6335 ;; The cache directory must not be in the store, but in a writable
6336 ;; location. The webserver will give us this location.
6337 (copy-recursively source php-dir)
6338 (substitute* (string-append php-dir "/cat-avatar-generator.php")
6339 (("\\$cachepath = .*")
6340 "if(isset($_SERVER['CACHE_DIR']))
6341 $cachepath = $_SERVER['CACHE_DIR'];
6343 die('You need to set the CACHE_DIR variable first.');"))))))
6344 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
6345 (synopsis "Random avatar generator")
6346 (description "Cat avatar generator is a generator of cat pictures optimised
6347 to generate random avatars, or defined avatar from a \"seed\". This is a
6348 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
6349 ;; expat for the code, CC-BY 4.0 for the artwork
6350 (license (list l:expat
6353 (define-public nghttp2
6360 (uri (string-append "https://github.com/nghttp2/nghttp2/"
6361 "releases/download/v" version "/"
6362 name "-" version ".tar.xz"))
6365 "1ivs74v9sa2sds3dq0s7vn9bkmhr2hgwyg1an1rah3agqwnkqmrn"))))
6366 (build-system gnu-build-system)
6367 (outputs (list "out"
6368 "lib")) ; only libnghttp2
6370 `(("pkg-config" ,pkg-config)
6372 ;; Required by tests.
6374 ("tzdata" ,tzdata-for-tests)))
6376 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
6377 `(("c-ares" ,c-ares)
6378 ("jansson" ,jansson) ; for HPACK tools
6379 ("jemalloc" ,jemalloc) ; fight nghttpd{,x} heap fragmentation
6381 ("libxml2" ,libxml2) ; for ‘nghttp -a’
6382 ("openssl" ,openssl)))
6385 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
6386 "--enable-app" ; build all the tools
6387 "--enable-hpack-tools" ; ...all the tools
6388 "--disable-examples"
6389 "--disable-static") ; don't bother building .a files
6391 (modify-phases %standard-phases
6392 (add-after 'unpack 'break-circular-reference
6393 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
6394 ;; which is not allowed. Break this cycle. While we could install
6395 ;; only the library to ‘out’ and move everything else to a separate
6396 ;; output, this would inconvenience the majority of (human) users.
6397 (lambda* (#:key outputs #:allow-other-keys)
6398 (substitute* "lib/libnghttp2.pc.in"
6400 (assoc-ref outputs "lib")))
6402 (add-before 'check 'set-timezone-directory
6403 (lambda* (#:key inputs #:allow-other-keys)
6404 (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
6407 (home-page "https://nghttp2.org/")
6408 (synopsis "HTTP/2 protocol client, proxy, server, and library")
6410 "nghttp2 implements the Hypertext Transfer Protocol, version
6413 A reusable C library provides the HTTP/2 framing layer, with several tools built
6417 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
6418 and low-level aspects of the protocol and is useful for debugging.
6419 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
6420 serves files from a local directory.
6421 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
6422 deployed in front of existing web servers that don't support HTTP/2.
6423 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
6424 backwards compatibilty with clients that don't speak HTTP/2.
6425 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
6426 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
6427 nghttp2 provides a HPACK encoder and decoder as part of its public API.
6428 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
6429 compressed JSON header blocks.
6430 @item @command{inflatehd} converts such compressed headers back to JSON pairs.