1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
4 ;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
7 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
8 ;;; Copyright © 2015, 2016, 2017 Eric Bavier <bavier@member.fsf.org>
9 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
10 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
11 ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
12 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
13 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
14 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
15 ;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
16 ;;; Copyright © 2016, 2017 ng0 <ng0@no-reply.pragmatique.xyz>
17 ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
18 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
19 ;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
20 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
21 ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
22 ;;; Copyright © 2017 Kei Kebreau <kei@openmailbox.org>
24 ;;; This file is part of GNU Guix.
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.
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.
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/>.
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 libidn)
80 #:use-module (gnu packages libunistring)
81 #:use-module (gnu packages lua)
82 #:use-module (gnu packages ncurses)
83 #:use-module (gnu packages base)
84 #:use-module (gnu packages perl)
85 #:use-module (gnu packages python)
86 #:use-module (gnu packages pcre)
87 #:use-module (gnu packages pkg-config)
88 #:use-module (gnu packages valgrind)
89 #:use-module (gnu packages xml)
90 #:use-module (gnu packages curl)
91 #:use-module (gnu packages perl)
92 #:use-module (gnu packages texinfo)
93 #:use-module (gnu packages textutils)
94 #:use-module (gnu packages tls)
95 #:use-module (gnu packages statistics))
103 (uri (string-append "mirror://apache/httpd/httpd-"
107 "0fn1778mxhf78np2d8qlycg1c2ak18rxax41plahasca4clc3z3i"))))
108 (build-system gnu-build-system)
109 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
110 (inputs `(("apr" ,apr)
111 ("apr-util" ,apr-util)
113 ("perl" ,perl))) ; needed to run bin/apxs
115 `(#:test-target "test"
116 #:configure-flags (list "--enable-rewrite"
118 "--enable-vhost-alias"
120 "--enable-mime-magic"
121 (string-append "--sysconfdir="
122 (assoc-ref %outputs "out")
124 (synopsis "Featureful HTTP server")
126 "The Apache HTTP Server Project is a collaborative software development
127 effort aimed at creating a robust, commercial-grade, featureful, and
128 freely-available source code implementation of an HTTP (Web) server. The
129 project is jointly managed by a group of volunteers located around the world,
130 using the Internet and the Web to communicate, plan, and develop the server
131 and its related documentation.")
133 (home-page "https://httpd.apache.org/")))
141 (uri (string-append "https://nginx.org/download/nginx-"
145 "1yvnmj7vlykrqdi6amkvs63lva6qkxd98sqv0a8hz8w5ci1bz4w7"))))
146 (build-system gnu-build-system)
147 (inputs `(("pcre" ,pcre)
151 `(#:tests? #f ; no test target
153 (modify-phases %standard-phases
154 (add-before 'configure 'patch-/bin/sh
156 (substitute* "auto/feature"
157 (("/bin/sh") (which "sh")))
160 (lambda* (#:key outputs #:allow-other-keys)
162 (list (string-append "--prefix=" (assoc-ref outputs "out"))
163 "--with-http_ssl_module"
166 ;; Even when not cross-building, we pass the
167 ;; --crossbuild option to avoid customizing for the
168 ;; kernel version on the build machine.
169 ,(let ((system "Linux") ; uname -s
170 (release "2.6.32") ; uname -r
172 (machine (match (or (%current-target-system)
174 ("x86_64-linux" "x86_64")
175 ("i686-linux" "i686")
176 ("mips64el-linux" "mips64")
177 ;; Prevent errors when querying
178 ;; this package on unsupported
179 ;; platforms, e.g. when running
180 ;; "guix package --search="
182 (string-append "--crossbuild="
183 system ":" release ":" machine)))))
185 (format #t "environment variable `CC' set to `gcc'~%")
186 (format #t "configure flags: ~s~%" flags)
187 (zero? (apply system* "./configure" flags)))))
188 (add-after 'install 'fix-root-dirs
189 (lambda* (#:key outputs #:allow-other-keys)
190 ;; 'make install' puts things in strange places, so we need to
191 ;; clean it up ourselves.
192 (let* ((out (assoc-ref outputs "out"))
193 (share (string-append out "/share/nginx")))
194 ;; This directory is empty, so get rid of it.
195 (rmdir (string-append out "/logs"))
196 ;; Example configuration and HTML files belong in
199 (rename-file (string-append out "/conf")
200 (string-append share "/conf"))
201 (rename-file (string-append out "/html")
202 (string-append share "/html"))))))))
203 (home-page "https://nginx.org")
204 (synopsis "HTTP and reverse proxy server")
206 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
207 created by Igor Sysoev. It can be used both as a standalone web server
208 and as a proxy to reduce the load on back-end HTTP or mail servers.")
209 ;; Almost all of nginx is distributed under the bsd-2 license.
210 ;; The exceptions are:
211 ;; * The 'nginx-http-push' module is covered by the expat license.
212 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
213 ;; except for two source files which are bsd-4 licensed.
214 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
223 ;; Upstream has disappeared
224 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
225 "fcgi-" version ".tar.gz"))
228 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
229 (patches (search-patches "fcgi-2.4.0-poll.patch"
230 "fcgi-2.4.0-gcc44-fixes.patch"))))
231 (build-system gnu-build-system)
232 ;; Parallel building is not supported.
233 (arguments `(#:parallel-build? #f))
234 (home-page "http://www.fastcgi.com")
235 (synopsis "Language-independent, high-performant extension to CGI")
236 (description "FastCGI is a language independent, scalable extension to CGI
237 that provides high performance without the limitations of server specific
239 ;; This package is released under the Open Market License, a variant of
240 ;; the Expat license, incompatible with the GPL.
241 (license (l:non-copyleft "file://LICENSE.TERMS"))))
243 (define-public fcgiwrap
250 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
251 "archive/" version ".tar.gz"))
252 (file-name (string-append name "-" version ".tar.gz"))
255 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
256 (build-system gnu-build-system)
258 `(#:tests? #f ; no tests included
259 #:make-flags (list "CC=gcc")
261 (modify-phases %standard-phases
262 (add-after 'unpack 'bootstrap
264 (zero? (system* "autoreconf" "-vif")))))))
266 `(("autoconf" ,autoconf)
267 ("automake" ,automake)
268 ("pkg-config" ,pkg-config)))
271 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
272 (synopsis "Simple server for running CGI applications over FastCGI")
273 (description "Fcgiwrap is a simple server for running CGI applications
274 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
275 servers that may need it).")
278 (define-public starman
285 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
286 "Starman-" version ".tar.gz"))
289 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
290 (build-system perl-build-system)
292 `(("perl-libwww" ,perl-libwww)
293 ("perl-module-build-tiny" ,perl-module-build-tiny)
294 ("perl-test-requires" ,perl-test-requires)))
296 `(("perl-data-dump" ,perl-data-dump)
297 ("perl-http-date" ,perl-http-date)
298 ("perl-http-message" ,perl-http-message)
299 ("perl-http-parser-xs" ,perl-http-parser-xs)
300 ("perl-net-server" ,perl-net-server)
301 ("perl-plack" ,perl-plack)
302 ("perl-test-tcp" ,perl-test-tcp)))
303 (home-page "http://search.cpan.org/dist/Starman")
304 (synopsis "PSGI/Plack web server")
305 (description "Starman is a PSGI perl web server that has unique features
306 such as high performance, preforking, signal support, superdaemon awareness,
307 and UNIX socket support.")
308 (license l:perl-license)))
310 (define-public icedtea-web
317 "http://icedtea.wildebeest.org/download/source/"
318 name "-" version ".tar.gz"))
321 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
322 (build-system gnu-build-system)
325 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
326 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
328 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
329 (outputs '("out" "doc"))
331 `(("pkg-config" ,pkg-config)
335 ("jdk" ,icedtea "jdk")))
336 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
337 (synopsis "Java Web Start")
339 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
340 Protocol}, also known as Java Web Start. This package provides tools and
341 libraries for working with JNLP applets.")
342 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
346 (define-public jansson
353 (string-append "http://www.digip.org/jansson/releases/jansson-"
357 "19fjgfwjfj99rqa3kf96x5rssj88siazggksgrikd6h4r9sd1l0a"))))
358 (build-system gnu-build-system)
359 (home-page "http://www.digip.org/jansson/")
360 (synopsis "JSON C library")
362 "Jansson is a C library for encoding, decoding and manipulating JSON
366 (define-public json-c
373 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
377 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
378 (modules '((guix build utils)))
381 ;; Somehow 'config.h.in' is older than
382 ;; 'aclocal.m4', which would trigger a rule to
384 (set-file-time "config.h.in"
387 ;; Don't try to build with -Werror.
388 (substitute* (find-files "." "Makefile\\.in")
389 (("-Werror") ""))))))
390 (build-system gnu-build-system)
391 (arguments '(#:parallel-build? #f
392 #:parallel-tests? #f))
393 (home-page "https://github.com/json-c/json-c/wiki")
394 (synopsis "JSON implementation in C")
396 "JSON-C implements a reference counting object model that allows you to
397 easily construct JSON objects in C, output them as JSON formatted strings and
398 parse JSON formatted strings back into the C representation of JSON objects.")
401 (define-public krona-tools
408 "https://github.com/marbl/Krona/releases/download/v"
409 version "/KronaTools-" version ".tar"))
412 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
413 (build-system perl-build-system)
416 (modify-phases %standard-phases
417 ;; There is no configure or build steps.
420 ;; Install script "install.pl" expects the build directory to remain
421 ;; after installation, creating symlinks etc., so re-implement it
424 (lambda* (#:key outputs #:allow-other-keys)
425 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
426 (perl (string-append (assoc-ref outputs "out")
427 "/lib/perl5/site_perl/krona-tools/lib")))
431 (let* ((executable (string-append "scripts/" script ".pl")))
432 ;; Prefix executables with 'kt' as install script does.
433 (copy-file executable (string-append bin "/kt" script))))
435 "GetContigMagnitudes"
445 "ImportMETAREP-BLAST"
450 "ImportRDPComparison"
456 (copy-recursively directory
457 (string-append perl "/../" directory)))
458 (list "data" "img" "taxonomy" "src"))
459 (install-file "lib/KronaTools.pm" perl))))
460 (add-after 'install 'wrap-program
461 (lambda* (#:key inputs outputs #:allow-other-keys)
462 (let* ((out (assoc-ref outputs "out"))
463 (path (getenv "PERL5LIB")))
466 (wrap-program executable
467 `("PERL5LIB" ":" prefix
468 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
469 (find-files (string-append out "/bin/") ".*")))))
471 (add-after 'wrap-program 'check
472 (lambda* (#:key inputs outputs #:allow-other-keys)
473 (with-directory-excursion "data"
474 (zero? (system* (string-append (assoc-ref outputs "out") "/bin/ktImportText")
478 (home-page "https://github.com/marbl/Krona/wiki")
479 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
481 "Krona is a flexible tool for exploring the relative proportions of
482 hierarchical data, such as metagenomic classifications, using a radial,
483 space-filling display. It is implemented using HTML5 and JavaScript, allowing
484 charts to be explored locally or served over the Internet, requiring only a
485 current version of any major web browser.")
488 (define-public rapidjson
495 "https://github.com/miloyip/rapidjson/archive/v"
497 (file-name (string-append name "-" version ".tar.gz"))
500 "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))))
501 (build-system cmake-build-system)
503 `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
506 (modify-phases %standard-phases
507 (add-after 'unpack 'patch-aarch-march-detection
509 (substitute* (find-files "." "^CMakeLists\\.txt$")
510 (("native") "armv8-a"))
513 (home-page "https://github.com/miloyip/rapidjson")
514 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
516 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
520 (define-public libyajl
526 (uri (string-append "https://github.com/lloyd/yajl/"
527 "archive/" version ".tar.gz"))
528 (file-name (string-append name "-" version ".tar.gz"))
531 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
532 (build-system cmake-build-system)
533 (home-page "https://lloyd.github.io/yajl/")
534 (synopsis "C library for parsing JSON")
536 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
537 parser written in ANSI C and a small validating JSON generator.")
540 (define-public libwebsockets
542 (name "libwebsockets")
545 ;; The project does not publish tarballs, so we have to take
549 (url "https://github.com/warmcat/libwebsockets.git")
550 (commit (string-append "v" version
551 "-chrome37-firefox30"))))
554 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
555 (file-name (string-append name "-" version))))
557 (build-system cmake-build-system)
559 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
560 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
563 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
564 (inputs `(("zlib" ,zlib)
565 ("openssl" ,openssl)))
566 (synopsis "WebSockets library written in C")
568 "Libwebsockets is a library that allows C programs to establish client
569 and server WebSockets connections---a protocol layered above HTTP that allows
570 for efficient socket-like bidirectional reliable communication channels.")
571 (home-page "http://libwebsockets.org/")
573 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
574 (license l:lgpl2.1)))
576 (define-public libpsl
582 (uri (string-append "https://github.com/rockdaboot/libpsl/"
583 "releases/download/libpsl-" version
584 "/libpsl-" version ".tar.gz"))
587 "00iids8ldsqnnndmcfjp6kc00lv7fawf5l24mpbdbkh98yazgc4i"))))
588 (build-system gnu-build-system)
590 `(("pkg-config" ,pkg-config)))
592 `(("libidn2" ,libidn2)
593 ("libunistring" ,libunistring)
594 ("python-2" ,python-2)))
595 (home-page "https://github.com/rockdaboot/libpsl")
596 (synopsis "C library for the Publix Suffix List")
598 "A \"public suffix\" is a domain name under which Internet users can
599 directly register own names.
601 Browsers and other web clients can use it to avoid privacy-leaking
602 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
603 highlighting parts of the domain in a user interface, and sorting domain lists
606 Libpsl has built-in PSL data for fast access, allows to load PSL data from
607 files, checks if a given domain is a public suffix, provides immediate cookie
608 domain verification, finds the longest public part of a given domain, finds
609 the shortest private part of a given domain, works with international
610 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
622 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
624 (revision "2009-12-23")))
627 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
628 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
629 (build-system gnu-build-system)
631 '(#:phases (modify-phases %standard-phases
632 (add-after 'unpack 'bootstrap
633 (lambda* (#:key inputs #:allow-other-keys)
634 ;; configure.in and Makefile.am aren't in the root of the
636 (copy-recursively "build/gnuauto" ".")
637 (setenv "AUTOMAKE" "automake --foreign")
638 (zero? (system* "autoreconf" "-vfi")))))))
640 `(("automake" ,automake)
641 ("autoconf" ,autoconf)
642 ("libtool" ,libtool)))
643 (synopsis "HTML validator and tidier")
644 (description "HTML Tidy is a command-line tool and C library that can be
645 used to validate and fix HTML data.")
646 (home-page "http://tidy.sourceforge.net/")
647 (license (l:x11-style "file:///include/tidy.h"))))
649 (define-public tinyproxy
655 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
656 "releases/download/" version "/tinyproxy-"
660 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
661 (build-system gnu-build-system)
665 ;; For the log file, etc.
666 "--localstatedir=/var")
670 (lambda* (#:key inputs #:allow-other-keys #:rest args)
671 ;; Uncommenting the next two lines may assist in debugging
672 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
673 ;; (setenv "XML_DEBUG_CATALOG" "1")
676 ;; All of the below are used to generate the documentation
677 ;; (Should they be propagated inputs of asciidoc ??)
678 (native-inputs `(("asciidoc" ,asciidoc)))
679 (home-page "https://tinyproxy.github.io/")
680 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
681 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
682 daemon. Designed from the ground up to be fast and yet small, it is an ideal
683 solution for use cases such as embedded deployments where a full featured HTTP
684 proxy is required, but the system resources for a larger proxy are
688 (define-public polipo
696 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
700 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
701 (native-inputs `(("texinfo" ,texinfo)))
702 (build-system gnu-build-system)
704 `(#:phases (modify-phases %standard-phases
706 #:make-flags (let ((out (assoc-ref %outputs "out")))
707 (list (string-append "PREFIX=" out)
708 (string-append "LOCAL_ROOT="
709 out "/share/polipo/www")
711 ;; No 'check' target.
713 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
714 (synopsis "Small caching web proxy")
716 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
717 server). It was primarily designed to be used by one person or a small group
721 (define-public wwwoffle
727 (uri (string-append "https://www.gedanken.org.uk/software/"
728 "wwwoffle/download/wwwoffle-"
732 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
733 (build-system gnu-build-system)
735 `(#:configure-flags '("--with-gnutls")
736 #:tests? #f)) ; no test target
737 (native-inputs `(("flex" ,flex)))
738 (inputs `(("gnutls" ,gnutls)
739 ("libcrypt", libgcrypt)))
740 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
741 (synopsis "Caching web proxy optimized for intermittent internet links")
742 (description "WWWOFFLE is a proxy web server that is especially good for
743 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
744 protocols, and supports browsing and requesting pages while offline, indexing,
745 modifying pages and incoming and outgoing headers, monitoring pages for
746 changes, and much more.")
749 (define-public liboauth
755 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
759 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
760 (build-system gnu-build-system)
761 (arguments '(#:configure-flags '("--enable-nss")))
762 (native-inputs `(("pkg-config" ,pkg-config)))
766 (home-page "https://sourceforge.net/projects/liboauth")
767 (synopsis "C library implementing the OAuth API")
769 "liboauth is a collection of C functions implementing the OAuth API.
770 liboauth provides functions to escape and encode strings according to OAuth
771 specifications and offers high-level functionality built on top to sign
772 requests or verify signatures using either NSS or OpenSSL for calculating the
774 ;; Source code may be distributed under either license.
775 (license (list l:expat l:gpl2+))))
777 (define-public libyaml
785 "http://pyyaml.org/download/libyaml/yaml-"
787 (patches (search-patches "libyaml-CVE-2014-9130.patch"))
790 "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx"))))
791 (build-system gnu-build-system)
792 (home-page "http://pyyaml.org/wiki/LibYAML")
793 (synopsis "YAML 1.1 parser and emitter written in C")
795 "LibYAML is a YAML 1.1 parser and emitter written in C.")
798 (define-public libquvi-scripts
800 (name "libquvi-scripts")
806 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
807 name "/" name "-" version ".tar.xz"))
809 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
810 (build-system gnu-build-system)
811 (home-page "http://quvi.sourceforge.net/")
812 (synopsis "Media stream URL parser")
813 (description "This package contains support scripts called by libquvi to
814 parse media stream properties.")
815 (license l:lgpl2.1+)))
817 (define-public libquvi
825 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
826 name "-" version ".tar.xz"))
828 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
829 (build-system gnu-build-system)
830 (native-inputs `(("pkg-config" ,pkg-config)))
833 ("cyrus-sasl" ,cyrus-sasl)
834 ("libquvi-scripts" ,libquvi-scripts)
839 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
841 (let ((lua (assoc-ref %build-inputs "lua")))
843 (string-append "liblua_CFLAGS=-I" lua "/include")
844 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
845 (home-page "http://quvi.sourceforge.net/")
846 (synopsis "Media stream URL parser")
847 (description "libquvi is a library with a C API for parsing media stream
848 URLs and extracting their actual media files.")
849 (license l:lgpl2.1+)))
859 "mirror://sourceforge/" name "/" (version-major+minor version)
860 "/" name "/" name "-" version ".tar.xz"))
862 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
863 (build-system gnu-build-system)
864 (native-inputs `(("pkg-config" ,pkg-config)))
867 ("libquvi" ,libquvi)))
868 (home-page "http://quvi.sourceforge.net/")
869 (synopsis "Media stream URL parser")
870 (description "quvi is a command-line-tool suite to extract media files
871 from streaming URLs. It is a command-line wrapper for the libquvi library.")
872 (license l:lgpl2.1+)))
881 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
884 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
885 (build-system gnu-build-system)
888 ("python" ,python-2)))
891 ("apr-util" ,apr-util)
892 ("openssl" ,openssl)))
894 `(;; TODO: Fix build with gss.
898 `(#:modules ((guix build gnu-build-system)
902 ;; TODO: Add scons-build-system and use it here.
903 (modify-phases %standard-phases
905 (add-after 'unpack 'scons-propagate-environment
907 ;; By design, SCons does not, by default, propagate
908 ;; environment variables to subprocesses. See:
909 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
910 ;; Here, we modify the SConstruct file to arrange for
911 ;; environment variables to be propagated.
912 (substitute* "SConstruct"
913 (("^env = Environment\\(")
914 "env = Environment(ENV=os.environ, "))))
916 (lambda* (#:key inputs outputs #:allow-other-keys)
917 (let ((out (assoc-ref outputs "out"))
918 (apr (assoc-ref inputs "apr"))
919 (apr-util (assoc-ref inputs "apr-util"))
920 (openssl (assoc-ref inputs "openssl"))
921 ;;(gss (assoc-ref inputs "gss"))
922 (zlib (assoc-ref inputs "zlib")))
923 (zero? (system* "scons"
924 (string-append "APR=" apr)
925 (string-append "APU=" apr-util)
926 (string-append "OPENSSL=" openssl)
927 ;;(string-append "GSSAPI=" gss)
928 (string-append "ZLIB=" zlib)
929 (string-append "PREFIX=" out))))))
930 (add-before 'check 'disable-broken-tests
932 ;; These tests rely on SSL certificates that expired 2017-04-18.
933 ;; While there are newer certs available upstream, we don't want
934 ;; this package to suddenly "expire" some time in the future.
935 ;; https://bugs.gnu.org/26671
937 '("test_ssl_trust_rootca"
938 "test_ssl_certificate_chain_with_anchor"
939 "test_ssl_certificate_chain_all_from_server"
940 "test_ssl_no_servercert_callback_allok"
941 "test_ssl_large_response"
942 "test_ssl_large_request"
943 "test_ssl_client_certificate"
944 "test_ssl_future_server_cert"
945 "test_setup_ssltunnel"
946 "test_ssltunnel_basic_auth"
947 "test_ssltunnel_basic_auth_server_has_keepalive_off"
948 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
949 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
950 "test_ssltunnel_digest_auth")))
953 (substitute* "test/test_context.c"
954 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
957 (replace 'check (lambda _ (zero? (system* "scons" "check"))))
958 (replace 'install (lambda _ (zero? (system* "scons" "install")))))))
959 (home-page "https://serf.apache.org/")
960 (synopsis "High-performance asynchronous HTTP client library")
962 "serf is a C-based HTTP client library built upon the Apache Portable
963 Runtime (APR) library. It multiplexes connections, running the read/write
964 communication asynchronously. Memory copies and transformations are kept to a
965 minimum to provide high performance operation.")
966 ;; Most of the code is covered by the Apache License, Version 2.0, but the
967 ;; bundled CuTest framework uses a different non-copyleft license.
968 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
971 ;; libsass must be statically linked and it isn't included in the sassc
972 ;; release tarballs, hence this odd package recipe.
973 (let* ((version "3.4.5")
978 "https://github.com/sass/libsass/archive/"
980 (file-name (string-append "libsass-" version ".tar.gz"))
983 "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x")))))
989 (uri (string-append "https://github.com/sass/sassc/archive/"
991 (file-name (string-append "sassc-" version ".tar.gz"))
994 "1xk4kmmvziz9sal3swpqa10q0s289xjpcz8aggmly8mvxvmngsi9"))))
995 (build-system gnu-build-system)
999 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1000 #:test-target "test"
1001 ;; FIXME: "make test" rebuilds the application and gets lost in a
1002 ;; non-existing directory.
1005 (modify-phases %standard-phases
1007 (add-after 'unpack 'unpack-libsass-and-set-path
1008 (lambda* (#:key inputs #:allow-other-keys)
1009 (and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass")))
1011 (setenv "SASS_LIBSASS_PATH"
1012 (string-append (getcwd) "/libsass-" ,version))
1015 `(("libsass" ,libsass)))
1016 (synopsis "CSS pre-processor")
1017 (description "SassC is a compiler written in C for the CSS pre-processor
1018 language known as SASS.")
1019 (home-page "http://sass-lang.com/libsass")
1020 (license l:expat))))
1023 (define-public perl-apache-logformat-compiler
1025 (name "perl-apache-logformat-compiler")
1030 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1031 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1034 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
1035 (build-system perl-build-system)
1037 `(("perl-http-message" ,perl-http-message)
1038 ("perl-module-build" ,perl-module-build)
1039 ("perl-test-mocktime" ,perl-test-mocktime)
1040 ("perl-try-tiny" ,perl-try-tiny)
1041 ("perl-uri" ,perl-uri)))
1043 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1044 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
1045 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
1046 (synopsis "Compile a log format string to perl-code")
1047 (description "This module provides methods to compile a log format string
1048 to perl-code, for faster generation of access_log lines.")
1049 (license l:perl-license)))
1051 (define-public perl-authen-sasl
1053 (name "perl-authen-sasl")
1058 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1059 "Authen-SASL-" version ".tar.gz"))
1062 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1063 (build-system perl-build-system)
1066 (modify-phases %standard-phases
1067 (add-after 'unpack 'set-env
1068 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1069 ;; versions of perl-authen-sasl.
1070 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1072 `(("perl-digest-hmac" ,perl-digest-hmac)
1073 ("perl-gssapi" ,perl-gssapi)))
1074 (home-page "http://search.cpan.org/dist/Authen-SASL")
1075 (synopsis "SASL authentication framework")
1076 (description "Authen::SASL provides an SASL authentication framework.")
1077 (license l:perl-license)))
1079 (define-public perl-catalyst-action-renderview
1081 (name "perl-catalyst-action-renderview")
1086 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1087 "Catalyst-Action-RenderView-"
1091 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1092 (build-system perl-build-system)
1094 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1095 ("perl-module-install" ,perl-module-install)))
1097 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1098 ("perl-data-visitor" ,perl-data-visitor)
1099 ("perl-mro-compat" ,perl-mro-compat)))
1100 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
1101 (synopsis "Sensible default Catalyst action")
1102 (description "This Catalyst action implements a sensible default end
1103 action, which will forward to the first available view.")
1104 (license l:perl-license)))
1106 (define-public perl-catalyst-action-rest
1108 (name "perl-catalyst-action-rest")
1112 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1113 "Catalyst-Action-REST-" version ".tar.gz"))
1116 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
1117 (build-system perl-build-system)
1119 `(("perl-test-requires" ,perl-test-requires)
1120 ("perl-module-install" ,perl-module-install)))
1122 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1123 ("perl-class-inspector" ,perl-class-inspector)
1124 ("perl-config-general" ,perl-config-general)
1125 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1126 ("perl-libwww" ,perl-libwww)
1127 ("perl-moose" ,perl-moose)
1128 ("perl-mro-compat" ,perl-mro-compat)
1129 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1130 ("perl-params-validate" ,perl-params-validate)
1131 ("perl-uri-find" ,perl-uri-find)
1132 ("perl-xml-simple" ,perl-xml-simple)))
1133 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
1134 (synopsis "Automated REST Method Dispatching")
1135 (description "This Action handles doing automatic method dispatching for
1136 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1137 append an underscore and method name. First it will try dispatching to an
1138 action with the generated name, and failing that it will try to dispatch to a
1140 (license l:perl-license)))
1142 (define-public perl-catalyst-authentication-store-dbix-class
1144 (name "perl-catalyst-authentication-store-dbix-class")
1149 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1150 "Catalyst-Authentication-Store-DBIx-Class-"
1154 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1155 (build-system perl-build-system)
1157 `(("perl-catalyst-plugin-authorization-roles"
1158 ,perl-catalyst-plugin-authorization-roles)
1159 ("perl-catalyst-plugin-session-state-cookie"
1160 ,perl-catalyst-plugin-session-state-cookie)
1161 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1162 ("perl-module-install" ,perl-module-install)
1163 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1165 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1166 ("perl-catalyst-plugin-authentication"
1167 ,perl-catalyst-plugin-authentication)
1168 ("perl-dbix-class" ,perl-dbix-class)
1169 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1171 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
1172 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1173 (description "The Catalyst::Authentication::Store::DBIx::Class class
1174 provides access to authentication information stored in a database via
1176 (license l:perl-license)))
1178 (define-public perl-catalyst-component-instancepercontext
1180 (name "perl-catalyst-component-instancepercontext")
1181 (version "0.001001")
1185 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1186 "Catalyst-Component-InstancePerContext-"
1190 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1191 (build-system perl-build-system)
1193 `(("perl-module-install" ,perl-module-install)))
1195 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1196 ("perl-moose" ,perl-moose)))
1198 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
1199 (synopsis "Create only one instance of Moose component per context")
1200 (description "Catalyst::Component::InstancePerContext returns a new
1201 instance of a component on each request.")
1202 (license l:perl-license)))
1204 (define-public perl-catalyst-devel
1206 (name "perl-catalyst-devel")
1211 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1212 "Catalyst-Devel-" version ".tar.gz"))
1215 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1216 (build-system perl-build-system)
1218 `(("perl-test-fatal" ,perl-test-fatal)))
1220 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1221 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1222 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1223 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1224 ("perl-config-general" ,perl-config-general)
1225 ("perl-file-changenotify" ,perl-file-changenotify)
1226 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1227 ("perl-file-sharedir" ,perl-file-sharedir)
1228 ("perl-module-install" ,perl-module-install)
1229 ("perl-moose" ,perl-moose)
1230 ("perl-moosex-emulate-class-accessor-fast"
1231 ,perl-moosex-emulate-class-accessor-fast)
1232 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1233 ("perl-namespace-clean" ,perl-namespace-clean)
1234 ("perl-path-class" ,perl-path-class)
1235 ("perl-template-toolkit" ,perl-template-toolkit)))
1236 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1237 (synopsis "Catalyst Development Tools")
1238 (description "The Catalyst-Devel distribution includes a variety of
1239 modules useful for the development of Catalyst applications, but not required
1240 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1241 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1242 extension for Catalyst; and requirements for a variety of development-related
1244 (license l:perl-license)))
1246 (define-public perl-catalyst-dispatchtype-regex
1248 (name "perl-catalyst-dispatchtype-regex")
1253 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1254 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1257 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1258 (build-system perl-build-system)
1260 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1261 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1262 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1264 `(("perl-moose" ,perl-moose)
1265 ("perl-text-simpletable" ,perl-text-simpletable)))
1266 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1267 (synopsis "Regex DispatchType for Catalyst")
1268 (description "Dispatch type managing path-matching behaviour using
1269 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1270 core. It is recommend that you use Chained methods or other techniques
1271 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1272 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1273 when the dispatch type is first seen in your application.")
1274 (license l:perl-license)))
1276 (define-public perl-catalyst-model-dbic-schema
1278 (name "perl-catalyst-model-dbic-schema")
1283 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1284 "Catalyst-Model-DBIC-Schema-"
1288 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1289 (build-system perl-build-system)
1291 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1292 ("perl-module-install" ,perl-module-install)
1293 ("perl-test-exception" ,perl-test-exception)
1294 ("perl-test-requires" ,perl-test-requires)))
1296 `(("perl-carp-clan" ,perl-carp-clan)
1297 ("perl-catalyst-component-instancepercontext"
1298 ,perl-catalyst-component-instancepercontext)
1299 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1300 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1301 ("perl-dbix-class" ,perl-dbix-class)
1302 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1303 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1304 ("perl-hash-merge" ,perl-hash-merge)
1305 ("perl-list-moreutils" ,perl-list-moreutils)
1306 ("perl-module-runtime" ,perl-module-runtime)
1307 ("perl-moose" ,perl-moose)
1308 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1309 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1310 ("perl-moosex-types" ,perl-moosex-types)
1311 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1312 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1313 ("perl-namespace-clean" ,perl-namespace-clean)
1314 ("perl-tie-ixhash" ,perl-tie-ixhash)
1315 ("perl-try-tiny" ,perl-try-tiny)))
1316 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1317 (synopsis "DBIx::Class::Schema Model Class")
1318 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1320 (license l:perl-license)))
1322 (define-public perl-catalyst-plugin-accesslog
1324 (name "perl-catalyst-plugin-accesslog")
1329 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1330 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1333 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1334 (build-system perl-build-system)
1336 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1337 ("perl-datetime" ,perl-datetime)
1338 ("perl-moose" ,perl-moose)
1339 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1340 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1341 (synopsis "Request logging from within Catalyst")
1342 (description "This Catalyst plugin enables you to create \"access logs\"
1343 from within a Catalyst application instead of requiring a webserver to do it
1344 for you. It will work even with Catalyst debug logging turned off.")
1345 (license l:perl-license)))
1347 (define-public perl-catalyst-plugin-authentication
1349 (name "perl-catalyst-plugin-authentication")
1354 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1355 "Catalyst-Plugin-Authentication-"
1359 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1360 (build-system perl-build-system)
1362 `(("perl-module-install" ,perl-module-install)))
1364 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1365 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1366 ("perl-class-inspector" ,perl-class-inspector)
1367 ("perl-moose" ,perl-moose)
1368 ("perl-moosex-emulate-class-accessor-fast"
1369 ,perl-moosex-emulate-class-accessor-fast)
1370 ("perl-mro-compat" ,perl-mro-compat)
1371 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1372 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1373 ("perl-test-exception" ,perl-test-exception)
1374 ("perl-try-tiny" ,perl-try-tiny)))
1375 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1376 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1377 (description "The authentication plugin provides generic user support for
1378 Catalyst apps. It is the basis for both authentication (checking the user is
1379 who they claim to be), and authorization (allowing the user to do what the
1380 system authorises them to do).")
1381 (license l:perl-license)))
1383 (define-public perl-catalyst-plugin-authorization-roles
1385 (name "perl-catalyst-plugin-authorization-roles")
1390 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1391 "Catalyst-Plugin-Authorization-Roles-"
1395 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1396 (build-system perl-build-system)
1398 `(("perl-module-install" ,perl-module-install)
1399 ("perl-test-exception" ,perl-test-exception)))
1401 `(("perl-catalyst-plugin-authentication"
1402 ,perl-catalyst-plugin-authentication)
1403 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1404 ("perl-set-object" ,perl-set-object)
1405 ("perl-universal-isa" ,perl-universal-isa)))
1407 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1408 (synopsis "Role-based authorization for Catalyst")
1409 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1410 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1411 (license l:perl-license)))
1413 (define-public perl-catalyst-plugin-captcha
1415 (name "perl-catalyst-plugin-captcha")
1420 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1421 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1424 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1425 (build-system perl-build-system)
1427 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1428 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1429 ("perl-gd-securityimage" ,perl-gd-securityimage)
1430 ("perl-http-date" ,perl-http-date)))
1431 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1432 (synopsis "Captchas for Catalyst")
1433 (description "This plugin creates and validates Captcha images for
1435 (license l:perl-license)))
1437 (define-public perl-catalyst-plugin-configloader
1439 (name "perl-catalyst-plugin-configloader")
1444 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1445 "Catalyst-Plugin-ConfigLoader-"
1449 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1450 (build-system perl-build-system)
1452 `(("perl-path-class" ,perl-path-class)
1453 ("perl-module-install" ,perl-module-install)))
1455 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1456 ("perl-config-any" ,perl-config-any)
1457 ("perl-data-visitor" ,perl-data-visitor)
1458 ("perl-mro-compat" ,perl-mro-compat)))
1459 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1460 (synopsis "Load config files of various types")
1461 (description "This module will attempt to load find and load configuration
1462 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1464 (license l:perl-license)))
1466 (define-public perl-catalyst-plugin-session
1468 (name "perl-catalyst-plugin-session")
1473 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1474 "Catalyst-Plugin-Session-" version ".tar.gz"))
1477 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
1478 (build-system perl-build-system)
1480 `(("perl-module-install" ,perl-module-install)
1481 ("perl-test-deep" ,perl-test-deep)
1482 ("perl-test-exception" ,perl-test-exception)))
1484 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1485 ("perl-moose" ,perl-moose)
1486 ("perl-moosex-emulate-class-accessor-fast"
1487 ,perl-moosex-emulate-class-accessor-fast)
1488 ("perl-mro-compat" ,perl-mro-compat)
1489 ("perl-namespace-clean" ,perl-namespace-clean)
1490 ("perl-object-signature" ,perl-object-signature)
1491 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1492 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1493 (synopsis "Catalyst generic session plugin")
1494 (description "This plugin links the two pieces required for session
1495 management in web applications together: the state, and the store.")
1496 (license l:perl-license)))
1498 (define-public perl-catalyst-plugin-session-state-cookie
1500 (name "perl-catalyst-plugin-session-state-cookie")
1505 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1506 "Catalyst-Plugin-Session-State-Cookie-"
1510 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1511 (build-system perl-build-system)
1513 `(("perl-module-install" ,perl-module-install)))
1515 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1516 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1517 ("perl-moose" ,perl-moose)
1518 ("perl-mro-compat" ,perl-mro-compat)
1519 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1521 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1522 (synopsis "Maintain session IDs using cookies")
1523 (description "In order for Catalyst::Plugin::Session to work, the session
1524 ID needs to be stored on the client, and the session data needs to be stored
1525 on the server. This plugin stores the session ID on the client using the
1527 (license l:perl-license)))
1529 (define-public perl-catalyst-plugin-session-store-fastmmap
1531 (name "perl-catalyst-plugin-session-store-fastmmap")
1536 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1537 "Catalyst-Plugin-Session-Store-FastMmap-"
1541 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1542 (build-system perl-build-system)
1544 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1545 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1546 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1547 ("perl-moosex-emulate-class-accessor-fast"
1548 ,perl-moosex-emulate-class-accessor-fast)
1549 ("perl-mro-compat" ,perl-mro-compat)
1550 ("perl-path-class" ,perl-path-class)))
1552 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
1553 (synopsis "FastMmap session storage backend")
1554 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1555 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1556 memory interprocess cache. It is based on Cache::FastMmap.")
1557 (license l:perl-license)))
1559 (define-public perl-catalyst-plugin-stacktrace
1561 (name "perl-catalyst-plugin-stacktrace")
1566 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1567 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1570 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1571 (build-system perl-build-system)
1573 `(("perl-module-install" ,perl-module-install)))
1575 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1576 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1577 ("perl-mro-compat" ,perl-mro-compat)))
1578 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1579 (synopsis "Stack trace on the Catalyst debug screen")
1580 (description "This plugin enhances the standard Catalyst debug screen by
1581 including a stack trace of your application up to the point where the error
1582 occurred. Each stack frame is displayed along with the package name, line
1583 number, file name, and code context surrounding the line number.")
1584 (license l:perl-license)))
1586 (define-public perl-catalyst-plugin-static-simple
1588 (name "perl-catalyst-plugin-static-simple")
1593 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1594 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1597 "1h8f12bhzh0ssq9gs8r9g3hqn8zn2k0q944vc1vm8j81bns16msy"))))
1598 (build-system perl-build-system)
1600 `(("perl-module-install" ,perl-module-install)))
1602 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1603 ("perl-mime-types" ,perl-mime-types)
1604 ("perl-moose" ,perl-moose)
1605 ("perl-moosex-types" ,perl-moosex-types)
1606 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1607 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1608 (synopsis "Simple serving of static pages")
1609 (description "The Static::Simple plugin is designed to make serving static
1610 content in your application during development quick and easy, without
1611 requiring a single line of code from you. This plugin detects static files by
1612 looking at the file extension in the URL (such as .css or .png or .js). The
1613 plugin uses the lightweight MIME::Types module to map file extensions to
1614 IANA-registered MIME types, and will serve your static files with the correct
1615 MIME type directly to the browser, without being processed through Catalyst.")
1616 (license l:perl-license)))
1618 (define-public perl-catalyst-runtime
1620 (name "perl-catalyst-runtime")
1625 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1626 "Catalyst-Runtime-" version ".tar.gz"))
1629 "0kh3ng6pjpxmndq9vrn515f70x7h44ish5bsgjwj4pjvchcyivzm"))))
1630 (build-system perl-build-system)
1632 `(("perl-module-install" ,perl-module-install)
1633 ("perl-test-fatal" ,perl-test-fatal)))
1635 `(("perl-cgi-simple" ,perl-cgi-simple)
1636 ("perl-cgi-struct" ,perl-cgi-struct)
1637 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1638 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1639 ("perl-class-date" ,perl-class-date)
1640 ("perl-class-load" ,perl-class-load)
1641 ("perl-data-dump" ,perl-data-dump)
1642 ("perl-http-body" ,perl-http-body)
1643 ("perl-http-message" ,perl-http-message)
1644 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1645 ("perl-io-stringy" ,perl-io-stringy)
1646 ("perl-json-maybexs" ,perl-json-maybexs)
1647 ("perl-libwww" ,perl-libwww)
1648 ("perl-module-pluggable" ,perl-module-pluggable)
1649 ("perl-moose" ,perl-moose)
1650 ("perl-moosex-emulate-class-accessor-fast"
1651 ,perl-moosex-emulate-class-accessor-fast)
1652 ("perl-moosex-getopt" ,perl-moosex-getopt)
1653 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1654 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1655 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1656 ("perl-namespace-clean" ,perl-namespace-clean)
1657 ("perl-path-class" ,perl-path-class)
1658 ("perl-plack" ,perl-plack)
1659 ("perl-plack-middleware-fixmissingbodyinredirect"
1660 ,perl-plack-middleware-fixmissingbodyinredirect)
1661 ("perl-plack-middleware-methodoverride"
1662 ,perl-plack-middleware-methodoverride)
1663 ("perl-plack-middleware-removeredundantbody"
1664 ,perl-plack-middleware-removeredundantbody)
1665 ("perl-plack-middleware-reverseproxy"
1666 ,perl-plack-middleware-reverseproxy)
1667 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1668 ("perl-safe-isa" ,perl-safe-isa)
1669 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1670 ("perl-text-simpletable" ,perl-text-simpletable)
1671 ("perl-tree-simple" ,perl-tree-simple)
1672 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1673 ("perl-try-tiny" ,perl-try-tiny)
1674 ("perl-uri" ,perl-uri)
1675 ("perl-uri-ws" ,perl-uri-ws)))
1676 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1677 (synopsis "The Catalyst Framework Runtime")
1678 (description "Catalyst is a modern framework for making web applications.
1679 It is designed to make it easy to manage the various tasks you need to do to
1680 run an application on the web, either by doing them itself, or by letting you
1681 \"plug in\" existing Perl modules that do what you need.")
1682 (license l:perl-license)))
1684 (define-public perl-catalyst-traitfor-request-proxybase
1686 (name "perl-catalyst-traitfor-request-proxybase")
1687 (version "0.000005")
1691 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1692 "Catalyst-TraitFor-Request-ProxyBase-"
1696 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1697 (build-system perl-build-system)
1699 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1700 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1701 ("perl-http-message" ,perl-http-message)
1702 ("perl-module-install" ,perl-module-install)))
1704 `(("perl-moose" ,perl-moose)
1705 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1706 ("perl-uri" ,perl-uri)))
1708 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1709 (synopsis "Replace request base with value passed by HTTP proxy")
1710 (description "This module is a Moose::Role which allows you more
1711 flexibility in your application's deployment configurations when deployed
1712 behind a proxy. Using this module, the request base ($c->req->base) is
1713 replaced with the contents of the X-Request-Base header.")
1714 (license l:perl-license)))
1716 (define-public perl-catalyst-view-download
1718 (name "perl-catalyst-view-download")
1723 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1724 "Catalyst-View-Download-" version ".tar.gz"))
1727 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1728 (build-system perl-build-system)
1730 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1731 ("perl-module-install" ,perl-module-install)
1732 ("perl-test-simple" ,perl-test-simple)
1733 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1734 ("perl-text-csv" ,perl-text-csv)
1735 ("perl-xml-simple" ,perl-xml-simple)))
1736 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1737 (synopsis "Download data in many formats")
1738 (description "The purpose of this module is to provide a method for
1739 downloading data into many supportable formats. For example, downloading a
1740 table based report in a variety of formats (CSV, HTML, etc.).")
1741 (license l:perl-license)))
1743 (define-public perl-catalyst-view-json
1745 (name "perl-catalyst-view-json")
1750 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1751 "Catalyst-View-JSON-" version ".tar.gz"))
1754 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
1755 (build-system perl-build-system)
1757 `(("perl-module-install" ,perl-module-install)
1758 ("perl-yaml" ,perl-yaml)))
1760 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1761 ("perl-json-maybexs" ,perl-json-maybexs)
1762 ("perl-mro-compat" ,perl-mro-compat)))
1763 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1764 (synopsis "Catalyst JSON view")
1765 (description "Catalyst::View::JSON is a Catalyst View handler that returns
1766 stash data in JSON format.")
1767 (license l:perl-license)))
1769 (define-public perl-catalyst-view-tt
1771 (name "perl-catalyst-view-tt")
1776 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1777 "Catalyst-View-TT-" version ".tar.gz"))
1780 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
1781 (build-system perl-build-system)
1783 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1784 ("perl-class-accessor" ,perl-class-accessor)
1785 ("perl-data-dump" ,perl-data-dump)
1786 ("perl-mro-compat" ,perl-mro-compat)
1787 ("perl-path-class" ,perl-path-class)
1788 ("perl-template-timer" ,perl-template-timer)
1789 ("perl-template-toolkit" ,perl-template-toolkit)))
1790 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
1791 (synopsis "Template View Class")
1792 (description "This module is a Catalyst view class for the Template
1794 (license l:perl-license)))
1796 (define-public perl-catalystx-component-traits
1798 (name "perl-catalystx-component-traits")
1803 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
1804 "CatalystX-Component-Traits-" version ".tar.gz"))
1807 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
1808 (build-system perl-build-system)
1810 `(("perl-moose" ,perl-moose)
1811 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1812 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
1814 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1815 ("perl-class-load" ,perl-class-load)
1816 ("perl-moose" ,perl-moose)
1817 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
1818 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1819 ("perl-list-moreutils" ,perl-list-moreutils)))
1820 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
1821 (synopsis "Trait Loading and Resolution for Catalyst Components")
1822 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
1823 Catalyst component base class that reads the optional \"traits\" parameter
1824 from app and component config and instantiates the component subclass with
1825 those traits using \"new_with_traits\" in MooseX::Traits from
1826 MooseX::Traits::Pluggable.")
1827 (license l:perl-license)))
1829 (define-public perl-catalystx-roleapplicator
1831 (name "perl-catalystx-roleapplicator")
1836 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
1837 "CatalystX-RoleApplicator-" version ".tar.gz"))
1840 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
1841 (build-system perl-build-system)
1843 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1844 ("perl-moose" ,perl-moose)
1845 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
1846 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
1847 (synopsis "Apply roles to Catalyst classes")
1848 (description "CatalystX::RoleApplicator applies roles to Catalyst
1849 application classes.")
1850 (license l:perl-license)))
1852 (define-public perl-catalystx-script-server-starman
1854 (name "perl-catalystx-script-server-starman")
1859 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
1860 "CatalystX-Script-Server-Starman-"
1864 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
1865 (build-system perl-build-system)
1867 `(("perl-module-install" ,perl-module-install)
1868 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1870 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1871 ("perl-moose" ,perl-moose)
1872 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1873 ("starman" ,starman)))
1874 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
1875 (synopsis "Catalyst development server with Starman")
1876 (description "This module provides a Catalyst extension to replace the
1877 development server with Starman.")
1878 (license l:perl-license)))
1880 (define-public perl-cgi
1887 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
1888 "CGI-" version ".tar.gz"))
1891 "07gwnlc7vq58fjwmfsrv0hfyirqqdrpjhf89caq34rjrkz2wsd0b"))))
1892 (build-system perl-build-system)
1894 `(("perl-test-deep" ,perl-test-deep)
1895 ("perl-test-nowarnings" ,perl-test-nowarnings)
1896 ("perl-test-warn" ,perl-test-warn)))
1898 `(("perl-html-parser" ,perl-html-parser)))
1899 (home-page "http://search.cpan.org/dist/CGI")
1900 (synopsis "Handle Common Gateway Interface requests and responses")
1901 (description "CGI.pm is a stable, complete and mature solution for
1902 processing and preparing HTTP requests and responses. Major features include
1903 processing form submissions, file uploads, reading and writing cookies, query
1904 string generation and manipulation, and processing and preparing HTTP
1906 (license l:perl-license)))
1908 (define-public perl-cgi-simple
1910 (name "perl-cgi-simple")
1915 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
1916 "CGI-Simple-" version ".tar.gz"))
1919 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
1920 (build-system perl-build-system)
1922 `(("perl-module-build" ,perl-module-build)
1923 ("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
1924 (home-page "http://search.cpan.org/dist/CGI-Simple")
1925 (synopsis "CGI interface that is CGI.pm compliant")
1926 (description "CGI::Simple provides a relatively lightweight drop in
1927 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
1928 parameter parsing, file upload, cookie handling and header generation.")
1929 (license l:perl-license)))
1931 (define-public perl-cgi-struct
1933 (name "perl-cgi-struct")
1938 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
1939 "CGI-Struct-" version ".tar.gz"))
1942 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
1943 (build-system perl-build-system)
1945 `(("perl-test-deep" ,perl-test-deep)))
1946 (home-page "http://search.cpan.org/dist/CGI-Struct")
1947 (synopsis "Build structures from CGI data")
1948 (description "This is a module for building structured data from CGI
1949 inputs, in a manner reminiscent of how PHP does.")
1952 (define-public perl-datetime-format-http
1954 (name "perl-datetime-format-http")
1959 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
1960 "DateTime-Format-HTTP-" version ".tar.gz"))
1963 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
1964 (build-system perl-build-system)
1966 `(("perl-module-build" ,perl-module-build)))
1968 `(("perl-datetime" ,perl-datetime)
1969 ("perl-http-date" ,perl-http-date)))
1970 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
1971 (synopsis "Date conversion routines")
1972 (description "This module provides functions that deal with the date
1973 formats used by the HTTP protocol.")
1974 (license l:perl-license)))
1976 (define-public perl-digest-md5-file
1978 (name "perl-digest-md5-file")
1983 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
1984 "Digest-MD5-File-" version ".tar.gz"))
1987 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
1988 (build-system perl-build-system)
1990 `(("perl-libwww" ,perl-libwww)))
1991 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
1992 (synopsis "MD5 sums for files and urls")
1993 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
1994 for files and urls.")
1995 (license l:perl-license)))
1997 (define-public perl-encode-locale
1999 (name "perl-encode-locale")
2004 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2008 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2009 (build-system perl-build-system)
2010 (license l:perl-license)
2011 (synopsis "Perl locale encoding determination")
2013 "The POSIX locale system is used to specify both the language
2014 conventions requested by the user and the preferred character set to
2015 consume and output. The Encode::Locale module looks up the charset and
2016 encoding (called a CODESET in the locale jargon) and arranges for the
2017 Encode module to know this encoding under the name \"locale\". It means
2018 bytes obtained from the environment can be converted to Unicode strings
2019 by calling Encode::encode(locale => $bytes) and converted back again
2020 with Encode::decode(locale => $string).")
2021 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
2023 (define-public perl-feed-find
2025 (name "perl-feed-find")
2029 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2030 "Feed-Find-" version ".tar.gz"))
2033 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2034 (build-system perl-build-system)
2036 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2039 (modify-phases %standard-phases
2040 (add-after 'unpack 'set-env
2041 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2043 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2044 ("perl-html-parser" ,perl-html-parser)
2045 ("perl-libwww" ,perl-libwww)
2046 ("perl-uri" ,perl-uri)))
2047 (home-page "http://search.cpan.org/dist/Feed-Find")
2048 (synopsis "Syndication feed auto-discovery")
2049 (description "@code{Feed::Find} implements feed auto-discovery for finding
2050 syndication feeds, given a URI. It will discover the following feed formats:
2051 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2052 (license l:perl-license)))
2054 (define-public perl-file-listing
2056 (name "perl-file-listing")
2061 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2065 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2066 (build-system perl-build-system)
2068 `(("perl-http-date" ,perl-http-date)))
2069 (license l:perl-license)
2070 (synopsis "Perl directory listing parser")
2072 "The File::Listing module exports a single function called parse_dir(),
2073 which can be used to parse directory listings.")
2074 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
2076 (define-public perl-finance-quote
2078 (name "perl-finance-quote")
2083 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2084 "Finance-Quote-" version ".tar.gz"))
2087 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
2088 (patches (search-patches
2089 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2090 (build-system perl-build-system)
2092 `(("perl-cgi" ,perl-cgi)
2093 ("perl-datetime" ,perl-datetime)
2094 ("perl-html-parser" ,perl-html-parser)
2095 ("perl-html-tableextract" ,perl-html-tableextract)
2096 ("perl-html-tree" ,perl-html-tree)
2097 ("perl-http-cookies" ,perl-http-cookies)
2098 ("perl-http-message" ,perl-http-message)
2099 ("perl-json" ,perl-json)
2100 ("perl-libwww" ,perl-libwww)
2101 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2102 ("perl-uri" ,perl-uri)))
2103 (home-page "http://search.cpan.org/dist/Finance-Quote")
2104 (synopsis "Stock and mutual fund quotes")
2106 "Finance::Quote gets stock quotes from various internet sources, including
2107 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2110 (define-public perl-gssapi
2112 (name "perl-gssapi")
2117 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2118 "GSSAPI-" version ".tar.gz"))
2121 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2122 (build-system perl-build-system)
2123 (inputs `(("gssapi" ,mit-krb5)))
2125 `(#:make-maker-flags
2126 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2127 (home-page "http://search.cpan.org/dist/GSSAPI")
2128 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2129 (description "This is a Perl extension for using GSSAPI C bindings as
2130 described in RFC 2744.")
2131 (license l:perl-license)))
2133 (define-public perl-html-element-extended
2135 (name "perl-html-element-extended")
2140 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2141 "HTML-Element-Extended-" version ".tar.gz"))
2144 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2145 (build-system perl-build-system)
2147 `(("perl-html-tree" ,perl-html-tree)))
2148 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
2149 (synopsis "Manipulate tables of HTML::Element")
2151 "HTML::Element::Extended is a Perl extension for manipulating a table
2152 composed of HTML::Element style components.")
2153 (license l:perl-license)))
2155 (define-public perl-html-form
2157 (name "perl-html-form")
2162 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2163 "HTML-Form-" version ".tar.gz"))
2166 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2167 (build-system perl-build-system)
2169 `(("perl-html-parser" ,perl-html-parser)
2170 ("perl-html-tagset" ,perl-html-tagset)
2171 ("perl-http-message" ,perl-http-message)
2172 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2173 ("perl-uri" ,perl-uri)))
2174 (home-page "http://search.cpan.org/dist/HTML-Form")
2175 (synopsis "Perl class representing an HTML form element")
2176 (description "Objects of the HTML::Form class represents a single HTML
2177 <form> ... </form> instance.")
2178 (license l:perl-license)))
2180 (define-public perl-html-lint
2182 (name "perl-html-lint")
2187 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2188 "HTML-Lint-" version ".tar.gz"))
2191 "15vrqjnlb0f8rib1kqdf4islqy6i33h08wy7b1bkgd550p7lfjwk"))))
2192 (build-system perl-build-system)
2194 `(("perl-html-parser" ,perl-html-parser)
2195 ("perl-html-tagset" ,perl-html-tagset)
2196 ("perl-libwww" ,perl-libwww)))
2197 (home-page "http://search.cpan.org/dist/HTML-Lint")
2198 (synopsis "Check for HTML errors in a string or file")
2199 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2200 syntactic legitmacy.")
2201 (license l:artistic2.0)))
2203 (define-public perl-html-tableextract
2205 (name "perl-html-tableextract")
2210 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2211 "HTML-TableExtract-" version ".tar.gz"))
2214 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2215 (build-system perl-build-system)
2217 `(("perl-html-element-extended" ,perl-html-element-extended)
2218 ("perl-html-parser" ,perl-html-parser)))
2219 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
2220 (synopsis "Extract contents from HTML tables")
2222 "HTML::TableExtract is a Perl module for extracting the content contained
2223 in tables within an HTML document, either as text or encoded element trees.")
2224 (license l:perl-license)))
2226 (define-public perl-html-tree
2228 (name "perl-html-tree")
2233 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2234 "HTML-Tree-" version ".tar.gz"))
2237 "0vjk4xrybjqs511qrh9cymhpbg9m3jjqr52qr035k6nzrccyndlw"))))
2238 (build-system perl-build-system)
2240 `(("perl-module-build" ,perl-module-build)
2241 ("perl-test-fatal" ,perl-test-fatal)))
2243 `(("perl-html-parser" ,perl-html-parser)
2244 ("perl-html-tagset" ,perl-html-tagset)
2245 ("perl-libwww" ,perl-libwww)))
2246 (home-page "http://search.cpan.org/dist/HTML-Tree")
2247 (synopsis "Work with HTML in a DOM-like tree structure")
2248 (description "This distribution contains a suite of modules for
2249 representing, creating, and extracting information from HTML syntax trees.")
2250 (license l:perl-license)))
2252 (define-public perl-html-parser
2254 (name "perl-html-parser")
2259 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2263 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2264 (build-system perl-build-system)
2266 `(("perl-html-tagset" ,perl-html-tagset)
2267 ("perl-http-message" ,perl-http-message)))
2268 (license l:perl-license)
2269 (synopsis "Perl HTML parser class")
2271 "Objects of the HTML::Parser class will recognize markup and separate
2272 it from plain text (alias data content) in HTML documents. As different
2273 kinds of markup and text are recognized, the corresponding event handlers
2275 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2277 (define-public perl-html-tagset
2279 (name "perl-html-tagset")
2284 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2288 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2289 (build-system perl-build-system)
2290 (license l:perl-license)
2291 (synopsis "Perl data tables useful in parsing HTML")
2293 "The HTML::Tagset module contains several data tables useful in various
2294 kinds of HTML parsing operations.")
2295 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
2297 (define-public perl-html-template
2299 (name "perl-html-template")
2303 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2304 "HTML-Template-" version ".tar.gz"))
2307 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2308 (build-system perl-build-system)
2310 `(("perl-cgi" ,perl-cgi)))
2311 (home-page "http://search.cpan.org/dist/HTML-Template")
2312 (synopsis "HTML-like templates")
2314 "This module attempts to make using HTML templates simple and natural.
2315 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2316 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2317 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2318 these new tags is called a template. Using this module you fill in the values
2319 for the variables, loops and branches declared in the template. This allows
2320 you to separate design from the data.")
2321 (license l:perl-license)))
2323 (define-public perl-http-body
2325 (name "perl-http-body")
2330 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2331 "HTTP-Body-" version ".tar.gz"))
2334 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2335 (build-system perl-build-system)
2337 `(("perl-test-deep" ,perl-test-deep)))
2339 `(("perl-file-temp" ,perl-file-temp)
2340 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2341 (home-page "http://search.cpan.org/dist/HTTP-Body")
2342 (synopsis "HTTP Body Parser")
2343 (description "HTTP::Body parses chunks of HTTP POST data and supports
2344 application/octet-stream, application/json, application/x-www-form-urlencoded,
2345 and multipart/form-data.")
2346 (license l:perl-license)))
2348 (define-public perl-http-cookiejar
2350 (name "perl-http-cookiejar")
2355 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2356 "HTTP-CookieJar-" version ".tar.gz"))
2359 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2360 (build-system perl-build-system)
2362 `(("perl-test-deep" ,perl-test-deep)
2363 ("perl-test-requires" ,perl-test-requires)
2364 ("perl-time-mock" ,perl-time-mock)
2365 ("perl-uri" ,perl-uri)))
2367 `(("perl-time-local" ,perl-time-local)
2368 ("perl-http-date" ,perl-http-date)))
2369 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2370 (synopsis "Minimalist HTTP user agent cookie jar")
2371 (description "This module implements a minimalist HTTP user agent cookie
2372 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2373 (license l:asl2.0)))
2375 (define-public perl-http-cookies
2377 (name "perl-http-cookies")
2382 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-"
2386 "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm"))))
2387 (build-system perl-build-system)
2389 `(("perl-http-message" ,perl-http-message)))
2390 (license l:perl-license)
2391 (synopsis "Perl HTTP cookie jars")
2393 "The HTTP::Cookies class is for objects that represent a cookie jar,
2394 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2395 object knows about.")
2396 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2398 (define-public perl-http-daemon
2400 (name "perl-http-daemon")
2405 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2409 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2410 (build-system perl-build-system)
2412 `(("perl-http-message" ,perl-http-message)
2413 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2414 (license l:perl-license)
2415 (synopsis "Perl simple http server class")
2417 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2418 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2419 IO::Socket::INET, so you can perform socket operations directly on it too.")
2420 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2422 (define-public perl-http-date
2424 (name "perl-http-date")
2429 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2433 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2434 (build-system perl-build-system)
2435 (license l:perl-license)
2436 (synopsis "Perl date conversion routines")
2438 "The HTTP::Date module provides functions that deal with date formats
2439 used by the HTTP protocol (and then some more).")
2440 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2442 (define-public perl-http-message
2444 (name "perl-http-message")
2449 "mirror://cpan/authors/id/E/ET/ETHER/HTTP-Message-"
2453 "06yq6cjx4vzl4if4ykap77xsrrd8aa7ish90k7cqi8g6g83nicz7"))))
2454 (build-system perl-build-system)
2456 `(("perl-encode-locale" ,perl-encode-locale)
2457 ("perl-http-date" ,perl-http-date)
2458 ("perl-io-html" ,perl-io-html)
2459 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2460 ("perl-uri" ,perl-uri)))
2461 (license l:perl-license)
2462 (synopsis "Perl HTTP style message")
2464 "An HTTP::Message object contains some headers and a content body.")
2465 (home-page "http://search.cpan.org/~ether/HTTP-Message/")))
2467 (define-public perl-http-negotiate
2469 (name "perl-http-negotiate")
2474 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2478 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2479 (build-system perl-build-system)
2481 `(("perl-http-message" ,perl-http-message)))
2482 (license l:perl-license)
2483 (synopsis "Perl http content negotiation")
2485 "The HTTP::Negotiate module provides a complete implementation of the
2486 HTTP content negotiation algorithm specified in
2487 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2488 the selection of a preferred content representation based upon attributes
2489 of the negotiable variants and the value of the various Accept* header
2490 fields in the request.")
2491 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2493 (define-public perl-http-parser
2495 (name "perl-http-parser")
2500 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2501 "HTTP-Parser-" version ".tar.gz"))
2504 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2505 (build-system perl-build-system)
2507 `(("perl-http-message" ,perl-http-message)
2508 ("perl-uri" ,perl-uri)))
2509 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2510 (synopsis "Parse HTTP/1.1 requests")
2511 (description "This is an HTTP request parser. It takes chunks of text as
2512 received and returns a 'hint' as to what is required, or returns the
2513 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2515 (license l:perl-license)))
2517 (define-public perl-http-parser-xs
2519 (name "perl-http-parser-xs")
2524 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2525 "HTTP-Parser-XS-" version ".tar.gz"))
2528 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2529 (build-system perl-build-system)
2531 `(("perl-module-install" ,perl-module-install)))
2532 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2533 (synopsis "Fast HTTP request parser")
2534 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2536 (license l:perl-license)))
2538 (define-public perl-http-request-ascgi
2540 (name "perl-http-request-ascgi")
2545 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2546 "HTTP-Request-AsCGI-" version ".tar.gz"))
2549 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2550 (build-system perl-build-system)
2552 `(("perl-class-accessor" ,perl-class-accessor)
2553 ("perl-http-message" ,perl-http-message)))
2554 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2555 (synopsis "Set up a CGI environment from an HTTP::Request")
2556 (description "This module provides a convenient way to set up a CGI
2557 environment from an HTTP::Request.")
2558 (license l:perl-license)))
2560 (define-public perl-http-server-simple
2562 (name "perl-http-server-simple")
2567 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
2568 "HTTP-Server-Simple-" version ".tar.gz"))
2571 "1yvd2g57z2kq00q5i3zzfi15k98qgbif3vghjsda6v612agmrp5r"))))
2572 (build-system perl-build-system)
2574 `(("perl-cgi" ,perl-cgi)))
2576 ;; See the discussion of a related tests issue at
2577 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2580 #:phases (modify-phases %standard-phases
2581 (add-before 'configure 'set-search-path
2583 ;; Work around "dotless @INC" build failure.
2585 (string-append (getcwd) ":"
2586 (getenv "PERL5LIB")))
2588 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2589 (synopsis "Lightweight HTTP server")
2590 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2591 no non-core module dependencies. It can be used for building a standalone
2592 http-based UI to your existing tools.")
2593 (license l:perl-license)))
2595 (define-public perl-http-tiny
2597 (name "perl-http-tiny")
2602 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2603 "HTTP-Tiny-" version ".tar.gz"))
2606 "0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
2607 (build-system perl-build-system)
2609 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2610 ("perl-io-socket-ip" ,perl-io-socket-ip)
2611 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2612 ("perl-mozilla-ca" ,perl-mozilla-ca)
2613 ("perl-net-ssleay" ,perl-net-ssleay)))
2614 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2615 (synopsis "HTTP/1.1 client")
2616 (description "This is a very simple HTTP/1.1 client, designed for doing
2617 simple requests without the overhead of a large framework like LWP::UserAgent.
2618 It supports proxies and redirection. It also correctly resumes after EINTR.")
2619 (license l:perl-license)))
2621 (define-public perl-io-html
2623 (name "perl-io-html")
2628 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2632 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2633 (build-system perl-build-system)
2634 (license l:perl-license)
2635 (synopsis "Perl module to open an HTML file with automatic charset detection")
2637 "IO::HTML provides an easy way to open a file containing HTML while
2638 automatically determining its encoding. It uses the HTML5 encoding sniffing
2639 algorithm specified in section 8.2.2.1 of the draft standard.")
2640 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2642 (define-public perl-io-socket-ip
2644 (name "perl-io-socket-ip")
2649 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2650 "IO-Socket-IP-" version ".tar.gz"))
2653 "0ky20hmln6waipzqikizyw04vpszf70fgpshz7ib8zv8480ri456"))))
2654 (build-system perl-build-system)
2655 (native-inputs `(("perl-module-build" ,perl-module-build)))
2656 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2657 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2658 (description "This module provides a protocol-independent way to use IPv4
2659 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2660 (license l:perl-license)))
2662 (define-public perl-io-socket-ssl
2664 (name "perl-io-socket-ssl")
2668 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2669 "IO-Socket-SSL-" version ".tar.gz"))
2672 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2673 (patches (search-patches
2674 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2675 (build-system perl-build-system)
2677 `(("perl-net-ssleay" ,perl-net-ssleay)
2679 ("perl-uri" ,perl-uri)))
2680 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2682 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2683 necessary functionality into the familiar IO::Socket interface and providing
2684 secure defaults whenever possible. This way existing applications can be made
2685 SSL-aware without much effort, at least if you do blocking I/O and don't use
2687 (license l:perl-license)
2688 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2690 (define-public perl-libwww
2692 (name "perl-libwww")
2697 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
2701 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
2702 (build-system perl-build-system)
2704 `(("perl-encode-locale" ,perl-encode-locale)
2705 ("perl-file-listing" ,perl-file-listing)
2706 ("perl-html-parser" ,perl-html-parser)
2707 ("perl-http-cookies" ,perl-http-cookies)
2708 ("perl-http-daemon" ,perl-http-daemon)
2709 ("perl-http-date" ,perl-http-date)
2710 ("perl-http-message" ,perl-http-message)
2711 ("perl-http-negotiate" ,perl-http-negotiate)
2712 ("perl-net-http" ,perl-net-http)
2713 ("perl-uri" ,perl-uri)
2714 ("perl-www-robotrules" ,perl-www-robotrules)))
2715 (license l:perl-license)
2716 (synopsis "Perl modules for the WWW")
2718 "The libwww-perl collection is a set of Perl modules which provides a
2719 simple and consistent application programming interface to the
2720 World-Wide Web. The main focus of the library is to provide classes
2721 and functions that allow you to write WWW clients. The library also
2722 contains modules that are of more general use and even classes that
2723 help you implement simple HTTP servers.")
2724 (home-page "http://search.cpan.org/dist/libwww-perl/")))
2726 (define-public perl-lwp-mediatypes
2728 (name "perl-lwp-mediatypes")
2733 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
2737 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
2738 (build-system perl-build-system)
2739 (license l:perl-license)
2740 (synopsis "Perl module to guess the media type for a file or a URL")
2742 "The LWP::MediaTypes module provides functions for handling media (also
2743 known as MIME) types and encodings. The mapping from file extensions to
2744 media types is defined by the media.types file. If the ~/.media.types file
2745 exists it is used instead.")
2746 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
2748 (define-public perl-lwp-protocol-https
2750 (name "perl-lwp-protocol-https")
2755 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
2756 "LWP-Protocol-https-" version ".tar.gz"))
2759 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
2760 (build-system perl-build-system)
2762 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2763 ("perl-libwww" ,perl-libwww)
2764 ;; Users should instead make sure SSL_ca_path is set properly.
2765 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
2766 ("perl-net-http" ,perl-net-http)))
2767 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
2768 (synopsis "HTTPS support for LWP::UserAgent")
2769 (description "The LWP::Protocol::https module provides support for using
2770 https schemed URLs with LWP.")
2771 (license l:perl-license)))
2773 (define-public perl-lwp-useragent-determined
2775 (name "perl-lwp-useragent-determined")
2780 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
2781 "LWP-UserAgent-Determined-" version ".tar.gz"))
2784 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
2785 (build-system perl-build-system)
2787 `(("perl-libwww" ,perl-libwww)))
2788 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
2789 (synopsis "Virtual browser that retries errors")
2790 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
2791 except that when you use it to get a web page but run into a
2792 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
2793 and retry a few times.")
2794 (license l:perl-license)))
2796 (define-public perl-net-amazon-s3
2798 (name "perl-net-amazon-s3")
2803 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
2804 "Net-Amazon-S3-" version ".tar.gz"))
2807 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
2808 (patches (search-patches
2809 "perl-net-amazon-s3-moose-warning.patch"))))
2810 (build-system perl-build-system)
2812 `(("perl-libwww" ,perl-libwww)
2813 ("perl-test-exception" ,perl-test-exception)))
2815 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
2816 ("perl-datetime-format-http" ,perl-datetime-format-http)
2817 ("perl-digest-hmac" ,perl-digest-hmac)
2818 ("perl-digest-md5-file" ,perl-digest-md5-file)
2819 ("perl-file-find-rule" ,perl-file-find-rule)
2820 ("perl-http-date" ,perl-http-date)
2821 ("perl-http-message" ,perl-http-message)
2822 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
2823 ("perl-mime-types" ,perl-mime-types)
2824 ("perl-moose" ,perl-moose)
2825 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
2826 ("perl-moosex-types-datetime-morecoercions"
2827 ,perl-moosex-types-datetime-morecoercions)
2828 ("perl-path-class" ,perl-path-class)
2829 ("perl-regexp-common" ,perl-regexp-common)
2830 ("perl-term-encoding" ,perl-term-encoding)
2831 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
2832 ("perl-uri" ,perl-uri)
2833 ("perl-xml-libxml" ,perl-xml-libxml)))
2834 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
2835 (synopsis "Perl interface to Amazon S3")
2836 (description "This module provides a Perlish interface to Amazon S3.")
2837 (license l:perl-license)))
2839 (define-public perl-net-http
2841 (name "perl-net-http")
2846 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
2850 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
2851 (build-system perl-build-system)
2853 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2854 ("perl-uri" ,perl-uri)))
2855 (license l:perl-license)
2856 (synopsis "Perl low-level HTTP connection (client)")
2858 "The Net::HTTP class is a low-level HTTP client. An instance of the
2859 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
2860 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
2862 (home-page "http://search.cpan.org/dist/Net-HTTP")))
2864 (define-public perl-net-server
2866 (name "perl-net-server")
2871 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
2872 "Net-Server-" version ".tar.gz"))
2875 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
2876 (build-system perl-build-system)
2877 (home-page "http://search.cpan.org/dist/Net-Server")
2878 (synopsis "Extensible Perl server engine")
2879 (description "Net::Server is an extensible, generic Perl server engine.
2880 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
2881 It includes with it the ability to run as an inetd
2882 process (Net::Server::INET), a single connection server (Net::Server or
2883 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
2884 server which maintains a constant number of preforked
2885 children (Net::Server::PreForkSimple), or as a managed preforking server which
2886 maintains the number of children based on server load (Net::Server::PreFork).
2887 In all but the inetd type, the server provides the ability to connect to one
2888 or to multiple server ports.")
2889 (license l:perl-license)))
2891 (define-public perl-net-smtp-ssl
2893 (name "perl-net-smtp-ssl")
2898 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
2899 "Net-SMTP-SSL-" version ".tar.gz"))
2902 "05y94mb1vdw32mvwb0cp2h4ggh32f8j8nwwfjb8kjwxvfkfhyp9h"))))
2903 (build-system perl-build-system)
2905 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
2906 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
2907 (synopsis "SSL support for Net::SMTP")
2908 (description "SSL support for Net::SMTP.")
2909 (license l:perl-license)))
2911 (define-public perl-plack
2918 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2919 "Plack-" version ".tar.gz"))
2922 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
2923 (build-system perl-build-system)
2925 `(("perl-test-requires" ,perl-test-requires)
2926 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
2928 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
2929 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2930 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
2931 ("perl-file-sharedir" ,perl-file-sharedir)
2932 ("perl-hash-multivalue" ,perl-hash-multivalue)
2933 ("perl-http-body" ,perl-http-body)
2934 ("perl-http-message" ,perl-http-message)
2935 ("perl-http-tiny" ,perl-http-tiny)
2936 ("perl-libwww" ,perl-libwww)
2937 ("perl-stream-buffered" ,perl-stream-buffered)
2938 ("perl-test-tcp" ,perl-test-tcp)
2939 ("perl-try-tiny" ,perl-try-tiny)
2940 ("perl-uri" ,perl-uri)))
2941 (home-page "http://search.cpan.org/dist/Plack")
2942 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
2943 (description "Plack is a set of tools for using the PSGI stack. It
2944 contains middleware components, a reference server, and utilities for Web
2945 application frameworks. Plack is like Ruby's Rack or Python's Paste for
2947 (license l:perl-license)))
2949 (define-public perl-plack-middleware-fixmissingbodyinredirect
2951 (name "perl-plack-middleware-fixmissingbodyinredirect")
2956 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2957 "Plack-Middleware-FixMissingBodyInRedirect-"
2961 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
2962 (build-system perl-build-system)
2964 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
2965 ("perl-http-message" ,perl-http-message)
2966 ("perl-plack" ,perl-plack))) ;for Plack::Test
2968 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
2969 (synopsis "Plack::Middleware which sets body for redirect response")
2970 (description "This module sets the body in redirect response, if it's not
2972 (license l:perl-license)))
2974 (define-public perl-plack-middleware-methodoverride
2976 (name "perl-plack-middleware-methodoverride")
2981 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
2982 "Plack-Middleware-MethodOverride-"
2986 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
2987 (build-system perl-build-system)
2989 `(("perl-module-build" ,perl-module-build)))
2991 `(("perl-plack" ,perl-plack)))
2992 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
2993 (synopsis "Override REST methods to Plack apps via POST")
2994 (description "This middleware allows for POST requests that pretend to be
2995 something else: by adding either a header named X-HTTP-Method-Override to the
2996 request, or a query parameter named x-tunneled-method to the URI, the client
2997 can say what method it actually meant.")
2998 (license l:perl-license)))
3000 (define-public perl-plack-middleware-removeredundantbody
3002 (name "perl-plack-middleware-removeredundantbody")
3007 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3008 "Plack-Middleware-RemoveRedundantBody-"
3012 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
3013 (build-system perl-build-system)
3015 `(("perl-plack" ,perl-plack)))
3017 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
3018 (synopsis "Plack::Middleware which removes body for HTTP response")
3019 (description "This module removes the body in an HTTP response if it's not
3021 (license l:perl-license)))
3023 (define-public perl-plack-middleware-reverseproxy
3025 (name "perl-plack-middleware-reverseproxy")
3030 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3031 "Plack-Middleware-ReverseProxy-"
3035 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
3036 (build-system perl-build-system)
3038 `(("perl-module-install" ,perl-module-install)))
3040 `(("perl-plack" ,perl-plack)))
3041 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
3042 (synopsis "Supports app to run as a reverse proxy backend")
3043 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3044 which are changed by reverse-proxy. You can specify the reverse proxy address
3045 and stop fake requests using 'enable_if' directive in your app.psgi.")
3046 (license l:perl-license)))
3048 (define-public perl-plack-test-externalserver
3050 (name "perl-plack-test-externalserver")
3055 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3056 "Plack-Test-ExternalServer-" version ".tar.gz"))
3059 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
3060 (build-system perl-build-system)
3062 `(("perl-plack" ,perl-plack)))
3063 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
3064 (synopsis "Run HTTP tests on external live servers")
3065 (description "This module allows your to run your Plack::Test tests
3066 against an external server instead of just against a local application through
3067 either mocked HTTP or a locally spawned server.")
3068 (license l:perl-license)))
3070 (define-public perl-test-tcp
3072 (name "perl-test-tcp")
3077 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3078 "Test-TCP-" version ".tar.gz"))
3081 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
3082 (build-system perl-build-system)
3084 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3085 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3086 (home-page "http://search.cpan.org/dist/Test-TCP")
3087 (synopsis "Testing TCP programs")
3088 (description "Test::TCP is test utilities for TCP/IP programs.")
3089 (license l:perl-license)))
3091 (define-public perl-test-www-mechanize
3093 (name "perl-test-www-mechanize")
3098 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3099 "Test-WWW-Mechanize-" version ".tar.gz"))
3102 "062pj242vsc73bw11jqpap92ax9wzc9f2m4xhyp1wzrwkfchpl2q"))))
3103 (build-system perl-build-system)
3105 `(("perl-test-exception" ,perl-test-exception)))
3107 `(("perl-module-install" ,perl-module-install)))
3109 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3110 ("perl-html-form" ,perl-html-form)
3111 ("perl-html-lint" ,perl-html-lint)
3112 ("perl-html-tree" ,perl-html-tree)
3113 ("perl-http-server-simple" ,perl-http-server-simple)
3114 ("perl-libwww" ,perl-libwww)
3115 ("perl-test-longstring" ,perl-test-longstring)
3116 ("perl-www-mechanize" ,perl-www-mechanize)))
3117 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
3118 (synopsis "Testing-specific WWW::Mechanize subclass")
3119 (description "Test::WWW::Mechanize is a subclass of the Perl module
3120 WWW::Mechanize that incorporates features for web application testing.")
3121 (license l:artistic2.0)))
3123 (define-public perl-test-www-mechanize-catalyst
3125 (name "perl-test-www-mechanize-catalyst")
3130 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
3131 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3134 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
3135 (build-system perl-build-system)
3137 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3138 ("perl-catalyst-plugin-session-state-cookie"
3139 ,perl-catalyst-plugin-session-state-cookie)
3140 ("perl-module-install" ,perl-module-install)
3141 ("perl-test-exception" ,perl-test-exception)
3142 ("perl-test-pod" ,perl-test-pod)
3143 ("perl-test-utf8" ,perl-test-utf8)))
3145 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3146 ("perl-class-load" ,perl-class-load)
3147 ("perl-libwww" ,perl-libwww)
3148 ("perl-moose" ,perl-moose)
3149 ("perl-namespace-clean" ,perl-namespace-clean)
3150 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3151 ("perl-www-mechanize" ,perl-www-mechanize)))
3152 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
3153 (synopsis "Test::WWW::Mechanize for Catalyst")
3154 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3155 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3156 testing of Catalyst applications without needing to start up a web server.")
3157 (license l:perl-license)))
3159 (define-public perl-test-www-mechanize-psgi
3161 (name "perl-test-www-mechanize-psgi")
3166 (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
3167 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3170 "1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
3171 (build-system perl-build-system)
3173 `(("perl-test-pod" ,perl-test-pod)))
3175 `(("perl-plack" ,perl-plack)
3176 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3177 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
3178 (synopsis "Test PSGI programs using WWW::Mechanize")
3179 (description "PSGI is a specification to decouple web server environments
3180 from web application framework code. Test::WWW::Mechanize is a subclass of
3181 WWW::Mechanize that incorporates features for web application testing. The
3182 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3184 (license l:perl-license)))
3186 (define-public perl-uri
3192 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3193 "URI-" version ".tar.gz"))
3196 "05a1ck1bhvqkkk690xhsxf7276dnagk96qkh2jy4prrrgw6wm3lw"))))
3197 (build-system perl-build-system)
3198 (license l:perl-license)
3199 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3201 "The URI module implements the URI class. Objects of this class
3202 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3203 and updated by RFC 2732.")
3204 (home-page "http://search.cpan.org/dist/URI/")))
3206 (define-public perl-uri-fetch
3208 (name "perl-uri-fetch")
3212 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3213 "URI-Fetch-" version ".tar.gz"))
3216 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3217 (build-system perl-build-system)
3219 `(#:tests? #f)) ; Tests require internet connection to succeed
3221 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3222 ("perl-libwww" ,perl-libwww)
3223 ("perl-uri" ,perl-uri)))
3224 (home-page "http://search.cpan.org/dist/URI-Fetch")
3225 (synopsis "Smart URI fetching/caching")
3226 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3227 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3228 and time-saving way.")
3229 (license l:perl-license)))
3231 (define-public perl-uri-find
3233 (name "perl-uri-find")
3234 (version "20140709")
3238 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3239 "URI-Find-" version ".tar.gz"))
3242 "0czc4h182s7sx3k123m7qlg7yybnwxgh369hap3c3b6xgrglrhy0"))))
3243 (build-system perl-build-system)
3245 `(("perl-module-build" ,perl-module-build)))
3247 `(("perl-uri" ,perl-uri)))
3248 (home-page "http://search.cpan.org/dist/URI-Find")
3249 (synopsis "Find URIs in arbitrary text")
3250 (description "This module finds URIs and URLs (according to what URI.pm
3251 considers a URI) in plain text. It only finds URIs which include a
3252 scheme (http:// or the like), for something a bit less strict, consider
3253 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3254 (license l:perl-license)))
3256 (define-public perl-uri-ws
3258 (name "perl-uri-ws")
3263 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3264 "URI-ws-" version ".tar.gz"))
3267 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3268 (build-system perl-build-system)
3270 `(("perl-uri" ,perl-uri)))
3271 (home-page "http://search.cpan.org/dist/URI-ws")
3272 (synopsis "WebSocket support for URI package")
3273 (description "With this module, the URI package provides the same set of
3274 methods for WebSocket URIs as it does for HTTP URIs.")
3275 (license l:perl-license)))
3277 (define-public perl-uri-template
3279 (name "perl-uri-template")
3283 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3287 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3288 (build-system perl-build-system)
3290 `(("perl-uri" ,perl-uri)))
3292 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3293 ("perl-test-pod" ,perl-test-pod)
3294 ("perl-module-install" ,perl-module-install)
3295 ("perl-json" ,perl-json)))
3296 (home-page "http://search.cpan.org/dist/URI-Template")
3297 (synopsis "Object for handling URI templates")
3298 (description "This perl module provides a wrapper around URI templates as described in
3300 (license l:perl-license)))
3302 (define-public perl-www-curl
3304 (name "perl-www-curl")
3309 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3311 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3314 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3315 (build-system perl-build-system)
3317 '(#:tests? #f ;XXX: tests require network access
3319 #:phases (modify-phases %standard-phases
3320 (add-before 'configure 'set-search-path
3322 ;; Work around "dotless @INC" build failure.
3324 (string-append (getcwd) ":"
3325 (getenv "PERL5LIB")))
3328 `(("perl-module-install" ,perl-module-install)))
3329 (inputs `(("curl" ,curl)))
3330 (synopsis "Perl extension interface for libcurl")
3332 "This is a Perl extension interface for the libcurl file downloading
3334 (license l:perl-license)
3335 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3337 (define-public perl-www-mechanize
3339 (name "perl-www-mechanize")
3344 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3345 "WWW-Mechanize-" version ".tar.gz"))
3348 "0sfl6b7mx8nannnh3ys5jk44d1s1b2d1mffrnrphkzzykaw6hm0f"))))
3349 (build-system perl-build-system)
3350 (native-inputs ;only for tests
3351 `(("perl-cgi" ,perl-cgi)
3352 ("perl-test-deep" ,perl-test-deep)
3353 ("perl-test-fatal" ,perl-test-fatal)
3354 ("perl-test-output" ,perl-test-output)
3355 ("perl-test-warnings" ,perl-test-warnings)))
3357 `(("perl-html-form" ,perl-html-form)
3358 ("perl-html-parser" ,perl-html-parser)
3359 ("perl-html-tree" ,perl-html-tree)
3360 ("perl-http-message" ,perl-http-message)
3361 ("perl-http-server-simple" ,perl-http-server-simple)
3362 ("perl-libwww" ,perl-libwww)
3363 ("perl-test-warn" ,perl-test-warn)
3364 ("perl-uri" ,perl-uri)))
3365 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3366 (synopsis "Web browsing in a Perl object")
3367 (description "WWW::Mechanize is a Perl module for stateful programmatic
3368 web browsing, used for automating interaction with websites.")
3369 (license l:perl-license)))
3371 (define-public perl-www-opensearch
3373 (name "perl-www-opensearch")
3377 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3378 "WWW-OpenSearch-" version ".tar.gz"))
3381 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3382 (build-system perl-build-system)
3384 `(#:tests? #f)) ; Tests require further modules to be packaged
3386 `(("perl-module-install" ,perl-module-install)))
3388 `(("perl-data-page" ,perl-data-page)
3389 ("perl-libwww" ,perl-libwww)
3390 ("perl-uri" ,perl-uri)
3391 ("perl-uri-template" ,perl-uri-template)
3392 ("perl-xml-feed" ,perl-xml-feed)
3393 ("perl-xml-libxml" ,perl-xml-libxml)))
3394 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3395 (synopsis "Search A9 OpenSearch compatible engines")
3397 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3398 http://opensearch.a9.com} compatible search engines.")
3399 (license l:perl-license)))
3401 (define-public perl-www-robotrules
3403 (name "perl-www-robotrules")
3408 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3412 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3413 (build-system perl-build-system)
3415 `(("perl-uri" ,perl-uri)))
3416 (license l:perl-license)
3417 (synopsis "Perl database of robots.txt-derived permissions")
3419 "The WWW::RobotRules module parses /robots.txt files as specified in
3420 \"A Standard for Robot Exclusion\", at
3421 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3422 /robots.txt file to forbid conforming robots from accessing parts of
3424 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3426 (define-public python-feedparser
3428 (name "python-feedparser")
3433 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3436 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3437 (build-system python-build-system)
3441 "https://github.com/kurtmckee/feedparser")
3442 (synopsis "Parse feeds in Python")
3444 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3445 CDF, Atom 0.3, and Atom 1.0 feeds.")
3446 (license (list l:bsd-2 ; source code
3447 l:freebsd-doc)))) ; documentation
3449 (define-public python2-feedparser
3450 (package-with-python2 python-feedparser))
3452 (define-public r-httpuv
3458 (uri (cran-uri "httpuv" version))
3461 "1sg4f223zfyd265b28rlhsn3b6mqflcpnmya98cjmjncmy9vjdj3"))))
3462 (build-system r-build-system)
3463 (native-inputs `(("r-rcpp" ,r-rcpp)))
3464 (home-page "https://github.com/rstudio/httpuv")
3465 (synopsis "HTTP and WebSocket server library for R")
3467 "The httpuv package provides low-level socket and protocol support for
3468 handling HTTP and WebSocket requests directly from within R. It is primarily
3469 intended as a building block for other packages, rather than making it
3470 particularly easy to create complete web applications using httpuv alone.")
3471 ;; This package includes third-party code that was originally released
3472 ;; under various non-copyleft licenses. Full licensing information can be
3473 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3476 (define-public r-jsonlite
3482 (uri (cran-uri "jsonlite" version))
3485 "00lfg464jhf7k01bal9pcjvbdf5cxk6xi2h46hccp1x3h883g434"))))
3486 (build-system r-build-system)
3487 (home-page "http://arxiv.org/abs/1403.2805")
3488 (synopsis "Robust, high performance JSON parser and generator for R")
3490 "The jsonlite package provides a fast JSON parser and generator optimized
3491 for statistical data and the web. It offers flexible, robust, high
3492 performance tools for working with JSON in R and is particularly powerful for
3493 building pipelines and interacting with a web API. In addition to converting
3494 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3495 and prettify JSON data. The unit tests included with the package verify that
3496 all edge cases are encoded and decoded consistently for use with dynamic data
3497 in systems and applications.")
3500 (define-public r-servr
3506 (uri (cran-uri "servr" version))
3509 "0sqz3wssxa19g9mpmf9s4gx2a5rvzl8nrd11qkgpz5v3iqsc6ysr"))))
3510 (build-system r-build-system)
3512 `(("r-httpuv" ,r-httpuv)
3513 ("r-jsonlite" ,r-jsonlite)
3514 ("r-mime" ,r-mime)))
3516 `(("r-rcpp" ,r-rcpp)))
3517 (home-page "https://github.com/yihui/servr")
3518 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3520 "Servr provides an HTTP server in R to serve static files, or dynamic
3521 documents that can be converted to HTML files (e.g., R Markdown) under a given
3525 (define-public r-htmltools
3527 (name "r-htmltools")
3531 (uri (cran-uri "htmltools" version))
3534 "18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4"))))
3535 (build-system r-build-system)
3538 (modify-phases %standard-phases
3539 ;; See https://github.com/rstudio/htmltools/pull/68
3540 ;; The resource files are in the store and have mode 444. After
3541 ;; copying the files R fails to remove them again because it doesn't
3542 ;; have write access to them.
3543 (add-after 'unpack 'copy-files-without-mode
3545 (substitute* "R/html_dependency.R"
3546 (("file.copy\\(from, to, " prefix)
3547 (string-append prefix
3548 "copy.mode = FALSE, ")))
3551 `(("r-digest" ,r-digest)
3552 ("r-rcpp" ,r-rcpp)))
3553 (home-page "http://cran.r-project.org/web/packages/htmltools")
3554 (synopsis "R tools for HTML")
3556 "This package provides tools for HTML generation and output in R.")
3559 (define-public r-htmlwidgets
3561 (name "r-htmlwidgets")
3565 (uri (cran-uri "htmlwidgets" version))
3568 "0plqkfqys1ca3ki7sb7yc6gwjpi7yy4g3mzh7hfy8s6qri0vam0i"))))
3569 (build-system r-build-system)
3571 `(("r-htmltools" ,r-htmltools)
3572 ("r-jsonlite" ,r-jsonlite)
3573 ("r-yaml" ,r-yaml)))
3574 (home-page "https://github.com/ramnathv/htmlwidgets")
3575 (synopsis "HTML Widgets for R")
3577 "HTML widgets is a framework for creating HTML widgets that render in
3578 various contexts including the R console, R Markdown documents, and Shiny web
3582 (define-public r-htmltable
3584 (name "r-htmltable")
3589 (uri (cran-uri "htmlTable" version))
3592 "0ciic1f4iczq14j81fg7kxibn65sy8z1zxkvk1yxnxxg6dzplj2v"))))
3593 (properties `((upstream-name . "htmlTable")))
3594 (build-system r-build-system)
3596 `(("r-checkmate" ,r-checkmate)
3597 ("r-htmlwidgets" ,r-htmlwidgets)
3598 ("r-knitr" ,r-knitr)
3599 ("r-magrittr" ,r-magrittr)
3600 ("r-stringr" ,r-stringr)))
3601 (home-page "http://gforge.se/packages/")
3602 (synopsis "Advanced tables for Markdown/HTML")
3604 "This package provides functions to build tables with advanced layout
3605 elements such as row spanners, column spanners, table spanners, zebra
3606 striping, and more. While allowing advanced layout, the underlying
3607 CSS-structure is simple in order to maximize compatibility with word
3608 processors such as LibreOffice. The package also contains a few text
3609 formatting functions that help outputting text compatible with HTML or
3613 (define-public r-curl
3619 (uri (cran-uri "curl" version))
3622 "0dgfl7wn4r8inv55xnk4ybf1y2x4qmi4cbr6phr3lfi1dnjm4hsm"))))
3623 (build-system r-build-system)
3626 (modify-phases %standard-phases
3627 ;; The environment variable CURL_CA_BUNDLE is only respected when
3628 ;; running Windows, so we disable the platform checks.
3629 ;; This can be removed once the libcurl has been patched.
3630 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3632 (substitute* "R/onload.R"
3633 (("if \\(!grepl\\(\"mingw\".*")
3635 (substitute* "src/handle.c"
3636 (("#ifdef _WIN32") "#if 1"))
3639 `(("libcurl" ,curl)))
3640 (home-page "https://github.com/jeroenooms/curl")
3641 (synopsis "HTTP client for R")
3643 "The @code{curl()} and @code{curl_download()} functions provide highly
3644 configurable drop-in replacements for base @code{url()} and
3645 @code{download.file()} with better performance, support for encryption, gzip
3646 compression, authentication, and other @code{libcurl} goodies. The core of
3647 the package implements a framework for performing fully customized requests
3648 where data can be processed either in memory, on disk, or streaming via the
3649 callback or connection interfaces.")
3652 (define-public r-hwriter
3659 (uri (cran-uri "hwriter" version))
3662 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
3663 (build-system r-build-system)
3664 (home-page "http://cran.r-project.org/web/packages/hwriter")
3665 (synopsis "Output R objects in HTML format")
3667 "This package provides easy-to-use and versatile functions to output R
3668 objects in HTML format.")
3669 (license l:lgpl2.1+)))
3671 (define-public r-rjson
3678 (uri (cran-uri "rjson" version))
3681 "1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
3682 (build-system r-build-system)
3683 (home-page "http://cran.r-project.org/web/packages/rjson")
3684 (synopsis "JSON library for R")
3686 "This package provides functions to convert R objects into JSON objects
3690 (define-public gumbo-parser
3692 (name "gumbo-parser")
3696 (uri (string-append "https://github.com/google/"
3697 "gumbo-parser/archive/v" version ".tar.gz"))
3698 (file-name (string-append name "-" version ".tar.gz"))
3701 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
3702 (build-system gnu-build-system)
3704 `(#:tests? #f ; tests require bundling googletest sources
3706 (modify-phases %standard-phases
3707 (add-after 'unpack 'bootstrap
3708 (lambda _ (zero? (system* "sh" "autogen.sh")))))))
3709 ;; The release tarball lacks the generated files.
3711 `(("autoconf" ,autoconf)
3712 ("automake" ,automake)
3713 ("libtool" ,libtool)))
3714 (home-page "https://github.com/google/gumbo-parser")
3715 (synopsis "HTML5 parsing library")
3717 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
3718 a pure C99 library.")
3719 (license l:asl2.0)))
3721 (define-public uwsgi
3727 (uri (string-append "http://projects.unbit.it/downloads/uwsgi-"
3731 "02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh"))))
3732 (build-system gnu-build-system)
3733 (outputs '("out" "python"))
3735 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
3736 ;; But there is no obvious way to run the real tests.
3739 (modify-phases %standard-phases
3741 ;; Configuration is done by writing an ini file.
3742 (lambda* (#:key outputs #:allow-other-keys)
3743 (let* ((out (assoc-ref outputs "out"))
3744 (bindir (string-append out "/bin"))
3745 (plugindir (string-append out "/lib/uwsgi")))
3746 ;; The build phase outputs files to these directories directly.
3749 ;; XXX: Enable other plugins.
3750 (call-with-output-file "buildconf/guix.ini"
3752 (format port "[uwsgi]
3758 plugins = cgi,python
3760 " bindir plugindir))))
3761 (setenv "PROFILE" "guix")
3764 ;; Move plugins into their own output.
3765 (lambda* (#:key outputs #:allow-other-keys)
3766 (let* ((out (assoc-ref outputs "out"))
3767 (plugindir (string-append out "/lib/uwsgi"))
3768 (python-plugin (string-append
3769 plugindir "/python_plugin.so")))
3770 (install-file python-plugin
3772 (assoc-ref outputs "python") "/lib/uwsgi"))
3773 (delete-file python-plugin)
3776 `(("pkg-config" ,pkg-config)
3777 ("python" ,python-wrapper)))
3779 `(("jansson" ,jansson)
3780 ("libxml2" ,libxml2)
3781 ("libyaml" ,libyaml)
3782 ("openssl" ,openssl)
3786 ("python" ,python)))
3787 (home-page "https://uwsgi-docs.readthedocs.org/")
3788 (synopsis "Application container server")
3790 "uWSGI presents a complete stack for networked/clustered web applications,
3791 implementing message/object passing, caching, RPC and process management.
3792 It uses the uwsgi protocol for all the networking/interprocess communications.")
3793 (license l:gpl2+))) ; with linking exception
3801 (uri (string-append "https://github.com/stedolan/" name
3802 "/releases/download/" name "-" version
3803 "/" name "-" version ".tar.gz"))
3806 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
3807 ;; This patch has been pushed and the vulnerability will be
3808 ;; fixed in the next release after 1.5.
3809 ;; https://github.com/stedolan/jq/issues/995
3810 (patches (search-patches "jq-CVE-2015-8863.patch"))))
3812 `(("oniguruma" ,oniguruma)))
3814 `(;; TODO fix gems to generate documentation
3816 ;;("bundler" ,bundler)
3817 ("valgrind" ,valgrind)))
3818 (build-system gnu-build-system)
3819 (home-page "http://stedolan.github.io/jq/")
3820 (synopsis "Command-line JSON processor")
3821 (description "jq is like sed for JSON data – you can use it to slice and
3822 filter and map and transform structured data with the same ease that sed, awk,
3823 grep and friends let you play with text. It is written in portable C. jq can
3824 mangle the data format that you have into the one that you want with very
3825 little effort, and the program to do so is often shorter and simpler than
3827 (license (list l:expat l:cc-by3.0))))
3829 (define-public uhttpmock
3836 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
3837 name "-" version ".tar.xz"))
3840 "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"))))
3841 (build-system glib-or-gtk-build-system)
3844 (modify-phases %standard-phases
3845 (add-before 'check 'use-empty-ssl-cert-file
3847 ;; Search for ca-certificates.crt files
3848 ;; during the check phase.
3849 (setenv "SSL_CERT_FILE" "/dev/null")
3852 `(("gobject-introspection" ,gobject-introspection)
3854 ("glib-networking" ,glib-networking)
3855 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3856 ("pkg-config" ,pkg-config)))
3858 `(("libsoup" ,libsoup)))
3859 (home-page "https://gitlab.com/groups/uhttpmock")
3860 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
3862 "Uhttpmock is a project for mocking web service APIs which use HTTP or
3863 HTTPS. It provides a library, libuhttpmock, which implements recording and
3864 playback of HTTP request/response traces.")
3865 (license l:lgpl2.1+)))
3870 (version "2012-05-31")
3874 "http://www.home.unix-ag.org/simon/woof-"
3878 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
3879 (build-system trivial-build-system)
3881 '(#:modules ((guix build utils))
3884 (use-modules (guix build utils))
3885 (let* ((source (assoc-ref %build-inputs "source"))
3886 (out (assoc-ref %outputs "out"))
3887 (bin (string-append out "/bin"))
3888 (python (assoc-ref %build-inputs "python")))
3890 (with-directory-excursion bin
3891 (copy-file source "woof")
3892 (patch-shebang "woof" (list (string-append python "/bin")))
3893 (chmod "woof" #o555))
3895 (inputs `(("python" ,python-2)))
3896 (home-page "http://www.home.unix-ag.org/simon/woof.html")
3897 (synopsis "Single file web server")
3898 (description "Woof (Web Offer One File) is a small simple web server that
3899 can easily be invoked on a single file. Your partner can access the file with
3900 tools they trust (e.g. wget).")
3903 (define netsurf-buildsystem
3905 (name "netsurf-buildsystem")
3910 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3911 "buildsystem-" version ".tar.gz"))
3914 "0wdgvasrjik1dgvvpqbppbpyfzkqd1v45x3g9rq7p67n773azinv"))))
3915 (build-system gnu-build-system)
3916 (inputs `(("perl" ,perl)))
3918 '(#:make-flags (list (string-append "PREFIX=" %output))
3919 #:tests? #f ;no tests
3920 #:phases (modify-phases %standard-phases
3923 (home-page "http://www.netsurf-browser.org")
3924 (synopsis "Build system for the Netsurf project")
3926 "This package provides the shared build system for Netsurf project
3930 (define netsurf-buildsystem-arguments
3931 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
3932 "CC=gcc" "BUILD_CC=gcc"
3933 ,(string-append "PREFIX=" %output)
3934 ,(string-append "NSSHARED="
3935 (assoc-ref %build-inputs
3936 "netsurf-buildsystem")
3937 "/share/netsurf-buildsystem"))
3938 #:test-target "test"
3939 #:phases (modify-phases %standard-phases
3940 (delete 'configure))))
3942 (define-public libparserutils
3944 (name "libparserutils")
3949 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3950 name "-" version "-src.tar.gz"))
3953 "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
3954 (build-system gnu-build-system)
3956 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3957 ("pkg-config" ,pkg-config)
3958 ("perl" ,perl))) ;for test harness
3959 (arguments netsurf-buildsystem-arguments)
3960 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
3961 (synopsis "Parser building library")
3963 "LibParserUtils is a library for building efficient parsers, written in
3964 C. It is developed as part of the NetSurf project.")
3967 (define-public hubbub
3974 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3975 "lib" name "-" version "-src.tar.gz"))
3978 "101781iw32p47386fxqr01nrkywi12w17ajh02k2vlga4z8zyv86"))
3979 (patches (search-patches "hubbub-sort-entities.patch"))))
3980 (build-system gnu-build-system)
3982 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3983 ("pkg-config" ,pkg-config)
3984 ("doxygen" ,doxygen)
3988 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
3989 (arguments netsurf-buildsystem-arguments)
3990 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
3991 (synopsis "HTML5 compliant parsing library")
3993 "Hubbub is an HTML5 compliant parsing library, written in C, which can
3994 parse both valid and invalid web content. It is developed as part of the
3998 (define-public libwapcaplet
4000 (name "libwapcaplet")
4005 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4006 name "-" version "-src.tar.gz"))
4009 "0cs1dd2afjgc3wf5gqg434hv6jdabrp9qvlpl4dp53nhkyfywna3"))))
4010 (build-system gnu-build-system)
4012 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4013 ("pkg-config" ,pkg-config)
4014 ("check" ,check))) ;for tests
4015 (arguments netsurf-buildsystem-arguments)
4016 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
4017 (synopsis "String internment library")
4019 "LibWapcaplet provides a reference counted string internment system
4020 designed to store small strings and allow rapid comparison of them. It is
4021 developed as part of the Netsurf project.")
4024 (define-public libcss
4031 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4032 name "-" version "-src.tar.gz"))
4035 "0qp4p1q1dwgdra4pkrzd081zjzisxkgwx650ijx323j8bj725daf"))))
4036 (build-system gnu-build-system)
4038 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4039 ("pkg-config" ,pkg-config)
4041 (propagated-inputs ;needed for libcss.pc
4042 `(("libparserutils" ,libparserutils)
4043 ("libwapcaplet" ,libwapcaplet)))
4044 (arguments netsurf-buildsystem-arguments)
4045 (home-page "http://www.netsurf-browser.org/projects/libcss/")
4046 (synopsis "CSS parser and selection library")
4048 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4049 written in C. It is developed as part of the NetSurf project.")
4052 (define-public libdom
4059 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4060 name "-" version "-src.tar.gz"))
4063 "0qy7c8b229aiamyqqjgp6m1jlzc3fpl8s9dk33kxzkj70na8l7hv"))))
4064 (build-system gnu-build-system)
4066 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4067 ("pkg-config" ,pkg-config)
4068 ("perl" ,perl) ;for test harness
4069 ("perl-libxml" ,perl-libxml)
4070 ("perl-switch" ,perl-switch)
4071 ("perl-xml-xpath" ,perl-xml-xpath)))
4073 `(("libparserutils" ,libparserutils)
4074 ("libwapcaplet" ,libwapcaplet)))
4076 `(("expat" ,expat) ;needed for headers and linking
4077 ("hubbub" ,hubbub))) ;for libdom.pc
4079 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4080 ,@netsurf-buildsystem-arguments))
4081 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4082 (synopsis "Implementation of the W3C DOM")
4084 "LibDOM is an implementation of the W3C DOM, written in C. It is
4085 developed as part of the NetSurf project.")
4088 (define-public libsvgtiny
4095 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4096 name "-" version "-src.tar.gz"))
4099 "0w5hab9x1saz4lq2s9w47x1r64fbzcsl5bvdjph9c9dq68qv3f8a"))))
4100 (build-system gnu-build-system)
4102 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4103 ("pkg-config" ,pkg-config)
4104 ("gperf" ,gperf-3.0)))
4106 `(("libwapcaplet" ,libwapcaplet)))
4108 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4109 (arguments netsurf-buildsystem-arguments)
4110 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4111 (synopsis "Library for parsing SVG files")
4113 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4114 which can be rendered easily, as defined in
4115 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4119 (define-public libnsbmp
4126 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4127 name "-" version "-src.tar.gz"))
4130 "0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
4131 (build-system gnu-build-system)
4133 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4134 (arguments netsurf-buildsystem-arguments)
4135 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4136 (synopsis "Decoding library for BMP and ICO files")
4138 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4139 written in C. It is developed as part of the NetSurf project.")
4142 (define-public libnsgif
4149 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4150 name "-" version "-src.tar.gz"))
4153 "1ldsyscsgqwc8g5481h9nqmwirpp1pp57hmss450hr0mqra26g0k"))))
4154 (build-system gnu-build-system)
4156 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4157 (arguments netsurf-buildsystem-arguments)
4158 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4159 (synopsis "Decoding library for GIF files")
4161 "Libnsgif is a decoding library for the GIF image file format, written in
4162 C. It is developed as part of the NetSurf project.")
4165 (define-public libnsutils
4172 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4173 name "-" version "-src.tar.gz"))
4176 "0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
4177 (build-system gnu-build-system)
4179 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4180 (arguments netsurf-buildsystem-arguments)
4181 (home-page "http://www.netsurf-browser.org/")
4182 (synopsis "Utility library for NetSurf")
4184 "Libnsutils provides a small number of useful utility routines. It is
4185 developed as part of the NetSurf project.")
4188 (define-public libnspsl
4195 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4196 name "-" version "-src.tar.gz"))
4199 "0x3frscrp9bzxlm9ama5laxjr3zi8cg20r8lhsamw4x4zyyk145y"))))
4200 (build-system gnu-build-system)
4202 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4203 (arguments netsurf-buildsystem-arguments)
4204 (home-page "http://www.netsurf-browser.org/")
4205 (synopsis "Library to generate a static Public Suffix List")
4207 "Libnspsl is a library to generate a static code representation of the
4208 Public Suffix List. It is developed as part of the NetSurf project.")
4211 (define-public nsgenbind
4218 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4219 name "-" version "-src.tar.gz"))
4222 "078gpbfcs96bgcba0ygha0ph9jzqr6ry5s3a8p6sl61px2908s66"))))
4223 (build-system gnu-build-system)
4225 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4229 (substitute-keyword-arguments netsurf-buildsystem-arguments
4230 ((#:make-flags flags)
4231 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4232 (home-page "http://www.netsurf-browser.org/")
4233 (synopsis "Generate JavaScript to DOM bindings")
4235 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4236 w3c webidl files and a binding configuration file.")
4239 (define-public netsurf
4246 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4247 "releases/source/netsurf-" version "-src.tar.gz"))
4250 "174sjx0566agckwmlj4w2cip5qbxdiafyhlp185a1qprxx84pbjr"))
4251 (patches (search-patches "netsurf-system-utf8proc.patch"
4252 "netsurf-y2038-tests.patch"
4253 "netsurf-longer-test-timeout.patch"))))
4254 (build-system glib-or-gtk-build-system)
4256 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4257 ("nsgenbind" ,nsgenbind)
4258 ("libidn" ,libidn) ;only for tests
4261 ("perl-html-parser" ,perl-html-parser)
4262 ("pkg-config" ,pkg-config)))
4266 ("openssl" ,openssl)
4267 ("utf8proc" ,utf8proc)
4269 ("libjpeg" ,libjpeg)
4272 ("libnsbmp" ,libnsbmp)
4273 ("libnsgif" ,libnsgif)
4274 ("libnspsl" ,libnspsl)
4275 ("libnsutils" ,libnsutils)
4276 ("libsvgtiny" ,libsvgtiny)
4277 ("miscfiles" ,miscfiles)))
4279 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4280 ,(string-append "PREFIX=" %output)
4281 ,(string-append "NSSHARED="
4282 (assoc-ref %build-inputs
4283 "netsurf-buildsystem")
4284 "/share/netsurf-buildsystem"))
4285 #:test-target "test"
4286 #:modules ((ice-9 rdelim)
4290 ,@%glib-or-gtk-build-system-modules)
4292 (modify-phases %standard-phases
4294 (add-after 'build 'adjust-welcome
4296 ;; First, fix some unended tags and simple substitutions
4297 (substitute* "frontends/gtk/res/welcome.html"
4298 (("<(img|input)([^>]*)>" _ tag contents)
4299 (string-append "<" tag contents " />"))
4300 (("Licence") "License") ;prefer GNU spelling
4301 ((" open source") ", free software")
4302 (("web site") "website")
4303 ;; Prefer privacy-respecting default search engine
4304 (("www.google.co.uk") "www.duckduckgo.com/html")
4305 (("Google Search") "DuckDuckGo Search")
4306 (("name=\"btnG\"") ""))
4307 ;; Remove default links so it doesn't seem we're endorsing them
4308 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4310 ;; Leave the DOCTYPE header as is
4311 (display (read-line in 'concat) out)
4313 (let rec ((sxml (xml->sxml in)))
4314 ;; We'd like to use sxml-match here, but it can't
4315 ;; match against generic tag symbols...
4317 (`(div (@ (class "links")) . ,rest)
4324 (add-before 'check 'patch-check
4325 (lambda* (#:key inputs #:allow-other-keys)
4326 (substitute* '("test/bloom.c" "test/hashtable.c")
4327 (("/usr/share/dict/words")
4328 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4330 (add-after 'install 'install-more
4331 (lambda* (#:key outputs #:allow-other-keys)
4332 (let* ((out (assoc-ref outputs "out"))
4333 (desktop (string-append out "/share/applications/"
4334 "netsurf.desktop")))
4335 (mkdir-p (dirname desktop))
4336 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4338 (substitute* desktop
4339 (("netsurf-gtk") (string-append out "/bin/netsurf"))
4340 (("netsurf.png") (string-append out "/share/netsurf/"
4342 (install-file "Docs/netsurf-gtk.1"
4343 (string-append out "/share/man/man1/"))
4345 (home-page "http://www.netsurf-browser.org")
4346 (synopsis "Web browser")
4348 "NetSurf is a lightweight web browser that has its own layout and
4349 rendering engine entirely written from scratch. It is small and capable of
4350 handling many of the web standards in use today.")
4353 (define-public surfraw
4359 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4360 name "-" version ".tar.gz"))
4363 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4364 (build-system gnu-build-system)
4367 (modify-phases %standard-phases
4368 (add-after 'install 'compress-elvi.1sr
4369 (lambda* (#:key outputs #:allow-other-keys)
4370 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4371 ;; but elvi.1sr does not get compressed by our manpage phase.
4372 (let* ((out (assoc-ref %outputs "out"))
4373 (man (string-append out "/share/man/man1")))
4374 (with-directory-excursion man
4375 (zero? (system* "gzip" "elvi.1sr")))))))))
4378 ("perl-www-opensearch" ,perl-www-opensearch)
4379 ("perl-html-parser" ,perl-html-parser)
4380 ("perl-libwww" ,perl-libwww)))
4381 (synopsis "Unix command line interface to the www")
4382 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4383 provides a unix command line interface to a variety of popular www search engines
4384 and similar services.")
4385 (home-page "https://surfraw.alioth.debian.org/")
4386 (license l:public-domain)))
4388 (define-public darkhttpd
4395 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4396 version ".tar.bz2"))
4399 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4400 (build-system gnu-build-system)
4402 `(#:make-flags '("CC=gcc")
4403 #:tests? #f ; No test suite
4405 (modify-phases %standard-phases
4408 (lambda* (#:key outputs #:allow-other-keys)
4409 (install-file "darkhttpd"
4410 (string-append (assoc-ref outputs "out")
4413 (synopsis "Simple static web server")
4414 (description "darkhttpd is a simple static web server. It is
4415 standalone and does not need inetd or ucspi-tcp. It does not need any
4416 config files---you only have to specify the www root.")
4417 (home-page "https://unix4lyfe.org/darkhttpd/")
4420 (define-public goaccess
4426 (uri (string-append "http://tar.goaccess.io/goaccess-"
4430 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4431 (modules '((guix build utils)))
4433 '(substitute* "src/error.h"
4434 (("__DATE__") "\"1970-01-01\"")
4435 (("__TIME__") "\"00:00:00\"")))))
4436 (build-system gnu-build-system)
4438 ;; TODO: Add dependency on geoip-tools.
4440 ("ncurses" ,ncurses)))
4442 `(("pkg-config" ,pkg-config)))
4443 (home-page "https://goaccess.io")
4444 (synopsis "Analyze Web server logs in real time")
4446 "GoAccess is a real-time web log analyzer and interactive viewer that
4447 runs in a terminal or through your browser. It provides fast and valuable
4448 HTTP statistics for system administrators that require a visual server report
4452 (define-public httptunnel
4459 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4460 name "-" version ".tar.gz"))
4463 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4464 (modules '((guix build utils)))
4466 ;; Remove non-free IETF RFC documentation.
4467 '(delete-file-recursively "doc"))))
4468 (build-system gnu-build-system)
4471 (modify-phases %standard-phases
4472 ;; The default configure phase tries to pass environment variables as
4473 ;; command-line arguments, which confuses the ./configure script.
4475 (lambda* (#:key outputs #:allow-other-keys)
4476 (let* ((out (assoc-ref outputs "out")))
4477 (setenv "CONFIG_SHELL" (which "bash"))
4478 (zero? (system* "./configure"
4479 (string-append "--prefix=" out)))))))))
4480 (home-page "http://www.nocrew.org/software/httptunnel.html")
4481 (synopsis "Tunnel data connections through HTTP requests")
4482 (description "httptunnel creates a bidirectional virtual data connection
4483 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4484 useful for users behind restrictive firewalls. As long as Web traffic is
4485 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4486 tools like SSH (Secure Shell) to reach the outside world.")
4489 (define-public stunnel
4496 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4500 "1vjdn32iw11zqsygwxbjmqgs4644dk3ql1h8ap890ls6a1x0i318"))))
4501 (build-system gnu-build-system)
4502 (inputs `(("openssl" ,openssl)))
4505 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))))
4506 (home-page "https://www.stunnel.org")
4507 (synopsis "TLS proxy for clients or servers")
4508 (description "Stunnel is a proxy designed to add TLS encryption
4509 functionality to existing clients and servers without any changes in the
4510 programs' code. Its architecture is optimized for security, portability, and
4511 scalability (including load-balancing), making it suitable for large
4515 (define-public xinetd
4522 (uri "https://github.com/xinetd-org/xinetd/archive/xinetd-2-3-15.tar.gz")
4523 (patches (search-patches "xinetd-CVE-2013-4342.patch" "xinetd-fix-fd-leak.patch"))
4526 "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
4527 (build-system gnu-build-system)
4529 `(#:configure-flags '("--with-loadavg")
4530 #:tests? #f )) ; no tests
4531 (home-page "https://github.com/xinetd-org/xinetd")
4532 (synopsis "Internet services daemon")
4533 (description "@code{xinetd}, a more secure replacement for @code{inetd},
4534 listens for incoming requests over a network and launches the appropriate
4535 service for that request. Requests are made using port numbers as identifiers
4536 and xinetd usually launches another daemon to handle the request. It can be
4537 used to start services with both privileged and non-privileged port numbers.")
4538 (license (l:fsf-free "file://COPYRIGHT"))))
4540 (define-public tidy-html
4547 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
4549 (file-name (string-append name "-" version ".tar.gz"))
4552 "0yhbgbjl45b4sjxwc394cjra6iy02q1pi66p28zy70lr6jvm9mx2"))))
4553 (build-system cmake-build-system)
4555 "static")) ; 1.0MiB of .a files
4557 `(#:tests? #f ; No tests available
4558 #:configure-flags (list "-DCMAKE_BUILD_TYPE=Release")
4560 (modify-phases %standard-phases
4561 (add-after 'install 'move-static-libraries
4562 (lambda* (#:key outputs #:allow-other-keys)
4563 ;; Move static libraries to the "static" output.
4564 (let* ((out (assoc-ref outputs "out"))
4565 (lib (string-append out "/lib"))
4566 (static (assoc-ref outputs "static"))
4567 (slib (string-append static "/lib")))
4569 (for-each (lambda (file)
4570 (install-file file slib)
4572 (find-files lib "\\.a$"))
4575 `(("libxslt" ,libxslt)))
4576 (home-page "http://www.html-tidy.org/")
4577 (synopsis "HTML Tidy with HTML5 support")
4579 "Tidy is a console application which corrects and cleans up
4580 HTML and XML documents by fixing markup errors and upgrading
4581 legacy code to modern standards.
4583 Tidy also provides @code{libtidy}, a C static and dynamic library that
4584 developers can integrate into their applications to make use of the
4585 functions of Tidy.")
4588 (define-public hiawatha
4595 (uri (string-append "https://www.hiawatha-webserver.org/files/"
4596 "hiawatha-" version ".tar.gz"))
4597 (modules '((guix build utils)))
4599 ;; We use our packaged mbedtls, so delete the included copy.
4600 '(delete-file-recursively "mbedtls"))
4603 "0m2llzm72s29c32abnj03532m85fawvi8ybjpx6s3mgvx2yvq3p4"))))
4604 (build-system cmake-build-system)
4606 `(#:tests? #f ; No tests included
4607 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
4608 (string-append "-DENABLE_TOMAHAWK=on")
4609 (string-append "-DWEBROOT_DIR="
4610 (assoc-ref %outputs "out")
4611 "/share/hiawatha/html"))
4613 (modify-phases %standard-phases
4614 (add-after 'install 'remove-empty-dirs
4615 (lambda* (#:key outputs #:allow-other-keys)
4616 (let* ((out (assoc-ref outputs "out")))
4617 ;; The directories in "var" are empty, remove them.
4618 (delete-file-recursively (string-append out "/var"))
4620 (add-after 'install 'wrap
4621 (lambda* (#:key inputs outputs #:allow-other-keys)
4622 ;; Make sure 'hiawatha' finds 'mbedtls'.
4623 (let* ((out (assoc-ref outputs "out"))
4624 (sbin (string-append out "/sbin"))
4625 (mbed (assoc-ref inputs "mbedtls-apache")))
4626 (wrap-program (string-append sbin "/hiawatha")
4627 `("PATH" ":" prefix (,mbed)))))))))
4629 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
4630 `(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
4632 ("libxslt" ,libxslt)
4633 ("libxml2" ,libxml2)))
4634 (home-page "https://www.hiawatha-webserver.org")
4635 (synopsis "Webserver with focus on security")
4637 "Hiawatha has been written with security in mind.
4638 Features include the ability to stop SQL injections, XSS and CSRF attacks and
4642 (define-public python-httpbin
4644 (name "python-httpbin")
4649 (uri (pypi-uri "httpbin" version))
4652 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
4653 (build-system python-build-system)
4655 `(("python-decorator" ,python-decorator)
4656 ("python-flask" ,python-flask)
4657 ("python-itsdangerous" ,python-itsdangerous)
4658 ("python-markupsafe" ,python-markupsafe)
4659 ("python-six" ,python-six)))
4660 (home-page "https://github.com/Runscope/httpbin")
4661 (synopsis "HTTP request and response service")
4662 (description "Testing an HTTP Library can become difficult sometimes.
4663 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
4664 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
4668 (define-public python2-httpbin
4669 (package-with-python2 python-httpbin))
4671 (define-public python-pytest-httpbin
4673 (name "python-pytest-httpbin")
4678 (uri (pypi-uri "pytest-httpbin" version))
4681 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
4682 (build-system python-build-system)
4684 `(("python-six" ,python-six)
4685 ("python-httpbin" ,python-httpbin)
4686 ("python-pytest" ,python-pytest)))
4688 "https://github.com/kevin1024/pytest-httpbin")
4690 "Test your HTTP library against a local copy of httpbin")
4692 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
4693 into your tests. It automatically starts up a HTTP server in a separate thread running
4694 @code{httpbin} and provides your test with the URL in the fixture.")
4697 (define-public python2-pytest-httpbin
4698 (package-with-python2 python-pytest-httpbin))
4700 (define-public http-parser
4702 (name "http-parser")
4706 (uri (string-append "https://github.com/nodejs/http-parser/"
4707 "archive/v" version ".tar.gz"))
4708 (file-name (string-append name "-" version ".tar.gz"))
4711 "1cw6nf8xy4jhib1w0jd2y0gpqjbdasg8b7pkl2k2vpp54k9rlh3h"))))
4712 (build-system gnu-build-system)
4714 `(#:test-target "test"
4716 (list (string-append "PREFIX="
4717 (assoc-ref %outputs "out"))
4720 (modify-phases %standard-phases
4721 (delete 'configure))))
4722 (home-page "https://github.com/nodejs/http-parser")
4723 (synopsis "HTTP request/response parser for C")
4724 (description "This is a parser for HTTP messages written in C. It parses
4725 both requests and responses. The parser is designed to be used in
4726 high-performance HTTP applications. It does not make any syscalls nor
4727 allocations, it does not buffer data, it can be interrupted at anytime.
4728 Depending on your architecture, it only requires about 40 bytes of data per
4729 message stream (in a web server that is per connection).")
4732 (define-public python2-httpretty
4734 (name "python2-httpretty")
4739 (uri (pypi-uri "httpretty" version))
4742 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
4743 (build-system python-build-system)
4745 `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
4746 ("python-sphinx" ,python2-sphinx)
4747 ("python-coverage" ,python2-coverage)
4748 ("python-tornado" ,python2-tornado)
4749 ("python-urllib3" ,python2-urllib3)
4750 ("python-sure" ,python2-sure)
4751 ("python-steadymark" ,python2-steadymark)
4752 ("python-requests" ,python2-requests)
4753 ("python-rednose" ,python2-rednose)
4754 ("python-nose-randomly" ,python2-nose-randomly)
4755 ("python-misaka" ,python2-misaka)
4756 ("python-pytest-httpbin" ,python2-pytest-httpbin)
4757 ("python-nose" ,python2-nose)))
4760 ;; Requires mock>=1.3.0 which requires a more up-to-date
4761 ;; python-pbr. After updating these trying to build the
4762 ;; package leads to failures in python-flake8 and other
4763 ;; packages. The cascade of updates and failures this
4764 ;; leads to, seems to not be worth having the test run.
4767 (modify-phases %standard-phases
4768 (add-before 'build 'patch-test-requirements
4769 (lambda* (#:key inputs #:allow-other-keys)
4770 ;; Update requirements from dependecy==version
4771 ;; to dependency>=version
4772 (substitute* "development.txt"
4775 (home-page "http://github.com/gabrielfalcao/httpretty")
4776 (synopsis "HTTP client mock for Python")
4777 (description "@code{httpretty} is a helper for faking web requests,
4778 inspired by Ruby's @code{fakeweb}.")
4788 (uri (string-append "https://github.com/jpmens/jo/releases/download/v"
4789 version "/jo-" version ".tar.gz"))
4792 "0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3"))))
4793 (build-system gnu-build-system)
4794 (home-page "https://github.com/jpmens/jo")
4795 (synopsis "Output JSON from a shell")
4796 (description "jo is a command-line utility to create JSON objects or
4797 arrays. It creates a JSON string on stdout from words provided as
4798 command-line arguments or read from stdin.")
4799 (license (list l:gpl2+
4800 l:expat)))) ; json.c, json.h
4802 (define-public python-internetarchive
4804 (name "python-internetarchive")
4809 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
4810 "v" version ".tar.gz"))
4811 (file-name (string-append name "-" version ".tar.gz"))
4814 "1lj4r0y67mwjns2gcjvw0y7m5x0vqir2iv7s4q2y93492azli1qh"))))
4815 (build-system python-build-system)
4817 `(#:tests? #f ; 11 tests of 105 fail to mock "requests".
4819 (modify-phases %standard-phases
4821 (add-after 'install 'check
4822 (lambda* (#:key inputs outputs target (tests? (not target)) #:allow-other-keys)
4825 (add-installed-pythonpath inputs outputs)
4826 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
4827 ":" (getenv "PATH")))
4828 (zero? (system* "py.test")))
4830 (format #t "test suite not run~%")
4833 `(("python-requests" ,python-requests)
4834 ("python-jsonpatch" ,python-jsonpatch-0.4)
4835 ("python-docopt" ,python-docopt)
4836 ("python-clint" ,python-clint)
4837 ("python-six" ,python-six)
4838 ("python-schema" ,python-schema-0.5)
4839 ("python-backports-csv" ,python-backports-csv)))
4841 `(("python-pytest-3.0" ,python-pytest-3.0)
4842 ("python-pytest-capturelog" ,python-pytest-capturelog)
4843 ("python-responses" ,python-responses)))
4844 (home-page "https://github.com/jjjake/internetarchive")
4845 (synopsis "Command-line interface to archive.org")
4846 (description "@code{ia} is a command-line tool for using
4847 @url{archive.org} from the command-line. It also emplements the
4848 internetarchive python module for programatic access to archive.org.")
4850 `((python2-variant . ,(delay python2-internetarchive))))
4851 (license l:agpl3+)))
4853 (define-public python2-internetarchive
4854 (package-with-python2
4855 (strip-python2-variant python-internetarchive)))
4857 (define-public r-shiny
4864 (uri (string-append "https://github.com/rstudio/shiny/"
4865 "archive/v" version ".tar.gz"))
4866 (file-name (string-append name "-" version ".tar.gz"))
4869 "0z2v2s4hd44mvzjn7r70549kdzkrrch9nxhp27r6x2cy6micizm3"))))
4870 (build-system r-build-system)
4872 `(#:modules ((guix build r-build-system)
4873 (guix build minify-build-system)
4876 #:imported-modules (,@%r-build-system-modules
4877 (guix build minify-build-system))
4879 (modify-phases (@ (guix build r-build-system) %standard-phases)
4880 (add-after 'unpack 'replace-bundled-minified-JavaScript
4881 (lambda* (#:key inputs #:allow-other-keys)
4882 (let ((replace-file (lambda (old new)
4883 (format #t "replacing ~a with ~a\n" old new)
4885 (symlink new old))))
4886 ;; NOTE: Files in ./inst/www/shared/datepicker/js/locales/
4887 ;; contain just data. They are not minified code, so we don't
4889 (with-directory-excursion "inst/www/shared"
4890 (replace-file "bootstrap/shim/respond.min.js"
4891 (string-append (assoc-ref inputs "js-respond")
4892 "/share/javascript/respond.min.js"))
4893 (replace-file "bootstrap/shim/html5shiv.min.js"
4894 (string-append (assoc-ref inputs "js-html5shiv")
4895 "/share/javascript/html5shiv.min.js"))
4896 (replace-file "json2-min.js"
4897 (string-append (assoc-ref inputs "js-json2")
4898 "/share/javascript/json2.min.js"))
4899 (replace-file "strftime/strftime-min.js"
4900 (string-append (assoc-ref inputs "js-strftime")
4901 "/share/javascript/strftime.min.js"))
4902 (replace-file "highlight/highlight.pack.js"
4903 (string-append (assoc-ref inputs "js-highlight")
4904 "/share/javascript/highlight.min.js"))
4905 (replace-file "datatables/js/jquery.dataTables.min.js"
4906 (string-append (assoc-ref inputs "js-datatables")
4907 "/share/javascript/jquery.dataTables.min.js"))
4908 (replace-file "selectize/js/selectize.min.js"
4909 (string-append (assoc-ref inputs "js-selectize")
4910 "/share/javascript/selectize.min.js"))
4911 (replace-file "selectize/js/es5-shim.min.js"
4912 (string-append (assoc-ref inputs "js-es5-shim")
4913 "/share/javascript/es5-shim.min.js"))
4914 (for-each (match-lambda
4916 (delete-file target)
4917 (minify source #:target target)))
4918 '(("jqueryui/jquery-ui.js" .
4919 "jqueryui/jquery-ui.min.js")
4920 ("showdown/src/showdown.js" .
4921 "showdown/compressed/showdown.js")
4922 ("datepicker/js/bootstrap-datepicker.js" .
4923 "datepicker/js/bootstrap-datepicker.min.js")
4924 ("ionrangeslider/js/ion.rangeSlider.js" .
4925 "ionrangeslider/js/ion.rangeSlider.min.js")
4926 ("bootstrap/js/bootstrap.js" .
4927 "bootstrap/js/bootstrap.min.js")
4931 "jquery.min.js")))))
4934 `(("r-httpuv" ,r-httpuv)
4936 ("r-jsonlite" ,r-jsonlite)
4937 ("r-xtable" ,r-xtable)
4938 ("r-digest" ,r-digest)
4939 ("r-htmltools" ,r-htmltools)
4941 ("r-sourcetools" ,r-sourcetools)))
4943 `(("js-datatables" ,js-datatables)
4944 ("js-html5shiv" ,js-html5shiv)
4945 ("js-json2" ,js-json2)
4946 ("js-respond" ,js-respond)
4947 ("js-selectize" ,js-selectize)
4948 ("js-strftime" ,js-strftime)
4949 ("js-highlight" ,js-highlight)
4950 ("js-es5-shim" ,js-es5-shim)))
4951 (home-page "http://shiny.rstudio.com")
4952 (synopsis "Easy interactive web applications with R")
4954 "Makes it incredibly easy to build interactive web applications
4955 with R. Automatic \"reactive\" binding between inputs and outputs and
4956 extensive prebuilt widgets make it possible to build beautiful,
4957 responsive, and powerful applications with minimal effort.")
4958 (license l:artistic2.0)))
4960 (define-public r-crosstalk
4962 (name "r-crosstalk")
4967 (uri (cran-uri "crosstalk" version))
4970 "0lfa89vhrzi7a1rghmygcjr8gzddw35sinb3jx6g49mc9jias7mk"))))
4971 (build-system r-build-system)
4973 `(("r-ggplot2" ,r-ggplot2)
4974 ("r-htmltools" ,r-htmltools)
4975 ("r-jsonlite" ,r-jsonlite)
4976 ("r-lazyeval" ,r-lazyeval)
4978 ("r-shiny" ,r-shiny)))
4979 (home-page "https://rstudio.github.io/crosstalk/")
4980 (synopsis "Inter-widget interactivity for HTML widgets")
4982 "This package provides building blocks for allowing HTML widgets to
4983 communicate with each other, with Shiny or without (i.e. static @code{.html}
4984 files). It currently supports linked brushing and filtering.")
4987 (define-public r-rook
4994 (uri (cran-uri "Rook" version))
4997 "00s9a0kr9rwxvlq433daxjk4ji8m0w60hjdprf502msw9kxfrx00"))))
4998 (properties `((upstream-name . "Rook")))
4999 (build-system r-build-system)
5000 (propagated-inputs `(("r-brew" ,r-brew)))
5001 (home-page "http://cran.r-project.org/web/packages/Rook")
5002 (synopsis "Web server interface for R")
5004 "This package contains the Rook specification and convenience software
5005 for building and running Rook applications. A Rook application is an R
5006 reference class object that implements a @code{call} method or an R closure
5007 that takes exactly one argument, an environment, and returns a list with three
5008 named elements: the @code{status}, the @code{headers}, and the @code{body}.")
5011 (define-public rss-bridge
5014 (version "2017-08-03")
5018 (uri (string-append "https://github.com/RSS-Bridge/rss-bridge/archive/"
5020 (file-name (string-append name "-" version ".tar.gz"))
5023 "05s16y552hbyj91s7bnlkx1bi64s6aw0fjy29az8via3i3b21yhl"))))
5024 (build-system trivial-build-system)
5029 '(#:modules ((guix build utils))
5032 (use-modules (guix build utils)
5034 (let* ((out (assoc-ref %outputs "out"))
5035 (share-rss-bridge (string-append out "/share/rss-bridge")))
5036 (set-path-environment-variable
5037 "PATH" '("bin") (map (match-lambda ((_ . input) input))
5039 (mkdir-p share-rss-bridge)
5040 (system* "tar" "xvf" (assoc-ref %build-inputs "source")
5041 "--strip-components" "1" "-C" share-rss-bridge)
5043 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5044 (synopsis "Generate Atom feeds for social networking websites")
5045 (description "rss-bridge generates Atom feeds for social networking
5046 websites lacking feeds. Supported websites include Facebook, Twitter,
5047 Instagram and YouTube.")
5048 (license (list l:public-domain
5049 l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php