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 javascript)
77 #:use-module (gnu packages image)
78 #:use-module (gnu packages libidn)
79 #:use-module (gnu packages libunistring)
80 #:use-module (gnu packages lua)
81 #:use-module (gnu packages ncurses)
82 #:use-module (gnu packages base)
83 #:use-module (gnu packages perl)
84 #:use-module (gnu packages python)
85 #:use-module (gnu packages pcre)
86 #:use-module (gnu packages pkg-config)
87 #:use-module (gnu packages valgrind)
88 #:use-module (gnu packages xml)
89 #:use-module (gnu packages curl)
90 #:use-module (gnu packages perl)
91 #:use-module (gnu packages texinfo)
92 #:use-module (gnu packages textutils)
93 #:use-module (gnu packages tls)
94 #:use-module (gnu packages statistics))
102 (uri (string-append "mirror://apache/httpd/httpd-"
106 "0fn1778mxhf78np2d8qlycg1c2ak18rxax41plahasca4clc3z3i"))))
107 (build-system gnu-build-system)
108 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
109 (inputs `(("apr" ,apr)
110 ("apr-util" ,apr-util)
112 ("perl" ,perl))) ; needed to run bin/apxs
114 `(#:test-target "test"
115 #:configure-flags (list "--enable-rewrite"
117 "--enable-vhost-alias"
119 "--enable-mime-magic"
120 (string-append "--sysconfdir="
121 (assoc-ref %outputs "out")
123 (synopsis "Featureful HTTP server")
125 "The Apache HTTP Server Project is a collaborative software development
126 effort aimed at creating a robust, commercial-grade, featureful, and
127 freely-available source code implementation of an HTTP (Web) server. The
128 project is jointly managed by a group of volunteers located around the world,
129 using the Internet and the Web to communicate, plan, and develop the server
130 and its related documentation.")
132 (home-page "https://httpd.apache.org/")))
140 (uri (string-append "https://nginx.org/download/nginx-"
144 "1yvnmj7vlykrqdi6amkvs63lva6qkxd98sqv0a8hz8w5ci1bz4w7"))))
145 (build-system gnu-build-system)
146 (inputs `(("pcre" ,pcre)
150 `(#:tests? #f ; no test target
152 (modify-phases %standard-phases
153 (add-before 'configure 'patch-/bin/sh
155 (substitute* "auto/feature"
156 (("/bin/sh") (which "sh")))
159 (lambda* (#:key outputs #:allow-other-keys)
161 (list (string-append "--prefix=" (assoc-ref outputs "out"))
162 "--with-http_ssl_module"
165 ;; Even when not cross-building, we pass the
166 ;; --crossbuild option to avoid customizing for the
167 ;; kernel version on the build machine.
168 ,(let ((system "Linux") ; uname -s
169 (release "2.6.32") ; uname -r
171 (machine (match (or (%current-target-system)
173 ("x86_64-linux" "x86_64")
174 ("i686-linux" "i686")
175 ("mips64el-linux" "mips64")
176 ;; Prevent errors when querying
177 ;; this package on unsupported
178 ;; platforms, e.g. when running
179 ;; "guix package --search="
181 (string-append "--crossbuild="
182 system ":" release ":" machine)))))
184 (format #t "environment variable `CC' set to `gcc'~%")
185 (format #t "configure flags: ~s~%" flags)
186 (zero? (apply system* "./configure" flags)))))
187 (add-after 'install 'fix-root-dirs
188 (lambda* (#:key outputs #:allow-other-keys)
189 ;; 'make install' puts things in strange places, so we need to
190 ;; clean it up ourselves.
191 (let* ((out (assoc-ref outputs "out"))
192 (share (string-append out "/share/nginx")))
193 ;; This directory is empty, so get rid of it.
194 (rmdir (string-append out "/logs"))
195 ;; Example configuration and HTML files belong in
198 (rename-file (string-append out "/conf")
199 (string-append share "/conf"))
200 (rename-file (string-append out "/html")
201 (string-append share "/html"))))))))
202 (home-page "https://nginx.org")
203 (synopsis "HTTP and reverse proxy server")
205 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
206 created by Igor Sysoev. It can be used both as a standalone web server
207 and as a proxy to reduce the load on back-end HTTP or mail servers.")
208 ;; Almost all of nginx is distributed under the bsd-2 license.
209 ;; The exceptions are:
210 ;; * The 'nginx-http-push' module is covered by the expat license.
211 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
212 ;; except for two source files which are bsd-4 licensed.
213 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
222 ;; Upstream has disappeared
223 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
224 "fcgi-" version ".tar.gz"))
227 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
228 (patches (search-patches "fcgi-2.4.0-poll.patch"
229 "fcgi-2.4.0-gcc44-fixes.patch"))))
230 (build-system gnu-build-system)
231 ;; Parallel building is not supported.
232 (arguments `(#:parallel-build? #f))
233 (home-page "http://www.fastcgi.com")
234 (synopsis "Language-independent, high-performant extension to CGI")
235 (description "FastCGI is a language independent, scalable extension to CGI
236 that provides high performance without the limitations of server specific
238 ;; This package is released under the Open Market License, a variant of
239 ;; the Expat license, incompatible with the GPL.
240 (license (l:non-copyleft "file://LICENSE.TERMS"))))
242 (define-public fcgiwrap
249 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
250 "archive/" version ".tar.gz"))
251 (file-name (string-append name "-" version ".tar.gz"))
254 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
255 (build-system gnu-build-system)
257 `(#:tests? #f ; no tests included
258 #:make-flags (list "CC=gcc")
260 (modify-phases %standard-phases
261 (add-after 'unpack 'bootstrap
263 (zero? (system* "autoreconf" "-vif")))))))
265 `(("autoconf" ,autoconf)
266 ("automake" ,automake)
267 ("pkg-config" ,pkg-config)))
270 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
271 (synopsis "Simple server for running CGI applications over FastCGI")
272 (description "Fcgiwrap is a simple server for running CGI applications
273 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
274 servers that may need it).")
277 (define-public starman
284 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
285 "Starman-" version ".tar.gz"))
288 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
289 (build-system perl-build-system)
291 `(("perl-libwww" ,perl-libwww)
292 ("perl-module-build-tiny" ,perl-module-build-tiny)
293 ("perl-test-requires" ,perl-test-requires)))
295 `(("perl-data-dump" ,perl-data-dump)
296 ("perl-http-date" ,perl-http-date)
297 ("perl-http-message" ,perl-http-message)
298 ("perl-http-parser-xs" ,perl-http-parser-xs)
299 ("perl-net-server" ,perl-net-server)
300 ("perl-plack" ,perl-plack)
301 ("perl-test-tcp" ,perl-test-tcp)))
302 (home-page "http://search.cpan.org/dist/Starman")
303 (synopsis "PSGI/Plack web server")
304 (description "Starman is a PSGI perl web server that has unique features
305 such as high performance, preforking, signal support, superdaemon awareness,
306 and UNIX socket support.")
307 (license l:perl-license)))
309 (define-public jansson
316 (string-append "http://www.digip.org/jansson/releases/jansson-"
320 "19fjgfwjfj99rqa3kf96x5rssj88siazggksgrikd6h4r9sd1l0a"))))
321 (build-system gnu-build-system)
322 (home-page "http://www.digip.org/jansson/")
323 (synopsis "JSON C library")
325 "Jansson is a C library for encoding, decoding and manipulating JSON
329 (define-public json-c
336 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
340 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
341 (modules '((guix build utils)))
344 ;; Somehow 'config.h.in' is older than
345 ;; 'aclocal.m4', which would trigger a rule to
347 (set-file-time "config.h.in"
350 ;; Don't try to build with -Werror.
351 (substitute* (find-files "." "Makefile\\.in")
352 (("-Werror") ""))))))
353 (build-system gnu-build-system)
354 (arguments '(#:parallel-build? #f
355 #:parallel-tests? #f))
356 (home-page "https://github.com/json-c/json-c/wiki")
357 (synopsis "JSON implementation in C")
359 "JSON-C implements a reference counting object model that allows you to
360 easily construct JSON objects in C, output them as JSON formatted strings and
361 parse JSON formatted strings back into the C representation of JSON objects.")
364 (define-public krona-tools
371 "https://github.com/marbl/Krona/releases/download/v"
372 version "/KronaTools-" version ".tar"))
375 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
376 (build-system perl-build-system)
379 (modify-phases %standard-phases
380 ;; There is no configure or build steps.
383 ;; Install script "install.pl" expects the build directory to remain
384 ;; after installation, creating symlinks etc., so re-implement it
387 (lambda* (#:key outputs #:allow-other-keys)
388 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
389 (perl (string-append (assoc-ref outputs "out")
390 "/lib/perl5/site_perl/krona-tools/lib")))
394 (let* ((executable (string-append "scripts/" script ".pl")))
395 ;; Prefix executables with 'kt' as install script does.
396 (copy-file executable (string-append bin "/kt" script))))
398 "GetContigMagnitudes"
408 "ImportMETAREP-BLAST"
413 "ImportRDPComparison"
419 (copy-recursively directory
420 (string-append perl "/../" directory)))
421 (list "data" "img" "taxonomy" "src"))
422 (install-file "lib/KronaTools.pm" perl))))
423 (add-after 'install 'wrap-program
424 (lambda* (#:key inputs outputs #:allow-other-keys)
425 (let* ((out (assoc-ref outputs "out"))
426 (path (getenv "PERL5LIB")))
429 (wrap-program executable
430 `("PERL5LIB" ":" prefix
431 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
432 (find-files (string-append out "/bin/") ".*")))))
434 (add-after 'wrap-program 'check
435 (lambda* (#:key inputs outputs #:allow-other-keys)
436 (with-directory-excursion "data"
437 (zero? (system* (string-append (assoc-ref outputs "out") "/bin/ktImportText")
441 (home-page "https://github.com/marbl/Krona/wiki")
442 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
444 "Krona is a flexible tool for exploring the relative proportions of
445 hierarchical data, such as metagenomic classifications, using a radial,
446 space-filling display. It is implemented using HTML5 and JavaScript, allowing
447 charts to be explored locally or served over the Internet, requiring only a
448 current version of any major web browser.")
451 (define-public rapidjson
458 "https://github.com/miloyip/rapidjson/archive/v"
460 (file-name (string-append name "-" version ".tar.gz"))
463 "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))))
464 (build-system cmake-build-system)
466 `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
469 (modify-phases %standard-phases
470 (add-after 'unpack 'patch-aarch-march-detection
472 (substitute* (find-files "." "^CMakeLists\\.txt$")
473 (("native") "armv8-a"))
476 (home-page "https://github.com/miloyip/rapidjson")
477 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
479 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
483 (define-public libyajl
489 (uri (string-append "https://github.com/lloyd/yajl/"
490 "archive/" version ".tar.gz"))
491 (file-name (string-append name "-" version ".tar.gz"))
494 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
495 (build-system cmake-build-system)
496 (home-page "https://lloyd.github.io/yajl/")
497 (synopsis "C library for parsing JSON")
499 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
500 parser written in ANSI C and a small validating JSON generator.")
503 (define-public libwebsockets
505 (name "libwebsockets")
508 ;; The project does not publish tarballs, so we have to take
512 (url "git://git.libwebsockets.org/libwebsockets")
513 (commit (string-append "v" version
514 "-chrome37-firefox30"))))
517 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
518 (file-name (string-append name "-" version))))
520 (build-system cmake-build-system)
522 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
523 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
526 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
527 (inputs `(("zlib" ,zlib)
528 ("openssl" ,openssl)))
529 (synopsis "WebSockets library written in C")
531 "Libwebsockets is a library that allows C programs to establish client
532 and server WebSockets connections---a protocol layered above HTTP that allows
533 for efficient socket-like bidirectional reliable communication channels.")
534 (home-page "http://libwebsockets.org/")
536 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
537 (license l:lgpl2.1)))
539 (define-public libpsl
545 (uri (string-append "https://github.com/rockdaboot/libpsl/"
546 "releases/download/libpsl-" version
547 "/libpsl-" version ".tar.gz"))
550 "00iids8ldsqnnndmcfjp6kc00lv7fawf5l24mpbdbkh98yazgc4i"))))
551 (build-system gnu-build-system)
553 `(("pkg-config" ,pkg-config)))
555 `(("libidn2" ,libidn2)
556 ("libunistring" ,libunistring)
557 ("python-2" ,python-2)))
558 (home-page "https://github.com/rockdaboot/libpsl")
559 (synopsis "C library for the Publix Suffix List")
561 "A \"public suffix\" is a domain name under which Internet users can
562 directly register own names.
564 Browsers and other web clients can use it to avoid privacy-leaking
565 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
566 highlighting parts of the domain in a user interface, and sorting domain lists
569 Libpsl has built-in PSL data for fast access, allows to load PSL data from
570 files, checks if a given domain is a public suffix, provides immediate cookie
571 domain verification, finds the longest public part of a given domain, finds
572 the shortest private part of a given domain, works with international
573 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
585 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
587 (revision "2009-12-23")))
590 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
591 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
592 (build-system gnu-build-system)
594 '(#:phases (modify-phases %standard-phases
595 (add-after 'unpack 'bootstrap
596 (lambda* (#:key inputs #:allow-other-keys)
597 ;; configure.in and Makefile.am aren't in the root of the
599 (copy-recursively "build/gnuauto" ".")
600 (setenv "AUTOMAKE" "automake --foreign")
601 (zero? (system* "autoreconf" "-vfi")))))))
603 `(("automake" ,automake)
604 ("autoconf" ,autoconf)
605 ("libtool" ,libtool)))
606 (synopsis "HTML validator and tidier")
607 (description "HTML Tidy is a command-line tool and C library that can be
608 used to validate and fix HTML data.")
609 (home-page "http://tidy.sourceforge.net/")
610 (license (l:x11-style "file:///include/tidy.h"))))
612 (define-public tinyproxy
618 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
619 "releases/download/" version "/tinyproxy-"
623 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
624 (build-system gnu-build-system)
628 ;; For the log file, etc.
629 "--localstatedir=/var")
633 (lambda* (#:key inputs #:allow-other-keys #:rest args)
634 ;; Uncommenting the next two lines may assist in debugging
635 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
636 ;; (setenv "XML_DEBUG_CATALOG" "1")
639 ;; All of the below are used to generate the documentation
640 ;; (Should they be propagated inputs of asciidoc ??)
641 (native-inputs `(("asciidoc" ,asciidoc)))
642 (home-page "https://tinyproxy.github.io/")
643 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
644 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
645 daemon. Designed from the ground up to be fast and yet small, it is an ideal
646 solution for use cases such as embedded deployments where a full featured HTTP
647 proxy is required, but the system resources for a larger proxy are
651 (define-public polipo
659 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
663 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
664 (native-inputs `(("texinfo" ,texinfo)))
665 (build-system gnu-build-system)
667 `(#:phases (modify-phases %standard-phases
669 #:make-flags (let ((out (assoc-ref %outputs "out")))
670 (list (string-append "PREFIX=" out)
671 (string-append "LOCAL_ROOT="
672 out "/share/polipo/www")
674 ;; No 'check' target.
676 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
677 (synopsis "Small caching web proxy")
679 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
680 server). It was primarily designed to be used by one person or a small group
684 (define-public wwwoffle
690 (uri (string-append "https://www.gedanken.org.uk/software/"
691 "wwwoffle/download/wwwoffle-"
695 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
696 (build-system gnu-build-system)
698 `(#:configure-flags '("--with-gnutls")
699 #:tests? #f)) ; no test target
700 (native-inputs `(("flex" ,flex)))
701 (inputs `(("gnutls" ,gnutls)
702 ("libcrypt", libgcrypt)))
703 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
704 (synopsis "Caching web proxy optimized for intermittent internet links")
705 (description "WWWOFFLE is a proxy web server that is especially good for
706 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
707 protocols, and supports browsing and requesting pages while offline, indexing,
708 modifying pages and incoming and outgoing headers, monitoring pages for
709 changes, and much more.")
712 (define-public liboauth
718 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
722 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
723 (build-system gnu-build-system)
724 (arguments '(#:configure-flags '("--enable-nss")))
725 (native-inputs `(("pkg-config" ,pkg-config)))
729 (home-page "https://sourceforge.net/projects/liboauth")
730 (synopsis "C library implementing the OAuth API")
732 "liboauth is a collection of C functions implementing the OAuth API.
733 liboauth provides functions to escape and encode strings according to OAuth
734 specifications and offers high-level functionality built on top to sign
735 requests or verify signatures using either NSS or OpenSSL for calculating the
737 ;; Source code may be distributed under either license.
738 (license (list l:expat l:gpl2+))))
740 (define-public libyaml
748 "http://pyyaml.org/download/libyaml/yaml-"
750 (patches (search-patches "libyaml-CVE-2014-9130.patch"))
753 "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx"))))
754 (build-system gnu-build-system)
755 (home-page "http://pyyaml.org/wiki/LibYAML")
756 (synopsis "YAML 1.1 parser and emitter written in C")
758 "LibYAML is a YAML 1.1 parser and emitter written in C.")
761 (define-public libquvi-scripts
763 (name "libquvi-scripts")
769 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
770 name "/" name "-" version ".tar.xz"))
772 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
773 (build-system gnu-build-system)
774 (home-page "http://quvi.sourceforge.net/")
775 (synopsis "Media stream URL parser")
776 (description "This package contains support scripts called by libquvi to
777 parse media stream properties.")
778 (license l:lgpl2.1+)))
780 (define-public libquvi
788 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
789 name "-" version ".tar.xz"))
791 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
792 (build-system gnu-build-system)
793 (native-inputs `(("pkg-config" ,pkg-config)))
796 ("cyrus-sasl" ,cyrus-sasl)
797 ("libquvi-scripts" ,libquvi-scripts)
802 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
804 (let ((lua (assoc-ref %build-inputs "lua")))
806 (string-append "liblua_CFLAGS=-I" lua "/include")
807 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
808 (home-page "http://quvi.sourceforge.net/")
809 (synopsis "Media stream URL parser")
810 (description "libquvi is a library with a C API for parsing media stream
811 URLs and extracting their actual media files.")
812 (license l:lgpl2.1+)))
822 "mirror://sourceforge/" name "/" (version-major+minor version)
823 "/" name "/" name "-" version ".tar.xz"))
825 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
826 (build-system gnu-build-system)
827 (native-inputs `(("pkg-config" ,pkg-config)))
830 ("libquvi" ,libquvi)))
831 (home-page "http://quvi.sourceforge.net/")
832 (synopsis "Media stream URL parser")
833 (description "quvi is a command-line-tool suite to extract media files
834 from streaming URLs. It is a command-line wrapper for the libquvi library.")
835 (license l:lgpl2.1+)))
844 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
847 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
848 (build-system gnu-build-system)
851 ("python" ,python-2)))
854 ("apr-util" ,apr-util)
855 ("openssl" ,openssl)))
857 `(;; TODO: Fix build with gss.
861 `(#:modules ((guix build gnu-build-system)
865 ;; TODO: Add scons-build-system and use it here.
866 (modify-phases %standard-phases
868 (add-after 'unpack 'scons-propagate-environment
870 ;; By design, SCons does not, by default, propagate
871 ;; environment variables to subprocesses. See:
872 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
873 ;; Here, we modify the SConstruct file to arrange for
874 ;; environment variables to be propagated.
875 (substitute* "SConstruct"
876 (("^env = Environment\\(")
877 "env = Environment(ENV=os.environ, "))))
879 (lambda* (#:key inputs outputs #:allow-other-keys)
880 (let ((out (assoc-ref outputs "out"))
881 (apr (assoc-ref inputs "apr"))
882 (apr-util (assoc-ref inputs "apr-util"))
883 (openssl (assoc-ref inputs "openssl"))
884 ;;(gss (assoc-ref inputs "gss"))
885 (zlib (assoc-ref inputs "zlib")))
886 (zero? (system* "scons"
887 (string-append "APR=" apr)
888 (string-append "APU=" apr-util)
889 (string-append "OPENSSL=" openssl)
890 ;;(string-append "GSSAPI=" gss)
891 (string-append "ZLIB=" zlib)
892 (string-append "PREFIX=" out))))))
893 (add-before 'check 'disable-broken-tests
895 ;; These tests rely on SSL certificates that expired 2017-04-18.
896 ;; While there are newer certs available upstream, we don't want
897 ;; this package to suddenly "expire" some time in the future.
898 ;; https://bugs.gnu.org/26671
900 '("test_ssl_trust_rootca"
901 "test_ssl_certificate_chain_with_anchor"
902 "test_ssl_certificate_chain_all_from_server"
903 "test_ssl_no_servercert_callback_allok"
904 "test_ssl_large_response"
905 "test_ssl_large_request"
906 "test_ssl_client_certificate"
907 "test_ssl_future_server_cert"
908 "test_setup_ssltunnel"
909 "test_ssltunnel_basic_auth"
910 "test_ssltunnel_basic_auth_server_has_keepalive_off"
911 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
912 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
913 "test_ssltunnel_digest_auth")))
916 (substitute* "test/test_context.c"
917 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
920 (replace 'check (lambda _ (zero? (system* "scons" "check"))))
921 (replace 'install (lambda _ (zero? (system* "scons" "install")))))))
922 (home-page "https://serf.apache.org/")
923 (synopsis "High-performance asynchronous HTTP client library")
925 "serf is a C-based HTTP client library built upon the Apache Portable
926 Runtime (APR) library. It multiplexes connections, running the read/write
927 communication asynchronously. Memory copies and transformations are kept to a
928 minimum to provide high performance operation.")
929 ;; Most of the code is covered by the Apache License, Version 2.0, but the
930 ;; bundled CuTest framework uses a different non-copyleft license.
931 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
934 ;; libsass must be statically linked and it isn't included in the sassc
935 ;; release tarballs, hence this odd package recipe.
936 (let* ((version "3.2.5")
941 "https://github.com/sass/libsass/archive/"
943 (file-name (string-append "libsass-" version ".tar.gz"))
946 "1x25k6p1s1yzsdpzb7bzh8japilmi1mk3z96q66pycbinj9z9is4")))))
952 (uri (string-append "https://github.com/sass/sassc/archive/"
954 (file-name (string-append "sassc-" version ".tar.gz"))
957 "1xf3w75w840rj0nx375rxi7mcv1ngqqq8p3zrzjlyx8jfpnldmv5"))))
958 (build-system gnu-build-system)
960 `(#:make-flags '("CC=gcc")
963 (modify-phases %standard-phases
965 (add-after 'unpack 'unpack-libsass-and-set-path
966 (lambda* (#:key inputs #:allow-other-keys)
967 (and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass")))
969 (setenv "SASS_LIBSASS_PATH"
970 (string-append (getcwd) "/libsass-" ,version))
972 (replace 'install ; no install target
973 (lambda* (#:key outputs #:allow-other-keys)
974 (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
976 (copy-file "bin/sassc" (string-append bin "/sassc"))
979 `(("libsass" ,libsass)))
980 (synopsis "CSS pre-processor")
981 (description "SassC is a compiler written in C for the CSS pre-processor
982 language known as SASS.")
983 (home-page "http://sass-lang.com/libsass")
987 (define-public perl-apache-logformat-compiler
989 (name "perl-apache-logformat-compiler")
994 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
995 "Apache-LogFormat-Compiler-" version ".tar.gz"))
998 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
999 (build-system perl-build-system)
1001 `(("perl-http-message" ,perl-http-message)
1002 ("perl-module-build" ,perl-module-build)
1003 ("perl-test-mocktime" ,perl-test-mocktime)
1004 ("perl-try-tiny" ,perl-try-tiny)
1005 ("perl-uri" ,perl-uri)))
1007 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1008 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
1009 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
1010 (synopsis "Compile a log format string to perl-code")
1011 (description "This module provides methods to compile a log format string
1012 to perl-code, for faster generation of access_log lines.")
1013 (license l:perl-license)))
1015 (define-public perl-authen-sasl
1017 (name "perl-authen-sasl")
1022 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1023 "Authen-SASL-" version ".tar.gz"))
1026 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1027 (build-system perl-build-system)
1029 `(("perl-digest-hmac" ,perl-digest-hmac)
1030 ("perl-gssapi" ,perl-gssapi)))
1031 (home-page "http://search.cpan.org/dist/Authen-SASL")
1032 (synopsis "SASL authentication framework")
1033 (description "Authen::SASL provides an SASL authentication framework.")
1034 (license l:perl-license)))
1036 (define-public perl-catalyst-action-renderview
1038 (name "perl-catalyst-action-renderview")
1043 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1044 "Catalyst-Action-RenderView-"
1048 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1049 (build-system perl-build-system)
1051 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)))
1053 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1054 ("perl-data-visitor" ,perl-data-visitor)
1055 ("perl-mro-compat" ,perl-mro-compat)))
1056 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
1057 (synopsis "Sensible default Catalyst action")
1058 (description "This Catalyst action implements a sensible default end
1059 action, which will forward to the first available view.")
1060 (license l:perl-license)))
1062 (define-public perl-catalyst-action-rest
1064 (name "perl-catalyst-action-rest")
1068 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1069 "Catalyst-Action-REST-" version ".tar.gz"))
1072 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
1073 (build-system perl-build-system)
1075 `(("perl-test-requires" ,perl-test-requires)))
1077 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1078 ("perl-class-inspector" ,perl-class-inspector)
1079 ("perl-config-general" ,perl-config-general)
1080 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1081 ("perl-libwww" ,perl-libwww)
1082 ("perl-moose" ,perl-moose)
1083 ("perl-mro-compat" ,perl-mro-compat)
1084 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1085 ("perl-params-validate" ,perl-params-validate)
1086 ("perl-uri-find" ,perl-uri-find)
1087 ("perl-xml-simple" ,perl-xml-simple)))
1088 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
1089 (synopsis "Automated REST Method Dispatching")
1090 (description "This Action handles doing automatic method dispatching for
1091 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1092 append an underscore and method name. First it will try dispatching to an
1093 action with the generated name, and failing that it will try to dispatch to a
1095 (license l:perl-license)))
1097 (define-public perl-catalyst-authentication-store-dbix-class
1099 (name "perl-catalyst-authentication-store-dbix-class")
1104 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1105 "Catalyst-Authentication-Store-DBIx-Class-"
1109 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1110 (build-system perl-build-system)
1112 `(("perl-catalyst-plugin-authorization-roles"
1113 ,perl-catalyst-plugin-authorization-roles)
1114 ("perl-catalyst-plugin-session-state-cookie"
1115 ,perl-catalyst-plugin-session-state-cookie)
1116 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1117 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1119 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1120 ("perl-catalyst-plugin-authentication"
1121 ,perl-catalyst-plugin-authentication)
1122 ("perl-dbix-class" ,perl-dbix-class)
1123 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1125 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
1126 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1127 (description "The Catalyst::Authentication::Store::DBIx::Class class
1128 provides access to authentication information stored in a database via
1130 (license l:perl-license)))
1132 (define-public perl-catalyst-component-instancepercontext
1134 (name "perl-catalyst-component-instancepercontext")
1135 (version "0.001001")
1139 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1140 "Catalyst-Component-InstancePerContext-"
1144 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1145 (build-system perl-build-system)
1147 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1148 ("perl-moose" ,perl-moose)))
1150 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
1151 (synopsis "Create only one instance of Moose component per context")
1152 (description "Catalyst::Component::InstancePerContext returns a new
1153 instance of a component on each request.")
1154 (license l:perl-license)))
1156 (define-public perl-catalyst-devel
1158 (name "perl-catalyst-devel")
1163 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1164 "Catalyst-Devel-" version ".tar.gz"))
1167 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1168 (build-system perl-build-system)
1170 `(("perl-test-fatal" ,perl-test-fatal)))
1172 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1173 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1174 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1175 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1176 ("perl-config-general" ,perl-config-general)
1177 ("perl-file-changenotify" ,perl-file-changenotify)
1178 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1179 ("perl-file-sharedir" ,perl-file-sharedir)
1180 ("perl-module-install" ,perl-module-install)
1181 ("perl-moose" ,perl-moose)
1182 ("perl-moosex-emulate-class-accessor-fast"
1183 ,perl-moosex-emulate-class-accessor-fast)
1184 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1185 ("perl-namespace-clean" ,perl-namespace-clean)
1186 ("perl-path-class" ,perl-path-class)
1187 ("perl-template-toolkit" ,perl-template-toolkit)))
1188 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1189 (synopsis "Catalyst Development Tools")
1190 (description "The Catalyst-Devel distribution includes a variety of
1191 modules useful for the development of Catalyst applications, but not required
1192 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1193 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1194 extension for Catalyst; and requirements for a variety of development-related
1196 (license l:perl-license)))
1198 (define-public perl-catalyst-dispatchtype-regex
1200 (name "perl-catalyst-dispatchtype-regex")
1205 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1206 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1209 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1210 (build-system perl-build-system)
1212 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1213 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1214 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1216 `(("perl-moose" ,perl-moose)
1217 ("perl-text-simpletable" ,perl-text-simpletable)))
1218 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1219 (synopsis "Regex DispatchType for Catalyst")
1220 (description "Dispatch type managing path-matching behaviour using
1221 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1222 core. It is recommend that you use Chained methods or other techniques
1223 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1224 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1225 when the dispatch type is first seen in your application.")
1226 (license l:perl-license)))
1228 (define-public perl-catalyst-model-dbic-schema
1230 (name "perl-catalyst-model-dbic-schema")
1235 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1236 "Catalyst-Model-DBIC-Schema-"
1240 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1241 (build-system perl-build-system)
1243 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1244 ("perl-test-exception" ,perl-test-exception)
1245 ("perl-test-requires" ,perl-test-requires)))
1247 `(("perl-carp-clan" ,perl-carp-clan)
1248 ("perl-catalyst-component-instancepercontext"
1249 ,perl-catalyst-component-instancepercontext)
1250 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1251 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1252 ("perl-dbix-class" ,perl-dbix-class)
1253 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1254 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1255 ("perl-hash-merge" ,perl-hash-merge)
1256 ("perl-list-moreutils" ,perl-list-moreutils)
1257 ("perl-module-runtime" ,perl-module-runtime)
1258 ("perl-moose" ,perl-moose)
1259 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1260 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1261 ("perl-moosex-types" ,perl-moosex-types)
1262 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1263 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1264 ("perl-namespace-clean" ,perl-namespace-clean)
1265 ("perl-tie-ixhash" ,perl-tie-ixhash)
1266 ("perl-try-tiny" ,perl-try-tiny)))
1267 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1268 (synopsis "DBIx::Class::Schema Model Class")
1269 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1271 (license l:perl-license)))
1273 (define-public perl-catalyst-plugin-accesslog
1275 (name "perl-catalyst-plugin-accesslog")
1280 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1281 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1284 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1285 (build-system perl-build-system)
1287 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1288 ("perl-datetime" ,perl-datetime)
1289 ("perl-moose" ,perl-moose)
1290 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1291 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1292 (synopsis "Request logging from within Catalyst")
1293 (description "This Catalyst plugin enables you to create \"access logs\"
1294 from within a Catalyst application instead of requiring a webserver to do it
1295 for you. It will work even with Catalyst debug logging turned off.")
1296 (license l:perl-license)))
1298 (define-public perl-catalyst-plugin-authentication
1300 (name "perl-catalyst-plugin-authentication")
1305 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1306 "Catalyst-Plugin-Authentication-"
1310 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1311 (build-system perl-build-system)
1313 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1314 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1315 ("perl-class-inspector" ,perl-class-inspector)
1316 ("perl-moose" ,perl-moose)
1317 ("perl-moosex-emulate-class-accessor-fast"
1318 ,perl-moosex-emulate-class-accessor-fast)
1319 ("perl-mro-compat" ,perl-mro-compat)
1320 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1321 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1322 ("perl-test-exception" ,perl-test-exception)
1323 ("perl-try-tiny" ,perl-try-tiny)))
1324 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1325 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1326 (description "The authentication plugin provides generic user support for
1327 Catalyst apps. It is the basis for both authentication (checking the user is
1328 who they claim to be), and authorization (allowing the user to do what the
1329 system authorises them to do).")
1330 (license l:perl-license)))
1332 (define-public perl-catalyst-plugin-authorization-roles
1334 (name "perl-catalyst-plugin-authorization-roles")
1339 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1340 "Catalyst-Plugin-Authorization-Roles-"
1344 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1345 (build-system perl-build-system)
1347 `(("perl-test-exception" ,perl-test-exception)))
1349 `(("perl-catalyst-plugin-authentication"
1350 ,perl-catalyst-plugin-authentication)
1351 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1352 ("perl-set-object" ,perl-set-object)
1353 ("perl-universal-isa" ,perl-universal-isa)))
1355 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1356 (synopsis "Role-based authorization for Catalyst")
1357 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1358 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1359 (license l:perl-license)))
1361 (define-public perl-catalyst-plugin-captcha
1363 (name "perl-catalyst-plugin-captcha")
1368 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1369 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1372 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1373 (build-system perl-build-system)
1375 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1376 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1377 ("perl-gd-securityimage" ,perl-gd-securityimage)
1378 ("perl-http-date" ,perl-http-date)))
1379 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1380 (synopsis "Captchas for Catalyst")
1381 (description "This plugin creates and validates Captcha images for
1383 (license l:perl-license)))
1385 (define-public perl-catalyst-plugin-configloader
1387 (name "perl-catalyst-plugin-configloader")
1392 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1393 "Catalyst-Plugin-ConfigLoader-"
1397 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1398 (build-system perl-build-system)
1400 `(("perl-path-class" ,perl-path-class)))
1402 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1403 ("perl-config-any" ,perl-config-any)
1404 ("perl-data-visitor" ,perl-data-visitor)
1405 ("perl-mro-compat" ,perl-mro-compat)))
1406 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1407 (synopsis "Load config files of various types")
1408 (description "This module will attempt to load find and load configuration
1409 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1411 (license l:perl-license)))
1413 (define-public perl-catalyst-plugin-session
1415 (name "perl-catalyst-plugin-session")
1420 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1421 "Catalyst-Plugin-Session-" version ".tar.gz"))
1424 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
1425 (build-system perl-build-system)
1427 `(("perl-test-deep" ,perl-test-deep)
1428 ("perl-test-exception" ,perl-test-exception)))
1430 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1431 ("perl-moose" ,perl-moose)
1432 ("perl-moosex-emulate-class-accessor-fast"
1433 ,perl-moosex-emulate-class-accessor-fast)
1434 ("perl-mro-compat" ,perl-mro-compat)
1435 ("perl-namespace-clean" ,perl-namespace-clean)
1436 ("perl-object-signature" ,perl-object-signature)
1437 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1438 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1439 (synopsis "Catalyst generic session plugin")
1440 (description "This plugin links the two pieces required for session
1441 management in web applications together: the state, and the store.")
1442 (license l:perl-license)))
1444 (define-public perl-catalyst-plugin-session-state-cookie
1446 (name "perl-catalyst-plugin-session-state-cookie")
1451 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1452 "Catalyst-Plugin-Session-State-Cookie-"
1456 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1457 (build-system perl-build-system)
1459 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1460 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1461 ("perl-moose" ,perl-moose)
1462 ("perl-mro-compat" ,perl-mro-compat)
1463 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1465 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1466 (synopsis "Maintain session IDs using cookies")
1467 (description "In order for Catalyst::Plugin::Session to work, the session
1468 ID needs to be stored on the client, and the session data needs to be stored
1469 on the server. This plugin stores the session ID on the client using the
1471 (license l:perl-license)))
1473 (define-public perl-catalyst-plugin-session-store-fastmmap
1475 (name "perl-catalyst-plugin-session-store-fastmmap")
1480 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1481 "Catalyst-Plugin-Session-Store-FastMmap-"
1485 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1486 (build-system perl-build-system)
1488 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1489 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1490 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1491 ("perl-moosex-emulate-class-accessor-fast"
1492 ,perl-moosex-emulate-class-accessor-fast)
1493 ("perl-mro-compat" ,perl-mro-compat)
1494 ("perl-path-class" ,perl-path-class)))
1496 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
1497 (synopsis "FastMmap session storage backend")
1498 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1499 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1500 memory interprocess cache. It is based on Cache::FastMmap.")
1501 (license l:perl-license)))
1503 (define-public perl-catalyst-plugin-stacktrace
1505 (name "perl-catalyst-plugin-stacktrace")
1510 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1511 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1514 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1515 (build-system perl-build-system)
1517 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1518 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1519 ("perl-mro-compat" ,perl-mro-compat)))
1520 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1521 (synopsis "Stack trace on the Catalyst debug screen")
1522 (description "This plugin enhances the standard Catalyst debug screen by
1523 including a stack trace of your application up to the point where the error
1524 occurred. Each stack frame is displayed along with the package name, line
1525 number, file name, and code context surrounding the line number.")
1526 (license l:perl-license)))
1528 (define-public perl-catalyst-plugin-static-simple
1530 (name "perl-catalyst-plugin-static-simple")
1535 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1536 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1539 "1h8f12bhzh0ssq9gs8r9g3hqn8zn2k0q944vc1vm8j81bns16msy"))))
1540 (build-system perl-build-system)
1542 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1543 ("perl-mime-types" ,perl-mime-types)
1544 ("perl-moose" ,perl-moose)
1545 ("perl-moosex-types" ,perl-moosex-types)
1546 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1547 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1548 (synopsis "Simple serving of static pages")
1549 (description "The Static::Simple plugin is designed to make serving static
1550 content in your application during development quick and easy, without
1551 requiring a single line of code from you. This plugin detects static files by
1552 looking at the file extension in the URL (such as .css or .png or .js). The
1553 plugin uses the lightweight MIME::Types module to map file extensions to
1554 IANA-registered MIME types, and will serve your static files with the correct
1555 MIME type directly to the browser, without being processed through Catalyst.")
1556 (license l:perl-license)))
1558 (define-public perl-catalyst-runtime
1560 (name "perl-catalyst-runtime")
1565 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1566 "Catalyst-Runtime-" version ".tar.gz"))
1569 "1gs70nq4rikpq6siwds9disb1z03vwjzf979xi9kf7saa1drfncs"))))
1570 (build-system perl-build-system)
1572 `(("perl-test-fatal" ,perl-test-fatal)))
1574 `(("perl-cgi-simple" ,perl-cgi-simple)
1575 ("perl-cgi-struct" ,perl-cgi-struct)
1576 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1577 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1578 ("perl-class-date" ,perl-class-date)
1579 ("perl-class-load" ,perl-class-load)
1580 ("perl-data-dump" ,perl-data-dump)
1581 ("perl-http-body" ,perl-http-body)
1582 ("perl-http-message" ,perl-http-message)
1583 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1584 ("perl-io-stringy" ,perl-io-stringy)
1585 ("perl-json-maybexs" ,perl-json-maybexs)
1586 ("perl-libwww" ,perl-libwww)
1587 ("perl-module-pluggable" ,perl-module-pluggable)
1588 ("perl-moose" ,perl-moose)
1589 ("perl-moosex-emulate-class-accessor-fast"
1590 ,perl-moosex-emulate-class-accessor-fast)
1591 ("perl-moosex-getopt" ,perl-moosex-getopt)
1592 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1593 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1594 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1595 ("perl-namespace-clean" ,perl-namespace-clean)
1596 ("perl-path-class" ,perl-path-class)
1597 ("perl-plack" ,perl-plack)
1598 ("perl-plack-middleware-fixmissingbodyinredirect"
1599 ,perl-plack-middleware-fixmissingbodyinredirect)
1600 ("perl-plack-middleware-methodoverride"
1601 ,perl-plack-middleware-methodoverride)
1602 ("perl-plack-middleware-removeredundantbody"
1603 ,perl-plack-middleware-removeredundantbody)
1604 ("perl-plack-middleware-reverseproxy"
1605 ,perl-plack-middleware-reverseproxy)
1606 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1607 ("perl-safe-isa" ,perl-safe-isa)
1608 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1609 ("perl-text-simpletable" ,perl-text-simpletable)
1610 ("perl-tree-simple" ,perl-tree-simple)
1611 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1612 ("perl-try-tiny" ,perl-try-tiny)
1613 ("perl-uri" ,perl-uri)
1614 ("perl-uri-ws" ,perl-uri-ws)))
1615 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1616 (synopsis "The Catalyst Framework Runtime")
1617 (description "Catalyst is a modern framework for making web applications.
1618 It is designed to make it easy to manage the various tasks you need to do to
1619 run an application on the web, either by doing them itself, or by letting you
1620 \"plug in\" existing Perl modules that do what you need.")
1621 (license l:perl-license)))
1623 (define-public perl-catalyst-traitfor-request-proxybase
1625 (name "perl-catalyst-traitfor-request-proxybase")
1626 (version "0.000005")
1630 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1631 "Catalyst-TraitFor-Request-ProxyBase-"
1635 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1636 (build-system perl-build-system)
1638 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1639 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1640 ("perl-http-message" ,perl-http-message)))
1642 `(("perl-moose" ,perl-moose)
1643 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1644 ("perl-uri" ,perl-uri)))
1646 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1647 (synopsis "Replace request base with value passed by HTTP proxy")
1648 (description "This module is a Moose::Role which allows you more
1649 flexibility in your application's deployment configurations when deployed
1650 behind a proxy. Using this module, the request base ($c->req->base) is
1651 replaced with the contents of the X-Request-Base header.")
1652 (license l:perl-license)))
1654 (define-public perl-catalyst-view-download
1656 (name "perl-catalyst-view-download")
1661 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1662 "Catalyst-View-Download-" version ".tar.gz"))
1665 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1666 (build-system perl-build-system)
1668 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1669 ("perl-test-simple" ,perl-test-simple)
1670 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1671 ("perl-text-csv" ,perl-text-csv)
1672 ("perl-xml-simple" ,perl-xml-simple)))
1673 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1674 (synopsis "Download data in many formats")
1675 (description "The purpose of this module is to provide a method for
1676 downloading data into many supportable formats. For example, downloading a
1677 table based report in a variety of formats (CSV, HTML, etc.).")
1678 (license l:perl-license)))
1680 (define-public perl-catalyst-view-json
1682 (name "perl-catalyst-view-json")
1687 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1688 "Catalyst-View-JSON-" version ".tar.gz"))
1691 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
1692 (build-system perl-build-system)
1694 `(("perl-yaml" ,perl-yaml)))
1696 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1697 ("perl-json-maybexs" ,perl-json-maybexs)
1698 ("perl-mro-compat" ,perl-mro-compat)))
1699 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1700 (synopsis "Catalyst JSON view")
1701 (description "Catalyst::View::JSON is a Catalyst View handler that returns
1702 stash data in JSON format.")
1703 (license l:perl-license)))
1705 (define-public perl-catalyst-view-tt
1707 (name "perl-catalyst-view-tt")
1712 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1713 "Catalyst-View-TT-" version ".tar.gz"))
1716 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
1717 (build-system perl-build-system)
1719 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1720 ("perl-class-accessor" ,perl-class-accessor)
1721 ("perl-data-dump" ,perl-data-dump)
1722 ("perl-mro-compat" ,perl-mro-compat)
1723 ("perl-path-class" ,perl-path-class)
1724 ("perl-template-timer" ,perl-template-timer)
1725 ("perl-template-toolkit" ,perl-template-toolkit)))
1726 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
1727 (synopsis "Template View Class")
1728 (description "This module is a Catalyst view class for the Template
1730 (license l:perl-license)))
1732 (define-public perl-catalystx-component-traits
1734 (name "perl-catalystx-component-traits")
1739 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
1740 "CatalystX-Component-Traits-" version ".tar.gz"))
1743 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
1744 (build-system perl-build-system)
1746 `(("perl-moose" ,perl-moose)
1747 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1748 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
1750 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1751 ("perl-class-load" ,perl-class-load)
1752 ("perl-moose" ,perl-moose)
1753 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
1754 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1755 ("perl-list-moreutils" ,perl-list-moreutils)))
1756 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
1757 (synopsis "Trait Loading and Resolution for Catalyst Components")
1758 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
1759 Catalyst component base class that reads the optional \"traits\" parameter
1760 from app and component config and instantiates the component subclass with
1761 those traits using \"new_with_traits\" in MooseX::Traits from
1762 MooseX::Traits::Pluggable.")
1763 (license l:perl-license)))
1765 (define-public perl-catalystx-roleapplicator
1767 (name "perl-catalystx-roleapplicator")
1772 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
1773 "CatalystX-RoleApplicator-" version ".tar.gz"))
1776 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
1777 (build-system perl-build-system)
1779 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1780 ("perl-moose" ,perl-moose)
1781 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
1782 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
1783 (synopsis "Apply roles to Catalyst classes")
1784 (description "CatalystX::RoleApplicator applies roles to Catalyst
1785 application classes.")
1786 (license l:perl-license)))
1788 (define-public perl-catalystx-script-server-starman
1790 (name "perl-catalystx-script-server-starman")
1795 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
1796 "CatalystX-Script-Server-Starman-"
1800 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
1801 (build-system perl-build-system)
1803 `(("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1805 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1806 ("perl-moose" ,perl-moose)
1807 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1808 ("starman" ,starman)))
1809 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
1810 (synopsis "Catalyst development server with Starman")
1811 (description "This module provides a Catalyst extension to replace the
1812 development server with Starman.")
1813 (license l:perl-license)))
1815 (define-public perl-cgi
1822 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
1823 "CGI-" version ".tar.gz"))
1826 "07gwnlc7vq58fjwmfsrv0hfyirqqdrpjhf89caq34rjrkz2wsd0b"))))
1827 (build-system perl-build-system)
1829 `(("perl-test-deep" ,perl-test-deep)
1830 ("perl-test-nowarnings" ,perl-test-nowarnings)
1831 ("perl-test-warn" ,perl-test-warn)))
1833 `(("perl-html-parser" ,perl-html-parser)))
1834 (home-page "http://search.cpan.org/dist/CGI")
1835 (synopsis "Handle Common Gateway Interface requests and responses")
1836 (description "CGI.pm is a stable, complete and mature solution for
1837 processing and preparing HTTP requests and responses. Major features include
1838 processing form submissions, file uploads, reading and writing cookies, query
1839 string generation and manipulation, and processing and preparing HTTP
1841 (license l:perl-license)))
1843 (define-public perl-cgi-simple
1845 (name "perl-cgi-simple")
1850 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
1851 "CGI-Simple-" version ".tar.gz"))
1854 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
1855 (build-system perl-build-system)
1857 `(("perl-module-build" ,perl-module-build)
1858 ("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
1859 (home-page "http://search.cpan.org/dist/CGI-Simple")
1860 (synopsis "CGI interface that is CGI.pm compliant")
1861 (description "CGI::Simple provides a relatively lightweight drop in
1862 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
1863 parameter parsing, file upload, cookie handling and header generation.")
1864 (license l:perl-license)))
1866 (define-public perl-cgi-struct
1868 (name "perl-cgi-struct")
1873 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
1874 "CGI-Struct-" version ".tar.gz"))
1877 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
1878 (build-system perl-build-system)
1880 `(("perl-test-deep" ,perl-test-deep)))
1881 (home-page "http://search.cpan.org/dist/CGI-Struct")
1882 (synopsis "Build structures from CGI data")
1883 (description "This is a module for building structured data from CGI
1884 inputs, in a manner reminiscent of how PHP does.")
1887 (define-public perl-datetime-format-http
1889 (name "perl-datetime-format-http")
1894 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
1895 "DateTime-Format-HTTP-" version ".tar.gz"))
1898 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
1899 (build-system perl-build-system)
1901 `(("perl-module-build" ,perl-module-build)))
1903 `(("perl-datetime" ,perl-datetime)
1904 ("perl-http-date" ,perl-http-date)))
1905 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
1906 (synopsis "Date conversion routines")
1907 (description "This module provides functions that deal with the date
1908 formats used by the HTTP protocol.")
1909 (license l:perl-license)))
1911 (define-public perl-digest-md5-file
1913 (name "perl-digest-md5-file")
1918 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
1919 "Digest-MD5-File-" version ".tar.gz"))
1922 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
1923 (build-system perl-build-system)
1925 `(("perl-libwww" ,perl-libwww)))
1926 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
1927 (synopsis "MD5 sums for files and urls")
1928 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
1929 for files and urls.")
1930 (license l:perl-license)))
1932 (define-public perl-encode-locale
1934 (name "perl-encode-locale")
1939 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
1943 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
1944 (build-system perl-build-system)
1945 (license l:perl-license)
1946 (synopsis "Perl locale encoding determination")
1948 "The POSIX locale system is used to specify both the language
1949 conventions requested by the user and the preferred character set to
1950 consume and output. The Encode::Locale module looks up the charset and
1951 encoding (called a CODESET in the locale jargon) and arranges for the
1952 Encode module to know this encoding under the name \"locale\". It means
1953 bytes obtained from the environment can be converted to Unicode strings
1954 by calling Encode::encode(locale => $bytes) and converted back again
1955 with Encode::decode(locale => $string).")
1956 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
1958 (define-public perl-feed-find
1960 (name "perl-feed-find")
1964 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
1965 "Feed-Find-" version ".tar.gz"))
1968 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
1969 (build-system perl-build-system)
1971 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
1974 `(("perl-class-errorhandler" ,perl-class-errorhandler)
1975 ("perl-html-parser" ,perl-html-parser)
1976 ("perl-libwww" ,perl-libwww)
1977 ("perl-uri" ,perl-uri)))
1978 (home-page "http://search.cpan.org/dist/Feed-Find")
1979 (synopsis "Syndication feed auto-discovery")
1980 (description "@code{Feed::Find} implements feed auto-discovery for finding
1981 syndication feeds, given a URI. It will discover the following feed formats:
1982 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
1983 (license l:perl-license)))
1985 (define-public perl-file-listing
1987 (name "perl-file-listing")
1992 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
1996 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
1997 (build-system perl-build-system)
1999 `(("perl-http-date" ,perl-http-date)))
2000 (license l:perl-license)
2001 (synopsis "Perl directory listing parser")
2003 "The File::Listing module exports a single function called parse_dir(),
2004 which can be used to parse directory listings.")
2005 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
2007 (define-public perl-finance-quote
2009 (name "perl-finance-quote")
2014 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2015 "Finance-Quote-" version ".tar.gz"))
2018 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
2019 (patches (search-patches
2020 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2021 (build-system perl-build-system)
2023 `(("perl-cgi" ,perl-cgi)
2024 ("perl-datetime" ,perl-datetime)
2025 ("perl-html-parser" ,perl-html-parser)
2026 ("perl-html-tableextract" ,perl-html-tableextract)
2027 ("perl-html-tree" ,perl-html-tree)
2028 ("perl-http-cookies" ,perl-http-cookies)
2029 ("perl-http-message" ,perl-http-message)
2030 ("perl-json" ,perl-json)
2031 ("perl-libwww" ,perl-libwww)
2032 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2033 ("perl-uri" ,perl-uri)))
2034 (home-page "http://search.cpan.org/dist/Finance-Quote")
2035 (synopsis "Stock and mutual fund quotes")
2037 "Finance::Quote gets stock quotes from various internet sources, including
2038 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2041 (define-public perl-gssapi
2043 (name "perl-gssapi")
2048 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2049 "GSSAPI-" version ".tar.gz"))
2052 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2053 (build-system perl-build-system)
2054 (inputs `(("gssapi" ,mit-krb5)))
2056 `(#:make-maker-flags
2057 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2058 (home-page "http://search.cpan.org/dist/GSSAPI")
2059 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2060 (description "This is a Perl extension for using GSSAPI C bindings as
2061 described in RFC 2744.")
2062 (license l:perl-license)))
2064 (define-public perl-html-element-extended
2066 (name "perl-html-element-extended")
2071 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2072 "HTML-Element-Extended-" version ".tar.gz"))
2075 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2076 (build-system perl-build-system)
2078 `(("perl-html-tree" ,perl-html-tree)))
2079 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
2080 (synopsis "Manipulate tables of HTML::Element")
2082 "HTML::Element::Extended is a Perl extension for manipulating a table
2083 composed of HTML::Element style components.")
2084 (license l:perl-license)))
2086 (define-public perl-html-form
2088 (name "perl-html-form")
2093 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2094 "HTML-Form-" version ".tar.gz"))
2097 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2098 (build-system perl-build-system)
2100 `(("perl-html-parser" ,perl-html-parser)
2101 ("perl-html-tagset" ,perl-html-tagset)
2102 ("perl-http-message" ,perl-http-message)
2103 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2104 ("perl-uri" ,perl-uri)))
2105 (home-page "http://search.cpan.org/dist/HTML-Form")
2106 (synopsis "Perl class representing an HTML form element")
2107 (description "Objects of the HTML::Form class represents a single HTML
2108 <form> ... </form> instance.")
2109 (license l:perl-license)))
2111 (define-public perl-html-lint
2113 (name "perl-html-lint")
2118 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2119 "HTML-Lint-" version ".tar.gz"))
2122 "15vrqjnlb0f8rib1kqdf4islqy6i33h08wy7b1bkgd550p7lfjwk"))))
2123 (build-system perl-build-system)
2125 `(("perl-html-parser" ,perl-html-parser)
2126 ("perl-html-tagset" ,perl-html-tagset)
2127 ("perl-libwww" ,perl-libwww)))
2128 (home-page "http://search.cpan.org/dist/HTML-Lint")
2129 (synopsis "Check for HTML errors in a string or file")
2130 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2131 syntactic legitmacy.")
2132 (license l:artistic2.0)))
2134 (define-public perl-html-tableextract
2136 (name "perl-html-tableextract")
2141 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2142 "HTML-TableExtract-" version ".tar.gz"))
2145 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2146 (build-system perl-build-system)
2148 `(("perl-html-element-extended" ,perl-html-element-extended)
2149 ("perl-html-parser" ,perl-html-parser)))
2150 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
2151 (synopsis "Extract contents from HTML tables")
2153 "HTML::TableExtract is a Perl module for extracting the content contained
2154 in tables within an HTML document, either as text or encoded element trees.")
2155 (license l:perl-license)))
2157 (define-public perl-html-tree
2159 (name "perl-html-tree")
2164 (uri (string-append "mirror://cpan/authors/id/C/CJ/CJM/"
2165 "HTML-Tree-" version ".tar.gz"))
2168 "13qlqbpixw470gnck0xgny8hyjj576m8y24bba2p9ai2lvy76vbx"))))
2169 (build-system perl-build-system)
2171 `(("perl-module-build" ,perl-module-build)
2172 ("perl-test-fatal" ,perl-test-fatal)))
2174 `(("perl-html-parser" ,perl-html-parser)
2175 ("perl-html-tagset" ,perl-html-tagset)
2176 ("perl-libwww" ,perl-libwww)))
2177 (home-page "http://search.cpan.org/dist/HTML-Tree")
2178 (synopsis "Work with HTML in a DOM-like tree structure")
2179 (description "This distribution contains a suite of modules for
2180 representing, creating, and extracting information from HTML syntax trees.")
2181 (license l:perl-license)))
2183 (define-public perl-html-parser
2185 (name "perl-html-parser")
2190 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2194 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2195 (build-system perl-build-system)
2197 `(("perl-html-tagset" ,perl-html-tagset)
2198 ("perl-http-message" ,perl-http-message)))
2199 (license l:perl-license)
2200 (synopsis "Perl HTML parser class")
2202 "Objects of the HTML::Parser class will recognize markup and separate
2203 it from plain text (alias data content) in HTML documents. As different
2204 kinds of markup and text are recognized, the corresponding event handlers
2206 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2208 (define-public perl-html-tagset
2210 (name "perl-html-tagset")
2215 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2219 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2220 (build-system perl-build-system)
2221 (license l:perl-license)
2222 (synopsis "Perl data tables useful in parsing HTML")
2224 "The HTML::Tagset module contains several data tables useful in various
2225 kinds of HTML parsing operations.")
2226 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
2228 (define-public perl-html-template
2230 (name "perl-html-template")
2234 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2235 "HTML-Template-" version ".tar.gz"))
2238 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2239 (build-system perl-build-system)
2241 `(("perl-cgi" ,perl-cgi)))
2242 (home-page "http://search.cpan.org/dist/HTML-Template")
2243 (synopsis "HTML-like templates")
2245 "This module attempts to make using HTML templates simple and natural.
2246 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2247 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2248 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2249 these new tags is called a template. Using this module you fill in the values
2250 for the variables, loops and branches declared in the template. This allows
2251 you to separate design from the data.")
2252 (license l:perl-license)))
2254 (define-public perl-http-body
2256 (name "perl-http-body")
2261 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2262 "HTTP-Body-" version ".tar.gz"))
2265 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2266 (build-system perl-build-system)
2268 `(("perl-test-deep" ,perl-test-deep)))
2270 `(("perl-file-temp" ,perl-file-temp)
2271 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2272 (home-page "http://search.cpan.org/dist/HTTP-Body")
2273 (synopsis "HTTP Body Parser")
2274 (description "HTTP::Body parses chunks of HTTP POST data and supports
2275 application/octet-stream, application/json, application/x-www-form-urlencoded,
2276 and multipart/form-data.")
2277 (license l:perl-license)))
2279 (define-public perl-http-cookiejar
2281 (name "perl-http-cookiejar")
2286 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2287 "HTTP-CookieJar-" version ".tar.gz"))
2290 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2291 (build-system perl-build-system)
2293 `(("perl-test-deep" ,perl-test-deep)
2294 ("perl-test-requires" ,perl-test-requires)
2295 ("perl-time-mock" ,perl-time-mock)
2296 ("perl-uri" ,perl-uri)))
2298 `(("perl-time-local" ,perl-time-local)
2299 ("perl-http-date" ,perl-http-date)))
2300 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2301 (synopsis "Minimalist HTTP user agent cookie jar")
2302 (description "This module implements a minimalist HTTP user agent cookie
2303 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2304 (license l:asl2.0)))
2306 (define-public perl-http-cookies
2308 (name "perl-http-cookies")
2313 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-"
2317 "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm"))))
2318 (build-system perl-build-system)
2320 `(("perl-http-message" ,perl-http-message)))
2321 (license l:perl-license)
2322 (synopsis "Perl HTTP cookie jars")
2324 "The HTTP::Cookies class is for objects that represent a cookie jar,
2325 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2326 object knows about.")
2327 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2329 (define-public perl-http-daemon
2331 (name "perl-http-daemon")
2336 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2340 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2341 (build-system perl-build-system)
2343 `(("perl-http-message" ,perl-http-message)
2344 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2345 (license l:perl-license)
2346 (synopsis "Perl simple http server class")
2348 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2349 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2350 IO::Socket::INET, so you can perform socket operations directly on it too.")
2351 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2353 (define-public perl-http-date
2355 (name "perl-http-date")
2360 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2364 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2365 (build-system perl-build-system)
2366 (license l:perl-license)
2367 (synopsis "Perl date conversion routines")
2369 "The HTTP::Date module provides functions that deal with date formats
2370 used by the HTTP protocol (and then some more).")
2371 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2373 (define-public perl-http-message
2375 (name "perl-http-message")
2380 "mirror://cpan/authors/id/E/ET/ETHER/HTTP-Message-"
2384 "06yq6cjx4vzl4if4ykap77xsrrd8aa7ish90k7cqi8g6g83nicz7"))))
2385 (build-system perl-build-system)
2387 `(("perl-encode-locale" ,perl-encode-locale)
2388 ("perl-http-date" ,perl-http-date)
2389 ("perl-io-html" ,perl-io-html)
2390 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2391 ("perl-uri" ,perl-uri)))
2392 (license l:perl-license)
2393 (synopsis "Perl HTTP style message")
2395 "An HTTP::Message object contains some headers and a content body.")
2396 (home-page "http://search.cpan.org/~ether/HTTP-Message/")))
2398 (define-public perl-http-negotiate
2400 (name "perl-http-negotiate")
2405 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2409 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2410 (build-system perl-build-system)
2412 `(("perl-http-message" ,perl-http-message)))
2413 (license l:perl-license)
2414 (synopsis "Perl http content negotiation")
2416 "The HTTP::Negotiate module provides a complete implementation of the
2417 HTTP content negotiation algorithm specified in
2418 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2419 the selection of a preferred content representation based upon attributes
2420 of the negotiable variants and the value of the various Accept* header
2421 fields in the request.")
2422 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2424 (define-public perl-http-parser
2426 (name "perl-http-parser")
2431 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2432 "HTTP-Parser-" version ".tar.gz"))
2435 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2436 (build-system perl-build-system)
2438 `(("perl-http-message" ,perl-http-message)
2439 ("perl-uri" ,perl-uri)))
2440 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2441 (synopsis "Parse HTTP/1.1 requests")
2442 (description "This is an HTTP request parser. It takes chunks of text as
2443 received and returns a 'hint' as to what is required, or returns the
2444 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2446 (license l:perl-license)))
2448 (define-public perl-http-parser-xs
2450 (name "perl-http-parser-xs")
2455 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2456 "HTTP-Parser-XS-" version ".tar.gz"))
2459 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2460 (build-system perl-build-system)
2461 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2462 (synopsis "Fast HTTP request parser")
2463 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2465 (license l:perl-license)))
2467 (define-public perl-http-request-ascgi
2469 (name "perl-http-request-ascgi")
2474 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2475 "HTTP-Request-AsCGI-" version ".tar.gz"))
2478 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2479 (build-system perl-build-system)
2481 `(("perl-class-accessor" ,perl-class-accessor)
2482 ("perl-http-message" ,perl-http-message)))
2483 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2484 (synopsis "Set up a CGI environment from an HTTP::Request")
2485 (description "This module provides a convenient way to set up a CGI
2486 environment from an HTTP::Request.")
2487 (license l:perl-license)))
2489 (define-public perl-http-server-simple
2491 (name "perl-http-server-simple")
2496 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
2497 "HTTP-Server-Simple-" version ".tar.gz"))
2500 "1yvd2g57z2kq00q5i3zzfi15k98qgbif3vghjsda6v612agmrp5r"))))
2501 (build-system perl-build-system)
2503 `(("perl-cgi" ,perl-cgi)))
2505 ;; See the discussion of a related tests issue at
2506 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2508 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2509 (synopsis "Lightweight HTTP server")
2510 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2511 no non-core module dependencies. It can be used for building a standalone
2512 http-based UI to your existing tools.")
2513 (license l:perl-license)))
2515 (define-public perl-http-tiny
2517 (name "perl-http-tiny")
2522 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2523 "HTTP-Tiny-" version ".tar.gz"))
2526 "0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
2527 (build-system perl-build-system)
2529 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2530 ("perl-io-socket-ip" ,perl-io-socket-ip)
2531 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2532 ("perl-mozilla-ca" ,perl-mozilla-ca)
2533 ("perl-net-ssleay" ,perl-net-ssleay)))
2534 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2535 (synopsis "HTTP/1.1 client")
2536 (description "This is a very simple HTTP/1.1 client, designed for doing
2537 simple requests without the overhead of a large framework like LWP::UserAgent.
2538 It supports proxies and redirection. It also correctly resumes after EINTR.")
2539 (license l:perl-license)))
2541 (define-public perl-io-html
2543 (name "perl-io-html")
2548 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2552 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2553 (build-system perl-build-system)
2554 (license l:perl-license)
2555 (synopsis "Perl module to open an HTML file with automatic charset detection")
2557 "IO::HTML provides an easy way to open a file containing HTML while
2558 automatically determining its encoding. It uses the HTML5 encoding sniffing
2559 algorithm specified in section 8.2.2.1 of the draft standard.")
2560 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2562 (define-public perl-io-socket-ip
2564 (name "perl-io-socket-ip")
2569 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2570 "IO-Socket-IP-" version ".tar.gz"))
2573 "0ky20hmln6waipzqikizyw04vpszf70fgpshz7ib8zv8480ri456"))))
2574 (build-system perl-build-system)
2575 (native-inputs `(("perl-module-build" ,perl-module-build)))
2576 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2577 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2578 (description "This module provides a protocol-independent way to use IPv4
2579 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2580 (license l:perl-license)))
2582 (define-public perl-io-socket-ssl
2584 (name "perl-io-socket-ssl")
2588 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2589 "IO-Socket-SSL-" version ".tar.gz"))
2592 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2593 (patches (search-patches
2594 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2595 (build-system perl-build-system)
2597 `(("perl-net-ssleay" ,perl-net-ssleay)
2599 ("perl-uri" ,perl-uri)))
2600 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2602 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2603 necessary functionality into the familiar IO::Socket interface and providing
2604 secure defaults whenever possible. This way existing applications can be made
2605 SSL-aware without much effort, at least if you do blocking I/O and don't use
2607 (license l:perl-license)
2608 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2610 (define-public perl-libwww
2612 (name "perl-libwww")
2617 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
2621 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
2622 (build-system perl-build-system)
2624 `(("perl-encode-locale" ,perl-encode-locale)
2625 ("perl-file-listing" ,perl-file-listing)
2626 ("perl-html-parser" ,perl-html-parser)
2627 ("perl-http-cookies" ,perl-http-cookies)
2628 ("perl-http-daemon" ,perl-http-daemon)
2629 ("perl-http-date" ,perl-http-date)
2630 ("perl-http-message" ,perl-http-message)
2631 ("perl-http-negotiate" ,perl-http-negotiate)
2632 ("perl-net-http" ,perl-net-http)
2633 ("perl-uri" ,perl-uri)
2634 ("perl-www-robotrules" ,perl-www-robotrules)))
2635 (license l:perl-license)
2636 (synopsis "Perl modules for the WWW")
2638 "The libwww-perl collection is a set of Perl modules which provides a
2639 simple and consistent application programming interface to the
2640 World-Wide Web. The main focus of the library is to provide classes
2641 and functions that allow you to write WWW clients. The library also
2642 contains modules that are of more general use and even classes that
2643 help you implement simple HTTP servers.")
2644 (home-page "http://search.cpan.org/dist/libwww-perl/")))
2646 (define-public perl-lwp-mediatypes
2648 (name "perl-lwp-mediatypes")
2653 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
2657 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
2658 (build-system perl-build-system)
2659 (license l:perl-license)
2660 (synopsis "Perl module to guess the media type for a file or a URL")
2662 "The LWP::MediaTypes module provides functions for handling media (also
2663 known as MIME) types and encodings. The mapping from file extensions to
2664 media types is defined by the media.types file. If the ~/.media.types file
2665 exists it is used instead.")
2666 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
2668 (define-public perl-lwp-protocol-https
2670 (name "perl-lwp-protocol-https")
2675 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
2676 "LWP-Protocol-https-" version ".tar.gz"))
2679 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
2680 (build-system perl-build-system)
2682 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2683 ("perl-libwww" ,perl-libwww)
2684 ;; Users should instead make sure SSL_ca_path is set properly.
2685 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
2686 ("perl-net-http" ,perl-net-http)))
2687 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
2688 (synopsis "HTTPS support for LWP::UserAgent")
2689 (description "The LWP::Protocol::https module provides support for using
2690 https schemed URLs with LWP.")
2691 (license l:perl-license)))
2693 (define-public perl-lwp-useragent-determined
2695 (name "perl-lwp-useragent-determined")
2700 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
2701 "LWP-UserAgent-Determined-" version ".tar.gz"))
2704 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
2705 (build-system perl-build-system)
2707 `(("perl-libwww" ,perl-libwww)))
2708 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
2709 (synopsis "Virtual browser that retries errors")
2710 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
2711 except that when you use it to get a web page but run into a
2712 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
2713 and retry a few times.")
2714 (license l:perl-license)))
2716 (define-public perl-net-amazon-s3
2718 (name "perl-net-amazon-s3")
2723 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
2724 "Net-Amazon-S3-" version ".tar.gz"))
2727 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
2728 (patches (search-patches
2729 "perl-net-amazon-s3-moose-warning.patch"))))
2730 (build-system perl-build-system)
2732 `(("perl-libwww" ,perl-libwww)
2733 ("perl-test-exception" ,perl-test-exception)))
2735 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
2736 ("perl-datetime-format-http" ,perl-datetime-format-http)
2737 ("perl-digest-hmac" ,perl-digest-hmac)
2738 ("perl-digest-md5-file" ,perl-digest-md5-file)
2739 ("perl-file-find-rule" ,perl-file-find-rule)
2740 ("perl-http-date" ,perl-http-date)
2741 ("perl-http-message" ,perl-http-message)
2742 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
2743 ("perl-mime-types" ,perl-mime-types)
2744 ("perl-moose" ,perl-moose)
2745 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
2746 ("perl-moosex-types-datetime-morecoercions"
2747 ,perl-moosex-types-datetime-morecoercions)
2748 ("perl-path-class" ,perl-path-class)
2749 ("perl-regexp-common" ,perl-regexp-common)
2750 ("perl-term-encoding" ,perl-term-encoding)
2751 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
2752 ("perl-uri" ,perl-uri)
2753 ("perl-xml-libxml" ,perl-xml-libxml)))
2754 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
2755 (synopsis "Perl interface to Amazon S3")
2756 (description "This module provides a Perlish interface to Amazon S3.")
2757 (license l:perl-license)))
2759 (define-public perl-net-http
2761 (name "perl-net-http")
2766 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
2770 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
2771 (build-system perl-build-system)
2773 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2774 ("perl-uri" ,perl-uri)))
2775 (license l:perl-license)
2776 (synopsis "Perl low-level HTTP connection (client)")
2778 "The Net::HTTP class is a low-level HTTP client. An instance of the
2779 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
2780 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
2782 (home-page "http://search.cpan.org/dist/Net-HTTP")))
2784 (define-public perl-net-server
2786 (name "perl-net-server")
2791 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
2792 "Net-Server-" version ".tar.gz"))
2795 "182gfikn7r40kmm3d35m2qc6r8g0y1j8gxbn9ffaawf8xmm0a889"))))
2796 (build-system perl-build-system)
2797 (home-page "http://search.cpan.org/dist/Net-Server")
2798 (synopsis "Extensible Perl server engine")
2799 (description "Net::Server is an extensible, generic Perl server engine.
2800 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
2801 It includes with it the ability to run as an inetd
2802 process (Net::Server::INET), a single connection server (Net::Server or
2803 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
2804 server which maintains a constant number of preforked
2805 children (Net::Server::PreForkSimple), or as a managed preforking server which
2806 maintains the number of children based on server load (Net::Server::PreFork).
2807 In all but the inetd type, the server provides the ability to connect to one
2808 or to multiple server ports.")
2809 (license l:perl-license)))
2811 (define-public perl-net-smtp-ssl
2813 (name "perl-net-smtp-ssl")
2818 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
2819 "Net-SMTP-SSL-" version ".tar.gz"))
2822 "05y94mb1vdw32mvwb0cp2h4ggh32f8j8nwwfjb8kjwxvfkfhyp9h"))))
2823 (build-system perl-build-system)
2825 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
2826 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
2827 (synopsis "SSL support for Net::SMTP")
2828 (description "SSL support for Net::SMTP.")
2829 (license l:perl-license)))
2831 (define-public perl-plack
2838 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2839 "Plack-" version ".tar.gz"))
2842 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
2843 (build-system perl-build-system)
2845 `(("perl-test-requires" ,perl-test-requires)
2846 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
2848 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
2849 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2850 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
2851 ("perl-file-sharedir" ,perl-file-sharedir)
2852 ("perl-hash-multivalue" ,perl-hash-multivalue)
2853 ("perl-http-body" ,perl-http-body)
2854 ("perl-http-message" ,perl-http-message)
2855 ("perl-http-tiny" ,perl-http-tiny)
2856 ("perl-libwww" ,perl-libwww)
2857 ("perl-stream-buffered" ,perl-stream-buffered)
2858 ("perl-test-tcp" ,perl-test-tcp)
2859 ("perl-try-tiny" ,perl-try-tiny)
2860 ("perl-uri" ,perl-uri)))
2861 (home-page "http://search.cpan.org/dist/Plack")
2862 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
2863 (description "Plack is a set of tools for using the PSGI stack. It
2864 contains middleware components, a reference server, and utilities for Web
2865 application frameworks. Plack is like Ruby's Rack or Python's Paste for
2867 (license l:perl-license)))
2869 (define-public perl-plack-middleware-fixmissingbodyinredirect
2871 (name "perl-plack-middleware-fixmissingbodyinredirect")
2876 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2877 "Plack-Middleware-FixMissingBodyInRedirect-"
2881 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
2882 (build-system perl-build-system)
2884 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
2885 ("perl-http-message" ,perl-http-message)
2886 ("perl-plack" ,perl-plack))) ;for Plack::Test
2888 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
2889 (synopsis "Plack::Middleware which sets body for redirect response")
2890 (description "This module sets the body in redirect response, if it's not
2892 (license l:perl-license)))
2894 (define-public perl-plack-middleware-methodoverride
2896 (name "perl-plack-middleware-methodoverride")
2901 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
2902 "Plack-Middleware-MethodOverride-"
2906 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
2907 (build-system perl-build-system)
2909 `(("perl-module-build" ,perl-module-build)))
2911 `(("perl-plack" ,perl-plack)))
2912 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
2913 (synopsis "Override REST methods to Plack apps via POST")
2914 (description "This middleware allows for POST requests that pretend to be
2915 something else: by adding either a header named X-HTTP-Method-Override to the
2916 request, or a query parameter named x-tunneled-method to the URI, the client
2917 can say what method it actually meant.")
2918 (license l:perl-license)))
2920 (define-public perl-plack-middleware-removeredundantbody
2922 (name "perl-plack-middleware-removeredundantbody")
2927 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2928 "Plack-Middleware-RemoveRedundantBody-"
2932 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
2933 (build-system perl-build-system)
2935 `(("perl-plack" ,perl-plack)))
2937 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
2938 (synopsis "Plack::Middleware which removes body for HTTP response")
2939 (description "This module removes the body in an HTTP response if it's not
2941 (license l:perl-license)))
2943 (define-public perl-plack-middleware-reverseproxy
2945 (name "perl-plack-middleware-reverseproxy")
2950 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2951 "Plack-Middleware-ReverseProxy-"
2955 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
2956 (build-system perl-build-system)
2958 `(("perl-plack" ,perl-plack)))
2959 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
2960 (synopsis "Supports app to run as a reverse proxy backend")
2961 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
2962 which are changed by reverse-proxy. You can specify the reverse proxy address
2963 and stop fake requests using 'enable_if' directive in your app.psgi.")
2964 (license l:perl-license)))
2966 (define-public perl-plack-test-externalserver
2968 (name "perl-plack-test-externalserver")
2973 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2974 "Plack-Test-ExternalServer-" version ".tar.gz"))
2977 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
2978 (build-system perl-build-system)
2980 `(("perl-plack" ,perl-plack)))
2981 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
2982 (synopsis "Run HTTP tests on external live servers")
2983 (description "This module allows your to run your Plack::Test tests
2984 against an external server instead of just against a local application through
2985 either mocked HTTP or a locally spawned server.")
2986 (license l:perl-license)))
2988 (define-public perl-test-tcp
2990 (name "perl-test-tcp")
2995 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
2996 "Test-TCP-" version ".tar.gz"))
2999 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
3000 (build-system perl-build-system)
3002 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3003 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3004 (home-page "http://search.cpan.org/dist/Test-TCP")
3005 (synopsis "Testing TCP programs")
3006 (description "Test::TCP is test utilities for TCP/IP programs.")
3007 (license l:perl-license)))
3009 (define-public perl-test-www-mechanize
3011 (name "perl-test-www-mechanize")
3016 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3017 "Test-WWW-Mechanize-" version ".tar.gz"))
3020 "062pj242vsc73bw11jqpap92ax9wzc9f2m4xhyp1wzrwkfchpl2q"))))
3021 (build-system perl-build-system)
3023 `(("perl-test-exception" ,perl-test-exception)))
3025 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3026 ("perl-html-form" ,perl-html-form)
3027 ("perl-html-lint" ,perl-html-lint)
3028 ("perl-html-tree" ,perl-html-tree)
3029 ("perl-http-server-simple" ,perl-http-server-simple)
3030 ("perl-libwww" ,perl-libwww)
3031 ("perl-test-longstring" ,perl-test-longstring)
3032 ("perl-www-mechanize" ,perl-www-mechanize)))
3033 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
3034 (synopsis "Testing-specific WWW::Mechanize subclass")
3035 (description "Test::WWW::Mechanize is a subclass of the Perl module
3036 WWW::Mechanize that incorporates features for web application testing.")
3037 (license l:artistic2.0)))
3039 (define-public perl-test-www-mechanize-catalyst
3041 (name "perl-test-www-mechanize-catalyst")
3046 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
3047 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3050 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
3051 (build-system perl-build-system)
3053 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3054 ("perl-catalyst-plugin-session-state-cookie"
3055 ,perl-catalyst-plugin-session-state-cookie)
3056 ("perl-test-exception" ,perl-test-exception)
3057 ("perl-test-pod" ,perl-test-pod)
3058 ("perl-test-utf8" ,perl-test-utf8)))
3060 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3061 ("perl-class-load" ,perl-class-load)
3062 ("perl-libwww" ,perl-libwww)
3063 ("perl-moose" ,perl-moose)
3064 ("perl-namespace-clean" ,perl-namespace-clean)
3065 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3066 ("perl-www-mechanize" ,perl-www-mechanize)))
3067 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
3068 (synopsis "Test::WWW::Mechanize for Catalyst")
3069 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3070 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3071 testing of Catalyst applications without needing to start up a web server.")
3072 (license l:perl-license)))
3074 (define-public perl-test-www-mechanize-psgi
3076 (name "perl-test-www-mechanize-psgi")
3081 (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
3082 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3085 "1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
3086 (build-system perl-build-system)
3088 `(("perl-test-pod" ,perl-test-pod)))
3090 `(("perl-plack" ,perl-plack)
3091 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3092 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
3093 (synopsis "Test PSGI programs using WWW::Mechanize")
3094 (description "PSGI is a specification to decouple web server environments
3095 from web application framework code. Test::WWW::Mechanize is a subclass of
3096 WWW::Mechanize that incorporates features for web application testing. The
3097 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3099 (license l:perl-license)))
3101 (define-public perl-uri
3107 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3108 "URI-" version ".tar.gz"))
3111 "05a1ck1bhvqkkk690xhsxf7276dnagk96qkh2jy4prrrgw6wm3lw"))))
3112 (build-system perl-build-system)
3113 (license l:perl-license)
3114 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3116 "The URI module implements the URI class. Objects of this class
3117 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3118 and updated by RFC 2732.")
3119 (home-page "http://search.cpan.org/dist/URI/")))
3121 (define-public perl-uri-fetch
3123 (name "perl-uri-fetch")
3127 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3128 "URI-Fetch-" version ".tar.gz"))
3131 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3132 (build-system perl-build-system)
3134 `(#:tests? #f)) ; Tests require internet connection to succeed
3136 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3137 ("perl-libwww" ,perl-libwww)
3138 ("perl-uri" ,perl-uri)))
3139 (home-page "http://search.cpan.org/dist/URI-Fetch")
3140 (synopsis "Smart URI fetching/caching")
3141 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3142 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3143 and time-saving way.")
3144 (license l:perl-license)))
3146 (define-public perl-uri-find
3148 (name "perl-uri-find")
3149 (version "20140709")
3153 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3154 "URI-Find-" version ".tar.gz"))
3157 "0czc4h182s7sx3k123m7qlg7yybnwxgh369hap3c3b6xgrglrhy0"))))
3158 (build-system perl-build-system)
3160 `(("perl-module-build" ,perl-module-build)))
3162 `(("perl-uri" ,perl-uri)))
3163 (home-page "http://search.cpan.org/dist/URI-Find")
3164 (synopsis "Find URIs in arbitrary text")
3165 (description "This module finds URIs and URLs (according to what URI.pm
3166 considers a URI) in plain text. It only finds URIs which include a
3167 scheme (http:// or the like), for something a bit less strict, consider
3168 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3169 (license l:perl-license)))
3171 (define-public perl-uri-ws
3173 (name "perl-uri-ws")
3178 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3179 "URI-ws-" version ".tar.gz"))
3182 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3183 (build-system perl-build-system)
3185 `(("perl-uri" ,perl-uri)))
3186 (home-page "http://search.cpan.org/dist/URI-ws")
3187 (synopsis "WebSocket support for URI package")
3188 (description "With this module, the URI package provides the same set of
3189 methods for WebSocket URIs as it does for HTTP URIs.")
3190 (license l:perl-license)))
3192 (define-public perl-uri-template
3194 (name "perl-uri-template")
3198 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3202 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3203 (build-system perl-build-system)
3205 `(("perl-uri" ,perl-uri)))
3207 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3208 ("perl-test-pod" ,perl-test-pod)
3209 ("perl-json" ,perl-json)))
3210 (home-page "http://search.cpan.org/dist/URI-Template")
3211 (synopsis "Object for handling URI templates")
3212 (description "This perl module provides a wrapper around URI templates as described in
3214 (license l:perl-license)))
3216 (define-public perl-www-curl
3218 (name "perl-www-curl")
3223 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3225 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3228 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3229 (build-system perl-build-system)
3231 '(#:tests? #f)) ;XXX: tests require network access
3232 (inputs `(("curl" ,curl)))
3233 (synopsis "Perl extension interface for libcurl")
3235 "This is a Perl extension interface for the libcurl file downloading
3237 (license l:perl-license)
3238 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3240 (define-public perl-www-mechanize
3242 (name "perl-www-mechanize")
3247 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3248 "WWW-Mechanize-" version ".tar.gz"))
3251 "1zrw8aadhwy48q51x2z2rqlkwf17bya4j4h3hy89mw783j96rmg9"))))
3252 (build-system perl-build-system)
3253 (native-inputs ;only for tests
3254 `(("perl-cgi" ,perl-cgi)))
3256 `(("perl-html-form" ,perl-html-form)
3257 ("perl-html-parser" ,perl-html-parser)
3258 ("perl-http-message" ,perl-http-message)
3259 ("perl-http-server-simple" ,perl-http-server-simple)
3260 ("perl-libwww" ,perl-libwww)
3261 ("perl-test-warn" ,perl-test-warn)
3262 ("perl-uri" ,perl-uri)))
3263 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3264 (synopsis "Web browsing in a Perl object")
3265 (description "WWW::Mechanize is a Perl module for stateful programmatic
3266 web browsing, used for automating interaction with websites.")
3267 (license l:perl-license)))
3269 (define-public perl-www-opensearch
3271 (name "perl-www-opensearch")
3275 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3276 "WWW-OpenSearch-" version ".tar.gz"))
3279 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3280 (build-system perl-build-system)
3282 `(#:tests? #f)) ; Tests require further modules to be packaged
3284 `(("perl-data-page" ,perl-data-page)
3285 ("perl-libwww" ,perl-libwww)
3286 ("perl-uri" ,perl-uri)
3287 ("perl-uri-template" ,perl-uri-template)
3288 ("perl-xml-feed" ,perl-xml-feed)
3289 ("perl-xml-libxml" ,perl-xml-libxml)))
3290 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3291 (synopsis "Search A9 OpenSearch compatible engines")
3293 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3294 http://opensearch.a9.com} compatible search engines.")
3295 (license l:perl-license)))
3297 (define-public perl-www-robotrules
3299 (name "perl-www-robotrules")
3304 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3308 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3309 (build-system perl-build-system)
3311 `(("perl-uri" ,perl-uri)))
3312 (license l:perl-license)
3313 (synopsis "Perl database of robots.txt-derived permissions")
3315 "The WWW::RobotRules module parses /robots.txt files as specified in
3316 \"A Standard for Robot Exclusion\", at
3317 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3318 /robots.txt file to forbid conforming robots from accessing parts of
3320 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3322 (define-public python-feedparser
3324 (name "python-feedparser")
3329 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3332 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3333 (build-system python-build-system)
3337 "https://github.com/kurtmckee/feedparser")
3338 (synopsis "Parse feeds in Python")
3340 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3341 CDF, Atom 0.3, and Atom 1.0 feeds.")
3342 (license (list l:bsd-2 ; source code
3343 l:freebsd-doc)))) ; documentation
3345 (define-public python2-feedparser
3346 (package-with-python2 python-feedparser))
3348 (define-public r-httpuv
3354 (uri (cran-uri "httpuv" version))
3357 "1sg4f223zfyd265b28rlhsn3b6mqflcpnmya98cjmjncmy9vjdj3"))))
3358 (build-system r-build-system)
3359 (native-inputs `(("r-rcpp" ,r-rcpp)))
3360 (home-page "https://github.com/rstudio/httpuv")
3361 (synopsis "HTTP and WebSocket server library for R")
3363 "The httpuv package provides low-level socket and protocol support for
3364 handling HTTP and WebSocket requests directly from within R. It is primarily
3365 intended as a building block for other packages, rather than making it
3366 particularly easy to create complete web applications using httpuv alone.")
3367 ;; This package includes third-party code that was originally released
3368 ;; under various non-copyleft licenses. Full licensing information can be
3369 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3372 (define-public r-jsonlite
3378 (uri (cran-uri "jsonlite" version))
3381 "00lfg464jhf7k01bal9pcjvbdf5cxk6xi2h46hccp1x3h883g434"))))
3382 (build-system r-build-system)
3383 (home-page "http://arxiv.org/abs/1403.2805")
3384 (synopsis "Robust, high performance JSON parser and generator for R")
3386 "The jsonlite package provides a fast JSON parser and generator optimized
3387 for statistical data and the web. It offers flexible, robust, high
3388 performance tools for working with JSON in R and is particularly powerful for
3389 building pipelines and interacting with a web API. In addition to converting
3390 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3391 and prettify JSON data. The unit tests included with the package verify that
3392 all edge cases are encoded and decoded consistently for use with dynamic data
3393 in systems and applications.")
3396 (define-public r-servr
3402 (uri (cran-uri "servr" version))
3405 "0sqz3wssxa19g9mpmf9s4gx2a5rvzl8nrd11qkgpz5v3iqsc6ysr"))))
3406 (build-system r-build-system)
3408 `(("r-httpuv" ,r-httpuv)
3409 ("r-jsonlite" ,r-jsonlite)
3410 ("r-mime" ,r-mime)))
3412 `(("r-rcpp" ,r-rcpp)))
3413 (home-page "https://github.com/yihui/servr")
3414 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3416 "Servr provides an HTTP server in R to serve static files, or dynamic
3417 documents that can be converted to HTML files (e.g., R Markdown) under a given
3421 (define-public r-htmltools
3423 (name "r-htmltools")
3427 (uri (cran-uri "htmltools" version))
3430 "18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4"))))
3431 (build-system r-build-system)
3434 (modify-phases %standard-phases
3435 ;; See https://github.com/rstudio/htmltools/pull/68
3436 ;; The resource files are in the store and have mode 444. After
3437 ;; copying the files R fails to remove them again because it doesn't
3438 ;; have write access to them.
3439 (add-after 'unpack 'copy-files-without-mode
3441 (substitute* "R/html_dependency.R"
3442 (("file.copy\\(from, to, " prefix)
3443 (string-append prefix
3444 "copy.mode = FALSE, ")))
3447 `(("r-digest" ,r-digest)
3448 ("r-rcpp" ,r-rcpp)))
3449 (home-page "http://cran.r-project.org/web/packages/htmltools")
3450 (synopsis "R tools for HTML")
3452 "This package provides tools for HTML generation and output in R.")
3455 (define-public r-htmlwidgets
3457 (name "r-htmlwidgets")
3461 (uri (cran-uri "htmlwidgets" version))
3464 "0plqkfqys1ca3ki7sb7yc6gwjpi7yy4g3mzh7hfy8s6qri0vam0i"))))
3465 (build-system r-build-system)
3467 `(("r-htmltools" ,r-htmltools)
3468 ("r-jsonlite" ,r-jsonlite)
3469 ("r-yaml" ,r-yaml)))
3470 (home-page "https://github.com/ramnathv/htmlwidgets")
3471 (synopsis "HTML Widgets for R")
3473 "HTML widgets is a framework for creating HTML widgets that render in
3474 various contexts including the R console, R Markdown documents, and Shiny web
3478 (define-public r-htmltable
3480 (name "r-htmltable")
3485 (uri (cran-uri "htmlTable" version))
3488 "0ciic1f4iczq14j81fg7kxibn65sy8z1zxkvk1yxnxxg6dzplj2v"))))
3489 (properties `((upstream-name . "htmlTable")))
3490 (build-system r-build-system)
3492 `(("r-checkmate" ,r-checkmate)
3493 ("r-htmlwidgets" ,r-htmlwidgets)
3494 ("r-knitr" ,r-knitr)
3495 ("r-magrittr" ,r-magrittr)
3496 ("r-stringr" ,r-stringr)))
3497 (home-page "http://gforge.se/packages/")
3498 (synopsis "Advanced tables for Markdown/HTML")
3500 "This package provides functions to build tables with advanced layout
3501 elements such as row spanners, column spanners, table spanners, zebra
3502 striping, and more. While allowing advanced layout, the underlying
3503 CSS-structure is simple in order to maximize compatibility with word
3504 processors such as LibreOffice. The package also contains a few text
3505 formatting functions that help outputting text compatible with HTML or
3509 (define-public r-curl
3515 (uri (cran-uri "curl" version))
3518 "0dgfl7wn4r8inv55xnk4ybf1y2x4qmi4cbr6phr3lfi1dnjm4hsm"))))
3519 (build-system r-build-system)
3522 (modify-phases %standard-phases
3523 ;; The environment variable CURL_CA_BUNDLE is only respected when
3524 ;; running Windows, so we disable the platform checks.
3525 ;; This can be removed once the libcurl has been patched.
3526 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3528 (substitute* "R/onload.R"
3529 (("if \\(!grepl\\(\"mingw\".*")
3531 (substitute* "src/handle.c"
3532 (("#ifdef _WIN32") "#if 1"))
3535 `(("libcurl" ,curl)))
3536 (home-page "https://github.com/jeroenooms/curl")
3537 (synopsis "HTTP client for R")
3539 "The @code{curl()} and @code{curl_download()} functions provide highly
3540 configurable drop-in replacements for base @code{url()} and
3541 @code{download.file()} with better performance, support for encryption, gzip
3542 compression, authentication, and other @code{libcurl} goodies. The core of
3543 the package implements a framework for performing fully customized requests
3544 where data can be processed either in memory, on disk, or streaming via the
3545 callback or connection interfaces.")
3548 (define-public r-hwriter
3555 (uri (cran-uri "hwriter" version))
3558 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
3559 (build-system r-build-system)
3560 (home-page "http://cran.r-project.org/web/packages/hwriter")
3561 (synopsis "Output R objects in HTML format")
3563 "This package provides easy-to-use and versatile functions to output R
3564 objects in HTML format.")
3565 (license l:lgpl2.1+)))
3567 (define-public r-rjson
3574 (uri (cran-uri "rjson" version))
3577 "1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
3578 (build-system r-build-system)
3579 (home-page "http://cran.r-project.org/web/packages/rjson")
3580 (synopsis "JSON library for R")
3582 "This package provides functions to convert R objects into JSON objects
3586 (define-public gumbo-parser
3588 (name "gumbo-parser")
3592 (uri (string-append "https://github.com/google/"
3593 "gumbo-parser/archive/v" version ".tar.gz"))
3594 (file-name (string-append name "-" version ".tar.gz"))
3597 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
3598 (build-system gnu-build-system)
3600 `(#:tests? #f ; tests require bundling googletest sources
3602 (modify-phases %standard-phases
3603 (add-after 'unpack 'bootstrap
3604 (lambda _ (zero? (system* "sh" "autogen.sh")))))))
3605 ;; The release tarball lacks the generated files.
3607 `(("autoconf" ,autoconf)
3608 ("automake" ,automake)
3609 ("libtool" ,libtool)))
3610 (home-page "https://github.com/google/gumbo-parser")
3611 (synopsis "HTML5 parsing library")
3613 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
3614 a pure C99 library.")
3615 (license l:asl2.0)))
3617 (define-public uwsgi
3623 (uri (string-append "http://projects.unbit.it/downloads/uwsgi-"
3627 "02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh"))))
3628 (build-system gnu-build-system)
3629 (outputs '("out" "python"))
3631 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
3632 ;; But there is no obvious way to run the real tests.
3635 (modify-phases %standard-phases
3637 ;; Configuration is done by writing an ini file.
3638 (lambda* (#:key outputs #:allow-other-keys)
3639 (let* ((out (assoc-ref outputs "out"))
3640 (bindir (string-append out "/bin"))
3641 (plugindir (string-append out "/lib/uwsgi")))
3642 ;; The build phase outputs files to these directories directly.
3645 ;; XXX: Enable other plugins.
3646 (call-with-output-file "buildconf/guix.ini"
3648 (format port "[uwsgi]
3654 plugins = cgi,python
3656 " bindir plugindir))))
3657 (setenv "PROFILE" "guix")
3660 ;; Move plugins into their own output.
3661 (lambda* (#:key outputs #:allow-other-keys)
3662 (let* ((out (assoc-ref outputs "out"))
3663 (plugindir (string-append out "/lib/uwsgi"))
3664 (python-plugin (string-append
3665 plugindir "/python_plugin.so")))
3666 (install-file python-plugin
3668 (assoc-ref outputs "python") "/lib/uwsgi"))
3669 (delete-file python-plugin)
3672 `(("pkg-config" ,pkg-config)
3673 ("python" ,python-wrapper)))
3675 `(("jansson" ,jansson)
3676 ("libxml2" ,libxml2)
3677 ("libyaml" ,libyaml)
3678 ("openssl" ,openssl)
3682 ("python" ,python)))
3683 (home-page "https://uwsgi-docs.readthedocs.org/")
3684 (synopsis "Application container server")
3686 "uWSGI presents a complete stack for networked/clustered web applications,
3687 implementing message/object passing, caching, RPC and process management.
3688 It uses the uwsgi protocol for all the networking/interprocess communications.")
3689 (license l:gpl2+))) ; with linking exception
3697 (uri (string-append "https://github.com/stedolan/" name
3698 "/releases/download/" name "-" version
3699 "/" name "-" version ".tar.gz"))
3702 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
3703 ;; This patch has been pushed and the vulnerability will be
3704 ;; fixed in the next release after 1.5.
3705 ;; https://github.com/stedolan/jq/issues/995
3706 (patches (search-patches "jq-CVE-2015-8863.patch"))))
3708 `(("oniguruma" ,oniguruma)))
3710 `(;; TODO fix gems to generate documentation
3712 ;;("bundler" ,bundler)
3713 ("valgrind" ,valgrind)))
3714 (build-system gnu-build-system)
3715 (home-page "http://stedolan.github.io/jq/")
3716 (synopsis "Command-line JSON processor")
3717 (description "jq is like sed for JSON data – you can use it to slice and
3718 filter and map and transform structured data with the same ease that sed, awk,
3719 grep and friends let you play with text. It is written in portable C. jq can
3720 mangle the data format that you have into the one that you want with very
3721 little effort, and the program to do so is often shorter and simpler than
3723 (license (list l:expat l:cc-by3.0))))
3725 (define-public uhttpmock
3732 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
3733 name "-" version ".tar.xz"))
3736 "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"))))
3737 (build-system glib-or-gtk-build-system)
3740 (modify-phases %standard-phases
3741 (add-before 'check 'use-empty-ssl-cert-file
3743 ;; Search for ca-certificates.crt files
3744 ;; during the check phase.
3745 (setenv "SSL_CERT_FILE" "/dev/null")
3748 `(("gobject-introspection" ,gobject-introspection)
3750 ("glib-networking" ,glib-networking)
3751 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3752 ("pkg-config" ,pkg-config)))
3754 `(("libsoup" ,libsoup)))
3755 (home-page "https://gitlab.com/groups/uhttpmock")
3756 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
3758 "Uhttpmock is a project for mocking web service APIs which use HTTP or
3759 HTTPS. It provides a library, libuhttpmock, which implements recording and
3760 playback of HTTP request/response traces.")
3761 (license l:lgpl2.1+)))
3766 (version "2012-05-31")
3770 "http://www.home.unix-ag.org/simon/woof-"
3774 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
3775 (build-system trivial-build-system)
3777 '(#:modules ((guix build utils))
3780 (use-modules (guix build utils))
3781 (let* ((source (assoc-ref %build-inputs "source"))
3782 (out (assoc-ref %outputs "out"))
3783 (bin (string-append out "/bin"))
3784 (python (assoc-ref %build-inputs "python")))
3786 (with-directory-excursion bin
3787 (copy-file source "woof")
3788 (patch-shebang "woof" (list (string-append python "/bin")))
3789 (chmod "woof" #o555))
3791 (inputs `(("python" ,python-2)))
3792 (home-page "http://www.home.unix-ag.org/simon/woof.html")
3793 (synopsis "Single file web server")
3794 (description "Woof (Web Offer One File) is a small simple web server that
3795 can easily be invoked on a single file. Your partner can access the file with
3796 tools they trust (e.g. wget).")
3799 (define netsurf-buildsystem
3801 (name "netsurf-buildsystem")
3806 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3807 "buildsystem-" version ".tar.gz"))
3810 "0wdgvasrjik1dgvvpqbppbpyfzkqd1v45x3g9rq7p67n773azinv"))))
3811 (build-system gnu-build-system)
3812 (inputs `(("perl" ,perl)))
3814 '(#:make-flags (list (string-append "PREFIX=" %output))
3815 #:tests? #f ;no tests
3816 #:phases (modify-phases %standard-phases
3819 (home-page "http://www.netsurf-browser.org")
3820 (synopsis "Build system for the Netsurf project")
3822 "This package provides the shared build system for Netsurf project
3826 (define netsurf-buildsystem-arguments
3827 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
3828 "CC=gcc" "BUILD_CC=gcc"
3829 ,(string-append "PREFIX=" %output)
3830 ,(string-append "NSSHARED="
3831 (assoc-ref %build-inputs
3832 "netsurf-buildsystem")
3833 "/share/netsurf-buildsystem"))
3834 #:test-target "test"
3835 #:phases (modify-phases %standard-phases
3836 (delete 'configure))))
3838 (define-public libparserutils
3840 (name "libparserutils")
3845 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3846 name "-" version "-src.tar.gz"))
3849 "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
3850 (build-system gnu-build-system)
3852 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3853 ("pkg-config" ,pkg-config)
3854 ("perl" ,perl))) ;for test harness
3855 (arguments netsurf-buildsystem-arguments)
3856 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
3857 (synopsis "Parser building library")
3859 "LibParserUtils is a library for building efficient parsers, written in
3860 C. It is developed as part of the NetSurf project.")
3863 (define-public hubbub
3870 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3871 "lib" name "-" version "-src.tar.gz"))
3874 "101781iw32p47386fxqr01nrkywi12w17ajh02k2vlga4z8zyv86"))
3875 (patches (search-patches "hubbub-sort-entities.patch"))))
3876 (build-system gnu-build-system)
3878 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3879 ("pkg-config" ,pkg-config)
3880 ("doxygen" ,doxygen)
3884 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
3885 (arguments netsurf-buildsystem-arguments)
3886 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
3887 (synopsis "HTML5 compliant parsing library")
3889 "Hubbub is an HTML5 compliant parsing library, written in C, which can
3890 parse both valid and invalid web content. It is developed as part of the
3894 (define-public libwapcaplet
3896 (name "libwapcaplet")
3901 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3902 name "-" version "-src.tar.gz"))
3905 "0cs1dd2afjgc3wf5gqg434hv6jdabrp9qvlpl4dp53nhkyfywna3"))))
3906 (build-system gnu-build-system)
3908 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3909 ("pkg-config" ,pkg-config)
3910 ("check" ,check))) ;for tests
3911 (arguments netsurf-buildsystem-arguments)
3912 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
3913 (synopsis "String internment library")
3915 "LibWapcaplet provides a reference counted string internment system
3916 designed to store small strings and allow rapid comparison of them. It is
3917 developed as part of the Netsurf project.")
3920 (define-public libcss
3927 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3928 name "-" version "-src.tar.gz"))
3931 "0qp4p1q1dwgdra4pkrzd081zjzisxkgwx650ijx323j8bj725daf"))))
3932 (build-system gnu-build-system)
3934 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3935 ("pkg-config" ,pkg-config)
3937 (propagated-inputs ;needed for libcss.pc
3938 `(("libparserutils" ,libparserutils)
3939 ("libwapcaplet" ,libwapcaplet)))
3940 (arguments netsurf-buildsystem-arguments)
3941 (home-page "http://www.netsurf-browser.org/projects/libcss/")
3942 (synopsis "CSS parser and selection library")
3944 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
3945 written in C. It is developed as part of the NetSurf project.")
3948 (define-public libdom
3955 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3956 name "-" version "-src.tar.gz"))
3959 "0qy7c8b229aiamyqqjgp6m1jlzc3fpl8s9dk33kxzkj70na8l7hv"))))
3960 (build-system gnu-build-system)
3962 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3963 ("pkg-config" ,pkg-config)
3964 ("perl" ,perl) ;for test harness
3965 ("perl-libxml" ,perl-libxml)
3966 ("perl-switch" ,perl-switch)
3967 ("perl-xml-xpath" ,perl-xml-xpath)))
3969 `(("libparserutils" ,libparserutils)
3970 ("libwapcaplet" ,libwapcaplet)))
3972 `(("expat" ,expat) ;needed for headers and linking
3973 ("hubbub" ,hubbub))) ;for libdom.pc
3975 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
3976 ,@netsurf-buildsystem-arguments))
3977 (home-page "http://www.netsurf-browser.org/projects/libdom/")
3978 (synopsis "Implementation of the W3C DOM")
3980 "LibDOM is an implementation of the W3C DOM, written in C. It is
3981 developed as part of the NetSurf project.")
3984 (define-public libsvgtiny
3991 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3992 name "-" version "-src.tar.gz"))
3995 "0w5hab9x1saz4lq2s9w47x1r64fbzcsl5bvdjph9c9dq68qv3f8a"))))
3996 (build-system gnu-build-system)
3998 `(("netsurf-buildsystem" ,netsurf-buildsystem)
3999 ("pkg-config" ,pkg-config)
4000 ("gperf" ,gperf-3.0)))
4002 `(("libwapcaplet" ,libwapcaplet)))
4004 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4005 (arguments netsurf-buildsystem-arguments)
4006 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4007 (synopsis "Library for parsing SVG files")
4009 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4010 which can be rendered easily, as defined in
4011 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4015 (define-public libnsbmp
4022 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4023 name "-" version "-src.tar.gz"))
4026 "0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
4027 (build-system gnu-build-system)
4029 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4030 (arguments netsurf-buildsystem-arguments)
4031 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4032 (synopsis "Decoding library for BMP and ICO files")
4034 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4035 written in C. It is developed as part of the NetSurf project.")
4038 (define-public libnsgif
4045 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4046 name "-" version "-src.tar.gz"))
4049 "1ldsyscsgqwc8g5481h9nqmwirpp1pp57hmss450hr0mqra26g0k"))))
4050 (build-system gnu-build-system)
4052 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4053 (arguments netsurf-buildsystem-arguments)
4054 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4055 (synopsis "Decoding library for GIF files")
4057 "Libnsgif is a decoding library for the GIF image file format, written in
4058 C. It is developed as part of the NetSurf project.")
4061 (define-public libnsutils
4068 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4069 name "-" version "-src.tar.gz"))
4072 "0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
4073 (build-system gnu-build-system)
4075 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4076 (arguments netsurf-buildsystem-arguments)
4077 (home-page "http://www.netsurf-browser.org/")
4078 (synopsis "Utility library for NetSurf")
4080 "Libnsutils provides a small number of useful utility routines. It is
4081 developed as part of the NetSurf project.")
4084 (define-public libnspsl
4091 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4092 name "-" version "-src.tar.gz"))
4095 "0x3frscrp9bzxlm9ama5laxjr3zi8cg20r8lhsamw4x4zyyk145y"))))
4096 (build-system gnu-build-system)
4098 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4099 (arguments netsurf-buildsystem-arguments)
4100 (home-page "http://www.netsurf-browser.org/")
4101 (synopsis "Library to generate a static Public Suffix List")
4103 "Libnspsl is a library to generate a static code representation of the
4104 Public Suffix List. It is developed as part of the NetSurf project.")
4107 (define-public nsgenbind
4114 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4115 name "-" version "-src.tar.gz"))
4118 "078gpbfcs96bgcba0ygha0ph9jzqr6ry5s3a8p6sl61px2908s66"))))
4119 (build-system gnu-build-system)
4121 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4125 (substitute-keyword-arguments netsurf-buildsystem-arguments
4126 ((#:make-flags flags)
4127 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4128 (home-page "http://www.netsurf-browser.org/")
4129 (synopsis "Generate JavaScript to DOM bindings")
4131 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4132 w3c webidl files and a binding configuration file.")
4135 (define-public netsurf
4142 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4143 "releases/source/netsurf-" version "-src.tar.gz"))
4146 "174sjx0566agckwmlj4w2cip5qbxdiafyhlp185a1qprxx84pbjr"))
4147 (patches (search-patches "netsurf-system-utf8proc.patch"
4148 "netsurf-y2038-tests.patch"
4149 "netsurf-longer-test-timeout.patch"))))
4150 (build-system glib-or-gtk-build-system)
4152 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4153 ("nsgenbind" ,nsgenbind)
4154 ("libidn" ,libidn) ;only for tests
4157 ("perl-html-parser" ,perl-html-parser)
4158 ("pkg-config" ,pkg-config)))
4162 ("openssl" ,openssl)
4163 ("utf8proc" ,utf8proc)
4165 ("libjpeg" ,libjpeg)
4168 ("libnsbmp" ,libnsbmp)
4169 ("libnsgif" ,libnsgif)
4170 ("libnspsl" ,libnspsl)
4171 ("libnsutils" ,libnsutils)
4172 ("libsvgtiny" ,libsvgtiny)
4173 ("miscfiles" ,miscfiles)))
4175 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4176 ,(string-append "PREFIX=" %output)
4177 ,(string-append "NSSHARED="
4178 (assoc-ref %build-inputs
4179 "netsurf-buildsystem")
4180 "/share/netsurf-buildsystem"))
4181 #:test-target "test"
4182 #:modules ((ice-9 rdelim)
4186 ,@%glib-or-gtk-build-system-modules)
4188 (modify-phases %standard-phases
4190 (add-after 'build 'adjust-welcome
4192 ;; First, fix some unended tags and simple substitutions
4193 (substitute* "frontends/gtk/res/welcome.html"
4194 (("<(img|input)([^>]*)>" _ tag contents)
4195 (string-append "<" tag contents " />"))
4196 (("Licence") "License") ;prefer GNU spelling
4197 ((" open source") ", free software")
4198 (("web site") "website")
4199 ;; Prefer privacy-respecting default search engine
4200 (("www.google.co.uk") "www.duckduckgo.com/html")
4201 (("Google Search") "DuckDuckGo Search")
4202 (("name=\"btnG\"") ""))
4203 ;; Remove default links so it doesn't seem we're endorsing them
4204 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4206 ;; Leave the DOCTYPE header as is
4207 (display (read-line in 'concat) out)
4209 (let rec ((sxml (xml->sxml in)))
4210 ;; We'd like to use sxml-match here, but it can't
4211 ;; match against generic tag symbols...
4213 (`(div (@ (class "links")) . ,rest)
4220 (add-before 'check 'patch-check
4221 (lambda* (#:key inputs #:allow-other-keys)
4222 (substitute* '("test/bloom.c" "test/hashtable.c")
4223 (("/usr/share/dict/words")
4224 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4226 (add-after 'install 'install-more
4227 (lambda* (#:key outputs #:allow-other-keys)
4228 (let* ((out (assoc-ref outputs "out"))
4229 (desktop (string-append out "/share/applications/"
4230 "netsurf.desktop")))
4231 (mkdir-p (dirname desktop))
4232 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4234 (substitute* desktop
4235 (("netsurf-gtk") (string-append out "/bin/netsurf"))
4236 (("netsurf.png") (string-append out "/share/netsurf/"
4238 (install-file "Docs/netsurf-gtk.1"
4239 (string-append out "/share/man/man1/"))
4241 (home-page "http://www.netsurf-browser.org")
4242 (synopsis "Web browser")
4244 "NetSurf is a lightweight web browser that has its own layout and
4245 rendering engine entirely written from scratch. It is small and capable of
4246 handling many of the web standards in use today.")
4249 (define-public surfraw
4255 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4256 name "-" version ".tar.gz"))
4259 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4260 (build-system gnu-build-system)
4263 (modify-phases %standard-phases
4264 (add-after 'install 'compress-elvi.1sr
4265 (lambda* (#:key outputs #:allow-other-keys)
4266 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4267 ;; but elvi.1sr does not get compressed by our manpage phase.
4268 (let* ((out (assoc-ref %outputs "out"))
4269 (man (string-append out "/share/man/man1")))
4270 (with-directory-excursion man
4271 (zero? (system* "gzip" "elvi.1sr")))))))))
4274 ("perl-www-opensearch" ,perl-www-opensearch)
4275 ("perl-html-parser" ,perl-html-parser)
4276 ("perl-libwww" ,perl-libwww)))
4277 (synopsis "Unix command line interface to the www")
4278 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4279 provides a unix command line interface to a variety of popular www search engines
4280 and similar services.")
4281 (home-page "https://surfraw.alioth.debian.org/")
4282 (license l:public-domain)))
4284 (define-public darkhttpd
4291 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4292 version ".tar.bz2"))
4295 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4296 (build-system gnu-build-system)
4298 `(#:make-flags '("CC=gcc")
4299 #:tests? #f ; No test suite
4301 (modify-phases %standard-phases
4304 (lambda* (#:key outputs #:allow-other-keys)
4305 (install-file "darkhttpd"
4306 (string-append (assoc-ref outputs "out")
4309 (synopsis "Simple static web server")
4310 (description "darkhttpd is a simple static web server. It is
4311 standalone and does not need inetd or ucspi-tcp. It does not need any
4312 config files---you only have to specify the www root.")
4313 (home-page "https://unix4lyfe.org/darkhttpd/")
4316 (define-public goaccess
4322 (uri (string-append "http://tar.goaccess.io/goaccess-"
4326 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4327 (modules '((guix build utils)))
4329 '(substitute* "src/error.h"
4330 (("__DATE__") "\"1970-01-01\"")
4331 (("__TIME__") "\"00:00:00\"")))))
4332 (build-system gnu-build-system)
4334 ;; TODO: Add dependency on geoip-tools.
4336 ("ncurses" ,ncurses)))
4338 `(("pkg-config" ,pkg-config)))
4339 (home-page "https://goaccess.io")
4340 (synopsis "Analyze Web server logs in real time")
4342 "GoAccess is a real-time web log analyzer and interactive viewer that
4343 runs in a terminal or through your browser. It provides fast and valuable
4344 HTTP statistics for system administrators that require a visual server report
4348 (define-public httptunnel
4355 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4356 name "-" version ".tar.gz"))
4359 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4360 (modules '((guix build utils)))
4362 ;; Remove non-free IETF RFC documentation.
4363 '(delete-file-recursively "doc"))))
4364 (build-system gnu-build-system)
4367 (modify-phases %standard-phases
4368 ;; The default configure phase tries to pass environment variables as
4369 ;; command-line arguments, which confuses the ./configure script.
4371 (lambda* (#:key outputs #:allow-other-keys)
4372 (let* ((out (assoc-ref outputs "out")))
4373 (setenv "CONFIG_SHELL" (which "bash"))
4374 (zero? (system* "./configure"
4375 (string-append "--prefix=" out)))))))))
4376 (home-page "http://www.nocrew.org/software/httptunnel.html")
4377 (synopsis "Tunnel data connections through HTTP requests")
4378 (description "httptunnel creates a bidirectional virtual data connection
4379 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4380 useful for users behind restrictive firewalls. As long as Web traffic is
4381 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4382 tools like SSH (Secure Shell) to reach the outside world.")
4385 (define-public stunnel
4392 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4396 "1vjdn32iw11zqsygwxbjmqgs4644dk3ql1h8ap890ls6a1x0i318"))))
4397 (build-system gnu-build-system)
4398 (inputs `(("openssl" ,openssl)))
4401 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))))
4402 (home-page "https://www.stunnel.org")
4403 (synopsis "TLS proxy for clients or servers")
4404 (description "Stunnel is a proxy designed to add TLS encryption
4405 functionality to existing clients and servers without any changes in the
4406 programs' code. Its architecture is optimized for security, portability, and
4407 scalability (including load-balancing), making it suitable for large
4411 (define-public xinetd
4418 (uri "https://github.com/xinetd-org/xinetd/archive/xinetd-2-3-15.tar.gz")
4419 (patches (search-patches "xinetd-CVE-2013-4342.patch" "xinetd-fix-fd-leak.patch"))
4422 "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
4423 (build-system gnu-build-system)
4425 `(#:configure-flags '("--with-loadavg")
4426 #:tests? #f )) ; no tests
4427 (home-page "https://github.com/xinetd-org/xinetd")
4428 (synopsis "Internet services daemon")
4429 (description "@code{xinetd}, a more secure replacement for @code{inetd},
4430 listens for incoming requests over a network and launches the appropriate
4431 service for that request. Requests are made using port numbers as identifiers
4432 and xinetd usually launches another daemon to handle the request. It can be
4433 used to start services with both privileged and non-privileged port numbers.")
4434 (license (l:fsf-free "file://COPYRIGHT"))))
4436 (define-public tidy-html
4443 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
4445 (file-name (string-append name "-" version ".tar.gz"))
4448 "0yhbgbjl45b4sjxwc394cjra6iy02q1pi66p28zy70lr6jvm9mx2"))))
4449 (build-system cmake-build-system)
4451 "static")) ; 1.0MiB of .a files
4453 `(#:tests? #f ; No tests available
4454 #:configure-flags (list "-DCMAKE_BUILD_TYPE=Release")
4456 (modify-phases %standard-phases
4457 (add-after 'install 'move-static-libraries
4458 (lambda* (#:key outputs #:allow-other-keys)
4459 ;; Move static libraries to the "static" output.
4460 (let* ((out (assoc-ref outputs "out"))
4461 (lib (string-append out "/lib"))
4462 (static (assoc-ref outputs "static"))
4463 (slib (string-append static "/lib")))
4465 (for-each (lambda (file)
4466 (install-file file slib)
4468 (find-files lib "\\.a$"))
4471 `(("libxslt" ,libxslt)))
4472 (home-page "http://www.html-tidy.org/")
4473 (synopsis "HTML Tidy with HTML5 support")
4475 "Tidy is a console application which corrects and cleans up
4476 HTML and XML documents by fixing markup errors and upgrading
4477 legacy code to modern standards.
4479 Tidy also provides @code{libtidy}, a C static and dynamic library that
4480 developers can integrate into their applications to make use of the
4481 functions of Tidy.")
4484 (define-public hiawatha
4491 (uri (string-append "https://www.hiawatha-webserver.org/files/"
4492 "hiawatha-" version ".tar.gz"))
4493 (modules '((guix build utils)))
4495 ;; We use our packaged mbedtls, so delete the included copy.
4496 '(delete-file-recursively "mbedtls"))
4499 "0m2llzm72s29c32abnj03532m85fawvi8ybjpx6s3mgvx2yvq3p4"))))
4500 (build-system cmake-build-system)
4502 `(#:tests? #f ; No tests included
4503 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
4504 (string-append "-DENABLE_TOMAHAWK=on")
4505 (string-append "-DWEBROOT_DIR="
4506 (assoc-ref %outputs "out")
4507 "/share/hiawatha/html"))
4509 (modify-phases %standard-phases
4510 (add-after 'install 'remove-empty-dirs
4511 (lambda* (#:key outputs #:allow-other-keys)
4512 (let* ((out (assoc-ref outputs "out")))
4513 ;; The directories in "var" are empty, remove them.
4514 (delete-file-recursively (string-append out "/var"))
4516 (add-after 'install 'wrap
4517 (lambda* (#:key inputs outputs #:allow-other-keys)
4518 ;; Make sure 'hiawatha' finds 'mbedtls'.
4519 (let* ((out (assoc-ref outputs "out"))
4520 (sbin (string-append out "/sbin"))
4521 (mbed (assoc-ref inputs "mbedtls-apache")))
4522 (wrap-program (string-append sbin "/hiawatha")
4523 `("PATH" ":" prefix (,mbed)))))))))
4525 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
4526 `(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
4528 ("libxslt" ,libxslt)
4529 ("libxml2" ,libxml2)))
4530 (home-page "https://www.hiawatha-webserver.org")
4531 (synopsis "Webserver with focus on security")
4533 "Hiawatha has been written with security in mind.
4534 Features include the ability to stop SQL injections, XSS and CSRF attacks and
4538 (define-public python-httpbin
4540 (name "python-httpbin")
4545 (uri (pypi-uri "httpbin" version))
4548 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
4549 (build-system python-build-system)
4551 `(("python-decorator" ,python-decorator)
4552 ("python-flask" ,python-flask)
4553 ("python-itsdangerous" ,python-itsdangerous)
4554 ("python-markupsafe" ,python-markupsafe)
4555 ("python-six" ,python-six)))
4556 (home-page "https://github.com/Runscope/httpbin")
4557 (synopsis "HTTP request and response service")
4558 (description "Testing an HTTP Library can become difficult sometimes.
4559 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
4560 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
4564 (define-public python2-httpbin
4565 (package-with-python2 python-httpbin))
4567 (define-public python-pytest-httpbin
4569 (name "python-pytest-httpbin")
4574 (uri (pypi-uri "pytest-httpbin" version))
4577 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
4578 (build-system python-build-system)
4580 `(("python-six" ,python-six)
4581 ("python-httpbin" ,python-httpbin)
4582 ("python-pytest" ,python-pytest)))
4584 "https://github.com/kevin1024/pytest-httpbin")
4586 "Test your HTTP library against a local copy of httpbin")
4588 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
4589 into your tests. It automatically starts up a HTTP server in a separate thread running
4590 @code{httpbin} and provides your test with the URL in the fixture.")
4593 (define-public python2-pytest-httpbin
4594 (package-with-python2 python-pytest-httpbin))
4596 (define-public http-parser
4598 (name "http-parser")
4602 (uri (string-append "https://github.com/nodejs/http-parser/"
4603 "archive/v" version ".tar.gz"))
4604 (file-name (string-append name "-" version ".tar.gz"))
4607 "1cw6nf8xy4jhib1w0jd2y0gpqjbdasg8b7pkl2k2vpp54k9rlh3h"))))
4608 (build-system gnu-build-system)
4610 `(#:test-target "test"
4612 (list (string-append "PREFIX="
4613 (assoc-ref %outputs "out"))
4616 (modify-phases %standard-phases
4617 (delete 'configure))))
4618 (home-page "https://github.com/nodejs/http-parser")
4619 (synopsis "HTTP request/response parser for C")
4620 (description "This is a parser for HTTP messages written in C. It parses
4621 both requests and responses. The parser is designed to be used in
4622 high-performance HTTP applications. It does not make any syscalls nor
4623 allocations, it does not buffer data, it can be interrupted at anytime.
4624 Depending on your architecture, it only requires about 40 bytes of data per
4625 message stream (in a web server that is per connection).")
4628 (define-public python2-httpretty
4630 (name "python2-httpretty")
4635 (uri (pypi-uri "httpretty" version))
4638 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
4639 (build-system python-build-system)
4641 `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
4642 ("python-sphinx" ,python2-sphinx)
4643 ("python-coverage" ,python2-coverage)
4644 ("python-tornado" ,python2-tornado)
4645 ("python-urllib3" ,python2-urllib3)
4646 ("python-sure" ,python2-sure)
4647 ("python-steadymark" ,python2-steadymark)
4648 ("python-requests" ,python2-requests)
4649 ("python-rednose" ,python2-rednose)
4650 ("python-nose-randomly" ,python2-nose-randomly)
4651 ("python-misaka" ,python2-misaka)
4652 ("python-pytest-httpbin" ,python2-pytest-httpbin)
4653 ("python-nose" ,python2-nose)))
4656 ;; Requires mock>=1.3.0 which requires a more up-to-date
4657 ;; python-pbr. After updating these trying to build the
4658 ;; package leads to failures in python-flake8 and other
4659 ;; packages. The cascade of updates and failures this
4660 ;; leads to, seems to not be worth having the test run.
4663 (modify-phases %standard-phases
4664 (add-before 'build 'patch-test-requirements
4665 (lambda* (#:key inputs #:allow-other-keys)
4666 ;; Update requirements from dependecy==version
4667 ;; to dependency>=version
4668 (substitute* "development.txt"
4671 (home-page "http://github.com/gabrielfalcao/httpretty")
4672 (synopsis "HTTP client mock for Python")
4673 (description "@code{httpretty} is a helper for faking web requests,
4674 inspired by Ruby's @code{fakeweb}.")
4684 (uri (string-append "https://github.com/jpmens/jo/releases/download/v"
4685 version "/jo-" version ".tar.gz"))
4688 "0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3"))))
4689 (build-system gnu-build-system)
4690 (home-page "https://github.com/jpmens/jo")
4691 (synopsis "Output JSON from a shell")
4692 (description "jo is a command-line utility to create JSON objects or
4693 arrays. It creates a JSON string on stdout from words provided as
4694 command-line arguments or read from stdin.")
4695 (license (list l:gpl2+
4696 l:expat)))) ; json.c, json.h
4698 (define-public python-internetarchive
4700 (name "python-internetarchive")
4705 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
4706 "v" version ".tar.gz"))
4707 (file-name (string-append name "-" version ".tar.gz"))
4710 "00v1489rv1ydcihwbdl7sqpcpmm98b9kqqlfggr32k0ndmv7ivas"))))
4711 (build-system python-build-system)
4713 `(#:tests? #f ; 11 tests of 105 fail to mock "requests".
4715 (modify-phases %standard-phases
4717 (add-after 'install 'check
4718 (lambda* (#:key inputs outputs target (tests? (not target)) #:allow-other-keys)
4721 (add-installed-pythonpath inputs outputs)
4722 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
4723 ":" (getenv "PATH")))
4724 (zero? (system* "py.test")))
4726 (format #t "test suite not run~%")
4729 `(("python-requests" ,python-requests)
4730 ("python-jsonpatch" ,python-jsonpatch-0.4)
4731 ("python-docopt" ,python-docopt)
4732 ("python-clint" ,python-clint)
4733 ("python-six" ,python-six)
4734 ("python-schema" ,python-schema-0.5)
4735 ("python-backports-csv" ,python-backports-csv)))
4737 `(("python-pytest-3.0" ,python-pytest-3.0)
4738 ("python-pytest-capturelog" ,python-pytest-capturelog)
4739 ("python-responses" ,python-responses)))
4740 (home-page "https://github.com/jjjake/internetarchive")
4741 (synopsis "Command-line interface to archive.org")
4742 (description "@code{ia} is a command-line tool for using
4743 @url{archive.org} from the command-line. It also emplements the
4744 internetarchive python module for programatic access to archive.org.")
4746 `((python2-variant . ,(delay python2-internetarchive))))
4747 (license l:agpl3+)))
4749 (define-public python2-internetarchive
4750 (package-with-python2
4751 (strip-python2-variant python-internetarchive)))
4753 (define-public r-shiny
4760 (uri (string-append "https://github.com/rstudio/shiny/"
4761 "archive/v" version ".tar.gz"))
4762 (file-name (string-append name "-" version ".tar.gz"))
4765 "0z2v2s4hd44mvzjn7r70549kdzkrrch9nxhp27r6x2cy6micizm3"))))
4766 (build-system r-build-system)
4768 `(#:modules ((guix build r-build-system)
4769 (guix build minify-build-system)
4772 #:imported-modules (,@%r-build-system-modules
4773 (guix build minify-build-system))
4775 (modify-phases (@ (guix build r-build-system) %standard-phases)
4776 (add-after 'unpack 'replace-bundled-minified-JavaScript
4777 (lambda* (#:key inputs #:allow-other-keys)
4778 (let ((replace-file (lambda (old new)
4779 (format #t "replacing ~a with ~a\n" old new)
4781 (symlink new old))))
4782 ;; NOTE: Files in ./inst/www/shared/datepicker/js/locales/
4783 ;; contain just data. They are not minified code, so we don't
4785 (with-directory-excursion "inst/www/shared"
4786 (replace-file "bootstrap/shim/respond.min.js"
4787 (string-append (assoc-ref inputs "js-respond")
4788 "/share/javascript/respond.min.js"))
4789 (replace-file "bootstrap/shim/html5shiv.min.js"
4790 (string-append (assoc-ref inputs "js-html5shiv")
4791 "/share/javascript/html5shiv.min.js"))
4792 (replace-file "json2-min.js"
4793 (string-append (assoc-ref inputs "js-json2")
4794 "/share/javascript/json2.min.js"))
4795 (replace-file "strftime/strftime-min.js"
4796 (string-append (assoc-ref inputs "js-strftime")
4797 "/share/javascript/strftime.min.js"))
4798 (replace-file "highlight/highlight.pack.js"
4799 (string-append (assoc-ref inputs "js-highlight")
4800 "/share/javascript/highlight.min.js"))
4801 (replace-file "datatables/js/jquery.dataTables.min.js"
4802 (string-append (assoc-ref inputs "js-datatables")
4803 "/share/javascript/jquery.dataTables.min.js"))
4804 (replace-file "selectize/js/selectize.min.js"
4805 (string-append (assoc-ref inputs "js-selectize")
4806 "/share/javascript/selectize.min.js"))
4807 (replace-file "selectize/js/es5-shim.min.js"
4808 (string-append (assoc-ref inputs "js-es5-shim")
4809 "/share/javascript/es5-shim.min.js"))
4810 (for-each (match-lambda
4812 (delete-file target)
4813 (minify source #:target target)))
4814 '(("jqueryui/jquery-ui.js" .
4815 "jqueryui/jquery-ui.min.js")
4816 ("showdown/src/showdown.js" .
4817 "showdown/compressed/showdown.js")
4818 ("datepicker/js/bootstrap-datepicker.js" .
4819 "datepicker/js/bootstrap-datepicker.min.js")
4820 ("ionrangeslider/js/ion.rangeSlider.js" .
4821 "ionrangeslider/js/ion.rangeSlider.min.js")
4822 ("bootstrap/js/bootstrap.js" .
4823 "bootstrap/js/bootstrap.min.js")
4827 "jquery.min.js")))))
4830 `(("r-httpuv" ,r-httpuv)
4832 ("r-jsonlite" ,r-jsonlite)
4833 ("r-xtable" ,r-xtable)
4834 ("r-digest" ,r-digest)
4835 ("r-htmltools" ,r-htmltools)
4837 ("r-sourcetools" ,r-sourcetools)))
4839 `(("js-datatables" ,js-datatables)
4840 ("js-html5shiv" ,js-html5shiv)
4841 ("js-json2" ,js-json2)
4842 ("js-respond" ,js-respond)
4843 ("js-selectize" ,js-selectize)
4844 ("js-strftime" ,js-strftime)
4845 ("js-highlight" ,js-highlight)
4846 ("js-es5-shim" ,js-es5-shim)))
4847 (home-page "http://shiny.rstudio.com")
4848 (synopsis "Easy interactive web applications with R")
4850 "Makes it incredibly easy to build interactive web applications
4851 with R. Automatic \"reactive\" binding between inputs and outputs and
4852 extensive prebuilt widgets make it possible to build beautiful,
4853 responsive, and powerful applications with minimal effort.")
4854 (license l:artistic2.0)))