1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
4 ;;; Copyright © 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
7 ;;; Copyright © 2018 Raoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>
8 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
9 ;;; Copyright © 2015, 2016, 2017 Eric Bavier <bavier@member.fsf.org>
10 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
11 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
12 ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
13 ;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
14 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
15 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
16 ;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
17 ;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
18 ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
19 ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
20 ;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
21 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
22 ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
23 ;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
24 ;;; Copyright © 2017 Petter <petter@mykolab.ch>
25 ;;; Copyright © 2017 Pierre Langlois <pierre.langlois@gmx.com>
26 ;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
27 ;;; Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
28 ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
29 ;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
31 ;;; This file is part of GNU Guix.
33 ;;; GNU Guix is free software; you can redistribute it and/or modify it
34 ;;; under the terms of the GNU General Public License as published by
35 ;;; the Free Software Foundation; either version 3 of the License, or (at
36 ;;; your option) any later version.
38 ;;; GNU Guix is distributed in the hope that it will be useful, but
39 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
40 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41 ;;; GNU General Public License for more details.
43 ;;; You should have received a copy of the GNU General Public License
44 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
46 (define-module (gnu packages web)
47 #:use-module (ice-9 match)
48 #:use-module ((guix licenses) #:prefix l:)
49 #:use-module (guix packages)
50 #:use-module (guix download)
51 #:use-module (guix git-download)
52 #:use-module (guix cvs-download)
53 #:use-module (guix hg-download)
54 #:use-module (guix utils)
55 #:use-module (guix build-system gnu)
56 #:use-module (guix build-system glib-or-gtk)
57 #:use-module (guix build-system perl)
58 #:use-module (guix build-system cmake)
59 #:use-module (guix build-system r)
60 #:use-module (guix build-system trivial)
61 #:use-module (guix build-system python)
62 #:use-module (guix build-system ant)
63 #:use-module (guix build-system scons)
64 #:use-module (gnu packages)
65 #:use-module (gnu packages admin)
66 #:use-module (gnu packages adns)
67 #:use-module (gnu packages apr)
68 #:use-module (gnu packages check)
69 #:use-module (gnu packages cran)
70 #:use-module (gnu packages documentation)
71 #:use-module (gnu packages docbook)
72 #:use-module (gnu packages autotools)
73 #:use-module (gnu packages compression)
74 #:use-module (gnu packages cyrus-sasl)
75 #:use-module (gnu packages databases)
76 #:use-module (gnu packages bison)
77 #:use-module (gnu packages flex)
78 #:use-module (gnu packages freedesktop)
79 #:use-module (gnu packages kerberos)
80 #:use-module (gnu packages gd)
81 #:use-module (gnu packages gettext)
82 #:use-module (gnu packages glib)
83 #:use-module (gnu packages gnome)
84 #:use-module (gnu packages gnu-doc)
85 #:use-module (gnu packages gnupg)
86 #:use-module (gnu packages gnuzilla)
87 #:use-module (gnu packages gperf)
88 #:use-module (gnu packages gtk)
89 #:use-module (gnu packages guile)
90 #:use-module (gnu packages java)
91 #:use-module (gnu packages javascript)
92 #:use-module (gnu packages jemalloc)
93 #:use-module (gnu packages image)
94 #:use-module (gnu packages imagemagick)
95 #:use-module (gnu packages libevent)
96 #:use-module (gnu packages libidn)
97 #:use-module (gnu packages libunistring)
98 #:use-module (gnu packages linux)
99 #:use-module (gnu packages lisp)
100 #:use-module (gnu packages lua)
101 #:use-module (gnu packages markup)
102 #:use-module (gnu packages ncurses)
103 #:use-module (gnu packages openstack)
104 #:use-module (gnu packages base)
105 #:use-module (gnu packages package-management)
106 #:use-module (gnu packages perl)
107 #:use-module (gnu packages perl-check)
108 #:use-module (gnu packages python)
109 #:use-module (gnu packages python-web)
110 #:use-module (gnu packages pcre)
111 #:use-module (gnu packages pkg-config)
112 #:use-module (gnu packages qt)
113 #:use-module (gnu packages valgrind)
114 #:use-module (gnu packages xml)
115 #:use-module (gnu packages curl)
116 #:use-module (gnu packages texinfo)
117 #:use-module (gnu packages textutils)
118 #:use-module (gnu packages tls)
119 #:use-module (gnu packages statistics)
120 #:use-module (gnu packages version-control))
128 (uri (string-append "mirror://apache/httpd/httpd-"
132 "1w1q2smdgf6ln0x741lk5pv5r0gzrxj2iza1vslhifzy65bcjlzs"))))
133 (build-system gnu-build-system)
134 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
135 (inputs `(("apr" ,apr)
136 ("apr-util" ,apr-util)
138 ("perl" ,perl))) ; needed to run bin/apxs
140 `(#:test-target "test"
141 #:configure-flags (list "--enable-rewrite"
143 "--enable-vhost-alias"
145 "--enable-mime-magic"
146 (string-append "--sysconfdir="
147 (assoc-ref %outputs "out")
149 (synopsis "Featureful HTTP server")
151 "The Apache HTTP Server Project is a collaborative software development
152 effort aimed at creating a robust, commercial-grade, featureful, and
153 freely-available source code implementation of an HTTP (Web) server. The
154 project is jointly managed by a group of volunteers located around the world,
155 using the Internet and the Web to communicate, plan, and develop the server
156 and its related documentation.")
158 (home-page "https://httpd.apache.org/")))
160 (define-public mod-wsgi
167 "https://github.com/GrahamDumpleton/mod_wsgi/archive/"
169 (file-name (string-append name "-" version ".tar.gz"))
172 "0n1yhmrfp8mjbsngmyjl937c6rc0069p6wdi1lknrbn1q42hzw6q"))))
173 (build-system gnu-build-system)
175 '(#:tests? #f ;; TODO: Can't figure out if there are tests
177 (string-append "DESTDIR="
178 (assoc-ref %outputs "out"))
179 "LIBEXECDIR=/modules")))
182 ("python" ,python-wrapper)))
183 (synopsis "Apache HTTPD module for Python WSGI applications")
185 "The mod_wsgi module for the Apache HTTPD Server adds support for running
186 applications that support the Python @acronym{WSGI, Web Server Gateway
187 Interface} specification.")
189 (home-page "https://modwsgi.readthedocs.io/")))
194 ;; Consider updating the nginx-documentation package if the nginx package is
199 (uri (string-append "https://nginx.org/download/nginx-"
203 "1d9c0avfpbwvzyg53b59ks8shpnrxnbnshcd7ziizflsyv5vw5ax"))))
204 (build-system gnu-build-system)
205 (inputs `(("openssl" ,openssl)
209 `(#:tests? #f ; no test target
211 (modify-phases %standard-phases
212 (add-before 'configure 'patch-/bin/sh
214 (substitute* "auto/feature"
215 (("/bin/sh") (which "sh")))
218 ;; The configure script is hand-written, not from GNU autotools.
219 (lambda* (#:key outputs #:allow-other-keys)
221 (list (string-append "--prefix=" (assoc-ref outputs "out"))
222 "--with-http_ssl_module"
223 "--with-http_v2_module"
226 ;; Even when not cross-building, we pass the
227 ;; --crossbuild option to avoid customizing for the
228 ;; kernel version on the build machine.
229 ,(let ((system "Linux") ; uname -s
230 (release "3.2.0") ; uname -r
232 (machine (match (or (%current-target-system)
234 ("x86_64-linux" "x86_64")
235 ("i686-linux" "i686")
236 ("mips64el-linux" "mips64")
237 ;; Prevent errors when querying
238 ;; this package on unsupported
239 ;; platforms, e.g. when running
240 ;; "guix package --search="
242 (string-append "--crossbuild="
243 system ":" release ":" machine)))))
245 (format #t "environment variable `CC' set to `gcc'~%")
246 (format #t "configure flags: ~s~%" flags)
247 (apply invoke "./configure" flags)
249 (add-after 'install 'install-man-page
250 (lambda* (#:key outputs #:allow-other-keys)
251 (let* ((out (assoc-ref outputs "out"))
252 (man (string-append out "/share/man")))
253 (install-file "objs/nginx.8" (string-append man "/man8"))
255 (add-after 'install 'fix-root-dirs
256 (lambda* (#:key outputs #:allow-other-keys)
257 ;; 'make install' puts things in strange places, so we need to
258 ;; clean it up ourselves.
259 (let* ((out (assoc-ref outputs "out"))
260 (share (string-append out "/share/nginx")))
261 ;; This directory is empty, so get rid of it.
262 (rmdir (string-append out "/logs"))
263 ;; Example configuration and HTML files belong in
266 (rename-file (string-append out "/conf")
267 (string-append share "/conf"))
268 (rename-file (string-append out "/html")
269 (string-append share "/html"))
271 (home-page "https://nginx.org")
272 (synopsis "HTTP and reverse proxy server")
274 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
275 created by Igor Sysoev. It can be used both as a stand-alone web server
276 and as a proxy to reduce the load on back-end HTTP or mail servers.")
277 ;; Almost all of nginx is distributed under the bsd-2 license.
278 ;; The exceptions are:
279 ;; * The 'nginx-http-push' module is covered by the expat license.
280 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
281 ;; except for two source files which are bsd-4 licensed.
282 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
284 (define nginx-xslscript
286 (changeset "01dc9ba12e1b"))
288 (name "nginx-xslscript")
290 (simple-format #f "2014-03-31-~A-~A" revision changeset))
294 (url "http://hg.nginx.org/xslscript")
295 (changeset changeset)))
296 (file-name (string-append name "-" version))
299 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
300 (build-system gnu-build-system)
302 '(#:tests? #f ; No test suite
304 (modify-phases %standard-phases
308 (lambda* (#:key outputs #:allow-other-keys)
309 (let ((out-bin (string-append
310 (assoc-ref outputs "out")
313 (copy-file "xslscript.pl"
318 (home-page "http://hg.nginx.org/xslscript")
319 (synopsis "XSLScript with NGinx specific modifications")
321 "XSLScript is a terse notation for writing complex XSLT stylesheets.
322 This is modified version, specifically intended for use with the NGinx
326 (define-public nginx-documentation
327 ;; This documentation should be relevant for nginx@1.13.11.
328 (let ((revision 2131)
329 (changeset "dbaf3950f8e9"))
331 (name "nginx-documentation")
333 (simple-format #f "2018-04-04-~A-~A" revision changeset))
335 (origin (method hg-fetch)
337 (url "http://hg.nginx.org/nginx.org")
338 (changeset changeset)))
339 (file-name (string-append name "-" version))
342 "0acdjsdaqixzh9g9s6db552v4pan4nqrllyqapay9ns9yzh1hrp7"))))
343 (build-system gnu-build-system)
345 '(#:tests? #f ; no test suite
347 (modify-phases %standard-phases
348 (delete 'configure) ; no configure script
350 (lambda* (#:key outputs #:allow-other-keys)
351 (let ((output (assoc-ref outputs "out")))
352 (substitute* "umasked.sh"
353 ((" /bin/sh") (string-append " " (which "sh"))))
354 ;; The documentation includes a banner, which makes sense on
355 ;; the NGinx website, but doesn't make much sense when
356 ;; viewing locally. Therefore, modify the CSS to remove the
358 (substitute* "xslt/style.xslt"
359 (("#banner \\{ background: black;")
360 "#banner { background: black;
365 (lambda* (#:key outputs #:allow-other-keys)
366 (let ((output (assoc-ref outputs "out")))
368 (copy-recursively "libxslt" output)
371 `(("libxml2" ,libxml2)
373 ("nginx-xslscript" ,nginx-xslscript)))
374 (home-page "https://nginx.org")
375 (synopsis "Documentation for the nginx web server")
377 "This package provides HTML documentation for the nginx web server.")
387 ;; Upstream has disappeared.
388 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
389 "fcgi-" version ".tar.gz"))
392 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
393 (patches (search-patches "fcgi-2.4.0-poll.patch"
394 "fcgi-2.4.0-gcc44-fixes.patch"))))
395 (build-system gnu-build-system)
396 ;; Parallel building is not supported.
397 (arguments `(#:parallel-build? #f))
398 ;; This is an archived fork of the original home page, www.fastcgi.com.
399 (home-page "https://fastcgi-archives.github.io/")
400 (synopsis "Language-independent, high-performant extension to CGI")
401 (description "FastCGI is a language-independent, scalable extension to CGI
402 that provides high performance without the limitations of server specific
404 ;; This package is released under the Open Market License, a variant of
405 ;; the Expat license, incompatible with the GPL.
406 (license (l:non-copyleft "file://LICENSE.TERMS"))))
408 (define-public fcgiwrap
415 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
416 "archive/" version ".tar.gz"))
417 (file-name (string-append name "-" version ".tar.gz"))
420 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
421 (build-system gnu-build-system)
423 `(#:tests? #f ; no tests included
424 #:make-flags (list "CC=gcc")))
426 `(("autoconf" ,autoconf)
427 ("automake" ,automake)
428 ("pkg-config" ,pkg-config)))
431 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
432 (synopsis "Simple server for running CGI applications over FastCGI")
433 (description "Fcgiwrap is a simple server for running CGI applications
434 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
435 servers that may need it).")
438 (define-public starman
445 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
446 "Starman-" version ".tar.gz"))
449 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
450 (build-system perl-build-system)
452 `(("perl-libwww" ,perl-libwww)
453 ("perl-module-build-tiny" ,perl-module-build-tiny)
454 ("perl-test-requires" ,perl-test-requires)))
456 `(("perl-data-dump" ,perl-data-dump)
457 ("perl-http-date" ,perl-http-date)
458 ("perl-http-message" ,perl-http-message)
459 ("perl-http-parser-xs" ,perl-http-parser-xs)
460 ("perl-net-server" ,perl-net-server)
461 ("perl-plack" ,perl-plack)
462 ("perl-test-tcp" ,perl-test-tcp)))
463 (home-page "http://search.cpan.org/dist/Starman")
464 (synopsis "PSGI/Plack web server")
465 (description "Starman is a PSGI perl web server that has unique features
466 such as high performance, preforking, signal support, superdaemon awareness,
467 and UNIX socket support.")
468 (license l:perl-license)))
470 (define-public icedtea-web
477 "http://icedtea.wildebeest.org/download/source/"
478 name "-" version ".tar.gz"))
481 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
482 (build-system gnu-build-system)
485 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
486 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
488 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
489 (outputs '("out" "doc"))
491 `(("pkg-config" ,pkg-config)
495 ("jdk" ,icedtea "jdk")))
496 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
497 (synopsis "Java Web Start")
499 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
500 Protocol}, also known as Java Web Start. This package provides tools and
501 libraries for working with JNLP applets.")
502 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
506 (define-public jansson
513 (string-append "http://www.digip.org/jansson/releases/jansson-"
517 "0iv4rxsnamqm3ldpg7dyhjq0x9cp023nc7ac820jdd3pwb8ml8bq"))))
518 (build-system gnu-build-system)
519 (home-page "http://www.digip.org/jansson/")
520 (synopsis "JSON C library")
522 "Jansson is a C library for encoding, decoding and manipulating JSON
526 (define-public json-c
533 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
537 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
538 (modules '((guix build utils)))
541 ;; Somehow 'config.h.in' is older than
542 ;; 'aclocal.m4', which would trigger a rule to
544 (set-file-time "config.h.in"
547 (build-system gnu-build-system)
548 (home-page "https://github.com/json-c/json-c/wiki")
549 (synopsis "JSON implementation in C")
551 "JSON-C implements a reference counting object model that allows you to
552 easily construct JSON objects in C, output them as JSON-formatted strings and
553 parse JSON-formatted strings back into the C representation of JSON objects.
554 It aims to conform to RFC 7159.")
557 ;; TODO: remove this old version when all dependents have been updated.
558 (define-public json-c-0.12
565 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
568 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
569 (modules '((guix build utils)))
572 ;; Somehow 'config.h.in' is older than
573 ;; 'aclocal.m4', which would trigger a rule to
575 (set-file-time "config.h.in"
578 ;; Don't try to build with -Werror.
579 (substitute* (find-files "." "Makefile\\.in")
590 "https://github.com/flavio/qjson/archive/"
592 (file-name (string-append name "-" version ".tar.gz"))
595 "1m0h4rajj99hv9w4i381a8x81lxiv167lxk10ncvphpkfxs624p8"))))
596 (build-system cmake-build-system)
598 ;; The tests require a X server
599 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
600 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
602 (modify-phases %standard-phases
603 (add-after 'unpack 'disable-broken-test
605 ;; FIXME: One test fails. See
606 ;; https://github.com/flavio/qjson/issues/105
607 (substitute* "tests/scanner/testscanner.cpp"
608 (("QTest::newRow\\(\"too large exponential\"\\)" line)
609 (string-append "//" line)))
611 (add-before 'check 'render-offscreen
612 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
614 `(("qtbase" ,qtbase)))
615 (home-page "http://qjson.sourceforge.net")
616 (synopsis "Library that maps JSON data to QVariant objects")
617 (description "QJson is a Qt-based library that maps JSON data to
618 @code{QVariant} objects. JSON arrays will be mapped to @code{QVariantList}
619 instances, while JSON's objects will be mapped to @code{QVariantMap}.")
620 ;; Only version 2.1 of the license
621 (license l:lgpl2.1)))
623 (define-public krona-tools
630 "https://github.com/marbl/Krona/releases/download/v"
631 version "/KronaTools-" version ".tar"))
634 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
635 (build-system perl-build-system)
638 (modify-phases %standard-phases
639 ;; There is no configure or build steps.
642 ;; Install script "install.pl" expects the build directory to remain
643 ;; after installation, creating symlinks etc., so re-implement it
646 (lambda* (#:key outputs #:allow-other-keys)
647 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
648 (perl (string-append (assoc-ref outputs "out")
649 "/lib/perl5/site_perl/krona-tools/lib")))
653 (let* ((executable (string-append "scripts/" script ".pl")))
654 ;; Prefix executables with 'kt' as install script does.
655 (copy-file executable (string-append bin "/kt" script))))
657 "GetContigMagnitudes"
667 "ImportMETAREP-BLAST"
672 "ImportRDPComparison"
678 (copy-recursively directory
679 (string-append perl "/../" directory)))
680 (list "data" "img" "taxonomy" "src"))
681 (install-file "lib/KronaTools.pm" perl))))
682 (add-after 'install 'wrap-program
683 (lambda* (#:key inputs outputs #:allow-other-keys)
684 (let* ((out (assoc-ref outputs "out"))
685 (path (getenv "PERL5LIB")))
688 (wrap-program executable
689 `("PERL5LIB" ":" prefix
690 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
691 (find-files (string-append out "/bin/") ".*")))))
693 (add-after 'wrap-program 'check
694 (lambda* (#:key inputs outputs #:allow-other-keys)
695 (with-directory-excursion "data"
696 (invoke (string-append (assoc-ref outputs "out") "/bin/ktImportText")
700 (home-page "https://github.com/marbl/Krona/wiki")
701 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
703 "Krona is a flexible tool for exploring the relative proportions of
704 hierarchical data, such as metagenomic classifications, using a radial,
705 space-filling display. It is implemented using HTML5 and JavaScript, allowing
706 charts to be explored locally or served over the Internet, requiring only a
707 current version of any major web browser.")
710 (define-public rapidjson
717 "https://github.com/miloyip/rapidjson/archive/v"
719 (file-name (string-append name "-" version ".tar.gz"))
722 "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))
723 (modules '((guix build utils)))
726 ;; Remove code using the problematic JSON license (see
727 ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
728 (delete-file-recursively "bin/jsonchecker")
730 (build-system cmake-build-system)
732 `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
735 (modify-phases %standard-phases
736 (add-after 'unpack 'patch-aarch-march-detection
738 (substitute* (find-files "." "^CMakeLists\\.txt$")
739 (("native") "armv8-a"))
742 (home-page "https://github.com/miloyip/rapidjson")
743 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
745 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
749 (define-public libyajl
755 (uri (string-append "https://github.com/lloyd/yajl/"
756 "archive/" version ".tar.gz"))
757 (file-name (string-append name "-" version ".tar.gz"))
760 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
761 (build-system cmake-build-system)
764 (modify-phases %standard-phases
765 (add-after 'patch-source-shebangs 'patch-tests
767 (substitute* "test/parsing/run_tests.sh"
768 (("`which echo`") (which "echo")))
770 (home-page "https://lloyd.github.io/yajl/")
771 (synopsis "C library for parsing JSON")
773 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
774 parser written in ANSI C and a small validating JSON generator.")
777 (define-public libwebsockets
779 (name "libwebsockets")
782 ;; The project does not publish tarballs, so we have to take
786 (url "https://github.com/warmcat/libwebsockets.git")
787 (commit (string-append "v" version
788 "-chrome37-firefox30"))))
791 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
792 (file-name (string-append name "-" version))))
794 (build-system cmake-build-system)
796 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
797 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
800 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
801 (inputs `(("zlib" ,zlib)
802 ("openssl" ,openssl)))
803 (synopsis "WebSockets library written in C")
805 "Libwebsockets is a library that allows C programs to establish client
806 and server WebSockets connections---a protocol layered above HTTP that allows
807 for efficient socket-like bidirectional reliable communication channels.")
808 (home-page "http://libwebsockets.org/")
810 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
811 (license l:lgpl2.1)))
813 (define-public libpsl
819 (uri (string-append "https://github.com/rockdaboot/libpsl/"
820 "releases/download/libpsl-" version
821 "/libpsl-" version ".tar.gz"))
824 "17r18y25ka2ck2ykfidbg4a7jpyzmkqwrzplgqjp7mwd2l9rc6cm"))))
825 (build-system gnu-build-system)
827 `(("pkg-config" ,pkg-config)))
829 `(("libidn2" ,libidn2)
830 ("libunistring" ,libunistring)
831 ("python-2" ,python-2)))
832 (home-page "https://github.com/rockdaboot/libpsl")
833 (synopsis "C library for the Publix Suffix List")
835 "A \"public suffix\" is a domain name under which Internet users can
836 directly register own names.
838 Browsers and other web clients can use it to avoid privacy-leaking
839 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
840 highlighting parts of the domain in a user interface, and sorting domain lists
843 Libpsl has built-in PSL data for fast access, allows to load PSL data from
844 files, checks if a given domain is a public suffix, provides immediate cookie
845 domain verification, finds the longest public part of a given domain, finds
846 the shortest private part of a given domain, works with international
847 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
859 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
861 (revision "2009-12-23")))
862 (file-name (string-append name "-" version "-checkout"))
865 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
866 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
867 (build-system gnu-build-system)
869 '(#:phases (modify-phases %standard-phases
871 (lambda* (#:key inputs #:allow-other-keys)
872 ;; configure.in and Makefile.am aren't in the root of the
874 (copy-recursively "build/gnuauto" ".")
875 (setenv "AUTOMAKE" "automake --foreign")
876 (invoke "autoreconf" "-vfi"))))))
878 `(("automake" ,automake)
879 ("autoconf" ,autoconf)
880 ("libtool" ,libtool)))
881 (synopsis "HTML validator and tidier")
882 (description "HTML Tidy is a command-line tool and C library that can be
883 used to validate and fix HTML data.")
884 (home-page "http://tidy.sourceforge.net/")
885 (license (l:x11-style "file:///include/tidy.h"))))
887 (define-public tinyproxy
893 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
894 "releases/download/" version "/tinyproxy-"
898 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
899 (build-system gnu-build-system)
903 ;; For the log file, etc.
904 "--localstatedir=/var")
906 (modify-phases %standard-phases
907 (add-before 'build 'pre-build
908 (lambda* (#:key inputs #:allow-other-keys #:rest args)
909 ;; Uncommenting the next two lines may assist in debugging
910 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
911 ;; (setenv "XML_DEBUG_CATALOG" "1")
913 ;; All of the below are used to generate the documentation
914 ;; (Should they be propagated inputs of asciidoc ??)
915 (native-inputs `(("asciidoc" ,asciidoc)))
916 (home-page "https://tinyproxy.github.io/")
917 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
918 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
919 daemon. Designed from the ground up to be fast and yet small, it is an ideal
920 solution for use cases such as embedded deployments where a full featured HTTP
921 proxy is required, but the system resources for a larger proxy are
925 (define-public polipo
933 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
937 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
938 (native-inputs `(("texinfo" ,texinfo)))
939 (build-system gnu-build-system)
941 `(#:phases (modify-phases %standard-phases
943 #:make-flags (let ((out (assoc-ref %outputs "out")))
944 (list (string-append "PREFIX=" out)
945 (string-append "LOCAL_ROOT="
946 out "/share/polipo/www")
948 ;; No 'check' target.
950 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
951 (synopsis "Small caching web proxy")
953 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
954 server). It was primarily designed to be used by one person or a small group
958 (define-public websockify
964 (uri (string-append "https://github.com/novnc/websockify/archive/v"
965 version "/archive.tar.gz"))
966 (file-name (string-append name "-" version ".tar.gz"))
969 "1kjq6gibsvbb6zx5gi8hgh7110x62pbwcqkwapf3k7s27w5y907h"))))
970 (build-system python-build-system)
972 `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module
973 ; named 'stubout'". The tests can be run by replacing the check phase with
974 ; the command "python setup.py nosetests --verbosity=3".
975 (native-inputs `(; Required for tests:
976 ("python-mox3" ,python-mox3)
977 ("python-nose" ,python-nose)))
978 (propagated-inputs `(("python-numpy" ,python-numpy)))
979 (home-page "https://github.com/novnc/websockify")
980 (synopsis "WebSockets support for any application/server")
981 (description "Websockify translates WebSockets traffic to normal socket
982 traffic. Websockify accepts the WebSockets handshake, parses it, and then
983 begins forwarding traffic between the client and the target in both
987 (define-public wwwoffle
993 (uri (string-append "https://www.gedanken.org.uk/software/"
994 "wwwoffle/download/wwwoffle-"
998 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
999 (build-system gnu-build-system)
1001 `(#:configure-flags '("--with-gnutls")
1002 #:tests? #f)) ; no test target
1003 (native-inputs `(("flex" ,flex)))
1004 (inputs `(("gnutls" ,gnutls)
1005 ("libcrypt" ,libgcrypt)))
1006 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
1007 (synopsis "Caching web proxy optimized for intermittent internet links")
1008 (description "WWWOFFLE is a proxy web server that is especially good for
1009 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
1010 protocols, and supports browsing and requesting pages while offline, indexing,
1011 modifying pages and incoming and outgoing headers, monitoring pages for
1012 changes, and much more.")
1015 (define-public liboauth
1021 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1025 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1026 (build-system gnu-build-system)
1027 (arguments '(#:configure-flags '("--enable-nss")))
1028 (native-inputs `(("pkg-config" ,pkg-config)))
1032 (home-page "https://sourceforge.net/projects/liboauth")
1033 (synopsis "C library implementing the OAuth API")
1035 "liboauth is a collection of C functions implementing the OAuth API.
1036 liboauth provides functions to escape and encode strings according to OAuth
1037 specifications and offers high-level functionality built on top to sign
1038 requests or verify signatures using either NSS or OpenSSL for calculating the
1040 ;; Source code may be distributed under either license.
1041 (license (list l:expat l:gpl2+))))
1043 (define-public libyaml
1051 "http://pyyaml.org/download/libyaml/yaml-"
1055 "0a87931cx5m14a1x8rbjix3nz7agrcgndf4h392vm62a4rby9240"))))
1056 (build-system gnu-build-system)
1057 (home-page "http://pyyaml.org/wiki/LibYAML")
1058 (synopsis "YAML 1.1 parser and emitter written in C")
1060 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1063 (define-public libquvi-scripts
1065 (name "libquvi-scripts")
1071 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1072 name "/" name "-" version ".tar.xz"))
1074 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
1075 (build-system gnu-build-system)
1076 (home-page "http://quvi.sourceforge.net/")
1077 (synopsis "Media stream URL parser")
1078 (description "This package contains support scripts called by libquvi to
1079 parse media stream properties.")
1080 (license l:lgpl2.1+)))
1082 (define-public libquvi
1090 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1091 name "-" version ".tar.xz"))
1093 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1094 (build-system gnu-build-system)
1095 (native-inputs `(("pkg-config" ,pkg-config)))
1098 ("cyrus-sasl" ,cyrus-sasl)
1099 ("libquvi-scripts" ,libquvi-scripts)
1101 ("openssl" ,openssl)
1104 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1106 (let ((lua (assoc-ref %build-inputs "lua")))
1108 (string-append "liblua_CFLAGS=-I" lua "/include")
1109 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
1110 (home-page "http://quvi.sourceforge.net/")
1111 (synopsis "Media stream URL parser")
1112 (description "libquvi is a library with a C API for parsing media stream
1113 URLs and extracting their actual media files.")
1114 (license l:lgpl2.1+)))
1124 "mirror://sourceforge/" name "/" (version-major+minor version)
1125 "/" name "/" name "-" version ".tar.xz"))
1127 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1128 (build-system gnu-build-system)
1129 (native-inputs `(("pkg-config" ,pkg-config)))
1132 ("libquvi" ,libquvi)))
1133 (home-page "http://quvi.sourceforge.net/")
1134 (synopsis "Media stream URL parser")
1135 (description "quvi is a command-line-tool suite to extract media files
1136 from streaming URLs. It is a command-line wrapper for the libquvi library.")
1137 (license l:lgpl2.1+)))
1146 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
1147 version ".tar.bz2"))
1149 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1150 (build-system scons-build-system)
1153 ("apr-util" ,apr-util)
1154 ("openssl" ,openssl)))
1156 `(;; TODO: Fix build with gss.
1160 `(#:scons ,scons-python2
1161 #:scons-flags (list (string-append "APR=" (assoc-ref %build-inputs "apr"))
1162 (string-append "APU=" (assoc-ref %build-inputs "apr-util"))
1163 (string-append "OPENSSL=" (assoc-ref %build-inputs "openssl"))
1164 ;; (string-append "GSSAPI=" (assoc-ref %build-inputs "gss"))
1165 (string-append "ZLIB=" (assoc-ref %build-inputs "zlib"))
1166 (string-append "PREFIX=" %output))
1168 (modify-phases %standard-phases
1169 (add-after 'unpack 'scons-propagate-environment
1171 ;; By design, SCons does not, by default, propagate
1172 ;; environment variables to subprocesses. See:
1173 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
1174 ;; Here, we modify the SConstruct file to arrange for
1175 ;; environment variables to be propagated.
1176 (substitute* "SConstruct"
1177 (("^env = Environment\\(")
1178 "env = Environment(ENV=os.environ, "))))
1179 (add-before 'check 'disable-broken-tests
1181 ;; These tests rely on SSL certificates that expired 2017-04-18.
1182 ;; While there are newer certs available upstream, we don't want
1183 ;; this package to suddenly "expire" some time in the future.
1184 ;; https://bugs.gnu.org/26671
1186 '("test_ssl_trust_rootca"
1187 "test_ssl_certificate_chain_with_anchor"
1188 "test_ssl_certificate_chain_all_from_server"
1189 "test_ssl_no_servercert_callback_allok"
1190 "test_ssl_large_response"
1191 "test_ssl_large_request"
1192 "test_ssl_client_certificate"
1193 "test_ssl_future_server_cert"
1194 "test_setup_ssltunnel"
1195 "test_ssltunnel_basic_auth"
1196 "test_ssltunnel_basic_auth_server_has_keepalive_off"
1197 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
1198 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
1199 "test_ssltunnel_digest_auth")))
1202 (substitute* "test/test_context.c"
1203 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1206 (home-page "https://serf.apache.org/")
1207 (synopsis "High-performance asynchronous HTTP client library")
1209 "serf is a C-based HTTP client library built upon the Apache Portable
1210 Runtime (APR) library. It multiplexes connections, running the read/write
1211 communication asynchronously. Memory copies and transformations are kept to a
1212 minimum to provide high performance operation.")
1213 ;; Most of the code is covered by the Apache License, Version 2.0, but the
1214 ;; bundled CuTest framework uses a different non-copyleft license.
1215 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
1217 (define-public sassc
1218 ;; libsass must be statically linked and it isn't included in the sassc
1219 ;; release tarballs, hence this odd package recipe.
1220 (let* ((version "3.4.5")
1225 "https://github.com/sass/libsass/archive/"
1227 (file-name (string-append "libsass-" version ".tar.gz"))
1230 "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x")))))
1236 (uri (string-append "https://github.com/sass/sassc/archive/"
1238 (file-name (string-append "sassc-" version ".tar.gz"))
1241 "1xk4kmmvziz9sal3swpqa10q0s289xjpcz8aggmly8mvxvmngsi9"))))
1242 (build-system gnu-build-system)
1246 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1247 #:test-target "test"
1248 ;; FIXME: "make test" rebuilds the application and gets lost in a
1249 ;; non-existing directory.
1252 (modify-phases %standard-phases
1254 (add-after 'unpack 'unpack-libsass-and-set-path
1255 (lambda* (#:key inputs #:allow-other-keys)
1256 (invoke "tar" "xvf" (assoc-ref inputs "libsass"))
1257 (setenv "SASS_LIBSASS_PATH"
1258 (string-append (getcwd) "/libsass-" ,version)))))))
1260 `(("libsass" ,libsass)))
1261 (synopsis "CSS pre-processor")
1262 (description "SassC is a compiler written in C for the CSS pre-processor
1263 language known as SASS.")
1264 (home-page "http://sass-lang.com/libsass")
1265 (license l:expat))))
1268 (define-public perl-apache-logformat-compiler
1270 (name "perl-apache-logformat-compiler")
1275 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1276 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1279 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
1280 (build-system perl-build-system)
1282 `(("perl-http-message" ,perl-http-message)
1283 ("perl-module-build" ,perl-module-build)
1284 ("perl-test-mocktime" ,perl-test-mocktime)
1285 ("perl-try-tiny" ,perl-try-tiny)
1286 ("perl-uri" ,perl-uri)))
1288 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1289 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
1290 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
1291 (synopsis "Compile a log format string to perl-code")
1292 (description "This module provides methods to compile a log format string
1293 to perl-code, for faster generation of access_log lines.")
1294 (license l:perl-license)))
1296 (define-public perl-authen-sasl
1298 (name "perl-authen-sasl")
1303 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1304 "Authen-SASL-" version ".tar.gz"))
1307 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1308 (build-system perl-build-system)
1311 (modify-phases %standard-phases
1312 (add-after 'unpack 'set-env
1313 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1314 ;; versions of perl-authen-sasl.
1315 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1317 `(("perl-digest-hmac" ,perl-digest-hmac)
1318 ("perl-gssapi" ,perl-gssapi)))
1319 (home-page "http://search.cpan.org/dist/Authen-SASL")
1320 (synopsis "SASL authentication framework")
1321 (description "Authen::SASL provides an SASL authentication framework.")
1322 (license l:perl-license)))
1324 (define-public perl-catalyst-action-renderview
1326 (name "perl-catalyst-action-renderview")
1331 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1332 "Catalyst-Action-RenderView-"
1336 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1337 (build-system perl-build-system)
1339 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1340 ("perl-module-install" ,perl-module-install)))
1342 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1343 ("perl-data-visitor" ,perl-data-visitor)
1344 ("perl-mro-compat" ,perl-mro-compat)))
1345 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
1346 (synopsis "Sensible default Catalyst action")
1347 (description "This Catalyst action implements a sensible default end
1348 action, which will forward to the first available view.")
1349 (license l:perl-license)))
1351 (define-public perl-catalyst-action-rest
1353 (name "perl-catalyst-action-rest")
1357 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1358 "Catalyst-Action-REST-" version ".tar.gz"))
1361 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
1362 (build-system perl-build-system)
1364 `(("perl-test-requires" ,perl-test-requires)
1365 ("perl-module-install" ,perl-module-install)))
1367 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1368 ("perl-class-inspector" ,perl-class-inspector)
1369 ("perl-config-general" ,perl-config-general)
1370 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1371 ("perl-libwww" ,perl-libwww)
1372 ("perl-moose" ,perl-moose)
1373 ("perl-mro-compat" ,perl-mro-compat)
1374 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1375 ("perl-params-validate" ,perl-params-validate)
1376 ("perl-uri-find" ,perl-uri-find)
1377 ("perl-xml-simple" ,perl-xml-simple)))
1378 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
1379 (synopsis "Automated REST Method Dispatching")
1380 (description "This Action handles doing automatic method dispatching for
1381 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1382 append an underscore and method name. First it will try dispatching to an
1383 action with the generated name, and failing that it will try to dispatch to a
1385 (license l:perl-license)))
1387 (define-public perl-catalyst-authentication-store-dbix-class
1389 (name "perl-catalyst-authentication-store-dbix-class")
1394 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1395 "Catalyst-Authentication-Store-DBIx-Class-"
1399 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1400 (build-system perl-build-system)
1402 `(("perl-catalyst-plugin-authorization-roles"
1403 ,perl-catalyst-plugin-authorization-roles)
1404 ("perl-catalyst-plugin-session-state-cookie"
1405 ,perl-catalyst-plugin-session-state-cookie)
1406 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1407 ("perl-module-install" ,perl-module-install)
1408 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1410 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1411 ("perl-catalyst-plugin-authentication"
1412 ,perl-catalyst-plugin-authentication)
1413 ("perl-dbix-class" ,perl-dbix-class)
1414 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1416 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
1417 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1418 (description "The Catalyst::Authentication::Store::DBIx::Class class
1419 provides access to authentication information stored in a database via
1421 (license l:perl-license)))
1423 (define-public perl-catalyst-component-instancepercontext
1425 (name "perl-catalyst-component-instancepercontext")
1426 (version "0.001001")
1430 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1431 "Catalyst-Component-InstancePerContext-"
1435 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1436 (build-system perl-build-system)
1438 `(("perl-module-install" ,perl-module-install)))
1440 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1441 ("perl-moose" ,perl-moose)))
1443 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
1444 (synopsis "Create only one instance of Moose component per context")
1445 (description "Catalyst::Component::InstancePerContext returns a new
1446 instance of a component on each request.")
1447 (license l:perl-license)))
1449 (define-public perl-catalyst-devel
1451 (name "perl-catalyst-devel")
1456 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1457 "Catalyst-Devel-" version ".tar.gz"))
1460 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1461 (build-system perl-build-system)
1463 `(("perl-test-fatal" ,perl-test-fatal)))
1465 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1466 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1467 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1468 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1469 ("perl-config-general" ,perl-config-general)
1470 ("perl-file-changenotify" ,perl-file-changenotify)
1471 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1472 ("perl-file-sharedir" ,perl-file-sharedir)
1473 ("perl-module-install" ,perl-module-install)
1474 ("perl-moose" ,perl-moose)
1475 ("perl-moosex-emulate-class-accessor-fast"
1476 ,perl-moosex-emulate-class-accessor-fast)
1477 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1478 ("perl-namespace-clean" ,perl-namespace-clean)
1479 ("perl-path-class" ,perl-path-class)
1480 ("perl-template-toolkit" ,perl-template-toolkit)))
1481 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1482 (synopsis "Catalyst Development Tools")
1483 (description "The Catalyst-Devel distribution includes a variety of
1484 modules useful for the development of Catalyst applications, but not required
1485 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1486 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1487 extension for Catalyst; and requirements for a variety of development-related
1489 (license l:perl-license)))
1491 (define-public perl-catalyst-dispatchtype-regex
1493 (name "perl-catalyst-dispatchtype-regex")
1498 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1499 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1502 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1503 (build-system perl-build-system)
1505 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1506 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1507 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1509 `(("perl-moose" ,perl-moose)
1510 ("perl-text-simpletable" ,perl-text-simpletable)))
1511 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1512 (synopsis "Regex DispatchType for Catalyst")
1513 (description "Dispatch type managing path-matching behaviour using
1514 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1515 core. It is recommend that you use Chained methods or other techniques
1516 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1517 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1518 when the dispatch type is first seen in your application.")
1519 (license l:perl-license)))
1521 (define-public perl-catalyst-model-dbic-schema
1523 (name "perl-catalyst-model-dbic-schema")
1528 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1529 "Catalyst-Model-DBIC-Schema-"
1533 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1534 (build-system perl-build-system)
1536 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1537 ("perl-module-install" ,perl-module-install)
1538 ("perl-test-exception" ,perl-test-exception)
1539 ("perl-test-requires" ,perl-test-requires)))
1541 `(("perl-carp-clan" ,perl-carp-clan)
1542 ("perl-catalyst-component-instancepercontext"
1543 ,perl-catalyst-component-instancepercontext)
1544 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1545 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1546 ("perl-dbix-class" ,perl-dbix-class)
1547 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1548 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1549 ("perl-hash-merge" ,perl-hash-merge)
1550 ("perl-list-moreutils" ,perl-list-moreutils)
1551 ("perl-module-runtime" ,perl-module-runtime)
1552 ("perl-moose" ,perl-moose)
1553 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1554 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1555 ("perl-moosex-types" ,perl-moosex-types)
1556 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1557 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1558 ("perl-namespace-clean" ,perl-namespace-clean)
1559 ("perl-tie-ixhash" ,perl-tie-ixhash)
1560 ("perl-try-tiny" ,perl-try-tiny)))
1561 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1562 (synopsis "DBIx::Class::Schema Model Class")
1563 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1565 (license l:perl-license)))
1567 (define-public perl-catalyst-plugin-accesslog
1569 (name "perl-catalyst-plugin-accesslog")
1574 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1575 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1578 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1579 (build-system perl-build-system)
1581 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1582 ("perl-datetime" ,perl-datetime)
1583 ("perl-moose" ,perl-moose)
1584 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1585 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1586 (synopsis "Request logging from within Catalyst")
1587 (description "This Catalyst plugin enables you to create \"access logs\"
1588 from within a Catalyst application instead of requiring a webserver to do it
1589 for you. It will work even with Catalyst debug logging turned off.")
1590 (license l:perl-license)))
1592 (define-public perl-catalyst-plugin-authentication
1594 (name "perl-catalyst-plugin-authentication")
1599 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1600 "Catalyst-Plugin-Authentication-"
1604 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1605 (build-system perl-build-system)
1607 `(("perl-module-install" ,perl-module-install)))
1609 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1610 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1611 ("perl-class-inspector" ,perl-class-inspector)
1612 ("perl-moose" ,perl-moose)
1613 ("perl-moosex-emulate-class-accessor-fast"
1614 ,perl-moosex-emulate-class-accessor-fast)
1615 ("perl-mro-compat" ,perl-mro-compat)
1616 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1617 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1618 ("perl-test-exception" ,perl-test-exception)
1619 ("perl-try-tiny" ,perl-try-tiny)))
1620 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1621 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1622 (description "The authentication plugin provides generic user support for
1623 Catalyst apps. It is the basis for both authentication (checking the user is
1624 who they claim to be), and authorization (allowing the user to do what the
1625 system authorises them to do).")
1626 (license l:perl-license)))
1628 (define-public perl-catalyst-plugin-authorization-roles
1630 (name "perl-catalyst-plugin-authorization-roles")
1635 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1636 "Catalyst-Plugin-Authorization-Roles-"
1640 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1641 (build-system perl-build-system)
1643 `(("perl-module-install" ,perl-module-install)
1644 ("perl-test-exception" ,perl-test-exception)))
1646 `(("perl-catalyst-plugin-authentication"
1647 ,perl-catalyst-plugin-authentication)
1648 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1649 ("perl-set-object" ,perl-set-object)
1650 ("perl-universal-isa" ,perl-universal-isa)))
1652 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1653 (synopsis "Role-based authorization for Catalyst")
1654 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1655 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1656 (license l:perl-license)))
1658 (define-public perl-catalyst-plugin-captcha
1660 (name "perl-catalyst-plugin-captcha")
1665 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1666 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1669 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1670 (build-system perl-build-system)
1672 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1673 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1674 ("perl-gd-securityimage" ,perl-gd-securityimage)
1675 ("perl-http-date" ,perl-http-date)))
1676 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1677 (synopsis "Captchas for Catalyst")
1678 (description "This plugin creates and validates Captcha images for
1680 (license l:perl-license)))
1682 (define-public perl-catalyst-plugin-configloader
1684 (name "perl-catalyst-plugin-configloader")
1689 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1690 "Catalyst-Plugin-ConfigLoader-"
1694 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1695 (build-system perl-build-system)
1697 `(("perl-path-class" ,perl-path-class)
1698 ("perl-module-install" ,perl-module-install)))
1700 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1701 ("perl-config-any" ,perl-config-any)
1702 ("perl-data-visitor" ,perl-data-visitor)
1703 ("perl-mro-compat" ,perl-mro-compat)))
1704 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1705 (synopsis "Load config files of various types")
1706 (description "This module will attempt to load find and load configuration
1707 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1709 (license l:perl-license)))
1711 (define-public perl-catalyst-plugin-session
1713 (name "perl-catalyst-plugin-session")
1718 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1719 "Catalyst-Plugin-Session-" version ".tar.gz"))
1722 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
1723 (build-system perl-build-system)
1725 `(("perl-module-install" ,perl-module-install)
1726 ("perl-test-deep" ,perl-test-deep)
1727 ("perl-test-exception" ,perl-test-exception)))
1729 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1730 ("perl-moose" ,perl-moose)
1731 ("perl-moosex-emulate-class-accessor-fast"
1732 ,perl-moosex-emulate-class-accessor-fast)
1733 ("perl-mro-compat" ,perl-mro-compat)
1734 ("perl-namespace-clean" ,perl-namespace-clean)
1735 ("perl-object-signature" ,perl-object-signature)
1736 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1737 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1738 (synopsis "Catalyst generic session plugin")
1739 (description "This plugin links the two pieces required for session
1740 management in web applications together: the state, and the store.")
1741 (license l:perl-license)))
1743 (define-public perl-catalyst-plugin-session-state-cookie
1745 (name "perl-catalyst-plugin-session-state-cookie")
1750 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1751 "Catalyst-Plugin-Session-State-Cookie-"
1755 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1756 (build-system perl-build-system)
1758 `(("perl-module-install" ,perl-module-install)))
1760 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1761 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1762 ("perl-moose" ,perl-moose)
1763 ("perl-mro-compat" ,perl-mro-compat)
1764 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1766 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1767 (synopsis "Maintain session IDs using cookies")
1768 (description "In order for Catalyst::Plugin::Session to work, the session
1769 ID needs to be stored on the client, and the session data needs to be stored
1770 on the server. This plugin stores the session ID on the client using the
1772 (license l:perl-license)))
1774 (define-public perl-catalyst-plugin-session-store-fastmmap
1776 (name "perl-catalyst-plugin-session-store-fastmmap")
1781 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1782 "Catalyst-Plugin-Session-Store-FastMmap-"
1786 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1787 (build-system perl-build-system)
1789 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1790 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1791 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1792 ("perl-moosex-emulate-class-accessor-fast"
1793 ,perl-moosex-emulate-class-accessor-fast)
1794 ("perl-mro-compat" ,perl-mro-compat)
1795 ("perl-path-class" ,perl-path-class)))
1797 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
1798 (synopsis "FastMmap session storage backend")
1799 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1800 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1801 memory interprocess cache. It is based on Cache::FastMmap.")
1802 (license l:perl-license)))
1804 (define-public perl-catalyst-plugin-stacktrace
1806 (name "perl-catalyst-plugin-stacktrace")
1811 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1812 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1815 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1816 (build-system perl-build-system)
1818 `(("perl-module-install" ,perl-module-install)))
1820 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1821 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1822 ("perl-mro-compat" ,perl-mro-compat)))
1823 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1824 (synopsis "Stack trace on the Catalyst debug screen")
1825 (description "This plugin enhances the standard Catalyst debug screen by
1826 including a stack trace of your application up to the point where the error
1827 occurred. Each stack frame is displayed along with the package name, line
1828 number, file name, and code context surrounding the line number.")
1829 (license l:perl-license)))
1831 (define-public perl-catalyst-plugin-static-simple
1833 (name "perl-catalyst-plugin-static-simple")
1838 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1839 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1842 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
1843 (build-system perl-build-system)
1845 `(("perl-module-install" ,perl-module-install)))
1847 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1848 ("perl-mime-types" ,perl-mime-types)
1849 ("perl-moose" ,perl-moose)
1850 ("perl-moosex-types" ,perl-moosex-types)
1851 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1852 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1853 (synopsis "Simple serving of static pages")
1854 (description "The Static::Simple plugin is designed to make serving static
1855 content in your application during development quick and easy, without
1856 requiring a single line of code from you. This plugin detects static files by
1857 looking at the file extension in the URL (such as .css or .png or .js). The
1858 plugin uses the lightweight MIME::Types module to map file extensions to
1859 IANA-registered MIME types, and will serve your static files with the correct
1860 MIME type directly to the browser, without being processed through Catalyst.")
1861 (license l:perl-license)))
1863 (define-public perl-catalyst-runtime
1865 (name "perl-catalyst-runtime")
1870 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
1871 "Catalyst-Runtime-" version ".tar.gz"))
1874 "0cws3szx3vvh0372qdx8fypgv6qphcc3v81rbq30sl1ghby7ksd3"))))
1875 (build-system perl-build-system)
1877 `(("perl-test-fatal" ,perl-test-fatal)))
1879 `(("perl-cgi-simple" ,perl-cgi-simple)
1880 ("perl-cgi-struct" ,perl-cgi-struct)
1881 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1882 ("perl-class-date" ,perl-class-date)
1883 ("perl-class-load" ,perl-class-load)
1884 ("perl-data-dump" ,perl-data-dump)
1885 ("perl-http-body" ,perl-http-body)
1886 ("perl-http-message" ,perl-http-message)
1887 ("perl-json-maybexs" ,perl-json-maybexs)
1888 ("perl-libwww" ,perl-libwww)
1889 ("perl-module-pluggable" ,perl-module-pluggable)
1890 ("perl-moose" ,perl-moose)
1891 ("perl-moosex-emulate-class-accessor-fast"
1892 ,perl-moosex-emulate-class-accessor-fast)
1893 ("perl-moosex-getopt" ,perl-moosex-getopt)
1894 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1895 ("perl-namespace-clean" ,perl-namespace-clean)
1896 ("perl-path-class" ,perl-path-class)
1897 ("perl-plack" ,perl-plack)
1898 ("perl-plack-middleware-fixmissingbodyinredirect"
1899 ,perl-plack-middleware-fixmissingbodyinredirect)
1900 ("perl-plack-middleware-methodoverride"
1901 ,perl-plack-middleware-methodoverride)
1902 ("perl-plack-middleware-removeredundantbody"
1903 ,perl-plack-middleware-removeredundantbody)
1904 ("perl-plack-middleware-reverseproxy"
1905 ,perl-plack-middleware-reverseproxy)
1906 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1907 ("perl-safe-isa" ,perl-safe-isa)
1908 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1909 ("perl-text-simpletable" ,perl-text-simpletable)
1910 ("perl-tree-simple" ,perl-tree-simple)
1911 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1912 ("perl-try-tiny" ,perl-try-tiny)
1913 ("perl-uri" ,perl-uri)
1914 ("perl-uri-ws" ,perl-uri-ws)))
1915 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1916 (synopsis "The Catalyst Framework Runtime")
1917 (description "Catalyst is a modern framework for making web applications.
1918 It is designed to make it easy to manage the various tasks you need to do to
1919 run an application on the web, either by doing them itself, or by letting you
1920 \"plug in\" existing Perl modules that do what you need.")
1921 (license l:perl-license)))
1923 (define-public perl-catalyst-traitfor-request-proxybase
1925 (name "perl-catalyst-traitfor-request-proxybase")
1926 (version "0.000005")
1930 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1931 "Catalyst-TraitFor-Request-ProxyBase-"
1935 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1936 (build-system perl-build-system)
1938 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1939 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1940 ("perl-http-message" ,perl-http-message)
1941 ("perl-module-install" ,perl-module-install)))
1943 `(("perl-moose" ,perl-moose)
1944 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1945 ("perl-uri" ,perl-uri)))
1947 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1948 (synopsis "Replace request base with value passed by HTTP proxy")
1949 (description "This module is a Moose::Role which allows you more
1950 flexibility in your application's deployment configurations when deployed
1951 behind a proxy. Using this module, the request base ($c->req->base) is
1952 replaced with the contents of the X-Request-Base header.")
1953 (license l:perl-license)))
1955 (define-public perl-catalyst-view-download
1957 (name "perl-catalyst-view-download")
1962 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1963 "Catalyst-View-Download-" version ".tar.gz"))
1966 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1967 (build-system perl-build-system)
1969 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1970 ("perl-module-install" ,perl-module-install)
1971 ("perl-test-simple" ,perl-test-simple)
1972 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1973 ("perl-text-csv" ,perl-text-csv)
1974 ("perl-xml-simple" ,perl-xml-simple)))
1975 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1976 (synopsis "Download data in many formats")
1977 (description "The purpose of this module is to provide a method for
1978 downloading data into many supportable formats. For example, downloading a
1979 table based report in a variety of formats (CSV, HTML, etc.).")
1980 (license l:perl-license)))
1982 (define-public perl-catalyst-view-json
1984 (name "perl-catalyst-view-json")
1989 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1990 "Catalyst-View-JSON-" version ".tar.gz"))
1993 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
1994 (build-system perl-build-system)
1996 `(("perl-module-install" ,perl-module-install)
1997 ("perl-yaml" ,perl-yaml)))
1999 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2000 ("perl-json-maybexs" ,perl-json-maybexs)
2001 ("perl-mro-compat" ,perl-mro-compat)))
2002 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
2003 (synopsis "Catalyst JSON view")
2004 (description "Catalyst::View::JSON is a Catalyst View handler that returns
2005 stash data in JSON format.")
2006 (license l:perl-license)))
2008 (define-public perl-catalyst-view-tt
2010 (name "perl-catalyst-view-tt")
2015 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2016 "Catalyst-View-TT-" version ".tar.gz"))
2019 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2020 (build-system perl-build-system)
2022 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2023 ("perl-class-accessor" ,perl-class-accessor)
2024 ("perl-data-dump" ,perl-data-dump)
2025 ("perl-mro-compat" ,perl-mro-compat)
2026 ("perl-path-class" ,perl-path-class)
2027 ("perl-template-timer" ,perl-template-timer)
2028 ("perl-template-toolkit" ,perl-template-toolkit)))
2029 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
2030 (synopsis "Template View Class")
2031 (description "This module is a Catalyst view class for the Template
2033 (license l:perl-license)))
2035 (define-public perl-catalystx-component-traits
2037 (name "perl-catalystx-component-traits")
2042 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2043 "CatalystX-Component-Traits-" version ".tar.gz"))
2046 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2047 (build-system perl-build-system)
2049 `(("perl-moose" ,perl-moose)
2050 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2051 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2053 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2054 ("perl-class-load" ,perl-class-load)
2055 ("perl-moose" ,perl-moose)
2056 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
2057 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2058 ("perl-list-moreutils" ,perl-list-moreutils)))
2059 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
2060 (synopsis "Trait Loading and Resolution for Catalyst Components")
2061 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
2062 Catalyst component base class that reads the optional \"traits\" parameter
2063 from app and component config and instantiates the component subclass with
2064 those traits using \"new_with_traits\" in MooseX::Traits from
2065 MooseX::Traits::Pluggable.")
2066 (license l:perl-license)))
2068 (define-public perl-catalystx-roleapplicator
2070 (name "perl-catalystx-roleapplicator")
2075 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2076 "CatalystX-RoleApplicator-" version ".tar.gz"))
2079 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2080 (build-system perl-build-system)
2082 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2083 ("perl-moose" ,perl-moose)
2084 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
2085 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
2086 (synopsis "Apply roles to Catalyst classes")
2087 (description "CatalystX::RoleApplicator applies roles to Catalyst
2088 application classes.")
2089 (license l:perl-license)))
2091 (define-public perl-catalystx-script-server-starman
2093 (name "perl-catalystx-script-server-starman")
2098 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2099 "CatalystX-Script-Server-Starman-"
2103 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2104 (build-system perl-build-system)
2106 `(("perl-module-install" ,perl-module-install)
2107 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2109 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2110 ("perl-moose" ,perl-moose)
2111 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
2112 ("starman" ,starman)))
2113 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
2114 (synopsis "Catalyst development server with Starman")
2115 (description "This module provides a Catalyst extension to replace the
2116 development server with Starman.")
2117 (license l:perl-license)))
2119 (define-public perl-cgi
2126 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2127 "CGI-" version ".tar.gz"))
2130 "1m779315rzj4mpgscw209a2wk18iwg2n8zibn8aak4mv56jz8n4c"))))
2131 (build-system perl-build-system)
2133 `(("perl-test-deep" ,perl-test-deep)
2134 ("perl-test-nowarnings" ,perl-test-nowarnings)
2135 ("perl-test-warn" ,perl-test-warn)))
2137 `(("perl-html-parser" ,perl-html-parser)))
2138 (home-page "http://search.cpan.org/dist/CGI")
2139 (synopsis "Handle Common Gateway Interface requests and responses")
2140 (description "CGI.pm is a stable, complete and mature solution for
2141 processing and preparing HTTP requests and responses. Major features include
2142 processing form submissions, file uploads, reading and writing cookies, query
2143 string generation and manipulation, and processing and preparing HTTP
2145 (license l:perl-license)))
2147 (define-public perl-cgi-formbuilder
2149 (name "perl-cgi-formbuilder")
2155 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2156 "CGI-FormBuilder-" version ".tar.gz"))
2159 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2160 (build-system perl-build-system)
2161 (inputs `(("perl-cgi" ,perl-cgi)))
2163 "https://metacpan.org/release/CGI-FormBuilder")
2165 "Generate and process stateful forms")
2167 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2168 form-based applications.")
2169 (license l:perl-license)))
2171 (define-public perl-cgi-session
2173 (name "perl-cgi-session")
2179 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2184 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2185 (build-system perl-build-system)
2187 `(("perl-module-build" ,perl-module-build)))
2188 (inputs `(("perl-cgi" ,perl-cgi)))
2190 "http://search.cpan.org/dist/CGI-Session")
2192 "Persistent session data in CGI applications")
2194 "@code{CGI::Session} provides modular session management system across
2196 (license l:perl-license)))
2198 (define-public perl-cgi-simple
2200 (name "perl-cgi-simple")
2205 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2206 "CGI-Simple-" version ".tar.gz"))
2209 "013dcy9k4sj9alkksk5aqz65ryxw0rxgg71c7w666y941gd8n46q"))))
2210 (build-system perl-build-system)
2212 `(("perl-io-stringy" ,perl-io-stringy) ; for IO::Scalar
2213 ("perl-module-build" ,perl-module-build)
2214 ("perl-test-exception" ,perl-test-exception)
2215 ("perl-test-nowarnings" ,perl-test-nowarnings)))
2216 (home-page "http://search.cpan.org/dist/CGI-Simple")
2217 (synopsis "CGI interface that is CGI.pm compliant")
2218 (description "CGI::Simple provides a relatively lightweight drop in
2219 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
2220 parameter parsing, file upload, cookie handling and header generation.")
2221 (license l:perl-license)))
2223 (define-public perl-cgi-struct
2225 (name "perl-cgi-struct")
2230 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2231 "CGI-Struct-" version ".tar.gz"))
2234 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2235 (build-system perl-build-system)
2237 `(("perl-test-deep" ,perl-test-deep)))
2238 (home-page "http://search.cpan.org/dist/CGI-Struct")
2239 (synopsis "Build structures from CGI data")
2240 (description "This is a module for building structured data from CGI
2241 inputs, in a manner reminiscent of how PHP does.")
2244 (define-public perl-datetime-format-http
2246 (name "perl-datetime-format-http")
2251 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2252 "DateTime-Format-HTTP-" version ".tar.gz"))
2255 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2256 (build-system perl-build-system)
2258 `(("perl-module-build" ,perl-module-build)))
2260 `(("perl-datetime" ,perl-datetime)
2261 ("perl-http-date" ,perl-http-date)))
2262 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
2263 (synopsis "Date conversion routines")
2264 (description "This module provides functions that deal with the date
2265 formats used by the HTTP protocol.")
2266 (license l:perl-license)))
2268 (define-public perl-digest-md5-file
2270 (name "perl-digest-md5-file")
2275 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2276 "Digest-MD5-File-" version ".tar.gz"))
2279 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2280 (build-system perl-build-system)
2282 `(("perl-libwww" ,perl-libwww)))
2283 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
2284 (synopsis "MD5 sums for files and urls")
2285 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2286 for files and urls.")
2287 (license l:perl-license)))
2289 (define-public perl-encode-locale
2291 (name "perl-encode-locale")
2296 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2300 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2301 (build-system perl-build-system)
2302 (license l:perl-license)
2303 (synopsis "Perl locale encoding determination")
2305 "The POSIX locale system is used to specify both the language
2306 conventions requested by the user and the preferred character set to
2307 consume and output. The Encode::Locale module looks up the charset and
2308 encoding (called a CODESET in the locale jargon) and arranges for the
2309 Encode module to know this encoding under the name \"locale\". It means
2310 bytes obtained from the environment can be converted to Unicode strings
2311 by calling Encode::encode(locale => $bytes) and converted back again
2312 with Encode::decode(locale => $string).")
2313 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
2315 (define-public perl-feed-find
2317 (name "perl-feed-find")
2321 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2322 "Feed-Find-" version ".tar.gz"))
2325 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2326 (build-system perl-build-system)
2328 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2331 (modify-phases %standard-phases
2332 (add-after 'unpack 'set-env
2333 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2335 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2336 ("perl-html-parser" ,perl-html-parser)
2337 ("perl-libwww" ,perl-libwww)
2338 ("perl-uri" ,perl-uri)))
2339 (home-page "http://search.cpan.org/dist/Feed-Find")
2340 (synopsis "Syndication feed auto-discovery")
2341 (description "@code{Feed::Find} implements feed auto-discovery for finding
2342 syndication feeds, given a URI. It will discover the following feed formats:
2343 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2344 (license l:perl-license)))
2346 (define-public perl-file-listing
2348 (name "perl-file-listing")
2353 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2357 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2358 (build-system perl-build-system)
2360 `(("perl-http-date" ,perl-http-date)))
2361 (license l:perl-license)
2362 (synopsis "Perl directory listing parser")
2364 "The File::Listing module exports a single function called parse_dir(),
2365 which can be used to parse directory listings.")
2366 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
2368 (define-public perl-finance-quote
2370 (name "perl-finance-quote")
2375 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2376 "Finance-Quote-" version ".tar.gz"))
2379 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
2380 (patches (search-patches
2381 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2382 (build-system perl-build-system)
2384 `(("perl-cgi" ,perl-cgi)
2385 ("perl-datetime" ,perl-datetime)
2386 ("perl-html-parser" ,perl-html-parser)
2387 ("perl-html-tableextract" ,perl-html-tableextract)
2388 ("perl-html-tree" ,perl-html-tree)
2389 ("perl-http-cookies" ,perl-http-cookies)
2390 ("perl-http-message" ,perl-http-message)
2391 ("perl-json" ,perl-json)
2392 ("perl-libwww" ,perl-libwww)
2393 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2394 ("perl-uri" ,perl-uri)))
2395 (home-page "http://search.cpan.org/dist/Finance-Quote")
2396 (synopsis "Stock and mutual fund quotes")
2398 "Finance::Quote gets stock quotes from various internet sources, including
2399 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2402 (define-public perl-gssapi
2404 (name "perl-gssapi")
2409 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2410 "GSSAPI-" version ".tar.gz"))
2413 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2414 (build-system perl-build-system)
2415 (inputs `(("gssapi" ,mit-krb5)))
2417 `(#:make-maker-flags
2418 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2419 (home-page "http://search.cpan.org/dist/GSSAPI")
2420 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2421 (description "This is a Perl extension for using GSSAPI C bindings as
2422 described in RFC 2744.")
2423 (license l:perl-license)))
2425 (define-public perl-html-element-extended
2427 (name "perl-html-element-extended")
2432 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2433 "HTML-Element-Extended-" version ".tar.gz"))
2436 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2437 (build-system perl-build-system)
2439 `(("perl-html-tree" ,perl-html-tree)))
2440 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
2441 (synopsis "Manipulate tables of HTML::Element")
2443 "HTML::Element::Extended is a Perl extension for manipulating a table
2444 composed of HTML::Element style components.")
2445 (license l:perl-license)))
2447 (define-public perl-html-form
2449 (name "perl-html-form")
2454 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2455 "HTML-Form-" version ".tar.gz"))
2458 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2459 (build-system perl-build-system)
2461 `(("perl-html-parser" ,perl-html-parser)
2462 ("perl-html-tagset" ,perl-html-tagset)
2463 ("perl-http-message" ,perl-http-message)
2464 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2465 ("perl-uri" ,perl-uri)))
2466 (home-page "http://search.cpan.org/dist/HTML-Form")
2467 (synopsis "Perl class representing an HTML form element")
2468 (description "Objects of the HTML::Form class represents a single HTML
2469 <form> ... </form> instance.")
2470 (license l:perl-license)))
2472 (define-public perl-html-scrubber
2474 (name "perl-html-scrubber")
2480 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2485 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
2486 (build-system perl-build-system)
2488 `(("perl-module-build" ,perl-module-build)
2489 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2490 ("perl-test-differences" ,perl-test-differences)
2491 ("perl-test-eol" ,perl-test-eol)
2492 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2493 ("perl-test-notabs" ,perl-test-notabs)))
2495 `(("perl-html-parser" ,perl-html-parser)))
2497 "http://search.cpan.org/dist/HTML-Scrubber")
2499 "Perl extension for scrubbing/sanitizing html")
2501 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2502 (license l:perl-license)))
2504 (define-public perl-html-lint
2506 (name "perl-html-lint")
2511 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2512 "HTML-Lint-" version ".tar.gz"))
2515 "02vi1s4sw3hjnndxd6s91cp54iw5pg8n5kl9v0109dfxzn1n9bnl"))))
2516 (build-system perl-build-system)
2518 `(("perl-html-parser" ,perl-html-parser)
2519 ("perl-html-tagset" ,perl-html-tagset)
2520 ("perl-libwww" ,perl-libwww)))
2521 (home-page "http://search.cpan.org/dist/HTML-Lint")
2522 (synopsis "Check for HTML errors in a string or file")
2523 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2524 syntactic legitmacy.")
2525 (license l:artistic2.0)))
2527 (define-public perl-html-tableextract
2529 (name "perl-html-tableextract")
2534 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2535 "HTML-TableExtract-" version ".tar.gz"))
2538 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2539 (build-system perl-build-system)
2541 `(("perl-html-element-extended" ,perl-html-element-extended)
2542 ("perl-html-parser" ,perl-html-parser)))
2543 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
2544 (synopsis "Extract contents from HTML tables")
2546 "HTML::TableExtract is a Perl module for extracting the content contained
2547 in tables within an HTML document, either as text or encoded element trees.")
2548 (license l:perl-license)))
2550 (define-public perl-html-tree
2552 (name "perl-html-tree")
2557 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2558 "HTML-Tree-" version ".tar.gz"))
2561 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
2562 (build-system perl-build-system)
2564 `(("perl-module-build" ,perl-module-build)
2565 ("perl-test-fatal" ,perl-test-fatal)))
2567 `(("perl-html-parser" ,perl-html-parser)
2568 ("perl-html-tagset" ,perl-html-tagset)
2569 ("perl-libwww" ,perl-libwww)))
2570 (home-page "http://search.cpan.org/dist/HTML-Tree")
2571 (synopsis "Work with HTML in a DOM-like tree structure")
2572 (description "This distribution contains a suite of modules for
2573 representing, creating, and extracting information from HTML syntax trees.")
2574 (license l:perl-license)))
2576 (define-public perl-html-parser
2578 (name "perl-html-parser")
2583 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2587 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2588 (build-system perl-build-system)
2590 `(("perl-html-tagset" ,perl-html-tagset)
2591 ("perl-http-message" ,perl-http-message)))
2592 (license l:perl-license)
2593 (synopsis "Perl HTML parser class")
2595 "Objects of the HTML::Parser class will recognize markup and separate
2596 it from plain text (alias data content) in HTML documents. As different
2597 kinds of markup and text are recognized, the corresponding event handlers
2599 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2601 (define-public perl-html-tagset
2603 (name "perl-html-tagset")
2608 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2612 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2613 (build-system perl-build-system)
2614 (license l:perl-license)
2615 (synopsis "Perl data tables useful in parsing HTML")
2617 "The HTML::Tagset module contains several data tables useful in various
2618 kinds of HTML parsing operations.")
2619 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
2621 (define-public perl-html-template
2623 (name "perl-html-template")
2627 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2628 "HTML-Template-" version ".tar.gz"))
2631 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2632 (build-system perl-build-system)
2634 `(("perl-cgi" ,perl-cgi)))
2635 (home-page "http://search.cpan.org/dist/HTML-Template")
2636 (synopsis "HTML-like templates")
2638 "This module attempts to make using HTML templates simple and natural.
2639 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2640 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2641 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2642 these new tags is called a template. Using this module you fill in the values
2643 for the variables, loops and branches declared in the template. This allows
2644 you to separate design from the data.")
2645 (license l:perl-license)))
2647 (define-public perl-http-body
2649 (name "perl-http-body")
2654 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2655 "HTTP-Body-" version ".tar.gz"))
2658 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2659 (build-system perl-build-system)
2661 `(("perl-test-deep" ,perl-test-deep)))
2663 `(("perl-file-temp" ,perl-file-temp)
2664 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2665 (home-page "http://search.cpan.org/dist/HTTP-Body")
2666 (synopsis "HTTP Body Parser")
2667 (description "HTTP::Body parses chunks of HTTP POST data and supports
2668 application/octet-stream, application/json, application/x-www-form-urlencoded,
2669 and multipart/form-data.")
2670 (license l:perl-license)))
2672 (define-public perl-http-cookiejar
2674 (name "perl-http-cookiejar")
2679 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2680 "HTTP-CookieJar-" version ".tar.gz"))
2683 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2684 (build-system perl-build-system)
2686 `(("perl-test-deep" ,perl-test-deep)
2687 ("perl-test-requires" ,perl-test-requires)
2688 ("perl-time-mock" ,perl-time-mock)
2689 ("perl-uri" ,perl-uri)))
2691 `(("perl-time-local" ,perl-time-local)
2692 ("perl-http-date" ,perl-http-date)))
2693 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2694 (synopsis "Minimalist HTTP user agent cookie jar")
2695 (description "This module implements a minimalist HTTP user agent cookie
2696 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2697 (license l:asl2.0)))
2699 (define-public perl-http-cookies
2701 (name "perl-http-cookies")
2706 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
2710 "1m0kxcirbvbkrm2c59p1bkbvzlcdymg8fdpa7wlxijlx0xwz1iqc"))))
2711 (build-system perl-build-system)
2713 `(("perl-http-message" ,perl-http-message)))
2714 (license l:perl-license)
2715 (synopsis "Perl HTTP cookie jars")
2717 "The HTTP::Cookies class is for objects that represent a cookie jar,
2718 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2719 object knows about.")
2720 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2722 (define-public perl-http-daemon
2724 (name "perl-http-daemon")
2729 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2733 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2734 (build-system perl-build-system)
2736 `(("perl-http-message" ,perl-http-message)
2737 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2738 (license l:perl-license)
2739 (synopsis "Perl simple http server class")
2741 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2742 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2743 IO::Socket::INET, so you can perform socket operations directly on it too.")
2744 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2746 (define-public perl-http-date
2748 (name "perl-http-date")
2753 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2757 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2758 (build-system perl-build-system)
2759 (license l:perl-license)
2760 (synopsis "Perl date conversion routines")
2762 "The HTTP::Date module provides functions that deal with date formats
2763 used by the HTTP protocol (and then some more).")
2764 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2766 (define-public perl-http-message
2768 (name "perl-http-message")
2773 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
2777 "11fbvisyvi6bw8z9iq9fm9mraf69qyds09fblhl9gyvg7ccll93v"))))
2778 (build-system perl-build-system)
2780 `(("perl-try-tiny" ,perl-try-tiny)))
2782 `(("perl-encode-locale" ,perl-encode-locale)
2783 ("perl-http-date" ,perl-http-date)
2784 ("perl-io-html" ,perl-io-html)
2785 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2786 ("perl-uri" ,perl-uri)))
2787 (license l:perl-license)
2788 (synopsis "Perl HTTP style message")
2790 "An HTTP::Message object contains some headers and a content body.")
2791 (home-page "http://search.cpan.org/~ether/HTTP-Message/")))
2793 (define-public perl-http-negotiate
2795 (name "perl-http-negotiate")
2800 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2804 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2805 (build-system perl-build-system)
2807 `(("perl-http-message" ,perl-http-message)))
2808 (license l:perl-license)
2809 (synopsis "Perl http content negotiation")
2811 "The HTTP::Negotiate module provides a complete implementation of the
2812 HTTP content negotiation algorithm specified in
2813 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2814 the selection of a preferred content representation based upon attributes
2815 of the negotiable variants and the value of the various Accept* header
2816 fields in the request.")
2817 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2819 (define-public perl-http-parser
2821 (name "perl-http-parser")
2826 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2827 "HTTP-Parser-" version ".tar.gz"))
2830 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2831 (build-system perl-build-system)
2833 `(("perl-http-message" ,perl-http-message)
2834 ("perl-uri" ,perl-uri)))
2835 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2836 (synopsis "Parse HTTP/1.1 requests")
2837 (description "This is an HTTP request parser. It takes chunks of text as
2838 received and returns a 'hint' as to what is required, or returns the
2839 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2841 (license l:perl-license)))
2843 (define-public perl-http-parser-xs
2845 (name "perl-http-parser-xs")
2850 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2851 "HTTP-Parser-XS-" version ".tar.gz"))
2854 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2855 (build-system perl-build-system)
2857 `(("perl-module-install" ,perl-module-install)))
2858 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2859 (synopsis "Fast HTTP request parser")
2860 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2862 (license l:perl-license)))
2864 (define-public perl-http-request-ascgi
2866 (name "perl-http-request-ascgi")
2871 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2872 "HTTP-Request-AsCGI-" version ".tar.gz"))
2875 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2876 (build-system perl-build-system)
2878 `(("perl-class-accessor" ,perl-class-accessor)
2879 ("perl-http-message" ,perl-http-message)))
2880 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2881 (synopsis "Set up a CGI environment from an HTTP::Request")
2882 (description "This module provides a convenient way to set up a CGI
2883 environment from an HTTP::Request.")
2884 (license l:perl-license)))
2886 (define-public perl-http-server-simple
2888 (name "perl-http-server-simple")
2893 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
2894 "HTTP-Server-Simple-" version ".tar.gz"))
2897 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
2898 (build-system perl-build-system)
2900 `(("perl-cgi" ,perl-cgi)))
2902 ;; See the discussion of a related tests issue at
2903 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2906 #:phases (modify-phases %standard-phases
2907 (add-before 'configure 'set-search-path
2909 ;; Work around "dotless @INC" build failure.
2911 (string-append (getcwd) ":"
2912 (getenv "PERL5LIB")))
2914 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2915 (synopsis "Lightweight HTTP server")
2916 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2917 no non-core module dependencies. It can be used for building a standalone
2918 http-based UI to your existing tools.")
2919 (license l:perl-license)))
2921 (define-public perl-http-tiny
2923 (name "perl-http-tiny")
2928 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2929 "HTTP-Tiny-" version ".tar.gz"))
2932 "0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
2933 (build-system perl-build-system)
2935 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2936 ("perl-io-socket-ip" ,perl-io-socket-ip)
2937 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2938 ("perl-mozilla-ca" ,perl-mozilla-ca)
2939 ("perl-net-ssleay" ,perl-net-ssleay)))
2940 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2941 (synopsis "HTTP/1.1 client")
2942 (description "This is a very simple HTTP/1.1 client, designed for doing
2943 simple requests without the overhead of a large framework like LWP::UserAgent.
2944 It supports proxies and redirection. It also correctly resumes after EINTR.")
2945 (license l:perl-license)))
2947 (define-public perl-io-html
2949 (name "perl-io-html")
2954 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2958 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2959 (build-system perl-build-system)
2960 (license l:perl-license)
2961 (synopsis "Perl module to open an HTML file with automatic charset detection")
2963 "IO::HTML provides an easy way to open a file containing HTML while
2964 automatically determining its encoding. It uses the HTML5 encoding sniffing
2965 algorithm specified in section 8.2.2.1 of the draft standard.")
2966 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2968 (define-public perl-io-socket-ip
2970 (name "perl-io-socket-ip")
2975 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2976 "IO-Socket-IP-" version ".tar.gz"))
2979 "15kv5g1yb4a345sk3r5wfr99f868lhfqkddzsgpqddvccfkhv58i"))))
2980 (build-system perl-build-system)
2981 (native-inputs `(("perl-module-build" ,perl-module-build)))
2982 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2983 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2984 (description "This module provides a protocol-independent way to use IPv4
2985 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2986 (license l:perl-license)))
2988 (define-public perl-io-socket-ssl
2990 (name "perl-io-socket-ssl")
2994 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2995 "IO-Socket-SSL-" version ".tar.gz"))
2998 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2999 (patches (search-patches
3000 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3001 (build-system perl-build-system)
3003 `(("perl-net-ssleay" ,perl-net-ssleay)
3005 ("perl-uri" ,perl-uri)))
3006 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3008 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
3009 necessary functionality into the familiar IO::Socket interface and providing
3010 secure defaults whenever possible. This way existing applications can be made
3011 SSL-aware without much effort, at least if you do blocking I/O and don't use
3013 (license l:perl-license)
3014 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3016 (define-public perl-libwww
3018 (name "perl-libwww")
3023 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
3027 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
3028 (build-system perl-build-system)
3030 `(("perl-encode-locale" ,perl-encode-locale)
3031 ("perl-file-listing" ,perl-file-listing)
3032 ("perl-html-parser" ,perl-html-parser)
3033 ("perl-http-cookies" ,perl-http-cookies)
3034 ("perl-http-daemon" ,perl-http-daemon)
3035 ("perl-http-date" ,perl-http-date)
3036 ("perl-http-message" ,perl-http-message)
3037 ("perl-http-negotiate" ,perl-http-negotiate)
3038 ("perl-net-http" ,perl-net-http)
3039 ("perl-uri" ,perl-uri)
3040 ("perl-www-robotrules" ,perl-www-robotrules)))
3041 (license l:perl-license)
3042 (synopsis "Perl modules for the WWW")
3044 "The libwww-perl collection is a set of Perl modules which provides a
3045 simple and consistent application programming interface to the
3046 World-Wide Web. The main focus of the library is to provide classes
3047 and functions that allow you to write WWW clients. The library also
3048 contains modules that are of more general use and even classes that
3049 help you implement simple HTTP servers.")
3050 (home-page "http://search.cpan.org/dist/libwww-perl/")))
3052 (define-public perl-lwp-online
3054 (name "perl-lwp-online")
3060 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3064 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3065 (build-system perl-build-system)
3067 `(("perl-libwww" ,perl-libwww)
3068 ("perl-uri" ,perl-uri)))
3070 `(("perl-module-install" ,perl-module-install)))
3071 (home-page "http://search.cpan.org/dist/LWP-Online/")
3072 (synopsis "Checks whether your process has access to the web")
3073 (description "This module attempts to answer, as accurately as it can, one
3074 of the nastiest technical questions there is: am I on the internet?
3076 A host of networking and security issues make this problem very difficult.
3077 There are firewalls, proxies (both well behaved and badly behaved). We might
3078 not have DNS. We might not have a network card at all!")
3079 (license l:perl-license)))
3081 (define-public perl-lwp-mediatypes
3083 (name "perl-lwp-mediatypes")
3088 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
3092 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
3093 (build-system perl-build-system)
3094 (license l:perl-license)
3095 (synopsis "Perl module to guess the media type for a file or a URL")
3097 "The LWP::MediaTypes module provides functions for handling media (also
3098 known as MIME) types and encodings. The mapping from file extensions to
3099 media types is defined by the media.types file. If the ~/.media.types file
3100 exists it is used instead.")
3101 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
3103 (define-public perl-lwp-protocol-https
3105 (name "perl-lwp-protocol-https")
3110 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3111 "LWP-Protocol-https-" version ".tar.gz"))
3114 "1rxrpwylfw1afah0nk96kgkwjbl2p1a7lwx50iipg8c4rx3cjb2j"))))
3115 (build-system perl-build-system)
3118 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3120 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3121 ("perl-libwww" ,perl-libwww)
3122 ;; Users should instead make sure SSL_ca_path is set properly.
3123 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
3124 ("perl-net-http" ,perl-net-http)))
3125 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
3126 (synopsis "HTTPS support for LWP::UserAgent")
3127 (description "The LWP::Protocol::https module provides support for using
3128 https schemed URLs with LWP.")
3129 (license l:perl-license)))
3131 (define-public perl-lwp-useragent-determined
3133 (name "perl-lwp-useragent-determined")
3138 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3139 "LWP-UserAgent-Determined-" version ".tar.gz"))
3142 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3143 (build-system perl-build-system)
3145 `(("perl-libwww" ,perl-libwww)))
3146 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
3147 (synopsis "Virtual browser that retries errors")
3148 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
3149 except that when you use it to get a web page but run into a
3150 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
3151 and retry a few times.")
3152 (license l:perl-license)))
3154 (define-public perl-net-amazon-s3
3156 (name "perl-net-amazon-s3")
3161 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3162 "Net-Amazon-S3-" version ".tar.gz"))
3165 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3166 (patches (search-patches
3167 "perl-net-amazon-s3-moose-warning.patch"))))
3168 (build-system perl-build-system)
3170 `(("perl-libwww" ,perl-libwww)
3171 ("perl-test-exception" ,perl-test-exception)))
3173 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
3174 ("perl-datetime-format-http" ,perl-datetime-format-http)
3175 ("perl-digest-hmac" ,perl-digest-hmac)
3176 ("perl-digest-md5-file" ,perl-digest-md5-file)
3177 ("perl-file-find-rule" ,perl-file-find-rule)
3178 ("perl-http-date" ,perl-http-date)
3179 ("perl-http-message" ,perl-http-message)
3180 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
3181 ("perl-mime-types" ,perl-mime-types)
3182 ("perl-moose" ,perl-moose)
3183 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
3184 ("perl-moosex-types-datetime-morecoercions"
3185 ,perl-moosex-types-datetime-morecoercions)
3186 ("perl-path-class" ,perl-path-class)
3187 ("perl-regexp-common" ,perl-regexp-common)
3188 ("perl-term-encoding" ,perl-term-encoding)
3189 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
3190 ("perl-uri" ,perl-uri)
3191 ("perl-xml-libxml" ,perl-xml-libxml)))
3192 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
3193 (synopsis "Perl interface to Amazon S3")
3194 (description "This module provides a Perlish interface to Amazon S3.")
3195 (license l:perl-license)))
3197 (define-public perl-net-http
3199 (name "perl-net-http")
3204 "mirror://cpan/authors/id/O/OA/OALDERS/"
3205 "Net-HTTP-" version ".tar.gz"))
3208 "074mp9s37q1j290xa3qj1wwgalzla328i2zpnh73xkmdnwnxyhky"))))
3209 (build-system perl-build-system)
3211 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
3212 ("perl-uri" ,perl-uri)))
3213 (license l:perl-license)
3214 (synopsis "Perl low-level HTTP connection (client)")
3216 "The Net::HTTP class is a low-level HTTP client. An instance of the
3217 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
3218 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
3220 (home-page "http://search.cpan.org/dist/Net-HTTP")))
3222 (define-public perl-net-server
3224 (name "perl-net-server")
3229 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3230 "Net-Server-" version ".tar.gz"))
3233 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
3234 (build-system perl-build-system)
3235 (home-page "http://search.cpan.org/dist/Net-Server")
3236 (synopsis "Extensible Perl server engine")
3237 (description "Net::Server is an extensible, generic Perl server engine.
3238 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
3239 It includes with it the ability to run as an inetd
3240 process (Net::Server::INET), a single connection server (Net::Server or
3241 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
3242 server which maintains a constant number of preforked
3243 children (Net::Server::PreForkSimple), or as a managed preforking server which
3244 maintains the number of children based on server load (Net::Server::PreFork).
3245 In all but the inetd type, the server provides the ability to connect to one
3246 or to multiple server ports.")
3247 (license l:perl-license)))
3249 (define-public perl-net-smtp-ssl
3251 (name "perl-net-smtp-ssl")
3256 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3257 "Net-SMTP-SSL-" version ".tar.gz"))
3260 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3261 (build-system perl-build-system)
3263 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
3264 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
3265 (synopsis "SSL support for Net::SMTP")
3266 (description "SSL support for Net::SMTP.")
3267 (license l:perl-license)))
3269 (define-public perl-plack
3276 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3277 "Plack-" version ".tar.gz"))
3280 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3281 (build-system perl-build-system)
3283 `(("perl-test-requires" ,perl-test-requires)
3284 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3286 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
3287 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3288 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3289 ("perl-file-sharedir" ,perl-file-sharedir)
3290 ("perl-hash-multivalue" ,perl-hash-multivalue)
3291 ("perl-http-body" ,perl-http-body)
3292 ("perl-http-message" ,perl-http-message)
3293 ("perl-http-tiny" ,perl-http-tiny)
3294 ("perl-libwww" ,perl-libwww)
3295 ("perl-stream-buffered" ,perl-stream-buffered)
3296 ("perl-test-tcp" ,perl-test-tcp)
3297 ("perl-try-tiny" ,perl-try-tiny)
3298 ("perl-uri" ,perl-uri)))
3299 (home-page "http://search.cpan.org/dist/Plack")
3300 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3301 (description "Plack is a set of tools for using the PSGI stack. It
3302 contains middleware components, a reference server, and utilities for Web
3303 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3305 (license l:perl-license)))
3307 (define-public perl-plack-middleware-fixmissingbodyinredirect
3309 (name "perl-plack-middleware-fixmissingbodyinredirect")
3314 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3315 "Plack-Middleware-FixMissingBodyInRedirect-"
3319 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3320 (build-system perl-build-system)
3322 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3323 ("perl-http-message" ,perl-http-message)
3324 ("perl-plack" ,perl-plack))) ;for Plack::Test
3326 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
3327 (synopsis "Plack::Middleware which sets body for redirect response")
3328 (description "This module sets the body in redirect response, if it's not
3330 (license l:perl-license)))
3332 (define-public perl-plack-middleware-methodoverride
3334 (name "perl-plack-middleware-methodoverride")
3339 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
3340 "Plack-Middleware-MethodOverride-"
3344 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
3345 (build-system perl-build-system)
3347 `(("perl-module-build" ,perl-module-build)))
3349 `(("perl-plack" ,perl-plack)))
3350 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
3351 (synopsis "Override REST methods to Plack apps via POST")
3352 (description "This middleware allows for POST requests that pretend to be
3353 something else: by adding either a header named X-HTTP-Method-Override to the
3354 request, or a query parameter named x-tunneled-method to the URI, the client
3355 can say what method it actually meant.")
3356 (license l:perl-license)))
3358 (define-public perl-plack-middleware-removeredundantbody
3360 (name "perl-plack-middleware-removeredundantbody")
3365 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3366 "Plack-Middleware-RemoveRedundantBody-"
3370 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
3371 (build-system perl-build-system)
3373 `(("perl-plack" ,perl-plack)))
3375 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
3376 (synopsis "Plack::Middleware which removes body for HTTP response")
3377 (description "This module removes the body in an HTTP response if it's not
3379 (license l:perl-license)))
3381 (define-public perl-plack-middleware-reverseproxy
3383 (name "perl-plack-middleware-reverseproxy")
3388 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3389 "Plack-Middleware-ReverseProxy-"
3393 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
3394 (build-system perl-build-system)
3396 `(("perl-module-install" ,perl-module-install)))
3398 `(("perl-plack" ,perl-plack)))
3399 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
3400 (synopsis "Supports app to run as a reverse proxy backend")
3401 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3402 which are changed by reverse-proxy. You can specify the reverse proxy address
3403 and stop fake requests using 'enable_if' directive in your app.psgi.")
3404 (license l:perl-license)))
3406 (define-public perl-plack-test-externalserver
3408 (name "perl-plack-test-externalserver")
3413 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3414 "Plack-Test-ExternalServer-" version ".tar.gz"))
3417 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
3418 (build-system perl-build-system)
3420 `(("perl-plack" ,perl-plack)))
3421 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
3422 (synopsis "Run HTTP tests on external live servers")
3423 (description "This module allows your to run your Plack::Test tests
3424 against an external server instead of just against a local application through
3425 either mocked HTTP or a locally spawned server.")
3426 (license l:perl-license)))
3428 (define-public perl-test-tcp
3430 (name "perl-test-tcp")
3435 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3436 "Test-TCP-" version ".tar.gz"))
3439 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
3440 (build-system perl-build-system)
3442 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3443 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3444 (home-page "http://search.cpan.org/dist/Test-TCP")
3445 (synopsis "Testing TCP programs")
3446 (description "Test::TCP is test utilities for TCP/IP programs.")
3447 (license l:perl-license)))
3449 (define-public perl-test-www-mechanize
3451 (name "perl-test-www-mechanize")
3456 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3457 "Test-WWW-Mechanize-" version ".tar.gz"))
3460 "097pl87vdbxbb56vawzvs6ikrlb8nz3dx223kjjbdn3jlli3jjhg"))))
3461 (build-system perl-build-system)
3463 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3464 ("perl-html-form" ,perl-html-form)
3465 ("perl-html-lint" ,perl-html-lint)
3466 ("perl-http-server-simple" ,perl-http-server-simple)
3467 ("perl-libwww" ,perl-libwww)
3468 ("perl-test-longstring" ,perl-test-longstring)
3469 ("perl-www-mechanize" ,perl-www-mechanize)))
3470 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
3471 (synopsis "Testing-specific WWW::Mechanize subclass")
3472 (description "Test::WWW::Mechanize is a subclass of the Perl module
3473 WWW::Mechanize that incorporates features for web application testing.")
3474 (license l:artistic2.0)))
3476 (define-public perl-test-www-mechanize-catalyst
3478 (name "perl-test-www-mechanize-catalyst")
3483 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
3484 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3487 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
3488 (build-system perl-build-system)
3490 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3491 ("perl-catalyst-plugin-session-state-cookie"
3492 ,perl-catalyst-plugin-session-state-cookie)
3493 ("perl-module-install" ,perl-module-install)
3494 ("perl-test-exception" ,perl-test-exception)
3495 ("perl-test-pod" ,perl-test-pod)
3496 ("perl-test-utf8" ,perl-test-utf8)))
3498 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3499 ("perl-class-load" ,perl-class-load)
3500 ("perl-libwww" ,perl-libwww)
3501 ("perl-moose" ,perl-moose)
3502 ("perl-namespace-clean" ,perl-namespace-clean)
3503 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3504 ("perl-www-mechanize" ,perl-www-mechanize)))
3505 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
3506 (synopsis "Test::WWW::Mechanize for Catalyst")
3507 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3508 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3509 testing of Catalyst applications without needing to start up a web server.")
3510 (license l:perl-license)))
3512 (define-public perl-test-www-mechanize-psgi
3514 (name "perl-test-www-mechanize-psgi")
3519 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3520 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3523 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
3524 (build-system perl-build-system)
3526 `(("perl-test-pod" ,perl-test-pod)))
3528 `(("perl-plack" ,perl-plack)
3529 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3530 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
3531 (synopsis "Test PSGI programs using WWW::Mechanize")
3532 (description "PSGI is a specification to decouple web server environments
3533 from web application framework code. Test::WWW::Mechanize is a subclass of
3534 WWW::Mechanize that incorporates features for web application testing. The
3535 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3537 (license l:perl-license)))
3539 (define-public perl-uri
3545 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3546 "URI-" version ".tar.gz"))
3549 "04z4xwiryrbxxi48bwbkgq9q9pwfgqry3wp0ramcrwv3dx5ap9yc"))))
3550 (build-system perl-build-system)
3553 `(("perl-test-needs" ,perl-test-needs)))
3554 (license l:perl-license)
3555 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3557 "The URI module implements the URI class. Objects of this class
3558 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3559 and updated by RFC 2732.")
3560 (home-page "http://search.cpan.org/dist/URI/")))
3562 (define-public perl-uri-fetch
3564 (name "perl-uri-fetch")
3568 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3569 "URI-Fetch-" version ".tar.gz"))
3572 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3573 (build-system perl-build-system)
3575 `(#:tests? #f)) ; Tests require internet connection to succeed
3577 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3578 ("perl-libwww" ,perl-libwww)
3579 ("perl-uri" ,perl-uri)))
3580 (home-page "http://search.cpan.org/dist/URI-Fetch")
3581 (synopsis "Smart URI fetching/caching")
3582 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3583 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3584 and time-saving way.")
3585 (license l:perl-license)))
3587 (define-public perl-uri-find
3589 (name "perl-uri-find")
3590 (version "20160806")
3594 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3595 "URI-Find-" version ".tar.gz"))
3598 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
3599 (build-system perl-build-system)
3601 `(("perl-module-build" ,perl-module-build)))
3603 `(("perl-uri" ,perl-uri)))
3604 (home-page "http://search.cpan.org/dist/URI-Find")
3605 (synopsis "Find URIs in arbitrary text")
3606 (description "This module finds URIs and URLs (according to what URI.pm
3607 considers a URI) in plain text. It only finds URIs which include a
3608 scheme (http:// or the like), for something a bit less strict, consider
3609 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3610 (license l:perl-license)))
3612 (define-public perl-uri-ws
3614 (name "perl-uri-ws")
3619 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3620 "URI-ws-" version ".tar.gz"))
3623 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3624 (build-system perl-build-system)
3626 `(("perl-uri" ,perl-uri)))
3627 (home-page "http://search.cpan.org/dist/URI-ws")
3628 (synopsis "WebSocket support for URI package")
3629 (description "With this module, the URI package provides the same set of
3630 methods for WebSocket URIs as it does for HTTP URIs.")
3631 (license l:perl-license)))
3633 (define-public perl-uri-template
3635 (name "perl-uri-template")
3639 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3643 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3644 (build-system perl-build-system)
3646 `(("perl-uri" ,perl-uri)))
3648 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3649 ("perl-test-pod" ,perl-test-pod)
3650 ("perl-module-install" ,perl-module-install)
3651 ("perl-json" ,perl-json)))
3652 (home-page "http://search.cpan.org/dist/URI-Template")
3653 (synopsis "Object for handling URI templates")
3654 (description "This perl module provides a wrapper around URI templates as described in
3656 (license l:perl-license)))
3658 (define-public perl-www-curl
3660 (name "perl-www-curl")
3665 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3667 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3670 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3671 (build-system perl-build-system)
3673 '(#:tests? #f ;XXX: tests require network access
3675 #:phases (modify-phases %standard-phases
3676 (add-before 'configure 'set-search-path
3678 ;; Work around "dotless @INC" build failure.
3680 (string-append (getcwd) ":"
3681 (getenv "PERL5LIB")))
3684 `(("perl-module-install" ,perl-module-install)))
3685 (inputs `(("curl" ,curl)))
3686 (synopsis "Perl extension interface for libcurl")
3688 "This is a Perl extension interface for the libcurl file downloading
3690 (license l:perl-license)
3691 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3693 (define-public perl-www-mechanize
3695 (name "perl-www-mechanize")
3700 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3701 "WWW-Mechanize-" version ".tar.gz"))
3704 "0yd8a1zsfpbv5wr79x3iqmik9gvcd10iam9dfrdan4dri9vpxn9n"))))
3705 (build-system perl-build-system)
3706 (native-inputs ;only for tests
3707 `(("perl-cgi" ,perl-cgi)
3708 ("perl-test-deep" ,perl-test-deep)
3709 ("perl-test-fatal" ,perl-test-fatal)
3710 ("perl-test-output" ,perl-test-output)
3711 ("perl-test-warnings" ,perl-test-warnings)))
3713 `(("perl-html-form" ,perl-html-form)
3714 ("perl-html-parser" ,perl-html-parser)
3715 ("perl-html-tree" ,perl-html-tree)
3716 ("perl-http-message" ,perl-http-message)
3717 ("perl-http-server-simple" ,perl-http-server-simple)
3718 ("perl-libwww" ,perl-libwww)
3719 ("perl-test-warn" ,perl-test-warn)
3720 ("perl-uri" ,perl-uri)))
3721 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3722 (synopsis "Web browsing in a Perl object")
3723 (description "WWW::Mechanize is a Perl module for stateful programmatic
3724 web browsing, used for automating interaction with websites.")
3725 (license l:perl-license)))
3727 (define-public perl-www-opensearch
3729 (name "perl-www-opensearch")
3733 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3734 "WWW-OpenSearch-" version ".tar.gz"))
3737 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3738 (build-system perl-build-system)
3740 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3741 ("perl-datetime" ,perl-datetime)
3742 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
3743 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
3744 ("perl-feed-find" ,perl-feed-find)
3745 ("perl-module-install" ,perl-module-install)
3746 ("perl-module-pluggable" ,perl-module-pluggable)
3747 ("perl-uri-fetch" ,perl-uri-fetch)
3748 ("perl-test-simple" ,perl-test-simple)
3749 ("perl-xml-atom" ,perl-xml-atom)
3750 ("perl-xml-rss" ,perl-xml-rss)))
3752 `(("perl-data-page" ,perl-data-page)
3753 ("perl-libwww" ,perl-libwww)
3754 ("perl-uri" ,perl-uri)
3755 ("perl-uri-template" ,perl-uri-template)
3756 ("perl-xml-feed" ,perl-xml-feed)
3757 ("perl-xml-libxml" ,perl-xml-libxml)))
3758 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3759 (synopsis "Search A9 OpenSearch compatible engines")
3761 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3762 http://opensearch.a9.com} compatible search engines.")
3763 (license l:perl-license)))
3765 (define-public perl-www-robotrules
3767 (name "perl-www-robotrules")
3772 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3776 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3777 (build-system perl-build-system)
3779 `(("perl-uri" ,perl-uri)))
3780 (license l:perl-license)
3781 (synopsis "Perl database of robots.txt-derived permissions")
3783 "The WWW::RobotRules module parses /robots.txt files as specified in
3784 \"A Standard for Robot Exclusion\", at
3785 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3786 /robots.txt file to forbid conforming robots from accessing parts of
3788 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3790 (define-public python-feedparser
3792 (name "python-feedparser")
3797 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3800 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3801 (build-system python-build-system)
3805 "https://github.com/kurtmckee/feedparser")
3806 (synopsis "Parse feeds in Python")
3808 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3809 CDF, Atom 0.3, and Atom 1.0 feeds.")
3810 (license (list l:bsd-2 ; source code
3811 l:freebsd-doc)))) ; documentation
3813 (define-public python2-feedparser
3814 (package-with-python2 python-feedparser))
3816 (define-public r-httpuv
3822 (uri (cran-uri "httpuv" version))
3825 "12kwq10xa8glrip7rai9xb4hnpysng00g2l0rw7swfzq5lk4z966"))))
3826 (build-system r-build-system)
3827 (native-inputs `(("r-rcpp" ,r-rcpp)))
3830 ("r-later" ,r-later)
3831 ("r-promises" ,r-promises)))
3832 (home-page "https://github.com/rstudio/httpuv")
3833 (synopsis "HTTP and WebSocket server library for R")
3835 "The httpuv package provides low-level socket and protocol support for
3836 handling HTTP and WebSocket requests directly from within R. It is primarily
3837 intended as a building block for other packages, rather than making it
3838 particularly easy to create complete web applications using httpuv alone.")
3839 ;; This package includes third-party code that was originally released
3840 ;; under various non-copyleft licenses. Full licensing information can be
3841 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3844 (define-public r-jsonlite
3850 (uri (cran-uri "jsonlite" version))
3853 "00lfg464jhf7k01bal9pcjvbdf5cxk6xi2h46hccp1x3h883g434"))))
3854 (build-system r-build-system)
3855 (home-page "http://arxiv.org/abs/1403.2805")
3856 (synopsis "Robust, high performance JSON parser and generator for R")
3858 "The jsonlite package provides a fast JSON parser and generator optimized
3859 for statistical data and the web. It offers flexible, robust, high
3860 performance tools for working with JSON in R and is particularly powerful for
3861 building pipelines and interacting with a web API. In addition to converting
3862 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3863 and prettify JSON data. The unit tests included with the package verify that
3864 all edge cases are encoded and decoded consistently for use with dynamic data
3865 in systems and applications.")
3868 (define-public r-servr
3874 (uri (cran-uri "servr" version))
3877 "0yz3igqsiyqnjj1ngh199zicg3spx4kbmvl0wc8i8xahk6l9g06v"))))
3878 (build-system r-build-system)
3880 `(("r-httpuv" ,r-httpuv)
3881 ("r-jsonlite" ,r-jsonlite)
3883 ("r-xfun" ,r-xfun)))
3884 (home-page "https://github.com/yihui/servr")
3885 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3887 "Servr provides an HTTP server in R to serve static files, or dynamic
3888 documents that can be converted to HTML files (e.g., R Markdown) under a given
3892 (define-public r-htmltools
3894 (name "r-htmltools")
3898 (uri (cran-uri "htmltools" version))
3901 "18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4"))))
3902 (build-system r-build-system)
3905 (modify-phases %standard-phases
3906 ;; See https://github.com/rstudio/htmltools/pull/68
3907 ;; The resource files are in the store and have mode 444. After
3908 ;; copying the files R fails to remove them again because it doesn't
3909 ;; have write access to them.
3910 (add-after 'unpack 'copy-files-without-mode
3912 (substitute* "R/html_dependency.R"
3913 (("file.copy\\(from, to, " prefix)
3914 (string-append prefix
3915 "copy.mode = FALSE, ")))
3918 `(("r-digest" ,r-digest)
3919 ("r-rcpp" ,r-rcpp)))
3920 (home-page "https://cran.r-project.org/web/packages/htmltools")
3921 (synopsis "R tools for HTML")
3923 "This package provides tools for HTML generation and output in R.")
3926 (define-public r-htmlwidgets
3928 (name "r-htmlwidgets")
3932 (uri (cran-uri "htmlwidgets" version))
3935 "04c4d0mfcy3dkdlbxnaccpdgxvyxfdwfmmh5djim6v9hyg0j2z8s"))))
3936 (build-system r-build-system)
3938 `(("r-htmltools" ,r-htmltools)
3939 ("r-jsonlite" ,r-jsonlite)
3940 ("r-yaml" ,r-yaml)))
3941 (home-page "https://github.com/ramnathv/htmlwidgets")
3942 (synopsis "HTML Widgets for R")
3944 "HTML widgets is a framework for creating HTML widgets that render in
3945 various contexts including the R console, R Markdown documents, and Shiny web
3949 (define-public r-htmltable
3951 (name "r-htmltable")
3956 (uri (cran-uri "htmlTable" version))
3959 "1n5136vb7mi4rxl5jgwdmdhn4mwv2pcqyw2mrj406ih4hy6hpxa2"))))
3960 (properties `((upstream-name . "htmlTable")))
3961 (build-system r-build-system)
3963 `(("r-checkmate" ,r-checkmate)
3964 ("r-htmltools" ,r-htmltools)
3965 ("r-htmlwidgets" ,r-htmlwidgets)
3966 ("r-knitr" ,r-knitr)
3967 ("r-magrittr" ,r-magrittr)
3968 ("r-rstudioapi" ,r-rstudioapi)
3969 ("r-stringr" ,r-stringr)))
3970 (home-page "http://gforge.se/packages/")
3971 (synopsis "Advanced tables for Markdown/HTML")
3973 "This package provides functions to build tables with advanced layout
3974 elements such as row spanners, column spanners, table spanners, zebra
3975 striping, and more. While allowing advanced layout, the underlying
3976 CSS-structure is simple in order to maximize compatibility with word
3977 processors such as LibreOffice. The package also contains a few text
3978 formatting functions that help outputting text compatible with HTML or
3982 (define-public r-curl
3988 (uri (cran-uri "curl" version))
3991 "15hmy71310hnf9yqvz0icx4cq939gv6iqaifzlfdh2ia8akawdhn"))))
3992 (build-system r-build-system)
3995 (modify-phases %standard-phases
3996 ;; The environment variable CURL_CA_BUNDLE is only respected when
3997 ;; running Windows, so we disable the platform checks.
3998 ;; This can be removed once the libcurl has been patched.
3999 (add-after 'unpack 'allow-CURL_CA_BUNDLE
4001 (substitute* "R/onload.R"
4002 (("if \\(!grepl\\(\"mingw\".*")
4004 (substitute* "src/handle.c"
4005 (("#ifdef _WIN32") "#if 1"))
4008 `(("libcurl" ,curl)))
4009 (home-page "https://github.com/jeroenooms/curl")
4010 (synopsis "HTTP client for R")
4012 "The @code{curl()} and @code{curl_download()} functions provide highly
4013 configurable drop-in replacements for base @code{url()} and
4014 @code{download.file()} with better performance, support for encryption, gzip
4015 compression, authentication, and other @code{libcurl} goodies. The core of
4016 the package implements a framework for performing fully customized requests
4017 where data can be processed either in memory, on disk, or streaming via the
4018 callback or connection interfaces.")
4021 (define-public r-hwriter
4028 (uri (cran-uri "hwriter" version))
4031 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
4032 (build-system r-build-system)
4033 (home-page "https://cran.r-project.org/web/packages/hwriter")
4034 (synopsis "Output R objects in HTML format")
4036 "This package provides easy-to-use and versatile functions to output R
4037 objects in HTML format.")
4038 (license l:lgpl2.1+)))
4040 (define-public r-rjson
4047 (uri (cran-uri "rjson" version))
4050 "0v1zvdd3svnavklh7y5xbwrrkbvx6053r4c5hgnk7hz7bqg7qa1s"))))
4051 (build-system r-build-system)
4052 (home-page "https://cran.r-project.org/web/packages/rjson")
4053 (synopsis "JSON library for R")
4055 "This package provides functions to convert R objects into JSON objects
4059 (define-public gumbo-parser
4061 (name "gumbo-parser")
4065 (uri (string-append "https://github.com/google/"
4066 "gumbo-parser/archive/v" version ".tar.gz"))
4067 (file-name (string-append name "-" version ".tar.gz"))
4070 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
4071 (build-system gnu-build-system)
4073 `(#:tests? #f)) ;tests require bundling googletest sources
4074 ;; The release tarball lacks the generated files.
4076 `(("autoconf" ,autoconf)
4077 ("automake" ,automake)
4078 ("libtool" ,libtool)))
4079 (home-page "https://github.com/google/gumbo-parser")
4080 (synopsis "HTML5 parsing library")
4082 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4083 a pure C99 library.")
4084 (license l:asl2.0)))
4086 (define-public uwsgi
4092 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4096 "1wlbaairsmhp6bx5wv282q9pgh6w7w6yrb8vxjznfaxrinsfkhix"))))
4097 (build-system gnu-build-system)
4098 (outputs '("out" "python"))
4100 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4101 ;; But there is no obvious way to run the real tests.
4104 (modify-phases %standard-phases
4106 ;; Configuration is done by writing an ini file.
4107 (lambda* (#:key outputs #:allow-other-keys)
4108 (let* ((out (assoc-ref outputs "out"))
4109 (bindir (string-append out "/bin"))
4110 (plugindir (string-append out "/lib/uwsgi")))
4111 ;; The build phase outputs files to these directories directly.
4114 ;; XXX: Enable other plugins.
4115 (call-with-output-file "buildconf/guix.ini"
4117 (format port "[uwsgi]
4123 plugins = cgi,python
4125 " bindir plugindir))))
4126 (setenv "PROFILE" "guix")
4129 ;; Move plugins into their own output.
4130 (lambda* (#:key outputs #:allow-other-keys)
4131 (let* ((out (assoc-ref outputs "out"))
4132 (plugindir (string-append out "/lib/uwsgi"))
4133 (python-plugin (string-append
4134 plugindir "/python_plugin.so")))
4135 (install-file python-plugin
4137 (assoc-ref outputs "python") "/lib/uwsgi"))
4138 (delete-file python-plugin)
4141 `(("pkg-config" ,pkg-config)
4142 ("python" ,python-wrapper)))
4144 `(("jansson" ,jansson)
4145 ("libxml2" ,libxml2)
4146 ("libyaml" ,libyaml)
4147 ("openssl" ,openssl)
4151 ("python" ,python)))
4152 (home-page "https://uwsgi-docs.readthedocs.org/")
4153 (synopsis "Application container server")
4155 "uWSGI presents a complete stack for networked/clustered web applications,
4156 implementing message/object passing, caching, RPC and process management.
4157 It uses the uwsgi protocol for all the networking/interprocess communications.")
4158 (license l:gpl2+))) ; with linking exception
4166 (uri (string-append "https://github.com/stedolan/" name
4167 "/releases/download/" name "-" version
4168 "/" name "-" version ".tar.gz"))
4171 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
4172 ;; This patch has been pushed and the vulnerability will be
4173 ;; fixed in the next release after 1.5.
4174 ;; https://github.com/stedolan/jq/issues/995
4175 (patches (search-patches "jq-CVE-2015-8863.patch"))))
4177 `(("oniguruma" ,oniguruma)))
4179 `(;; TODO fix gems to generate documentation
4181 ;;("bundler" ,bundler)
4182 ("valgrind" ,valgrind)))
4183 (build-system gnu-build-system)
4184 (home-page "http://stedolan.github.io/jq/")
4185 (synopsis "Command-line JSON processor")
4186 (description "jq is like sed for JSON data – you can use it to slice and
4187 filter and map and transform structured data with the same ease that sed, awk,
4188 grep and friends let you play with text. It is written in portable C. jq can
4189 mangle the data format that you have into the one that you want with very
4190 little effort, and the program to do so is often shorter and simpler than
4192 (license (list l:expat l:cc-by3.0))))
4194 (define-public uhttpmock
4201 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4202 name "-" version ".tar.xz"))
4205 "163py4klka423x7li2b685gmg3a6hjf074mlff2ajhmi3l0lm8x6"))))
4206 (build-system glib-or-gtk-build-system)
4209 (modify-phases %standard-phases
4210 (add-before 'check 'use-empty-ssl-cert-file
4212 ;; Search for ca-certificates.crt files
4213 ;; during the check phase.
4214 (setenv "SSL_CERT_FILE" "/dev/null")
4217 `(("gobject-introspection" ,gobject-introspection)
4219 ("glib-networking" ,glib-networking)
4220 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4221 ("pkg-config" ,pkg-config)))
4223 `(("libsoup" ,libsoup)))
4224 (home-page "https://gitlab.com/groups/uhttpmock")
4225 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4227 "Uhttpmock is a project for mocking web service APIs which use HTTP or
4228 HTTPS. It provides a library, libuhttpmock, which implements recording and
4229 playback of HTTP request/response traces.")
4230 (license l:lgpl2.1+)))
4235 (version "2012-05-31")
4239 "http://www.home.unix-ag.org/simon/woof-"
4243 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4244 (build-system trivial-build-system)
4246 '(#:modules ((guix build utils))
4249 (use-modules (guix build utils))
4250 (let* ((source (assoc-ref %build-inputs "source"))
4251 (out (assoc-ref %outputs "out"))
4252 (bin (string-append out "/bin"))
4253 (python (assoc-ref %build-inputs "python")))
4255 (with-directory-excursion bin
4256 (copy-file source "woof")
4257 (patch-shebang "woof" (list (string-append python "/bin")))
4258 (chmod "woof" #o555))
4260 (inputs `(("python" ,python-2)))
4261 (home-page "http://www.home.unix-ag.org/simon/woof.html")
4262 (synopsis "Single file web server")
4263 (description "Woof (Web Offer One File) is a small simple web server that
4264 can easily be invoked on a single file. Your partner can access the file with
4265 tools they trust (e.g. wget).")
4268 (define netsurf-buildsystem
4270 (name "netsurf-buildsystem")
4275 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4276 "buildsystem-" version ".tar.gz"))
4279 "0p5k708lcq8dip9xxck6hml32bjrbyipprm22bbsvdnsc0pqm71x"))))
4280 (build-system gnu-build-system)
4281 (inputs `(("perl" ,perl)))
4283 '(#:make-flags (list (string-append "PREFIX=" %output))
4284 #:tests? #f ;no tests
4285 #:phases (modify-phases %standard-phases
4288 (home-page "http://www.netsurf-browser.org")
4289 (synopsis "Build system for the Netsurf project")
4291 "This package provides the shared build system for Netsurf project
4295 (define netsurf-buildsystem-arguments
4296 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4297 "CC=gcc" "BUILD_CC=gcc"
4298 ,(string-append "PREFIX=" %output)
4299 ,(string-append "NSSHARED="
4300 (assoc-ref %build-inputs
4301 "netsurf-buildsystem")
4302 "/share/netsurf-buildsystem"))
4303 #:test-target "test"
4304 #:phases (modify-phases %standard-phases
4305 (delete 'configure))))
4307 (define-public libparserutils
4309 (name "libparserutils")
4314 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4315 name "-" version "-src.tar.gz"))
4318 "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
4319 (build-system gnu-build-system)
4321 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4322 ("pkg-config" ,pkg-config)
4323 ("perl" ,perl))) ;for test harness
4324 (arguments netsurf-buildsystem-arguments)
4325 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
4326 (synopsis "Parser building library")
4328 "LibParserUtils is a library for building efficient parsers, written in
4329 C. It is developed as part of the NetSurf project.")
4332 (define-public hubbub
4339 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4340 "lib" name "-" version "-src.tar.gz"))
4343 "1shi4hv8drn9zy8f2f6yhnz2dqnpg5jkybvqhzggfjx1q35fbxz3"))
4344 (patches (search-patches "hubbub-sort-entities.patch"))))
4345 (build-system gnu-build-system)
4347 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4348 ("pkg-config" ,pkg-config)
4349 ("doxygen" ,doxygen)
4350 ("json-c" ,json-c-0.12) ; check whether json-c-0.12 can be removed
4353 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4354 (arguments netsurf-buildsystem-arguments)
4355 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
4356 (synopsis "HTML5 compliant parsing library")
4358 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4359 parse both valid and invalid web content. It is developed as part of the
4363 (define-public ikiwiki
4366 (version "3.20170111")
4370 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4371 "20170111T215449Z/pool/main/i/ikiwiki/ikiwiki_"
4375 "00d7yzv426fvqbhvzyafddv7fa6b4j2647b0wi371wd5yjj9j3sz"))))
4376 (build-system perl-build-system)
4378 `(;; Image tests fail
4380 ;; Test Summary Report
4381 ;; -------------------
4382 ;; t/img.t (Wstat: 2304 Tests: 62 Failed: 9)
4383 ;; Failed tests: 21, 27-28, 30-35
4384 ;; Non-zero exit status: 9
4387 (modify-phases %standard-phases
4388 (add-after 'unpack 'include-PERL5LIB-in-wrapper
4390 (substitute* "IkiWiki/Wrapper.pm"
4391 (("^@wrapper\\_hooks")
4394 " addenv(\"PERL5LIB\", \""
4397 (add-after 'patch-source-shebangs 'patch-Makefile
4399 (substitute* "Makefile.PL"
4400 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
4402 (add-after 'install 'wrap-programs
4403 (lambda* (#:key outputs #:allow-other-keys)
4404 (let* ((out (assoc-ref outputs "out"))
4405 (bin (string-append out "/bin/"))
4406 (path (getenv "PERL5LIB")))
4407 (for-each (lambda (file)
4409 `("PERL5LIB" ":" prefix (,path))))
4414 ("perl-html-tagset" ,perl-html-tagset)
4415 ("perl-timedate" ,perl-timedate)
4416 ("perl-xml-sax" ,perl-xml-sax)
4417 ("perl-xml-simple" ,perl-xml-simple)
4418 ("gettext" ,gettext-minimal)
4419 ("subversion" ,subversion)
4423 ("mercurial" ,mercurial)))
4425 `(("python" ,python-wrapper)
4426 ("perl-cgi-formbuilder" ,perl-cgi-formbuilder)
4427 ("perl-cgi-session" ,perl-cgi-session)
4428 ("perl-cgi-simple" ,perl-cgi-simple)
4429 ("perl-db-file" ,perl-db-file)
4430 ("perl-html-parser" ,perl-html-parser)
4431 ("perl-html-scrubber" ,perl-html-scrubber)
4432 ("perl-html-template" ,perl-html-template)
4433 ("perl-image-magick" ,perl-image-magick)
4434 ("perl-json" ,perl-json)
4435 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4436 ("perl-uri" ,perl-uri)
4437 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4438 (home-page "https://ikiwiki.info/")
4439 (synopsis "Wiki compiler, capable of generating HTML")
4441 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4442 pages, but also incorporating dynamic features like a web based editor and
4446 (define-public libwapcaplet
4448 (name "libwapcaplet")
4453 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4454 name "-" version "-src.tar.gz"))
4457 "15yr0pl6qa6biy36qkmd949ydbjzpqiaccpx3sprh4jknabsk1vv"))))
4458 (build-system gnu-build-system)
4460 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4461 ("pkg-config" ,pkg-config)
4462 ("check" ,check))) ;for tests
4463 (arguments netsurf-buildsystem-arguments)
4464 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
4465 (synopsis "String internment library")
4467 "LibWapcaplet provides a reference counted string internment system
4468 designed to store small strings and allow rapid comparison of them. It is
4469 developed as part of the Netsurf project.")
4472 (define-public libcss
4479 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4480 name "-" version "-src.tar.gz"))
4483 "16mns3h8vj7iw8myvgnw58q84irvbjlvfkxh8mdw6fbkjvaa7cnz"))))
4484 (build-system gnu-build-system)
4486 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4487 ("pkg-config" ,pkg-config)
4489 (propagated-inputs ;needed for libcss.pc
4490 `(("libparserutils" ,libparserutils)
4491 ("libwapcaplet" ,libwapcaplet)))
4492 (arguments netsurf-buildsystem-arguments)
4493 (home-page "http://www.netsurf-browser.org/projects/libcss/")
4494 (synopsis "CSS parser and selection library")
4496 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4497 written in C. It is developed as part of the NetSurf project.")
4500 (define-public libdom
4507 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4508 name "-" version "-src.tar.gz"))
4511 "1zb7x2qwm6p11lph6j2vcyp4a0a8i1klkqilnk5vb4qmlzzpcv7i"))))
4512 (build-system gnu-build-system)
4514 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4515 ("pkg-config" ,pkg-config)
4516 ("perl" ,perl) ;for test harness
4517 ("perl-libxml" ,perl-libxml)
4518 ("perl-switch" ,perl-switch)
4519 ("perl-xml-xpath" ,perl-xml-xpath)))
4521 `(("libparserutils" ,libparserutils)
4522 ("libwapcaplet" ,libwapcaplet)))
4524 `(("expat" ,expat) ;needed for headers and linking
4525 ("hubbub" ,hubbub))) ;for libdom.pc
4527 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4528 ,@netsurf-buildsystem-arguments))
4529 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4530 (synopsis "Implementation of the W3C DOM")
4532 "LibDOM is an implementation of the W3C DOM, written in C. It is
4533 developed as part of the NetSurf project.")
4536 (define-public libsvgtiny
4543 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4544 name "-" version "-src.tar.gz"))
4547 "12ppy2r7m21ykrjgbf067cgi6dn48fkj7i4b7m64xl4dc13y0ah6"))))
4548 (build-system gnu-build-system)
4550 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4551 ("pkg-config" ,pkg-config)
4552 ("gperf" ,gperf-3.0)))
4554 `(("libwapcaplet" ,libwapcaplet)))
4556 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4557 (arguments netsurf-buildsystem-arguments)
4558 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4559 (synopsis "Library for parsing SVG files")
4561 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4562 which can be rendered easily, as defined in
4563 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4567 (define-public libnsbmp
4574 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4575 name "-" version "-src.tar.gz"))
4578 "0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
4579 (build-system gnu-build-system)
4581 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4582 (arguments netsurf-buildsystem-arguments)
4583 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4584 (synopsis "Decoding library for BMP and ICO files")
4586 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4587 written in C. It is developed as part of the NetSurf project.")
4590 (define-public libnsgif
4597 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4598 name "-" version "-src.tar.gz"))
4601 "1phwf0m24m6nd7096fw14hanl4f8gr9bcppi834lbik04agxk38a"))))
4602 (build-system gnu-build-system)
4604 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4605 (arguments netsurf-buildsystem-arguments)
4606 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4607 (synopsis "Decoding library for GIF files")
4609 "Libnsgif is a decoding library for the GIF image file format, written in
4610 C. It is developed as part of the NetSurf project.")
4613 (define-public libnsutils
4620 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4621 name "-" version "-src.tar.gz"))
4624 "0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
4625 (build-system gnu-build-system)
4627 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4628 (arguments netsurf-buildsystem-arguments)
4629 (home-page "http://www.netsurf-browser.org/")
4630 (synopsis "Utility library for NetSurf")
4632 "Libnsutils provides a small number of useful utility routines. It is
4633 developed as part of the NetSurf project.")
4636 (define-public libnspsl
4643 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4644 name "-" version "-src.tar.gz"))
4647 "0wim5hwzwrfrvvap096whf79m2mnfivbqhqlh03ci9d89xb1w0y9"))))
4648 (build-system gnu-build-system)
4650 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4651 (arguments netsurf-buildsystem-arguments)
4652 (home-page "http://www.netsurf-browser.org/")
4653 (synopsis "Library to generate a static Public Suffix List")
4655 "Libnspsl is a library to generate a static code representation of the
4656 Public Suffix List. It is developed as part of the NetSurf project.")
4659 (define-public nsgenbind
4666 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4667 name "-" version "-src.tar.gz"))
4670 "1iwjpdaan0njlhb9ir6a2q5vpxfmkqfldkvnqszqdz50b44vd1jv"))))
4671 (build-system gnu-build-system)
4673 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4677 (substitute-keyword-arguments netsurf-buildsystem-arguments
4678 ((#:make-flags flags)
4679 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4680 (home-page "http://www.netsurf-browser.org/")
4681 (synopsis "Generate JavaScript to DOM bindings")
4683 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4684 w3c webidl files and a binding configuration file.")
4687 (define-public netsurf
4694 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4695 "releases/source/netsurf-" version "-src.tar.gz"))
4698 "05kynfzzwd4fc03vbqdjpghh5xnk2yrh43w7vikak89vla30mhpg"))
4699 (patches (search-patches "netsurf-system-utf8proc.patch"
4700 "netsurf-y2038-tests.patch"
4701 "netsurf-longer-test-timeout.patch"))))
4702 (build-system glib-or-gtk-build-system)
4704 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4705 ("nsgenbind" ,nsgenbind)
4706 ("libidn" ,libidn) ;only for tests
4709 ("perl-html-parser" ,perl-html-parser)
4710 ("pkg-config" ,pkg-config)))
4714 ("openssl" ,openssl)
4715 ("utf8proc" ,utf8proc)
4717 ("libjpeg" ,libjpeg)
4720 ("libnsbmp" ,libnsbmp)
4721 ("libnsgif" ,libnsgif)
4722 ("libnspsl" ,libnspsl)
4723 ("libnsutils" ,libnsutils)
4724 ("libsvgtiny" ,libsvgtiny)
4725 ("miscfiles" ,miscfiles)))
4727 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4728 ,(string-append "PREFIX=" %output)
4729 ,(string-append "NSSHARED="
4730 (assoc-ref %build-inputs
4731 "netsurf-buildsystem")
4732 "/share/netsurf-buildsystem"))
4733 #:test-target "test"
4734 #:modules ((ice-9 rdelim)
4738 ,@%glib-or-gtk-build-system-modules)
4740 (modify-phases %standard-phases
4742 (add-after 'build 'adjust-welcome
4744 ;; First, fix some unended tags and simple substitutions
4745 (substitute* "frontends/gtk/res/welcome.html"
4746 (("<(img|input)([^>]*)>" _ tag contents)
4747 (string-append "<" tag contents " />"))
4748 (("Licence") "License") ;prefer GNU spelling
4749 ((" open source") ", free software")
4750 (("web site") "website")
4751 ;; Prefer privacy-respecting default search engine
4752 (("www.google.co.uk") "www.duckduckgo.com/html")
4753 (("Google Search") "DuckDuckGo Search")
4754 (("name=\"btnG\"") ""))
4755 ;; Remove default links so it doesn't seem we're endorsing them
4756 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4758 ;; Leave the DOCTYPE header as is
4759 (display (read-line in 'concat) out)
4761 (let rec ((sxml (xml->sxml in)))
4762 ;; We'd like to use sxml-match here, but it can't
4763 ;; match against generic tag symbols...
4765 (`(div (@ (class "links")) . ,rest)
4772 (add-before 'check 'patch-check
4773 (lambda* (#:key inputs #:allow-other-keys)
4774 (substitute* '("test/bloom.c" "test/hashtable.c")
4775 (("/usr/share/dict/words")
4776 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4778 (add-after 'install 'install-more
4779 (lambda* (#:key outputs #:allow-other-keys)
4780 (let* ((out (assoc-ref outputs "out"))
4781 (desktop (string-append out "/share/applications/"
4782 "netsurf.desktop")))
4783 (mkdir-p (dirname desktop))
4784 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4786 (substitute* desktop
4787 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk"))
4788 (("netsurf.png") (string-append out "/share/netsurf/"
4790 (install-file "docs/netsurf-gtk.1"
4791 (string-append out "/share/man/man1/"))
4793 (home-page "http://www.netsurf-browser.org")
4794 (synopsis "Web browser")
4796 "NetSurf is a lightweight web browser that has its own layout and
4797 rendering engine entirely written from scratch. It is small and capable of
4798 handling many of the web standards in use today.")
4801 (define-public surfraw
4807 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4808 name "-" version ".tar.gz"))
4811 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4812 (build-system gnu-build-system)
4815 (modify-phases %standard-phases
4816 (add-before 'configure 'patch-perl
4817 (lambda* (#:key inputs #:allow-other-keys)
4818 (let ((perl (assoc-ref inputs "perl")))
4819 (substitute* "surfraw.IN"
4821 (string-append perl "/bin/perl -e")))
4823 (add-after 'install 'compress-elvi.1sr
4824 (lambda* (#:key outputs #:allow-other-keys)
4825 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4826 ;; but elvi.1sr does not get compressed by our manpage phase.
4827 (let* ((out (assoc-ref %outputs "out"))
4828 (man (string-append out "/share/man/man1")))
4829 (with-directory-excursion man
4830 (invoke "gzip" "elvi.1sr"))))))))
4833 ("perl-www-opensearch" ,perl-www-opensearch)
4834 ("perl-html-parser" ,perl-html-parser)
4835 ("perl-libwww" ,perl-libwww)))
4836 (synopsis "Unix command line interface to the www")
4837 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4838 provides a unix command line interface to a variety of popular www search engines
4839 and similar services.")
4840 (home-page "https://surfraw.alioth.debian.org/")
4841 (license l:public-domain)))
4843 (define-public darkhttpd
4850 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4851 version ".tar.bz2"))
4854 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4855 (build-system gnu-build-system)
4857 `(#:make-flags '("CC=gcc")
4858 #:tests? #f ; No test suite
4860 (modify-phases %standard-phases
4863 (lambda* (#:key outputs #:allow-other-keys)
4864 (install-file "darkhttpd"
4865 (string-append (assoc-ref outputs "out")
4868 (synopsis "Simple static web server")
4869 (description "darkhttpd is a simple static web server. It is
4870 standalone and does not need inetd or ucspi-tcp. It does not need any
4871 config files---you only have to specify the www root.")
4872 (home-page "https://unix4lyfe.org/darkhttpd/")
4875 (define-public goaccess
4881 (uri (string-append "http://tar.goaccess.io/goaccess-"
4885 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4886 (modules '((guix build utils)))
4888 (substitute* "src/error.h"
4889 (("__DATE__") "\"1970-01-01\"")
4890 (("__TIME__") "\"00:00:00\""))
4892 (build-system gnu-build-system)
4894 ;; TODO: Add dependency on geoip-tools.
4896 ("ncurses" ,ncurses)))
4898 `(("pkg-config" ,pkg-config)))
4899 (home-page "https://goaccess.io")
4900 (synopsis "Analyze Web server logs in real time")
4902 "GoAccess is a real-time web log analyzer and interactive viewer that
4903 runs in a terminal or through your browser. It provides fast and valuable
4904 HTTP statistics for system administrators that require a visual server report
4908 (define-public httptunnel
4915 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4916 name "-" version ".tar.gz"))
4919 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4920 (modules '((guix build utils)))
4922 ;; Remove non-free IETF RFC documentation.
4923 (delete-file-recursively "doc")
4925 (build-system gnu-build-system)
4928 (modify-phases %standard-phases
4929 ;; The default configure phase tries to pass environment variables as
4930 ;; command-line arguments, which confuses the ./configure script.
4932 (lambda* (#:key outputs #:allow-other-keys)
4933 (let* ((out (assoc-ref outputs "out")))
4934 (setenv "CONFIG_SHELL" (which "bash"))
4935 (invoke "./configure"
4936 (string-append "--prefix=" out))))))))
4937 (home-page "http://www.nocrew.org/software/httptunnel.html")
4938 (synopsis "Tunnel data connections through HTTP requests")
4939 (description "httptunnel creates a bidirectional virtual data connection
4940 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4941 useful for users behind restrictive firewalls. As long as Web traffic is
4942 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4943 tools like SSH (Secure Shell) to reach the outside world.")
4946 (define-public stunnel
4953 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4957 "02qx0b0dd38rfcl9vfd6zq1pcg5gv0z2mxw5z3p2pfbfk7dpbrn4"))))
4958 (build-system gnu-build-system)
4961 `(("iproute" ,iproute)
4963 ("procps" ,procps)))
4964 (inputs `(("openssl" ,openssl)))
4967 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
4969 (modify-phases %standard-phases
4970 (add-after 'unpack 'patch-output-directories
4972 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
4973 (substitute* (list "Makefile.in"
4975 "tools/Makefile.in")
4977 (string-append "/doc/" ,name "-" ,version)))
4979 (add-before 'check 'patch-tests
4981 (substitute* "tests/make_test"
4983 (string-append (which "sh") " ")))
4985 (home-page "https://www.stunnel.org")
4986 (synopsis "TLS proxy for clients or servers")
4987 (description "Stunnel is a proxy designed to add TLS encryption
4988 functionality to existing clients and servers without any changes in the
4989 programs' code. Its architecture is optimized for security, portability, and
4990 scalability (including load-balancing), making it suitable for large
4994 (define-public xinetd
5002 (string-append "https://github.com/xinetd-org/xinetd/archive/xinetd-"
5003 (string-join (string-split version #\.) "-") ".tar.gz"))
5004 (patches (search-patches "xinetd-CVE-2013-4342.patch"
5005 "xinetd-fix-fd-leak.patch"))
5008 "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
5009 (build-system gnu-build-system)
5011 `(#:configure-flags '("--with-loadavg")
5012 #:tests? #f)) ; no tests
5013 (home-page "https://github.com/xinetd-org/xinetd")
5014 (synopsis "Internet services daemon")
5015 (description "@code{xinetd}, a more secure replacement for @code{inetd},
5016 listens for incoming requests over a network and launches the appropriate
5017 service for that request. Requests are made using port numbers as identifiers
5018 and xinetd usually launches another daemon to handle the request. It can be
5019 used to start services with both privileged and non-privileged port numbers.")
5020 (license (l:fsf-free "file://COPYRIGHT"))))
5022 (define-public tidy-html
5029 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
5031 (file-name (string-append name "-" version ".tar.gz"))
5034 "0n29wcgw32rhnraj9j21ibhwi0xagmmcskhbaz8ihxly7nx3p9h8"))))
5035 (build-system cmake-build-system)
5037 "static")) ; 1.0MiB of .a files
5039 `(#:tests? #f ; no tests available
5040 #:build-type "Release"
5042 (modify-phases %standard-phases
5043 (add-after 'install 'move-static-libraries
5044 (lambda* (#:key outputs #:allow-other-keys)
5045 ;; Move static libraries to the "static" output.
5046 (let* ((out (assoc-ref outputs "out"))
5047 (lib (string-append out "/lib"))
5048 (static (assoc-ref outputs "static"))
5049 (slib (string-append static "/lib")))
5051 (for-each (lambda (file)
5052 (install-file file slib)
5054 (find-files lib "\\.a$"))
5057 `(("libxslt" ,libxslt)))
5058 (home-page "http://www.html-tidy.org/")
5059 (synopsis "HTML Tidy with HTML5 support")
5061 "Tidy is a console application which corrects and cleans up
5062 HTML and XML documents by fixing markup errors and upgrading
5063 legacy code to modern standards.
5065 Tidy also provides @code{libtidy}, a C static and dynamic library that
5066 developers can integrate into their applications to make use of the
5067 functions of Tidy.")
5070 (define-public hiawatha
5077 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5078 "hiawatha-" version ".tar.gz"))
5079 (modules '((guix build utils)))
5081 ;; We use our packaged mbedtls, so delete the included copy.
5082 (delete-file-recursively "mbedtls")
5086 "0x2zfc8kc6c7rl4gwymwmg13w1c60biv6c6c9fvzpnl59bc9jgin"))))
5087 (build-system cmake-build-system)
5089 `(#:tests? #f ; No tests included
5090 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
5091 (string-append "-DENABLE_TOMAHAWK=on")
5092 (string-append "-DWEBROOT_DIR="
5093 (assoc-ref %outputs "out")
5094 "/share/hiawatha/html"))
5096 (modify-phases %standard-phases
5097 (add-after 'install 'remove-empty-dirs
5098 (lambda* (#:key outputs #:allow-other-keys)
5099 (let* ((out (assoc-ref outputs "out")))
5100 ;; The directories in "var" are empty, remove them.
5101 (delete-file-recursively (string-append out "/var"))
5103 (add-after 'install 'wrap
5104 (lambda* (#:key inputs outputs #:allow-other-keys)
5105 ;; Make sure 'hiawatha' finds 'mbedtls'.
5106 (let* ((out (assoc-ref outputs "out"))
5107 (sbin (string-append out "/sbin"))
5108 (mbed (assoc-ref inputs "mbedtls-apache")))
5109 (wrap-program (string-append sbin "/hiawatha")
5110 `("PATH" ":" prefix (,mbed)))))))))
5112 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
5113 `(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
5115 ("libxslt" ,libxslt)
5116 ("libxml2" ,libxml2)))
5117 (home-page "https://www.hiawatha-webserver.org")
5118 (synopsis "Webserver with focus on security")
5120 "Hiawatha has been written with security in mind.
5121 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5125 (define-public python-httpbin
5127 (name "python-httpbin")
5132 (uri (pypi-uri "httpbin" version))
5135 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5136 (build-system python-build-system)
5138 `(("python-decorator" ,python-decorator)
5139 ("python-flask" ,python-flask)
5140 ("python-itsdangerous" ,python-itsdangerous)
5141 ("python-markupsafe" ,python-markupsafe)
5142 ("python-six" ,python-six)))
5143 (home-page "https://github.com/Runscope/httpbin")
5144 (synopsis "HTTP request and response service")
5145 (description "Testing an HTTP Library can become difficult sometimes.
5146 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
5147 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
5151 (define-public python2-httpbin
5152 (package-with-python2 python-httpbin))
5154 (define-public python-pytest-httpbin
5156 (name "python-pytest-httpbin")
5161 (uri (pypi-uri "pytest-httpbin" version))
5164 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5165 (build-system python-build-system)
5167 `(("python-six" ,python-six)
5168 ("python-httpbin" ,python-httpbin)
5169 ("python-pytest" ,python-pytest)))
5171 "https://github.com/kevin1024/pytest-httpbin")
5173 "Test your HTTP library against a local copy of httpbin")
5175 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
5176 into your tests. It automatically starts up a HTTP server in a separate thread running
5177 @code{httpbin} and provides your test with the URL in the fixture.")
5180 (define-public python2-pytest-httpbin
5181 (package-with-python2 python-pytest-httpbin))
5183 (define-public http-parser
5185 (name "http-parser")
5189 (uri (string-append "https://github.com/nodejs/http-parser/"
5190 "archive/v" version ".tar.gz"))
5191 (file-name (string-append name "-" version ".tar.gz"))
5194 "15ids8k2f0xhnnxh4m85w2f78pg5ndiwrpl24kyssznnp1l5yqai"))))
5195 (build-system gnu-build-system)
5197 `(#:test-target "test"
5199 (list (string-append "PREFIX="
5200 (assoc-ref %outputs "out"))
5203 (modify-phases %standard-phases
5204 (delete 'configure))))
5205 (home-page "https://github.com/nodejs/http-parser")
5206 (synopsis "HTTP request/response parser for C")
5207 (description "This is a parser for HTTP messages written in C. It parses
5208 both requests and responses. The parser is designed to be used in
5209 high-performance HTTP applications. It does not make any syscalls nor
5210 allocations, it does not buffer data, it can be interrupted at anytime.
5211 Depending on your architecture, it only requires about 40 bytes of data per
5212 message stream (in a web server that is per connection).")
5215 (define-public python2-httpretty
5217 (name "python2-httpretty")
5222 (uri (pypi-uri "httpretty" version))
5225 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
5226 (build-system python-build-system)
5228 `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
5229 ("python-sphinx" ,python2-sphinx)
5230 ("python-coverage" ,python2-coverage)
5231 ("python-tornado" ,python2-tornado)
5232 ("python-urllib3" ,python2-urllib3)
5233 ("python-sure" ,python2-sure)
5234 ("python-steadymark" ,python2-steadymark)
5235 ("python-requests" ,python2-requests)
5236 ("python-rednose" ,python2-rednose)
5237 ("python-nose-randomly" ,python2-nose-randomly)
5238 ("python-misaka" ,python2-misaka)
5239 ("python-pytest-httpbin" ,python2-pytest-httpbin)
5240 ("python-nose" ,python2-nose)))
5243 ;; Requires mock>=1.3.0 which requires a more up-to-date
5244 ;; python-pbr. After updating these trying to build the
5245 ;; package leads to failures in python-flake8 and other
5246 ;; packages. The cascade of updates and failures this
5247 ;; leads to, seems to not be worth having the test run.
5250 (modify-phases %standard-phases
5251 (add-before 'build 'patch-test-requirements
5252 (lambda* (#:key inputs #:allow-other-keys)
5253 ;; Update requirements from dependecy==version
5254 ;; to dependency>=version
5255 (substitute* "development.txt"
5258 (home-page "http://github.com/gabrielfalcao/httpretty")
5259 (synopsis "HTTP client mock for Python")
5260 (description "@code{httpretty} is a helper for faking web requests,
5261 inspired by Ruby's @code{fakeweb}.")
5271 (uri (string-append "https://github.com/jpmens/jo/releases/download/v"
5272 version "/jo-" version ".tar.gz"))
5275 "0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3"))))
5276 (build-system gnu-build-system)
5277 (home-page "https://github.com/jpmens/jo")
5278 (synopsis "Output JSON from a shell")
5279 (description "jo is a command-line utility to create JSON objects or
5280 arrays. It creates a JSON string on stdout from words provided as
5281 command-line arguments or read from stdin.")
5282 (license (list l:gpl2+
5283 l:expat)))) ; json.c, json.h
5285 (define-public python-internetarchive
5287 (name "python-internetarchive")
5292 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
5293 "v" version ".tar.gz"))
5294 (file-name (string-append name "-" version ".tar.gz"))
5297 "0sdbb2ag6vmybi8zmbjszi492a587giaaqxyy1p6gy03cb8mc512"))))
5298 (build-system python-build-system)
5301 (modify-phases %standard-phases
5303 (add-after 'install 'check
5304 (lambda* (#:key inputs outputs #:allow-other-keys)
5305 (add-installed-pythonpath inputs outputs)
5306 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
5307 ":" (getenv "PATH")))
5308 (invoke "py.test" "-v" "-k"
5310 ;; These tests attempt to make a connection to
5311 ;; an external web service.
5312 "not test_get_item_with_kwargs"
5313 " and not test_ia")))))))
5315 `(("python-requests" ,python-requests)
5316 ("python-jsonpatch" ,python-jsonpatch-0.4)
5317 ("python-docopt" ,python-docopt)
5318 ("python-clint" ,python-clint)
5319 ("python-six" ,python-six)
5320 ("python-schema" ,python-schema-0.5)
5321 ("python-backports-csv" ,python-backports-csv)))
5323 `(("python-pytest" ,python-pytest)
5324 ("python-pytest-capturelog" ,python-pytest-capturelog)
5325 ("python-responses" ,python-responses)))
5326 (home-page "https://github.com/jjjake/internetarchive")
5327 (synopsis "Command-line interface to archive.org")
5328 (description "@code{ia} is a command-line tool for using
5329 @url{archive.org} from the command-line. It also emplements the
5330 internetarchive python module for programatic access to archive.org.")
5332 `((python2-variant . ,(delay python2-internetarchive))))
5333 (license l:agpl3+)))
5335 (define-public python2-internetarchive
5336 (package-with-python2
5337 (strip-python2-variant python-internetarchive)))
5339 (define-public python-clf
5340 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
5347 (uri (pypi-uri "clf" version))
5350 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
5351 (build-system python-build-system)
5353 `(("python-docopt" ,python-docopt)
5354 ("python-pygments" ,python-pygments)
5355 ("python-requests" ,python-requests)
5356 ("python-nose" ,python-nose)
5357 ("python-lxml" ,python-lxml)
5358 ("python-pyaml" ,python-pyaml)))
5363 (uri (string-append "https://raw.githubusercontent.com"
5364 "/ncrocfer/clf/" commit-test-clf
5368 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
5371 (modify-phases %standard-phases
5372 (add-after 'unpack 'get-tests
5374 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
5379 ;; These tests require an Internet connection.
5380 "--exclude=test_browse"
5381 "--exclude=test_command"
5382 "--exclude=test_search"))))))
5383 (home-page "https://github.com/ncrocfer/clf")
5384 (synopsis "Search code snippets on @url{https://commandlinefu.com}")
5385 (description "@code{clf} is a command line tool for searching code
5386 snippets on @url{https://commandlinefu.com}.")
5387 (license l:expat))))
5389 (define-public python2-clf
5390 (package-with-python2 python-clf))
5392 (define-public r-shiny
5400 (url "https://github.com/rstudio/shiny.git")
5401 (commit (string-append "v" version))))
5402 (file-name (git-file-name name version))
5405 "041q2gzvzs13syfhbirmkik96asdji8dxnnbs63j7v1ks97hrvvz"))))
5406 (build-system r-build-system)
5408 `(#:modules ((guix build r-build-system)
5409 (guix build minify-build-system)
5412 #:imported-modules (,@%r-build-system-modules
5413 (guix build minify-build-system))
5415 (modify-phases (@ (guix build r-build-system) %standard-phases)
5416 (add-after 'unpack 'replace-bundled-minified-JavaScript
5417 (lambda* (#:key inputs #:allow-other-keys)
5418 (let ((replace-file (lambda (old new)
5419 (format #t "replacing ~a with ~a\n" old new)
5421 (symlink new old))))
5422 ;; NOTE: Files in ./inst/www/shared/datepicker/js/locales/
5423 ;; contain just data. They are not minified code, so we don't
5425 (with-directory-excursion "inst/www/shared"
5426 (replace-file "bootstrap/shim/respond.min.js"
5427 (string-append (assoc-ref inputs "js-respond")
5428 "/share/javascript/respond.min.js"))
5429 (replace-file "bootstrap/shim/html5shiv.min.js"
5430 (string-append (assoc-ref inputs "js-html5shiv")
5431 "/share/javascript/html5shiv.min.js"))
5432 (replace-file "json2-min.js"
5433 (string-append (assoc-ref inputs "js-json2")
5434 "/share/javascript/json2.min.js"))
5435 (replace-file "strftime/strftime-min.js"
5436 (string-append (assoc-ref inputs "js-strftime")
5437 "/share/javascript/strftime.min.js"))
5438 (replace-file "highlight/highlight.pack.js"
5439 (string-append (assoc-ref inputs "js-highlight")
5440 "/share/javascript/highlight.min.js"))
5441 (replace-file "datatables/js/jquery.dataTables.min.js"
5442 (string-append (assoc-ref inputs "js-datatables")
5443 "/share/javascript/jquery.dataTables.min.js"))
5444 (replace-file "selectize/js/selectize.min.js"
5445 (string-append (assoc-ref inputs "js-selectize")
5446 "/share/javascript/selectize.min.js"))
5447 (replace-file "selectize/js/es5-shim.min.js"
5448 (string-append (assoc-ref inputs "js-es5-shim")
5449 "/share/javascript/es5-shim.min.js"))
5450 (for-each (match-lambda
5452 (delete-file target)
5453 (minify source #:target target)))
5454 '(("jqueryui/jquery-ui.js" .
5455 "jqueryui/jquery-ui.min.js")
5456 ("showdown/src/showdown.js" .
5457 "showdown/compressed/showdown.js")
5458 ("datepicker/js/bootstrap-datepicker.js" .
5459 "datepicker/js/bootstrap-datepicker.min.js")
5460 ("ionrangeslider/js/ion.rangeSlider.js" .
5461 "ionrangeslider/js/ion.rangeSlider.min.js")
5462 ("bootstrap/js/bootstrap.js" .
5463 "bootstrap/js/bootstrap.min.js")
5467 "jquery.min.js")))))
5470 `(("r-crayon" ,r-crayon)
5471 ("r-httpuv" ,r-httpuv)
5473 ("r-jsonlite" ,r-jsonlite)
5474 ("r-xtable" ,r-xtable)
5475 ("r-digest" ,r-digest)
5476 ("r-htmltools" ,r-htmltools)
5478 ("r-sourcetools" ,r-sourcetools)))
5480 `(("js-datatables" ,js-datatables)
5481 ("js-html5shiv" ,js-html5shiv)
5482 ("js-json2" ,js-json2)
5483 ("js-respond" ,js-respond)
5484 ("js-selectize" ,js-selectize)
5485 ("js-strftime" ,js-strftime)
5486 ("js-highlight" ,js-highlight)
5487 ("js-es5-shim" ,js-es5-shim)))
5488 (home-page "http://shiny.rstudio.com")
5489 (synopsis "Easy interactive web applications with R")
5491 "Makes it incredibly easy to build interactive web applications
5492 with R. Automatic \"reactive\" binding between inputs and outputs and
5493 extensive prebuilt widgets make it possible to build beautiful,
5494 responsive, and powerful applications with minimal effort.")
5495 (license l:artistic2.0)))
5497 (define-public r-shinydashboard
5499 (name "r-shinydashboard")
5503 (uri (cran-uri "shinydashboard" version))
5506 "10yqcqqcxgfqwkmscqwvvgr710im583qsqnsqkfpisjvkqp10yqb"))))
5507 (build-system r-build-system)
5508 ;; The directory inst/AdminLTE/ contains a minified JavaScript file.
5509 ;; Regenerate it from the included sources.
5511 `(#:modules ((guix build utils)
5512 (guix build r-build-system)
5515 (modify-phases %standard-phases
5516 (add-after 'unpack 'generate-minified-javascript
5518 (with-directory-excursion "inst/AdminLTE"
5519 (delete-file "app.min.js")
5520 (let ((minified (open-pipe* OPEN_READ "uglify-js" "app.js")))
5521 (call-with-output-file "app.min.js"
5523 (dump-port minified port))))))))))
5525 `(("r-htmltools" ,r-htmltools)
5526 ("r-shiny" ,r-shiny)))
5528 `(("uglify-js" ,uglify-js)))
5529 (home-page "http://rstudio.github.io/shinydashboard/")
5530 (synopsis "Create dashboards with shiny")
5531 (description "This package provides an extension to the Shiny web
5532 application framework for R, making it easy to create attractive dashboards.")
5533 ;; This package includes software that was released under the Expat
5534 ;; license, but the whole package is released under GPL version 2 or
5538 (define-public r-crosstalk
5540 (name "r-crosstalk")
5545 (uri (cran-uri "crosstalk" version))
5548 "0lfa89vhrzi7a1rghmygcjr8gzddw35sinb3jx6g49mc9jias7mk"))))
5549 (build-system r-build-system)
5551 `(("r-ggplot2" ,r-ggplot2)
5552 ("r-htmltools" ,r-htmltools)
5553 ("r-jsonlite" ,r-jsonlite)
5554 ("r-lazyeval" ,r-lazyeval)
5556 ("r-shiny" ,r-shiny)))
5557 (home-page "https://rstudio.github.io/crosstalk/")
5558 (synopsis "Inter-widget interactivity for HTML widgets")
5560 "This package provides building blocks for allowing HTML widgets to
5561 communicate with each other, with Shiny or without (i.e. static @code{.html}
5562 files). It currently supports linked brushing and filtering.")
5565 (define-public r-rook
5572 (uri (cran-uri "Rook" version))
5575 "00s9a0kr9rwxvlq433daxjk4ji8m0w60hjdprf502msw9kxfrx00"))))
5576 (properties `((upstream-name . "Rook")))
5577 (build-system r-build-system)
5578 (propagated-inputs `(("r-brew" ,r-brew)))
5579 (home-page "https://cran.r-project.org/web/packages/Rook")
5580 (synopsis "Web server interface for R")
5582 "This package contains the Rook specification and convenience software
5583 for building and running Rook applications. A Rook application is an R
5584 reference class object that implements a @code{call} method or an R closure
5585 that takes exactly one argument, an environment, and returns a list with three
5586 named elements: the @code{status}, the @code{headers}, and the @code{body}.")
5589 (define-public rss-bridge
5592 (version "2018-03-11")
5596 (uri (string-append "https://github.com/RSS-Bridge/rss-bridge/archive/"
5598 (file-name (string-append name "-" version ".tar.gz"))
5601 "1ix15ck45yb659k63mhwxwia6qnm9nn8jw0bga85abrvk1rchjdn"))))
5602 (build-system trivial-build-system)
5607 '(#:modules ((guix build utils))
5610 (use-modules (guix build utils)
5612 (let* ((out (assoc-ref %outputs "out"))
5613 (share-rss-bridge (string-append out "/share/rss-bridge")))
5614 (set-path-environment-variable
5615 "PATH" '("bin") (map (match-lambda ((_ . input) input))
5617 (mkdir-p share-rss-bridge)
5618 (invoke "tar" "xvf" (assoc-ref %build-inputs "source")
5619 "--strip-components" "1" "-C" share-rss-bridge)))))
5620 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5621 (synopsis "Generate Atom feeds for social networking websites")
5622 (description "rss-bridge generates Atom feeds for social networking
5623 websites lacking feeds. Supported websites include Facebook, Twitter,
5624 Instagram and YouTube.")
5625 (license (list l:public-domain
5626 l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php
5628 (define-public linkchecker
5630 (name "linkchecker")
5636 (url "https://github.com/linkchecker/linkchecker")
5637 (commit (string-append "v" version))))
5640 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
5641 (build-system python-build-system)
5643 `(("python2-dnspython" ,python2-dnspython)
5644 ("python2-pyxdg" ,python2-pyxdg)
5645 ("python2-requests" ,python2-requests)))
5647 `(#:python ,python-2))
5648 (home-page "https://linkcheck.github.io/linkchecker")
5649 (synopsis "Check websites for broken links")
5650 (description "LinkChecker is a website validator. It checks for broken
5651 links in websites. It is recursive and multithreaded providing output in
5652 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
5653 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
5655 (license (list l:gpl2+
5656 l:bsd-2 ; linkcheck/better_exchook2.py
5657 l:bsd-3 ; linkcheck/colorama.py
5658 l:psfl ; linkcheck/gzip2.py
5659 l:expat)))) ; linkcheck/mem.py
5661 (define-public cadaver
5668 (uri (string-append "http://www.webdav.org/cadaver/"
5669 name "-" version ".tar.gz"))
5672 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
5673 (build-system gnu-build-system)
5674 ;; TODO: Unbundle libneon and make build succeed with new neon.
5676 `(#:configure-flags (list "--with-ssl=openssl")
5677 #:tests? #f)) ;No tests included
5679 `(("gettext" ,gnu-gettext)
5680 ("pkg-config" ,pkg-config)
5681 ("intltool" ,intltool)))
5684 ("openssl" ,openssl)))
5685 (home-page "http://www.webdav.org/cadaver")
5686 (synopsis "Command-line WebDAV client")
5688 "Cadaver is a command-line WebDAV client for Unix. It supports
5689 file upload, download, on-screen display, namespace operations (move/copy),
5690 collection creation and deletion, and locking operations.")
5693 (define-public python-py-ubjson
5695 (name "python-py-ubjson")
5700 (uri (pypi-uri "py-ubjson" version))
5703 "03l9m9w5ip4hw0y69wlys5gzsfb7zcq3a77blj88grgiqhn5vm5n"))))
5704 (build-system python-build-system)
5705 (home-page "https://github.com/Iotic-Labs/py-ubjson")
5706 (synopsis "Universal Binary JSON encoder/decoder")
5708 "Py-ubjson is a Python module providing an Universal Binary JSON
5709 encoder/decoder based on the draft-12 specification for UBJSON.")
5710 (license l:asl2.0)))
5712 (define-public java-tomcat
5714 (name "java-tomcat")
5718 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
5719 version "/src/apache-tomcat-" version "-src.tar.gz"))
5722 "0q2bc3sajrmcx3z3vhhwp78y47ryc2ky8ssbdmfk24zvqdb76hvl"))))
5723 (build-system ant-build-system)
5725 `(("java-eclipse-jdt-core" ,java-eclipse-jdt-core)))
5727 `(("java-junit" ,java-junit)))
5729 `(#:build-target "package"
5730 #:tests? #f; requires downloading some files.
5732 (modify-phases %standard-phases
5733 (add-after 'unpack 'prevent-download
5735 ;; This directory must exist
5737 ;; We patch build.xml so it doesn't download any dependency, because
5738 ;; we already have all of them.
5739 (substitute* "build.xml"
5740 (("download-compile,") "")
5741 (("depends=\"validate\"") "depends=\"build-prepare\"")
5742 ((",download-validate") ""))
5744 (add-after 'unpack 'generate-properties
5746 ;; This could have been passed to make-flags, but getcwd returns
5747 ;; a different directory then.
5748 (with-output-to-file "build.properties"
5751 (string-append "base.path=" (getcwd) "/downloads\n"))))
5754 (install-jars "output/build/lib")))))
5755 (home-page "https://tomcat.apache.org")
5756 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
5758 (description "Apache Tomcat is a free implementation of the Java
5759 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
5761 (license l:asl2.0)))
5763 (define-public java-eclipse-jetty-test-helper
5765 (name "java-eclipse-jetty-test-helper")
5769 (uri (string-append "https://github.com/eclipse/jetty.toolchain/"
5770 "archive/jetty-test-helper-" version ".tar.gz"))
5773 "1jd6r9wc26fa11si4rn2gvy8ml8q4zw1nr6v04mjp8wvwpgvzwx5"))))
5774 (build-system ant-build-system)
5776 `(#:jar-name "eclipse-jetty-test-helper.jar"
5777 #:source-dir "src/main/java"
5778 #:test-dir "src/test"
5781 (modify-phases %standard-phases
5782 (add-before 'configure 'chdir
5784 (chdir "jetty-test-helper")))
5785 (add-before 'build 'fix-paths
5788 ;; This file assumes that the build directory is named "target"
5789 ;; but it is not the case with our ant-build-system. Once we have
5790 ;; maven though, we will have to rebuild this package because this
5791 ;; assumption is correct with maven-build-system.
5793 "src/main/java/org/eclipse/jetty/toolchain/test/MavenTestingUtils.java"
5794 (("\"target\"") "\"build\"")
5795 (("\"tests\"") "\"test-classes\""))
5796 ;; Tests assume we are building with maven, so that the build
5797 ;; directory is named "target", and not "build".
5798 (with-directory-excursion "src/test/java/org/eclipse/jetty/toolchain/test"
5799 (substitute* '("FSTest.java" "OSTest.java" "TestingDirTest.java"
5800 "MavenTestingUtilsTest.java")
5801 (("target/tests") "build/test-classes")
5802 (("\"target") "\"build")))
5805 `(("junit" ,java-junit)
5806 ("hamcrest" ,java-hamcrest-all)))
5807 (home-page "https://www.eclipse.org/jetty/")
5808 (synopsis "Helper classes for jetty tests")
5809 (description "This packages contains helper classes for testing the Jetty
5811 ;; This program is licensed under both epl and asl.
5812 (license (list l:epl1.0 l:asl2.0))))
5814 (define-public java-eclipse-jetty-perf-helper
5816 (inherit java-eclipse-jetty-test-helper)
5817 (name "java-eclipse-jetty-perf-helper")
5819 `(#:jar-name "eclipse-jetty-perf-helper.jar"
5820 #:source-dir "src/main/java"
5821 #:tests? #f; no tests
5824 (modify-phases %standard-phases
5825 (add-before 'configure 'chdir
5827 (chdir "jetty-perf-helper")
5830 `(("hdrhistogram" ,java-hdrhistogram)))))
5832 (define-public java-eclipse-jetty-util
5834 (name "java-eclipse-jetty-util")
5838 (uri (string-append "https://github.com/eclipse/jetty.project/"
5839 "archive/jetty-" version ".v20170531.tar.gz"))
5842 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
5843 (build-system ant-build-system)
5845 `(#:jar-name "eclipse-jetty-util.jar"
5846 #:source-dir "src/main/java"
5848 (list "**/Abstract*.java"
5850 "**/InetAddressSetTest.java"
5851 ;; Assumes we are using maven
5852 "**/TypeUtilTest.java"
5853 ;; Error on the style of log
5854 "**/StdErrLogTest.java")
5857 (modify-phases %standard-phases
5858 (add-before 'configure 'chdir
5860 (chdir "jetty-util")
5863 `(("slf4j" ,java-slf4j-api)
5864 ("servlet" ,java-tomcat)))
5866 `(("junit" ,java-junit)
5867 ("hamcrest" ,java-hamcrest-all)
5868 ("perf-helper" ,java-eclipse-jetty-perf-helper)
5869 ("test-helper" ,java-eclipse-jetty-test-helper)))
5870 (home-page "https://www.eclipse.org/jetty/")
5871 (synopsis "Utility classes for Jetty")
5872 (description "The Jetty Web Server provides an HTTP server and Servlet
5873 container capable of serving static and dynamic content either from a standalone
5874 or embedded instantiation. This package provides utility classes.")
5875 (license (list l:epl1.0 l:asl2.0))))
5877 ;; This version is required by maven-wagon
5878 (define-public java-eclipse-jetty-util-9.2
5880 (inherit java-eclipse-jetty-util)
5884 (uri (string-append "https://github.com/eclipse/jetty.project/"
5885 "archive/jetty-" version ".v20170606.tar.gz"))
5888 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
5890 `(#:jar-name "eclipse-jetty-util.jar"
5891 #:source-dir "src/main/java"
5894 (list "**/Abstract*.java"
5896 "**/InetAddressSetTest.java"
5897 ;; Assumes we are using maven
5898 "**/TypeUtilTest.java"
5899 ;; We don't have an implementation for slf4j
5901 ;; Error on the style of log
5902 "**/StdErrLogTest.java")
5904 (modify-phases %standard-phases
5905 (add-before 'configure 'chdir
5907 (chdir "jetty-util")
5909 (add-before 'build 'fix-test-sources
5911 ;; We need to fix issues caused by changes in newer versions of
5912 ;; jetty-test-helper
5913 (let ((src "src/test/java/org/eclipse/jetty/util/resource"))
5914 (substitute* (string-append src "/AbstractFSResourceTest.java")
5915 (("testdir.getDir\\(\\)") "testdir.getPath().toFile()")
5916 (("testdir.getFile\\(\"foo\"\\)")
5917 "testdir.getPathFile(\"foo\").toFile()")
5918 (("testdir.getFile\\(name\\)")
5919 "testdir.getPathFile(name).toFile()")))
5922 (define-public java-eclipse-jetty-io
5924 (inherit java-eclipse-jetty-util)
5925 (name "java-eclipse-jetty-io")
5927 `(#:jar-name "eclipse-jetty-io.jar"
5928 #:source-dir "src/main/java"
5930 #:test-exclude (list "**/Abstract*.java"
5932 "**/EndPointTest.java")
5934 (modify-phases %standard-phases
5935 (add-before 'configure 'chdir
5940 `(("slf4j" ,java-slf4j-api)
5941 ("servlet" ,java-javaee-servletapi)
5942 ("util" ,java-eclipse-jetty-util)))
5943 (synopsis "Jetty :: IO Utility")
5944 (description "The Jetty Web Server provides an HTTP server and Servlet
5945 container capable of serving static and dynamic content either from a standalone
5946 or embedded instantiation. This package provides IO-related utility classes.")))
5948 (define-public java-eclipse-jetty-io-9.2
5950 (inherit java-eclipse-jetty-io)
5951 (version (package-version java-eclipse-jetty-util-9.2))
5952 (source (package-source java-eclipse-jetty-util-9.2))
5954 `(("util" ,java-eclipse-jetty-util-9.2)
5955 ,@(package-inputs java-eclipse-jetty-util-9.2)))
5957 `(("mockito" ,java-mockito-1)
5958 ("cglib" ,java-cglib)
5959 ("objenesis" ,java-objenesis)
5961 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
5963 (define-public java-eclipse-jetty-http
5965 (inherit java-eclipse-jetty-util)
5966 (name "java-eclipse-jetty-http")
5968 `(#:jar-name "eclipse-jetty-http.jar"
5969 #:source-dir "src/main/java"
5972 (modify-phases %standard-phases
5973 (add-before 'configure 'chdir
5975 (chdir "jetty-http")
5977 (add-before 'build 'copy-resources
5979 (mkdir-p "build/classes")
5980 (copy-recursively "src/main/resources/" "build/classes/")
5983 `(("slf4j" ,java-slf4j-api)
5984 ("servlet" ,java-javaee-servletapi)
5985 ("io" ,java-eclipse-jetty-io)
5986 ("util" ,java-eclipse-jetty-util)))
5987 (synopsis "Jetty :: Http Utility")
5988 (description "The Jetty Web Server provides an HTTP server and Servlet
5989 container capable of serving static and dynamic content either from a standalone
5990 or embedded instantiation. This package provides HTTP-related utility classes.")))
5992 (define-public java-eclipse-jetty-http-9.2
5994 (inherit java-eclipse-jetty-http)
5995 (version (package-version java-eclipse-jetty-util-9.2))
5996 (source (package-source java-eclipse-jetty-util-9.2))
5998 `(("util" ,java-eclipse-jetty-util-9.2)
5999 ("io" ,java-eclipse-jetty-io-9.2)
6000 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6002 (define-public java-eclipse-jetty-jmx
6004 (inherit java-eclipse-jetty-util)
6005 (name "java-eclipse-jetty-jmx")
6007 `(#:jar-name "eclipse-jetty-jmx.jar"
6008 #:source-dir "src/main/java"
6010 #:tests? #f; FIXME: requires com.openpojo.validation
6012 (modify-phases %standard-phases
6013 (add-before 'configure 'chdir
6018 `(("slf4j" ,java-slf4j-api)
6019 ("servlet" ,java-javaee-servletapi)
6020 ("util" ,java-eclipse-jetty-util)))
6021 (synopsis "Jetty :: JMX Management")
6022 (description "The Jetty Web Server provides an HTTP server and Servlet
6023 container capable of serving static and dynamic content either from a standalone
6024 or embedded instantiation. This package provides the JMX management.")))
6026 (define-public java-eclipse-jetty-jmx-9.2
6028 (inherit java-eclipse-jetty-jmx)
6029 (version (package-version java-eclipse-jetty-util-9.2))
6030 (source (package-source java-eclipse-jetty-util-9.2))
6032 `(("util" ,java-eclipse-jetty-util-9.2)
6033 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6035 (define java-eclipse-jetty-http-test-classes
6037 (inherit java-eclipse-jetty-util)
6038 (name "java-eclipse-jetty-http-test-classes")
6040 `(#:jar-name "eclipse-jetty-http.jar"
6041 #:source-dir "src/test"
6045 (modify-phases %standard-phases
6046 (add-before 'configure 'chdir
6048 (chdir "jetty-http"))))))
6050 `(("slf4j" ,java-slf4j-api)
6051 ("servlet" ,java-tomcat)
6052 ("http" ,java-eclipse-jetty-http)
6053 ("io" ,java-eclipse-jetty-io)
6054 ("util" ,java-eclipse-jetty-util)))))
6056 (define java-eclipse-jetty-http-test-classes-9.2
6058 (inherit java-eclipse-jetty-http-test-classes)
6059 (version (package-version java-eclipse-jetty-util-9.2))
6060 (source (package-source java-eclipse-jetty-util-9.2))
6062 `(("http" ,java-eclipse-jetty-http-9.2)
6063 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6065 (define-public java-eclipse-jetty-server
6067 (inherit java-eclipse-jetty-util)
6068 (name "java-eclipse-jetty-server")
6070 `(#:jar-name "eclipse-jetty-server.jar"
6071 #:source-dir "src/main/java"
6073 #:tests? #f; requires a mockito version we don't have
6075 (modify-phases %standard-phases
6076 (add-before 'configure 'chdir
6078 (chdir "jetty-server")
6080 (add-before 'build 'fix-source
6082 ;; Explicit casts to prevent build failures
6083 (substitute* "src/main/java/org/eclipse/jetty/server/Request.java"
6084 (("append\\(LazyList")
6085 "append((CharSequence)LazyList"))
6087 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6089 "Class<\\? extends EventListener> clazz = _classLoader==null"
6090 "\\?Loader.loadClass\\(ContextHandler.class,className\\):"
6091 "_classLoader.loadClass\\(className\\);"))
6092 (string-append "Class<? extends EventListener> clazz = "
6093 "(Class<? extends EventListener>) "
6094 "(_classLoader==null?Loader.loadClass("
6095 "ContextHandler.class,className):"
6096 "_classLoader.loadClass(className));")))
6099 `(("slf4j" ,java-slf4j-api)
6100 ("servlet" ,java-javaee-servletapi)
6101 ("http" ,java-eclipse-jetty-http)
6102 ("io" ,java-eclipse-jetty-io)
6103 ("jmx" ,java-eclipse-jetty-jmx)
6104 ("util" ,java-eclipse-jetty-util)))
6106 `(("test-classes" ,java-eclipse-jetty-http-test-classes)
6107 ,@(package-native-inputs java-eclipse-jetty-util)))
6108 (synopsis "Core jetty server artifact")
6109 (description "The Jetty Web Server provides an HTTP server and Servlet
6110 container capable of serving static and dynamic content either from a standalone
6111 or embedded instantiation. This package provides the core jetty server
6114 (define-public java-eclipse-jetty-server-9.2
6116 (inherit java-eclipse-jetty-server)
6117 (version (package-version java-eclipse-jetty-util-9.2))
6118 (source (package-source java-eclipse-jetty-util-9.2))
6120 `(("util" ,java-eclipse-jetty-util-9.2)
6121 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6122 ("io" ,java-eclipse-jetty-io-9.2)
6123 ("http" ,java-eclipse-jetty-http-9.2)
6124 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6126 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6127 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6129 (define-public java-eclipse-jetty-security
6131 (inherit java-eclipse-jetty-util)
6132 (name "java-eclipse-jetty-security")
6134 `(#:jar-name "eclipse-jetty-security.jar"
6135 #:source-dir "src/main/java"
6137 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
6139 (modify-phases %standard-phases
6140 (add-before 'configure 'chdir
6142 (chdir "jetty-security")
6145 `(("slf4j" ,java-slf4j-api)
6146 ("servlet" ,java-tomcat)
6147 ("http" ,java-eclipse-jetty-http)
6148 ("server" ,java-eclipse-jetty-server)
6149 ("util" ,java-eclipse-jetty-util)))
6151 `(("io" ,java-eclipse-jetty-io)
6152 ,@(package-native-inputs java-eclipse-jetty-util)))
6153 (synopsis "Jetty security infrastructure")
6154 (description "The Jetty Web Server provides an HTTP server and Servlet
6155 container capable of serving static and dynamic content either from a standalone
6156 or embedded instantiation. This package provides the core jetty security
6159 (define-public java-eclipse-jetty-security-9.2
6161 (inherit java-eclipse-jetty-security)
6162 (version (package-version java-eclipse-jetty-util-9.2))
6163 (source (package-source java-eclipse-jetty-util-9.2))
6165 `(("util" ,java-eclipse-jetty-util-9.2)
6166 ("http" ,java-eclipse-jetty-http-9.2)
6167 ("server" ,java-eclipse-jetty-server-9.2)
6168 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6170 `(("io" ,java-eclipse-jetty-io-9.2)
6171 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6173 (define-public java-eclipse-jetty-servlet
6175 (inherit java-eclipse-jetty-util)
6176 (name "java-eclipse-jetty-servlet")
6178 `(#:jar-name "eclipse-jetty-servlet.jar"
6179 #:source-dir "src/main/java"
6182 (modify-phases %standard-phases
6183 (add-before 'configure 'chdir
6185 (chdir "jetty-servlet")
6188 `(("slf4j" ,java-slf4j-api)
6189 ("servlet" ,java-tomcat)
6190 ("http" ,java-eclipse-jetty-http)
6191 ("http-test" ,java-eclipse-jetty-http-test-classes)
6192 ("io" ,java-eclipse-jetty-io)
6193 ("jmx" ,java-eclipse-jetty-jmx)
6194 ("security" ,java-eclipse-jetty-security)
6195 ("server" ,java-eclipse-jetty-server)
6196 ("util" ,java-eclipse-jetty-util)))
6197 (synopsis "Jetty Servlet Container")
6198 (description "The Jetty Web Server provides an HTTP server and Servlet
6199 container capable of serving static and dynamic content either from a standalone
6200 or embedded instantiation. This package provides the core jetty servlet
6203 (define-public java-eclipse-jetty-servlet-9.2
6205 (inherit java-eclipse-jetty-servlet)
6206 (version (package-version java-eclipse-jetty-util-9.2))
6207 (source (package-source java-eclipse-jetty-util-9.2))
6209 `(#:jar-name "eclipse-jetty-servlet.jar"
6210 #:source-dir "src/main/java"
6212 #:tests? #f; doesn't work
6214 (modify-phases %standard-phases
6215 (add-before 'configure 'chdir
6217 (chdir "jetty-servlet")
6220 `(("util" ,java-eclipse-jetty-util-9.2)
6221 ("jmx" ,java-eclipse-jetty-jmx-9.2)
6222 ("io" ,java-eclipse-jetty-io-9.2)
6223 ("http" ,java-eclipse-jetty-http-9.2)
6224 ("security" ,java-eclipse-jetty-security-9.2)
6225 ("http-test" ,java-eclipse-jetty-http-test-classes-9.2)
6226 ("server" ,java-eclipse-jetty-server-9.2)
6227 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6229 (define-public java-eclipse-jetty-xml
6231 (inherit java-eclipse-jetty-util)
6232 (name "java-eclipse-jetty-xml")
6234 `(#:jar-name "eclipse-jetty-xml.jar"
6235 #:source-dir "src/main/java"
6237 #:tests? #f; most tests require network
6239 (modify-phases %standard-phases
6240 (add-before 'configure 'chdir
6245 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
6247 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6248 ,@(package-native-inputs java-eclipse-jetty-util)))))
6250 (define-public java-eclipse-jetty-xml-9.2
6252 (inherit java-eclipse-jetty-xml)
6253 (version (package-version java-eclipse-jetty-util-9.2))
6254 (source (package-source java-eclipse-jetty-util-9.2))
6256 `(#:jar-name "eclipse-jetty-xml.jar"
6257 #:source-dir "src/main/java"
6259 #:tests? #f; most tests require network
6261 (modify-phases %standard-phases
6262 (add-before 'configure 'chdir
6267 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6268 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6270 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6271 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6273 (define-public java-eclipse-jetty-webapp
6275 (inherit java-eclipse-jetty-util)
6276 (name "java-eclipse-jetty-webapp")
6278 `(#:jar-name "eclipse-jetty-webapp.jar"
6279 #:source-dir "src/main/java"
6282 #:test-exclude (list "**/WebAppContextTest.java")
6284 (modify-phases %standard-phases
6285 (add-before 'configure 'chdir
6287 (chdir "jetty-webapp")
6290 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
6291 ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
6292 ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
6293 ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
6294 ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
6295 ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
6296 ("java-javaee-servletapi" ,java-javaee-servletapi)))
6298 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6299 ,@(package-native-inputs java-eclipse-jetty-util)))))
6301 (define-public java-eclipse-jetty-webapp-9.2
6303 (inherit java-eclipse-jetty-webapp)
6304 (version (package-version java-eclipse-jetty-util-9.2))
6305 (source (package-source java-eclipse-jetty-util-9.2))
6307 `(#:jar-name "eclipse-jetty-webapp.jar"
6308 #:source-dir "src/main/java"
6310 #:test-exclude (list "**/WebAppContextTest.java")
6312 (modify-phases %standard-phases
6313 (add-before 'configure 'chdir
6315 (chdir "jetty-webapp")
6318 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6319 ("java-eclipse-jetty-http-9.2" ,java-eclipse-jetty-http-9.2)
6320 ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
6321 ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
6322 ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
6323 ("java-eclipse-jetty-xml-9.2" ,java-eclipse-jetty-xml-9.2)
6324 ("java-tomcat" ,java-tomcat)
6325 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6327 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6328 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6330 (define-public java-jsoup
6336 (uri (string-append "https://github.com/jhy/jsoup/archive/jsoup-"
6340 "0xbzw7rjv7s4nz1xk9b2cnin6zkpaldmc3svk71waa7hhjgp0a20"))))
6341 (build-system ant-build-system)
6343 `(#:jar-name "jsoup.jar"
6344 #:source-dir "src/main/java"
6346 (modify-phases %standard-phases
6347 (add-before 'build 'copy-resources
6349 (let ((classes-dir (string-append (getcwd) "/build/classes")))
6350 (with-directory-excursion "src/main/java"
6351 (for-each (lambda (file)
6352 (let ((dist (string-append classes-dir "/" file)))
6353 (mkdir-p (dirname dist))
6354 (copy-file file dist)))
6355 (find-files "." ".*.properties"))))
6358 `(("java-junit" ,java-junit)
6359 ("java-hamcrest-core" ,java-hamcrest-core)
6360 ("java-gson" ,java-gson)))
6361 (home-page "https://jsoup.org")
6362 (synopsis "HTML parser")
6363 (description "Jsoup is a Java library for working with real-world HTML. It
6364 provides a very convenient API for extracting and manipulating data, using the
6365 best of DOM, CSS, and jQuery-like methods.")
6368 (define-public tidyp
6375 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
6379 "0f5ky0ih4vap9c6j312jn73vn8m2bj69pl2yd3a5nmv35k9zmc10"))))
6380 (build-system gnu-build-system)
6381 ;; ./test-thing.sh tries to run ./testall.sh, which is not included.
6382 (arguments `(#:tests? #f))
6383 (home-page "http://www.tidyp.com/")
6384 (synopsis "Validate HTML")
6385 (description "Tidyp is a program that can validate your HTML, as well as
6386 modify it to be more clean and standard. tidyp does not validate HTML 5.
6388 libtidyp is the library on which the program is based. It can be used by any
6389 other program that can interface to it. The Perl module @code{HTML::Tidy} is
6390 based on this library, allowing Perl programmers to easily validate HTML.")
6391 ;; See htmldoc/license.html
6394 (define-public perl-html-tidy
6396 (name "perl-html-tidy")
6401 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
6405 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
6406 (build-system perl-build-system)
6409 (modify-phases %standard-phases
6410 (add-after 'unpack 'fix-tidyp-paths
6411 (lambda* (#:key inputs #:allow-other-keys)
6412 (substitute* "Makefile.PL"
6413 (("^my \\$inc = \"" line)
6415 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
6418 "-L" (assoc-ref inputs "tidyp") "/lib")))
6421 `(("perl-libwww" ,perl-libwww)
6424 `(("perl-test-exception" ,perl-test-exception)))
6425 (home-page "http://search.cpan.org/dist/HTML-Tidy/")
6426 (synopsis "(X)HTML validation in a Perl object")
6427 (description "@code{HTML::Tidy} is an HTML checker in a handy dandy
6428 object. It's meant as a replacement for @code{HTML::Lint}, which is written
6429 in Perl but is not nearly as capable as @code{HTML::Tidy}.")
6430 (license l:artistic2.0)))
6432 (define-public geomyidae
6439 (uri (string-append "http://git.r-36.net/geomyidae/snapshot/"
6440 "geomyidae-" version ".tar.bz2"))
6443 "1ih7220c6mgq4r7blm4kx3pxbl53sph58lqgwci6cmi3c0sq5c3x"))))
6444 (build-system gnu-build-system)
6446 `(#:make-flags (list "CC=gcc"
6447 (string-append "PREFIX="
6448 (assoc-ref %outputs "out")))
6449 #:tests? #f ;no tests
6450 #:phases (modify-phases %standard-phases
6451 (delete 'configure))))
6452 (home-page "http://git.r-36.net/geomyidae")
6453 (synopsis "Small Gopher server")
6455 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
6459 @item Gopher menus (see @file{index.gph} for an example);
6460 @item directory listings (if no @file{index.gph} was found);
6461 @item CGI support (@file{.cgi} files are executed);
6462 @item search support in CGI files;
6463 @item logging with multiple log levels.
6467 (define-public cat-avatar-generator
6469 (name "cat-avatar-generator")
6474 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
6475 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
6476 (file-name (string-append name "-" version))
6479 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
6480 (build-system trivial-build-system)
6482 `(#:modules ((guix build utils)
6487 (use-modules (guix build utils)
6490 (let ((source (assoc-ref %build-inputs "source"))
6491 (php-dir (string-append %output "/share/web/" ,name "/")))
6492 ;; The cache directory must not be in the store, but in a writable
6493 ;; location. The webserver will give us this location.
6494 (copy-recursively source php-dir)
6495 (substitute* (string-append php-dir "/cat-avatar-generator.php")
6496 (("\\$cachepath = .*")
6497 "if(isset($_SERVER['CACHE_DIR']))
6498 $cachepath = $_SERVER['CACHE_DIR'];
6500 die('You need to set the CACHE_DIR variable first.');"))
6502 (home-page "https://framagit.org/Deevad/cat-avatar-generator")
6503 (synopsis "Random avatar generator")
6504 (description "Cat avatar generator is a generator of cat pictures optimised
6505 to generate random avatars, or defined avatar from a \"seed\". This is a
6506 derivation by David Revoy from the original MonsterID by Andreas Gohr.")
6507 ;; expat for the code, CC-BY 4.0 for the artwork
6508 (license (list l:expat
6511 (define-public nghttp2
6518 (uri (string-append "https://github.com/nghttp2/nghttp2/"
6519 "releases/download/v" version "/"
6520 name "-" version ".tar.xz"))
6523 "00z1687m4wi2gbgkijbv099l9hs1sjlyzbhh8jhn0xssx4xcifb5"))))
6524 (build-system gnu-build-system)
6525 (outputs (list "out"
6526 "lib")) ; only libnghttp2
6528 `(("pkg-config" ,pkg-config)
6530 ;; Required by tests.
6532 ("tzdata" ,tzdata-for-tests)))
6534 ;; Required to build the tools (i.e. without ‘--enable-lib-only’).
6535 `(("c-ares" ,c-ares)
6536 ("jansson" ,jansson) ; for HPACK tools
6537 ("jemalloc" ,jemalloc) ; fight nghttpd{,x} heap fragmentation
6539 ("libxml2" ,libxml2) ; for ‘nghttp -a’
6540 ("openssl" ,openssl)))
6543 (list (string-append "--libdir=" (assoc-ref %outputs "lib") "/lib")
6544 "--enable-app" ; build all the tools
6545 "--enable-hpack-tools" ; ...all the tools
6546 "--disable-examples"
6547 "--disable-static") ; don't bother building .a files
6549 (modify-phases %standard-phases
6550 (add-after 'unpack 'break-circular-reference
6551 ;; libnghttp2.pc by default retains a reference to the ‘out’ output,
6552 ;; which is not allowed. Break this cycle. While we could install
6553 ;; only the library to ‘out’ and move everything else to a separate
6554 ;; output, this would inconvenience the majority of (human) users.
6555 (lambda* (#:key outputs #:allow-other-keys)
6556 (substitute* "lib/libnghttp2.pc.in"
6558 (assoc-ref outputs "lib")))
6560 (add-before 'check 'set-timezone-directory
6561 (lambda* (#:key inputs #:allow-other-keys)
6562 (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
6565 (home-page "https://nghttp2.org/")
6566 (synopsis "HTTP/2 protocol client, proxy, server, and library")
6568 "nghttp2 implements the Hypertext Transfer Protocol, version
6571 A reusable C library provides the HTTP/2 framing layer, with several tools built
6575 @item @command{nghttp}, a command-line HTTP/2 client. It exposes many advanced
6576 and low-level aspects of the protocol and is useful for debugging.
6577 @item @command{nghttpd}, a fast, multi-threaded HTTP/2 static web server that
6578 serves files from a local directory.
6579 @item @command{nghttpx}, a fast, multi-threaded HTTP/2 reverse proxy that can be
6580 deployed in front of existing web servers that don't support HTTP/2.
6581 Both @command{nghttpd} and @command{nghttpx} can fall back to HTTP/1.1 for
6582 backwards compatibilty with clients that don't speak HTTP/2.
6583 @item @command{h2load} for benchmarking (only!) your own HTTP/2 servers.
6584 @item HTTP/2 uses a header compression method called @dfn{HPACK}.
6585 nghttp2 provides a HPACK encoder and decoder as part of its public API.
6586 @item @command{deflatehd} converts JSON data or HTTP/1-style header fields to
6587 compressed JSON header blocks.
6588 @item @command{inflatehd} converts such compressed headers back to JSON pairs.
6592 (define-public hpcguix-web
6593 (let ((commit "87cb51611c0f1fd3863b830614ab1364599cf1ca"))
6595 (name "hpcguix-web")
6596 (version (git-version "0.0.1" "1" commit))
6600 (url "https://github.com/UMCUGenetics/hpcguix-web.git")
6602 (file-name (git-file-name name version))
6605 "0p66fl8r3v73v13fqg9rbqbzbdzvyznchxbq2s1jwq6qfsn2w3gr"))))
6606 (build-system gnu-build-system)
6608 `(#:modules ((guix build gnu-build-system)
6615 (modify-phases %standard-phases
6616 (add-before 'configure 'autoconf
6618 (setenv "GUILE_AUTO_COMPILE" "0")
6619 (setenv "XDG_CACHE_HOME" (getcwd))
6620 (invoke "autoreconf" "-vif")))
6621 (add-after 'install 'wrap-program
6622 (lambda* (#:key inputs outputs #:allow-other-keys)
6623 (let* ((out (assoc-ref outputs "out"))
6624 (guix (assoc-ref inputs "guix"))
6625 (guile (assoc-ref inputs "guile"))
6626 (json (assoc-ref inputs "guile-json"))
6627 (guile-cm (assoc-ref inputs
6628 "guile-commonmark"))
6629 (deps (list guile guile-cm guix json))
6632 (open-pipe* OPEN_READ
6633 (string-append guile "/bin/guile")
6634 "-c" "(display (effective-version))")))
6636 (map (cut string-append <>
6637 "/share/guile/site/"
6641 (gopath (string-join
6642 (map (cut string-append <>
6643 "/lib/guile/" effective
6647 (wrap-program (string-append out "/bin/run")
6648 `("GUILE_LOAD_PATH" ":" prefix (,path))
6649 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
6653 `(("autoconf" ,autoconf)
6654 ("automake" ,automake)
6655 ("uglify-js" ,uglify-js)
6656 ("pkg-config" ,pkg-config)))
6660 `(("guile" ,guile-2.2)
6661 ("guile-commonmark" ,guile-commonmark)
6662 ("guile-json" ,guile-json)))
6663 (home-page "https://github.com/UMCUGenetics/hpcguix-web")
6664 (synopsis "Web interface for cluster deployments of Guix")
6665 (description "Hpcguix-web provides a web interface to the list of packages
6666 provided by Guix. The list of packages is searchable and provides
6667 instructions on how to use Guix in a shared HPC environment.")
6668 (license l:agpl3+))))