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