gnu: java: Use java-javaee-servletapi instead of java-tomcat.
[jackhill/guix/guix.git] / gnu / packages / web.scm
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>
30 ;;;
31 ;;; This file is part of GNU Guix.
32 ;;;
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.
37 ;;;
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.
42 ;;;
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/>.
45
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))
121
122 (define-public httpd
123 (package
124 (name "httpd")
125 (version "2.4.34")
126 (source (origin
127 (method url-fetch)
128 (uri (string-append "mirror://apache/httpd/httpd-"
129 version ".tar.bz2"))
130 (sha256
131 (base32
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)
137 ("openssl" ,openssl)
138 ("perl" ,perl))) ; needed to run bin/apxs
139 (arguments
140 `(#:test-target "test"
141 #:configure-flags (list "--enable-rewrite"
142 "--enable-userdir"
143 "--enable-vhost-alias"
144 "--enable-ssl"
145 "--enable-mime-magic"
146 (string-append "--sysconfdir="
147 (assoc-ref %outputs "out")
148 "/etc/httpd"))))
149 (synopsis "Featureful HTTP server")
150 (description
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.")
157 (license l:asl2.0)
158 (home-page "https://httpd.apache.org/")))
159
160 (define-public mod-wsgi
161 (package
162 (name "mod-wsgi")
163 (version "4.5.22")
164 (source (origin
165 (method url-fetch)
166 (uri (string-append
167 "https://github.com/GrahamDumpleton/mod_wsgi/archive/"
168 version ".tar.gz"))
169 (file-name (string-append name "-" version ".tar.gz"))
170 (sha256
171 (base32
172 "0n1yhmrfp8mjbsngmyjl937c6rc0069p6wdi1lknrbn1q42hzw6q"))))
173 (build-system gnu-build-system)
174 (arguments
175 '(#:tests? #f ;; TODO: Can't figure out if there are tests
176 #:make-flags (list
177 (string-append "DESTDIR="
178 (assoc-ref %outputs "out"))
179 "LIBEXECDIR=/modules")))
180 (inputs
181 `(("httpd" ,httpd)
182 ("python" ,python-wrapper)))
183 (synopsis "Apache HTTPD module for Python WSGI applications")
184 (description
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.")
188 (license l:asl2.0)
189 (home-page "https://modwsgi.readthedocs.io/")))
190
191 (define-public nginx
192 (package
193 (name "nginx")
194 ;; Consider updating the nginx-documentation package if the nginx package is
195 ;; updated.
196 (version "1.14.0")
197 (source (origin
198 (method url-fetch)
199 (uri (string-append "https://nginx.org/download/nginx-"
200 version ".tar.gz"))
201 (sha256
202 (base32
203 "1d9c0avfpbwvzyg53b59ks8shpnrxnbnshcd7ziizflsyv5vw5ax"))))
204 (build-system gnu-build-system)
205 (inputs `(("openssl" ,openssl)
206 ("pcre" ,pcre)
207 ("zlib" ,zlib)))
208 (arguments
209 `(#:tests? #f ; no test target
210 #:phases
211 (modify-phases %standard-phases
212 (add-before 'configure 'patch-/bin/sh
213 (lambda _
214 (substitute* "auto/feature"
215 (("/bin/sh") (which "sh")))
216 #t))
217 (replace 'configure
218 ;; The configure script is hand-written, not from GNU autotools.
219 (lambda* (#:key outputs #:allow-other-keys)
220 (let ((flags
221 (list (string-append "--prefix=" (assoc-ref outputs "out"))
222 "--with-http_ssl_module"
223 "--with-http_v2_module"
224 "--with-pcre-jit"
225 "--with-debug"
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
231 ;; uname -m
232 (machine (match (or (%current-target-system)
233 (%current-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="
241 (_ "UNSUPPORTED"))))
242 (string-append "--crossbuild="
243 system ":" release ":" machine)))))
244 (setenv "CC" "gcc")
245 (format #t "environment variable `CC' set to `gcc'~%")
246 (format #t "configure flags: ~s~%" flags)
247 (apply invoke "./configure" flags)
248 #t)))
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"))
254 #t)))
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
264 ;; /share.
265 (mkdir-p share)
266 (rename-file (string-append out "/conf")
267 (string-append share "/conf"))
268 (rename-file (string-append out "/html")
269 (string-append share "/html"))
270 #t))))))
271 (home-page "https://nginx.org")
272 (synopsis "HTTP and reverse proxy server")
273 (description
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))))
283
284 (define nginx-xslscript
285 (let ((revision 11)
286 (changeset "01dc9ba12e1b"))
287 (package
288 (name "nginx-xslscript")
289 (version
290 (simple-format #f "2014-03-31-~A-~A" revision changeset))
291 (source (origin
292 (method hg-fetch)
293 (uri (hg-reference
294 (url "http://hg.nginx.org/xslscript")
295 (changeset changeset)))
296 (file-name (string-append name "-" version))
297 (sha256
298 (base32
299 "0am8zvdx3jmiwkg5q07qjaw5r26r4i2v5i4yr8a1k0jgib6ii08g"))))
300 (build-system gnu-build-system)
301 (arguments
302 '(#:tests? #f ; No test suite
303 #:phases
304 (modify-phases %standard-phases
305 (delete 'configure)
306 (delete 'build)
307 (replace 'install
308 (lambda* (#:key outputs #:allow-other-keys)
309 (let ((out-bin (string-append
310 (assoc-ref outputs "out")
311 "/bin")))
312 (mkdir-p out-bin)
313 (copy-file "xslscript.pl"
314 (string-append
315 out-bin
316 "/xslscript.pl"))
317 #t))))))
318 (home-page "http://hg.nginx.org/xslscript")
319 (synopsis "XSLScript with NGinx specific modifications")
320 (description
321 "XSLScript is a terse notation for writing complex XSLT stylesheets.
322 This is modified version, specifically intended for use with the NGinx
323 documentation.")
324 (license l:bsd-2))))
325
326 (define-public nginx-documentation
327 ;; This documentation should be relevant for nginx@1.13.11.
328 (let ((revision 2131)
329 (changeset "dbaf3950f8e9"))
330 (package
331 (name "nginx-documentation")
332 (version
333 (simple-format #f "2018-04-04-~A-~A" revision changeset))
334 (source
335 (origin (method hg-fetch)
336 (uri (hg-reference
337 (url "http://hg.nginx.org/nginx.org")
338 (changeset changeset)))
339 (file-name (string-append name "-" version))
340 (sha256
341 (base32
342 "0acdjsdaqixzh9g9s6db552v4pan4nqrllyqapay9ns9yzh1hrp7"))))
343 (build-system gnu-build-system)
344 (arguments
345 '(#:tests? #f ; no test suite
346 #:phases
347 (modify-phases %standard-phases
348 (delete 'configure) ; no configure script
349 (replace 'build
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
357 ;; banner.
358 (substitute* "xslt/style.xslt"
359 (("#banner \\{ background: black;")
360 "#banner { background: black;
361 display: none;"))
362 (invoke "make")
363 #t)))
364 (replace 'install
365 (lambda* (#:key outputs #:allow-other-keys)
366 (let ((output (assoc-ref outputs "out")))
367 (mkdir-p output)
368 (copy-recursively "libxslt" output)
369 #t))))))
370 (native-inputs
371 `(("libxml2" ,libxml2)
372 ("libxslt" ,libxslt)
373 ("nginx-xslscript" ,nginx-xslscript)))
374 (home-page "https://nginx.org")
375 (synopsis "Documentation for the nginx web server")
376 (description
377 "This package provides HTML documentation for the nginx web server.")
378 (license l:bsd-2))))
379
380 (define-public fcgi
381 (package
382 (name "fcgi")
383 (version "2.4.0")
384 (source
385 (origin
386 (method url-fetch)
387 ;; Upstream has disappeared.
388 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
389 "fcgi-" version ".tar.gz"))
390 (sha256
391 (base32
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
403 APIs.")
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"))))
407
408 (define-public fcgiwrap
409 (package
410 (name "fcgiwrap")
411 (version "1.1.0")
412 (source
413 (origin
414 (method url-fetch)
415 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
416 "archive/" version ".tar.gz"))
417 (file-name (string-append name "-" version ".tar.gz"))
418 (sha256
419 (base32
420 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
421 (build-system gnu-build-system)
422 (arguments
423 `(#:tests? #f ; no tests included
424 #:make-flags (list "CC=gcc")))
425 (native-inputs
426 `(("autoconf" ,autoconf)
427 ("automake" ,automake)
428 ("pkg-config" ,pkg-config)))
429 (inputs
430 `(("fcgi" ,fcgi)))
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).")
436 (license l:expat)))
437
438 (define-public starman
439 (package
440 (name "starman")
441 (version "0.4014")
442 (source
443 (origin
444 (method url-fetch)
445 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
446 "Starman-" version ".tar.gz"))
447 (sha256
448 (base32
449 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
450 (build-system perl-build-system)
451 (native-inputs
452 `(("perl-libwww" ,perl-libwww)
453 ("perl-module-build-tiny" ,perl-module-build-tiny)
454 ("perl-test-requires" ,perl-test-requires)))
455 (propagated-inputs
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)))
469
470 (define-public icedtea-web
471 (package
472 (name "icedtea-web")
473 (version "1.6.2")
474 (source (origin
475 (method url-fetch)
476 (uri (string-append
477 "http://icedtea.wildebeest.org/download/source/"
478 name "-" version ".tar.gz"))
479 (sha256
480 (base32
481 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
482 (build-system gnu-build-system)
483 (arguments
484 `(#:configure-flags
485 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
486 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
487 "/bin/bash")
488 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
489 (outputs '("out" "doc"))
490 (native-inputs
491 `(("pkg-config" ,pkg-config)
492 ("zip" ,zip)))
493 (inputs
494 `(("gtk+" ,gtk+)
495 ("jdk" ,icedtea "jdk")))
496 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
497 (synopsis "Java Web Start")
498 (description
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+
503 ;; or dual licenses.
504 (license l:gpl2+)))
505
506 (define-public jansson
507 (package
508 (name "jansson")
509 (version "2.10")
510 (source (origin
511 (method url-fetch)
512 (uri
513 (string-append "http://www.digip.org/jansson/releases/jansson-"
514 version ".tar.gz"))
515 (sha256
516 (base32
517 "0iv4rxsnamqm3ldpg7dyhjq0x9cp023nc7ac820jdd3pwb8ml8bq"))))
518 (build-system gnu-build-system)
519 (home-page "http://www.digip.org/jansson/")
520 (synopsis "JSON C library")
521 (description
522 "Jansson is a C library for encoding, decoding and manipulating JSON
523 data.")
524 (license l:expat)))
525
526 (define-public json-c
527 (package
528 (name "json-c")
529 (version "0.13.1")
530 (source (origin
531 (method url-fetch)
532 (uri (string-append
533 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
534 version ".tar.gz"))
535 (sha256
536 (base32
537 "0ws8dz9nk8q2c0gbf66kg2r6mrkl7kamd3gpdv9zsyrz9n6n0zmq"))
538 (modules '((guix build utils)))
539 (snippet
540 '(begin
541 ;; Somehow 'config.h.in' is older than
542 ;; 'aclocal.m4', which would trigger a rule to
543 ;; run 'autoheader'.
544 (set-file-time "config.h.in"
545 (stat "aclocal.m4"))
546 #t))))
547 (build-system gnu-build-system)
548 (home-page "https://github.com/json-c/json-c/wiki")
549 (synopsis "JSON implementation in C")
550 (description
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.")
555 (license l:x11)))
556
557 ;; TODO: remove this old version when all dependents have been updated.
558 (define-public json-c-0.12
559 (package
560 (inherit json-c)
561 (version "0.12.1")
562 (source (origin
563 (method url-fetch)
564 (uri (string-append
565 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
566 version ".tar.gz"))
567 (sha256
568 (base32 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
569 (modules '((guix build utils)))
570 (snippet
571 '(begin
572 ;; Somehow 'config.h.in' is older than
573 ;; 'aclocal.m4', which would trigger a rule to
574 ;; run 'autoheader'.
575 (set-file-time "config.h.in"
576 (stat "aclocal.m4"))
577
578 ;; Don't try to build with -Werror.
579 (substitute* (find-files "." "Makefile\\.in")
580 (("-Werror") ""))
581 #t))))))
582
583 (define-public qjson
584 (package
585 (name "qjson")
586 (version "0.9.0")
587 (source (origin
588 (method url-fetch)
589 (uri (string-append
590 "https://github.com/flavio/qjson/archive/"
591 version ".tar.gz"))
592 (file-name (string-append name "-" version ".tar.gz"))
593 (sha256
594 (base32
595 "1m0h4rajj99hv9w4i381a8x81lxiv167lxk10ncvphpkfxs624p8"))))
596 (build-system cmake-build-system)
597 (arguments
598 ;; The tests require a X server
599 `(#:configure-flags '("-DQJSON_BUILD_TESTS=ON"
600 "-DCMAKE_CXX_FLAGS=-std=gnu++11 -fPIC")
601 #:phases
602 (modify-phases %standard-phases
603 (add-after 'unpack 'disable-broken-test
604 (lambda _
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)))
610 #t))
611 (add-before 'check 'render-offscreen
612 (lambda _ (setenv "QT_QPA_PLATFORM" "offscreen") #t)))))
613 (inputs
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)))
622
623 (define-public krona-tools
624 (package
625 (name "krona-tools")
626 (version "2.7")
627 (source (origin
628 (method url-fetch)
629 (uri (string-append
630 "https://github.com/marbl/Krona/releases/download/v"
631 version "/KronaTools-" version ".tar"))
632 (sha256
633 (base32
634 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
635 (build-system perl-build-system)
636 (arguments
637 `(#:phases
638 (modify-phases %standard-phases
639 ;; There is no configure or build steps.
640 (delete 'configure)
641 (delete 'build)
642 ;; Install script "install.pl" expects the build directory to remain
643 ;; after installation, creating symlinks etc., so re-implement it
644 ;; here.
645 (replace 'install
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")))
650 (mkdir-p bin)
651 (for-each
652 (lambda (script)
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))))
656 '("ClassifyBLAST"
657 "GetContigMagnitudes"
658 "GetLCA"
659 "GetTaxIDFromAcc"
660 "GetTaxInfo"
661 "ImportBLAST"
662 "ImportDiskUsage"
663 "ImportEC"
664 "ImportFCP"
665 "ImportGalaxy"
666 "ImportKrona"
667 "ImportMETAREP-BLAST"
668 "ImportMETAREP-EC"
669 "ImportMGRAST"
670 "ImportPhymmBL"
671 "ImportRDP"
672 "ImportRDPComparison"
673 "ImportTaxonomy"
674 "ImportText"
675 "ImportXML"))
676 (for-each
677 (lambda (directory)
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")))
686 (for-each
687 (lambda (executable)
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/") ".*")))))
692 (delete 'check)
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")
697 "ec.tsv")))))))
698 (inputs
699 `(("perl" ,perl)))
700 (home-page "https://github.com/marbl/Krona/wiki")
701 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
702 (description
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.")
708 (license l:bsd-3)))
709
710 (define-public rapidjson
711 (package
712 (name "rapidjson")
713 (version "1.1.0")
714 (source (origin
715 (method url-fetch)
716 (uri (string-append
717 "https://github.com/miloyip/rapidjson/archive/v"
718 version ".tar.gz"))
719 (file-name (string-append name "-" version ".tar.gz"))
720 (sha256
721 (base32
722 "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))
723 (modules '((guix build utils)))
724 (snippet
725 '(begin
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")
729 #t))))
730 (build-system cmake-build-system)
731 (arguments
732 `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
733 (%current-system)))
734 '(#:phases
735 (modify-phases %standard-phases
736 (add-after 'unpack 'patch-aarch-march-detection
737 (lambda _
738 (substitute* (find-files "." "^CMakeLists\\.txt$")
739 (("native") "armv8-a"))
740 #t))))
741 '())))
742 (home-page "https://github.com/miloyip/rapidjson")
743 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
744 (description
745 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
746 style API.")
747 (license l:expat)))
748
749 (define-public libyajl
750 (package
751 (name "libyajl")
752 (version "2.1.0")
753 (source (origin
754 (method url-fetch)
755 (uri (string-append "https://github.com/lloyd/yajl/"
756 "archive/" version ".tar.gz"))
757 (file-name (string-append name "-" version ".tar.gz"))
758 (sha256
759 (base32
760 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
761 (build-system cmake-build-system)
762 (arguments
763 '(#:phases
764 (modify-phases %standard-phases
765 (add-after 'patch-source-shebangs 'patch-tests
766 (lambda _
767 (substitute* "test/parsing/run_tests.sh"
768 (("`which echo`") (which "echo")))
769 #t)))))
770 (home-page "https://lloyd.github.io/yajl/")
771 (synopsis "C library for parsing JSON")
772 (description
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.")
775 (license l:isc)))
776
777 (define-public libwebsockets
778 (package
779 (name "libwebsockets")
780 (version "1.3")
781 (source (origin
782 ;; The project does not publish tarballs, so we have to take
783 ;; things from Git.
784 (method git-fetch)
785 (uri (git-reference
786 (url "https://github.com/warmcat/libwebsockets.git")
787 (commit (string-append "v" version
788 "-chrome37-firefox30"))))
789 (sha256
790 (base32
791 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
792 (file-name (string-append name "-" version))))
793
794 (build-system cmake-build-system)
795 (arguments
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.
798 '(#:tests? #f))
799
800 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
801 (inputs `(("zlib" ,zlib)
802 ("openssl" ,openssl)))
803 (synopsis "WebSockets library written in C")
804 (description
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/")
809
810 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
811 (license l:lgpl2.1)))
812
813 (define-public libpsl
814 (package
815 (name "libpsl")
816 (version "0.20.1")
817 (source (origin
818 (method url-fetch)
819 (uri (string-append "https://github.com/rockdaboot/libpsl/"
820 "releases/download/libpsl-" version
821 "/libpsl-" version ".tar.gz"))
822 (sha256
823 (base32
824 "17r18y25ka2ck2ykfidbg4a7jpyzmkqwrzplgqjp7mwd2l9rc6cm"))))
825 (build-system gnu-build-system)
826 (native-inputs
827 `(("pkg-config" ,pkg-config)))
828 (inputs
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")
834 (description
835 "A \"public suffix\" is a domain name under which Internet users can
836 directly register own names.
837
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
841 by site.
842
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
848 UTS#46.")
849 (license l:x11)))
850
851 (define-public tidy
852 (package
853 (name "tidy")
854 (version "20091223")
855 (source (origin
856 (method cvs-fetch)
857 (uri (cvs-reference
858 (root-directory
859 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
860 (module "tidy")
861 (revision "2009-12-23")))
862 (file-name (string-append name "-" version "-checkout"))
863 (sha256
864 (base32
865 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
866 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
867 (build-system gnu-build-system)
868 (arguments
869 '(#:phases (modify-phases %standard-phases
870 (replace 'bootstrap
871 (lambda* (#:key inputs #:allow-other-keys)
872 ;; configure.in and Makefile.am aren't in the root of the
873 ;; source tree.
874 (copy-recursively "build/gnuauto" ".")
875 (setenv "AUTOMAKE" "automake --foreign")
876 (invoke "autoreconf" "-vfi"))))))
877 (native-inputs
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"))))
886
887 (define-public tinyproxy
888 (package
889 (name "tinyproxy")
890 (version "1.8.4")
891 (source (origin
892 (method url-fetch)
893 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
894 "releases/download/" version "/tinyproxy-"
895 version ".tar.xz"))
896 (sha256
897 (base32
898 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
899 (build-system gnu-build-system)
900 (arguments
901 `(#:configure-flags
902 (list
903 ;; For the log file, etc.
904 "--localstatedir=/var")
905 #:phases
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")
912 #t)))))
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
922 unavailable.")
923 (license l:gpl2+)))
924
925 (define-public polipo
926 (package
927 (name "polipo")
928 (version "1.1.1")
929 (source
930 (origin
931 (method url-fetch)
932 (uri (string-append
933 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
934 version ".tar.gz"))
935 (sha256
936 (base32
937 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
938 (native-inputs `(("texinfo" ,texinfo)))
939 (build-system gnu-build-system)
940 (arguments
941 `(#:phases (modify-phases %standard-phases
942 (delete 'configure))
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")
947 "CC=gcc"))
948 ;; No 'check' target.
949 #:tests? #f))
950 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
951 (synopsis "Small caching web proxy")
952 (description
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
955 of people.")
956 (license l:expat)))
957
958 (define-public websockify
959 (package
960 (name "websockify")
961 (version "0.8.0")
962 (source (origin
963 (method url-fetch)
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"))
967 (sha256
968 (base32
969 "1kjq6gibsvbb6zx5gi8hgh7110x62pbwcqkwapf3k7s27w5y907h"))))
970 (build-system python-build-system)
971 (arguments
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
984 directions.")
985 (license l:lgpl3)))
986
987 (define-public wwwoffle
988 (package
989 (name "wwwoffle")
990 (version "2.9j")
991 (source (origin
992 (method url-fetch)
993 (uri (string-append "https://www.gedanken.org.uk/software/"
994 "wwwoffle/download/wwwoffle-"
995 version ".tgz"))
996 (sha256
997 (base32
998 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
999 (build-system gnu-build-system)
1000 (arguments
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.")
1013 (license l:gpl2+)))
1014
1015 (define-public liboauth
1016 (package
1017 (name "liboauth")
1018 (version "1.0.3")
1019 (source (origin
1020 (method url-fetch)
1021 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
1022 version ".tar.gz"))
1023 (sha256
1024 (base32
1025 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
1026 (build-system gnu-build-system)
1027 (arguments '(#:configure-flags '("--enable-nss")))
1028 (native-inputs `(("pkg-config" ,pkg-config)))
1029 (propagated-inputs
1030 `(("curl" ,curl)
1031 ("nss" ,nss)))
1032 (home-page "https://sourceforge.net/projects/liboauth")
1033 (synopsis "C library implementing the OAuth API")
1034 (description
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
1039 hash/signatures.")
1040 ;; Source code may be distributed under either license.
1041 (license (list l:expat l:gpl2+))))
1042
1043 (define-public libyaml
1044 (package
1045 (name "libyaml")
1046 (version "0.1.7")
1047 (source
1048 (origin
1049 (method url-fetch)
1050 (uri (string-append
1051 "http://pyyaml.org/download/libyaml/yaml-"
1052 version ".tar.gz"))
1053 (sha256
1054 (base32
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")
1059 (description
1060 "LibYAML is a YAML 1.1 parser and emitter written in C.")
1061 (license l:expat)))
1062
1063 (define-public libquvi-scripts
1064 (package
1065 (name "libquvi-scripts")
1066 (version "0.4.21")
1067 (source
1068 (origin
1069 (method url-fetch)
1070 (uri (string-append
1071 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
1072 name "/" name "-" version ".tar.xz"))
1073 (sha256
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+)))
1081
1082 (define-public libquvi
1083 (package
1084 (name "libquvi")
1085 (version "0.4.1")
1086 (source
1087 (origin
1088 (method url-fetch)
1089 (uri (string-append
1090 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
1091 name "-" version ".tar.xz"))
1092 (sha256
1093 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
1094 (build-system gnu-build-system)
1095 (native-inputs `(("pkg-config" ,pkg-config)))
1096 (inputs
1097 `(("curl" ,curl)
1098 ("cyrus-sasl" ,cyrus-sasl)
1099 ("libquvi-scripts" ,libquvi-scripts)
1100 ("lua" ,lua-5.1)
1101 ("openssl" ,openssl)
1102 ("zlib" ,zlib)))
1103 (arguments
1104 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
1105 '(#:configure-flags
1106 (let ((lua (assoc-ref %build-inputs "lua")))
1107 (list
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+)))
1115
1116 (define-public quvi
1117 (package
1118 (name "quvi")
1119 (version "0.4.2")
1120 (source
1121 (origin
1122 (method url-fetch)
1123 (uri (string-append
1124 "mirror://sourceforge/" name "/" (version-major+minor version)
1125 "/" name "/" name "-" version ".tar.xz"))
1126 (sha256
1127 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
1128 (build-system gnu-build-system)
1129 (native-inputs `(("pkg-config" ,pkg-config)))
1130 (inputs
1131 `(("curl" ,curl)
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+)))
1138
1139 (define-public serf
1140 (package
1141 (name "serf")
1142 (version "1.3.9")
1143 (source
1144 (origin
1145 (method url-fetch)
1146 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
1147 version ".tar.bz2"))
1148 (sha256
1149 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
1150 (build-system scons-build-system)
1151 (propagated-inputs
1152 `(("apr" ,apr)
1153 ("apr-util" ,apr-util)
1154 ("openssl" ,openssl)))
1155 (inputs
1156 `(;; TODO: Fix build with gss.
1157 ;;("gss" ,gss)
1158 ("zlib" ,zlib)))
1159 (arguments
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))
1167 #:phases
1168 (modify-phases %standard-phases
1169 (add-after 'unpack 'scons-propagate-environment
1170 (lambda _
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
1180 (lambda _
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
1185 (let ((broken-tests
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")))
1200 (for-each
1201 (lambda (test)
1202 (substitute* "test/test_context.c"
1203 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
1204 broken-tests)
1205 #t))))))
1206 (home-page "https://serf.apache.org/")
1207 (synopsis "High-performance asynchronous HTTP client library")
1208 (description
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")))))
1216
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")
1221 (libsass
1222 (origin
1223 (method url-fetch)
1224 (uri (string-append
1225 "https://github.com/sass/libsass/archive/"
1226 version ".tar.gz"))
1227 (file-name (string-append "libsass-" version ".tar.gz"))
1228 (sha256
1229 (base32
1230 "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x")))))
1231 (package
1232 (name "sassc")
1233 (version version)
1234 (source (origin
1235 (method url-fetch)
1236 (uri (string-append "https://github.com/sass/sassc/archive/"
1237 version ".tar.gz"))
1238 (file-name (string-append "sassc-" version ".tar.gz"))
1239 (sha256
1240 (base32
1241 "1xk4kmmvziz9sal3swpqa10q0s289xjpcz8aggmly8mvxvmngsi9"))))
1242 (build-system gnu-build-system)
1243 (arguments
1244 `(#:make-flags
1245 (list "CC=gcc"
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.
1250 #:tests? #f
1251 #:phases
1252 (modify-phases %standard-phases
1253 (delete 'configure)
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)))))))
1259 (inputs
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))))
1266
1267 \f
1268 (define-public perl-apache-logformat-compiler
1269 (package
1270 (name "perl-apache-logformat-compiler")
1271 (version "0.33")
1272 (source
1273 (origin
1274 (method url-fetch)
1275 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1276 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1277 (sha256
1278 (base32
1279 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
1280 (build-system perl-build-system)
1281 (native-inputs
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)))
1287 (propagated-inputs
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)))
1295
1296 (define-public perl-authen-sasl
1297 (package
1298 (name "perl-authen-sasl")
1299 (version "2.16")
1300 (source
1301 (origin
1302 (method url-fetch)
1303 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1304 "Authen-SASL-" version ".tar.gz"))
1305 (sha256
1306 (base32
1307 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1308 (build-system perl-build-system)
1309 (arguments
1310 '(#:phases
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)))))
1316 (propagated-inputs
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)))
1323
1324 (define-public perl-catalyst-action-renderview
1325 (package
1326 (name "perl-catalyst-action-renderview")
1327 (version "0.16")
1328 (source
1329 (origin
1330 (method url-fetch)
1331 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1332 "Catalyst-Action-RenderView-"
1333 version ".tar.gz"))
1334 (sha256
1335 (base32
1336 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1337 (build-system perl-build-system)
1338 (native-inputs
1339 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1340 ("perl-module-install" ,perl-module-install)))
1341 (propagated-inputs
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)))
1350
1351 (define-public perl-catalyst-action-rest
1352 (package
1353 (name "perl-catalyst-action-rest")
1354 (version "1.20")
1355 (source (origin
1356 (method url-fetch)
1357 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1358 "Catalyst-Action-REST-" version ".tar.gz"))
1359 (sha256
1360 (base32
1361 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
1362 (build-system perl-build-system)
1363 (native-inputs
1364 `(("perl-test-requires" ,perl-test-requires)
1365 ("perl-module-install" ,perl-module-install)))
1366 (propagated-inputs
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
1384 regular method.")
1385 (license l:perl-license)))
1386
1387 (define-public perl-catalyst-authentication-store-dbix-class
1388 (package
1389 (name "perl-catalyst-authentication-store-dbix-class")
1390 (version "0.1506")
1391 (source
1392 (origin
1393 (method url-fetch)
1394 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1395 "Catalyst-Authentication-Store-DBIx-Class-"
1396 version ".tar.gz"))
1397 (sha256
1398 (base32
1399 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1400 (build-system perl-build-system)
1401 (native-inputs
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)))
1409 (propagated-inputs
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)))
1415 (home-page
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
1420 DBIx::Class.")
1421 (license l:perl-license)))
1422
1423 (define-public perl-catalyst-component-instancepercontext
1424 (package
1425 (name "perl-catalyst-component-instancepercontext")
1426 (version "0.001001")
1427 (source
1428 (origin
1429 (method url-fetch)
1430 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1431 "Catalyst-Component-InstancePerContext-"
1432 version ".tar.gz"))
1433 (sha256
1434 (base32
1435 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1436 (build-system perl-build-system)
1437 (native-inputs
1438 `(("perl-module-install" ,perl-module-install)))
1439 (propagated-inputs
1440 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1441 ("perl-moose" ,perl-moose)))
1442 (home-page
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)))
1448
1449 (define-public perl-catalyst-devel
1450 (package
1451 (name "perl-catalyst-devel")
1452 (version "1.39")
1453 (source
1454 (origin
1455 (method url-fetch)
1456 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1457 "Catalyst-Devel-" version ".tar.gz"))
1458 (sha256
1459 (base32
1460 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1461 (build-system perl-build-system)
1462 (native-inputs
1463 `(("perl-test-fatal" ,perl-test-fatal)))
1464 (propagated-inputs
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
1488 modules.")
1489 (license l:perl-license)))
1490
1491 (define-public perl-catalyst-dispatchtype-regex
1492 (package
1493 (name "perl-catalyst-dispatchtype-regex")
1494 (version "5.90035")
1495 (source
1496 (origin
1497 (method url-fetch)
1498 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1499 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1500 (sha256
1501 (base32
1502 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1503 (build-system perl-build-system)
1504 (native-inputs
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)))
1508 (propagated-inputs
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)))
1520
1521 (define-public perl-catalyst-model-dbic-schema
1522 (package
1523 (name "perl-catalyst-model-dbic-schema")
1524 (version "0.65")
1525 (source
1526 (origin
1527 (method url-fetch)
1528 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1529 "Catalyst-Model-DBIC-Schema-"
1530 version ".tar.gz"))
1531 (sha256
1532 (base32
1533 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1534 (build-system perl-build-system)
1535 (native-inputs
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)))
1540 (propagated-inputs
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
1564 Models.")
1565 (license l:perl-license)))
1566
1567 (define-public perl-catalyst-plugin-accesslog
1568 (package
1569 (name "perl-catalyst-plugin-accesslog")
1570 (version "1.10")
1571 (source
1572 (origin
1573 (method url-fetch)
1574 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1575 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1576 (sha256
1577 (base32
1578 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1579 (build-system perl-build-system)
1580 (propagated-inputs
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)))
1591
1592 (define-public perl-catalyst-plugin-authentication
1593 (package
1594 (name "perl-catalyst-plugin-authentication")
1595 (version "0.10023")
1596 (source
1597 (origin
1598 (method url-fetch)
1599 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1600 "Catalyst-Plugin-Authentication-"
1601 version ".tar.gz"))
1602 (sha256
1603 (base32
1604 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1605 (build-system perl-build-system)
1606 (native-inputs
1607 `(("perl-module-install" ,perl-module-install)))
1608 (propagated-inputs
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)))
1627
1628 (define-public perl-catalyst-plugin-authorization-roles
1629 (package
1630 (name "perl-catalyst-plugin-authorization-roles")
1631 (version "0.09")
1632 (source
1633 (origin
1634 (method url-fetch)
1635 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1636 "Catalyst-Plugin-Authorization-Roles-"
1637 version ".tar.gz"))
1638 (sha256
1639 (base32
1640 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1641 (build-system perl-build-system)
1642 (native-inputs
1643 `(("perl-module-install" ,perl-module-install)
1644 ("perl-test-exception" ,perl-test-exception)))
1645 (propagated-inputs
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)))
1651 (home-page
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)))
1657
1658 (define-public perl-catalyst-plugin-captcha
1659 (package
1660 (name "perl-catalyst-plugin-captcha")
1661 (version "0.04")
1662 (source
1663 (origin
1664 (method url-fetch)
1665 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1666 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1667 (sha256
1668 (base32
1669 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1670 (build-system perl-build-system)
1671 (propagated-inputs
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
1679 Catalyst.")
1680 (license l:perl-license)))
1681
1682 (define-public perl-catalyst-plugin-configloader
1683 (package
1684 (name "perl-catalyst-plugin-configloader")
1685 (version "0.34")
1686 (source
1687 (origin
1688 (method url-fetch)
1689 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1690 "Catalyst-Plugin-ConfigLoader-"
1691 version ".tar.gz"))
1692 (sha256
1693 (base32
1694 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1695 (build-system perl-build-system)
1696 (native-inputs
1697 `(("perl-path-class" ,perl-path-class)
1698 ("perl-module-install" ,perl-module-install)))
1699 (propagated-inputs
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
1708 formats.")
1709 (license l:perl-license)))
1710
1711 (define-public perl-catalyst-plugin-session
1712 (package
1713 (name "perl-catalyst-plugin-session")
1714 (version "0.40")
1715 (source
1716 (origin
1717 (method url-fetch)
1718 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1719 "Catalyst-Plugin-Session-" version ".tar.gz"))
1720 (sha256
1721 (base32
1722 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
1723 (build-system perl-build-system)
1724 (native-inputs
1725 `(("perl-module-install" ,perl-module-install)
1726 ("perl-test-deep" ,perl-test-deep)
1727 ("perl-test-exception" ,perl-test-exception)))
1728 (propagated-inputs
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)))
1742
1743 (define-public perl-catalyst-plugin-session-state-cookie
1744 (package
1745 (name "perl-catalyst-plugin-session-state-cookie")
1746 (version "0.17")
1747 (source
1748 (origin
1749 (method url-fetch)
1750 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1751 "Catalyst-Plugin-Session-State-Cookie-"
1752 version ".tar.gz"))
1753 (sha256
1754 (base32
1755 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1756 (build-system perl-build-system)
1757 (native-inputs
1758 `(("perl-module-install" ,perl-module-install)))
1759 (propagated-inputs
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)))
1765 (home-page
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
1771 cookie mechanism.")
1772 (license l:perl-license)))
1773
1774 (define-public perl-catalyst-plugin-session-store-fastmmap
1775 (package
1776 (name "perl-catalyst-plugin-session-store-fastmmap")
1777 (version "0.16")
1778 (source
1779 (origin
1780 (method url-fetch)
1781 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1782 "Catalyst-Plugin-Session-Store-FastMmap-"
1783 version ".tar.gz"))
1784 (sha256
1785 (base32
1786 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1787 (build-system perl-build-system)
1788 (propagated-inputs
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)))
1796 (home-page
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)))
1803
1804 (define-public perl-catalyst-plugin-stacktrace
1805 (package
1806 (name "perl-catalyst-plugin-stacktrace")
1807 (version "0.12")
1808 (source
1809 (origin
1810 (method url-fetch)
1811 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1812 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1813 (sha256
1814 (base32
1815 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1816 (build-system perl-build-system)
1817 (native-inputs
1818 `(("perl-module-install" ,perl-module-install)))
1819 (propagated-inputs
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)))
1830
1831 (define-public perl-catalyst-plugin-static-simple
1832 (package
1833 (name "perl-catalyst-plugin-static-simple")
1834 (version "0.36")
1835 (source
1836 (origin
1837 (method url-fetch)
1838 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1839 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1840 (sha256
1841 (base32
1842 "0m4l627p2fvzr4i6sgdxhdvsx4wpa6qmaibsbxlg5x5yjs7k7drn"))))
1843 (build-system perl-build-system)
1844 (native-inputs
1845 `(("perl-module-install" ,perl-module-install)))
1846 (propagated-inputs
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)))
1862
1863 (define-public perl-catalyst-runtime
1864 (package
1865 (name "perl-catalyst-runtime")
1866 (version "5.90118")
1867 (source
1868 (origin
1869 (method url-fetch)
1870 (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/"
1871 "Catalyst-Runtime-" version ".tar.gz"))
1872 (sha256
1873 (base32
1874 "0cws3szx3vvh0372qdx8fypgv6qphcc3v81rbq30sl1ghby7ksd3"))))
1875 (build-system perl-build-system)
1876 (native-inputs
1877 `(("perl-test-fatal" ,perl-test-fatal)))
1878 (propagated-inputs
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)))
1922
1923 (define-public perl-catalyst-traitfor-request-proxybase
1924 (package
1925 (name "perl-catalyst-traitfor-request-proxybase")
1926 (version "0.000005")
1927 (source
1928 (origin
1929 (method url-fetch)
1930 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1931 "Catalyst-TraitFor-Request-ProxyBase-"
1932 version ".tar.gz"))
1933 (sha256
1934 (base32
1935 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1936 (build-system perl-build-system)
1937 (native-inputs
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)))
1942 (propagated-inputs
1943 `(("perl-moose" ,perl-moose)
1944 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1945 ("perl-uri" ,perl-uri)))
1946 (home-page
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)))
1954
1955 (define-public perl-catalyst-view-download
1956 (package
1957 (name "perl-catalyst-view-download")
1958 (version "0.09")
1959 (source
1960 (origin
1961 (method url-fetch)
1962 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1963 "Catalyst-View-Download-" version ".tar.gz"))
1964 (sha256
1965 (base32
1966 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1967 (build-system perl-build-system)
1968 (native-inputs
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)))
1981
1982 (define-public perl-catalyst-view-json
1983 (package
1984 (name "perl-catalyst-view-json")
1985 (version "0.36")
1986 (source
1987 (origin
1988 (method url-fetch)
1989 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1990 "Catalyst-View-JSON-" version ".tar.gz"))
1991 (sha256
1992 (base32
1993 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
1994 (build-system perl-build-system)
1995 (native-inputs
1996 `(("perl-module-install" ,perl-module-install)
1997 ("perl-yaml" ,perl-yaml)))
1998 (inputs
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)))
2007
2008 (define-public perl-catalyst-view-tt
2009 (package
2010 (name "perl-catalyst-view-tt")
2011 (version "0.44")
2012 (source
2013 (origin
2014 (method url-fetch)
2015 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2016 "Catalyst-View-TT-" version ".tar.gz"))
2017 (sha256
2018 (base32
2019 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
2020 (build-system perl-build-system)
2021 (propagated-inputs
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
2032 Toolkit.")
2033 (license l:perl-license)))
2034
2035 (define-public perl-catalystx-component-traits
2036 (package
2037 (name "perl-catalystx-component-traits")
2038 (version "0.19")
2039 (source
2040 (origin
2041 (method url-fetch)
2042 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
2043 "CatalystX-Component-Traits-" version ".tar.gz"))
2044 (sha256
2045 (base32
2046 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
2047 (build-system perl-build-system)
2048 (native-inputs
2049 `(("perl-moose" ,perl-moose)
2050 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
2051 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
2052 (propagated-inputs
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)))
2067
2068 (define-public perl-catalystx-roleapplicator
2069 (package
2070 (name "perl-catalystx-roleapplicator")
2071 (version "0.005")
2072 (source
2073 (origin
2074 (method url-fetch)
2075 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
2076 "CatalystX-RoleApplicator-" version ".tar.gz"))
2077 (sha256
2078 (base32
2079 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
2080 (build-system perl-build-system)
2081 (propagated-inputs
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)))
2090
2091 (define-public perl-catalystx-script-server-starman
2092 (package
2093 (name "perl-catalystx-script-server-starman")
2094 (version "0.03")
2095 (source
2096 (origin
2097 (method url-fetch)
2098 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
2099 "CatalystX-Script-Server-Starman-"
2100 version ".tar.gz"))
2101 (sha256
2102 (base32
2103 "08jvibq4v8xjj0c3cr93h0w8w0c88ajwjn37xjy7ygxl9krlffp6"))))
2104 (build-system perl-build-system)
2105 (native-inputs
2106 `(("perl-module-install" ,perl-module-install)
2107 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
2108 (propagated-inputs
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)))
2118
2119 (define-public perl-cgi
2120 (package
2121 (name "perl-cgi")
2122 (version "4.38")
2123 (source
2124 (origin
2125 (method url-fetch)
2126 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
2127 "CGI-" version ".tar.gz"))
2128 (sha256
2129 (base32
2130 "1m779315rzj4mpgscw209a2wk18iwg2n8zibn8aak4mv56jz8n4c"))))
2131 (build-system perl-build-system)
2132 (native-inputs
2133 `(("perl-test-deep" ,perl-test-deep)
2134 ("perl-test-nowarnings" ,perl-test-nowarnings)
2135 ("perl-test-warn" ,perl-test-warn)))
2136 (propagated-inputs
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
2144 headers.")
2145 (license l:perl-license)))
2146
2147 (define-public perl-cgi-formbuilder
2148 (package
2149 (name "perl-cgi-formbuilder")
2150 (version "3.10")
2151 (source
2152 (origin
2153 (method url-fetch)
2154 (uri (string-append
2155 "https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/"
2156 "CGI-FormBuilder-" version ".tar.gz"))
2157 (sha256
2158 (base32
2159 "163ixq9kninqq094z2rnkg9pv3bcmvjphlww4vksfrzhq3h9pjdf"))))
2160 (build-system perl-build-system)
2161 (inputs `(("perl-cgi" ,perl-cgi)))
2162 (home-page
2163 "https://metacpan.org/release/CGI-FormBuilder")
2164 (synopsis
2165 "Generate and process stateful forms")
2166 (description
2167 "@code{CGI::FormBuilder} provides an easy way to generate and process CGI
2168 form-based applications.")
2169 (license l:perl-license)))
2170
2171 (define-public perl-cgi-session
2172 (package
2173 (name "perl-cgi-session")
2174 (version "4.48")
2175 (source
2176 (origin
2177 (method url-fetch)
2178 (uri (string-append
2179 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
2180 version
2181 ".tar.gz"))
2182 (sha256
2183 (base32
2184 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
2185 (build-system perl-build-system)
2186 (native-inputs
2187 `(("perl-module-build" ,perl-module-build)))
2188 (inputs `(("perl-cgi" ,perl-cgi)))
2189 (home-page
2190 "http://search.cpan.org/dist/CGI-Session")
2191 (synopsis
2192 "Persistent session data in CGI applications")
2193 (description
2194 "@code{CGI::Session} provides modular session management system across
2195 HTTP requests.")
2196 (license l:perl-license)))
2197
2198 (define-public perl-cgi-simple
2199 (package
2200 (name "perl-cgi-simple")
2201 (version "1.15")
2202 (source
2203 (origin
2204 (method url-fetch)
2205 (uri (string-append "mirror://cpan/authors/id/M/MA/MANWAR/"
2206 "CGI-Simple-" version ".tar.gz"))
2207 (sha256
2208 (base32
2209 "013dcy9k4sj9alkksk5aqz65ryxw0rxgg71c7w666y941gd8n46q"))))
2210 (build-system perl-build-system)
2211 (native-inputs
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)))
2222
2223 (define-public perl-cgi-struct
2224 (package
2225 (name "perl-cgi-struct")
2226 (version "1.21")
2227 (source
2228 (origin
2229 (method url-fetch)
2230 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
2231 "CGI-Struct-" version ".tar.gz"))
2232 (sha256
2233 (base32
2234 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
2235 (build-system perl-build-system)
2236 (native-inputs
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.")
2242 (license l:bsd-2)))
2243
2244 (define-public perl-datetime-format-http
2245 (package
2246 (name "perl-datetime-format-http")
2247 (version "0.42")
2248 (source
2249 (origin
2250 (method url-fetch)
2251 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
2252 "DateTime-Format-HTTP-" version ".tar.gz"))
2253 (sha256
2254 (base32
2255 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2256 (build-system perl-build-system)
2257 (native-inputs
2258 `(("perl-module-build" ,perl-module-build)))
2259 (propagated-inputs
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)))
2267
2268 (define-public perl-digest-md5-file
2269 (package
2270 (name "perl-digest-md5-file")
2271 (version "0.08")
2272 (source
2273 (origin
2274 (method url-fetch)
2275 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2276 "Digest-MD5-File-" version ".tar.gz"))
2277 (sha256
2278 (base32
2279 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2280 (build-system perl-build-system)
2281 (propagated-inputs
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)))
2288
2289 (define-public perl-encode-locale
2290 (package
2291 (name "perl-encode-locale")
2292 (version "1.05")
2293 (source (origin
2294 (method url-fetch)
2295 (uri (string-append
2296 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2297 version ".tar.gz"))
2298 (sha256
2299 (base32
2300 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2301 (build-system perl-build-system)
2302 (license l:perl-license)
2303 (synopsis "Perl locale encoding determination")
2304 (description
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/")))
2314
2315 (define-public perl-feed-find
2316 (package
2317 (name "perl-feed-find")
2318 (version "0.07")
2319 (source (origin
2320 (method url-fetch)
2321 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2322 "Feed-Find-" version ".tar.gz"))
2323 (sha256
2324 (base32
2325 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2326 (build-system perl-build-system)
2327 (arguments
2328 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2329 `(#:tests? #f
2330 #:phases
2331 (modify-phases %standard-phases
2332 (add-after 'unpack 'set-env
2333 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2334 (inputs
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)))
2345
2346 (define-public perl-file-listing
2347 (package
2348 (name "perl-file-listing")
2349 (version "6.04")
2350 (source (origin
2351 (method url-fetch)
2352 (uri (string-append
2353 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2354 version ".tar.gz"))
2355 (sha256
2356 (base32
2357 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2358 (build-system perl-build-system)
2359 (propagated-inputs
2360 `(("perl-http-date" ,perl-http-date)))
2361 (license l:perl-license)
2362 (synopsis "Perl directory listing parser")
2363 (description
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/")))
2367
2368 (define-public perl-finance-quote
2369 (package
2370 (name "perl-finance-quote")
2371 (version "1.38")
2372 (source
2373 (origin
2374 (method url-fetch)
2375 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2376 "Finance-Quote-" version ".tar.gz"))
2377 (sha256
2378 (base32
2379 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
2380 (patches (search-patches
2381 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2382 (build-system perl-build-system)
2383 (propagated-inputs
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")
2397 (description
2398 "Finance::Quote gets stock quotes from various internet sources, including
2399 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2400 (license l:gpl2)))
2401
2402 (define-public perl-gssapi
2403 (package
2404 (name "perl-gssapi")
2405 (version "0.28")
2406 (source
2407 (origin
2408 (method url-fetch)
2409 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2410 "GSSAPI-" version ".tar.gz"))
2411 (sha256
2412 (base32
2413 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2414 (build-system perl-build-system)
2415 (inputs `(("gssapi" ,mit-krb5)))
2416 (arguments
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)))
2424
2425 (define-public perl-html-element-extended
2426 (package
2427 (name "perl-html-element-extended")
2428 (version "1.18")
2429 (source
2430 (origin
2431 (method url-fetch)
2432 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2433 "HTML-Element-Extended-" version ".tar.gz"))
2434 (sha256
2435 (base32
2436 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2437 (build-system perl-build-system)
2438 (propagated-inputs
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")
2442 (description
2443 "HTML::Element::Extended is a Perl extension for manipulating a table
2444 composed of HTML::Element style components.")
2445 (license l:perl-license)))
2446
2447 (define-public perl-html-form
2448 (package
2449 (name "perl-html-form")
2450 (version "6.03")
2451 (source
2452 (origin
2453 (method url-fetch)
2454 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2455 "HTML-Form-" version ".tar.gz"))
2456 (sha256
2457 (base32
2458 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2459 (build-system perl-build-system)
2460 (propagated-inputs
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)))
2471
2472 (define-public perl-html-scrubber
2473 (package
2474 (name "perl-html-scrubber")
2475 (version "0.17")
2476 (source
2477 (origin
2478 (method url-fetch)
2479 (uri (string-append
2480 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2481 version
2482 ".tar.gz"))
2483 (sha256
2484 (base32
2485 "06p7w4zd42b2yh541mlzyqj40lwmvvn3fyqi8big4mf34la7m2jm"))))
2486 (build-system perl-build-system)
2487 (native-inputs
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)))
2494 (inputs
2495 `(("perl-html-parser" ,perl-html-parser)))
2496 (home-page
2497 "http://search.cpan.org/dist/HTML-Scrubber")
2498 (synopsis
2499 "Perl extension for scrubbing/sanitizing html")
2500 (description
2501 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2502 (license l:perl-license)))
2503
2504 (define-public perl-html-lint
2505 (package
2506 (name "perl-html-lint")
2507 (version "2.26")
2508 (source
2509 (origin
2510 (method url-fetch)
2511 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2512 "HTML-Lint-" version ".tar.gz"))
2513 (sha256
2514 (base32
2515 "02vi1s4sw3hjnndxd6s91cp54iw5pg8n5kl9v0109dfxzn1n9bnl"))))
2516 (build-system perl-build-system)
2517 (propagated-inputs
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)))
2526
2527 (define-public perl-html-tableextract
2528 (package
2529 (name "perl-html-tableextract")
2530 (version "2.13")
2531 (source
2532 (origin
2533 (method url-fetch)
2534 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2535 "HTML-TableExtract-" version ".tar.gz"))
2536 (sha256
2537 (base32
2538 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2539 (build-system perl-build-system)
2540 (propagated-inputs
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")
2545 (description
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)))
2549
2550 (define-public perl-html-tree
2551 (package
2552 (name "perl-html-tree")
2553 (version "5.07")
2554 (source
2555 (origin
2556 (method url-fetch)
2557 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2558 "HTML-Tree-" version ".tar.gz"))
2559 (sha256
2560 (base32
2561 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
2562 (build-system perl-build-system)
2563 (native-inputs
2564 `(("perl-module-build" ,perl-module-build)
2565 ("perl-test-fatal" ,perl-test-fatal)))
2566 (propagated-inputs
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)))
2575
2576 (define-public perl-html-parser
2577 (package
2578 (name "perl-html-parser")
2579 (version "3.72")
2580 (source (origin
2581 (method url-fetch)
2582 (uri (string-append
2583 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2584 version ".tar.gz"))
2585 (sha256
2586 (base32
2587 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2588 (build-system perl-build-system)
2589 (inputs
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")
2594 (description
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
2598 are invoked.")
2599 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2600
2601 (define-public perl-html-tagset
2602 (package
2603 (name "perl-html-tagset")
2604 (version "3.20")
2605 (source (origin
2606 (method url-fetch)
2607 (uri (string-append
2608 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2609 version ".tar.gz"))
2610 (sha256
2611 (base32
2612 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2613 (build-system perl-build-system)
2614 (license l:perl-license)
2615 (synopsis "Perl data tables useful in parsing HTML")
2616 (description
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/")))
2620
2621 (define-public perl-html-template
2622 (package
2623 (name "perl-html-template")
2624 (version "2.97")
2625 (source (origin
2626 (method url-fetch)
2627 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2628 "HTML-Template-" version ".tar.gz"))
2629 (sha256
2630 (base32
2631 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2632 (build-system perl-build-system)
2633 (propagated-inputs
2634 `(("perl-cgi" ,perl-cgi)))
2635 (home-page "http://search.cpan.org/dist/HTML-Template")
2636 (synopsis "HTML-like templates")
2637 (description
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)))
2646
2647 (define-public perl-http-body
2648 (package
2649 (name "perl-http-body")
2650 (version "1.22")
2651 (source
2652 (origin
2653 (method url-fetch)
2654 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2655 "HTTP-Body-" version ".tar.gz"))
2656 (sha256
2657 (base32
2658 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2659 (build-system perl-build-system)
2660 (native-inputs
2661 `(("perl-test-deep" ,perl-test-deep)))
2662 (propagated-inputs
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)))
2671
2672 (define-public perl-http-cookiejar
2673 (package
2674 (name "perl-http-cookiejar")
2675 (version "0.008")
2676 (source
2677 (origin
2678 (method url-fetch)
2679 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2680 "HTTP-CookieJar-" version ".tar.gz"))
2681 (sha256
2682 (base32
2683 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2684 (build-system perl-build-system)
2685 (native-inputs
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)))
2690 (inputs
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)))
2698
2699 (define-public perl-http-cookies
2700 (package
2701 (name "perl-http-cookies")
2702 (version "6.04")
2703 (source (origin
2704 (method url-fetch)
2705 (uri (string-append
2706 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Cookies-"
2707 version ".tar.gz"))
2708 (sha256
2709 (base32
2710 "1m0kxcirbvbkrm2c59p1bkbvzlcdymg8fdpa7wlxijlx0xwz1iqc"))))
2711 (build-system perl-build-system)
2712 (propagated-inputs
2713 `(("perl-http-message" ,perl-http-message)))
2714 (license l:perl-license)
2715 (synopsis "Perl HTTP cookie jars")
2716 (description
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/")))
2721
2722 (define-public perl-http-daemon
2723 (package
2724 (name "perl-http-daemon")
2725 (version "6.01")
2726 (source (origin
2727 (method url-fetch)
2728 (uri (string-append
2729 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2730 version ".tar.gz"))
2731 (sha256
2732 (base32
2733 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2734 (build-system perl-build-system)
2735 (propagated-inputs
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")
2740 (description
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/")))
2745
2746 (define-public perl-http-date
2747 (package
2748 (name "perl-http-date")
2749 (version "6.02")
2750 (source (origin
2751 (method url-fetch)
2752 (uri (string-append
2753 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2754 version ".tar.gz"))
2755 (sha256
2756 (base32
2757 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2758 (build-system perl-build-system)
2759 (license l:perl-license)
2760 (synopsis "Perl date conversion routines")
2761 (description
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/")))
2765
2766 (define-public perl-http-message
2767 (package
2768 (name "perl-http-message")
2769 (version "6.15")
2770 (source (origin
2771 (method url-fetch)
2772 (uri (string-append
2773 "mirror://cpan/authors/id/O/OA/OALDERS/HTTP-Message-"
2774 version ".tar.gz"))
2775 (sha256
2776 (base32
2777 "11fbvisyvi6bw8z9iq9fm9mraf69qyds09fblhl9gyvg7ccll93v"))))
2778 (build-system perl-build-system)
2779 (native-inputs
2780 `(("perl-try-tiny" ,perl-try-tiny)))
2781 (propagated-inputs
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")
2789 (description
2790 "An HTTP::Message object contains some headers and a content body.")
2791 (home-page "http://search.cpan.org/~ether/HTTP-Message/")))
2792
2793 (define-public perl-http-negotiate
2794 (package
2795 (name "perl-http-negotiate")
2796 (version "6.01")
2797 (source (origin
2798 (method url-fetch)
2799 (uri (string-append
2800 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2801 version ".tar.gz"))
2802 (sha256
2803 (base32
2804 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2805 (build-system perl-build-system)
2806 (propagated-inputs
2807 `(("perl-http-message" ,perl-http-message)))
2808 (license l:perl-license)
2809 (synopsis "Perl http content negotiation")
2810 (description
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/")))
2818
2819 (define-public perl-http-parser
2820 (package
2821 (name "perl-http-parser")
2822 (version "0.06")
2823 (source
2824 (origin
2825 (method url-fetch)
2826 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2827 "HTTP-Parser-" version ".tar.gz"))
2828 (sha256
2829 (base32
2830 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2831 (build-system perl-build-system)
2832 (propagated-inputs
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
2840 supported.")
2841 (license l:perl-license)))
2842
2843 (define-public perl-http-parser-xs
2844 (package
2845 (name "perl-http-parser-xs")
2846 (version "0.17")
2847 (source
2848 (origin
2849 (method url-fetch)
2850 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2851 "HTTP-Parser-XS-" version ".tar.gz"))
2852 (sha256
2853 (base32
2854 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2855 (build-system perl-build-system)
2856 (native-inputs
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
2861 parser.")
2862 (license l:perl-license)))
2863
2864 (define-public perl-http-request-ascgi
2865 (package
2866 (name "perl-http-request-ascgi")
2867 (version "1.2")
2868 (source
2869 (origin
2870 (method url-fetch)
2871 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2872 "HTTP-Request-AsCGI-" version ".tar.gz"))
2873 (sha256
2874 (base32
2875 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2876 (build-system perl-build-system)
2877 (propagated-inputs
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)))
2885
2886 (define-public perl-http-server-simple
2887 (package
2888 (name "perl-http-server-simple")
2889 (version "0.52")
2890 (source
2891 (origin
2892 (method url-fetch)
2893 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
2894 "HTTP-Server-Simple-" version ".tar.gz"))
2895 (sha256
2896 (base32
2897 "0k6bg7k6mjixfzxdkkdrhqvaqmdhjszx0zsk8g0bimiby6j9z4yq"))))
2898 (build-system perl-build-system)
2899 (propagated-inputs
2900 `(("perl-cgi" ,perl-cgi)))
2901 (arguments
2902 ;; See the discussion of a related tests issue at
2903 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2904 `(#:tests? #f
2905
2906 #:phases (modify-phases %standard-phases
2907 (add-before 'configure 'set-search-path
2908 (lambda _
2909 ;; Work around "dotless @INC" build failure.
2910 (setenv "PERL5LIB"
2911 (string-append (getcwd) ":"
2912 (getenv "PERL5LIB")))
2913 #t)))))
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)))
2920
2921 (define-public perl-http-tiny
2922 (package
2923 (name "perl-http-tiny")
2924 (version "0.070")
2925 (source
2926 (origin
2927 (method url-fetch)
2928 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2929 "HTTP-Tiny-" version ".tar.gz"))
2930 (sha256
2931 (base32
2932 "0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
2933 (build-system perl-build-system)
2934 (inputs
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)))
2946
2947 (define-public perl-io-html
2948 (package
2949 (name "perl-io-html")
2950 (version "1.00")
2951 (source (origin
2952 (method url-fetch)
2953 (uri (string-append
2954 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2955 version ".tar.gz"))
2956 (sha256
2957 (base32
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")
2962 (description
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/")))
2967
2968 (define-public perl-io-socket-ip
2969 (package
2970 (name "perl-io-socket-ip")
2971 (version "0.39")
2972 (source
2973 (origin
2974 (method url-fetch)
2975 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2976 "IO-Socket-IP-" version ".tar.gz"))
2977 (sha256
2978 (base32
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)))
2987
2988 (define-public perl-io-socket-ssl
2989 (package
2990 (name "perl-io-socket-ssl")
2991 (version "2.038")
2992 (source (origin
2993 (method url-fetch)
2994 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2995 "IO-Socket-SSL-" version ".tar.gz"))
2996 (sha256
2997 (base32
2998 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2999 (patches (search-patches
3000 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
3001 (build-system perl-build-system)
3002 (propagated-inputs
3003 `(("perl-net-ssleay" ,perl-net-ssleay)
3004 ;; for IDN support
3005 ("perl-uri" ,perl-uri)))
3006 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
3007 (description
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
3012 select or poll.")
3013 (license l:perl-license)
3014 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
3015
3016 (define-public perl-libwww
3017 (package
3018 (name "perl-libwww")
3019 (version "6.15")
3020 (source (origin
3021 (method url-fetch)
3022 (uri (string-append
3023 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
3024 version ".tar.gz"))
3025 (sha256
3026 (base32
3027 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
3028 (build-system perl-build-system)
3029 (propagated-inputs
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")
3043 (description
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/")))
3051
3052 (define-public perl-lwp-online
3053 (package
3054 (name "perl-lwp-online")
3055 (version "1.08")
3056 (source
3057 (origin
3058 (method url-fetch)
3059 (uri (string-append
3060 "mirror://cpan/authors/id/A/AD/ADAMK/LWP-Online-"
3061 version ".tar.gz"))
3062 (sha256
3063 (base32
3064 "176f6vbk1018i0y7xj9d406ndbjgwzan2j9nihxnsahzg2vr2vz2"))))
3065 (build-system perl-build-system)
3066 (propagated-inputs
3067 `(("perl-libwww" ,perl-libwww)
3068 ("perl-uri" ,perl-uri)))
3069 (native-inputs
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?
3075
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)))
3080
3081 (define-public perl-lwp-mediatypes
3082 (package
3083 (name "perl-lwp-mediatypes")
3084 (version "6.02")
3085 (source (origin
3086 (method url-fetch)
3087 (uri (string-append
3088 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
3089 version ".tar.gz"))
3090 (sha256
3091 (base32
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")
3096 (description
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/")))
3102
3103 (define-public perl-lwp-protocol-https
3104 (package
3105 (name "perl-lwp-protocol-https")
3106 (version "6.07")
3107 (source
3108 (origin
3109 (method url-fetch)
3110 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3111 "LWP-Protocol-https-" version ".tar.gz"))
3112 (sha256
3113 (base32
3114 "1rxrpwylfw1afah0nk96kgkwjbl2p1a7lwx50iipg8c4rx3cjb2j"))))
3115 (build-system perl-build-system)
3116 (native-inputs
3117 ;; For tests.
3118 `(("perl-test-requiresinternet" ,perl-test-requiresinternet)))
3119 (propagated-inputs
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)))
3130
3131 (define-public perl-lwp-useragent-determined
3132 (package
3133 (name "perl-lwp-useragent-determined")
3134 (version "1.07")
3135 (source
3136 (origin
3137 (method url-fetch)
3138 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
3139 "LWP-UserAgent-Determined-" version ".tar.gz"))
3140 (sha256
3141 (base32
3142 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
3143 (build-system perl-build-system)
3144 (propagated-inputs
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)))
3153
3154 (define-public perl-net-amazon-s3
3155 (package
3156 (name "perl-net-amazon-s3")
3157 (version "0.60")
3158 (source
3159 (origin
3160 (method url-fetch)
3161 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
3162 "Net-Amazon-S3-" version ".tar.gz"))
3163 (sha256
3164 (base32
3165 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
3166 (patches (search-patches
3167 "perl-net-amazon-s3-moose-warning.patch"))))
3168 (build-system perl-build-system)
3169 (native-inputs
3170 `(("perl-libwww" ,perl-libwww)
3171 ("perl-test-exception" ,perl-test-exception)))
3172 (propagated-inputs
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)))
3196
3197 (define-public perl-net-http
3198 (package
3199 (name "perl-net-http")
3200 (version "6.18")
3201 (source (origin
3202 (method url-fetch)
3203 (uri (string-append
3204 "mirror://cpan/authors/id/O/OA/OALDERS/"
3205 "Net-HTTP-" version ".tar.gz"))
3206 (sha256
3207 (base32
3208 "074mp9s37q1j290xa3qj1wwgalzla328i2zpnh73xkmdnwnxyhky"))))
3209 (build-system perl-build-system)
3210 (propagated-inputs
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)")
3215 (description
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
3219 HTTP/1.1.")
3220 (home-page "http://search.cpan.org/dist/Net-HTTP")))
3221
3222 (define-public perl-net-server
3223 (package
3224 (name "perl-net-server")
3225 (version "2.009")
3226 (source
3227 (origin
3228 (method url-fetch)
3229 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
3230 "Net-Server-" version ".tar.gz"))
3231 (sha256
3232 (base32
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)))
3248
3249 (define-public perl-net-smtp-ssl
3250 (package
3251 (name "perl-net-smtp-ssl")
3252 (version "1.04")
3253 (source
3254 (origin
3255 (method url-fetch)
3256 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
3257 "Net-SMTP-SSL-" version ".tar.gz"))
3258 (sha256
3259 (base32
3260 "001a6dcfahf7kkyirqkc8jd4fh4fkal7n7vm9c4dblqrvmdc8abv"))))
3261 (build-system perl-build-system)
3262 (propagated-inputs
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)))
3268
3269 (define-public perl-plack
3270 (package
3271 (name "perl-plack")
3272 (version "1.0033")
3273 (source
3274 (origin
3275 (method url-fetch)
3276 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3277 "Plack-" version ".tar.gz"))
3278 (sha256
3279 (base32
3280 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
3281 (build-system perl-build-system)
3282 (native-inputs
3283 `(("perl-test-requires" ,perl-test-requires)
3284 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
3285 (propagated-inputs
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
3304 WSGI.")
3305 (license l:perl-license)))
3306
3307 (define-public perl-plack-middleware-fixmissingbodyinredirect
3308 (package
3309 (name "perl-plack-middleware-fixmissingbodyinredirect")
3310 (version "0.12")
3311 (source
3312 (origin
3313 (method url-fetch)
3314 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3315 "Plack-Middleware-FixMissingBodyInRedirect-"
3316 version ".tar.gz"))
3317 (sha256
3318 (base32
3319 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3320 (build-system perl-build-system)
3321 (native-inputs
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
3325 (home-page
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
3329 already set.")
3330 (license l:perl-license)))
3331
3332 (define-public perl-plack-middleware-methodoverride
3333 (package
3334 (name "perl-plack-middleware-methodoverride")
3335 (version "0.11")
3336 (source
3337 (origin
3338 (method url-fetch)
3339 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
3340 "Plack-Middleware-MethodOverride-"
3341 version ".tar.gz"))
3342 (sha256
3343 (base32
3344 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
3345 (build-system perl-build-system)
3346 (native-inputs
3347 `(("perl-module-build" ,perl-module-build)))
3348 (propagated-inputs
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)))
3357
3358 (define-public perl-plack-middleware-removeredundantbody
3359 (package
3360 (name "perl-plack-middleware-removeredundantbody")
3361 (version "0.05")
3362 (source
3363 (origin
3364 (method url-fetch)
3365 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3366 "Plack-Middleware-RemoveRedundantBody-"
3367 version ".tar.gz"))
3368 (sha256
3369 (base32
3370 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
3371 (build-system perl-build-system)
3372 (propagated-inputs
3373 `(("perl-plack" ,perl-plack)))
3374 (home-page
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
3378 required.")
3379 (license l:perl-license)))
3380
3381 (define-public perl-plack-middleware-reverseproxy
3382 (package
3383 (name "perl-plack-middleware-reverseproxy")
3384 (version "0.15")
3385 (source
3386 (origin
3387 (method url-fetch)
3388 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3389 "Plack-Middleware-ReverseProxy-"
3390 version ".tar.gz"))
3391 (sha256
3392 (base32
3393 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
3394 (build-system perl-build-system)
3395 (native-inputs
3396 `(("perl-module-install" ,perl-module-install)))
3397 (propagated-inputs
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)))
3405
3406 (define-public perl-plack-test-externalserver
3407 (package
3408 (name "perl-plack-test-externalserver")
3409 (version "0.01")
3410 (source
3411 (origin
3412 (method url-fetch)
3413 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3414 "Plack-Test-ExternalServer-" version ".tar.gz"))
3415 (sha256
3416 (base32
3417 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
3418 (build-system perl-build-system)
3419 (propagated-inputs
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)))
3427
3428 (define-public perl-test-tcp
3429 (package
3430 (name "perl-test-tcp")
3431 (version "2.06")
3432 (source
3433 (origin
3434 (method url-fetch)
3435 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3436 "Test-TCP-" version ".tar.gz"))
3437 (sha256
3438 (base32
3439 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
3440 (build-system perl-build-system)
3441 (propagated-inputs
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)))
3448
3449 (define-public perl-test-www-mechanize
3450 (package
3451 (name "perl-test-www-mechanize")
3452 (version "1.50")
3453 (source
3454 (origin
3455 (method url-fetch)
3456 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3457 "Test-WWW-Mechanize-" version ".tar.gz"))
3458 (sha256
3459 (base32
3460 "097pl87vdbxbb56vawzvs6ikrlb8nz3dx223kjjbdn3jlli3jjhg"))))
3461 (build-system perl-build-system)
3462 (propagated-inputs
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)))
3475
3476 (define-public perl-test-www-mechanize-catalyst
3477 (package
3478 (name "perl-test-www-mechanize-catalyst")
3479 (version "0.60")
3480 (source
3481 (origin
3482 (method url-fetch)
3483 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
3484 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3485 (sha256
3486 (base32
3487 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
3488 (build-system perl-build-system)
3489 (native-inputs
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)))
3497 (propagated-inputs
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)))
3511
3512 (define-public perl-test-www-mechanize-psgi
3513 (package
3514 (name "perl-test-www-mechanize-psgi")
3515 (version "0.38")
3516 (source
3517 (origin
3518 (method url-fetch)
3519 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3520 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3521 (sha256
3522 (base32
3523 "0fsh2i05kf1kfavv2r9kmnjl7qlyqrd11ikc0qcqzzxsqzzjkg9r"))))
3524 (build-system perl-build-system)
3525 (native-inputs
3526 `(("perl-test-pod" ,perl-test-pod)))
3527 (propagated-inputs
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
3536 applications.")
3537 (license l:perl-license)))
3538
3539 (define-public perl-uri
3540 (package
3541 (name "perl-uri")
3542 (version "1.73")
3543 (source (origin
3544 (method url-fetch)
3545 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3546 "URI-" version ".tar.gz"))
3547 (sha256
3548 (base32
3549 "04z4xwiryrbxxi48bwbkgq9q9pwfgqry3wp0ramcrwv3dx5ap9yc"))))
3550 (build-system perl-build-system)
3551 (native-inputs
3552 ;; For tests.
3553 `(("perl-test-needs" ,perl-test-needs)))
3554 (license l:perl-license)
3555 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3556 (description
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/")))
3561
3562 (define-public perl-uri-fetch
3563 (package
3564 (name "perl-uri-fetch")
3565 (version "0.13")
3566 (source (origin
3567 (method url-fetch)
3568 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3569 "URI-Fetch-" version ".tar.gz"))
3570 (sha256
3571 (base32
3572 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3573 (build-system perl-build-system)
3574 (arguments
3575 `(#:tests? #f)) ; Tests require internet connection to succeed
3576 (inputs
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)))
3586
3587 (define-public perl-uri-find
3588 (package
3589 (name "perl-uri-find")
3590 (version "20160806")
3591 (source
3592 (origin
3593 (method url-fetch)
3594 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3595 "URI-Find-" version ".tar.gz"))
3596 (sha256
3597 (base32
3598 "1mk3jv8x0mcq3ajrn9garnxd0jc7sw4pkwqi88r5apqvlljs84z2"))))
3599 (build-system perl-build-system)
3600 (native-inputs
3601 `(("perl-module-build" ,perl-module-build)))
3602 (propagated-inputs
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)))
3611
3612 (define-public perl-uri-ws
3613 (package
3614 (name "perl-uri-ws")
3615 (version "0.03")
3616 (source
3617 (origin
3618 (method url-fetch)
3619 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3620 "URI-ws-" version ".tar.gz"))
3621 (sha256
3622 (base32
3623 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3624 (build-system perl-build-system)
3625 (propagated-inputs
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)))
3632
3633 (define-public perl-uri-template
3634 (package
3635 (name "perl-uri-template")
3636 (version "0.22")
3637 (source (origin
3638 (method url-fetch)
3639 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3640 version ".tar.gz"))
3641 (sha256
3642 (base32
3643 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3644 (build-system perl-build-system)
3645 (inputs
3646 `(("perl-uri" ,perl-uri)))
3647 (native-inputs
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
3655 RFC 6570.")
3656 (license l:perl-license)))
3657
3658 (define-public perl-www-curl
3659 (package
3660 (name "perl-www-curl")
3661 (version "4.17")
3662 (source (origin
3663 (method url-fetch)
3664 (uri (string-append
3665 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3666 version".tar.gz"))
3667 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3668 (sha256
3669 (base32
3670 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3671 (build-system perl-build-system)
3672 (arguments
3673 '(#:tests? #f ;XXX: tests require network access
3674
3675 #:phases (modify-phases %standard-phases
3676 (add-before 'configure 'set-search-path
3677 (lambda _
3678 ;; Work around "dotless @INC" build failure.
3679 (setenv "PERL5LIB"
3680 (string-append (getcwd) ":"
3681 (getenv "PERL5LIB")))
3682 #t)))))
3683 (native-inputs
3684 `(("perl-module-install" ,perl-module-install)))
3685 (inputs `(("curl" ,curl)))
3686 (synopsis "Perl extension interface for libcurl")
3687 (description
3688 "This is a Perl extension interface for the libcurl file downloading
3689 library.")
3690 (license l:perl-license)
3691 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3692
3693 (define-public perl-www-mechanize
3694 (package
3695 (name "perl-www-mechanize")
3696 (version "1.88")
3697 (source
3698 (origin
3699 (method url-fetch)
3700 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3701 "WWW-Mechanize-" version ".tar.gz"))
3702 (sha256
3703 (base32
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)))
3712 (propagated-inputs
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)))
3726
3727 (define-public perl-www-opensearch
3728 (package
3729 (name "perl-www-opensearch")
3730 (version "0.17")
3731 (source (origin
3732 (method url-fetch)
3733 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3734 "WWW-OpenSearch-" version ".tar.gz"))
3735 (sha256
3736 (base32
3737 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3738 (build-system perl-build-system)
3739 (native-inputs
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)))
3751 (inputs
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")
3760 (description
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)))
3764
3765 (define-public perl-www-robotrules
3766 (package
3767 (name "perl-www-robotrules")
3768 (version "6.02")
3769 (source (origin
3770 (method url-fetch)
3771 (uri (string-append
3772 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3773 version ".tar.gz"))
3774 (sha256
3775 (base32
3776 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3777 (build-system perl-build-system)
3778 (propagated-inputs
3779 `(("perl-uri" ,perl-uri)))
3780 (license l:perl-license)
3781 (synopsis "Perl database of robots.txt-derived permissions")
3782 (description
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
3787 their web site.")
3788 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3789
3790 (define-public python-feedparser
3791 (package
3792 (name "python-feedparser")
3793 (version "5.2.1")
3794 (source
3795 (origin
3796 (method url-fetch)
3797 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3798 (sha256
3799 (base32
3800 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3801 (build-system python-build-system)
3802 (arguments
3803 '(#:tests? #f))
3804 (home-page
3805 "https://github.com/kurtmckee/feedparser")
3806 (synopsis "Parse feeds in Python")
3807 (description
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
3812
3813 (define-public python2-feedparser
3814 (package-with-python2 python-feedparser))
3815
3816 (define-public r-httpuv
3817 (package
3818 (name "r-httpuv")
3819 (version "1.4.4.1")
3820 (source (origin
3821 (method url-fetch)
3822 (uri (cran-uri "httpuv" version))
3823 (sha256
3824 (base32
3825 "12kwq10xa8glrip7rai9xb4hnpysng00g2l0rw7swfzq5lk4z966"))))
3826 (build-system r-build-system)
3827 (native-inputs `(("r-rcpp" ,r-rcpp)))
3828 (propagated-inputs
3829 `(("r-bh" ,r-bh)
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")
3834 (description
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
3842 (license l:gpl3+)))
3843
3844 (define-public r-jsonlite
3845 (package
3846 (name "r-jsonlite")
3847 (version "1.5")
3848 (source (origin
3849 (method url-fetch)
3850 (uri (cran-uri "jsonlite" version))
3851 (sha256
3852 (base32
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")
3857 (description
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.")
3866 (license l:expat)))
3867
3868 (define-public r-servr
3869 (package
3870 (name "r-servr")
3871 (version "0.10")
3872 (source (origin
3873 (method url-fetch)
3874 (uri (cran-uri "servr" version))
3875 (sha256
3876 (base32
3877 "0yz3igqsiyqnjj1ngh199zicg3spx4kbmvl0wc8i8xahk6l9g06v"))))
3878 (build-system r-build-system)
3879 (propagated-inputs
3880 `(("r-httpuv" ,r-httpuv)
3881 ("r-jsonlite" ,r-jsonlite)
3882 ("r-mime" ,r-mime)
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")
3886 (description
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
3889 directory.")
3890 (license l:expat)))
3891
3892 (define-public r-htmltools
3893 (package
3894 (name "r-htmltools")
3895 (version "0.3.6")
3896 (source (origin
3897 (method url-fetch)
3898 (uri (cran-uri "htmltools" version))
3899 (sha256
3900 (base32
3901 "18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4"))))
3902 (build-system r-build-system)
3903 (arguments
3904 `(#:phases
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
3911 (lambda _
3912 (substitute* "R/html_dependency.R"
3913 (("file.copy\\(from, to, " prefix)
3914 (string-append prefix
3915 "copy.mode = FALSE, ")))
3916 #t)))))
3917 (propagated-inputs
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")
3922 (description
3923 "This package provides tools for HTML generation and output in R.")
3924 (license l:expat)))
3925
3926 (define-public r-htmlwidgets
3927 (package
3928 (name "r-htmlwidgets")
3929 (version "1.2")
3930 (source (origin
3931 (method url-fetch)
3932 (uri (cran-uri "htmlwidgets" version))
3933 (sha256
3934 (base32
3935 "04c4d0mfcy3dkdlbxnaccpdgxvyxfdwfmmh5djim6v9hyg0j2z8s"))))
3936 (build-system r-build-system)
3937 (propagated-inputs
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")
3943 (description
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
3946 applications.")
3947 (license l:expat)))
3948
3949 (define-public r-htmltable
3950 (package
3951 (name "r-htmltable")
3952 (version "1.12")
3953 (source
3954 (origin
3955 (method url-fetch)
3956 (uri (cran-uri "htmlTable" version))
3957 (sha256
3958 (base32
3959 "1n5136vb7mi4rxl5jgwdmdhn4mwv2pcqyw2mrj406ih4hy6hpxa2"))))
3960 (properties `((upstream-name . "htmlTable")))
3961 (build-system r-build-system)
3962 (propagated-inputs
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")
3972 (description
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
3979 LaTeX.")
3980 (license l:gpl3+)))
3981
3982 (define-public r-curl
3983 (package
3984 (name "r-curl")
3985 (version "3.2")
3986 (source (origin
3987 (method url-fetch)
3988 (uri (cran-uri "curl" version))
3989 (sha256
3990 (base32
3991 "15hmy71310hnf9yqvz0icx4cq939gv6iqaifzlfdh2ia8akawdhn"))))
3992 (build-system r-build-system)
3993 (arguments
3994 `(#:phases
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
4000 (lambda _
4001 (substitute* "R/onload.R"
4002 (("if \\(!grepl\\(\"mingw\".*")
4003 "if (FALSE)\n"))
4004 (substitute* "src/handle.c"
4005 (("#ifdef _WIN32") "#if 1"))
4006 #t)))))
4007 (inputs
4008 `(("libcurl" ,curl)))
4009 (home-page "https://github.com/jeroenooms/curl")
4010 (synopsis "HTTP client for R")
4011 (description
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.")
4019 (license l:expat)))
4020
4021 (define-public r-hwriter
4022 (package
4023 (name "r-hwriter")
4024 (version "1.3.2")
4025 (source
4026 (origin
4027 (method url-fetch)
4028 (uri (cran-uri "hwriter" version))
4029 (sha256
4030 (base32
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")
4035 (description
4036 "This package provides easy-to-use and versatile functions to output R
4037 objects in HTML format.")
4038 (license l:lgpl2.1+)))
4039
4040 (define-public r-rjson
4041 (package
4042 (name "r-rjson")
4043 (version "0.2.20")
4044 (source
4045 (origin
4046 (method url-fetch)
4047 (uri (cran-uri "rjson" version))
4048 (sha256
4049 (base32
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")
4054 (description
4055 "This package provides functions to convert R objects into JSON objects
4056 and vice-versa.")
4057 (license l:gpl2+)))
4058
4059 (define-public gumbo-parser
4060 (package
4061 (name "gumbo-parser")
4062 (version "0.10.1")
4063 (source (origin
4064 (method url-fetch)
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"))
4068 (sha256
4069 (base32
4070 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
4071 (build-system gnu-build-system)
4072 (arguments
4073 `(#:tests? #f)) ;tests require bundling googletest sources
4074 ;; The release tarball lacks the generated files.
4075 (native-inputs
4076 `(("autoconf" ,autoconf)
4077 ("automake" ,automake)
4078 ("libtool" ,libtool)))
4079 (home-page "https://github.com/google/gumbo-parser")
4080 (synopsis "HTML5 parsing library")
4081 (description
4082 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
4083 a pure C99 library.")
4084 (license l:asl2.0)))
4085
4086 (define-public uwsgi
4087 (package
4088 (name "uwsgi")
4089 (version "2.0.17")
4090 (source (origin
4091 (method url-fetch)
4092 (uri (string-append "https://projects.unbit.it/downloads/uwsgi-"
4093 version ".tar.gz"))
4094 (sha256
4095 (base32
4096 "1wlbaairsmhp6bx5wv282q9pgh6w7w6yrb8vxjznfaxrinsfkhix"))))
4097 (build-system gnu-build-system)
4098 (outputs '("out" "python"))
4099 (arguments
4100 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
4101 ;; But there is no obvious way to run the real tests.
4102 #:tests? #f
4103 #:phases
4104 (modify-phases %standard-phases
4105 (replace 'configure
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.
4112 (mkdir-p bindir)
4113 (mkdir-p plugindir)
4114 ;; XXX: Enable other plugins.
4115 (call-with-output-file "buildconf/guix.ini"
4116 (lambda (port)
4117 (format port "[uwsgi]
4118 yaml = libyaml
4119 bin_name = ~a/uwsgi
4120 plugin_dir = ~a
4121
4122 inherit = base
4123 plugins = cgi,python
4124 embedded_plugins =
4125 " bindir plugindir))))
4126 (setenv "PROFILE" "guix")
4127 #t))
4128 (replace 'install
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
4136 (string-append
4137 (assoc-ref outputs "python") "/lib/uwsgi"))
4138 (delete-file python-plugin)
4139 #t))))))
4140 (native-inputs
4141 `(("pkg-config" ,pkg-config)
4142 ("python" ,python-wrapper)))
4143 (inputs
4144 `(("jansson" ,jansson)
4145 ("libxml2" ,libxml2)
4146 ("libyaml" ,libyaml)
4147 ("openssl" ,openssl)
4148 ("pcre" ,pcre)
4149 ("zlib" ,zlib)
4150 ;; For plugins.
4151 ("python" ,python)))
4152 (home-page "https://uwsgi-docs.readthedocs.org/")
4153 (synopsis "Application container server")
4154 (description
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
4159
4160 (define-public jq
4161 (package
4162 (name "jq")
4163 (version "1.5")
4164 (source (origin
4165 (method url-fetch)
4166 (uri (string-append "https://github.com/stedolan/" name
4167 "/releases/download/" name "-" version
4168 "/" name "-" version ".tar.gz"))
4169 (sha256
4170 (base32
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"))))
4176 (inputs
4177 `(("oniguruma" ,oniguruma)))
4178 (native-inputs
4179 `(;; TODO fix gems to generate documentation
4180 ;;("ruby" ,ruby)
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
4191 you'd expect.")
4192 (license (list l:expat l:cc-by3.0))))
4193
4194 (define-public uhttpmock
4195 (package
4196 (name "uhttpmock")
4197 (version "0.5.1")
4198 (source
4199 (origin
4200 (method url-fetch)
4201 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
4202 name "-" version ".tar.xz"))
4203 (sha256
4204 (base32
4205 "163py4klka423x7li2b685gmg3a6hjf074mlff2ajhmi3l0lm8x6"))))
4206 (build-system glib-or-gtk-build-system)
4207 (arguments
4208 `(#:phases
4209 (modify-phases %standard-phases
4210 (add-before 'check 'use-empty-ssl-cert-file
4211 (lambda _
4212 ;; Search for ca-certificates.crt files
4213 ;; during the check phase.
4214 (setenv "SSL_CERT_FILE" "/dev/null")
4215 #t)))))
4216 (native-inputs
4217 `(("gobject-introspection" ,gobject-introspection)
4218 ;; For check phase.
4219 ("glib-networking" ,glib-networking)
4220 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
4221 ("pkg-config" ,pkg-config)))
4222 (inputs
4223 `(("libsoup" ,libsoup)))
4224 (home-page "https://gitlab.com/groups/uhttpmock")
4225 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
4226 (description
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+)))
4231
4232 (define-public woof
4233 (package
4234 (name "woof")
4235 (version "2012-05-31")
4236 (source (origin
4237 (method url-fetch)
4238 (uri (string-append
4239 "http://www.home.unix-ag.org/simon/woof-"
4240 version ".py"))
4241 (sha256
4242 (base32
4243 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
4244 (build-system trivial-build-system)
4245 (arguments
4246 '(#:modules ((guix build utils))
4247 #:builder
4248 (begin
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")))
4254 (mkdir-p bin)
4255 (with-directory-excursion bin
4256 (copy-file source "woof")
4257 (patch-shebang "woof" (list (string-append python "/bin")))
4258 (chmod "woof" #o555))
4259 #t))))
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).")
4266 (license l:gpl2+)))
4267
4268 (define netsurf-buildsystem
4269 (package
4270 (name "netsurf-buildsystem")
4271 (version "1.6")
4272 (source
4273 (origin
4274 (method url-fetch)
4275 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4276 "buildsystem-" version ".tar.gz"))
4277 (sha256
4278 (base32
4279 "0p5k708lcq8dip9xxck6hml32bjrbyipprm22bbsvdnsc0pqm71x"))))
4280 (build-system gnu-build-system)
4281 (inputs `(("perl" ,perl)))
4282 (arguments
4283 '(#:make-flags (list (string-append "PREFIX=" %output))
4284 #:tests? #f ;no tests
4285 #:phases (modify-phases %standard-phases
4286 (delete 'configure)
4287 (delete 'build))))
4288 (home-page "http://www.netsurf-browser.org")
4289 (synopsis "Build system for the Netsurf project")
4290 (description
4291 "This package provides the shared build system for Netsurf project
4292 libraries.")
4293 (license l:expat)))
4294
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))))
4306
4307 (define-public libparserutils
4308 (package
4309 (name "libparserutils")
4310 (version "0.2.3")
4311 (source
4312 (origin
4313 (method url-fetch)
4314 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4315 name "-" version "-src.tar.gz"))
4316 (sha256
4317 (base32
4318 "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
4319 (build-system gnu-build-system)
4320 (native-inputs
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")
4327 (description
4328 "LibParserUtils is a library for building efficient parsers, written in
4329 C. It is developed as part of the NetSurf project.")
4330 (license l:expat)))
4331
4332 (define-public hubbub
4333 (package
4334 (name "hubbub")
4335 (version "0.3.4")
4336 (source
4337 (origin
4338 (method url-fetch)
4339 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4340 "lib" name "-" version "-src.tar.gz"))
4341 (sha256
4342 (base32
4343 "1shi4hv8drn9zy8f2f6yhnz2dqnpg5jkybvqhzggfjx1q35fbxz3"))
4344 (patches (search-patches "hubbub-sort-entities.patch"))))
4345 (build-system gnu-build-system)
4346 (native-inputs
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
4351 ("perl" ,perl)))
4352 (propagated-inputs
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")
4357 (description
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
4360 NetSurf project.")
4361 (license l:expat)))
4362
4363 (define-public ikiwiki
4364 (package
4365 (name "ikiwiki")
4366 (version "3.20170111")
4367 (source
4368 (origin
4369 (method url-fetch)
4370 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4371 "20170111T215449Z/pool/main/i/ikiwiki/ikiwiki_"
4372 version ".tar.xz"))
4373 (sha256
4374 (base32
4375 "00d7yzv426fvqbhvzyafddv7fa6b4j2647b0wi371wd5yjj9j3sz"))))
4376 (build-system perl-build-system)
4377 (arguments
4378 `(;; Image tests fail
4379 ;;
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
4385 #:tests? #f
4386 #:phases
4387 (modify-phases %standard-phases
4388 (add-after 'unpack 'include-PERL5LIB-in-wrapper
4389 (lambda _
4390 (substitute* "IkiWiki/Wrapper.pm"
4391 (("^@wrapper\\_hooks")
4392 (string-append
4393 "@wrapper_hooks\n"
4394 " addenv(\"PERL5LIB\", \""
4395 (getenv "PERL5LIB")
4396 "\");")))))
4397 (add-after 'patch-source-shebangs 'patch-Makefile
4398 (lambda _
4399 (substitute* "Makefile.PL"
4400 (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
4401 #t))
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)
4408 (wrap-program file
4409 `("PERL5LIB" ":" prefix (,path))))
4410 (find-files bin))
4411 #t))))))
4412 (native-inputs
4413 `(("which" ,which)
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)
4420 ("git" ,git)
4421 ("bazaar" ,bazaar)
4422 ("cvs" ,cvs)
4423 ("mercurial" ,mercurial)))
4424 (inputs
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")
4440 (description
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
4443 commenting.")
4444 (license l:gpl2+)))
4445
4446 (define-public libwapcaplet
4447 (package
4448 (name "libwapcaplet")
4449 (version "0.4.0")
4450 (source
4451 (origin
4452 (method url-fetch)
4453 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4454 name "-" version "-src.tar.gz"))
4455 (sha256
4456 (base32
4457 "15yr0pl6qa6biy36qkmd949ydbjzpqiaccpx3sprh4jknabsk1vv"))))
4458 (build-system gnu-build-system)
4459 (native-inputs
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")
4466 (description
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.")
4470 (license l:expat)))
4471
4472 (define-public libcss
4473 (package
4474 (name "libcss")
4475 (version "0.7.0")
4476 (source
4477 (origin
4478 (method url-fetch)
4479 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4480 name "-" version "-src.tar.gz"))
4481 (sha256
4482 (base32
4483 "16mns3h8vj7iw8myvgnw58q84irvbjlvfkxh8mdw6fbkjvaa7cnz"))))
4484 (build-system gnu-build-system)
4485 (native-inputs
4486 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4487 ("pkg-config" ,pkg-config)
4488 ("perl" ,perl)))
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")
4495 (description
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.")
4498 (license l:expat)))
4499
4500 (define-public libdom
4501 (package
4502 (name "libdom")
4503 (version "0.3.2")
4504 (source
4505 (origin
4506 (method url-fetch)
4507 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4508 name "-" version "-src.tar.gz"))
4509 (sha256
4510 (base32
4511 "1zb7x2qwm6p11lph6j2vcyp4a0a8i1klkqilnk5vb4qmlzzpcv7i"))))
4512 (build-system gnu-build-system)
4513 (native-inputs
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)))
4520 (inputs
4521 `(("libparserutils" ,libparserutils)
4522 ("libwapcaplet" ,libwapcaplet)))
4523 (propagated-inputs
4524 `(("expat" ,expat) ;needed for headers and linking
4525 ("hubbub" ,hubbub))) ;for libdom.pc
4526 (arguments
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")
4531 (description
4532 "LibDOM is an implementation of the W3C DOM, written in C. It is
4533 developed as part of the NetSurf project.")
4534 (license l:expat)))
4535
4536 (define-public libsvgtiny
4537 (package
4538 (name "libsvgtiny")
4539 (version "0.1.6")
4540 (source
4541 (origin
4542 (method url-fetch)
4543 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4544 name "-" version "-src.tar.gz"))
4545 (sha256
4546 (base32
4547 "12ppy2r7m21ykrjgbf067cgi6dn48fkj7i4b7m64xl4dc13y0ah6"))))
4548 (build-system gnu-build-system)
4549 (native-inputs
4550 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4551 ("pkg-config" ,pkg-config)
4552 ("gperf" ,gperf-3.0)))
4553 (inputs
4554 `(("libwapcaplet" ,libwapcaplet)))
4555 (propagated-inputs
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")
4560 (description
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
4564 project.")
4565 (license l:expat)))
4566
4567 (define-public libnsbmp
4568 (package
4569 (name "libnsbmp")
4570 (version "0.1.4")
4571 (source
4572 (origin
4573 (method url-fetch)
4574 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4575 name "-" version "-src.tar.gz"))
4576 (sha256
4577 (base32
4578 "0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
4579 (build-system gnu-build-system)
4580 (native-inputs
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")
4585 (description
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.")
4588 (license l:expat)))
4589
4590 (define-public libnsgif
4591 (package
4592 (name "libnsgif")
4593 (version "0.2.0")
4594 (source
4595 (origin
4596 (method url-fetch)
4597 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4598 name "-" version "-src.tar.gz"))
4599 (sha256
4600 (base32
4601 "1phwf0m24m6nd7096fw14hanl4f8gr9bcppi834lbik04agxk38a"))))
4602 (build-system gnu-build-system)
4603 (native-inputs
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")
4608 (description
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.")
4611 (license l:expat)))
4612
4613 (define-public libnsutils
4614 (package
4615 (name "libnsutils")
4616 (version "0.0.3")
4617 (source
4618 (origin
4619 (method url-fetch)
4620 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4621 name "-" version "-src.tar.gz"))
4622 (sha256
4623 (base32
4624 "0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
4625 (build-system gnu-build-system)
4626 (native-inputs
4627 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4628 (arguments netsurf-buildsystem-arguments)
4629 (home-page "http://www.netsurf-browser.org/")
4630 (synopsis "Utility library for NetSurf")
4631 (description
4632 "Libnsutils provides a small number of useful utility routines. It is
4633 developed as part of the NetSurf project.")
4634 (license l:expat)))
4635
4636 (define-public libnspsl
4637 (package
4638 (name "libnspsl")
4639 (version "0.1.2")
4640 (source
4641 (origin
4642 (method url-fetch)
4643 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4644 name "-" version "-src.tar.gz"))
4645 (sha256
4646 (base32
4647 "0wim5hwzwrfrvvap096whf79m2mnfivbqhqlh03ci9d89xb1w0y9"))))
4648 (build-system gnu-build-system)
4649 (native-inputs
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")
4654 (description
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.")
4657 (license l:expat)))
4658
4659 (define-public nsgenbind
4660 (package
4661 (name "nsgenbind")
4662 (version "0.5")
4663 (source
4664 (origin
4665 (method url-fetch)
4666 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4667 name "-" version "-src.tar.gz"))
4668 (sha256
4669 (base32
4670 "1iwjpdaan0njlhb9ir6a2q5vpxfmkqfldkvnqszqdz50b44vd1jv"))))
4671 (build-system gnu-build-system)
4672 (native-inputs
4673 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4674 ("bison" ,bison)
4675 ("flex" ,flex)))
4676 (arguments
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")
4682 (description
4683 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4684 w3c webidl files and a binding configuration file.")
4685 (license l:expat)))
4686
4687 (define-public netsurf
4688 (package
4689 (name "netsurf")
4690 (version "3.7")
4691 (source
4692 (origin
4693 (method url-fetch)
4694 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4695 "releases/source/netsurf-" version "-src.tar.gz"))
4696 (sha256
4697 (base32
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)
4703 (native-inputs
4704 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4705 ("nsgenbind" ,nsgenbind)
4706 ("libidn" ,libidn) ;only for tests
4707 ("check" ,check)
4708 ("perl" ,perl)
4709 ("perl-html-parser" ,perl-html-parser)
4710 ("pkg-config" ,pkg-config)))
4711 (inputs
4712 `(("curl" ,curl)
4713 ("gtk+" ,gtk+-2)
4714 ("openssl" ,openssl)
4715 ("utf8proc" ,utf8proc)
4716 ("libpng" ,libpng)
4717 ("libjpeg" ,libjpeg)
4718 ("libcss" ,libcss)
4719 ("libdom" ,libdom)
4720 ("libnsbmp" ,libnsbmp)
4721 ("libnsgif" ,libnsgif)
4722 ("libnspsl" ,libnspsl)
4723 ("libnsutils" ,libnsutils)
4724 ("libsvgtiny" ,libsvgtiny)
4725 ("miscfiles" ,miscfiles)))
4726 (arguments
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)
4735 (ice-9 match)
4736 (srfi srfi-1)
4737 (sxml simple)
4738 ,@%glib-or-gtk-build-system-modules)
4739 #:phases
4740 (modify-phases %standard-phases
4741 (delete 'configure)
4742 (add-after 'build 'adjust-welcome
4743 (lambda _
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&nbsp;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"
4757 (lambda (in out)
4758 ;; Leave the DOCTYPE header as is
4759 (display (read-line in 'concat) out)
4760 (sxml->xml
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...
4764 (match sxml
4765 (`(div (@ (class "links")) . ,rest)
4766 '())
4767 ((x ...)
4768 (map rec x))
4769 (x x)))
4770 out)))
4771 #t))
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")))
4777 #t))
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"
4785 desktop)
4786 (substitute* desktop
4787 (("netsurf-gtk") (string-append out "/bin/netsurf-gtk"))
4788 (("netsurf.png") (string-append out "/share/netsurf/"
4789 "netsurf.xpm")))
4790 (install-file "docs/netsurf-gtk.1"
4791 (string-append out "/share/man/man1/"))
4792 #t))))))
4793 (home-page "http://www.netsurf-browser.org")
4794 (synopsis "Web browser")
4795 (description
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.")
4799 (license l:gpl2+)))
4800
4801 (define-public surfraw
4802 (package
4803 (name "surfraw")
4804 (version "2.2.9")
4805 (source (origin
4806 (method url-fetch)
4807 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4808 name "-" version ".tar.gz"))
4809 (sha256
4810 (base32
4811 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4812 (build-system gnu-build-system)
4813 (arguments
4814 `(#:phases
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"
4820 (("perl -e")
4821 (string-append perl "/bin/perl -e")))
4822 #t)))
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"))))))))
4831 (inputs
4832 `(("perl" ,perl)
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)))
4842
4843 (define-public darkhttpd
4844 (package
4845 (name "darkhttpd")
4846 (version "1.12")
4847 (source
4848 (origin
4849 (method url-fetch)
4850 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4851 version ".tar.bz2"))
4852 (sha256
4853 (base32
4854 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4855 (build-system gnu-build-system)
4856 (arguments
4857 `(#:make-flags '("CC=gcc")
4858 #:tests? #f ; No test suite
4859 #:phases
4860 (modify-phases %standard-phases
4861 (delete 'configure)
4862 (replace 'install
4863 (lambda* (#:key outputs #:allow-other-keys)
4864 (install-file "darkhttpd"
4865 (string-append (assoc-ref outputs "out")
4866 "/bin"))
4867 #t)))))
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/")
4873 (license l:isc)))
4874
4875 (define-public goaccess
4876 (package
4877 (name "goaccess")
4878 (version "1.0.2")
4879 (source (origin
4880 (method url-fetch)
4881 (uri (string-append "http://tar.goaccess.io/goaccess-"
4882 version ".tar.gz"))
4883 (sha256
4884 (base32
4885 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4886 (modules '((guix build utils)))
4887 (snippet '(begin
4888 (substitute* "src/error.h"
4889 (("__DATE__") "\"1970-01-01\"")
4890 (("__TIME__") "\"00:00:00\""))
4891 #t))))
4892 (build-system gnu-build-system)
4893 (inputs
4894 ;; TODO: Add dependency on geoip-tools.
4895 `(("glib" ,glib)
4896 ("ncurses" ,ncurses)))
4897 (native-inputs
4898 `(("pkg-config" ,pkg-config)))
4899 (home-page "https://goaccess.io")
4900 (synopsis "Analyze Web server logs in real time")
4901 (description
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
4905 on the fly.")
4906 (license l:x11)))
4907
4908 (define-public httptunnel
4909 (package
4910 (name "httptunnel")
4911 (version "3.3")
4912 (source
4913 (origin
4914 (method url-fetch)
4915 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4916 name "-" version ".tar.gz"))
4917 (sha256
4918 (base32
4919 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4920 (modules '((guix build utils)))
4921 (snippet '(begin
4922 ;; Remove non-free IETF RFC documentation.
4923 (delete-file-recursively "doc")
4924 #t))))
4925 (build-system gnu-build-system)
4926 (arguments
4927 `(#:phases
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.
4931 (replace 'configure
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.")
4944 (license l:gpl2+)))
4945
4946 (define-public stunnel
4947 (package
4948 (name "stunnel")
4949 (version "5.47")
4950 (source
4951 (origin
4952 (method url-fetch)
4953 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4954 version ".tar.gz"))
4955 (sha256
4956 (base32
4957 "02qx0b0dd38rfcl9vfd6zq1pcg5gv0z2mxw5z3p2pfbfk7dpbrn4"))))
4958 (build-system gnu-build-system)
4959 (native-inputs
4960 ;; For tests.
4961 `(("iproute" ,iproute)
4962 ("netcat" ,netcat)
4963 ("procps" ,procps)))
4964 (inputs `(("openssl" ,openssl)))
4965 (arguments
4966 `(#:configure-flags
4967 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))
4968 #:phases
4969 (modify-phases %standard-phases
4970 (add-after 'unpack 'patch-output-directories
4971 (lambda _
4972 ;; Some (not all) Makefiles have a hard-coded incorrect docdir.
4973 (substitute* (list "Makefile.in"
4974 "doc/Makefile.in"
4975 "tools/Makefile.in")
4976 (("/doc/stunnel")
4977 (string-append "/doc/" ,name "-" ,version)))
4978 #t))
4979 (add-before 'check 'patch-tests
4980 (lambda _
4981 (substitute* "tests/make_test"
4982 (("/bin/sh ")
4983 (string-append (which "sh") " ")))
4984 #t)))))
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
4991 deployments.")
4992 (license l:gpl2+)))
4993
4994 (define-public xinetd
4995 (package
4996 (name "xinetd")
4997 (version "2.3.15")
4998 (source
4999 (origin
5000 (method url-fetch)
5001 (uri
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"))
5006 (sha256
5007 (base32
5008 "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
5009 (build-system gnu-build-system)
5010 (arguments
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"))))
5021
5022 (define-public tidy-html
5023 (package
5024 (name "tidy-html")
5025 (version "5.6.0")
5026 (source
5027 (origin
5028 (method url-fetch)
5029 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
5030 version ".tar.gz"))
5031 (file-name (string-append name "-" version ".tar.gz"))
5032 (sha256
5033 (base32
5034 "0n29wcgw32rhnraj9j21ibhwi0xagmmcskhbaz8ihxly7nx3p9h8"))))
5035 (build-system cmake-build-system)
5036 (outputs '("out"
5037 "static")) ; 1.0MiB of .a files
5038 (arguments
5039 `(#:tests? #f ; no tests available
5040 #:build-type "Release"
5041 #:phases
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")))
5050 (mkdir-p slib)
5051 (for-each (lambda (file)
5052 (install-file file slib)
5053 (delete-file file))
5054 (find-files lib "\\.a$"))
5055 #t))))))
5056 (native-inputs
5057 `(("libxslt" ,libxslt)))
5058 (home-page "http://www.html-tidy.org/")
5059 (synopsis "HTML Tidy with HTML5 support")
5060 (description
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.
5064
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.")
5068 (license l:bsd-3)))
5069
5070 (define-public hiawatha
5071 (package
5072 (name "hiawatha")
5073 (version "10.7")
5074 (source
5075 (origin
5076 (method url-fetch)
5077 (uri (string-append "https://www.hiawatha-webserver.org/files/"
5078 "hiawatha-" version ".tar.gz"))
5079 (modules '((guix build utils)))
5080 (snippet '(begin
5081 ;; We use our packaged mbedtls, so delete the included copy.
5082 (delete-file-recursively "mbedtls")
5083 #t))
5084 (sha256
5085 (base32
5086 "0x2zfc8kc6c7rl4gwymwmg13w1c60biv6c6c9fvzpnl59bc9jgin"))))
5087 (build-system cmake-build-system)
5088 (arguments
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"))
5095 #:phases
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"))
5102 #t)))
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)))))))))
5111 (inputs
5112 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
5113 `(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
5114 ("zlib" ,zlib)
5115 ("libxslt" ,libxslt)
5116 ("libxml2" ,libxml2)))
5117 (home-page "https://www.hiawatha-webserver.org")
5118 (synopsis "Webserver with focus on security")
5119 (description
5120 "Hiawatha has been written with security in mind.
5121 Features include the ability to stop SQL injections, XSS and CSRF attacks and
5122 exploit attempts.")
5123 (license l:gpl2)))
5124
5125 (define-public python-httpbin
5126 (package
5127 (name "python-httpbin")
5128 (version "0.5.0")
5129 (source
5130 (origin
5131 (method url-fetch)
5132 (uri (pypi-uri "httpbin" version))
5133 (sha256
5134 (base32
5135 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
5136 (build-system python-build-system)
5137 (propagated-inputs
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
5148 JSON-encoded.")
5149 (license l:isc)))
5150
5151 (define-public python2-httpbin
5152 (package-with-python2 python-httpbin))
5153
5154 (define-public python-pytest-httpbin
5155 (package
5156 (name "python-pytest-httpbin")
5157 (version "0.2.3")
5158 (source
5159 (origin
5160 (method url-fetch)
5161 (uri (pypi-uri "pytest-httpbin" version))
5162 (sha256
5163 (base32
5164 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
5165 (build-system python-build-system)
5166 (propagated-inputs
5167 `(("python-six" ,python-six)
5168 ("python-httpbin" ,python-httpbin)
5169 ("python-pytest" ,python-pytest)))
5170 (home-page
5171 "https://github.com/kevin1024/pytest-httpbin")
5172 (synopsis
5173 "Test your HTTP library against a local copy of httpbin")
5174 (description
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.")
5178 (license l:expat)))
5179
5180 (define-public python2-pytest-httpbin
5181 (package-with-python2 python-pytest-httpbin))
5182
5183 (define-public http-parser
5184 (package
5185 (name "http-parser")
5186 (version "2.8.1")
5187 (source (origin
5188 (method url-fetch)
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"))
5192 (sha256
5193 (base32
5194 "15ids8k2f0xhnnxh4m85w2f78pg5ndiwrpl24kyssznnp1l5yqai"))))
5195 (build-system gnu-build-system)
5196 (arguments
5197 `(#:test-target "test"
5198 #:make-flags
5199 (list (string-append "PREFIX="
5200 (assoc-ref %outputs "out"))
5201 "CC=gcc" "library")
5202 #:phases
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).")
5213 (license l:expat)))
5214
5215 (define-public python2-httpretty
5216 (package
5217 (name "python2-httpretty")
5218 (version "0.8.14")
5219 (source
5220 (origin
5221 (method url-fetch)
5222 (uri (pypi-uri "httpretty" version))
5223 (sha256
5224 (base32
5225 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
5226 (build-system python-build-system)
5227 (native-inputs
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)))
5241 (arguments
5242 `(#:tests? #f
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.
5248 #:python ,python-2
5249 #:phases
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"
5256 (("==") ">="))
5257 #t)))))
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}.")
5262 (license l:expat)))
5263
5264 (define-public jo
5265 (package
5266 (name "jo")
5267 (version "1.1")
5268 (source
5269 (origin
5270 (method url-fetch)
5271 (uri (string-append "https://github.com/jpmens/jo/releases/download/v"
5272 version "/jo-" version ".tar.gz"))
5273 (sha256
5274 (base32
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
5284
5285 (define-public python-internetarchive
5286 (package
5287 (name "python-internetarchive")
5288 (version "1.7.4")
5289 (source
5290 (origin
5291 (method url-fetch)
5292 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
5293 "v" version ".tar.gz"))
5294 (file-name (string-append name "-" version ".tar.gz"))
5295 (sha256
5296 (base32
5297 "0sdbb2ag6vmybi8zmbjszi492a587giaaqxyy1p6gy03cb8mc512"))))
5298 (build-system python-build-system)
5299 (arguments
5300 `(#:phases
5301 (modify-phases %standard-phases
5302 (delete 'check)
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"
5309 (string-append
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")))))))
5314 (propagated-inputs
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)))
5322 (native-inputs
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.")
5331 (properties
5332 `((python2-variant . ,(delay python2-internetarchive))))
5333 (license l:agpl3+)))
5334
5335 (define-public python2-internetarchive
5336 (package-with-python2
5337 (strip-python2-variant python-internetarchive)))
5338
5339 (define-public python-clf
5340 (let ((commit-test-clf "d01d25923c599d3261910f79fb948825b4270d07")) ; 0.5.7
5341 (package
5342 (name "python-clf")
5343 (version "0.5.7")
5344 (source
5345 (origin
5346 (method url-fetch)
5347 (uri (pypi-uri "clf" version))
5348 (sha256
5349 (base32
5350 "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
5351 (build-system python-build-system)
5352 (propagated-inputs
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)))
5359 (inputs
5360 `(("test-clf"
5361 ,(origin
5362 (method url-fetch)
5363 (uri (string-append "https://raw.githubusercontent.com"
5364 "/ncrocfer/clf/" commit-test-clf
5365 "/test_clf.py"))
5366 (sha256
5367 (base32
5368 "19lr5zdzsmxgkg7wrjq1yzkiahd03wi4k3dskssyhmjls8c10nqd"))))))
5369 (arguments
5370 '(#:phases
5371 (modify-phases %standard-phases
5372 (add-after 'unpack 'get-tests
5373 (lambda _
5374 (copy-file (assoc-ref %build-inputs "test-clf") "test_clf.py")
5375 #t))
5376 (replace 'check
5377 (lambda _
5378 (invoke "nosetests"
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))))
5388
5389 (define-public python2-clf
5390 (package-with-python2 python-clf))
5391
5392 (define-public r-shiny
5393 (package
5394 (name "r-shiny")
5395 (version "1.1.0")
5396 (source
5397 (origin
5398 (method git-fetch)
5399 (uri (git-reference
5400 (url "https://github.com/rstudio/shiny.git")
5401 (commit (string-append "v" version))))
5402 (file-name (git-file-name name version))
5403 (sha256
5404 (base32
5405 "041q2gzvzs13syfhbirmkik96asdji8dxnnbs63j7v1ks97hrvvz"))))
5406 (build-system r-build-system)
5407 (arguments
5408 `(#:modules ((guix build r-build-system)
5409 (guix build minify-build-system)
5410 (guix build utils)
5411 (ice-9 match))
5412 #:imported-modules (,@%r-build-system-modules
5413 (guix build minify-build-system))
5414 #:phases
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)
5420 (delete-file old)
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
5424 ;; replace them.
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
5451 ((source . target)
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")
5464 ("shiny.js" .
5465 "shiny.min.js")
5466 ("jquery.js" .
5467 "jquery.min.js")))))
5468 #t)))))
5469 (propagated-inputs
5470 `(("r-crayon" ,r-crayon)
5471 ("r-httpuv" ,r-httpuv)
5472 ("r-mime" ,r-mime)
5473 ("r-jsonlite" ,r-jsonlite)
5474 ("r-xtable" ,r-xtable)
5475 ("r-digest" ,r-digest)
5476 ("r-htmltools" ,r-htmltools)
5477 ("r-r6" ,r-r6)
5478 ("r-sourcetools" ,r-sourcetools)))
5479 (inputs
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")
5490 (description
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)))
5496
5497 (define-public r-shinydashboard
5498 (package
5499 (name "r-shinydashboard")
5500 (version "0.7.0")
5501 (source (origin
5502 (method url-fetch)
5503 (uri (cran-uri "shinydashboard" version))
5504 (sha256
5505 (base32
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.
5510 (arguments
5511 `(#:modules ((guix build utils)
5512 (guix build r-build-system)
5513 (ice-9 popen))
5514 #:phases
5515 (modify-phases %standard-phases
5516 (add-after 'unpack 'generate-minified-javascript
5517 (lambda _
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"
5522 (lambda (port)
5523 (dump-port minified port))))))))))
5524 (propagated-inputs
5525 `(("r-htmltools" ,r-htmltools)
5526 ("r-shiny" ,r-shiny)))
5527 (native-inputs
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
5535 ;; later.
5536 (license l:gpl2+)))
5537
5538 (define-public r-crosstalk
5539 (package
5540 (name "r-crosstalk")
5541 (version "1.0.0")
5542 (source
5543 (origin
5544 (method url-fetch)
5545 (uri (cran-uri "crosstalk" version))
5546 (sha256
5547 (base32
5548 "0lfa89vhrzi7a1rghmygcjr8gzddw35sinb3jx6g49mc9jias7mk"))))
5549 (build-system r-build-system)
5550 (propagated-inputs
5551 `(("r-ggplot2" ,r-ggplot2)
5552 ("r-htmltools" ,r-htmltools)
5553 ("r-jsonlite" ,r-jsonlite)
5554 ("r-lazyeval" ,r-lazyeval)
5555 ("r-r6" ,r-r6)
5556 ("r-shiny" ,r-shiny)))
5557 (home-page "https://rstudio.github.io/crosstalk/")
5558 (synopsis "Inter-widget interactivity for HTML widgets")
5559 (description
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.")
5563 (license l:expat)))
5564
5565 (define-public r-rook
5566 (package
5567 (name "r-rook")
5568 (version "1.1-1")
5569 (source
5570 (origin
5571 (method url-fetch)
5572 (uri (cran-uri "Rook" version))
5573 (sha256
5574 (base32
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")
5581 (description
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}.")
5587 (license l:gpl2)))
5588
5589 (define-public rss-bridge
5590 (package
5591 (name "rss-bridge")
5592 (version "2018-03-11")
5593 (source
5594 (origin
5595 (method url-fetch)
5596 (uri (string-append "https://github.com/RSS-Bridge/rss-bridge/archive/"
5597 version ".tar.gz"))
5598 (file-name (string-append name "-" version ".tar.gz"))
5599 (sha256
5600 (base32
5601 "1ix15ck45yb659k63mhwxwia6qnm9nn8jw0bga85abrvk1rchjdn"))))
5602 (build-system trivial-build-system)
5603 (native-inputs
5604 `(("gzip" ,gzip)
5605 ("tar" ,tar)))
5606 (arguments
5607 '(#:modules ((guix build utils))
5608 #:builder
5609 (begin
5610 (use-modules (guix build utils)
5611 (ice-9 match))
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))
5616 %build-inputs))
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
5627
5628 (define-public linkchecker
5629 (package
5630 (name "linkchecker")
5631 (version "9.4.0")
5632 (source
5633 (origin
5634 (method git-fetch)
5635 (uri (git-reference
5636 (url "https://github.com/linkchecker/linkchecker")
5637 (commit (string-append "v" version))))
5638 (sha256
5639 (base32
5640 "03ihjmc4bqxxqv71bb43r2f23sx0xnbq1k2fsg9fw05qa5s9x187"))))
5641 (build-system python-build-system)
5642 (inputs
5643 `(("python2-dnspython" ,python2-dnspython)
5644 ("python2-pyxdg" ,python2-pyxdg)
5645 ("python2-requests" ,python2-requests)))
5646 (arguments
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
5654 file links.")
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
5660
5661 (define-public cadaver
5662 (package
5663 (name "cadaver")
5664 (version "0.23.3")
5665 (source
5666 (origin
5667 (method url-fetch)
5668 (uri (string-append "http://www.webdav.org/cadaver/"
5669 name "-" version ".tar.gz"))
5670 (sha256
5671 (base32
5672 "1jizq69ifrjbjvz5y79wh1ny94gsdby4gdxwjad4bfih6a5fck7x"))))
5673 (build-system gnu-build-system)
5674 ;; TODO: Unbundle libneon and make build succeed with new neon.
5675 (arguments
5676 `(#:configure-flags (list "--with-ssl=openssl")
5677 #:tests? #f)) ;No tests included
5678 (native-inputs
5679 `(("gettext" ,gnu-gettext)
5680 ("pkg-config" ,pkg-config)
5681 ("intltool" ,intltool)))
5682 (inputs
5683 `(("expat" ,expat)
5684 ("openssl" ,openssl)))
5685 (home-page "http://www.webdav.org/cadaver")
5686 (synopsis "Command-line WebDAV client")
5687 (description
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.")
5691 (license l:gpl2)))
5692
5693 (define-public python-py-ubjson
5694 (package
5695 (name "python-py-ubjson")
5696 (version "0.10.0")
5697 (source
5698 (origin
5699 (method url-fetch)
5700 (uri (pypi-uri "py-ubjson" version))
5701 (sha256
5702 (base32
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")
5707 (description
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)))
5711
5712 (define-public java-tomcat
5713 (package
5714 (name "java-tomcat")
5715 (version "8.5.28")
5716 (source (origin
5717 (method url-fetch)
5718 (uri (string-append "mirror://apache/tomcat/tomcat-8/v"
5719 version "/src/apache-tomcat-" version "-src.tar.gz"))
5720 (sha256
5721 (base32
5722 "0q2bc3sajrmcx3z3vhhwp78y47ryc2ky8ssbdmfk24zvqdb76hvl"))))
5723 (build-system ant-build-system)
5724 (inputs
5725 `(("java-eclipse-jdt-core" ,java-eclipse-jdt-core)))
5726 (native-inputs
5727 `(("java-junit" ,java-junit)))
5728 (arguments
5729 `(#:build-target "package"
5730 #:tests? #f; requires downloading some files.
5731 #:phases
5732 (modify-phases %standard-phases
5733 (add-after 'unpack 'prevent-download
5734 (lambda _
5735 ;; This directory must exist
5736 (mkdir "downloads")
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") ""))
5743 #t))
5744 (add-after 'unpack 'generate-properties
5745 (lambda _
5746 ;; This could have been passed to make-flags, but getcwd returns
5747 ;; a different directory then.
5748 (with-output-to-file "build.properties"
5749 (lambda _
5750 (display
5751 (string-append "base.path=" (getcwd) "/downloads\n"))))
5752 #t))
5753 (replace 'install
5754 (install-jars "output/build/lib")))))
5755 (home-page "https://tomcat.apache.org")
5756 (synopsis "Java Servlet, JavaServer Pages, Java Expression Language and Java
5757 WebSocket")
5758 (description "Apache Tomcat is a free implementation of the Java
5759 Servlet, JavaServer Pages, Java Expression Language and Java WebSocket
5760 technologies.")
5761 (license l:asl2.0)))
5762
5763 (define-public java-eclipse-jetty-test-helper
5764 (package
5765 (name "java-eclipse-jetty-test-helper")
5766 (version "4.2")
5767 (source (origin
5768 (method url-fetch)
5769 (uri (string-append "https://github.com/eclipse/jetty.toolchain/"
5770 "archive/jetty-test-helper-" version ".tar.gz"))
5771 (sha256
5772 (base32
5773 "1jd6r9wc26fa11si4rn2gvy8ml8q4zw1nr6v04mjp8wvwpgvzwx5"))))
5774 (build-system ant-build-system)
5775 (arguments
5776 `(#:jar-name "eclipse-jetty-test-helper.jar"
5777 #:source-dir "src/main/java"
5778 #:test-dir "src/test"
5779 #:jdk ,icedtea-8
5780 #:phases
5781 (modify-phases %standard-phases
5782 (add-before 'configure 'chdir
5783 (lambda _
5784 (chdir "jetty-test-helper")))
5785 (add-before 'build 'fix-paths
5786 (lambda _
5787 ;; TODO:
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.
5792 (substitute*
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")))
5803 #t)))))
5804 (inputs
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
5810 Web Server.")
5811 ;; This program is licensed under both epl and asl.
5812 (license (list l:epl1.0 l:asl2.0))))
5813
5814 (define-public java-eclipse-jetty-perf-helper
5815 (package
5816 (inherit java-eclipse-jetty-test-helper)
5817 (name "java-eclipse-jetty-perf-helper")
5818 (arguments
5819 `(#:jar-name "eclipse-jetty-perf-helper.jar"
5820 #:source-dir "src/main/java"
5821 #:tests? #f; no tests
5822 #:jdk ,icedtea-8
5823 #:phases
5824 (modify-phases %standard-phases
5825 (add-before 'configure 'chdir
5826 (lambda _
5827 (chdir "jetty-perf-helper")
5828 #t)))))
5829 (inputs
5830 `(("hdrhistogram" ,java-hdrhistogram)))))
5831
5832 (define-public java-eclipse-jetty-util
5833 (package
5834 (name "java-eclipse-jetty-util")
5835 (version "9.4.6")
5836 (source (origin
5837 (method url-fetch)
5838 (uri (string-append "https://github.com/eclipse/jetty.project/"
5839 "archive/jetty-" version ".v20170531.tar.gz"))
5840 (sha256
5841 (base32
5842 "0x7kbdvkmgr6kbsmbwiiyv3bb0d6wk25frgvld9cf8540136z9p1"))))
5843 (build-system ant-build-system)
5844 (arguments
5845 `(#:jar-name "eclipse-jetty-util.jar"
5846 #:source-dir "src/main/java"
5847 #:test-exclude
5848 (list "**/Abstract*.java"
5849 ;; requires network
5850 "**/InetAddressSetTest.java"
5851 ;; Assumes we are using maven
5852 "**/TypeUtilTest.java"
5853 ;; Error on the style of log
5854 "**/StdErrLogTest.java")
5855 #:jdk ,icedtea-8
5856 #:phases
5857 (modify-phases %standard-phases
5858 (add-before 'configure 'chdir
5859 (lambda _
5860 (chdir "jetty-util")
5861 #t)))))
5862 (inputs
5863 `(("slf4j" ,java-slf4j-api)
5864 ("servlet" ,java-tomcat)))
5865 (native-inputs
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))))
5876
5877 ;; This version is required by maven-wagon
5878 (define-public java-eclipse-jetty-util-9.2
5879 (package
5880 (inherit java-eclipse-jetty-util)
5881 (version "9.2.22")
5882 (source (origin
5883 (method url-fetch)
5884 (uri (string-append "https://github.com/eclipse/jetty.project/"
5885 "archive/jetty-" version ".v20170606.tar.gz"))
5886 (sha256
5887 (base32
5888 "1i51qlsd7h06d35kx5rqpzbfadbcszycx1iwr6vz7qc9gf9f29la"))))
5889 (arguments
5890 `(#:jar-name "eclipse-jetty-util.jar"
5891 #:source-dir "src/main/java"
5892 #:jdk ,icedtea-8
5893 #:test-exclude
5894 (list "**/Abstract*.java"
5895 ;; requires network
5896 "**/InetAddressSetTest.java"
5897 ;; Assumes we are using maven
5898 "**/TypeUtilTest.java"
5899 ;; We don't have an implementation for slf4j
5900 "**/LogTest.java"
5901 ;; Error on the style of log
5902 "**/StdErrLogTest.java")
5903 #:phases
5904 (modify-phases %standard-phases
5905 (add-before 'configure 'chdir
5906 (lambda _
5907 (chdir "jetty-util")
5908 #t))
5909 (add-before 'build 'fix-test-sources
5910 (lambda _
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()")))
5920 #t)))))))
5921
5922 (define-public java-eclipse-jetty-io
5923 (package
5924 (inherit java-eclipse-jetty-util)
5925 (name "java-eclipse-jetty-io")
5926 (arguments
5927 `(#:jar-name "eclipse-jetty-io.jar"
5928 #:source-dir "src/main/java"
5929 #:jdk ,icedtea-8
5930 #:test-exclude (list "**/Abstract*.java"
5931 ;; Abstract class
5932 "**/EndPointTest.java")
5933 #:phases
5934 (modify-phases %standard-phases
5935 (add-before 'configure 'chdir
5936 (lambda _
5937 (chdir "jetty-io")
5938 #t)))))
5939 (inputs
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.")))
5947
5948 (define-public java-eclipse-jetty-io-9.2
5949 (package
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))
5953 (inputs
5954 `(("util" ,java-eclipse-jetty-util-9.2)
5955 ,@(package-inputs java-eclipse-jetty-util-9.2)))
5956 (native-inputs
5957 `(("mockito" ,java-mockito-1)
5958 ("cglib" ,java-cglib)
5959 ("objenesis" ,java-objenesis)
5960 ("asm" ,java-asm)
5961 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
5962
5963 (define-public java-eclipse-jetty-http
5964 (package
5965 (inherit java-eclipse-jetty-util)
5966 (name "java-eclipse-jetty-http")
5967 (arguments
5968 `(#:jar-name "eclipse-jetty-http.jar"
5969 #:source-dir "src/main/java"
5970 #:jdk ,icedtea-8
5971 #:phases
5972 (modify-phases %standard-phases
5973 (add-before 'configure 'chdir
5974 (lambda _
5975 (chdir "jetty-http")
5976 #t))
5977 (add-before 'build 'copy-resources
5978 (lambda _
5979 (mkdir-p "build/classes")
5980 (copy-recursively "src/main/resources/" "build/classes/")
5981 #t)))))
5982 (inputs
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.")))
5991
5992 (define-public java-eclipse-jetty-http-9.2
5993 (package
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))
5997 (inputs
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)))))
6001
6002 (define-public java-eclipse-jetty-jmx
6003 (package
6004 (inherit java-eclipse-jetty-util)
6005 (name "java-eclipse-jetty-jmx")
6006 (arguments
6007 `(#:jar-name "eclipse-jetty-jmx.jar"
6008 #:source-dir "src/main/java"
6009 #:jdk ,icedtea-8
6010 #:tests? #f; FIXME: requires com.openpojo.validation
6011 #:phases
6012 (modify-phases %standard-phases
6013 (add-before 'configure 'chdir
6014 (lambda _
6015 (chdir "jetty-jmx")
6016 #t)))))
6017 (inputs
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.")))
6025
6026 (define-public java-eclipse-jetty-jmx-9.2
6027 (package
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))
6031 (inputs
6032 `(("util" ,java-eclipse-jetty-util-9.2)
6033 ,@(package-inputs java-eclipse-jetty-util-9.2)))))
6034
6035 (define java-eclipse-jetty-http-test-classes
6036 (package
6037 (inherit java-eclipse-jetty-util)
6038 (name "java-eclipse-jetty-http-test-classes")
6039 (arguments
6040 `(#:jar-name "eclipse-jetty-http.jar"
6041 #:source-dir "src/test"
6042 #:tests? #f
6043 #:jdk ,icedtea-8
6044 #:phases
6045 (modify-phases %standard-phases
6046 (add-before 'configure 'chdir
6047 (lambda _
6048 (chdir "jetty-http"))))))
6049 (inputs
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)))))
6055
6056 (define java-eclipse-jetty-http-test-classes-9.2
6057 (package
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))
6061 (inputs
6062 `(("http" ,java-eclipse-jetty-http-9.2)
6063 ,@(package-inputs java-eclipse-jetty-http-9.2)))))
6064
6065 (define-public java-eclipse-jetty-server
6066 (package
6067 (inherit java-eclipse-jetty-util)
6068 (name "java-eclipse-jetty-server")
6069 (arguments
6070 `(#:jar-name "eclipse-jetty-server.jar"
6071 #:source-dir "src/main/java"
6072 #:jdk ,icedtea-8
6073 #:tests? #f; requires a mockito version we don't have
6074 #:phases
6075 (modify-phases %standard-phases
6076 (add-before 'configure 'chdir
6077 (lambda _
6078 (chdir "jetty-server")
6079 #t))
6080 (add-before 'build 'fix-source
6081 (lambda _
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"))
6086 (substitute*
6087 "src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java"
6088 (((string-append
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));")))
6097 #t)))))
6098 (inputs
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)))
6105 (native-inputs
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
6112 artifact.")))
6113
6114 (define-public java-eclipse-jetty-server-9.2
6115 (package
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))
6119 (inputs
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)))
6125 (native-inputs
6126 `(("test-classes" ,java-eclipse-jetty-http-test-classes-9.2)
6127 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6128
6129 (define-public java-eclipse-jetty-security
6130 (package
6131 (inherit java-eclipse-jetty-util)
6132 (name "java-eclipse-jetty-security")
6133 (arguments
6134 `(#:jar-name "eclipse-jetty-security.jar"
6135 #:source-dir "src/main/java"
6136 #:jdk ,icedtea-8
6137 #:test-exclude (list "**/ConstraintTest.*") ; This test fails
6138 #:phases
6139 (modify-phases %standard-phases
6140 (add-before 'configure 'chdir
6141 (lambda _
6142 (chdir "jetty-security")
6143 #t)))))
6144 (inputs
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)))
6150 (native-inputs
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
6157 infrastructure")))
6158
6159 (define-public java-eclipse-jetty-security-9.2
6160 (package
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))
6164 (inputs
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)))
6169 (native-inputs
6170 `(("io" ,java-eclipse-jetty-io-9.2)
6171 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6172
6173 (define-public java-eclipse-jetty-servlet
6174 (package
6175 (inherit java-eclipse-jetty-util)
6176 (name "java-eclipse-jetty-servlet")
6177 (arguments
6178 `(#:jar-name "eclipse-jetty-servlet.jar"
6179 #:source-dir "src/main/java"
6180 #:jdk ,icedtea-8
6181 #:phases
6182 (modify-phases %standard-phases
6183 (add-before 'configure 'chdir
6184 (lambda _
6185 (chdir "jetty-servlet")
6186 #t)))))
6187 (inputs
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
6201 container.")))
6202
6203 (define-public java-eclipse-jetty-servlet-9.2
6204 (package
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))
6208 (arguments
6209 `(#:jar-name "eclipse-jetty-servlet.jar"
6210 #:source-dir "src/main/java"
6211 #:jdk ,icedtea-8
6212 #:tests? #f; doesn't work
6213 #:phases
6214 (modify-phases %standard-phases
6215 (add-before 'configure 'chdir
6216 (lambda _
6217 (chdir "jetty-servlet")
6218 #t)))))
6219 (inputs
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)))))
6228
6229 (define-public java-eclipse-jetty-xml
6230 (package
6231 (inherit java-eclipse-jetty-util)
6232 (name "java-eclipse-jetty-xml")
6233 (arguments
6234 `(#:jar-name "eclipse-jetty-xml.jar"
6235 #:source-dir "src/main/java"
6236 #:jdk ,icedtea-8
6237 #:tests? #f; most tests require network
6238 #:phases
6239 (modify-phases %standard-phases
6240 (add-before 'configure 'chdir
6241 (lambda _
6242 (chdir "jetty-xml")
6243 #t)))))
6244 (inputs
6245 `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)))
6246 (native-inputs
6247 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6248 ,@(package-native-inputs java-eclipse-jetty-util)))))
6249
6250 (define-public java-eclipse-jetty-xml-9.2
6251 (package
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))
6255 (arguments
6256 `(#:jar-name "eclipse-jetty-xml.jar"
6257 #:source-dir "src/main/java"
6258 #:jdk ,icedtea-8
6259 #:tests? #f; most tests require network
6260 #:phases
6261 (modify-phases %standard-phases
6262 (add-before 'configure 'chdir
6263 (lambda _
6264 (chdir "jetty-xml")
6265 #t)))))
6266 (inputs
6267 `(("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
6268 ,@(package-inputs java-eclipse-jetty-util-9.2)))
6269 (native-inputs
6270 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6271 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6272
6273 (define-public java-eclipse-jetty-webapp
6274 (package
6275 (inherit java-eclipse-jetty-util)
6276 (name "java-eclipse-jetty-webapp")
6277 (arguments
6278 `(#:jar-name "eclipse-jetty-webapp.jar"
6279 #:source-dir "src/main/java"
6280 #:jdk ,icedtea-8
6281 ;; One test fails
6282 #:test-exclude (list "**/WebAppContextTest.java")
6283 #:phases
6284 (modify-phases %standard-phases
6285 (add-before 'configure 'chdir
6286 (lambda _
6287 (chdir "jetty-webapp")
6288 #t)))))
6289 (inputs
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)))
6297 (native-inputs
6298 `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
6299 ,@(package-native-inputs java-eclipse-jetty-util)))))
6300
6301 (define-public java-eclipse-jetty-webapp-9.2
6302 (package
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))
6306 (arguments
6307 `(#:jar-name "eclipse-jetty-webapp.jar"
6308 #:source-dir "src/main/java"
6309 #:jdk ,icedtea-8
6310 #:test-exclude (list "**/WebAppContextTest.java")
6311 #:phases
6312 (modify-phases %standard-phases
6313 (add-before 'configure 'chdir
6314 (lambda _
6315 (chdir "jetty-webapp")
6316 #t)))))
6317 (inputs
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)))
6326 (native-inputs
6327 `(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
6328 ,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
6329
6330 (define-public java-jsoup
6331 (package
6332 (name "java-jsoup")
6333 (version "1.10.3")
6334 (source (origin
6335 (method url-fetch)
6336 (uri (string-append "https://github.com/jhy/jsoup/archive/jsoup-"
6337 version ".tar.gz"))
6338 (sha256
6339 (base32
6340 "0xbzw7rjv7s4nz1xk9b2cnin6zkpaldmc3svk71waa7hhjgp0a20"))))
6341 (build-system ant-build-system)
6342 (arguments
6343 `(#:jar-name "jsoup.jar"
6344 #:source-dir "src/main/java"
6345 #:phases
6346 (modify-phases %standard-phases
6347 (add-before 'build 'copy-resources
6348 (lambda _
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"))))
6356 #t)))))
6357 (native-inputs
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.")
6366 (license l:expat)))
6367
6368 (define-public tidyp
6369 (package
6370 (name "tidyp")
6371 (version "1.04")
6372 (source
6373 (origin
6374 (method url-fetch)
6375 (uri (string-append "https://github.com/downloads/petdance/tidyp/tidyp-"
6376 version ".tar.gz"))
6377 (sha256
6378 (base32
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.
6387
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
6392 (license l:bsd-3)))
6393
6394 (define-public perl-html-tidy
6395 (package
6396 (name "perl-html-tidy")
6397 (version "1.60")
6398 (source
6399 (origin
6400 (method url-fetch)
6401 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tidy-"
6402 version ".tar.gz"))
6403 (sha256
6404 (base32
6405 "1iyp2fd6j75cn1xvcwl2lxr8qpjxssy2360cyqn6g3kzd1fzdyxw"))))
6406 (build-system perl-build-system)
6407 (arguments
6408 '(#:phases
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)
6414 (string-append line
6415 "-I" (assoc-ref inputs "tidyp") "/include/tidyp "))
6416 (("-L/usr/lib")
6417 (string-append
6418 "-L" (assoc-ref inputs "tidyp") "/lib")))
6419 #t)))))
6420 (inputs
6421 `(("perl-libwww" ,perl-libwww)
6422 ("tidyp" ,tidyp)))
6423 (native-inputs
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)))
6431
6432 (define-public geomyidae
6433 (package
6434 (name "geomyidae")
6435 (version "0.31")
6436 (source
6437 (origin
6438 (method url-fetch)
6439 (uri (string-append "http://git.r-36.net/geomyidae/snapshot/"
6440 "geomyidae-" version ".tar.bz2"))
6441 (sha256
6442 (base32
6443 "1ih7220c6mgq4r7blm4kx3pxbl53sph58lqgwci6cmi3c0sq5c3x"))))
6444 (build-system gnu-build-system)
6445 (arguments
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")
6454 (description
6455 "Geomyidae is a server for distributed hypertext protocol Gopher. Its
6456 features include:
6457
6458 @enumerate
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.
6464 @end enumerate\n")
6465 (license l:expat)))
6466
6467 (define-public cat-avatar-generator
6468 (package
6469 (name "cat-avatar-generator")
6470 (version "1")
6471 (source (origin
6472 (method git-fetch)
6473 (uri (git-reference
6474 (url "https://framagit.org/Deevad/cat-avatar-generator.git")
6475 (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
6476 (file-name (string-append name "-" version))
6477 (sha256
6478 (base32
6479 "0s7b5whqsmfa57prbgl66ym551kg6ly0z14h5dgrlx4lqm70y2yw"))))
6480 (build-system trivial-build-system)
6481 (arguments
6482 `(#:modules ((guix build utils)
6483 (srfi srfi-1)
6484 (srfi srfi-26))
6485 #:builder
6486 (begin
6487 (use-modules (guix build utils)
6488 (srfi srfi-1)
6489 (srfi srfi-26))
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'];
6499 else
6500 die('You need to set the CACHE_DIR variable first.');"))
6501 #t))))
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
6509 l:cc-by4.0))))
6510
6511 (define-public nghttp2
6512 (package
6513 (name "nghttp2")
6514 (version "1.31.1")
6515 (source
6516 (origin
6517 (method url-fetch)
6518 (uri (string-append "https://github.com/nghttp2/nghttp2/"
6519 "releases/download/v" version "/"
6520 name "-" version ".tar.xz"))
6521 (sha256
6522 (base32
6523 "00z1687m4wi2gbgkijbv099l9hs1sjlyzbhh8jhn0xssx4xcifb5"))))
6524 (build-system gnu-build-system)
6525 (outputs (list "out"
6526 "lib")) ; only libnghttp2
6527 (native-inputs
6528 `(("pkg-config" ,pkg-config)
6529
6530 ;; Required by tests.
6531 ("cunit" ,cunit)
6532 ("tzdata" ,tzdata-for-tests)))
6533 (inputs
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
6538 ("libev" ,libev)
6539 ("libxml2" ,libxml2) ; for ‘nghttp -a’
6540 ("openssl" ,openssl)))
6541 (arguments
6542 `(#:configure-flags
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
6548 #:phases
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"
6557 (("@prefix@")
6558 (assoc-ref outputs "lib")))
6559 #t))
6560 (add-before 'check 'set-timezone-directory
6561 (lambda* (#:key inputs #:allow-other-keys)
6562 (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata")
6563 "/share/zoneinfo"))
6564 #t)))))
6565 (home-page "https://nghttp2.org/")
6566 (synopsis "HTTP/2 protocol client, proxy, server, and library")
6567 (description
6568 "nghttp2 implements the Hypertext Transfer Protocol, version
6569 2 (@dfn{HTTP/2}).
6570
6571 A reusable C library provides the HTTP/2 framing layer, with several tools built
6572 on top of it:
6573
6574 @itemize
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.
6589 @end itemize\n")
6590 (license l:expat)))
6591
6592 (define-public hpcguix-web
6593 (let ((commit "87cb51611c0f1fd3863b830614ab1364599cf1ca"))
6594 (package
6595 (name "hpcguix-web")
6596 (version (git-version "0.0.1" "1" commit))
6597 (source (origin
6598 (method git-fetch)
6599 (uri (git-reference
6600 (url "https://github.com/UMCUGenetics/hpcguix-web.git")
6601 (commit commit)))
6602 (file-name (git-file-name name version))
6603 (sha256
6604 (base32
6605 "0p66fl8r3v73v13fqg9rbqbzbdzvyznchxbq2s1jwq6qfsn2w3gr"))))
6606 (build-system gnu-build-system)
6607 (arguments
6608 `(#:modules ((guix build gnu-build-system)
6609 (guix build utils)
6610 (srfi srfi-26)
6611 (ice-9 popen)
6612 (ice-9 rdelim))
6613
6614 #:phases
6615 (modify-phases %standard-phases
6616 (add-before 'configure 'autoconf
6617 (lambda _
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))
6630 (effective
6631 (read-line
6632 (open-pipe* OPEN_READ
6633 (string-append guile "/bin/guile")
6634 "-c" "(display (effective-version))")))
6635 (path (string-join
6636 (map (cut string-append <>
6637 "/share/guile/site/"
6638 effective)
6639 deps)
6640 ":"))
6641 (gopath (string-join
6642 (map (cut string-append <>
6643 "/lib/guile/" effective
6644 "/site-ccache")
6645 deps)
6646 ":")))
6647 (wrap-program (string-append out "/bin/run")
6648 `("GUILE_LOAD_PATH" ":" prefix (,path))
6649 `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,gopath)))
6650
6651 #t))))))
6652 (native-inputs
6653 `(("autoconf" ,autoconf)
6654 ("automake" ,automake)
6655 ("uglify-js" ,uglify-js)
6656 ("pkg-config" ,pkg-config)))
6657 (inputs
6658 `(("guix" ,guix)))
6659 (propagated-inputs
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+))))