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