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