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