Update e-mail for Kei Kebreau.
[jackhill/guix/guix.git] / gnu / packages / web.scm
CommitLineData
29a2ccd3 1;;; GNU Guix --- Functional package management for GNU
be6bfa7d 2;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
29a2ccd3 3;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
89e34644 4;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
5fb205c6 5;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
aad78085 6;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
38012ed5 7;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
ef61177d 8;;; Copyright © 2015, 2016, 2017 Eric Bavier <bavier@member.fsf.org>
d8f1c074 9;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
67c2fc01 10;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
ec672946 11;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
4fbed749 12;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
7ffbbea0 13;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
bd9fe0f0 14;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
0ee23de9 15;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
e81fd90e 16;;; Copyright © 2016, 2017 ng0 <ng0@no-reply.pragmatique.xyz>
a7a4345d 17;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
bb6e6415 18;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
b881dc6d 19;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
864042c5 20;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
decb4c26 21;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
3c8ba11a 22;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
29a2ccd3
AP
23;;;
24;;; This file is part of GNU Guix.
25;;;
26;;; GNU Guix is free software; you can redistribute it and/or modify it
27;;; under the terms of the GNU General Public License as published by
28;;; the Free Software Foundation; either version 3 of the License, or (at
29;;; your option) any later version.
30;;;
31;;; GNU Guix is distributed in the hope that it will be useful, but
32;;; WITHOUT ANY WARRANTY; without even the implied warranty of
33;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34;;; GNU General Public License for more details.
35;;;
36;;; You should have received a copy of the GNU General Public License
37;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
38
39(define-module (gnu packages web)
c9d512fa 40 #:use-module (ice-9 match)
b5b73a82 41 #:use-module ((guix licenses) #:prefix l:)
29a2ccd3
AP
42 #:use-module (guix packages)
43 #:use-module (guix download)
833efa0d 44 #:use-module (guix git-download)
18cb3df8 45 #:use-module (guix cvs-download)
b8ae816b 46 #:use-module (guix utils)
29a2ccd3 47 #:use-module (guix build-system gnu)
7ffbbea0 48 #:use-module (guix build-system glib-or-gtk)
c2337213
LC
49 #:use-module (guix build-system perl)
50 #:use-module (guix build-system cmake)
a359c9c1 51 #:use-module (guix build-system r)
0ee23de9 52 #:use-module (guix build-system trivial)
da069d7e 53 #:use-module (guix build-system python)
38e62c81 54 #:use-module (gnu packages)
29a2ccd3 55 #:use-module (gnu packages apr)
5a0096a3 56 #:use-module (gnu packages check)
a8cba9dd 57 #:use-module (gnu packages cran)
99828fa7 58 #:use-module (gnu packages documentation)
b777d784 59 #:use-module (gnu packages docbook)
833efa0d 60 #:use-module (gnu packages autotools)
ce0614dd 61 #:use-module (gnu packages compression)
bb470bd3 62 #:use-module (gnu packages cyrus-sasl)
f643a6e9 63 #:use-module (gnu packages databases)
22df7001
EB
64 #:use-module (gnu packages bison)
65 #:use-module (gnu packages flex)
89e34644 66 #:use-module (gnu packages kerberos)
57c2680e 67 #:use-module (gnu packages gd)
488e8863 68 #:use-module (gnu packages gettext)
7ffbbea0
RS
69 #:use-module (gnu packages glib)
70 #:use-module (gnu packages gnome)
4fc282b3 71 #:use-module (gnu packages gnu-doc)
b881dc6d 72 #:use-module (gnu packages gnupg)
1622637b 73 #:use-module (gnu packages gnuzilla)
22df7001 74 #:use-module (gnu packages gperf)
fbaf9376 75 #:use-module (gnu packages gtk)
7ac2cab8 76 #:use-module (gnu packages java)
a3cd23b6 77 #:use-module (gnu packages javascript)
22df7001 78 #:use-module (gnu packages image)
fbaf9376 79 #:use-module (gnu packages libidn)
0cf9f9b1 80 #:use-module (gnu packages libunistring)
bb470bd3 81 #:use-module (gnu packages lua)
8cecd22e 82 #:use-module (gnu packages ncurses)
ce0614dd 83 #:use-module (gnu packages base)
bd9fe0f0 84 #:use-module (gnu packages perl)
ed865936 85 #:use-module (gnu packages python)
c9ea41ff 86 #:use-module (gnu packages pcre)
bb470bd3 87 #:use-module (gnu packages pkg-config)
ec672946 88 #:use-module (gnu packages valgrind)
b777d784 89 #:use-module (gnu packages xml)
d22d72fc 90 #:use-module (gnu packages curl)
38012ed5 91 #:use-module (gnu packages perl)
cc2b77df 92 #:use-module (gnu packages texinfo)
ec672946 93 #:use-module (gnu packages textutils)
a359c9c1
RW
94 #:use-module (gnu packages tls)
95 #:use-module (gnu packages statistics))
29a2ccd3
AP
96
97(define-public httpd
98 (package
99 (name "httpd")
dcd9a331 100 (version "2.4.27")
29a2ccd3
AP
101 (source (origin
102 (method url-fetch)
103 (uri (string-append "mirror://apache/httpd/httpd-"
104 version ".tar.bz2"))
105 (sha256
106 (base32
dcd9a331 107 "0fn1778mxhf78np2d8qlycg1c2ak18rxax41plahasca4clc3z3i"))))
29a2ccd3 108 (build-system gnu-build-system)
74c8b174 109 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
29a2ccd3
AP
110 (inputs `(("apr" ,apr)
111 ("apr-util" ,apr-util)
112 ("openssl" ,openssl)
50b7a6a0 113 ("perl" ,perl))) ; needed to run bin/apxs
29a2ccd3
AP
114 (arguments
115 `(#:test-target "test"
116 #:configure-flags (list "--enable-rewrite"
117 "--enable-userdir"
118 "--enable-vhost-alias"
119 "--enable-ssl"
120 "--enable-mime-magic"
121 (string-append "--sysconfdir="
122 (assoc-ref %outputs "out")
123 "/etc/httpd"))))
124 (synopsis "Featureful HTTP server")
125 (description
126 "The Apache HTTP Server Project is a collaborative software development
127effort aimed at creating a robust, commercial-grade, featureful, and
35b9e423
EB
128freely-available source code implementation of an HTTP (Web) server. The
129project is jointly managed by a group of volunteers located around the world,
130using the Internet and the Web to communicate, plan, and develop the server
131and its related documentation.")
29a2ccd3
AP
132 (license l:asl2.0)
133 (home-page "https://httpd.apache.org/")))
c9ea41ff 134
c9d512fa
MW
135(define-public nginx
136 (package
137 (name "nginx")
e23cf939 138 (version "1.12.1")
c9d512fa
MW
139 (source (origin
140 (method url-fetch)
59fed2b6 141 (uri (string-append "https://nginx.org/download/nginx-"
c9d512fa
MW
142 version ".tar.gz"))
143 (sha256
144 (base32
e23cf939 145 "1yvnmj7vlykrqdi6amkvs63lva6qkxd98sqv0a8hz8w5ci1bz4w7"))))
c9d512fa
MW
146 (build-system gnu-build-system)
147 (inputs `(("pcre" ,pcre)
148 ("openssl" ,openssl)
149 ("zlib" ,zlib)))
150 (arguments
151 `(#:tests? #f ; no test target
152 #:phases
a71c315b 153 (modify-phases %standard-phases
3a4de6b2 154 (add-before 'configure 'patch-/bin/sh
a71c315b
DT
155 (lambda _
156 (substitute* "auto/feature"
bb2f8bbc 157 (("/bin/sh") (which "sh")))
59fed2b6 158 #t))
3a4de6b2 159 (replace 'configure
a71c315b
DT
160 (lambda* (#:key outputs #:allow-other-keys)
161 (let ((flags
162 (list (string-append "--prefix=" (assoc-ref outputs "out"))
163 "--with-http_ssl_module"
164 "--with-pcre-jit"
a71c315b
DT
165 "--with-debug"
166 ;; Even when not cross-building, we pass the
167 ;; --crossbuild option to avoid customizing for the
168 ;; kernel version on the build machine.
169 ,(let ((system "Linux") ; uname -s
170 (release "2.6.32") ; uname -r
171 ;; uname -m
172 (machine (match (or (%current-target-system)
173 (%current-system))
174 ("x86_64-linux" "x86_64")
175 ("i686-linux" "i686")
4788deea
MW
176 ("mips64el-linux" "mips64")
177 ;; Prevent errors when querying
178 ;; this package on unsupported
179 ;; platforms, e.g. when running
180 ;; "guix package --search="
181 (_ "UNSUPPORTED"))))
a71c315b
DT
182 (string-append "--crossbuild="
183 system ":" release ":" machine)))))
184 (setenv "CC" "gcc")
185 (format #t "environment variable `CC' set to `gcc'~%")
186 (format #t "configure flags: ~s~%" flags)
59446b20 187 (zero? (apply system* "./configure" flags)))))
3a4de6b2 188 (add-after 'install 'fix-root-dirs
59446b20
DT
189 (lambda* (#:key outputs #:allow-other-keys)
190 ;; 'make install' puts things in strange places, so we need to
191 ;; clean it up ourselves.
192 (let* ((out (assoc-ref outputs "out"))
193 (share (string-append out "/share/nginx")))
194 ;; This directory is empty, so get rid of it.
195 (rmdir (string-append out "/logs"))
196 ;; Example configuration and HTML files belong in
197 ;; /share.
198 (mkdir-p share)
199 (rename-file (string-append out "/conf")
200 (string-append share "/conf"))
201 (rename-file (string-append out "/html")
202 (string-append share "/html"))))))))
59fed2b6 203 (home-page "https://nginx.org")
c9d512fa
MW
204 (synopsis "HTTP and reverse proxy server")
205 (description
206 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
207created by Igor Sysoev. It can be used both as a standalone web server
208and as a proxy to reduce the load on back-end HTTP or mail servers.")
209 ;; Almost all of nginx is distributed under the bsd-2 license.
210 ;; The exceptions are:
211 ;; * The 'nginx-http-push' module is covered by the expat license.
212 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
213 ;; except for two source files which are bsd-4 licensed.
214 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
215
ab519cfa
RW
216(define-public fcgi
217 (package
218 (name "fcgi")
219 (version "2.4.0")
220 (source
221 (origin
222 (method url-fetch)
223 ;; Upstream has disappeared
224 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
225 "fcgi-" version ".tar.gz"))
226 (sha256
227 (base32
228 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
229 (patches (search-patches "fcgi-2.4.0-poll.patch"
230 "fcgi-2.4.0-gcc44-fixes.patch"))))
231 (build-system gnu-build-system)
0ff55f9d
RW
232 ;; Parallel building is not supported.
233 (arguments `(#:parallel-build? #f))
ab519cfa
RW
234 (home-page "http://www.fastcgi.com")
235 (synopsis "Language-independent, high-performant extension to CGI")
236 (description "FastCGI is a language independent, scalable extension to CGI
237that provides high performance without the limitations of server specific
238APIs.")
239 ;; This package is released under the Open Market License, a variant of
240 ;; the Expat license, incompatible with the GPL.
241 (license (l:non-copyleft "file://LICENSE.TERMS"))))
242
9bad4043
RW
243(define-public fcgiwrap
244 (package
245 (name "fcgiwrap")
246 (version "1.1.0")
247 (source
248 (origin
249 (method url-fetch)
250 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
251 "archive/" version ".tar.gz"))
252 (file-name (string-append name "-" version ".tar.gz"))
253 (sha256
254 (base32
255 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
256 (build-system gnu-build-system)
257 (arguments
258 `(#:tests? #f ; no tests included
259 #:make-flags (list "CC=gcc")
260 #:phases
261 (modify-phases %standard-phases
262 (add-after 'unpack 'bootstrap
263 (lambda _
264 (zero? (system* "autoreconf" "-vif")))))))
265 (native-inputs
266 `(("autoconf" ,autoconf)
267 ("automake" ,automake)
268 ("pkg-config" ,pkg-config)))
269 (inputs
270 `(("fcgi" ,fcgi)))
271 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
272 (synopsis "Simple server for running CGI applications over FastCGI")
273 (description "Fcgiwrap is a simple server for running CGI applications
274over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
275servers that may need it).")
276 (license l:expat)))
277
a641b579
EB
278(define-public starman
279 (package
280 (name "starman")
654116c1 281 (version "0.4014")
a641b579
EB
282 (source
283 (origin
284 (method url-fetch)
285 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
286 "Starman-" version ".tar.gz"))
287 (sha256
288 (base32
654116c1 289 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
a641b579
EB
290 (build-system perl-build-system)
291 (native-inputs
292 `(("perl-libwww" ,perl-libwww)
293 ("perl-module-build-tiny" ,perl-module-build-tiny)
294 ("perl-test-requires" ,perl-test-requires)))
295 (propagated-inputs
296 `(("perl-data-dump" ,perl-data-dump)
297 ("perl-http-date" ,perl-http-date)
298 ("perl-http-message" ,perl-http-message)
299 ("perl-http-parser-xs" ,perl-http-parser-xs)
300 ("perl-net-server" ,perl-net-server)
301 ("perl-plack" ,perl-plack)
302 ("perl-test-tcp" ,perl-test-tcp)))
303 (home-page "http://search.cpan.org/dist/Starman")
304 (synopsis "PSGI/Plack web server")
305 (description "Starman is a PSGI perl web server that has unique features
306such as high performance, preforking, signal support, superdaemon awareness,
307and UNIX socket support.")
2f3108ad 308 (license l:perl-license)))
a641b579 309
7ac2cab8
MB
310(define-public icedtea-web
311 (package
312 (name "icedtea-web")
313 (version "1.6.2")
314 (source (origin
315 (method url-fetch)
316 (uri (string-append
317 "http://icedtea.wildebeest.org/download/source/"
318 name "-" version ".tar.gz"))
319 (sha256
320 (base32
321 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
322 (build-system gnu-build-system)
323 (arguments
324 `(#:configure-flags
325 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
326 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
327 "/bin/bash")
328 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
329 (outputs '("out" "doc"))
330 (native-inputs
331 `(("pkg-config" ,pkg-config)
332 ("zip" ,zip)))
333 (inputs
334 `(("gtk+" ,gtk+)
335 ("jdk" ,icedtea "jdk")))
336 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
337 (synopsis "Java Web Start")
338 (description
339 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
340Protocol}, also known as Java Web Start. This package provides tools and
341libraries for working with JNLP applets.")
342 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
343 ;; or dual licenses.
344 (license l:gpl2+)))
345
2b0bba49
RW
346(define-public jansson
347 (package
348 (name "jansson")
14ac8e48 349 (version "2.9")
2b0bba49
RW
350 (source (origin
351 (method url-fetch)
352 (uri
353 (string-append "http://www.digip.org/jansson/releases/jansson-"
354 version ".tar.gz"))
355 (sha256
356 (base32
14ac8e48 357 "19fjgfwjfj99rqa3kf96x5rssj88siazggksgrikd6h4r9sd1l0a"))))
2b0bba49
RW
358 (build-system gnu-build-system)
359 (home-page "http://www.digip.org/jansson/")
360 (synopsis "JSON C library")
361 (description
362 "Jansson is a C library for encoding, decoding and manipulating JSON
363data.")
364 (license l:expat)))
365
f6ad09ae
LC
366(define-public json-c
367 (package
368 (name "json-c")
87312f8a 369 (version "0.12.1")
f6ad09ae
LC
370 (source (origin
371 (method url-fetch)
a124bbd2
SB
372 (uri (string-append
373 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
374 version ".tar.gz"))
f6ad09ae
LC
375 (sha256
376 (base32
87312f8a 377 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
f6ad09ae
LC
378 (modules '((guix build utils)))
379 (snippet
380 '(begin
381 ;; Somehow 'config.h.in' is older than
382 ;; 'aclocal.m4', which would trigger a rule to
383 ;; run 'autoheader'.
384 (set-file-time "config.h.in"
385 (stat "aclocal.m4"))
386
387 ;; Don't try to build with -Werror.
388 (substitute* (find-files "." "Makefile\\.in")
389 (("-Werror") ""))))))
390 (build-system gnu-build-system)
391 (arguments '(#:parallel-build? #f
392 #:parallel-tests? #f))
393 (home-page "https://github.com/json-c/json-c/wiki")
394 (synopsis "JSON implementation in C")
395 (description
396 "JSON-C implements a reference counting object model that allows you to
397easily construct JSON objects in C, output them as JSON formatted strings and
398parse JSON formatted strings back into the C representation of JSON objects.")
399 (license l:x11)))
400
bd9fe0f0
BW
401(define-public krona-tools
402 (package
403 (name "krona-tools")
9712ef8d 404 (version "2.7")
bd9fe0f0
BW
405 (source (origin
406 (method url-fetch)
407 (uri (string-append
408 "https://github.com/marbl/Krona/releases/download/v"
409 version "/KronaTools-" version ".tar"))
410 (sha256
411 (base32
9712ef8d 412 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
bd9fe0f0
BW
413 (build-system perl-build-system)
414 (arguments
5d52ac74 415 `(#:phases
bd9fe0f0
BW
416 (modify-phases %standard-phases
417 ;; There is no configure or build steps.
418 (delete 'configure)
9712ef8d 419 (delete 'build)
bd9fe0f0
BW
420 ;; Install script "install.pl" expects the build directory to remain
421 ;; after installation, creating symlinks etc., so re-implement it
422 ;; here.
423 (replace 'install
424 (lambda* (#:key outputs #:allow-other-keys)
425 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
426 (perl (string-append (assoc-ref outputs "out")
5d52ac74 427 "/lib/perl5/site_perl/krona-tools/lib")))
bd9fe0f0
BW
428 (mkdir-p bin)
429 (for-each
430 (lambda (script)
431 (let* ((executable (string-append "scripts/" script ".pl")))
432 ;; Prefix executables with 'kt' as install script does.
433 (copy-file executable (string-append bin "/kt" script))))
434 '("ClassifyBLAST"
435 "GetContigMagnitudes"
9712ef8d
BW
436 "GetLCA"
437 "GetTaxIDFromAcc"
438 "GetTaxInfo"
bd9fe0f0
BW
439 "ImportBLAST"
440 "ImportDiskUsage"
441 "ImportEC"
442 "ImportFCP"
443 "ImportGalaxy"
444 "ImportKrona"
445 "ImportMETAREP-BLAST"
446 "ImportMETAREP-EC"
447 "ImportMGRAST"
448 "ImportPhymmBL"
449 "ImportRDP"
450 "ImportRDPComparison"
451 "ImportTaxonomy"
452 "ImportText"
453 "ImportXML"))
9712ef8d
BW
454 (for-each
455 (lambda (directory)
456 (copy-recursively directory
457 (string-append perl "/../" directory)))
458 (list "data" "img" "taxonomy" "src"))
bd9fe0f0
BW
459 (install-file "lib/KronaTools.pm" perl))))
460 (add-after 'install 'wrap-program
461 (lambda* (#:key inputs outputs #:allow-other-keys)
462 (let* ((out (assoc-ref outputs "out"))
463 (path (getenv "PERL5LIB")))
464 (for-each
465 (lambda (executable)
466 (wrap-program executable
467 `("PERL5LIB" ":" prefix
5d52ac74
BW
468 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
469 (find-files (string-append out "/bin/") ".*")))))
470 (delete 'check)
471 (add-after 'wrap-program 'check
472 (lambda* (#:key inputs outputs #:allow-other-keys)
473 (with-directory-excursion "data"
474 (zero? (system* (string-append (assoc-ref outputs "out") "/bin/ktImportText")
475 "ec.tsv"))))))))
bd9fe0f0
BW
476 (inputs
477 `(("perl" ,perl)))
478 (home-page "https://github.com/marbl/Krona/wiki")
479 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
480 (description
481 "Krona is a flexible tool for exploring the relative proportions of
482hierarchical data, such as metagenomic classifications, using a radial,
483space-filling display. It is implemented using HTML5 and JavaScript, allowing
484charts to be explored locally or served over the Internet, requiring only a
485current version of any major web browser.")
486 (license l:bsd-3)))
487
ccb8da26
RW
488(define-public rapidjson
489 (package
490 (name "rapidjson")
d0386db4 491 (version "1.1.0")
ccb8da26
RW
492 (source (origin
493 (method url-fetch)
494 (uri (string-append
495 "https://github.com/miloyip/rapidjson/archive/v"
496 version ".tar.gz"))
497 (file-name (string-append name "-" version ".tar.gz"))
498 (sha256
499 (base32
d0386db4 500 "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))))
ccb8da26 501 (build-system cmake-build-system)
4fbed749
EF
502 (arguments
503 `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
504 (%current-system)))
505 '(#:phases
506 (modify-phases %standard-phases
507 (add-after 'unpack 'patch-aarch-march-detection
508 (lambda _
509 (substitute* (find-files "." "^CMakeLists\\.txt$")
510 (("native") "armv8-a"))
511 #t))))
512 '())))
ccb8da26
RW
513 (home-page "https://github.com/miloyip/rapidjson")
514 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
515 (description
516 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
517style API.")
518 (license l:expat)))
519
d8f1c074
ED
520(define-public libyajl
521 (package
522 (name "libyajl")
523 (version "2.1.0")
524 (source (origin
525 (method url-fetch)
526 (uri (string-append "https://github.com/lloyd/yajl/"
527 "archive/" version ".tar.gz"))
528 (file-name (string-append name "-" version ".tar.gz"))
529 (sha256
530 (base32
531 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
532 (build-system cmake-build-system)
533 (home-page "https://lloyd.github.io/yajl/")
534 (synopsis "C library for parsing JSON")
535 (description
536 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
537parser written in ANSI C and a small validating JSON generator.")
538 (license l:isc)))
539
833efa0d
LC
540(define-public libwebsockets
541 (package
542 (name "libwebsockets")
c2337213 543 (version "1.3")
833efa0d
LC
544 (source (origin
545 ;; The project does not publish tarballs, so we have to take
546 ;; things from Git.
547 (method git-fetch)
548 (uri (git-reference
5f13bf09 549 (url "https://github.com/warmcat/libwebsockets.git")
833efa0d 550 (commit (string-append "v" version
c2337213 551 "-chrome37-firefox30"))))
833efa0d
LC
552 (sha256
553 (base32
c2337213 554 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
833efa0d
LC
555 (file-name (string-append name "-" version))))
556
c2337213 557 (build-system cmake-build-system)
833efa0d 558 (arguments
c2337213
LC
559 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
560 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
561 '(#:tests? #f))
833efa0d 562
c2337213 563 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
833efa0d
LC
564 (inputs `(("zlib" ,zlib)
565 ("openssl" ,openssl)))
566 (synopsis "WebSockets library written in C")
567 (description
35b9e423 568 "Libwebsockets is a library that allows C programs to establish client
833efa0d
LC
569and server WebSockets connections---a protocol layered above HTTP that allows
570for efficient socket-like bidirectional reliable communication channels.")
571 (home-page "http://libwebsockets.org/")
572
573 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
574 (license l:lgpl2.1)))
575
488e8863
EB
576(define-public libpsl
577 (package
578 (name "libpsl")
0cf9f9b1 579 (version "0.18.0")
488e8863
EB
580 (source (origin
581 (method url-fetch)
582 (uri (string-append "https://github.com/rockdaboot/libpsl/"
6c277c89
EF
583 "releases/download/libpsl-" version
584 "/libpsl-" version ".tar.gz"))
488e8863
EB
585 (sha256
586 (base32
0cf9f9b1 587 "00iids8ldsqnnndmcfjp6kc00lv7fawf5l24mpbdbkh98yazgc4i"))))
488e8863 588 (build-system gnu-build-system)
0cf9f9b1
TGR
589 (native-inputs
590 `(("pkg-config" ,pkg-config)))
6c277c89 591 (inputs
0cf9f9b1
TGR
592 `(("libidn2" ,libidn2)
593 ("libunistring" ,libunistring)
6c277c89 594 ("python-2" ,python-2)))
488e8863
EB
595 (home-page "https://github.com/rockdaboot/libpsl")
596 (synopsis "C library for the Publix Suffix List")
597 (description
598 "A \"public suffix\" is a domain name under which Internet users can
599directly register own names.
600
601Browsers and other web clients can use it to avoid privacy-leaking
602\"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
603highlighting parts of the domain in a user interface, and sorting domain lists
604by site.
605
606Libpsl has built-in PSL data for fast access, allows to load PSL data from
607files, checks if a given domain is a public suffix, provides immediate cookie
608domain verification, finds the longest public part of a given domain, finds
609the shortest private part of a given domain, works with international
610domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
e881752c 611UTS#46.")
488e8863
EB
612 (license l:x11)))
613
18cb3df8
DT
614(define-public tidy
615 (package
616 (name "tidy")
617 (version "20091223")
618 (source (origin
619 (method cvs-fetch)
620 (uri (cvs-reference
621 (root-directory
622 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
623 (module "tidy")
624 (revision "2009-12-23")))
625 (sha256
626 (base32
4d853910 627 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
fc1adab1 628 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
18cb3df8
DT
629 (build-system gnu-build-system)
630 (arguments
917239ff
TGR
631 '(#:phases (modify-phases %standard-phases
632 (add-after 'unpack 'bootstrap
633 (lambda* (#:key inputs #:allow-other-keys)
634 ;; configure.in and Makefile.am aren't in the root of the
635 ;; source tree.
636 (copy-recursively "build/gnuauto" ".")
637 (setenv "AUTOMAKE" "automake --foreign")
638 (zero? (system* "autoreconf" "-vfi")))))))
18cb3df8
DT
639 (native-inputs
640 `(("automake" ,automake)
641 ("autoconf" ,autoconf)
642 ("libtool" ,libtool)))
643 (synopsis "HTML validator and tidier")
644 (description "HTML Tidy is a command-line tool and C library that can be
645used to validate and fix HTML data.")
646 (home-page "http://tidy.sourceforge.net/")
647 (license (l:x11-style "file:///include/tidy.h"))))
648
8142aff3 649(define-public tinyproxy
c9ea41ff 650 (package
8142aff3 651 (name "tinyproxy")
b5076461 652 (version "1.8.4")
8142aff3
EB
653 (source (origin
654 (method url-fetch)
b5076461
EF
655 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
656 "releases/download/" version "/tinyproxy-"
657 version ".tar.xz"))
8142aff3
EB
658 (sha256
659 (base32
b5076461 660 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
8142aff3
EB
661 (build-system gnu-build-system)
662 (arguments
663 `(#:configure-flags
664 (list
665 ;; For the log file, etc.
666 "--localstatedir=/var")
667 #:phases
668 (alist-cons-before
669 'build 'pre-build
670 (lambda* (#:key inputs #:allow-other-keys #:rest args)
671 ;; Uncommenting the next two lines may assist in debugging
672 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
673 ;; (setenv "XML_DEBUG_CATALOG" "1")
674 #t)
675 %standard-phases)))
676 ;; All of the below are used to generate the documentation
677 ;; (Should they be propagated inputs of asciidoc ??)
4b0e6367 678 (native-inputs `(("asciidoc" ,asciidoc)))
b5076461 679 (home-page "https://tinyproxy.github.io/")
8142aff3
EB
680 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
681 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
682daemon. Designed from the ground up to be fast and yet small, it is an ideal
683solution for use cases such as embedded deployments where a full featured HTTP
684proxy is required, but the system resources for a larger proxy are
685unavailable.")
686 (license l:gpl2+)))
687
688(define-public polipo
689 (package
690 (name "polipo")
691 (version "1.1.1")
692 (source
693 (origin
694 (method url-fetch)
695 (uri (string-append
696 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
697 version ".tar.gz"))
698 (sha256
699 (base32
700 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
701 (native-inputs `(("texinfo" ,texinfo)))
702 (build-system gnu-build-system)
703 (arguments
9bd259d8
TGR
704 `(#:phases (modify-phases %standard-phases
705 (delete 'configure))
8142aff3
EB
706 #:make-flags (let ((out (assoc-ref %outputs "out")))
707 (list (string-append "PREFIX=" out)
708 (string-append "LOCAL_ROOT="
709 out "/share/polipo/www")
710 "CC=gcc"))
711 ;; No 'check' target.
712 #:tests? #f))
713 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
714 (synopsis "Small caching web proxy")
715 (description
716 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
717server). It was primarily designed to be used by one person or a small group
718of people.")
719 (license l:expat)))
720
b881dc6d
BT
721(define-public wwwoffle
722 (package
723 (name "wwwoffle")
724 (version "2.9j")
725 (source (origin
726 (method url-fetch)
727 (uri (string-append "https://www.gedanken.org.uk/software/"
728 "wwwoffle/download/wwwoffle-"
729 version ".tgz"))
730 (sha256
731 (base32
732 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
733 (build-system gnu-build-system)
734 (arguments
735 `(#:configure-flags '("--with-gnutls")
736 #:tests? #f)) ; no test target
737 (native-inputs `(("flex" ,flex)))
738 (inputs `(("gnutls" ,gnutls)
739 ("libcrypt", libgcrypt)))
740 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
741 (synopsis "Caching web proxy optimized for intermittent internet links")
742 (description "WWWOFFLE is a proxy web server that is especially good for
743intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
744protocols, and supports browsing and requesting pages while offline, indexing,
745modifying pages and incoming and outgoing headers, monitoring pages for
746changes, and much more.")
747 (license l:gpl2+)))
748
1622637b
KK
749(define-public liboauth
750 (package
751 (name "liboauth")
752 (version "1.0.3")
753 (source (origin
754 (method url-fetch)
755 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
756 version ".tar.gz"))
757 (sha256
758 (base32
759 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
760 (build-system gnu-build-system)
761 (arguments '(#:configure-flags '("--enable-nss")))
762 (native-inputs `(("pkg-config" ,pkg-config)))
763 (propagated-inputs
764 `(("curl" ,curl)
765 ("nss" ,nss)))
766 (home-page "https://sourceforge.net/projects/liboauth")
1819fd2c 767 (synopsis "C library implementing the OAuth API")
1622637b 768 (description
1819fd2c
KK
769 "liboauth is a collection of C functions implementing the OAuth API.
770liboauth provides functions to escape and encode strings according to OAuth
771specifications and offers high-level functionality built on top to sign
1622637b
KK
772requests or verify signatures using either NSS or OpenSSL for calculating the
773hash/signatures.")
774 ;; Source code may be distributed under either license.
775 (license (list l:expat l:gpl2+))))
776
8142aff3
EB
777(define-public libyaml
778 (package
779 (name "libyaml")
e00df583 780 (version "0.1.6")
8142aff3
EB
781 (source
782 (origin
783 (method url-fetch)
784 (uri (string-append
785 "http://pyyaml.org/download/libyaml/yaml-"
786 version ".tar.gz"))
0d567b55 787 (patches (search-patches "libyaml-CVE-2014-9130.patch"))
8142aff3
EB
788 (sha256
789 (base32
e00df583 790 "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx"))))
8142aff3
EB
791 (build-system gnu-build-system)
792 (home-page "http://pyyaml.org/wiki/LibYAML")
793 (synopsis "YAML 1.1 parser and emitter written in C")
794 (description
795 "LibYAML is a YAML 1.1 parser and emitter written in C.")
796 (license l:expat)))
797
798(define-public libquvi-scripts
799 (package
800 (name "libquvi-scripts")
801 (version "0.4.21")
802 (source
803 (origin
804 (method url-fetch)
805 (uri (string-append
de67e922
LF
806 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
807 name "/" name "-" version ".tar.xz"))
8142aff3
EB
808 (sha256
809 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
810 (build-system gnu-build-system)
811 (home-page "http://quvi.sourceforge.net/")
812 (synopsis "Media stream URL parser")
813 (description "This package contains support scripts called by libquvi to
814parse media stream properties.")
815 (license l:lgpl2.1+)))
816
817(define-public libquvi
818 (package
819 (name "libquvi")
820 (version "0.4.1")
821 (source
822 (origin
823 (method url-fetch)
824 (uri (string-append
de67e922
LF
825 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
826 name "-" version ".tar.xz"))
8142aff3
EB
827 (sha256
828 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
829 (build-system gnu-build-system)
830 (native-inputs `(("pkg-config" ,pkg-config)))
831 (inputs
832 `(("curl" ,curl)
833 ("cyrus-sasl" ,cyrus-sasl)
834 ("libquvi-scripts" ,libquvi-scripts)
835 ("lua" ,lua-5.1)
836 ("openssl" ,openssl)
837 ("zlib" ,zlib)))
838 (arguments
839 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
840 '(#:configure-flags
841 (let ((lua (assoc-ref %build-inputs "lua")))
842 (list
843 (string-append "liblua_CFLAGS=-I" lua "/include")
844 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
845 (home-page "http://quvi.sourceforge.net/")
846 (synopsis "Media stream URL parser")
847 (description "libquvi is a library with a C API for parsing media stream
848URLs and extracting their actual media files.")
849 (license l:lgpl2.1+)))
850
851(define-public quvi
852 (package
853 (name "quvi")
854 (version "0.4.2")
855 (source
856 (origin
857 (method url-fetch)
858 (uri (string-append
de67e922
LF
859 "mirror://sourceforge/" name "/" (version-major+minor version)
860 "/" name "/" name "-" version ".tar.xz"))
8142aff3
EB
861 (sha256
862 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
863 (build-system gnu-build-system)
864 (native-inputs `(("pkg-config" ,pkg-config)))
865 (inputs
866 `(("curl" ,curl)
867 ("libquvi" ,libquvi)))
868 (home-page "http://quvi.sourceforge.net/")
869 (synopsis "Media stream URL parser")
870 (description "quvi is a command-line-tool suite to extract media files
871from streaming URLs. It is a command-line wrapper for the libquvi library.")
872 (license l:lgpl2.1+)))
873
ed865936
MW
874(define-public serf
875 (package
876 (name "serf")
244d4f48 877 (version "1.3.9")
ed865936
MW
878 (source
879 (origin
880 (method url-fetch)
6d22653e 881 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
ed865936
MW
882 version ".tar.bz2"))
883 (sha256
244d4f48 884 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
ed865936
MW
885 (build-system gnu-build-system)
886 (native-inputs
887 `(("scons" ,scons)
888 ("python" ,python-2)))
889 (propagated-inputs
890 `(("apr" ,apr)
891 ("apr-util" ,apr-util)
892 ("openssl" ,openssl)))
893 (inputs
894 `(;; TODO: Fix build with gss.
895 ;;("gss" ,gss)
896 ("zlib" ,zlib)))
897 (arguments
4da18166
ST
898 `(#:modules ((guix build gnu-build-system)
899 (guix build utils)
900 (srfi srfi-1))
901 #:phases
ed865936
MW
902 ;; TODO: Add scons-build-system and use it here.
903 (modify-phases %standard-phases
904 (delete 'configure)
905 (add-after 'unpack 'scons-propagate-environment
906 (lambda _
907 ;; By design, SCons does not, by default, propagate
908 ;; environment variables to subprocesses. See:
909 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
910 ;; Here, we modify the SConstruct file to arrange for
911 ;; environment variables to be propagated.
912 (substitute* "SConstruct"
913 (("^env = Environment\\(")
914 "env = Environment(ENV=os.environ, "))))
ed865936
MW
915 (replace 'build
916 (lambda* (#:key inputs outputs #:allow-other-keys)
917 (let ((out (assoc-ref outputs "out"))
918 (apr (assoc-ref inputs "apr"))
919 (apr-util (assoc-ref inputs "apr-util"))
920 (openssl (assoc-ref inputs "openssl"))
921 ;;(gss (assoc-ref inputs "gss"))
922 (zlib (assoc-ref inputs "zlib")))
923 (zero? (system* "scons"
924 (string-append "APR=" apr)
925 (string-append "APU=" apr-util)
926 (string-append "OPENSSL=" openssl)
927 ;;(string-append "GSSAPI=" gss)
928 (string-append "ZLIB=" zlib)
929 (string-append "PREFIX=" out))))))
decb4c26
MB
930 (add-before 'check 'disable-broken-tests
931 (lambda _
932 ;; These tests rely on SSL certificates that expired 2017-04-18.
933 ;; While there are newer certs available upstream, we don't want
934 ;; this package to suddenly "expire" some time in the future.
935 ;; https://bugs.gnu.org/26671
936 (let ((broken-tests
937 '("test_ssl_trust_rootca"
938 "test_ssl_certificate_chain_with_anchor"
939 "test_ssl_certificate_chain_all_from_server"
940 "test_ssl_no_servercert_callback_allok"
941 "test_ssl_large_response"
942 "test_ssl_large_request"
943 "test_ssl_client_certificate"
944 "test_ssl_future_server_cert"
945 "test_setup_ssltunnel"
946 "test_ssltunnel_basic_auth"
947 "test_ssltunnel_basic_auth_server_has_keepalive_off"
948 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
949 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
950 "test_ssltunnel_digest_auth")))
951 (for-each
952 (lambda (test)
953 (substitute* "test/test_context.c"
954 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
955 broken-tests)
956 #t)))
ed865936
MW
957 (replace 'check (lambda _ (zero? (system* "scons" "check"))))
958 (replace 'install (lambda _ (zero? (system* "scons" "install")))))))
6d22653e 959 (home-page "https://serf.apache.org/")
ed865936
MW
960 (synopsis "High-performance asynchronous HTTP client library")
961 (description
962 "serf is a C-based HTTP client library built upon the Apache Portable
963Runtime (APR) library. It multiplexes connections, running the read/write
964communication asynchronously. Memory copies and transformations are kept to a
965minimum to provide high performance operation.")
966 ;; Most of the code is covered by the Apache License, Version 2.0, but the
967 ;; bundled CuTest framework uses a different non-copyleft license.
968 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
969
385a44be
DT
970(define-public sassc
971 ;; libsass must be statically linked and it isn't included in the sassc
972 ;; release tarballs, hence this odd package recipe.
8a39e4a5 973 (let* ((version "3.4.5")
385a44be
DT
974 (libsass
975 (origin
976 (method url-fetch)
977 (uri (string-append
978 "https://github.com/sass/libsass/archive/"
979 version ".tar.gz"))
980 (file-name (string-append "libsass-" version ".tar.gz"))
981 (sha256
982 (base32
8a39e4a5 983 "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x")))))
385a44be
DT
984 (package
985 (name "sassc")
986 (version version)
987 (source (origin
988 (method url-fetch)
989 (uri (string-append "https://github.com/sass/sassc/archive/"
990 version ".tar.gz"))
991 (file-name (string-append "sassc-" version ".tar.gz"))
992 (sha256
993 (base32
8a39e4a5 994 "1xk4kmmvziz9sal3swpqa10q0s289xjpcz8aggmly8mvxvmngsi9"))))
385a44be
DT
995 (build-system gnu-build-system)
996 (arguments
8a39e4a5
RW
997 `(#:make-flags
998 (list "CC=gcc"
999 (string-append "PREFIX=" (assoc-ref %outputs "out")))
385a44be 1000 #:test-target "test"
8a39e4a5
RW
1001 ;; FIXME: "make test" rebuilds the application and gets lost in a
1002 ;; non-existing directory.
1003 #:tests? #f
385a44be
DT
1004 #:phases
1005 (modify-phases %standard-phases
1006 (delete 'configure)
1007 (add-after 'unpack 'unpack-libsass-and-set-path
1008 (lambda* (#:key inputs #:allow-other-keys)
1009 (and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass")))
1010 (begin
1011 (setenv "SASS_LIBSASS_PATH"
1012 (string-append (getcwd) "/libsass-" ,version))
8a39e4a5 1013 #t)))))))
385a44be
DT
1014 (inputs
1015 `(("libsass" ,libsass)))
1016 (synopsis "CSS pre-processor")
1017 (description "SassC is a compiler written in C for the CSS pre-processor
1018language known as SASS.")
1019 (home-page "http://sass-lang.com/libsass")
1020 (license l:expat))))
1021
8142aff3 1022\f
dc1c804a
EB
1023(define-public perl-apache-logformat-compiler
1024 (package
1025 (name "perl-apache-logformat-compiler")
faf806db 1026 (version "0.33")
dc1c804a
EB
1027 (source
1028 (origin
1029 (method url-fetch)
1030 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1031 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1032 (sha256
1033 (base32
faf806db 1034 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
dc1c804a
EB
1035 (build-system perl-build-system)
1036 (native-inputs
1037 `(("perl-http-message" ,perl-http-message)
a2190ccc 1038 ("perl-module-build" ,perl-module-build)
dc1c804a
EB
1039 ("perl-test-mocktime" ,perl-test-mocktime)
1040 ("perl-try-tiny" ,perl-try-tiny)
1041 ("perl-uri" ,perl-uri)))
1042 (propagated-inputs
1043 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1044 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
1045 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
1046 (synopsis "Compile a log format string to perl-code")
1047 (description "This module provides methods to compile a log format string
1048to perl-code, for faster generation of access_log lines.")
2f3108ad 1049 (license l:perl-license)))
dc1c804a 1050
c6ee18ab
EB
1051(define-public perl-authen-sasl
1052 (package
1053 (name "perl-authen-sasl")
1054 (version "2.16")
1055 (source
1056 (origin
1057 (method url-fetch)
1058 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1059 "Authen-SASL-" version ".tar.gz"))
1060 (sha256
1061 (base32
1062 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1063 (build-system perl-build-system)
f61d39ac
LF
1064 (arguments
1065 '(#:phases
1066 (modify-phases %standard-phases
1067 (add-after 'unpack 'set-env
1068 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1069 ;; versions of perl-authen-sasl.
1070 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
c6ee18ab
EB
1071 (propagated-inputs
1072 `(("perl-digest-hmac" ,perl-digest-hmac)
1073 ("perl-gssapi" ,perl-gssapi)))
1074 (home-page "http://search.cpan.org/dist/Authen-SASL")
1075 (synopsis "SASL authentication framework")
1076 (description "Authen::SASL provides an SASL authentication framework.")
2f3108ad 1077 (license l:perl-license)))
c6ee18ab 1078
cd39d814
EB
1079(define-public perl-catalyst-action-renderview
1080 (package
1081 (name "perl-catalyst-action-renderview")
1082 (version "0.16")
1083 (source
1084 (origin
1085 (method url-fetch)
1086 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1087 "Catalyst-Action-RenderView-"
1088 version ".tar.gz"))
1089 (sha256
1090 (base32
1091 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1092 (build-system perl-build-system)
1093 (native-inputs
2f837cf7
MB
1094 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1095 ("perl-module-install" ,perl-module-install)))
cd39d814
EB
1096 (propagated-inputs
1097 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1098 ("perl-data-visitor" ,perl-data-visitor)
1099 ("perl-mro-compat" ,perl-mro-compat)))
1100 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
1101 (synopsis "Sensible default Catalyst action")
1102 (description "This Catalyst action implements a sensible default end
1103action, which will forward to the first available view.")
2f3108ad 1104 (license l:perl-license)))
cd39d814 1105
aaef00bf
EB
1106(define-public perl-catalyst-action-rest
1107 (package
1108 (name "perl-catalyst-action-rest")
abafd66d 1109 (version "1.20")
aaef00bf
EB
1110 (source (origin
1111 (method url-fetch)
d0b9c34f 1112 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
aaef00bf
EB
1113 "Catalyst-Action-REST-" version ".tar.gz"))
1114 (sha256
1115 (base32
abafd66d 1116 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
aaef00bf
EB
1117 (build-system perl-build-system)
1118 (native-inputs
2f837cf7
MB
1119 `(("perl-test-requires" ,perl-test-requires)
1120 ("perl-module-install" ,perl-module-install)))
aaef00bf
EB
1121 (propagated-inputs
1122 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1123 ("perl-class-inspector" ,perl-class-inspector)
abafd66d
EF
1124 ("perl-config-general" ,perl-config-general)
1125 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
aaef00bf
EB
1126 ("perl-libwww" ,perl-libwww)
1127 ("perl-moose" ,perl-moose)
1128 ("perl-mro-compat" ,perl-mro-compat)
1129 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1130 ("perl-params-validate" ,perl-params-validate)
abafd66d
EF
1131 ("perl-uri-find" ,perl-uri-find)
1132 ("perl-xml-simple" ,perl-xml-simple)))
aaef00bf
EB
1133 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
1134 (synopsis "Automated REST Method Dispatching")
1135 (description "This Action handles doing automatic method dispatching for
1136REST requests. It takes a normal Catalyst action, and changes the dispatch to
1137append an underscore and method name. First it will try dispatching to an
1138action with the generated name, and failing that it will try to dispatch to a
1139regular method.")
2f3108ad 1140 (license l:perl-license)))
aaef00bf 1141
6e545bbf
EB
1142(define-public perl-catalyst-authentication-store-dbix-class
1143 (package
1144 (name "perl-catalyst-authentication-store-dbix-class")
1145 (version "0.1506")
1146 (source
1147 (origin
1148 (method url-fetch)
1149 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1150 "Catalyst-Authentication-Store-DBIx-Class-"
1151 version ".tar.gz"))
1152 (sha256
1153 (base32
1154 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1155 (build-system perl-build-system)
1156 (native-inputs
1157 `(("perl-catalyst-plugin-authorization-roles"
1158 ,perl-catalyst-plugin-authorization-roles)
1159 ("perl-catalyst-plugin-session-state-cookie"
1160 ,perl-catalyst-plugin-session-state-cookie)
1161 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
2f837cf7 1162 ("perl-module-install" ,perl-module-install)
6e545bbf
EB
1163 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1164 (propagated-inputs
1165 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1166 ("perl-catalyst-plugin-authentication"
1167 ,perl-catalyst-plugin-authentication)
1168 ("perl-dbix-class" ,perl-dbix-class)
1169 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1170 (home-page
1171 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
1172 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1173 (description "The Catalyst::Authentication::Store::DBIx::Class class
1174provides access to authentication information stored in a database via
1175DBIx::Class.")
2f3108ad 1176 (license l:perl-license)))
6e545bbf 1177
040a52fd
EB
1178(define-public perl-catalyst-component-instancepercontext
1179 (package
1180 (name "perl-catalyst-component-instancepercontext")
1181 (version "0.001001")
1182 (source
1183 (origin
1184 (method url-fetch)
1185 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1186 "Catalyst-Component-InstancePerContext-"
1187 version ".tar.gz"))
1188 (sha256
1189 (base32
1190 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1191 (build-system perl-build-system)
2f837cf7
MB
1192 (native-inputs
1193 `(("perl-module-install" ,perl-module-install)))
040a52fd
EB
1194 (propagated-inputs
1195 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1196 ("perl-moose" ,perl-moose)))
1197 (home-page
1198 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
1199 (synopsis "Create only one instance of Moose component per context")
1200 (description "Catalyst::Component::InstancePerContext returns a new
1201instance of a component on each request.")
2f3108ad 1202 (license l:perl-license)))
040a52fd 1203
bdec3223
EB
1204(define-public perl-catalyst-devel
1205 (package
1206 (name "perl-catalyst-devel")
1207 (version "1.39")
1208 (source
1209 (origin
1210 (method url-fetch)
1211 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1212 "Catalyst-Devel-" version ".tar.gz"))
1213 (sha256
1214 (base32
1215 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1216 (build-system perl-build-system)
1217 (native-inputs
1218 `(("perl-test-fatal" ,perl-test-fatal)))
1219 (propagated-inputs
1220 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1221 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1222 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1223 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1224 ("perl-config-general" ,perl-config-general)
1225 ("perl-file-changenotify" ,perl-file-changenotify)
1226 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1227 ("perl-file-sharedir" ,perl-file-sharedir)
1228 ("perl-module-install" ,perl-module-install)
1229 ("perl-moose" ,perl-moose)
1230 ("perl-moosex-emulate-class-accessor-fast"
1231 ,perl-moosex-emulate-class-accessor-fast)
1232 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1233 ("perl-namespace-clean" ,perl-namespace-clean)
1234 ("perl-path-class" ,perl-path-class)
1235 ("perl-template-toolkit" ,perl-template-toolkit)))
1236 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1237 (synopsis "Catalyst Development Tools")
1238 (description "The Catalyst-Devel distribution includes a variety of
1239modules useful for the development of Catalyst applications, but not required
1240to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1241autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1242extension for Catalyst; and requirements for a variety of development-related
1243modules.")
2f3108ad 1244 (license l:perl-license)))
bdec3223 1245
9473af1d
EB
1246(define-public perl-catalyst-dispatchtype-regex
1247 (package
1248 (name "perl-catalyst-dispatchtype-regex")
1249 (version "5.90035")
1250 (source
1251 (origin
1252 (method url-fetch)
1253 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1254 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1255 (sha256
1256 (base32
1257 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1258 (build-system perl-build-system)
1259 (native-inputs
1260 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1261 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1262 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1263 (propagated-inputs
1264 `(("perl-moose" ,perl-moose)
1265 ("perl-text-simpletable" ,perl-text-simpletable)))
1266 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1267 (synopsis "Regex DispatchType for Catalyst")
1268 (description "Dispatch type managing path-matching behaviour using
1269regexes. Regex dispatch types have been deprecated and removed from Catalyst
1270core. It is recommend that you use Chained methods or other techniques
1271instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1272vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1273when the dispatch type is first seen in your application.")
2f3108ad 1274 (license l:perl-license)))
9473af1d 1275
f643a6e9
EB
1276(define-public perl-catalyst-model-dbic-schema
1277 (package
1278 (name "perl-catalyst-model-dbic-schema")
1279 (version "0.65")
1280 (source
1281 (origin
1282 (method url-fetch)
1283 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1284 "Catalyst-Model-DBIC-Schema-"
1285 version ".tar.gz"))
1286 (sha256
1287 (base32
1288 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1289 (build-system perl-build-system)
1290 (native-inputs
1291 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
2f837cf7 1292 ("perl-module-install" ,perl-module-install)
f643a6e9
EB
1293 ("perl-test-exception" ,perl-test-exception)
1294 ("perl-test-requires" ,perl-test-requires)))
1295 (propagated-inputs
1296 `(("perl-carp-clan" ,perl-carp-clan)
1297 ("perl-catalyst-component-instancepercontext"
1298 ,perl-catalyst-component-instancepercontext)
1299 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1300 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1301 ("perl-dbix-class" ,perl-dbix-class)
1302 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1303 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1304 ("perl-hash-merge" ,perl-hash-merge)
1305 ("perl-list-moreutils" ,perl-list-moreutils)
1306 ("perl-module-runtime" ,perl-module-runtime)
1307 ("perl-moose" ,perl-moose)
1308 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1309 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1310 ("perl-moosex-types" ,perl-moosex-types)
1311 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1312 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1313 ("perl-namespace-clean" ,perl-namespace-clean)
1314 ("perl-tie-ixhash" ,perl-tie-ixhash)
1315 ("perl-try-tiny" ,perl-try-tiny)))
1316 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1317 (synopsis "DBIx::Class::Schema Model Class")
1318 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1319Models.")
2f3108ad 1320 (license l:perl-license)))
f643a6e9 1321
0a74d78d
EB
1322(define-public perl-catalyst-plugin-accesslog
1323 (package
1324 (name "perl-catalyst-plugin-accesslog")
9fc41452 1325 (version "1.10")
0a74d78d
EB
1326 (source
1327 (origin
1328 (method url-fetch)
1329 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1330 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1331 (sha256
1332 (base32
9fc41452 1333 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
0a74d78d
EB
1334 (build-system perl-build-system)
1335 (propagated-inputs
1336 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1337 ("perl-datetime" ,perl-datetime)
1338 ("perl-moose" ,perl-moose)
1339 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
0a74d78d
EB
1340 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1341 (synopsis "Request logging from within Catalyst")
1342 (description "This Catalyst plugin enables you to create \"access logs\"
1343from within a Catalyst application instead of requiring a webserver to do it
1344for you. It will work even with Catalyst debug logging turned off.")
2f3108ad 1345 (license l:perl-license)))
0a74d78d 1346
4b4fe57d
EB
1347(define-public perl-catalyst-plugin-authentication
1348 (package
1349 (name "perl-catalyst-plugin-authentication")
1350 (version "0.10023")
1351 (source
1352 (origin
1353 (method url-fetch)
1354 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1355 "Catalyst-Plugin-Authentication-"
1356 version ".tar.gz"))
1357 (sha256
1358 (base32
1359 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1360 (build-system perl-build-system)
2f837cf7
MB
1361 (native-inputs
1362 `(("perl-module-install" ,perl-module-install)))
4b4fe57d
EB
1363 (propagated-inputs
1364 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1365 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1366 ("perl-class-inspector" ,perl-class-inspector)
1367 ("perl-moose" ,perl-moose)
1368 ("perl-moosex-emulate-class-accessor-fast"
1369 ,perl-moosex-emulate-class-accessor-fast)
1370 ("perl-mro-compat" ,perl-mro-compat)
1371 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1372 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1373 ("perl-test-exception" ,perl-test-exception)
1374 ("perl-try-tiny" ,perl-try-tiny)))
1375 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1376 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1377 (description "The authentication plugin provides generic user support for
e881752c 1378Catalyst apps. It is the basis for both authentication (checking the user is
4b4fe57d
EB
1379who they claim to be), and authorization (allowing the user to do what the
1380system authorises them to do).")
2f3108ad 1381 (license l:perl-license)))
4b4fe57d 1382
514214cb
EB
1383(define-public perl-catalyst-plugin-authorization-roles
1384 (package
1385 (name "perl-catalyst-plugin-authorization-roles")
1386 (version "0.09")
1387 (source
1388 (origin
1389 (method url-fetch)
1390 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1391 "Catalyst-Plugin-Authorization-Roles-"
1392 version ".tar.gz"))
1393 (sha256
1394 (base32
1395 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1396 (build-system perl-build-system)
1397 (native-inputs
2f837cf7
MB
1398 `(("perl-module-install" ,perl-module-install)
1399 ("perl-test-exception" ,perl-test-exception)))
514214cb
EB
1400 (propagated-inputs
1401 `(("perl-catalyst-plugin-authentication"
1402 ,perl-catalyst-plugin-authentication)
1403 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1404 ("perl-set-object" ,perl-set-object)
1405 ("perl-universal-isa" ,perl-universal-isa)))
1406 (home-page
1407 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1408 (synopsis "Role-based authorization for Catalyst")
1409 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1410authorization for Catalyst based on Catalyst::Plugin::Authentication.")
2f3108ad 1411 (license l:perl-license)))
514214cb 1412
57c2680e
EB
1413(define-public perl-catalyst-plugin-captcha
1414 (package
1415 (name "perl-catalyst-plugin-captcha")
1416 (version "0.04")
1417 (source
1418 (origin
1419 (method url-fetch)
1420 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1421 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1422 (sha256
1423 (base32
1424 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1425 (build-system perl-build-system)
1426 (propagated-inputs
1427 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1428 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1429 ("perl-gd-securityimage" ,perl-gd-securityimage)
1430 ("perl-http-date" ,perl-http-date)))
1431 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1432 (synopsis "Captchas for Catalyst")
1433 (description "This plugin creates and validates Captcha images for
1434Catalyst.")
2f3108ad 1435 (license l:perl-license)))
57c2680e 1436
7c4eaa56
EB
1437(define-public perl-catalyst-plugin-configloader
1438 (package
1439 (name "perl-catalyst-plugin-configloader")
1440 (version "0.34")
1441 (source
1442 (origin
1443 (method url-fetch)
1444 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1445 "Catalyst-Plugin-ConfigLoader-"
1446 version ".tar.gz"))
1447 (sha256
1448 (base32
1449 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1450 (build-system perl-build-system)
1451 (native-inputs
2f837cf7
MB
1452 `(("perl-path-class" ,perl-path-class)
1453 ("perl-module-install" ,perl-module-install)))
7c4eaa56
EB
1454 (propagated-inputs
1455 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1456 ("perl-config-any" ,perl-config-any)
1457 ("perl-data-visitor" ,perl-data-visitor)
1458 ("perl-mro-compat" ,perl-mro-compat)))
1459 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1460 (synopsis "Load config files of various types")
1461 (description "This module will attempt to load find and load configuration
1462files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1463formats.")
2f3108ad 1464 (license l:perl-license)))
7c4eaa56 1465
3d4644e4
EB
1466(define-public perl-catalyst-plugin-session
1467 (package
1468 (name "perl-catalyst-plugin-session")
e8b20020 1469 (version "0.40")
3d4644e4
EB
1470 (source
1471 (origin
1472 (method url-fetch)
1473 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1474 "Catalyst-Plugin-Session-" version ".tar.gz"))
1475 (sha256
1476 (base32
e8b20020 1477 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
3d4644e4
EB
1478 (build-system perl-build-system)
1479 (native-inputs
2f837cf7
MB
1480 `(("perl-module-install" ,perl-module-install)
1481 ("perl-test-deep" ,perl-test-deep)
3d4644e4
EB
1482 ("perl-test-exception" ,perl-test-exception)))
1483 (propagated-inputs
1484 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1485 ("perl-moose" ,perl-moose)
1486 ("perl-moosex-emulate-class-accessor-fast"
1487 ,perl-moosex-emulate-class-accessor-fast)
e8b20020 1488 ("perl-mro-compat" ,perl-mro-compat)
3d4644e4
EB
1489 ("perl-namespace-clean" ,perl-namespace-clean)
1490 ("perl-object-signature" ,perl-object-signature)
1491 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1492 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1493 (synopsis "Catalyst generic session plugin")
1494 (description "This plugin links the two pieces required for session
1495management in web applications together: the state, and the store.")
2f3108ad 1496 (license l:perl-license)))
3d4644e4 1497
be734479
EB
1498(define-public perl-catalyst-plugin-session-state-cookie
1499 (package
1500 (name "perl-catalyst-plugin-session-state-cookie")
1501 (version "0.17")
1502 (source
1503 (origin
1504 (method url-fetch)
1505 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1506 "Catalyst-Plugin-Session-State-Cookie-"
1507 version ".tar.gz"))
1508 (sha256
1509 (base32
1510 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1511 (build-system perl-build-system)
2f837cf7
MB
1512 (native-inputs
1513 `(("perl-module-install" ,perl-module-install)))
be734479
EB
1514 (propagated-inputs
1515 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1516 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1517 ("perl-moose" ,perl-moose)
1518 ("perl-mro-compat" ,perl-mro-compat)
1519 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1520 (home-page
1521 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1522 (synopsis "Maintain session IDs using cookies")
1523 (description "In order for Catalyst::Plugin::Session to work, the session
1524ID needs to be stored on the client, and the session data needs to be stored
1525on the server. This plugin stores the session ID on the client using the
1526cookie mechanism.")
2f3108ad 1527 (license l:perl-license)))
be734479 1528
47533b6f
EB
1529(define-public perl-catalyst-plugin-session-store-fastmmap
1530 (package
1531 (name "perl-catalyst-plugin-session-store-fastmmap")
1532 (version "0.16")
1533 (source
1534 (origin
1535 (method url-fetch)
1536 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1537 "Catalyst-Plugin-Session-Store-FastMmap-"
1538 version ".tar.gz"))
1539 (sha256
1540 (base32
1541 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1542 (build-system perl-build-system)
1543 (propagated-inputs
1544 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1545 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1546 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1547 ("perl-moosex-emulate-class-accessor-fast"
1548 ,perl-moosex-emulate-class-accessor-fast)
1549 ("perl-mro-compat" ,perl-mro-compat)
1550 ("perl-path-class" ,perl-path-class)))
1551 (home-page
1552 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
e881752c 1553 (synopsis "FastMmap session storage backend")
47533b6f
EB
1554 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1555storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1556memory interprocess cache. It is based on Cache::FastMmap.")
2f3108ad 1557 (license l:perl-license)))
47533b6f 1558
996f4110
EB
1559(define-public perl-catalyst-plugin-stacktrace
1560 (package
1561 (name "perl-catalyst-plugin-stacktrace")
1562 (version "0.12")
1563 (source
1564 (origin
1565 (method url-fetch)
1566 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1567 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1568 (sha256
1569 (base32
1570 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1571 (build-system perl-build-system)
2f837cf7
MB
1572 (native-inputs
1573 `(("perl-module-install" ,perl-module-install)))
996f4110
EB
1574 (propagated-inputs
1575 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1576 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1577 ("perl-mro-compat" ,perl-mro-compat)))
1578 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1579 (synopsis "Stack trace on the Catalyst debug screen")
1580 (description "This plugin enhances the standard Catalyst debug screen by
69b4ffcf 1581including a stack trace of your application up to the point where the error
996f4110
EB
1582occurred. Each stack frame is displayed along with the package name, line
1583number, file name, and code context surrounding the line number.")
2f3108ad 1584 (license l:perl-license)))
996f4110 1585
4cb5426c
EB
1586(define-public perl-catalyst-plugin-static-simple
1587 (package
1588 (name "perl-catalyst-plugin-static-simple")
1589 (version "0.33")
1590 (source
1591 (origin
1592 (method url-fetch)
1593 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1594 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1595 (sha256
1596 (base32
1597 "1h8f12bhzh0ssq9gs8r9g3hqn8zn2k0q944vc1vm8j81bns16msy"))))
1598 (build-system perl-build-system)
2f837cf7
MB
1599 (native-inputs
1600 `(("perl-module-install" ,perl-module-install)))
4cb5426c
EB
1601 (propagated-inputs
1602 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1603 ("perl-mime-types" ,perl-mime-types)
1604 ("perl-moose" ,perl-moose)
1605 ("perl-moosex-types" ,perl-moosex-types)
1606 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1607 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1608 (synopsis "Simple serving of static pages")
1609 (description "The Static::Simple plugin is designed to make serving static
1610content in your application during development quick and easy, without
1611requiring a single line of code from you. This plugin detects static files by
1612looking at the file extension in the URL (such as .css or .png or .js). The
1613plugin uses the lightweight MIME::Types module to map file extensions to
1614IANA-registered MIME types, and will serve your static files with the correct
1615MIME type directly to the browser, without being processed through Catalyst.")
2f3108ad 1616 (license l:perl-license)))
4cb5426c 1617
91f06299
EB
1618(define-public perl-catalyst-runtime
1619 (package
1620 (name "perl-catalyst-runtime")
a21db79e 1621 (version "5.90115")
91f06299
EB
1622 (source
1623 (origin
1624 (method url-fetch)
1625 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1626 "Catalyst-Runtime-" version ".tar.gz"))
1627 (sha256
1628 (base32
a21db79e 1629 "0kh3ng6pjpxmndq9vrn515f70x7h44ish5bsgjwj4pjvchcyivzm"))))
91f06299
EB
1630 (build-system perl-build-system)
1631 (native-inputs
a21db79e
MB
1632 `(("perl-module-install" ,perl-module-install)
1633 ("perl-test-fatal" ,perl-test-fatal)))
91f06299
EB
1634 (propagated-inputs
1635 `(("perl-cgi-simple" ,perl-cgi-simple)
1636 ("perl-cgi-struct" ,perl-cgi-struct)
1637 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1638 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1639 ("perl-class-date" ,perl-class-date)
1640 ("perl-class-load" ,perl-class-load)
1641 ("perl-data-dump" ,perl-data-dump)
1642 ("perl-http-body" ,perl-http-body)
1643 ("perl-http-message" ,perl-http-message)
1644 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1645 ("perl-io-stringy" ,perl-io-stringy)
1646 ("perl-json-maybexs" ,perl-json-maybexs)
1647 ("perl-libwww" ,perl-libwww)
a2190ccc 1648 ("perl-module-pluggable" ,perl-module-pluggable)
91f06299
EB
1649 ("perl-moose" ,perl-moose)
1650 ("perl-moosex-emulate-class-accessor-fast"
1651 ,perl-moosex-emulate-class-accessor-fast)
1652 ("perl-moosex-getopt" ,perl-moosex-getopt)
1653 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1654 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1655 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1656 ("perl-namespace-clean" ,perl-namespace-clean)
1657 ("perl-path-class" ,perl-path-class)
1658 ("perl-plack" ,perl-plack)
1659 ("perl-plack-middleware-fixmissingbodyinredirect"
1660 ,perl-plack-middleware-fixmissingbodyinredirect)
1661 ("perl-plack-middleware-methodoverride"
1662 ,perl-plack-middleware-methodoverride)
1663 ("perl-plack-middleware-removeredundantbody"
1664 ,perl-plack-middleware-removeredundantbody)
1665 ("perl-plack-middleware-reverseproxy"
1666 ,perl-plack-middleware-reverseproxy)
1667 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1668 ("perl-safe-isa" ,perl-safe-isa)
1669 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1670 ("perl-text-simpletable" ,perl-text-simpletable)
1671 ("perl-tree-simple" ,perl-tree-simple)
1672 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1673 ("perl-try-tiny" ,perl-try-tiny)
1674 ("perl-uri" ,perl-uri)
1675 ("perl-uri-ws" ,perl-uri-ws)))
1676 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1677 (synopsis "The Catalyst Framework Runtime")
1678 (description "Catalyst is a modern framework for making web applications.
1679It is designed to make it easy to manage the various tasks you need to do to
1680run an application on the web, either by doing them itself, or by letting you
1681\"plug in\" existing Perl modules that do what you need.")
2f3108ad 1682 (license l:perl-license)))
91f06299 1683
b902eb1c
EB
1684(define-public perl-catalyst-traitfor-request-proxybase
1685 (package
1686 (name "perl-catalyst-traitfor-request-proxybase")
1687 (version "0.000005")
1688 (source
1689 (origin
1690 (method url-fetch)
1691 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1692 "Catalyst-TraitFor-Request-ProxyBase-"
1693 version ".tar.gz"))
1694 (sha256
1695 (base32
1696 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1697 (build-system perl-build-system)
1698 (native-inputs
1699 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1700 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
2f837cf7
MB
1701 ("perl-http-message" ,perl-http-message)
1702 ("perl-module-install" ,perl-module-install)))
b902eb1c
EB
1703 (propagated-inputs
1704 `(("perl-moose" ,perl-moose)
1705 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1706 ("perl-uri" ,perl-uri)))
1707 (home-page
1708 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1709 (synopsis "Replace request base with value passed by HTTP proxy")
1710 (description "This module is a Moose::Role which allows you more
1711flexibility in your application's deployment configurations when deployed
1712behind a proxy. Using this module, the request base ($c->req->base) is
1713replaced with the contents of the X-Request-Base header.")
2f3108ad 1714 (license l:perl-license)))
b902eb1c 1715
83261658
EB
1716(define-public perl-catalyst-view-download
1717 (package
1718 (name "perl-catalyst-view-download")
1719 (version "0.09")
1720 (source
1721 (origin
1722 (method url-fetch)
1723 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1724 "Catalyst-View-Download-" version ".tar.gz"))
1725 (sha256
1726 (base32
1727 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1728 (build-system perl-build-system)
1729 (native-inputs
1730 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2f837cf7 1731 ("perl-module-install" ,perl-module-install)
83261658
EB
1732 ("perl-test-simple" ,perl-test-simple)
1733 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1734 ("perl-text-csv" ,perl-text-csv)
1735 ("perl-xml-simple" ,perl-xml-simple)))
1736 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1737 (synopsis "Download data in many formats")
1738 (description "The purpose of this module is to provide a method for
1739downloading data into many supportable formats. For example, downloading a
e881752c 1740table based report in a variety of formats (CSV, HTML, etc.).")
2f3108ad 1741 (license l:perl-license)))
83261658 1742
c985cfe6
EB
1743(define-public perl-catalyst-view-json
1744 (package
1745 (name "perl-catalyst-view-json")
0018eb57 1746 (version "0.36")
c985cfe6
EB
1747 (source
1748 (origin
1749 (method url-fetch)
1750 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1751 "Catalyst-View-JSON-" version ".tar.gz"))
1752 (sha256
1753 (base32
0018eb57 1754 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
c985cfe6
EB
1755 (build-system perl-build-system)
1756 (native-inputs
2f837cf7
MB
1757 `(("perl-module-install" ,perl-module-install)
1758 ("perl-yaml" ,perl-yaml)))
c985cfe6
EB
1759 (inputs
1760 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1761 ("perl-json-maybexs" ,perl-json-maybexs)
1762 ("perl-mro-compat" ,perl-mro-compat)))
1763 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1764 (synopsis "Catalyst JSON view")
1765 (description "Catalyst::View::JSON is a Catalyst View handler that returns
1766stash data in JSON format.")
2f3108ad 1767 (license l:perl-license)))
c985cfe6 1768
5c2c9ab2
EB
1769(define-public perl-catalyst-view-tt
1770 (package
1771 (name "perl-catalyst-view-tt")
776ca1cb 1772 (version "0.44")
5c2c9ab2
EB
1773 (source
1774 (origin
1775 (method url-fetch)
94692757 1776 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
5c2c9ab2
EB
1777 "Catalyst-View-TT-" version ".tar.gz"))
1778 (sha256
1779 (base32
776ca1cb 1780 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
5c2c9ab2
EB
1781 (build-system perl-build-system)
1782 (propagated-inputs
1783 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1784 ("perl-class-accessor" ,perl-class-accessor)
776ca1cb 1785 ("perl-data-dump" ,perl-data-dump)
5c2c9ab2
EB
1786 ("perl-mro-compat" ,perl-mro-compat)
1787 ("perl-path-class" ,perl-path-class)
1788 ("perl-template-timer" ,perl-template-timer)
1789 ("perl-template-toolkit" ,perl-template-toolkit)))
1790 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
1791 (synopsis "Template View Class")
1792 (description "This module is a Catalyst view class for the Template
1793Toolkit.")
2f3108ad 1794 (license l:perl-license)))
5c2c9ab2 1795
89a2aa36
EB
1796(define-public perl-catalystx-component-traits
1797 (package
1798 (name "perl-catalystx-component-traits")
1799 (version "0.19")
1800 (source
1801 (origin
1802 (method url-fetch)
1803 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
1804 "CatalystX-Component-Traits-" version ".tar.gz"))
1805 (sha256
1806 (base32
1807 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
1808 (build-system perl-build-system)
1809 (native-inputs
1810 `(("perl-moose" ,perl-moose)
1811 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1812 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
1813 (propagated-inputs
1814 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1815 ("perl-class-load" ,perl-class-load)
1816 ("perl-moose" ,perl-moose)
1817 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
1818 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1819 ("perl-list-moreutils" ,perl-list-moreutils)))
1820 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
1821 (synopsis "Trait Loading and Resolution for Catalyst Components")
1822 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
1823Catalyst component base class that reads the optional \"traits\" parameter
1824from app and component config and instantiates the component subclass with
1825those traits using \"new_with_traits\" in MooseX::Traits from
1826MooseX::Traits::Pluggable.")
2f3108ad 1827 (license l:perl-license)))
89a2aa36 1828
227687ae
EB
1829(define-public perl-catalystx-roleapplicator
1830 (package
1831 (name "perl-catalystx-roleapplicator")
1832 (version "0.005")
1833 (source
1834 (origin
1835 (method url-fetch)
1836 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
1837 "CatalystX-RoleApplicator-" version ".tar.gz"))
1838 (sha256
1839 (base32
1840 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
1841 (build-system perl-build-system)
1842 (propagated-inputs
1843 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1844 ("perl-moose" ,perl-moose)
1845 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
1846 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
1847 (synopsis "Apply roles to Catalyst classes")
1848 (description "CatalystX::RoleApplicator applies roles to Catalyst
1849application classes.")
2f3108ad 1850 (license l:perl-license)))
227687ae 1851
ca8e6196
EB
1852(define-public perl-catalystx-script-server-starman
1853 (package
1854 (name "perl-catalystx-script-server-starman")
1855 (version "0.02")
1856 (source
1857 (origin
1858 (method url-fetch)
1859 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
1860 "CatalystX-Script-Server-Starman-"
1861 version ".tar.gz"))
1862 (sha256
1863 (base32
1864 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
1865 (build-system perl-build-system)
1866 (native-inputs
2f837cf7
MB
1867 `(("perl-module-install" ,perl-module-install)
1868 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
ca8e6196
EB
1869 (propagated-inputs
1870 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1871 ("perl-moose" ,perl-moose)
1872 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1873 ("starman" ,starman)))
1874 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
1875 (synopsis "Catalyst development server with Starman")
1876 (description "This module provides a Catalyst extension to replace the
1877development server with Starman.")
2f3108ad 1878 (license l:perl-license)))
ca8e6196 1879
7b158c4e
EB
1880(define-public perl-cgi
1881 (package
1882 (name "perl-cgi")
caa01944 1883 (version "4.35")
7b158c4e
EB
1884 (source
1885 (origin
1886 (method url-fetch)
1887 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
1888 "CGI-" version ".tar.gz"))
1889 (sha256
1890 (base32
caa01944 1891 "07gwnlc7vq58fjwmfsrv0hfyirqqdrpjhf89caq34rjrkz2wsd0b"))))
7b158c4e
EB
1892 (build-system perl-build-system)
1893 (native-inputs
1894 `(("perl-test-deep" ,perl-test-deep)
1895 ("perl-test-nowarnings" ,perl-test-nowarnings)
1896 ("perl-test-warn" ,perl-test-warn)))
1897 (propagated-inputs
1898 `(("perl-html-parser" ,perl-html-parser)))
1899 (home-page "http://search.cpan.org/dist/CGI")
1900 (synopsis "Handle Common Gateway Interface requests and responses")
1901 (description "CGI.pm is a stable, complete and mature solution for
1902processing and preparing HTTP requests and responses. Major features include
1903processing form submissions, file uploads, reading and writing cookies, query
1904string generation and manipulation, and processing and preparing HTTP
1905headers.")
2f3108ad 1906 (license l:perl-license)))
7b158c4e 1907
0148aa55
EB
1908(define-public perl-cgi-simple
1909 (package
1910 (name "perl-cgi-simple")
1911 (version "1.115")
1912 (source
1913 (origin
1914 (method url-fetch)
1915 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
1916 "CGI-Simple-" version ".tar.gz"))
1917 (sha256
1918 (base32
1919 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
1920 (build-system perl-build-system)
1921 (native-inputs
bb8afbf5
LC
1922 `(("perl-module-build" ,perl-module-build)
1923 ("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
0148aa55
EB
1924 (home-page "http://search.cpan.org/dist/CGI-Simple")
1925 (synopsis "CGI interface that is CGI.pm compliant")
1926 (description "CGI::Simple provides a relatively lightweight drop in
1927replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
1928parameter parsing, file upload, cookie handling and header generation.")
2f3108ad 1929 (license l:perl-license)))
0148aa55 1930
76b8b86c
EB
1931(define-public perl-cgi-struct
1932 (package
1933 (name "perl-cgi-struct")
1934 (version "1.21")
1935 (source
1936 (origin
1937 (method url-fetch)
1938 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
1939 "CGI-Struct-" version ".tar.gz"))
1940 (sha256
1941 (base32
1942 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
1943 (build-system perl-build-system)
1944 (native-inputs
1945 `(("perl-test-deep" ,perl-test-deep)))
1946 (home-page "http://search.cpan.org/dist/CGI-Struct")
1947 (synopsis "Build structures from CGI data")
1948 (description "This is a module for building structured data from CGI
1949inputs, in a manner reminiscent of how PHP does.")
1950 (license l:bsd-2)))
1951
9151712c
EB
1952(define-public perl-datetime-format-http
1953 (package
1954 (name "perl-datetime-format-http")
1955 (version "0.42")
1956 (source
1957 (origin
1958 (method url-fetch)
1959 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
1960 "DateTime-Format-HTTP-" version ".tar.gz"))
1961 (sha256
1962 (base32
1963 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
1964 (build-system perl-build-system)
a2190ccc
EB
1965 (native-inputs
1966 `(("perl-module-build" ,perl-module-build)))
9151712c
EB
1967 (propagated-inputs
1968 `(("perl-datetime" ,perl-datetime)
1969 ("perl-http-date" ,perl-http-date)))
1970 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
1971 (synopsis "Date conversion routines")
1972 (description "This module provides functions that deal with the date
1973formats used by the HTTP protocol.")
2f3108ad 1974 (license l:perl-license)))
9151712c 1975
0a24e9b8
EB
1976(define-public perl-digest-md5-file
1977 (package
1978 (name "perl-digest-md5-file")
1979 (version "0.08")
1980 (source
1981 (origin
1982 (method url-fetch)
1983 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
1984 "Digest-MD5-File-" version ".tar.gz"))
1985 (sha256
1986 (base32
1987 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
1988 (build-system perl-build-system)
1989 (propagated-inputs
1990 `(("perl-libwww" ,perl-libwww)))
1991 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
1992 (synopsis "MD5 sums for files and urls")
1993 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
1994for files and urls.")
2f3108ad 1995 (license l:perl-license)))
0a24e9b8 1996
8142aff3
EB
1997(define-public perl-encode-locale
1998 (package
1999 (name "perl-encode-locale")
85b9c18b 2000 (version "1.05")
c9ea41ff
AE
2001 (source (origin
2002 (method url-fetch)
2003 (uri (string-append
8142aff3 2004 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
c9ea41ff
AE
2005 version ".tar.gz"))
2006 (sha256
2007 (base32
85b9c18b 2008 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
c9ea41ff 2009 (build-system perl-build-system)
2f3108ad 2010 (license l:perl-license)
8142aff3 2011 (synopsis "Perl locale encoding determination")
c9ea41ff 2012 (description
8142aff3 2013 "The POSIX locale system is used to specify both the language
7c125ce0
AK
2014conventions requested by the user and the preferred character set to
2015consume and output. The Encode::Locale module looks up the charset and
2016encoding (called a CODESET in the locale jargon) and arranges for the
2017Encode module to know this encoding under the name \"locale\". It means
2018bytes obtained from the environment can be converted to Unicode strings
2019by calling Encode::encode(locale => $bytes) and converted back again
2020with Encode::decode(locale => $string).")
8142aff3
EB
2021 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
2022
46173a0d 2023(define-public perl-feed-find
2024 (package
2025 (name "perl-feed-find")
2026 (version "0.07")
2027 (source (origin
2028 (method url-fetch)
2029 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2030 "Feed-Find-" version ".tar.gz"))
2031 (sha256
2032 (base32
2033 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2034 (build-system perl-build-system)
2035 (arguments
2036 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
70629b6d
LF
2037 `(#:tests? #f
2038 #:phases
2039 (modify-phases %standard-phases
2040 (add-after 'unpack 'set-env
2041 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
46173a0d 2042 (inputs
2043 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2044 ("perl-html-parser" ,perl-html-parser)
2045 ("perl-libwww" ,perl-libwww)
2046 ("perl-uri" ,perl-uri)))
2047 (home-page "http://search.cpan.org/dist/Feed-Find")
2048 (synopsis "Syndication feed auto-discovery")
2049 (description "@code{Feed::Find} implements feed auto-discovery for finding
2050syndication feeds, given a URI. It will discover the following feed formats:
2051RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2f3108ad 2052 (license l:perl-license)))
46173a0d 2053
8142aff3
EB
2054(define-public perl-file-listing
2055 (package
2056 (name "perl-file-listing")
2057 (version "6.04")
2058 (source (origin
2059 (method url-fetch)
2060 (uri (string-append
2061 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2062 version ".tar.gz"))
2063 (sha256
2064 (base32
2065 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2066 (build-system perl-build-system)
2067 (propagated-inputs
2068 `(("perl-http-date" ,perl-http-date)))
2f3108ad 2069 (license l:perl-license)
8142aff3
EB
2070 (synopsis "Perl directory listing parser")
2071 (description
2072 "The File::Listing module exports a single function called parse_dir(),
2073which can be used to parse directory listings.")
2074 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
c9ea41ff 2075
8b459932
EB
2076(define-public perl-finance-quote
2077 (package
2078 (name "perl-finance-quote")
97c0cfdc 2079 (version "1.38")
8b459932
EB
2080 (source
2081 (origin
2082 (method url-fetch)
2083 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2084 "Finance-Quote-" version ".tar.gz"))
2085 (sha256
2086 (base32
97c0cfdc 2087 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
fc1adab1
AK
2088 (patches (search-patches
2089 "perl-finance-quote-unuse-mozilla-ca.patch"))))
8b459932
EB
2090 (build-system perl-build-system)
2091 (propagated-inputs
a2190ccc
EB
2092 `(("perl-cgi" ,perl-cgi)
2093 ("perl-datetime" ,perl-datetime)
8b459932
EB
2094 ("perl-html-parser" ,perl-html-parser)
2095 ("perl-html-tableextract" ,perl-html-tableextract)
2096 ("perl-html-tree" ,perl-html-tree)
2097 ("perl-http-cookies" ,perl-http-cookies)
2098 ("perl-http-message" ,perl-http-message)
2099 ("perl-json" ,perl-json)
2100 ("perl-libwww" ,perl-libwww)
2101 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2102 ("perl-uri" ,perl-uri)))
2103 (home-page "http://search.cpan.org/dist/Finance-Quote")
2104 (synopsis "Stock and mutual fund quotes")
2105 (description
2106 "Finance::Quote gets stock quotes from various internet sources, including
2107Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2108 (license l:gpl2)))
2109
9fe938c1
EB
2110(define-public perl-gssapi
2111 (package
2112 (name "perl-gssapi")
2113 (version "0.28")
2114 (source
2115 (origin
2116 (method url-fetch)
2117 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2118 "GSSAPI-" version ".tar.gz"))
2119 (sha256
2120 (base32
2121 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2122 (build-system perl-build-system)
2123 (inputs `(("gssapi" ,mit-krb5)))
2124 (arguments
2125 `(#:make-maker-flags
2126 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2127 (home-page "http://search.cpan.org/dist/GSSAPI")
2128 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2129 (description "This is a Perl extension for using GSSAPI C bindings as
2130described in RFC 2744.")
2f3108ad 2131 (license l:perl-license)))
9fe938c1 2132
c1b9e7e7
EB
2133(define-public perl-html-element-extended
2134 (package
2135 (name "perl-html-element-extended")
2136 (version "1.18")
2137 (source
2138 (origin
2139 (method url-fetch)
2140 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2141 "HTML-Element-Extended-" version ".tar.gz"))
2142 (sha256
2143 (base32
2144 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2145 (build-system perl-build-system)
2146 (propagated-inputs
2147 `(("perl-html-tree" ,perl-html-tree)))
2148 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
2149 (synopsis "Manipulate tables of HTML::Element")
2150 (description
2151 "HTML::Element::Extended is a Perl extension for manipulating a table
2152composed of HTML::Element style components.")
2f3108ad 2153 (license l:perl-license)))
c1b9e7e7 2154
bab57fcd
EB
2155(define-public perl-html-form
2156 (package
2157 (name "perl-html-form")
2158 (version "6.03")
2159 (source
2160 (origin
2161 (method url-fetch)
2162 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2163 "HTML-Form-" version ".tar.gz"))
2164 (sha256
2165 (base32
2166 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2167 (build-system perl-build-system)
2168 (propagated-inputs
2169 `(("perl-html-parser" ,perl-html-parser)
2170 ("perl-html-tagset" ,perl-html-tagset)
2171 ("perl-http-message" ,perl-http-message)
2172 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2173 ("perl-uri" ,perl-uri)))
2174 (home-page "http://search.cpan.org/dist/HTML-Form")
2175 (synopsis "Perl class representing an HTML form element")
2176 (description "Objects of the HTML::Form class represents a single HTML
2177<form> ... </form> instance.")
2f3108ad 2178 (license l:perl-license)))
bab57fcd 2179
0cd2ab30
EB
2180(define-public perl-html-lint
2181 (package
2182 (name "perl-html-lint")
2183 (version "2.20")
2184 (source
2185 (origin
2186 (method url-fetch)
2187 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2188 "HTML-Lint-" version ".tar.gz"))
2189 (sha256
2190 (base32
2191 "15vrqjnlb0f8rib1kqdf4islqy6i33h08wy7b1bkgd550p7lfjwk"))))
2192 (build-system perl-build-system)
2193 (propagated-inputs
2194 `(("perl-html-parser" ,perl-html-parser)
2195 ("perl-html-tagset" ,perl-html-tagset)
2196 ("perl-libwww" ,perl-libwww)))
2197 (home-page "http://search.cpan.org/dist/HTML-Lint")
2198 (synopsis "Check for HTML errors in a string or file")
2199 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2200syntactic legitmacy.")
2201 (license l:artistic2.0)))
2202
9cf6c9fc
EB
2203(define-public perl-html-tableextract
2204 (package
2205 (name "perl-html-tableextract")
2206 (version "2.13")
2207 (source
2208 (origin
2209 (method url-fetch)
2210 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2211 "HTML-TableExtract-" version ".tar.gz"))
2212 (sha256
2213 (base32
2214 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2215 (build-system perl-build-system)
2216 (propagated-inputs
2217 `(("perl-html-element-extended" ,perl-html-element-extended)
2218 ("perl-html-parser" ,perl-html-parser)))
2219 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
2220 (synopsis "Extract contents from HTML tables")
2221 (description
2222 "HTML::TableExtract is a Perl module for extracting the content contained
2223in tables within an HTML document, either as text or encoded element trees.")
2f3108ad 2224 (license l:perl-license)))
9cf6c9fc 2225
ddc36cd8
EB
2226(define-public perl-html-tree
2227 (package
2228 (name "perl-html-tree")
86d1e079 2229 (version "5.06")
ddc36cd8
EB
2230 (source
2231 (origin
2232 (method url-fetch)
86d1e079 2233 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
ddc36cd8
EB
2234 "HTML-Tree-" version ".tar.gz"))
2235 (sha256
2236 (base32
86d1e079 2237 "0vjk4xrybjqs511qrh9cymhpbg9m3jjqr52qr035k6nzrccyndlw"))))
ddc36cd8
EB
2238 (build-system perl-build-system)
2239 (native-inputs
a2190ccc
EB
2240 `(("perl-module-build" ,perl-module-build)
2241 ("perl-test-fatal" ,perl-test-fatal)))
ddc36cd8
EB
2242 (propagated-inputs
2243 `(("perl-html-parser" ,perl-html-parser)
2244 ("perl-html-tagset" ,perl-html-tagset)
2245 ("perl-libwww" ,perl-libwww)))
2246 (home-page "http://search.cpan.org/dist/HTML-Tree")
2247 (synopsis "Work with HTML in a DOM-like tree structure")
2248 (description "This distribution contains a suite of modules for
2249representing, creating, and extracting information from HTML syntax trees.")
2f3108ad 2250 (license l:perl-license)))
ddc36cd8 2251
8ec0d3fb
AE
2252(define-public perl-html-parser
2253 (package
2254 (name "perl-html-parser")
3700b27d 2255 (version "3.72")
8ec0d3fb
AE
2256 (source (origin
2257 (method url-fetch)
2258 (uri (string-append
2259 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2260 version ".tar.gz"))
2261 (sha256
2262 (base32
3700b27d 2263 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
8ec0d3fb
AE
2264 (build-system perl-build-system)
2265 (inputs
3700b27d
EF
2266 `(("perl-html-tagset" ,perl-html-tagset)
2267 ("perl-http-message" ,perl-http-message)))
2f3108ad 2268 (license l:perl-license)
8ec0d3fb
AE
2269 (synopsis "Perl HTML parser class")
2270 (description
2271 "Objects of the HTML::Parser class will recognize markup and separate
2272it from plain text (alias data content) in HTML documents. As different
2273kinds of markup and text are recognized, the corresponding event handlers
2274are invoked.")
2275 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
ae2aa18d 2276
8142aff3 2277(define-public perl-html-tagset
ae2aa18d 2278 (package
8142aff3
EB
2279 (name "perl-html-tagset")
2280 (version "3.20")
ae2aa18d
AE
2281 (source (origin
2282 (method url-fetch)
2283 (uri (string-append
8142aff3 2284 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
ae2aa18d
AE
2285 version ".tar.gz"))
2286 (sha256
2287 (base32
8142aff3 2288 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
ae2aa18d 2289 (build-system perl-build-system)
2f3108ad 2290 (license l:perl-license)
8142aff3 2291 (synopsis "Perl data tables useful in parsing HTML")
ae2aa18d 2292 (description
8142aff3
EB
2293 "The HTML::Tagset module contains several data tables useful in various
2294kinds of HTML parsing operations.")
2295 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
fea5ebb1 2296
a05996e0
RW
2297(define-public perl-html-template
2298 (package
2299 (name "perl-html-template")
0762a1db 2300 (version "2.97")
a05996e0
RW
2301 (source (origin
2302 (method url-fetch)
0762a1db 2303 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
a05996e0
RW
2304 "HTML-Template-" version ".tar.gz"))
2305 (sha256
2306 (base32
0762a1db 2307 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
a05996e0 2308 (build-system perl-build-system)
a2190ccc
EB
2309 (propagated-inputs
2310 `(("perl-cgi" ,perl-cgi)))
a05996e0
RW
2311 (home-page "http://search.cpan.org/dist/HTML-Template")
2312 (synopsis "HTML-like templates")
2313 (description
2314 "This module attempts to make using HTML templates simple and natural.
2315It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2316@code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2317@code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2318these new tags is called a template. Using this module you fill in the values
2319for the variables, loops and branches declared in the template. This allows
2320you to separate design from the data.")
2f3108ad 2321 (license l:perl-license)))
a05996e0 2322
5ec8ec83
EB
2323(define-public perl-http-body
2324 (package
2325 (name "perl-http-body")
1bb8ca40 2326 (version "1.22")
5ec8ec83
EB
2327 (source
2328 (origin
2329 (method url-fetch)
2330 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2331 "HTTP-Body-" version ".tar.gz"))
2332 (sha256
2333 (base32
1bb8ca40 2334 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
5ec8ec83
EB
2335 (build-system perl-build-system)
2336 (native-inputs
2337 `(("perl-test-deep" ,perl-test-deep)))
2338 (propagated-inputs
2339 `(("perl-file-temp" ,perl-file-temp)
2340 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2341 (home-page "http://search.cpan.org/dist/HTTP-Body")
2342 (synopsis "HTTP Body Parser")
2343 (description "HTTP::Body parses chunks of HTTP POST data and supports
2344application/octet-stream, application/json, application/x-www-form-urlencoded,
2345and multipart/form-data.")
2f3108ad 2346 (license l:perl-license)))
5ec8ec83 2347
c8a316a3
EB
2348(define-public perl-http-cookiejar
2349 (package
2350 (name "perl-http-cookiejar")
1ade054c 2351 (version "0.008")
c8a316a3
EB
2352 (source
2353 (origin
2354 (method url-fetch)
2355 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2356 "HTTP-CookieJar-" version ".tar.gz"))
2357 (sha256
2358 (base32
1ade054c 2359 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
c8a316a3
EB
2360 (build-system perl-build-system)
2361 (native-inputs
2362 `(("perl-test-deep" ,perl-test-deep)
2363 ("perl-test-requires" ,perl-test-requires)
1ade054c
EF
2364 ("perl-time-mock" ,perl-time-mock)
2365 ("perl-uri" ,perl-uri)))
c8a316a3
EB
2366 (inputs
2367 `(("perl-time-local" ,perl-time-local)
2368 ("perl-http-date" ,perl-http-date)))
2369 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2370 (synopsis "Minimalist HTTP user agent cookie jar")
2371 (description "This module implements a minimalist HTTP user agent cookie
2372jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2373 (license l:asl2.0)))
2374
8142aff3 2375(define-public perl-http-cookies
fea5ebb1 2376 (package
8142aff3
EB
2377 (name "perl-http-cookies")
2378 (version "6.01")
fea5ebb1
AE
2379 (source (origin
2380 (method url-fetch)
2381 (uri (string-append
8142aff3 2382 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-"
fea5ebb1
AE
2383 version ".tar.gz"))
2384 (sha256
2385 (base32
8142aff3 2386 "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm"))))
fea5ebb1 2387 (build-system perl-build-system)
8142aff3
EB
2388 (propagated-inputs
2389 `(("perl-http-message" ,perl-http-message)))
2f3108ad 2390 (license l:perl-license)
8142aff3 2391 (synopsis "Perl HTTP cookie jars")
fea5ebb1 2392 (description
8142aff3
EB
2393 "The HTTP::Cookies class is for objects that represent a cookie jar,
2394that is, a database of all the HTTP cookies that a given LWP::UserAgent
2395object knows about.")
2396 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
24b3c053 2397
8142aff3 2398(define-public perl-http-daemon
24b3c053 2399 (package
8142aff3
EB
2400 (name "perl-http-daemon")
2401 (version "6.01")
24b3c053
AE
2402 (source (origin
2403 (method url-fetch)
2404 (uri (string-append
8142aff3 2405 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
24b3c053
AE
2406 version ".tar.gz"))
2407 (sha256
2408 (base32
8142aff3 2409 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
24b3c053 2410 (build-system perl-build-system)
8142aff3
EB
2411 (propagated-inputs
2412 `(("perl-http-message" ,perl-http-message)
2413 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2f3108ad 2414 (license l:perl-license)
8142aff3 2415 (synopsis "Perl simple http server class")
24b3c053 2416 (description
8142aff3
EB
2417 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2418on a socket for incoming requests. The HTTP::Daemon is a subclass of
2419IO::Socket::INET, so you can perform socket operations directly on it too.")
2420 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
e426106b 2421
8142aff3 2422(define-public perl-http-date
e426106b 2423 (package
8142aff3
EB
2424 (name "perl-http-date")
2425 (version "6.02")
e426106b
AE
2426 (source (origin
2427 (method url-fetch)
2428 (uri (string-append
8142aff3 2429 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
e426106b
AE
2430 version ".tar.gz"))
2431 (sha256
2432 (base32
8142aff3 2433 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
e426106b 2434 (build-system perl-build-system)
2f3108ad 2435 (license l:perl-license)
8142aff3 2436 (synopsis "Perl date conversion routines")
e426106b 2437 (description
8142aff3
EB
2438 "The HTTP::Date module provides functions that deal with date formats
2439used by the HTTP protocol (and then some more).")
2440 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
91318a9e
AE
2441
2442(define-public perl-http-message
2443 (package
2444 (name "perl-http-message")
a8a7227b 2445 (version "6.11")
91318a9e
AE
2446 (source (origin
2447 (method url-fetch)
2448 (uri (string-append
084f8e04 2449 "mirror://cpan/authors/id/E/ET/ETHER/HTTP-Message-"
91318a9e
AE
2450 version ".tar.gz"))
2451 (sha256
2452 (base32
a8a7227b 2453 "06yq6cjx4vzl4if4ykap77xsrrd8aa7ish90k7cqi8g6g83nicz7"))))
91318a9e 2454 (build-system perl-build-system)
daee66fc 2455 (propagated-inputs
a8a7227b
EF
2456 `(("perl-encode-locale" ,perl-encode-locale)
2457 ("perl-http-date" ,perl-http-date)
d8450272
EB
2458 ("perl-io-html" ,perl-io-html)
2459 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
f852114e 2460 ("perl-uri" ,perl-uri)))
2f3108ad 2461 (license l:perl-license)
91318a9e
AE
2462 (synopsis "Perl HTTP style message")
2463 (description
2464 "An HTTP::Message object contains some headers and a content body.")
084f8e04 2465 (home-page "http://search.cpan.org/~ether/HTTP-Message/")))
b3d18aff 2466
8142aff3 2467(define-public perl-http-negotiate
b3d18aff 2468 (package
8142aff3 2469 (name "perl-http-negotiate")
b3d18aff
AE
2470 (version "6.01")
2471 (source (origin
2472 (method url-fetch)
2473 (uri (string-append
8142aff3 2474 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
b3d18aff
AE
2475 version ".tar.gz"))
2476 (sha256
2477 (base32
8142aff3 2478 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
b3d18aff 2479 (build-system perl-build-system)
800de8da 2480 (propagated-inputs
f852114e 2481 `(("perl-http-message" ,perl-http-message)))
2f3108ad 2482 (license l:perl-license)
8142aff3 2483 (synopsis "Perl http content negotiation")
b3d18aff 2484 (description
8142aff3
EB
2485 "The HTTP::Negotiate module provides a complete implementation of the
2486HTTP content negotiation algorithm specified in
2487draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2488the selection of a preferred content representation based upon attributes
2489of the negotiable variants and the value of the various Accept* header
2490fields in the request.")
2491 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
3f41e6b3 2492
d3182b42
EB
2493(define-public perl-http-parser
2494 (package
2495 (name "perl-http-parser")
2496 (version "0.06")
2497 (source
2498 (origin
2499 (method url-fetch)
2500 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2501 "HTTP-Parser-" version ".tar.gz"))
2502 (sha256
2503 (base32
2504 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2505 (build-system perl-build-system)
2506 (propagated-inputs
2507 `(("perl-http-message" ,perl-http-message)
2508 ("perl-uri" ,perl-uri)))
2509 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2510 (synopsis "Parse HTTP/1.1 requests")
2511 (description "This is an HTTP request parser. It takes chunks of text as
2512received and returns a 'hint' as to what is required, or returns the
2513HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2514supported.")
2f3108ad 2515 (license l:perl-license)))
d3182b42 2516
8ab39c2d
EB
2517(define-public perl-http-parser-xs
2518 (package
2519 (name "perl-http-parser-xs")
2520 (version "0.17")
2521 (source
2522 (origin
2523 (method url-fetch)
2524 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2525 "HTTP-Parser-XS-" version ".tar.gz"))
2526 (sha256
2527 (base32
2528 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2529 (build-system perl-build-system)
9dab5017
MB
2530 (native-inputs
2531 `(("perl-module-install" ,perl-module-install)))
8ab39c2d
EB
2532 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2533 (synopsis "Fast HTTP request parser")
2534 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2535parser.")
2f3108ad 2536 (license l:perl-license)))
8ab39c2d 2537
724d2227
EB
2538(define-public perl-http-request-ascgi
2539 (package
2540 (name "perl-http-request-ascgi")
2541 (version "1.2")
2542 (source
2543 (origin
2544 (method url-fetch)
2545 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2546 "HTTP-Request-AsCGI-" version ".tar.gz"))
2547 (sha256
2548 (base32
2549 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2550 (build-system perl-build-system)
2551 (propagated-inputs
2552 `(("perl-class-accessor" ,perl-class-accessor)
2553 ("perl-http-message" ,perl-http-message)))
2554 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2555 (synopsis "Set up a CGI environment from an HTTP::Request")
2556 (description "This module provides a convenient way to set up a CGI
2557environment from an HTTP::Request.")
2f3108ad 2558 (license l:perl-license)))
724d2227 2559
c94c7eef
EB
2560(define-public perl-http-server-simple
2561 (package
2562 (name "perl-http-server-simple")
5b3646f1 2563 (version "0.51")
c94c7eef
EB
2564 (source
2565 (origin
2566 (method url-fetch)
08af1a42 2567 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
c94c7eef
EB
2568 "HTTP-Server-Simple-" version ".tar.gz"))
2569 (sha256
2570 (base32
5b3646f1 2571 "1yvd2g57z2kq00q5i3zzfi15k98qgbif3vghjsda6v612agmrp5r"))))
c94c7eef 2572 (build-system perl-build-system)
a2190ccc
EB
2573 (propagated-inputs
2574 `(("perl-cgi" ,perl-cgi)))
c94c7eef
EB
2575 (arguments
2576 ;; See the discussion of a related tests issue at
2577 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
23212bf9
LC
2578 `(#:tests? #f
2579
2580 #:phases (modify-phases %standard-phases
2581 (add-before 'configure 'set-search-path
2582 (lambda _
2583 ;; Work around "dotless @INC" build failure.
2584 (setenv "PERL5LIB"
2585 (string-append (getcwd) ":"
2586 (getenv "PERL5LIB")))
2587 #t)))))
c94c7eef
EB
2588 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2589 (synopsis "Lightweight HTTP server")
2590 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2591no non-core module dependencies. It can be used for building a standalone
2592http-based UI to your existing tools.")
2f3108ad 2593 (license l:perl-license)))
c94c7eef 2594
c3c03beb
EB
2595(define-public perl-http-tiny
2596 (package
2597 (name "perl-http-tiny")
ee264bbf 2598 (version "0.070")
c3c03beb
EB
2599 (source
2600 (origin
2601 (method url-fetch)
2602 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2603 "HTTP-Tiny-" version ".tar.gz"))
2604 (sha256
2605 (base32
ee264bbf 2606 "0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
c3c03beb
EB
2607 (build-system perl-build-system)
2608 (inputs
2609 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2610 ("perl-io-socket-ip" ,perl-io-socket-ip)
2611 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
ee264bbf 2612 ("perl-mozilla-ca" ,perl-mozilla-ca)
c3c03beb
EB
2613 ("perl-net-ssleay" ,perl-net-ssleay)))
2614 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2615 (synopsis "HTTP/1.1 client")
2616 (description "This is a very simple HTTP/1.1 client, designed for doing
2617simple requests without the overhead of a large framework like LWP::UserAgent.
2618It supports proxies and redirection. It also correctly resumes after EINTR.")
2f3108ad 2619 (license l:perl-license)))
c3c03beb 2620
8142aff3 2621(define-public perl-io-html
3f41e6b3 2622 (package
8142aff3
EB
2623 (name "perl-io-html")
2624 (version "1.00")
3f41e6b3
AE
2625 (source (origin
2626 (method url-fetch)
2627 (uri (string-append
8142aff3 2628 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
3f41e6b3
AE
2629 version ".tar.gz"))
2630 (sha256
2631 (base32
8142aff3 2632 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
3f41e6b3 2633 (build-system perl-build-system)
2f3108ad 2634 (license l:perl-license)
8142aff3 2635 (synopsis "Perl module to open an HTML file with automatic charset detection")
3f41e6b3 2636 (description
8142aff3
EB
2637 "IO::HTML provides an easy way to open a file containing HTML while
2638automatically determining its encoding. It uses the HTML5 encoding sniffing
2639algorithm specified in section 8.2.2.1 of the draft standard.")
2640 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
e7444ee2 2641
2b63ebc1
EB
2642(define-public perl-io-socket-ip
2643 (package
2644 (name "perl-io-socket-ip")
2645 (version "0.36")
2646 (source
2647 (origin
2648 (method url-fetch)
2649 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2650 "IO-Socket-IP-" version ".tar.gz"))
2651 (sha256
2652 (base32
2653 "0ky20hmln6waipzqikizyw04vpszf70fgpshz7ib8zv8480ri456"))))
2654 (build-system perl-build-system)
a2190ccc 2655 (native-inputs `(("perl-module-build" ,perl-module-build)))
2b63ebc1
EB
2656 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2657 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2658 (description "This module provides a protocol-independent way to use IPv4
2659and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2f3108ad 2660 (license l:perl-license)))
2b63ebc1 2661
8142aff3 2662(define-public perl-io-socket-ssl
e7444ee2 2663 (package
8142aff3 2664 (name "perl-io-socket-ssl")
c5776c87 2665 (version "2.038")
8142aff3
EB
2666 (source (origin
2667 (method url-fetch)
2668 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2669 "IO-Socket-SSL-" version ".tar.gz"))
2670 (sha256
2671 (base32
c5776c87 2672 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
fc1adab1
AK
2673 (patches (search-patches
2674 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
8142aff3 2675 (build-system perl-build-system)
578aeea6 2676 (propagated-inputs
2677 `(("perl-net-ssleay" ,perl-net-ssleay)
2678 ;; for IDN support
2679 ("perl-uri" ,perl-uri)))
8142aff3
EB
2680 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2681 (description
2682 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2683necessary functionality into the familiar IO::Socket interface and providing
2684secure defaults whenever possible. This way existing applications can be made
2685SSL-aware without much effort, at least if you do blocking I/O and don't use
2686select or poll.")
2f3108ad 2687 (license l:perl-license)
8142aff3
EB
2688 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2689
2690(define-public perl-libwww
2691 (package
2692 (name "perl-libwww")
fb332b15 2693 (version "6.15")
e7444ee2
AE
2694 (source (origin
2695 (method url-fetch)
2696 (uri (string-append
bec820d9 2697 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
e7444ee2
AE
2698 version ".tar.gz"))
2699 (sha256
2700 (base32
fb332b15 2701 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
e7444ee2 2702 (build-system perl-build-system)
d0bb5f77 2703 (propagated-inputs
8142aff3
EB
2704 `(("perl-encode-locale" ,perl-encode-locale)
2705 ("perl-file-listing" ,perl-file-listing)
2706 ("perl-html-parser" ,perl-html-parser)
2707 ("perl-http-cookies" ,perl-http-cookies)
2708 ("perl-http-daemon" ,perl-http-daemon)
fb332b15
EF
2709 ("perl-http-date" ,perl-http-date)
2710 ("perl-http-message" ,perl-http-message)
8142aff3
EB
2711 ("perl-http-negotiate" ,perl-http-negotiate)
2712 ("perl-net-http" ,perl-net-http)
fb332b15 2713 ("perl-uri" ,perl-uri)
8142aff3 2714 ("perl-www-robotrules" ,perl-www-robotrules)))
2f3108ad 2715 (license l:perl-license)
8142aff3 2716 (synopsis "Perl modules for the WWW")
e7444ee2 2717 (description
8142aff3
EB
2718 "The libwww-perl collection is a set of Perl modules which provides a
2719simple and consistent application programming interface to the
2720World-Wide Web. The main focus of the library is to provide classes
2721and functions that allow you to write WWW clients. The library also
2722contains modules that are of more general use and even classes that
2723help you implement simple HTTP servers.")
bec820d9 2724 (home-page "http://search.cpan.org/dist/libwww-perl/")))
a3eb919f 2725
8142aff3 2726(define-public perl-lwp-mediatypes
a3eb919f 2727 (package
8142aff3 2728 (name "perl-lwp-mediatypes")
a3eb919f
AE
2729 (version "6.02")
2730 (source (origin
2731 (method url-fetch)
2732 (uri (string-append
8142aff3 2733 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
a3eb919f
AE
2734 version ".tar.gz"))
2735 (sha256
2736 (base32
8142aff3 2737 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
a3eb919f 2738 (build-system perl-build-system)
2f3108ad 2739 (license l:perl-license)
8142aff3 2740 (synopsis "Perl module to guess the media type for a file or a URL")
a3eb919f 2741 (description
8142aff3
EB
2742 "The LWP::MediaTypes module provides functions for handling media (also
2743known as MIME) types and encodings. The mapping from file extensions to
2744media types is defined by the media.types file. If the ~/.media.types file
2745exists it is used instead.")
2746 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
677078b4 2747
bdcfd18e
EB
2748(define-public perl-lwp-protocol-https
2749 (package
2750 (name "perl-lwp-protocol-https")
2751 (version "6.06")
2752 (source
2753 (origin
2754 (method url-fetch)
2755 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
2756 "LWP-Protocol-https-" version ".tar.gz"))
2757 (sha256
2758 (base32
2759 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
2760 (build-system perl-build-system)
2761 (propagated-inputs
2762 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2763 ("perl-libwww" ,perl-libwww)
2764 ;; Users should instead make sure SSL_ca_path is set properly.
2765 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
2766 ("perl-net-http" ,perl-net-http)))
2767 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
2768 (synopsis "HTTPS support for LWP::UserAgent")
2769 (description "The LWP::Protocol::https module provides support for using
2770https schemed URLs with LWP.")
2f3108ad 2771 (license l:perl-license)))
bdcfd18e 2772
6a58b092
EB
2773(define-public perl-lwp-useragent-determined
2774 (package
2775 (name "perl-lwp-useragent-determined")
2776 (version "1.07")
2777 (source
2778 (origin
2779 (method url-fetch)
2780 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
2781 "LWP-UserAgent-Determined-" version ".tar.gz"))
2782 (sha256
2783 (base32
2784 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
2785 (build-system perl-build-system)
2786 (propagated-inputs
2787 `(("perl-libwww" ,perl-libwww)))
2788 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
2789 (synopsis "Virtual browser that retries errors")
2790 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
2791except that when you use it to get a web page but run into a
2792possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
2793and retry a few times.")
2f3108ad 2794 (license l:perl-license)))
6a58b092 2795
38e62c81
EB
2796(define-public perl-net-amazon-s3
2797 (package
2798 (name "perl-net-amazon-s3")
2799 (version "0.60")
2800 (source
2801 (origin
2802 (method url-fetch)
2803 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
2804 "Net-Amazon-S3-" version ".tar.gz"))
2805 (sha256
2806 (base32
2807 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
fc1adab1
AK
2808 (patches (search-patches
2809 "perl-net-amazon-s3-moose-warning.patch"))))
38e62c81
EB
2810 (build-system perl-build-system)
2811 (native-inputs
2812 `(("perl-libwww" ,perl-libwww)
2813 ("perl-test-exception" ,perl-test-exception)))
2814 (propagated-inputs
2815 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
2816 ("perl-datetime-format-http" ,perl-datetime-format-http)
2817 ("perl-digest-hmac" ,perl-digest-hmac)
2818 ("perl-digest-md5-file" ,perl-digest-md5-file)
2819 ("perl-file-find-rule" ,perl-file-find-rule)
2820 ("perl-http-date" ,perl-http-date)
2821 ("perl-http-message" ,perl-http-message)
2822 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
2823 ("perl-mime-types" ,perl-mime-types)
2824 ("perl-moose" ,perl-moose)
2825 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
2826 ("perl-moosex-types-datetime-morecoercions"
2827 ,perl-moosex-types-datetime-morecoercions)
2828 ("perl-path-class" ,perl-path-class)
2829 ("perl-regexp-common" ,perl-regexp-common)
2830 ("perl-term-encoding" ,perl-term-encoding)
2831 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
2832 ("perl-uri" ,perl-uri)
2833 ("perl-xml-libxml" ,perl-xml-libxml)))
2834 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
2835 (synopsis "Perl interface to Amazon S3")
2836 (description "This module provides a Perlish interface to Amazon S3.")
2f3108ad 2837 (license l:perl-license)))
38e62c81 2838
677078b4
AE
2839(define-public perl-net-http
2840 (package
2841 (name "perl-net-http")
0eb3b5bd 2842 (version "6.07")
677078b4
AE
2843 (source (origin
2844 (method url-fetch)
2845 (uri (string-append
0eb3b5bd 2846 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
677078b4
AE
2847 version ".tar.gz"))
2848 (sha256
2849 (base32
0eb3b5bd 2850 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
677078b4 2851 (build-system perl-build-system)
0eb3b5bd
EB
2852 (propagated-inputs
2853 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2854 ("perl-uri" ,perl-uri)))
2f3108ad 2855 (license l:perl-license)
677078b4
AE
2856 (synopsis "Perl low-level HTTP connection (client)")
2857 (description
2858 "The Net::HTTP class is a low-level HTTP client. An instance of the
2859Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
2860is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
2861HTTP/1.1.")
0eb3b5bd 2862 (home-page "http://search.cpan.org/dist/Net-HTTP")))
56aa03b0 2863
be22d5fc
EB
2864(define-public perl-net-server
2865 (package
2866 (name "perl-net-server")
7eb09e39 2867 (version "2.009")
be22d5fc
EB
2868 (source
2869 (origin
2870 (method url-fetch)
2871 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
2872 "Net-Server-" version ".tar.gz"))
2873 (sha256
2874 (base32
7eb09e39 2875 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
be22d5fc
EB
2876 (build-system perl-build-system)
2877 (home-page "http://search.cpan.org/dist/Net-Server")
2878 (synopsis "Extensible Perl server engine")
2879 (description "Net::Server is an extensible, generic Perl server engine.
2880It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
2881It includes with it the ability to run as an inetd
2882process (Net::Server::INET), a single connection server (Net::Server or
2883Net::Server::Single), a forking server (Net::Server::Fork), a preforking
2884server which maintains a constant number of preforked
2885children (Net::Server::PreForkSimple), or as a managed preforking server which
2886maintains the number of children based on server load (Net::Server::PreFork).
2887In all but the inetd type, the server provides the ability to connect to one
2888or to multiple server ports.")
2f3108ad 2889 (license l:perl-license)))
be22d5fc 2890
b1096f3d
EB
2891(define-public perl-net-smtp-ssl
2892 (package
2893 (name "perl-net-smtp-ssl")
2894 (version "1.03")
2895 (source
2896 (origin
2897 (method url-fetch)
21085261 2898 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
b1096f3d
EB
2899 "Net-SMTP-SSL-" version ".tar.gz"))
2900 (sha256
21085261
EF
2901 (base32
2902 "05y94mb1vdw32mvwb0cp2h4ggh32f8j8nwwfjb8kjwxvfkfhyp9h"))))
b1096f3d
EB
2903 (build-system perl-build-system)
2904 (propagated-inputs
2905 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
2906 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
2907 (synopsis "SSL support for Net::SMTP")
e881752c 2908 (description "SSL support for Net::SMTP.")
2f3108ad 2909 (license l:perl-license)))
b1096f3d 2910
5933549d
EB
2911(define-public perl-plack
2912 (package
2913 (name "perl-plack")
2914 (version "1.0033")
2915 (source
2916 (origin
2917 (method url-fetch)
2918 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2919 "Plack-" version ".tar.gz"))
2920 (sha256
2921 (base32
2922 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
2923 (build-system perl-build-system)
2924 (native-inputs
2925 `(("perl-test-requires" ,perl-test-requires)
2926 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
2927 (propagated-inputs
2928 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
2929 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2930 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
2931 ("perl-file-sharedir" ,perl-file-sharedir)
2932 ("perl-hash-multivalue" ,perl-hash-multivalue)
2933 ("perl-http-body" ,perl-http-body)
2934 ("perl-http-message" ,perl-http-message)
2935 ("perl-http-tiny" ,perl-http-tiny)
2936 ("perl-libwww" ,perl-libwww)
2937 ("perl-stream-buffered" ,perl-stream-buffered)
2938 ("perl-test-tcp" ,perl-test-tcp)
2939 ("perl-try-tiny" ,perl-try-tiny)
2940 ("perl-uri" ,perl-uri)))
2941 (home-page "http://search.cpan.org/dist/Plack")
2942 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
2943 (description "Plack is a set of tools for using the PSGI stack. It
2944contains middleware components, a reference server, and utilities for Web
2945application frameworks. Plack is like Ruby's Rack or Python's Paste for
2946WSGI.")
2f3108ad 2947 (license l:perl-license)))
5933549d 2948
acd1f73a
EB
2949(define-public perl-plack-middleware-fixmissingbodyinredirect
2950 (package
2951 (name "perl-plack-middleware-fixmissingbodyinredirect")
2952 (version "0.12")
2953 (source
2954 (origin
2955 (method url-fetch)
2956 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2957 "Plack-Middleware-FixMissingBodyInRedirect-"
2958 version ".tar.gz"))
2959 (sha256
2960 (base32
2961 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
2962 (build-system perl-build-system)
2963 (native-inputs
2964 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
2965 ("perl-http-message" ,perl-http-message)
2966 ("perl-plack" ,perl-plack))) ;for Plack::Test
2967 (home-page
2968 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
2969 (synopsis "Plack::Middleware which sets body for redirect response")
2970 (description "This module sets the body in redirect response, if it's not
2971already set.")
2f3108ad 2972 (license l:perl-license)))
acd1f73a 2973
03d874d0
EB
2974(define-public perl-plack-middleware-methodoverride
2975 (package
2976 (name "perl-plack-middleware-methodoverride")
2977 (version "0.11")
2978 (source
2979 (origin
2980 (method url-fetch)
2981 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
2982 "Plack-Middleware-MethodOverride-"
2983 version ".tar.gz"))
2984 (sha256
2985 (base32
2986 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
2987 (build-system perl-build-system)
a2190ccc
EB
2988 (native-inputs
2989 `(("perl-module-build" ,perl-module-build)))
03d874d0
EB
2990 (propagated-inputs
2991 `(("perl-plack" ,perl-plack)))
2992 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
2993 (synopsis "Override REST methods to Plack apps via POST")
2994 (description "This middleware allows for POST requests that pretend to be
2995something else: by adding either a header named X-HTTP-Method-Override to the
2996request, or a query parameter named x-tunneled-method to the URI, the client
2997can say what method it actually meant.")
2f3108ad 2998 (license l:perl-license)))
03d874d0 2999
13e330be
EB
3000(define-public perl-plack-middleware-removeredundantbody
3001 (package
3002 (name "perl-plack-middleware-removeredundantbody")
3003 (version "0.05")
3004 (source
3005 (origin
3006 (method url-fetch)
3007 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3008 "Plack-Middleware-RemoveRedundantBody-"
3009 version ".tar.gz"))
3010 (sha256
3011 (base32
3012 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
3013 (build-system perl-build-system)
3014 (propagated-inputs
3015 `(("perl-plack" ,perl-plack)))
3016 (home-page
3017 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
3018 (synopsis "Plack::Middleware which removes body for HTTP response")
3019 (description "This module removes the body in an HTTP response if it's not
3020required.")
2f3108ad 3021 (license l:perl-license)))
13e330be 3022
ca157ba9
EB
3023(define-public perl-plack-middleware-reverseproxy
3024 (package
3025 (name "perl-plack-middleware-reverseproxy")
3026 (version "0.15")
3027 (source
3028 (origin
3029 (method url-fetch)
3030 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3031 "Plack-Middleware-ReverseProxy-"
3032 version ".tar.gz"))
3033 (sha256
3034 (base32
3035 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
3036 (build-system perl-build-system)
55cca6ac
MB
3037 (native-inputs
3038 `(("perl-module-install" ,perl-module-install)))
ca157ba9
EB
3039 (propagated-inputs
3040 `(("perl-plack" ,perl-plack)))
3041 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
3042 (synopsis "Supports app to run as a reverse proxy backend")
3043 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3044which are changed by reverse-proxy. You can specify the reverse proxy address
3045and stop fake requests using 'enable_if' directive in your app.psgi.")
2f3108ad 3046 (license l:perl-license)))
ca157ba9 3047
64b16bf7
EB
3048(define-public perl-plack-test-externalserver
3049 (package
3050 (name "perl-plack-test-externalserver")
3051 (version "0.01")
3052 (source
3053 (origin
3054 (method url-fetch)
3055 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3056 "Plack-Test-ExternalServer-" version ".tar.gz"))
3057 (sha256
3058 (base32
3059 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
3060 (build-system perl-build-system)
3061 (propagated-inputs
3062 `(("perl-plack" ,perl-plack)))
3063 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
3064 (synopsis "Run HTTP tests on external live servers")
3065 (description "This module allows your to run your Plack::Test tests
3066against an external server instead of just against a local application through
3067either mocked HTTP or a locally spawned server.")
2f3108ad 3068 (license l:perl-license)))
64b16bf7 3069
bb8bfe5e
EB
3070(define-public perl-test-tcp
3071 (package
3072 (name "perl-test-tcp")
3073 (version "2.06")
3074 (source
3075 (origin
3076 (method url-fetch)
3077 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3078 "Test-TCP-" version ".tar.gz"))
3079 (sha256
3080 (base32
3081 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
3082 (build-system perl-build-system)
3083 (propagated-inputs
3084 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3085 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3086 (home-page "http://search.cpan.org/dist/Test-TCP")
3087 (synopsis "Testing TCP programs")
3088 (description "Test::TCP is test utilities for TCP/IP programs.")
2f3108ad 3089 (license l:perl-license)))
bb8bfe5e 3090
0d991d2c
EB
3091(define-public perl-test-www-mechanize
3092 (package
3093 (name "perl-test-www-mechanize")
3094 (version "1.44")
3095 (source
3096 (origin
3097 (method url-fetch)
3098 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3099 "Test-WWW-Mechanize-" version ".tar.gz"))
3100 (sha256
3101 (base32
3102 "062pj242vsc73bw11jqpap92ax9wzc9f2m4xhyp1wzrwkfchpl2q"))))
3103 (build-system perl-build-system)
3104 (native-inputs
3105 `(("perl-test-exception" ,perl-test-exception)))
2f837cf7
MB
3106 (native-inputs
3107 `(("perl-module-install" ,perl-module-install)))
0d991d2c
EB
3108 (propagated-inputs
3109 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3110 ("perl-html-form" ,perl-html-form)
3111 ("perl-html-lint" ,perl-html-lint)
3112 ("perl-html-tree" ,perl-html-tree)
3113 ("perl-http-server-simple" ,perl-http-server-simple)
3114 ("perl-libwww" ,perl-libwww)
3115 ("perl-test-longstring" ,perl-test-longstring)
3116 ("perl-www-mechanize" ,perl-www-mechanize)))
3117 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
3118 (synopsis "Testing-specific WWW::Mechanize subclass")
3119 (description "Test::WWW::Mechanize is a subclass of the Perl module
3120WWW::Mechanize that incorporates features for web application testing.")
3121 (license l:artistic2.0)))
3122
13b2552c
EB
3123(define-public perl-test-www-mechanize-catalyst
3124 (package
3125 (name "perl-test-www-mechanize-catalyst")
3126 (version "0.60")
3127 (source
3128 (origin
3129 (method url-fetch)
3130 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
3131 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3132 (sha256
3133 (base32
3134 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
3135 (build-system perl-build-system)
3136 (native-inputs
3137 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3138 ("perl-catalyst-plugin-session-state-cookie"
3139 ,perl-catalyst-plugin-session-state-cookie)
2f837cf7 3140 ("perl-module-install" ,perl-module-install)
13b2552c
EB
3141 ("perl-test-exception" ,perl-test-exception)
3142 ("perl-test-pod" ,perl-test-pod)
3143 ("perl-test-utf8" ,perl-test-utf8)))
3144 (propagated-inputs
3145 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3146 ("perl-class-load" ,perl-class-load)
3147 ("perl-libwww" ,perl-libwww)
3148 ("perl-moose" ,perl-moose)
3149 ("perl-namespace-clean" ,perl-namespace-clean)
3150 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3151 ("perl-www-mechanize" ,perl-www-mechanize)))
3152 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
3153 (synopsis "Test::WWW::Mechanize for Catalyst")
3154 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3155Test::WWW:Mechanize module and the Catalyst web application framework to allow
3156testing of Catalyst applications without needing to start up a web server.")
2f3108ad 3157 (license l:perl-license)))
13b2552c 3158
715a0c51
EB
3159(define-public perl-test-www-mechanize-psgi
3160 (package
3161 (name "perl-test-www-mechanize-psgi")
3162 (version "0.35")
3163 (source
3164 (origin
3165 (method url-fetch)
3166 (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
3167 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3168 (sha256
3169 (base32
3170 "1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
3171 (build-system perl-build-system)
3172 (native-inputs
3173 `(("perl-test-pod" ,perl-test-pod)))
3174 (propagated-inputs
3175 `(("perl-plack" ,perl-plack)
3176 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3177 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
3178 (synopsis "Test PSGI programs using WWW::Mechanize")
3179 (description "PSGI is a specification to decouple web server environments
3180from web application framework code. Test::WWW::Mechanize is a subclass of
3181WWW::Mechanize that incorporates features for web application testing. The
3182Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3183applications.")
2f3108ad 3184 (license l:perl-license)))
715a0c51 3185
8142aff3 3186(define-public perl-uri
374a9a85 3187 (package
8142aff3 3188 (name "perl-uri")
01497dfe 3189 (version "1.71")
374a9a85
AE
3190 (source (origin
3191 (method url-fetch)
9acf97f2
EB
3192 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3193 "URI-" version ".tar.gz"))
374a9a85
AE
3194 (sha256
3195 (base32
01497dfe 3196 "05a1ck1bhvqkkk690xhsxf7276dnagk96qkh2jy4prrrgw6wm3lw"))))
374a9a85 3197 (build-system perl-build-system)
2f3108ad 3198 (license l:perl-license)
8142aff3 3199 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
374a9a85 3200 (description
8142aff3
EB
3201 "The URI module implements the URI class. Objects of this class
3202represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3203and updated by RFC 2732.")
9acf97f2 3204 (home-page "http://search.cpan.org/dist/URI/")))
d22d72fc 3205
b51b2bf3 3206(define-public perl-uri-fetch
3207 (package
3208 (name "perl-uri-fetch")
3209 (version "0.13")
3210 (source (origin
3211 (method url-fetch)
3212 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3213 "URI-Fetch-" version ".tar.gz"))
3214 (sha256
3215 (base32
3216 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3217 (build-system perl-build-system)
3218 (arguments
3219 `(#:tests? #f)) ; Tests require internet connection to succeed
3220 (inputs
3221 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3222 ("perl-libwww" ,perl-libwww)
3223 ("perl-uri" ,perl-uri)))
3224 (home-page "http://search.cpan.org/dist/URI-Fetch")
3225 (synopsis "Smart URI fetching/caching")
3226 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3227notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3228and time-saving way.")
2f3108ad 3229 (license l:perl-license)))
b51b2bf3 3230
5bb82fd0
EB
3231(define-public perl-uri-find
3232 (package
3233 (name "perl-uri-find")
3234 (version "20140709")
3235 (source
3236 (origin
3237 (method url-fetch)
3238 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3239 "URI-Find-" version ".tar.gz"))
3240 (sha256
3241 (base32
3242 "0czc4h182s7sx3k123m7qlg7yybnwxgh369hap3c3b6xgrglrhy0"))))
3243 (build-system perl-build-system)
a2190ccc
EB
3244 (native-inputs
3245 `(("perl-module-build" ,perl-module-build)))
5bb82fd0
EB
3246 (propagated-inputs
3247 `(("perl-uri" ,perl-uri)))
3248 (home-page "http://search.cpan.org/dist/URI-Find")
3249 (synopsis "Find URIs in arbitrary text")
3250 (description "This module finds URIs and URLs (according to what URI.pm
3251considers a URI) in plain text. It only finds URIs which include a
3252scheme (http:// or the like), for something a bit less strict, consider
3253URI::Find::Schemeless. For a command-line interface, urifind is provided.")
2f3108ad 3254 (license l:perl-license)))
5bb82fd0 3255
36a100a1
EB
3256(define-public perl-uri-ws
3257 (package
3258 (name "perl-uri-ws")
3259 (version "0.03")
3260 (source
3261 (origin
3262 (method url-fetch)
3263 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3264 "URI-ws-" version ".tar.gz"))
3265 (sha256
3266 (base32
3267 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3268 (build-system perl-build-system)
3269 (propagated-inputs
3270 `(("perl-uri" ,perl-uri)))
3271 (home-page "http://search.cpan.org/dist/URI-ws")
3272 (synopsis "WebSocket support for URI package")
3273 (description "With this module, the URI package provides the same set of
3274methods for WebSocket URIs as it does for HTTP URIs.")
2f3108ad 3275 (license l:perl-license)))
36a100a1 3276
105d4ee2 3277(define-public perl-uri-template
3278 (package
3279 (name "perl-uri-template")
3280 (version "0.22")
3281 (source (origin
3282 (method url-fetch)
3283 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3284 version ".tar.gz"))
3285 (sha256
3286 (base32
3287 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3288 (build-system perl-build-system)
3289 (inputs
3290 `(("perl-uri" ,perl-uri)))
3291 (native-inputs
3292 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3293 ("perl-test-pod" ,perl-test-pod)
9dab5017 3294 ("perl-module-install" ,perl-module-install)
105d4ee2 3295 ("perl-json" ,perl-json)))
3296 (home-page "http://search.cpan.org/dist/URI-Template")
3297 (synopsis "Object for handling URI templates")
3298 (description "This perl module provides a wrapper around URI templates as described in
3299RFC 6570.")
2f3108ad 3300 (license l:perl-license)))
105d4ee2 3301
d22d72fc
LC
3302(define-public perl-www-curl
3303 (package
3304 (name "perl-www-curl")
3305 (version "4.17")
3306 (source (origin
3307 (method url-fetch)
3308 (uri (string-append
3309 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3310 version".tar.gz"))
a19da406 3311 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
d22d72fc
LC
3312 (sha256
3313 (base32
3314 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3315 (build-system perl-build-system)
3316 (arguments
a56bf101
LC
3317 '(#:tests? #f ;XXX: tests require network access
3318
3319 #:phases (modify-phases %standard-phases
3320 (add-before 'configure 'set-search-path
3321 (lambda _
3322 ;; Work around "dotless @INC" build failure.
3323 (setenv "PERL5LIB"
3324 (string-append (getcwd) ":"
3325 (getenv "PERL5LIB")))
3326 #t)))))
9dab5017
MB
3327 (native-inputs
3328 `(("perl-module-install" ,perl-module-install)))
d22d72fc
LC
3329 (inputs `(("curl" ,curl)))
3330 (synopsis "Perl extension interface for libcurl")
3331 (description
3332 "This is a Perl extension interface for the libcurl file downloading
3333library.")
2f3108ad 3334 (license l:perl-license)
d22d72fc 3335 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3484d052 3336
0b1ed725
EB
3337(define-public perl-www-mechanize
3338 (package
3339 (name "perl-www-mechanize")
68d5906c 3340 (version "1.86")
0b1ed725
EB
3341 (source
3342 (origin
3343 (method url-fetch)
128c9b92 3344 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
0b1ed725
EB
3345 "WWW-Mechanize-" version ".tar.gz"))
3346 (sha256
3347 (base32
68d5906c 3348 "0sfl6b7mx8nannnh3ys5jk44d1s1b2d1mffrnrphkzzykaw6hm0f"))))
0b1ed725 3349 (build-system perl-build-system)
a2190ccc 3350 (native-inputs ;only for tests
68d5906c
MB
3351 `(("perl-cgi" ,perl-cgi)
3352 ("perl-test-deep" ,perl-test-deep)
3353 ("perl-test-fatal" ,perl-test-fatal)
3354 ("perl-test-output" ,perl-test-output)
3355 ("perl-test-warnings" ,perl-test-warnings)))
0b1ed725
EB
3356 (propagated-inputs
3357 `(("perl-html-form" ,perl-html-form)
3358 ("perl-html-parser" ,perl-html-parser)
68d5906c 3359 ("perl-html-tree" ,perl-html-tree)
0b1ed725
EB
3360 ("perl-http-message" ,perl-http-message)
3361 ("perl-http-server-simple" ,perl-http-server-simple)
3362 ("perl-libwww" ,perl-libwww)
3363 ("perl-test-warn" ,perl-test-warn)
3364 ("perl-uri" ,perl-uri)))
3365 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3366 (synopsis "Web browsing in a Perl object")
3367 (description "WWW::Mechanize is a Perl module for stateful programmatic
3368web browsing, used for automating interaction with websites.")
2f3108ad 3369 (license l:perl-license)))
0b1ed725 3370
823c8292 3371(define-public perl-www-opensearch
3372 (package
3373 (name "perl-www-opensearch")
3374 (version "0.17")
3375 (source (origin
3376 (method url-fetch)
3377 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3378 "WWW-OpenSearch-" version ".tar.gz"))
3379 (sha256
3380 (base32
3381 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3382 (build-system perl-build-system)
3383 (arguments
3384 `(#:tests? #f)) ; Tests require further modules to be packaged
88d5889c
MB
3385 (native-inputs
3386 `(("perl-module-install" ,perl-module-install)))
823c8292 3387 (inputs
3388 `(("perl-data-page" ,perl-data-page)
3389 ("perl-libwww" ,perl-libwww)
3390 ("perl-uri" ,perl-uri)
3391 ("perl-uri-template" ,perl-uri-template)
3392 ("perl-xml-feed" ,perl-xml-feed)
3393 ("perl-xml-libxml" ,perl-xml-libxml)))
3394 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3395 (synopsis "Search A9 OpenSearch compatible engines")
3396 (description
3397 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3398http://opensearch.a9.com} compatible search engines.")
2f3108ad 3399 (license l:perl-license)))
823c8292 3400
8142aff3 3401(define-public perl-www-robotrules
3484d052 3402 (package
8142aff3
EB
3403 (name "perl-www-robotrules")
3404 (version "6.02")
3484d052 3405 (source (origin
8142aff3
EB
3406 (method url-fetch)
3407 (uri (string-append
3408 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3409 version ".tar.gz"))
3410 (sha256
3411 (base32
3412 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3484d052 3413 (build-system perl-build-system)
8142aff3
EB
3414 (propagated-inputs
3415 `(("perl-uri" ,perl-uri)))
2f3108ad 3416 (license l:perl-license)
8142aff3 3417 (synopsis "Perl database of robots.txt-derived permissions")
5eb86b64 3418 (description
8142aff3
EB
3419 "The WWW::RobotRules module parses /robots.txt files as specified in
3420\"A Standard for Robot Exclusion\", at
3421<http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3422/robots.txt file to forbid conforming robots from accessing parts of
3423their web site.")
3424 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
a359c9c1 3425
da069d7e 3426(define-public python-feedparser
3427 (package
3428 (name "python-feedparser")
3429 (version "5.2.1")
3430 (source
3431 (origin
3432 (method url-fetch)
3433 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3434 (sha256
3435 (base32
3436 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3437 (build-system python-build-system)
92c3ef2c
LF
3438 (arguments
3439 '(#:tests? #f))
da069d7e 3440 (home-page
3441 "https://github.com/kurtmckee/feedparser")
3442 (synopsis "Parse feeds in Python")
3443 (description
3444 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3445CDF, Atom 0.3, and Atom 1.0 feeds.")
3446 (license (list l:bsd-2 ; source code
3447 l:freebsd-doc)))) ; documentation
3448
3449(define-public python2-feedparser
5c31f4aa 3450 (package-with-python2 python-feedparser))
da069d7e 3451
a359c9c1
RW
3452(define-public r-httpuv
3453 (package
3454 (name "r-httpuv")
2d81bc16 3455 (version "1.3.5")
a359c9c1
RW
3456 (source (origin
3457 (method url-fetch)
3458 (uri (cran-uri "httpuv" version))
3459 (sha256
3460 (base32
2d81bc16 3461 "1sg4f223zfyd265b28rlhsn3b6mqflcpnmya98cjmjncmy9vjdj3"))))
a359c9c1
RW
3462 (build-system r-build-system)
3463 (native-inputs `(("r-rcpp" ,r-rcpp)))
3464 (home-page "https://github.com/rstudio/httpuv")
3465 (synopsis "HTTP and WebSocket server library for R")
3466 (description
3467 "The httpuv package provides low-level socket and protocol support for
3468handling HTTP and WebSocket requests directly from within R. It is primarily
3469intended as a building block for other packages, rather than making it
3470particularly easy to create complete web applications using httpuv alone.")
3471 ;; This package includes third-party code that was originally released
3472 ;; under various non-copyleft licenses. Full licensing information can be
3473 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3474 (license l:gpl3+)))
21d3770e
RW
3475
3476(define-public r-jsonlite
3477 (package
3478 (name "r-jsonlite")
9fe794f0 3479 (version "1.5")
21d3770e
RW
3480 (source (origin
3481 (method url-fetch)
3482 (uri (cran-uri "jsonlite" version))
3483 (sha256
3484 (base32
9fe794f0 3485 "00lfg464jhf7k01bal9pcjvbdf5cxk6xi2h46hccp1x3h883g434"))))
21d3770e
RW
3486 (build-system r-build-system)
3487 (home-page "http://arxiv.org/abs/1403.2805")
3488 (synopsis "Robust, high performance JSON parser and generator for R")
3489 (description
3490 "The jsonlite package provides a fast JSON parser and generator optimized
3491for statistical data and the web. It offers flexible, robust, high
3492performance tools for working with JSON in R and is particularly powerful for
3493building pipelines and interacting with a web API. In addition to converting
3494JSON data from/to R objects, jsonlite contains functions to stream, validate,
3495and prettify JSON data. The unit tests included with the package verify that
3496all edge cases are encoded and decoded consistently for use with dynamic data
3497in systems and applications.")
3498 (license l:expat)))
ea5616e0
RW
3499
3500(define-public r-servr
3501 (package
3502 (name "r-servr")
a1e54db2 3503 (version "0.6")
ea5616e0
RW
3504 (source (origin
3505 (method url-fetch)
3506 (uri (cran-uri "servr" version))
3507 (sha256
3508 (base32
a1e54db2 3509 "0sqz3wssxa19g9mpmf9s4gx2a5rvzl8nrd11qkgpz5v3iqsc6ysr"))))
ea5616e0
RW
3510 (build-system r-build-system)
3511 (propagated-inputs
3512 `(("r-httpuv" ,r-httpuv)
3513 ("r-jsonlite" ,r-jsonlite)
3514 ("r-mime" ,r-mime)))
3515 (native-inputs
3516 `(("r-rcpp" ,r-rcpp)))
3517 (home-page "https://github.com/yihui/servr")
3518 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3519 (description
3520 "Servr provides an HTTP server in R to serve static files, or dynamic
3521documents that can be converted to HTML files (e.g., R Markdown) under a given
3522directory.")
3523 (license l:expat)))
f1a045e2
RW
3524
3525(define-public r-htmltools
3526 (package
3527 (name "r-htmltools")
85015105 3528 (version "0.3.6")
f1a045e2
RW
3529 (source (origin
3530 (method url-fetch)
3531 (uri (cran-uri "htmltools" version))
3532 (sha256
3533 (base32
85015105 3534 "18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4"))))
f1a045e2 3535 (build-system r-build-system)
3f1c722e
RW
3536 (arguments
3537 `(#:phases
3538 (modify-phases %standard-phases
3539 ;; See https://github.com/rstudio/htmltools/pull/68
3540 ;; The resource files are in the store and have mode 444. After
3541 ;; copying the files R fails to remove them again because it doesn't
3542 ;; have write access to them.
3543 (add-after 'unpack 'copy-files-without-mode
3544 (lambda _
3545 (substitute* "R/html_dependency.R"
3546 (("file.copy\\(from, to, " prefix)
3547 (string-append prefix
3548 "copy.mode = FALSE, ")))
3549 #t)))))
f1a045e2 3550 (propagated-inputs
e6f0ca2f
RW
3551 `(("r-digest" ,r-digest)
3552 ("r-rcpp" ,r-rcpp)))
f1a045e2
RW
3553 (home-page "http://cran.r-project.org/web/packages/htmltools")
3554 (synopsis "R tools for HTML")
3555 (description
3556 "This package provides tools for HTML generation and output in R.")
3557 (license l:expat)))
b1006576
RW
3558
3559(define-public r-htmlwidgets
3560 (package
3561 (name "r-htmlwidgets")
53deffe5 3562 (version "0.9")
b1006576
RW
3563 (source (origin
3564 (method url-fetch)
3565 (uri (cran-uri "htmlwidgets" version))
3566 (sha256
3567 (base32
53deffe5 3568 "0plqkfqys1ca3ki7sb7yc6gwjpi7yy4g3mzh7hfy8s6qri0vam0i"))))
b1006576
RW
3569 (build-system r-build-system)
3570 (propagated-inputs
3571 `(("r-htmltools" ,r-htmltools)
3572 ("r-jsonlite" ,r-jsonlite)
3573 ("r-yaml" ,r-yaml)))
3574 (home-page "https://github.com/ramnathv/htmlwidgets")
3575 (synopsis "HTML Widgets for R")
3576 (description
3577 "HTML widgets is a framework for creating HTML widgets that render in
3578various contexts including the R console, R Markdown documents, and Shiny web
3579applications.")
3580 (license l:expat)))
5f4621de 3581
ac3265ab
RW
3582(define-public r-htmltable
3583 (package
3584 (name "r-htmltable")
e15f962f 3585 (version "1.9")
ac3265ab
RW
3586 (source
3587 (origin
3588 (method url-fetch)
3589 (uri (cran-uri "htmlTable" version))
3590 (sha256
3591 (base32
e15f962f 3592 "0ciic1f4iczq14j81fg7kxibn65sy8z1zxkvk1yxnxxg6dzplj2v"))))
ac3265ab
RW
3593 (properties `((upstream-name . "htmlTable")))
3594 (build-system r-build-system)
3595 (propagated-inputs
e15f962f
RW
3596 `(("r-checkmate" ,r-checkmate)
3597 ("r-htmlwidgets" ,r-htmlwidgets)
3598 ("r-knitr" ,r-knitr)
ac3265ab
RW
3599 ("r-magrittr" ,r-magrittr)
3600 ("r-stringr" ,r-stringr)))
3601 (home-page "http://gforge.se/packages/")
3602 (synopsis "Advanced tables for Markdown/HTML")
3603 (description
3604 "This package provides functions to build tables with advanced layout
3605elements such as row spanners, column spanners, table spanners, zebra
3606striping, and more. While allowing advanced layout, the underlying
3607CSS-structure is simple in order to maximize compatibility with word
3608processors such as LibreOffice. The package also contains a few text
3609formatting functions that help outputting text compatible with HTML or
3610LaTeX.")
3611 (license l:gpl3+)))
3612
5f4621de
RW
3613(define-public r-curl
3614 (package
3615 (name "r-curl")
e584b9fc 3616 (version "2.8.1")
5f4621de
RW
3617 (source (origin
3618 (method url-fetch)
3619 (uri (cran-uri "curl" version))
3620 (sha256
3621 (base32
e584b9fc 3622 "0dgfl7wn4r8inv55xnk4ybf1y2x4qmi4cbr6phr3lfi1dnjm4hsm"))))
5f4621de 3623 (build-system r-build-system)
8f309571
RW
3624 (arguments
3625 `(#:phases
3626 (modify-phases %standard-phases
3627 ;; The environment variable CURL_CA_BUNDLE is only respected when
3628 ;; running Windows, so we disable the platform checks.
3629 ;; This can be removed once the libcurl has been patched.
3630 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3631 (lambda _
3632 (substitute* "R/onload.R"
3633 (("if \\(!grepl\\(\"mingw\".*")
3634 "if (FALSE)\n"))
3635 (substitute* "src/handle.c"
3636 (("#ifdef _WIN32") "#if 1"))
3637 #t)))))
5f4621de
RW
3638 (inputs
3639 `(("libcurl" ,curl)))
3640 (home-page "https://github.com/jeroenooms/curl")
3641 (synopsis "HTTP client for R")
3642 (description
3643 "The @code{curl()} and @code{curl_download()} functions provide highly
3644configurable drop-in replacements for base @code{url()} and
3645@code{download.file()} with better performance, support for encryption, gzip
3646compression, authentication, and other @code{libcurl} goodies. The core of
3647the package implements a framework for performing fully customized requests
3648where data can be processed either in memory, on disk, or streaming via the
3649callback or connection interfaces.")
3650 (license l:expat)))
e1c63590 3651
bbed0ab6
RW
3652(define-public r-hwriter
3653 (package
3654 (name "r-hwriter")
3655 (version "1.3.2")
3656 (source
3657 (origin
3658 (method url-fetch)
3659 (uri (cran-uri "hwriter" version))
3660 (sha256
3661 (base32
3662 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
3663 (build-system r-build-system)
3664 (home-page "http://cran.r-project.org/web/packages/hwriter")
3665 (synopsis "Output R objects in HTML format")
3666 (description
3667 "This package provides easy-to-use and versatile functions to output R
3668objects in HTML format.")
3669 (license l:lgpl2.1+)))
3670
356c6d61
RW
3671(define-public r-rjson
3672 (package
3673 (name "r-rjson")
3674 (version "0.2.15")
3675 (source
3676 (origin
3677 (method url-fetch)
3678 (uri (cran-uri "rjson" version))
3679 (sha256
3680 (base32
3681 "1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
3682 (build-system r-build-system)
3683 (home-page "http://cran.r-project.org/web/packages/rjson")
3684 (synopsis "JSON library for R")
3685 (description
3686 "This package provides functions to convert R objects into JSON objects
3687and vice-versa.")
3688 (license l:gpl2+)))
3689
e1c63590
RW
3690(define-public gumbo-parser
3691 (package
3692 (name "gumbo-parser")
3693 (version "0.10.1")
3694 (source (origin
3695 (method url-fetch)
3696 (uri (string-append "https://github.com/google/"
3697 "gumbo-parser/archive/v" version ".tar.gz"))
3698 (file-name (string-append name "-" version ".tar.gz"))
3699 (sha256
3700 (base32
3701 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
3702 (build-system gnu-build-system)
3703 (arguments
3704 `(#:tests? #f ; tests require bundling googletest sources
3705 #:phases
3706 (modify-phases %standard-phases
3707 (add-after 'unpack 'bootstrap
3708 (lambda _ (zero? (system* "sh" "autogen.sh")))))))
3709 ;; The release tarball lacks the generated files.
3710 (native-inputs
3711 `(("autoconf" ,autoconf)
3712 ("automake" ,automake)
3713 ("libtool" ,libtool)))
3714 (home-page "https://github.com/google/gumbo-parser")
3715 (synopsis "HTML5 parsing library")
3716 (description
3717 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
3718a pure C99 library.")
3719 (license l:asl2.0)))
67c2fc01
SB
3720
3721(define-public uwsgi
3722 (package
3723 (name "uwsgi")
3724 (version "2.0.12")
3725 (source (origin
3726 (method url-fetch)
3727 (uri (string-append "http://projects.unbit.it/downloads/uwsgi-"
3728 version ".tar.gz"))
3729 (sha256
3730 (base32
3731 "02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh"))))
3732 (build-system gnu-build-system)
3733 (outputs '("out" "python"))
3734 (arguments
3735 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
3736 ;; But there is no obvious way to run the real tests.
3737 #:tests? #f
3738 #:phases
3739 (modify-phases %standard-phases
3740 (replace 'configure
3741 ;; Configuration is done by writing an ini file.
3742 (lambda* (#:key outputs #:allow-other-keys)
3743 (let* ((out (assoc-ref outputs "out"))
3744 (bindir (string-append out "/bin"))
3745 (plugindir (string-append out "/lib/uwsgi")))
3746 ;; The build phase outputs files to these directories directly.
3747 (mkdir-p bindir)
3748 (mkdir-p plugindir)
3749 ;; XXX: Enable other plugins.
3750 (call-with-output-file "buildconf/guix.ini"
3751 (lambda (port)
3752 (format port "[uwsgi]
3753yaml = libyaml
3754bin_name = ~a/uwsgi
3755plugin_dir = ~a
3756
3757inherit = base
3758plugins = cgi,python
3759embedded_plugins =
3760" bindir plugindir))))
3761 (setenv "PROFILE" "guix")
3762 #t))
3763 (replace 'install
3764 ;; Move plugins into their own output.
3765 (lambda* (#:key outputs #:allow-other-keys)
3766 (let* ((out (assoc-ref outputs "out"))
3767 (plugindir (string-append out "/lib/uwsgi"))
3768 (python-plugin (string-append
3769 plugindir "/python_plugin.so")))
3770 (install-file python-plugin
3771 (string-append
3772 (assoc-ref outputs "python") "/lib/uwsgi"))
3773 (delete-file python-plugin)
3774 #t))))))
3775 (native-inputs
3776 `(("pkg-config" ,pkg-config)
3777 ("python" ,python-wrapper)))
3778 (inputs
3779 `(("jansson" ,jansson)
3780 ("libxml2" ,libxml2)
3781 ("libyaml" ,libyaml)
3782 ("openssl" ,openssl)
3783 ("pcre" ,pcre)
3784 ("zlib" ,zlib)
3785 ;; For plugins.
3786 ("python" ,python)))
3787 (home-page "https://uwsgi-docs.readthedocs.org/")
3788 (synopsis "Application container server")
3789 (description
3790 "uWSGI presents a complete stack for networked/clustered web applications,
3791implementing message/object passing, caching, RPC and process management.
3792It uses the uwsgi protocol for all the networking/interprocess communications.")
3793 (license l:gpl2+))) ; with linking exception
ec672946
JL
3794
3795(define-public jq
3796 (package
3797 (name "jq")
3798 (version "1.5")
3799 (source (origin
3800 (method url-fetch)
3801 (uri (string-append "https://github.com/stedolan/" name
3802 "/releases/download/" name "-" version
3803 "/" name "-" version ".tar.gz"))
3804 (sha256
3805 (base32
f2b4c18c
JL
3806 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
3807 ;; This patch has been pushed and the vulnerability will be
3808 ;; fixed in the next release after 1.5.
3809 ;; https://github.com/stedolan/jq/issues/995
3810 (patches (search-patches "jq-CVE-2015-8863.patch"))))
ec672946
JL
3811 (inputs
3812 `(("oniguruma" ,oniguruma)))
3813 (native-inputs
3814 `(;; TODO fix gems to generate documentation
3815 ;;("ruby" ,ruby)
3816 ;;("bundler" ,bundler)
3817 ("valgrind" ,valgrind)))
3818 (build-system gnu-build-system)
3819 (home-page "http://stedolan.github.io/jq/")
3820 (synopsis "Command-line JSON processor")
3821 (description "jq is like sed for JSON data – you can use it to slice and
3822filter and map and transform structured data with the same ease that sed, awk,
3823grep and friends let you play with text. It is written in portable C. jq can
3824mangle the data format that you have into the one that you want with very
3825little effort, and the program to do so is often shorter and simpler than
3826you'd expect.")
3827 (license (list l:expat l:cc-by3.0))))
7ffbbea0
RS
3828
3829(define-public uhttpmock
3830 (package
3831 (name "uhttpmock")
3832 (version "0.5.0")
3833 (source
3834 (origin
3835 (method url-fetch)
3836 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
3837 name "-" version ".tar.xz"))
3838 (sha256
3839 (base32
3840 "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"))))
3841 (build-system glib-or-gtk-build-system)
3842 (arguments
3843 `(#:phases
3844 (modify-phases %standard-phases
3845 (add-before 'check 'use-empty-ssl-cert-file
3846 (lambda _
3847 ;; Search for ca-certificates.crt files
3848 ;; during the check phase.
3849 (setenv "SSL_CERT_FILE" "/dev/null")
3850 #t)))))
3851 (native-inputs
3852 `(("gobject-introspection" ,gobject-introspection)
3853 ;; For check phase.
3854 ("glib-networking" ,glib-networking)
3855 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3856 ("pkg-config" ,pkg-config)))
3857 (inputs
3858 `(("libsoup" ,libsoup)))
3859 (home-page "https://gitlab.com/groups/uhttpmock")
3860 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
3861 (description
3862 "Uhttpmock is a project for mocking web service APIs which use HTTP or
3863HTTPS. It provides a library, libuhttpmock, which implements recording and
3864playback of HTTP request/response traces.")
3865 (license l:lgpl2.1+)))
0ee23de9
CL
3866
3867(define-public woof
3868 (package
3869 (name "woof")
3870 (version "2012-05-31")
3871 (source (origin
3872 (method url-fetch)
3873 (uri (string-append
3874 "http://www.home.unix-ag.org/simon/woof-"
3875 version ".py"))
3876 (sha256
3877 (base32
3878 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
3879 (build-system trivial-build-system)
3880 (arguments
3881 '(#:modules ((guix build utils))
3882 #:builder
3883 (begin
3884 (use-modules (guix build utils))
3885 (let* ((source (assoc-ref %build-inputs "source"))
3886 (out (assoc-ref %outputs "out"))
3887 (bin (string-append out "/bin"))
3888 (python (assoc-ref %build-inputs "python")))
3889 (mkdir-p bin)
3890 (with-directory-excursion bin
3891 (copy-file source "woof")
3892 (patch-shebang "woof" (list (string-append python "/bin")))
3893 (chmod "woof" #o555))
3894 #t))))
3895 (inputs `(("python" ,python-2)))
3896 (home-page "http://www.home.unix-ag.org/simon/woof.html")
3897 (synopsis "Single file web server")
3898 (description "Woof (Web Offer One File) is a small simple web server that
3899can easily be invoked on a single file. Your partner can access the file with
3900tools they trust (e.g. wget).")
3901 (license l:gpl2+)))
22df7001 3902
ef61177d
EB
3903(define netsurf-buildsystem
3904 (package
3905 (name "netsurf-buildsystem")
3906 (version "1.5")
3907 (source
3908 (origin
3909 (method url-fetch)
3910 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3911 "buildsystem-" version ".tar.gz"))
3912 (sha256
3913 (base32
3914 "0wdgvasrjik1dgvvpqbppbpyfzkqd1v45x3g9rq7p67n773azinv"))))
3915 (build-system gnu-build-system)
3916 (inputs `(("perl" ,perl)))
3917 (arguments
3918 '(#:make-flags (list (string-append "PREFIX=" %output))
3919 #:tests? #f ;no tests
3920 #:phases (modify-phases %standard-phases
3921 (delete 'configure)
3922 (delete 'build))))
3923 (home-page "http://www.netsurf-browser.org")
3924 (synopsis "Build system for the Netsurf project")
3925 (description
3926 "This package provides the shared build system for Netsurf project
3927libraries.")
3928 (license l:expat)))
3929
3930(define netsurf-buildsystem-arguments
3931 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
3932 "CC=gcc" "BUILD_CC=gcc"
3933 ,(string-append "PREFIX=" %output)
3934 ,(string-append "NSSHARED="
3935 (assoc-ref %build-inputs
3936 "netsurf-buildsystem")
3937 "/share/netsurf-buildsystem"))
3938 #:test-target "test"
3939 #:phases (modify-phases %standard-phases
3940 (delete 'configure))))
3941
3942(define-public libparserutils
3943 (package
3944 (name "libparserutils")
3945 (version "0.2.3")
3946 (source
3947 (origin
3948 (method url-fetch)
3949 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3950 name "-" version "-src.tar.gz"))
3951 (sha256
3952 (base32
3953 "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
3954 (build-system gnu-build-system)
3955 (native-inputs
3956 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3957 ("pkg-config" ,pkg-config)
3958 ("perl" ,perl))) ;for test harness
3959 (arguments netsurf-buildsystem-arguments)
3960 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
3961 (synopsis "Parser building library")
3962 (description
3963 "LibParserUtils is a library for building efficient parsers, written in
3964C. It is developed as part of the NetSurf project.")
3965 (license l:expat)))
3966
43bfbf13
EB
3967(define-public hubbub
3968 (package
3969 (name "hubbub")
3970 (version "0.3.3")
3971 (source
3972 (origin
3973 (method url-fetch)
3974 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3975 "lib" name "-" version "-src.tar.gz"))
3976 (sha256
3977 (base32
3978 "101781iw32p47386fxqr01nrkywi12w17ajh02k2vlga4z8zyv86"))
3979 (patches (search-patches "hubbub-sort-entities.patch"))))
3980 (build-system gnu-build-system)
3981 (native-inputs
3982 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3983 ("pkg-config" ,pkg-config)
3984 ("doxygen" ,doxygen)
3985 ("json-c" ,json-c)
3986 ("perl" ,perl)))
3987 (propagated-inputs
3988 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
3989 (arguments netsurf-buildsystem-arguments)
3990 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
3991 (synopsis "HTML5 compliant parsing library")
3992 (description
3993 "Hubbub is an HTML5 compliant parsing library, written in C, which can
3994parse both valid and invalid web content. It is developed as part of the
3995NetSurf project.")
3996 (license l:expat)))
3997
5a0096a3
EB
3998(define-public libwapcaplet
3999 (package
4000 (name "libwapcaplet")
4001 (version "0.3.0")
4002 (source
4003 (origin
4004 (method url-fetch)
4005 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4006 name "-" version "-src.tar.gz"))
4007 (sha256
4008 (base32
4009 "0cs1dd2afjgc3wf5gqg434hv6jdabrp9qvlpl4dp53nhkyfywna3"))))
4010 (build-system gnu-build-system)
4011 (native-inputs
4012 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4013 ("pkg-config" ,pkg-config)
4014 ("check" ,check))) ;for tests
4015 (arguments netsurf-buildsystem-arguments)
4016 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
4017 (synopsis "String internment library")
4018 (description
4019 "LibWapcaplet provides a reference counted string internment system
4020designed to store small strings and allow rapid comparison of them. It is
4021developed as part of the Netsurf project.")
4022 (license l:expat)))
4023
0527b43d
EB
4024(define-public libcss
4025 (package
4026 (name "libcss")
4027 (version "0.6.0")
4028 (source
4029 (origin
4030 (method url-fetch)
4031 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4032 name "-" version "-src.tar.gz"))
4033 (sha256
4034 (base32
4035 "0qp4p1q1dwgdra4pkrzd081zjzisxkgwx650ijx323j8bj725daf"))))
4036 (build-system gnu-build-system)
4037 (native-inputs
4038 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4039 ("pkg-config" ,pkg-config)
4040 ("perl" ,perl)))
4041 (propagated-inputs ;needed for libcss.pc
4042 `(("libparserutils" ,libparserutils)
4043 ("libwapcaplet" ,libwapcaplet)))
4044 (arguments netsurf-buildsystem-arguments)
4045 (home-page "http://www.netsurf-browser.org/projects/libcss/")
4046 (synopsis "CSS parser and selection library")
4047 (description
4048 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4049written in C. It is developed as part of the NetSurf project.")
4050 (license l:expat)))
4051
ccb88298
EB
4052(define-public libdom
4053 (package
4054 (name "libdom")
4055 (version "0.3.1")
4056 (source
4057 (origin
4058 (method url-fetch)
4059 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4060 name "-" version "-src.tar.gz"))
4061 (sha256
4062 (base32
4063 "0qy7c8b229aiamyqqjgp6m1jlzc3fpl8s9dk33kxzkj70na8l7hv"))))
4064 (build-system gnu-build-system)
4065 (native-inputs
4066 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4067 ("pkg-config" ,pkg-config)
4068 ("perl" ,perl) ;for test harness
4069 ("perl-libxml" ,perl-libxml)
4070 ("perl-switch" ,perl-switch)
4071 ("perl-xml-xpath" ,perl-xml-xpath)))
4072 (inputs
4073 `(("libparserutils" ,libparserutils)
4074 ("libwapcaplet" ,libwapcaplet)))
4075 (propagated-inputs
4076 `(("expat" ,expat) ;needed for headers and linking
4077 ("hubbub" ,hubbub))) ;for libdom.pc
4078 (arguments
4079 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4080 ,@netsurf-buildsystem-arguments))
4081 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4082 (synopsis "Implementation of the W3C DOM")
4083 (description
4084 "LibDOM is an implementation of the W3C DOM, written in C. It is
4085developed as part of the NetSurf project.")
4086 (license l:expat)))
4087
6fae2256
EB
4088(define-public libsvgtiny
4089 (package
4090 (name "libsvgtiny")
4091 (version "0.1.5")
4092 (source
4093 (origin
4094 (method url-fetch)
4095 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4096 name "-" version "-src.tar.gz"))
4097 (sha256
4098 (base32
4099 "0w5hab9x1saz4lq2s9w47x1r64fbzcsl5bvdjph9c9dq68qv3f8a"))))
4100 (build-system gnu-build-system)
4101 (native-inputs
4102 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4103 ("pkg-config" ,pkg-config)
b1554326 4104 ("gperf" ,gperf-3.0)))
6fae2256
EB
4105 (inputs
4106 `(("libwapcaplet" ,libwapcaplet)))
4107 (propagated-inputs
4108 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4109 (arguments netsurf-buildsystem-arguments)
4110 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4111 (synopsis "Library for parsing SVG files")
4112 (description
4113 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4114which can be rendered easily, as defined in
4115@url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4116project.")
4117 (license l:expat)))
4118
4018a533
EB
4119(define-public libnsbmp
4120 (package
4121 (name "libnsbmp")
4122 (version "0.1.4")
4123 (source
4124 (origin
4125 (method url-fetch)
4126 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4127 name "-" version "-src.tar.gz"))
4128 (sha256
4129 (base32
4130 "0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
4131 (build-system gnu-build-system)
4132 (native-inputs
4133 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4134 (arguments netsurf-buildsystem-arguments)
4135 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4136 (synopsis "Decoding library for BMP and ICO files")
4137 (description
4138 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4139written in C. It is developed as part of the NetSurf project.")
4140 (license l:expat)))
4141
ea1c8b31
EB
4142(define-public libnsgif
4143 (package
4144 (name "libnsgif")
4145 (version "0.1.4")
4146 (source
4147 (origin
4148 (method url-fetch)
4149 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4150 name "-" version "-src.tar.gz"))
4151 (sha256
4152 (base32
4153 "1ldsyscsgqwc8g5481h9nqmwirpp1pp57hmss450hr0mqra26g0k"))))
4154 (build-system gnu-build-system)
4155 (native-inputs
4156 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4157 (arguments netsurf-buildsystem-arguments)
4158 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4159 (synopsis "Decoding library for GIF files")
4160 (description
4161 "Libnsgif is a decoding library for the GIF image file format, written in
4162C. It is developed as part of the NetSurf project.")
4163 (license l:expat)))
4164
54b7f149
EB
4165(define-public libnsutils
4166 (package
4167 (name "libnsutils")
4168 (version "0.0.3")
4169 (source
4170 (origin
4171 (method url-fetch)
4172 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4173 name "-" version "-src.tar.gz"))
4174 (sha256
4175 (base32
4176 "0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
4177 (build-system gnu-build-system)
4178 (native-inputs
4179 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4180 (arguments netsurf-buildsystem-arguments)
4181 (home-page "http://www.netsurf-browser.org/")
4182 (synopsis "Utility library for NetSurf")
4183 (description
4184 "Libnsutils provides a small number of useful utility routines. It is
4185developed as part of the NetSurf project.")
4186 (license l:expat)))
4187
02a7a0ca
EB
4188(define-public libnspsl
4189 (package
4190 (name "libnspsl")
4191 (version "0.1.0")
4192 (source
4193 (origin
4194 (method url-fetch)
4195 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4196 name "-" version "-src.tar.gz"))
4197 (sha256
4198 (base32
4199 "0x3frscrp9bzxlm9ama5laxjr3zi8cg20r8lhsamw4x4zyyk145y"))))
4200 (build-system gnu-build-system)
4201 (native-inputs
4202 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4203 (arguments netsurf-buildsystem-arguments)
4204 (home-page "http://www.netsurf-browser.org/")
4205 (synopsis "Library to generate a static Public Suffix List")
4206 (description
4207 "Libnspsl is a library to generate a static code representation of the
4208Public Suffix List. It is developed as part of the NetSurf project.")
4209 (license l:expat)))
4210
1f6ec9d2
EB
4211(define-public nsgenbind
4212 (package
4213 (name "nsgenbind")
4214 (version "0.4")
4215 (source
4216 (origin
4217 (method url-fetch)
4218 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4219 name "-" version "-src.tar.gz"))
4220 (sha256
4221 (base32
4222 "078gpbfcs96bgcba0ygha0ph9jzqr6ry5s3a8p6sl61px2908s66"))))
4223 (build-system gnu-build-system)
4224 (native-inputs
4225 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4226 ("bison" ,bison)
4227 ("flex" ,flex)))
4228 (arguments
4229 (substitute-keyword-arguments netsurf-buildsystem-arguments
4230 ((#:make-flags flags)
4231 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4232 (home-page "http://www.netsurf-browser.org/")
4233 (synopsis "Generate JavaScript to DOM bindings")
4234 (description
4235 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4236w3c webidl files and a binding configuration file.")
4237 (license l:expat)))
4238
fbaf9376
LF
4239(define-public netsurf
4240 (package
4241 (name "netsurf")
4242 (version "3.6")
4243 (source
4244 (origin
4245 (method url-fetch)
4246 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4247 "releases/source/netsurf-" version "-src.tar.gz"))
4248 (sha256
4249 (base32
4250 "174sjx0566agckwmlj4w2cip5qbxdiafyhlp185a1qprxx84pbjr"))
4251 (patches (search-patches "netsurf-system-utf8proc.patch"
4252 "netsurf-y2038-tests.patch"
4253 "netsurf-longer-test-timeout.patch"))))
4254 (build-system glib-or-gtk-build-system)
4255 (native-inputs
4256 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4257 ("nsgenbind" ,nsgenbind)
4258 ("libidn" ,libidn) ;only for tests
4259 ("check" ,check)
4260 ("perl" ,perl)
4261 ("perl-html-parser" ,perl-html-parser)
4262 ("pkg-config" ,pkg-config)))
4263 (inputs
4264 `(("curl" ,curl)
4265 ("gtk+" ,gtk+-2)
4266 ("openssl" ,openssl)
4267 ("utf8proc" ,utf8proc)
4268 ("libpng" ,libpng)
4269 ("libjpeg" ,libjpeg)
4270 ("libcss" ,libcss)
4271 ("libdom" ,libdom)
4272 ("libnsbmp" ,libnsbmp)
4273 ("libnsgif" ,libnsgif)
4274 ("libnspsl" ,libnspsl)
4275 ("libnsutils" ,libnsutils)
4276 ("libsvgtiny" ,libsvgtiny)
4277 ("miscfiles" ,miscfiles)))
4278 (arguments
4279 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4280 ,(string-append "PREFIX=" %output)
4281 ,(string-append "NSSHARED="
4282 (assoc-ref %build-inputs
4283 "netsurf-buildsystem")
4284 "/share/netsurf-buildsystem"))
4285 #:test-target "test"
4286 #:modules ((ice-9 rdelim)
4287 (ice-9 match)
4288 (srfi srfi-1)
4289 (sxml simple)
4290 ,@%glib-or-gtk-build-system-modules)
4291 #:phases
4292 (modify-phases %standard-phases
4293 (delete 'configure)
4294 (add-after 'build 'adjust-welcome
4295 (lambda _
4296 ;; First, fix some unended tags and simple substitutions
4297 (substitute* "frontends/gtk/res/welcome.html"
4298 (("<(img|input)([^>]*)>" _ tag contents)
4299 (string-append "<" tag contents " />"))
4300 (("Licence") "License") ;prefer GNU spelling
4301 ((" open source") ", free software")
4302 (("web&nbsp;site") "website")
4303 ;; Prefer privacy-respecting default search engine
4304 (("www.google.co.uk") "www.duckduckgo.com/html")
4305 (("Google Search") "DuckDuckGo Search")
4306 (("name=\"btnG\"") ""))
4307 ;; Remove default links so it doesn't seem we're endorsing them
4308 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4309 (lambda (in out)
4310 ;; Leave the DOCTYPE header as is
4311 (display (read-line in 'concat) out)
4312 (sxml->xml
4313 (let rec ((sxml (xml->sxml in)))
4314 ;; We'd like to use sxml-match here, but it can't
4315 ;; match against generic tag symbols...
4316 (match sxml
4317 (`(div (@ (class "links")) . ,rest)
4318 '())
4319 ((x ...)
4320 (map rec x))
4321 (x x)))
4322 out)))
4323 #t))
4324 (add-before 'check 'patch-check
4325 (lambda* (#:key inputs #:allow-other-keys)
4326 (substitute* '("test/bloom.c" "test/hashtable.c")
4327 (("/usr/share/dict/words")
4328 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4329 #t))
4330 (add-after 'install 'install-more
4331 (lambda* (#:key outputs #:allow-other-keys)
4332 (let* ((out (assoc-ref outputs "out"))
4333 (desktop (string-append out "/share/applications/"
4334 "netsurf.desktop")))
4335 (mkdir-p (dirname desktop))
4336 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4337 desktop)
4338 (substitute* desktop
4339 (("netsurf-gtk") (string-append out "/bin/netsurf"))
4340 (("netsurf.png") (string-append out "/share/netsurf/"
4341 "netsurf.xpm")))
4342 (install-file "Docs/netsurf-gtk.1"
4343 (string-append out "/share/man/man1/"))
4344 #t))))))
4345 (home-page "http://www.netsurf-browser.org")
4346 (synopsis "Web browser")
4347 (description
4348 "NetSurf is a lightweight web browser that has its own layout and
4349rendering engine entirely written from scratch. It is small and capable of
4350handling many of the web standards in use today.")
4351 (license l:gpl2+)))
4352
e56e5b12 4353(define-public surfraw
4354 (package
4355 (name "surfraw")
4356 (version "2.2.9")
4357 (source (origin
4358 (method url-fetch)
4359 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4360 name "-" version ".tar.gz"))
4361 (sha256
4362 (base32
4363 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4364 (build-system gnu-build-system)
e81fd90e 4365 (arguments
4366 `(#:phases
4367 (modify-phases %standard-phases
4368 (add-after 'install 'compress-elvi.1sr
4369 (lambda* (#:key outputs #:allow-other-keys)
4370 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4371 ;; but elvi.1sr does not get compressed by our manpage phase.
4372 (let* ((out (assoc-ref %outputs "out"))
4373 (man (string-append out "/share/man/man1")))
4374 (with-directory-excursion man
4375 (zero? (system* "gzip" "elvi.1sr")))))))))
e56e5b12 4376 (inputs
4377 `(("perl" ,perl)
4378 ("perl-www-opensearch" ,perl-www-opensearch)
4379 ("perl-html-parser" ,perl-html-parser)
4380 ("perl-libwww" ,perl-libwww)))
4381 (synopsis "Unix command line interface to the www")
4382 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4383provides a unix command line interface to a variety of popular www search engines
4384and similar services.")
4385 (home-page "https://surfraw.alioth.debian.org/")
4386 (license l:public-domain)))
797a5cf5
AI
4387
4388(define-public darkhttpd
4389 (package
4390 (name "darkhttpd")
4391 (version "1.12")
4392 (source
4393 (origin
a7a4345d
AI
4394 (method url-fetch)
4395 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4396 version ".tar.bz2"))
797a5cf5
AI
4397 (sha256
4398 (base32
a7a4345d 4399 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
797a5cf5
AI
4400 (build-system gnu-build-system)
4401 (arguments
4402 `(#:make-flags '("CC=gcc")
4403 #:tests? #f ; No test suite
4404 #:phases
4405 (modify-phases %standard-phases
4406 (delete 'configure)
4407 (replace 'install
4408 (lambda* (#:key outputs #:allow-other-keys)
4409 (install-file "darkhttpd"
4410 (string-append (assoc-ref outputs "out")
4411 "/bin"))
4412 #t)))))
4413 (synopsis "Simple static web server")
4414 (description "darkhttpd is a simple static web server. It is
4415standalone and does not need inetd or ucspi-tcp. It does not need any
4416config files---you only have to specify the www root.")
4417 (home-page "https://unix4lyfe.org/darkhttpd/")
4418 (license l:isc)))
8cecd22e
LC
4419
4420(define-public goaccess
4421 (package
4422 (name "goaccess")
4423 (version "1.0.2")
4424 (source (origin
4425 (method url-fetch)
4426 (uri (string-append "http://tar.goaccess.io/goaccess-"
4427 version ".tar.gz"))
4428 (sha256
4429 (base32
4430 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4431 (modules '((guix build utils)))
4432 (snippet
4433 '(substitute* "src/error.h"
4434 (("__DATE__") "\"1970-01-01\"")
4435 (("__TIME__") "\"00:00:00\"")))))
4436 (build-system gnu-build-system)
4437 (inputs
4438 ;; TODO: Add dependency on geoip-tools.
4439 `(("glib" ,glib)
4440 ("ncurses" ,ncurses)))
4441 (native-inputs
4442 `(("pkg-config" ,pkg-config)))
4443 (home-page "https://goaccess.io")
4444 (synopsis "Analyze Web server logs in real time")
4445 (description
4446 "GoAccess is a real-time web log analyzer and interactive viewer that
4447runs in a terminal or through your browser. It provides fast and valuable
4448HTTP statistics for system administrators that require a visual server report
4449on the fly.")
4450 (license l:x11)))
bb6e6415
TGR
4451
4452(define-public httptunnel
4453 (package
4454 (name "httptunnel")
4455 (version "3.3")
4456 (source
4457 (origin
4458 (method url-fetch)
4459 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4460 name "-" version ".tar.gz"))
4461 (sha256
4462 (base32
4463 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4464 (modules '((guix build utils)))
4465 (snippet
4466 ;; Remove non-free IETF RFC documentation.
4467 '(delete-file-recursively "doc"))))
4468 (build-system gnu-build-system)
4469 (arguments
4470 `(#:phases
4471 (modify-phases %standard-phases
4472 ;; The default configure phase tries to pass environment variables as
4473 ;; command-line arguments, which confuses the ./configure script.
4474 (replace 'configure
4475 (lambda* (#:key outputs #:allow-other-keys)
4476 (let* ((out (assoc-ref outputs "out")))
4477 (setenv "CONFIG_SHELL" (which "bash"))
4478 (zero? (system* "./configure"
4479 (string-append "--prefix=" out)))))))))
4480 (home-page "http://www.nocrew.org/software/httptunnel.html")
4481 (synopsis "Tunnel data connections through HTTP requests")
4482 (description "httptunnel creates a bidirectional virtual data connection
4483tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4484useful for users behind restrictive firewalls. As long as Web traffic is
4485allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4486tools like SSH (Secure Shell) to reach the outside world.")
4487 (license l:gpl2+)))
864042c5
TD
4488
4489(define-public stunnel
4490 (package
4491 (name "stunnel")
4492 (version "5.39")
4493 (source
4494 (origin
4495 (method url-fetch)
4496 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4497 version ".tar.gz"))
4498 (sha256
4499 (base32
4500 "1vjdn32iw11zqsygwxbjmqgs4644dk3ql1h8ap890ls6a1x0i318"))))
4501 (build-system gnu-build-system)
4502 (inputs `(("openssl" ,openssl)))
4503 (arguments
4504 `(#:configure-flags
4505 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))))
4506 (home-page "https://www.stunnel.org")
4507 (synopsis "TLS proxy for clients or servers")
4508 (description "Stunnel is a proxy designed to add TLS encryption
4509functionality to existing clients and servers without any changes in the
4510programs' code. Its architecture is optimized for security, portability, and
4511scalability (including load-balancing), making it suitable for large
4512deployments.")
4513 (license l:gpl2+)))
59ae241f
TD
4514
4515(define-public xinetd
4516 (package
4517 (name "xinetd")
4518 (version "2.3.15")
4519 (source
4520 (origin
4521 (method url-fetch)
4522 (uri "https://github.com/xinetd-org/xinetd/archive/xinetd-2-3-15.tar.gz")
4523 (patches (search-patches "xinetd-CVE-2013-4342.patch" "xinetd-fix-fd-leak.patch"))
4524 (sha256
4525 (base32
4526 "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
4527 (build-system gnu-build-system)
4528 (arguments
4529 `(#:configure-flags '("--with-loadavg")
4530 #:tests? #f )) ; no tests
4531 (home-page "https://github.com/xinetd-org/xinetd")
4532 (synopsis "Internet services daemon")
4533 (description "@code{xinetd}, a more secure replacement for @code{inetd},
4534listens for incoming requests over a network and launches the appropriate
4535service for that request. Requests are made using port numbers as identifiers
4536and xinetd usually launches another daemon to handle the request. It can be
4537used to start services with both privileged and non-privileged port numbers.")
4538 (license (l:fsf-free "file://COPYRIGHT"))))
1ad3c7f2 4539
4540(define-public tidy-html
4541 (package
4542 (name "tidy-html")
5f643dbe 4543 (version "5.4.0")
1ad3c7f2 4544 (source
4545 (origin
4546 (method url-fetch)
4547 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
4548 version ".tar.gz"))
4549 (file-name (string-append name "-" version ".tar.gz"))
4550 (sha256
4551 (base32
5f643dbe 4552 "0yhbgbjl45b4sjxwc394cjra6iy02q1pi66p28zy70lr6jvm9mx2"))))
1ad3c7f2 4553 (build-system cmake-build-system)
4554 (outputs '("out"
4555 "static")) ; 1.0MiB of .a files
4556 (arguments
4557 `(#:tests? #f ; No tests available
4558 #:configure-flags (list "-DCMAKE_BUILD_TYPE=Release")
4559 #:phases
4560 (modify-phases %standard-phases
4561 (add-after 'install 'move-static-libraries
4562 (lambda* (#:key outputs #:allow-other-keys)
4563 ;; Move static libraries to the "static" output.
4564 (let* ((out (assoc-ref outputs "out"))
4565 (lib (string-append out "/lib"))
4566 (static (assoc-ref outputs "static"))
4567 (slib (string-append static "/lib")))
4568 (mkdir-p slib)
4569 (for-each (lambda (file)
4570 (install-file file slib)
4571 (delete-file file))
4572 (find-files lib "\\.a$"))
4573 #t))))))
4574 (native-inputs
4575 `(("libxslt" ,libxslt)))
4576 (home-page "http://www.html-tidy.org/")
4577 (synopsis "HTML Tidy with HTML5 support")
4578 (description
4579 "Tidy is a console application which corrects and cleans up
4580HTML and XML documents by fixing markup errors and upgrading
4581legacy code to modern standards.
4582
4583Tidy also provides @code{libtidy}, a C static and dynamic library that
4584developers can integrate into their applications to make use of the
4585functions of Tidy.")
4586 (license l:bsd-3)))
0491a3b2 4587
3190c307 4588(define-public hiawatha
4589 (package
4590 (name "hiawatha")
4591 (version "10.4")
4592 (source
4593 (origin
4594 (method url-fetch)
4595 (uri (string-append "https://www.hiawatha-webserver.org/files/"
4596 "hiawatha-" version ".tar.gz"))
4597 (modules '((guix build utils)))
4598 (snippet
4599 ;; We use our packaged mbedtls, so delete the included copy.
4600 '(delete-file-recursively "mbedtls"))
4601 (sha256
4602 (base32
4603 "0m2llzm72s29c32abnj03532m85fawvi8ybjpx6s3mgvx2yvq3p4"))))
4604 (build-system cmake-build-system)
4605 (arguments
4606 `(#:tests? #f ; No tests included
4607 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
4608 (string-append "-DENABLE_TOMAHAWK=on")
4609 (string-append "-DWEBROOT_DIR="
4610 (assoc-ref %outputs "out")
4611 "/share/hiawatha/html"))
4612 #:phases
4613 (modify-phases %standard-phases
4614 (add-after 'install 'remove-empty-dirs
4615 (lambda* (#:key outputs #:allow-other-keys)
4616 (let* ((out (assoc-ref outputs "out")))
4617 ;; The directories in "var" are empty, remove them.
4618 (delete-file-recursively (string-append out "/var"))
4619 #t)))
4620 (add-after 'install 'wrap
4621 (lambda* (#:key inputs outputs #:allow-other-keys)
4622 ;; Make sure 'hiawatha' finds 'mbedtls'.
4623 (let* ((out (assoc-ref outputs "out"))
4624 (sbin (string-append out "/sbin"))
4625 (mbed (assoc-ref inputs "mbedtls-apache")))
4626 (wrap-program (string-append sbin "/hiawatha")
4627 `("PATH" ":" prefix (,mbed)))))))))
4628 (inputs
4629 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
4630 `(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
4631 ("zlib" ,zlib)
4632 ("libxslt" ,libxslt)
4633 ("libxml2" ,libxml2)))
4634 (home-page "https://www.hiawatha-webserver.org")
4635 (synopsis "Webserver with focus on security")
4636 (description
d4f6f78e 4637 "Hiawatha has been written with security in mind.
4638Features include the ability to stop SQL injections, XSS and CSRF attacks and
4639exploit attempts.")
3190c307 4640 (license l:gpl2)))
ce949c10
MFM
4641
4642(define-public python-httpbin
4643 (package
4644 (name "python-httpbin")
4645 (version "0.5.0")
4646 (source
4647 (origin
4648 (method url-fetch)
4649 (uri (pypi-uri "httpbin" version))
4650 (sha256
4651 (base32
4652 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
4653 (build-system python-build-system)
4654 (propagated-inputs
4655 `(("python-decorator" ,python-decorator)
4656 ("python-flask" ,python-flask)
4657 ("python-itsdangerous" ,python-itsdangerous)
4658 ("python-markupsafe" ,python-markupsafe)
4659 ("python-six" ,python-six)))
4660 (home-page "https://github.com/Runscope/httpbin")
4661 (synopsis "HTTP request and response service")
4662 (description "Testing an HTTP Library can become difficult sometimes.
4663@code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
4664response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
4665JSON-encoded.")
4666 (license l:isc)))
4667
4668(define-public python2-httpbin
4669 (package-with-python2 python-httpbin))
86ab1120
MFM
4670
4671(define-public python-pytest-httpbin
4672 (package
4673 (name "python-pytest-httpbin")
4674 (version "0.2.3")
4675 (source
4676 (origin
4677 (method url-fetch)
4678 (uri (pypi-uri "pytest-httpbin" version))
4679 (sha256
4680 (base32
4681 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
4682 (build-system python-build-system)
4683 (propagated-inputs
4684 `(("python-six" ,python-six)
4685 ("python-httpbin" ,python-httpbin)
4686 ("python-pytest" ,python-pytest)))
4687 (home-page
4688 "https://github.com/kevin1024/pytest-httpbin")
4689 (synopsis
4690 "Test your HTTP library against a local copy of httpbin")
4691 (description
4692 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
4693into your tests. It automatically starts up a HTTP server in a separate thread running
4694@code{httpbin} and provides your test with the URL in the fixture.")
4695 (license l:expat)))
4696
4697(define-public python2-pytest-httpbin
4698 (package-with-python2 python-pytest-httpbin))
751f8582
RW
4699
4700(define-public http-parser
4701 (package
4702 (name "http-parser")
4703 (version "2.7.1")
4704 (source (origin
4705 (method url-fetch)
4706 (uri (string-append "https://github.com/nodejs/http-parser/"
4707 "archive/v" version ".tar.gz"))
4708 (file-name (string-append name "-" version ".tar.gz"))
4709 (sha256
4710 (base32
4711 "1cw6nf8xy4jhib1w0jd2y0gpqjbdasg8b7pkl2k2vpp54k9rlh3h"))))
4712 (build-system gnu-build-system)
4713 (arguments
4714 `(#:test-target "test"
4715 #:make-flags
4716 (list (string-append "PREFIX="
4717 (assoc-ref %outputs "out"))
4718 "CC=gcc" "library")
4719 #:phases
4720 (modify-phases %standard-phases
4721 (delete 'configure))))
4722 (home-page "https://github.com/nodejs/http-parser")
4723 (synopsis "HTTP request/response parser for C")
4724 (description "This is a parser for HTTP messages written in C. It parses
4725both requests and responses. The parser is designed to be used in
4726high-performance HTTP applications. It does not make any syscalls nor
4727allocations, it does not buffer data, it can be interrupted at anytime.
4728Depending on your architecture, it only requires about 40 bytes of data per
4729message stream (in a web server that is per connection).")
4730 (license l:expat)))
40b784b4
MFM
4731
4732(define-public python2-httpretty
4733 (package
4734 (name "python2-httpretty")
4735 (version "0.8.14")
4736 (source
4737 (origin
4738 (method url-fetch)
4739 (uri (pypi-uri "httpretty" version))
4740 (sha256
4741 (base32
4742 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
4743 (build-system python-build-system)
4744 (native-inputs
4745 `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
4746 ("python-sphinx" ,python2-sphinx)
4747 ("python-coverage" ,python2-coverage)
4748 ("python-tornado" ,python2-tornado)
4749 ("python-urllib3" ,python2-urllib3)
4750 ("python-sure" ,python2-sure)
4751 ("python-steadymark" ,python2-steadymark)
4752 ("python-requests" ,python2-requests)
4753 ("python-rednose" ,python2-rednose)
4754 ("python-nose-randomly" ,python2-nose-randomly)
4755 ("python-misaka" ,python2-misaka)
4756 ("python-pytest-httpbin" ,python2-pytest-httpbin)
4757 ("python-nose" ,python2-nose)))
4758 (arguments
4759 `(#:tests? #f
4760 ;; Requires mock>=1.3.0 which requires a more up-to-date
4761 ;; python-pbr. After updating these trying to build the
4762 ;; package leads to failures in python-flake8 and other
4763 ;; packages. The cascade of updates and failures this
4764 ;; leads to, seems to not be worth having the test run.
4765 #:python ,python-2
4766 #:phases
4767 (modify-phases %standard-phases
4768 (add-before 'build 'patch-test-requirements
4769 (lambda* (#:key inputs #:allow-other-keys)
4770 ;; Update requirements from dependecy==version
4771 ;; to dependency>=version
4772 (substitute* "development.txt"
4773 (("==") ">="))
4774 #t)))))
4775 (home-page "http://github.com/gabrielfalcao/httpretty")
4776 (synopsis "HTTP client mock for Python")
4777 (description "@code{httpretty} is a helper for faking web requests,
4778inspired by Ruby's @code{fakeweb}.")
4779 (license l:expat)))
0ac04232
AI
4780
4781(define-public jo
4782 (package
4783 (name "jo")
4784 (version "1.1")
4785 (source
4786 (origin
4787 (method url-fetch)
4788 (uri (string-append "https://github.com/jpmens/jo/releases/download/v"
4789 version "/jo-" version ".tar.gz"))
4790 (sha256
4791 (base32
4792 "0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3"))))
4793 (build-system gnu-build-system)
4794 (home-page "https://github.com/jpmens/jo")
4795 (synopsis "Output JSON from a shell")
4796 (description "jo is a command-line utility to create JSON objects or
4797arrays. It creates a JSON string on stdout from words provided as
4798command-line arguments or read from stdin.")
4799 (license (list l:gpl2+
4800 l:expat)))) ; json.c, json.h
95c36822
OP
4801
4802(define-public python-internetarchive
4803 (package
4804 (name "python-internetarchive")
86a9b163 4805 (version "1.7.1")
95c36822
OP
4806 (source
4807 (origin
4808 (method url-fetch)
4809 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
4810 "v" version ".tar.gz"))
4811 (file-name (string-append name "-" version ".tar.gz"))
4812 (sha256
4813 (base32
86a9b163 4814 "1lj4r0y67mwjns2gcjvw0y7m5x0vqir2iv7s4q2y93492azli1qh"))))
95c36822
OP
4815 (build-system python-build-system)
4816 (arguments
4817 `(#:tests? #f ; 11 tests of 105 fail to mock "requests".
4818 #:phases
4819 (modify-phases %standard-phases
4820 (delete 'check)
4821 (add-after 'install 'check
c3b5b1bb
DM
4822 (lambda* (#:key inputs outputs target (tests? (not target)) #:allow-other-keys)
4823 (if tests?
4824 (begin
4825 (add-installed-pythonpath inputs outputs)
4826 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
4827 ":" (getenv "PATH")))
4828 (zero? (system* "py.test")))
4829 (begin
4830 (format #t "test suite not run~%")
4831 #t)))))))
95c36822
OP
4832 (propagated-inputs
4833 `(("python-requests" ,python-requests)
4834 ("python-jsonpatch" ,python-jsonpatch-0.4)
4835 ("python-docopt" ,python-docopt)
4836 ("python-clint" ,python-clint)
4837 ("python-six" ,python-six)
4838 ("python-schema" ,python-schema-0.5)
4839 ("python-backports-csv" ,python-backports-csv)))
4840 (native-inputs
4841 `(("python-pytest-3.0" ,python-pytest-3.0)
4842 ("python-pytest-capturelog" ,python-pytest-capturelog)
4843 ("python-responses" ,python-responses)))
4844 (home-page "https://github.com/jjjake/internetarchive")
4845 (synopsis "Command-line interface to archive.org")
4846 (description "@code{ia} is a command-line tool for using
4847@url{archive.org} from the command-line. It also emplements the
4848internetarchive python module for programatic access to archive.org.")
4849 (properties
4850 `((python2-variant . ,(delay python2-internetarchive))))
4851 (license l:agpl3+)))
4852
4853(define-public python2-internetarchive
4854 (package-with-python2
4855 (strip-python2-variant python-internetarchive)))
a3cd23b6
RW
4856
4857(define-public r-shiny
4858 (package
4859 (name "r-shiny")
4860 (version "1.0.3")
4861 (source
4862 (origin
4863 (method url-fetch)
4864 (uri (string-append "https://github.com/rstudio/shiny/"
4865 "archive/v" version ".tar.gz"))
4866 (file-name (string-append name "-" version ".tar.gz"))
4867 (sha256
4868 (base32
4869 "0z2v2s4hd44mvzjn7r70549kdzkrrch9nxhp27r6x2cy6micizm3"))))
4870 (build-system r-build-system)
4871 (arguments
4872 `(#:modules ((guix build r-build-system)
4873 (guix build minify-build-system)
4874 (guix build utils)
4875 (ice-9 match))
4876 #:imported-modules (,@%r-build-system-modules
4877 (guix build minify-build-system))
4878 #:phases
4879 (modify-phases (@ (guix build r-build-system) %standard-phases)
4880 (add-after 'unpack 'replace-bundled-minified-JavaScript
4881 (lambda* (#:key inputs #:allow-other-keys)
4882 (let ((replace-file (lambda (old new)
4883 (format #t "replacing ~a with ~a\n" old new)
4884 (delete-file old)
4885 (symlink new old))))
4886 ;; NOTE: Files in ./inst/www/shared/datepicker/js/locales/
4887 ;; contain just data. They are not minified code, so we don't
4888 ;; replace them.
4889 (with-directory-excursion "inst/www/shared"
4890 (replace-file "bootstrap/shim/respond.min.js"
4891 (string-append (assoc-ref inputs "js-respond")
4892 "/share/javascript/respond.min.js"))
4893 (replace-file "bootstrap/shim/html5shiv.min.js"
4894 (string-append (assoc-ref inputs "js-html5shiv")
4895 "/share/javascript/html5shiv.min.js"))
4896 (replace-file "json2-min.js"
4897 (string-append (assoc-ref inputs "js-json2")
4898 "/share/javascript/json2.min.js"))
4899 (replace-file "strftime/strftime-min.js"
4900 (string-append (assoc-ref inputs "js-strftime")
4901 "/share/javascript/strftime.min.js"))
4902 (replace-file "highlight/highlight.pack.js"
4903 (string-append (assoc-ref inputs "js-highlight")
4904 "/share/javascript/highlight.min.js"))
4905 (replace-file "datatables/js/jquery.dataTables.min.js"
4906 (string-append (assoc-ref inputs "js-datatables")
4907 "/share/javascript/jquery.dataTables.min.js"))
4908 (replace-file "selectize/js/selectize.min.js"
4909 (string-append (assoc-ref inputs "js-selectize")
4910 "/share/javascript/selectize.min.js"))
4911 (replace-file "selectize/js/es5-shim.min.js"
4912 (string-append (assoc-ref inputs "js-es5-shim")
4913 "/share/javascript/es5-shim.min.js"))
4914 (for-each (match-lambda
4915 ((source . target)
4916 (delete-file target)
4917 (minify source #:target target)))
4918 '(("jqueryui/jquery-ui.js" .
4919 "jqueryui/jquery-ui.min.js")
4920 ("showdown/src/showdown.js" .
4921 "showdown/compressed/showdown.js")
4922 ("datepicker/js/bootstrap-datepicker.js" .
4923 "datepicker/js/bootstrap-datepicker.min.js")
4924 ("ionrangeslider/js/ion.rangeSlider.js" .
4925 "ionrangeslider/js/ion.rangeSlider.min.js")
4926 ("bootstrap/js/bootstrap.js" .
4927 "bootstrap/js/bootstrap.min.js")
4928 ("shiny.js" .
4929 "shiny.min.js")
4930 ("jquery.js" .
4931 "jquery.min.js")))))
4932 #t)))))
4933 (propagated-inputs
4934 `(("r-httpuv" ,r-httpuv)
4935 ("r-mime" ,r-mime)
4936 ("r-jsonlite" ,r-jsonlite)
4937 ("r-xtable" ,r-xtable)
4938 ("r-digest" ,r-digest)
4939 ("r-htmltools" ,r-htmltools)
4940 ("r-r6" ,r-r6)
4941 ("r-sourcetools" ,r-sourcetools)))
4942 (inputs
4943 `(("js-datatables" ,js-datatables)
4944 ("js-html5shiv" ,js-html5shiv)
4945 ("js-json2" ,js-json2)
4946 ("js-respond" ,js-respond)
4947 ("js-selectize" ,js-selectize)
4948 ("js-strftime" ,js-strftime)
4949 ("js-highlight" ,js-highlight)
4950 ("js-es5-shim" ,js-es5-shim)))
4951 (home-page "http://shiny.rstudio.com")
4952 (synopsis "Easy interactive web applications with R")
4953 (description
4954 "Makes it incredibly easy to build interactive web applications
4955with R. Automatic \"reactive\" binding between inputs and outputs and
4956extensive prebuilt widgets make it possible to build beautiful,
4957responsive, and powerful applications with minimal effort.")
4958 (license l:artistic2.0)))
8d6c845d
RW
4959
4960(define-public r-crosstalk
4961 (package
4962 (name "r-crosstalk")
4963 (version "1.0.0")
4964 (source
4965 (origin
4966 (method url-fetch)
4967 (uri (cran-uri "crosstalk" version))
4968 (sha256
4969 (base32
4970 "0lfa89vhrzi7a1rghmygcjr8gzddw35sinb3jx6g49mc9jias7mk"))))
4971 (build-system r-build-system)
4972 (propagated-inputs
4973 `(("r-ggplot2" ,r-ggplot2)
4974 ("r-htmltools" ,r-htmltools)
4975 ("r-jsonlite" ,r-jsonlite)
4976 ("r-lazyeval" ,r-lazyeval)
4977 ("r-r6" ,r-r6)
4978 ("r-shiny" ,r-shiny)))
4979 (home-page "https://rstudio.github.io/crosstalk/")
4980 (synopsis "Inter-widget interactivity for HTML widgets")
4981 (description
4982 "This package provides building blocks for allowing HTML widgets to
4983communicate with each other, with Shiny or without (i.e. static @code{.html}
4984files). It currently supports linked brushing and filtering.")
4985 (license l:expat)))
b723dedf
RW
4986
4987(define-public r-rook
4988 (package
4989 (name "r-rook")
4990 (version "1.1-1")
4991 (source
4992 (origin
4993 (method url-fetch)
4994 (uri (cran-uri "Rook" version))
4995 (sha256
4996 (base32
4997 "00s9a0kr9rwxvlq433daxjk4ji8m0w60hjdprf502msw9kxfrx00"))))
4998 (properties `((upstream-name . "Rook")))
4999 (build-system r-build-system)
5000 (propagated-inputs `(("r-brew" ,r-brew)))
5001 (home-page "http://cran.r-project.org/web/packages/Rook")
5002 (synopsis "Web server interface for R")
5003 (description
5004 "This package contains the Rook specification and convenience software
5005for building and running Rook applications. A Rook application is an R
5006reference class object that implements a @code{call} method or an R closure
5007that takes exactly one argument, an environment, and returns a list with three
5008named elements: the @code{status}, the @code{headers}, and the @code{body}.")
5009 (license l:gpl2)))
52d445f1
AI
5010
5011(define-public rss-bridge
5012 (package
5013 (name "rss-bridge")
5014 (version "2017-08-03")
5015 (source
5016 (origin
5017 (method url-fetch)
5018 (uri (string-append "https://github.com/RSS-Bridge/rss-bridge/archive/"
5019 version ".tar.gz"))
5020 (file-name (string-append name "-" version ".tar.gz"))
5021 (sha256
5022 (base32
5023 "05s16y552hbyj91s7bnlkx1bi64s6aw0fjy29az8via3i3b21yhl"))))
5024 (build-system trivial-build-system)
5025 (native-inputs
5026 `(("gzip" ,gzip)
5027 ("tar" ,tar)))
5028 (arguments
5029 '(#:modules ((guix build utils))
5030 #:builder
5031 (begin
5032 (use-modules (guix build utils)
5033 (ice-9 match))
5034 (let* ((out (assoc-ref %outputs "out"))
5035 (share-rss-bridge (string-append out "/share/rss-bridge")))
5036 (set-path-environment-variable
5037 "PATH" '("bin") (map (match-lambda ((_ . input) input))
5038 %build-inputs))
5039 (mkdir-p share-rss-bridge)
5040 (system* "tar" "xvf" (assoc-ref %build-inputs "source")
5041 "--strip-components" "1" "-C" share-rss-bridge)
5042 #t))))
5043 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5044 (synopsis "Generate Atom feeds for social networking websites")
5045 (description "rss-bridge generates Atom feeds for social networking
5046websites lacking feeds. Supported websites include Facebook, Twitter,
5047Instagram and YouTube.")
5048 (license (list l:public-domain
5049 l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php