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