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 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
7 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
8 ;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
9 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
10 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
11 ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
12 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
13 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
14 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
15 ;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
16 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
17 ;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
18 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
20 ;;; This file is part of GNU Guix.
22 ;;; GNU Guix is free software; you can redistribute it and/or modify it
23 ;;; under the terms of the GNU General Public License as published by
24 ;;; the Free Software Foundation; either version 3 of the License, or (at
25 ;;; your option) any later version.
27 ;;; GNU Guix is distributed in the hope that it will be useful, but
28 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
29 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 ;;; GNU General Public License for more details.
32 ;;; You should have received a copy of the GNU General Public License
33 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
35 (define-module (gnu packages web)
36 #:use-module (ice-9 match)
37 #:use-module ((guix licenses) #:prefix l:)
38 #:use-module (guix packages)
39 #:use-module (guix download)
40 #:use-module (guix git-download)
41 #:use-module (guix cvs-download)
42 #:use-module (guix utils)
43 #:use-module (guix build-system gnu)
44 #:use-module (guix build-system glib-or-gtk)
45 #:use-module (guix build-system perl)
46 #:use-module (guix build-system cmake)
47 #:use-module (guix build-system r)
48 #:use-module (guix build-system trivial)
49 #:use-module (guix build-system python)
50 #:use-module (gnu packages)
51 #:use-module (gnu packages apr)
52 #:use-module (gnu packages documentation)
53 #:use-module (gnu packages docbook)
54 #:use-module (gnu packages autotools)
55 #:use-module (gnu packages compression)
56 #:use-module (gnu packages cyrus-sasl)
57 #:use-module (gnu packages databases)
58 #:use-module (gnu packages bison)
59 #:use-module (gnu packages flex)
60 #:use-module (gnu packages mit-krb5)
61 #:use-module (gnu packages gd)
62 #:use-module (gnu packages gettext)
63 #:use-module (gnu packages glib)
64 #:use-module (gnu packages gnome)
65 #:use-module (gnu packages gperf)
66 #:use-module (gnu packages gtk)
67 #:use-module (gnu packages icu4c)
68 #:use-module (gnu packages image)
69 #:use-module (gnu packages lua)
70 #:use-module (gnu packages ncurses)
71 #:use-module (gnu packages base)
72 #:use-module (gnu packages perl)
73 #:use-module (gnu packages python)
74 #:use-module (gnu packages pcre)
75 #:use-module (gnu packages pkg-config)
76 #:use-module (gnu packages valgrind)
77 #:use-module (gnu packages xml)
78 #:use-module (gnu packages curl)
79 #:use-module (gnu packages perl)
80 #:use-module (gnu packages texinfo)
81 #:use-module (gnu packages textutils)
82 #:use-module (gnu packages tls)
83 #:use-module (gnu packages statistics))
91 (uri (string-append "mirror://apache/httpd/httpd-"
95 "0n2yx3gjlpr4kgqx845fj6amnmg25r2l6a7rzab5hxnpmar985hc"))))
96 (build-system gnu-build-system)
97 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
98 (inputs `(("apr" ,apr)
99 ("apr-util" ,apr-util)
101 ("perl" ,perl))) ; needed to run bin/apxs
103 `(#:test-target "test"
104 #:configure-flags (list "--enable-rewrite"
106 "--enable-vhost-alias"
108 "--enable-mime-magic"
109 (string-append "--sysconfdir="
110 (assoc-ref %outputs "out")
112 (synopsis "Featureful HTTP server")
114 "The Apache HTTP Server Project is a collaborative software development
115 effort aimed at creating a robust, commercial-grade, featureful, and
116 freely-available source code implementation of an HTTP (Web) server. The
117 project is jointly managed by a group of volunteers located around the world,
118 using the Internet and the Web to communicate, plan, and develop the server
119 and its related documentation.")
121 (home-page "https://httpd.apache.org/")))
129 (uri (string-append "https://nginx.org/download/nginx-"
133 "1gc5phrzm2hbpvryaya6rlvasa00vjips4hv5q1rqbcfa6xsnlri"))))
134 (build-system gnu-build-system)
135 (inputs `(("pcre" ,pcre)
139 `(#:tests? #f ; no test target
141 (modify-phases %standard-phases
142 (add-before 'configure 'patch-/bin/sh
144 (substitute* "auto/feature"
145 (("/bin/sh") (which "bash")))
148 (lambda* (#:key outputs #:allow-other-keys)
150 (list (string-append "--prefix=" (assoc-ref outputs "out"))
151 "--with-http_ssl_module"
154 ;; Even when not cross-building, we pass the
155 ;; --crossbuild option to avoid customizing for the
156 ;; kernel version on the build machine.
157 ,(let ((system "Linux") ; uname -s
158 (release "2.6.32") ; uname -r
160 (machine (match (or (%current-target-system)
162 ("x86_64-linux" "x86_64")
163 ("i686-linux" "i686")
164 ("mips64el-linux" "mips64")
165 ;; Prevent errors when querying
166 ;; this package on unsupported
167 ;; platforms, e.g. when running
168 ;; "guix package --search="
170 (string-append "--crossbuild="
171 system ":" release ":" machine)))))
173 (format #t "environment variable `CC' set to `gcc'~%")
174 (format #t "configure flags: ~s~%" flags)
175 (zero? (apply system* "./configure" flags)))))
176 (add-after 'install 'fix-root-dirs
177 (lambda* (#:key outputs #:allow-other-keys)
178 ;; 'make install' puts things in strange places, so we need to
179 ;; clean it up ourselves.
180 (let* ((out (assoc-ref outputs "out"))
181 (share (string-append out "/share/nginx")))
182 ;; This directory is empty, so get rid of it.
183 (rmdir (string-append out "/logs"))
184 ;; Example configuration and HTML files belong in
187 (rename-file (string-append out "/conf")
188 (string-append share "/conf"))
189 (rename-file (string-append out "/html")
190 (string-append share "/html"))))))))
191 (home-page "https://nginx.org")
192 (synopsis "HTTP and reverse proxy server")
194 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
195 created by Igor Sysoev. It can be used both as a standalone web server
196 and as a proxy to reduce the load on back-end HTTP or mail servers.")
197 ;; Almost all of nginx is distributed under the bsd-2 license.
198 ;; The exceptions are:
199 ;; * The 'nginx-http-push' module is covered by the expat license.
200 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
201 ;; except for two source files which are bsd-4 licensed.
202 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
204 (define-public starman
211 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
212 "Starman-" version ".tar.gz"))
215 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
216 (build-system perl-build-system)
218 `(("perl-libwww" ,perl-libwww)
219 ("perl-module-build-tiny" ,perl-module-build-tiny)
220 ("perl-test-requires" ,perl-test-requires)))
222 `(("perl-data-dump" ,perl-data-dump)
223 ("perl-http-date" ,perl-http-date)
224 ("perl-http-message" ,perl-http-message)
225 ("perl-http-parser-xs" ,perl-http-parser-xs)
226 ("perl-net-server" ,perl-net-server)
227 ("perl-plack" ,perl-plack)
228 ("perl-test-tcp" ,perl-test-tcp)))
229 (home-page "http://search.cpan.org/dist/Starman")
230 (synopsis "PSGI/Plack web server")
231 (description "Starman is a PSGI perl web server that has unique features
232 such as high performance, preforking, signal support, superdaemon awareness,
233 and UNIX socket support.")
234 (license (package-license perl))))
236 (define-public jansson
243 (string-append "http://www.digip.org/jansson/releases/jansson-"
247 "19fjgfwjfj99rqa3kf96x5rssj88siazggksgrikd6h4r9sd1l0a"))))
248 (build-system gnu-build-system)
249 (home-page "http://www.digip.org/jansson/")
250 (synopsis "JSON C library")
252 "Jansson is a C library for encoding, decoding and manipulating JSON
256 (define-public json-c
263 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
267 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
268 (modules '((guix build utils)))
271 ;; Somehow 'config.h.in' is older than
272 ;; 'aclocal.m4', which would trigger a rule to
274 (set-file-time "config.h.in"
277 ;; Don't try to build with -Werror.
278 (substitute* (find-files "." "Makefile\\.in")
279 (("-Werror") ""))))))
280 (build-system gnu-build-system)
281 (arguments '(#:parallel-build? #f
282 #:parallel-tests? #f))
283 (home-page "https://github.com/json-c/json-c/wiki")
284 (synopsis "JSON implementation in C")
286 "JSON-C implements a reference counting object model that allows you to
287 easily construct JSON objects in C, output them as JSON formatted strings and
288 parse JSON formatted strings back into the C representation of JSON objects.")
291 (define-public krona-tools
298 "https://github.com/marbl/Krona/releases/download/v"
299 version "/KronaTools-" version ".tar"))
302 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
303 (build-system perl-build-system)
306 (modify-phases %standard-phases
307 ;; There is no configure or build steps.
310 ;; Install script "install.pl" expects the build directory to remain
311 ;; after installation, creating symlinks etc., so re-implement it
314 (lambda* (#:key outputs #:allow-other-keys)
315 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
316 (perl (string-append (assoc-ref outputs "out")
317 "/lib/perl5/site_perl/krona-tools/lib")))
321 (let* ((executable (string-append "scripts/" script ".pl")))
322 ;; Prefix executables with 'kt' as install script does.
323 (copy-file executable (string-append bin "/kt" script))))
325 "GetContigMagnitudes"
335 "ImportMETAREP-BLAST"
340 "ImportRDPComparison"
346 (copy-recursively directory
347 (string-append perl "/../" directory)))
348 (list "data" "img" "taxonomy" "src"))
349 (install-file "lib/KronaTools.pm" perl))))
350 (add-after 'install 'wrap-program
351 (lambda* (#:key inputs outputs #:allow-other-keys)
352 (let* ((out (assoc-ref outputs "out"))
353 (path (getenv "PERL5LIB")))
356 (wrap-program executable
357 `("PERL5LIB" ":" prefix
358 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
359 (find-files (string-append out "/bin/") ".*")))))
361 (add-after 'wrap-program 'check
362 (lambda* (#:key inputs outputs #:allow-other-keys)
363 (with-directory-excursion "data"
364 (zero? (system* (string-append (assoc-ref outputs "out") "/bin/ktImportText")
368 (home-page "https://github.com/marbl/Krona/wiki")
369 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
371 "Krona is a flexible tool for exploring the relative proportions of
372 hierarchical data, such as metagenomic classifications, using a radial,
373 space-filling display. It is implemented using HTML5 and JavaScript, allowing
374 charts to be explored locally or served over the Internet, requiring only a
375 current version of any major web browser.")
378 (define-public rapidjson
385 "https://github.com/miloyip/rapidjson/archive/v"
387 (file-name (string-append name "-" version ".tar.gz"))
390 "0rl6s0vg5y1dhh9vfl1lqay3sxf69sxjh0czxrjmasn7ng91wwf3"))
391 (modules '((guix build utils)))
393 ;; Building with GCC 4.8 with -Werror was fine, but 4.9.3
394 ;; complains in new ways, so turn of -Werror.
395 '(substitute* (find-files "." "^CMakeLists\\.txt$")
397 (build-system cmake-build-system)
398 (home-page "https://github.com/miloyip/rapidjson")
399 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
401 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
405 (define-public libyajl
411 (uri (string-append "https://github.com/lloyd/yajl/"
412 "archive/" version ".tar.gz"))
413 (file-name (string-append name "-" version ".tar.gz"))
416 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
417 (build-system cmake-build-system)
418 (home-page "https://lloyd.github.io/yajl/")
419 (synopsis "C library for parsing JSON")
421 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
422 parser written in ANSI C and a small validating JSON generator.")
425 (define-public libwebsockets
427 (name "libwebsockets")
430 ;; The project does not publish tarballs, so we have to take
434 (url "git://git.libwebsockets.org/libwebsockets")
435 (commit (string-append "v" version
436 "-chrome37-firefox30"))))
439 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
440 (file-name (string-append name "-" version))))
442 (build-system cmake-build-system)
444 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
445 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
448 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
449 (inputs `(("zlib" ,zlib)
450 ("openssl" ,openssl)))
451 (synopsis "WebSockets library written in C")
453 "Libwebsockets is a library that allows C programs to establish client
454 and server WebSockets connections---a protocol layered above HTTP that allows
455 for efficient socket-like bidirectional reliable communication channels.")
456 (home-page "http://libwebsockets.org/")
458 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
459 (license l:lgpl2.1)))
461 (define-public libpsl
467 (uri (string-append "https://github.com/rockdaboot/libpsl/"
468 "releases/download/libpsl-" version
469 "/libpsl-" version ".tar.gz"))
472 "0wm9i3qshfdasd5s5nrdihl4f5c6zrd1nkqrqjnh7zhhv1an755m"))))
473 (build-system gnu-build-system)
476 ("python-2" ,python-2)))
477 (home-page "https://github.com/rockdaboot/libpsl")
478 (synopsis "C library for the Publix Suffix List")
480 "A \"public suffix\" is a domain name under which Internet users can
481 directly register own names.
483 Browsers and other web clients can use it to avoid privacy-leaking
484 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
485 highlighting parts of the domain in a user interface, and sorting domain lists
488 Libpsl has built-in PSL data for fast access, allows to load PSL data from
489 files, checks if a given domain is a public suffix, provides immediate cookie
490 domain verification, finds the longest public part of a given domain, finds
491 the shortest private part of a given domain, works with international
492 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
504 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
506 (revision "2009-12-23")))
509 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
510 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
511 (build-system gnu-build-system)
513 '(#:phases (modify-phases %standard-phases
514 (add-after 'unpack 'bootstrap
515 (lambda* (#:key inputs #:allow-other-keys)
516 ;; configure.in and Makefile.am aren't in the root of the
518 (copy-recursively "build/gnuauto" ".")
519 (setenv "AUTOMAKE" "automake --foreign")
520 (zero? (system* "autoreconf" "-vfi")))))))
522 `(("automake" ,automake)
523 ("autoconf" ,autoconf)
524 ("libtool" ,libtool)))
525 (synopsis "HTML validator and tidier")
526 (description "HTML Tidy is a command-line tool and C library that can be
527 used to validate and fix HTML data.")
528 (home-page "http://tidy.sourceforge.net/")
529 (license (l:x11-style "file:///include/tidy.h"))))
531 (define-public tinyproxy
537 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
538 "releases/download/" version "/tinyproxy-"
542 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
543 (build-system gnu-build-system)
547 ;; For the log file, etc.
548 "--localstatedir=/var")
552 (lambda* (#:key inputs #:allow-other-keys #:rest args)
553 ;; Uncommenting the next two lines may assist in debugging
554 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
555 ;; (setenv "XML_DEBUG_CATALOG" "1")
558 ;; All of the below are used to generate the documentation
559 ;; (Should they be propagated inputs of asciidoc ??)
560 (native-inputs `(("asciidoc" ,asciidoc)
562 ("docbook-xml" ,docbook-xml)
563 ("docbook-xsl" ,docbook-xsl)
564 ("libxslt" ,libxslt)))
565 (home-page "https://tinyproxy.github.io/")
566 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
567 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
568 daemon. Designed from the ground up to be fast and yet small, it is an ideal
569 solution for use cases such as embedded deployments where a full featured HTTP
570 proxy is required, but the system resources for a larger proxy are
574 (define-public polipo
582 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
586 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
587 (native-inputs `(("texinfo" ,texinfo)))
588 (build-system gnu-build-system)
590 `(#:phases (modify-phases %standard-phases
592 #:make-flags (let ((out (assoc-ref %outputs "out")))
593 (list (string-append "PREFIX=" out)
594 (string-append "LOCAL_ROOT="
595 out "/share/polipo/www")
597 ;; No 'check' target.
599 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
600 (synopsis "Small caching web proxy")
602 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
603 server). It was primarily designed to be used by one person or a small group
607 (define-public libyaml
615 "http://pyyaml.org/download/libyaml/yaml-"
617 (patches (search-patches "libyaml-CVE-2014-9130.patch"))
620 "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx"))))
621 (build-system gnu-build-system)
622 (home-page "http://pyyaml.org/wiki/LibYAML")
623 (synopsis "YAML 1.1 parser and emitter written in C")
625 "LibYAML is a YAML 1.1 parser and emitter written in C.")
628 (define-public libquvi-scripts
630 (name "libquvi-scripts")
636 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
637 name "/" name "-" version ".tar.xz"))
639 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
640 (build-system gnu-build-system)
641 (home-page "http://quvi.sourceforge.net/")
642 (synopsis "Media stream URL parser")
643 (description "This package contains support scripts called by libquvi to
644 parse media stream properties.")
645 (license l:lgpl2.1+)))
647 (define-public libquvi
655 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
656 name "-" version ".tar.xz"))
658 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
659 (build-system gnu-build-system)
660 (native-inputs `(("pkg-config" ,pkg-config)))
663 ("cyrus-sasl" ,cyrus-sasl)
664 ("libquvi-scripts" ,libquvi-scripts)
669 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
671 (let ((lua (assoc-ref %build-inputs "lua")))
673 (string-append "liblua_CFLAGS=-I" lua "/include")
674 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
675 (home-page "http://quvi.sourceforge.net/")
676 (synopsis "Media stream URL parser")
677 (description "libquvi is a library with a C API for parsing media stream
678 URLs and extracting their actual media files.")
679 (license l:lgpl2.1+)))
689 "mirror://sourceforge/" name "/" (version-major+minor version)
690 "/" name "/" name "-" version ".tar.xz"))
692 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
693 (build-system gnu-build-system)
694 (native-inputs `(("pkg-config" ,pkg-config)))
697 ("libquvi" ,libquvi)))
698 (home-page "http://quvi.sourceforge.net/")
699 (synopsis "Media stream URL parser")
700 (description "quvi is a command-line-tool suite to extract media files
701 from streaming URLs. It is a command-line wrapper for the libquvi library.")
702 (license l:lgpl2.1+)))
711 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
714 (base32 "14155g48gamcv5s0828bzij6vr14nqmbndwq8j8f9g6vcph0nl70"))
715 (patches (search-patches "serf-comment-style-fix.patch"
716 "serf-deflate-buckets-test-fix.patch"))
717 (patch-flags '("-p0"))))
718 (build-system gnu-build-system)
721 ("python" ,python-2)))
724 ("apr-util" ,apr-util)
725 ("openssl" ,openssl)))
727 `(;; TODO: Fix build with gss.
732 ;; TODO: Add scons-build-system and use it here.
733 (modify-phases %standard-phases
735 (add-after 'unpack 'scons-propagate-environment
737 ;; By design, SCons does not, by default, propagate
738 ;; environment variables to subprocesses. See:
739 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
740 ;; Here, we modify the SConstruct file to arrange for
741 ;; environment variables to be propagated.
742 (substitute* "SConstruct"
743 (("^env = Environment\\(")
744 "env = Environment(ENV=os.environ, "))))
746 (lambda* (#:key inputs outputs #:allow-other-keys)
747 (let ((out (assoc-ref outputs "out"))
748 (apr (assoc-ref inputs "apr"))
749 (apr-util (assoc-ref inputs "apr-util"))
750 (openssl (assoc-ref inputs "openssl"))
751 ;;(gss (assoc-ref inputs "gss"))
752 (zlib (assoc-ref inputs "zlib")))
753 (zero? (system* "scons"
754 (string-append "APR=" apr)
755 (string-append "APU=" apr-util)
756 (string-append "OPENSSL=" openssl)
757 ;;(string-append "GSSAPI=" gss)
758 (string-append "ZLIB=" zlib)
759 (string-append "PREFIX=" out))))))
760 (replace 'check (lambda _ (zero? (system* "scons" "check"))))
761 (replace 'install (lambda _ (zero? (system* "scons" "install")))))))
762 (home-page "https://serf.apache.org/")
763 (synopsis "High-performance asynchronous HTTP client library")
765 "serf is a C-based HTTP client library built upon the Apache Portable
766 Runtime (APR) library. It multiplexes connections, running the read/write
767 communication asynchronously. Memory copies and transformations are kept to a
768 minimum to provide high performance operation.")
769 ;; Most of the code is covered by the Apache License, Version 2.0, but the
770 ;; bundled CuTest framework uses a different non-copyleft license.
771 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
774 ;; libsass must be statically linked and it isn't included in the sassc
775 ;; release tarballs, hence this odd package recipe.
776 (let* ((version "3.2.5")
781 "https://github.com/sass/libsass/archive/"
783 (file-name (string-append "libsass-" version ".tar.gz"))
786 "1x25k6p1s1yzsdpzb7bzh8japilmi1mk3z96q66pycbinj9z9is4")))))
792 (uri (string-append "https://github.com/sass/sassc/archive/"
794 (file-name (string-append "sassc-" version ".tar.gz"))
797 "1xf3w75w840rj0nx375rxi7mcv1ngqqq8p3zrzjlyx8jfpnldmv5"))))
798 (build-system gnu-build-system)
800 `(#:make-flags '("CC=gcc")
803 (modify-phases %standard-phases
805 (add-after 'unpack 'unpack-libsass-and-set-path
806 (lambda* (#:key inputs #:allow-other-keys)
807 (and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass")))
809 (setenv "SASS_LIBSASS_PATH"
810 (string-append (getcwd) "/libsass-" ,version))
812 (replace 'install ; no install target
813 (lambda* (#:key outputs #:allow-other-keys)
814 (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
816 (copy-file "bin/sassc" (string-append bin "/sassc"))
819 `(("libsass" ,libsass)))
820 (synopsis "CSS pre-processor")
821 (description "SassC is a compiler written in C for the CSS pre-processor
822 language known as SASS.")
823 (home-page "http://sass-lang.com/libsass")
827 (define-public perl-apache-logformat-compiler
829 (name "perl-apache-logformat-compiler")
834 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
835 "Apache-LogFormat-Compiler-" version ".tar.gz"))
838 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
839 (build-system perl-build-system)
841 `(("perl-http-message" ,perl-http-message)
842 ("perl-module-build" ,perl-module-build)
843 ("perl-test-mocktime" ,perl-test-mocktime)
844 ("perl-try-tiny" ,perl-try-tiny)
845 ("perl-uri" ,perl-uri)))
847 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
848 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
849 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
850 (synopsis "Compile a log format string to perl-code")
851 (description "This module provides methods to compile a log format string
852 to perl-code, for faster generation of access_log lines.")
853 (license (package-license perl))))
855 (define-public perl-authen-sasl
857 (name "perl-authen-sasl")
862 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
863 "Authen-SASL-" version ".tar.gz"))
866 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
867 (build-system perl-build-system)
869 `(("perl-digest-hmac" ,perl-digest-hmac)
870 ("perl-gssapi" ,perl-gssapi)))
871 (home-page "http://search.cpan.org/dist/Authen-SASL")
872 (synopsis "SASL authentication framework")
873 (description "Authen::SASL provides an SASL authentication framework.")
874 (license (package-license perl))))
876 (define-public perl-catalyst-action-renderview
878 (name "perl-catalyst-action-renderview")
883 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
884 "Catalyst-Action-RenderView-"
888 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
889 (build-system perl-build-system)
891 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)))
893 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
894 ("perl-data-visitor" ,perl-data-visitor)
895 ("perl-mro-compat" ,perl-mro-compat)))
896 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
897 (synopsis "Sensible default Catalyst action")
898 (description "This Catalyst action implements a sensible default end
899 action, which will forward to the first available view.")
900 (license (package-license perl))))
902 (define-public perl-catalyst-action-rest
904 (name "perl-catalyst-action-rest")
908 (uri (string-append "mirror://cpan/authors/id/F/FR/FREW/"
909 "Catalyst-Action-REST-" version ".tar.gz"))
912 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
913 (build-system perl-build-system)
915 `(("perl-test-requires" ,perl-test-requires)))
917 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
918 ("perl-class-inspector" ,perl-class-inspector)
919 ("perl-config-general" ,perl-config-general)
920 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
921 ("perl-libwww" ,perl-libwww)
922 ("perl-moose" ,perl-moose)
923 ("perl-mro-compat" ,perl-mro-compat)
924 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
925 ("perl-params-validate" ,perl-params-validate)
926 ("perl-uri-find" ,perl-uri-find)
927 ("perl-xml-simple" ,perl-xml-simple)))
928 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
929 (synopsis "Automated REST Method Dispatching")
930 (description "This Action handles doing automatic method dispatching for
931 REST requests. It takes a normal Catalyst action, and changes the dispatch to
932 append an underscore and method name. First it will try dispatching to an
933 action with the generated name, and failing that it will try to dispatch to a
935 (license (package-license perl))))
937 (define-public perl-catalyst-authentication-store-dbix-class
939 (name "perl-catalyst-authentication-store-dbix-class")
944 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
945 "Catalyst-Authentication-Store-DBIx-Class-"
949 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
950 (build-system perl-build-system)
952 `(("perl-catalyst-plugin-authorization-roles"
953 ,perl-catalyst-plugin-authorization-roles)
954 ("perl-catalyst-plugin-session-state-cookie"
955 ,perl-catalyst-plugin-session-state-cookie)
956 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
957 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
959 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
960 ("perl-catalyst-plugin-authentication"
961 ,perl-catalyst-plugin-authentication)
962 ("perl-dbix-class" ,perl-dbix-class)
963 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
965 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
966 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
967 (description "The Catalyst::Authentication::Store::DBIx::Class class
968 provides access to authentication information stored in a database via
970 (license (package-license perl))))
972 (define-public perl-catalyst-component-instancepercontext
974 (name "perl-catalyst-component-instancepercontext")
979 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
980 "Catalyst-Component-InstancePerContext-"
984 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
985 (build-system perl-build-system)
987 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
988 ("perl-moose" ,perl-moose)))
990 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
991 (synopsis "Create only one instance of Moose component per context")
992 (description "Catalyst::Component::InstancePerContext returns a new
993 instance of a component on each request.")
994 (license (package-license perl))))
996 (define-public perl-catalyst-devel
998 (name "perl-catalyst-devel")
1003 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1004 "Catalyst-Devel-" version ".tar.gz"))
1007 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1008 (build-system perl-build-system)
1010 `(("perl-test-fatal" ,perl-test-fatal)))
1012 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1013 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1014 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1015 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1016 ("perl-config-general" ,perl-config-general)
1017 ("perl-file-changenotify" ,perl-file-changenotify)
1018 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1019 ("perl-file-sharedir" ,perl-file-sharedir)
1020 ("perl-module-install" ,perl-module-install)
1021 ("perl-moose" ,perl-moose)
1022 ("perl-moosex-emulate-class-accessor-fast"
1023 ,perl-moosex-emulate-class-accessor-fast)
1024 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1025 ("perl-namespace-clean" ,perl-namespace-clean)
1026 ("perl-path-class" ,perl-path-class)
1027 ("perl-template-toolkit" ,perl-template-toolkit)))
1028 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1029 (synopsis "Catalyst Development Tools")
1030 (description "The Catalyst-Devel distribution includes a variety of
1031 modules useful for the development of Catalyst applications, but not required
1032 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1033 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1034 extension for Catalyst; and requirements for a variety of development-related
1036 (license (package-license perl))))
1038 (define-public perl-catalyst-dispatchtype-regex
1040 (name "perl-catalyst-dispatchtype-regex")
1045 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1046 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1049 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1050 (build-system perl-build-system)
1052 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1053 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1054 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1056 `(("perl-moose" ,perl-moose)
1057 ("perl-text-simpletable" ,perl-text-simpletable)))
1058 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1059 (synopsis "Regex DispatchType for Catalyst")
1060 (description "Dispatch type managing path-matching behaviour using
1061 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1062 core. It is recommend that you use Chained methods or other techniques
1063 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1064 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1065 when the dispatch type is first seen in your application.")
1066 (license (package-license perl))))
1068 (define-public perl-catalyst-model-dbic-schema
1070 (name "perl-catalyst-model-dbic-schema")
1075 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1076 "Catalyst-Model-DBIC-Schema-"
1080 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1081 (build-system perl-build-system)
1083 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1084 ("perl-test-exception" ,perl-test-exception)
1085 ("perl-test-requires" ,perl-test-requires)))
1087 `(("perl-carp-clan" ,perl-carp-clan)
1088 ("perl-catalyst-component-instancepercontext"
1089 ,perl-catalyst-component-instancepercontext)
1090 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1091 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1092 ("perl-dbix-class" ,perl-dbix-class)
1093 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1094 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1095 ("perl-hash-merge" ,perl-hash-merge)
1096 ("perl-list-moreutils" ,perl-list-moreutils)
1097 ("perl-module-runtime" ,perl-module-runtime)
1098 ("perl-moose" ,perl-moose)
1099 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1100 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1101 ("perl-moosex-types" ,perl-moosex-types)
1102 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1103 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1104 ("perl-namespace-clean" ,perl-namespace-clean)
1105 ("perl-tie-ixhash" ,perl-tie-ixhash)
1106 ("perl-try-tiny" ,perl-try-tiny)))
1107 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1108 (synopsis "DBIx::Class::Schema Model Class")
1109 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1111 (license (package-license perl))))
1113 (define-public perl-catalyst-plugin-accesslog
1115 (name "perl-catalyst-plugin-accesslog")
1120 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1121 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1124 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1125 (build-system perl-build-system)
1127 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1128 ("perl-datetime" ,perl-datetime)
1129 ("perl-moose" ,perl-moose)
1130 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1131 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1132 (synopsis "Request logging from within Catalyst")
1133 (description "This Catalyst plugin enables you to create \"access logs\"
1134 from within a Catalyst application instead of requiring a webserver to do it
1135 for you. It will work even with Catalyst debug logging turned off.")
1136 (license (package-license perl))))
1138 (define-public perl-catalyst-plugin-authentication
1140 (name "perl-catalyst-plugin-authentication")
1145 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1146 "Catalyst-Plugin-Authentication-"
1150 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1151 (build-system perl-build-system)
1153 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1154 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1155 ("perl-class-inspector" ,perl-class-inspector)
1156 ("perl-moose" ,perl-moose)
1157 ("perl-moosex-emulate-class-accessor-fast"
1158 ,perl-moosex-emulate-class-accessor-fast)
1159 ("perl-mro-compat" ,perl-mro-compat)
1160 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1161 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1162 ("perl-test-exception" ,perl-test-exception)
1163 ("perl-try-tiny" ,perl-try-tiny)))
1164 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1165 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1166 (description "The authentication plugin provides generic user support for
1167 Catalyst apps. It is the basis for both authentication (checking the user is
1168 who they claim to be), and authorization (allowing the user to do what the
1169 system authorises them to do).")
1170 (license (package-license perl))))
1172 (define-public perl-catalyst-plugin-authorization-roles
1174 (name "perl-catalyst-plugin-authorization-roles")
1179 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1180 "Catalyst-Plugin-Authorization-Roles-"
1184 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1185 (build-system perl-build-system)
1187 `(("perl-test-exception" ,perl-test-exception)))
1189 `(("perl-catalyst-plugin-authentication"
1190 ,perl-catalyst-plugin-authentication)
1191 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1192 ("perl-set-object" ,perl-set-object)
1193 ("perl-universal-isa" ,perl-universal-isa)))
1195 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1196 (synopsis "Role-based authorization for Catalyst")
1197 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1198 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1199 (license (package-license perl))))
1201 (define-public perl-catalyst-plugin-captcha
1203 (name "perl-catalyst-plugin-captcha")
1208 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1209 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1212 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1213 (build-system perl-build-system)
1215 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1216 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1217 ("perl-gd-securityimage" ,perl-gd-securityimage)
1218 ("perl-http-date" ,perl-http-date)))
1219 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1220 (synopsis "Captchas for Catalyst")
1221 (description "This plugin creates and validates Captcha images for
1223 (license (package-license perl))))
1225 (define-public perl-catalyst-plugin-configloader
1227 (name "perl-catalyst-plugin-configloader")
1232 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1233 "Catalyst-Plugin-ConfigLoader-"
1237 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1238 (build-system perl-build-system)
1240 `(("perl-path-class" ,perl-path-class)))
1242 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1243 ("perl-config-any" ,perl-config-any)
1244 ("perl-data-visitor" ,perl-data-visitor)
1245 ("perl-mro-compat" ,perl-mro-compat)))
1246 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1247 (synopsis "Load config files of various types")
1248 (description "This module will attempt to load find and load configuration
1249 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1251 (license (package-license perl))))
1253 (define-public perl-catalyst-plugin-session
1255 (name "perl-catalyst-plugin-session")
1260 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1261 "Catalyst-Plugin-Session-" version ".tar.gz"))
1264 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
1265 (build-system perl-build-system)
1267 `(("perl-test-deep" ,perl-test-deep)
1268 ("perl-test-exception" ,perl-test-exception)))
1270 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1271 ("perl-moose" ,perl-moose)
1272 ("perl-moosex-emulate-class-accessor-fast"
1273 ,perl-moosex-emulate-class-accessor-fast)
1274 ("perl-mro-compat" ,perl-mro-compat)
1275 ("perl-namespace-clean" ,perl-namespace-clean)
1276 ("perl-object-signature" ,perl-object-signature)
1277 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1278 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1279 (synopsis "Catalyst generic session plugin")
1280 (description "This plugin links the two pieces required for session
1281 management in web applications together: the state, and the store.")
1282 (license (package-license perl))))
1284 (define-public perl-catalyst-plugin-session-state-cookie
1286 (name "perl-catalyst-plugin-session-state-cookie")
1291 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1292 "Catalyst-Plugin-Session-State-Cookie-"
1296 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1297 (build-system perl-build-system)
1299 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1300 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1301 ("perl-moose" ,perl-moose)
1302 ("perl-mro-compat" ,perl-mro-compat)
1303 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1305 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1306 (synopsis "Maintain session IDs using cookies")
1307 (description "In order for Catalyst::Plugin::Session to work, the session
1308 ID needs to be stored on the client, and the session data needs to be stored
1309 on the server. This plugin stores the session ID on the client using the
1311 (license (package-license perl))))
1313 (define-public perl-catalyst-plugin-session-store-fastmmap
1315 (name "perl-catalyst-plugin-session-store-fastmmap")
1320 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1321 "Catalyst-Plugin-Session-Store-FastMmap-"
1325 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1326 (build-system perl-build-system)
1328 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1329 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1330 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1331 ("perl-moosex-emulate-class-accessor-fast"
1332 ,perl-moosex-emulate-class-accessor-fast)
1333 ("perl-mro-compat" ,perl-mro-compat)
1334 ("perl-path-class" ,perl-path-class)))
1336 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
1337 (synopsis "FastMmap session storage backend")
1338 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1339 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1340 memory interprocess cache. It is based on Cache::FastMmap.")
1341 (license (package-license perl))))
1343 (define-public perl-catalyst-plugin-stacktrace
1345 (name "perl-catalyst-plugin-stacktrace")
1350 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1351 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1354 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1355 (build-system perl-build-system)
1357 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1358 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1359 ("perl-mro-compat" ,perl-mro-compat)))
1360 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1361 (synopsis "Stack trace on the Catalyst debug screen")
1362 (description "This plugin enhances the standard Catalyst debug screen by
1363 including a stack trace of your application up to the point where the error
1364 occurred. Each stack frame is displayed along with the package name, line
1365 number, file name, and code context surrounding the line number.")
1366 (license (package-license perl))))
1368 (define-public perl-catalyst-plugin-static-simple
1370 (name "perl-catalyst-plugin-static-simple")
1375 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1376 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1379 "1h8f12bhzh0ssq9gs8r9g3hqn8zn2k0q944vc1vm8j81bns16msy"))))
1380 (build-system perl-build-system)
1382 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1383 ("perl-mime-types" ,perl-mime-types)
1384 ("perl-moose" ,perl-moose)
1385 ("perl-moosex-types" ,perl-moosex-types)
1386 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1387 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1388 (synopsis "Simple serving of static pages")
1389 (description "The Static::Simple plugin is designed to make serving static
1390 content in your application during development quick and easy, without
1391 requiring a single line of code from you. This plugin detects static files by
1392 looking at the file extension in the URL (such as .css or .png or .js). The
1393 plugin uses the lightweight MIME::Types module to map file extensions to
1394 IANA-registered MIME types, and will serve your static files with the correct
1395 MIME type directly to the browser, without being processed through Catalyst.")
1396 (license (package-license perl))))
1398 (define-public perl-catalyst-runtime
1400 (name "perl-catalyst-runtime")
1405 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1406 "Catalyst-Runtime-" version ".tar.gz"))
1409 "1gs70nq4rikpq6siwds9disb1z03vwjzf979xi9kf7saa1drfncs"))))
1410 (build-system perl-build-system)
1412 `(("perl-test-fatal" ,perl-test-fatal)))
1414 `(("perl-cgi-simple" ,perl-cgi-simple)
1415 ("perl-cgi-struct" ,perl-cgi-struct)
1416 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1417 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1418 ("perl-class-date" ,perl-class-date)
1419 ("perl-class-load" ,perl-class-load)
1420 ("perl-data-dump" ,perl-data-dump)
1421 ("perl-http-body" ,perl-http-body)
1422 ("perl-http-message" ,perl-http-message)
1423 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1424 ("perl-io-stringy" ,perl-io-stringy)
1425 ("perl-json-maybexs" ,perl-json-maybexs)
1426 ("perl-libwww" ,perl-libwww)
1427 ("perl-module-pluggable" ,perl-module-pluggable)
1428 ("perl-moose" ,perl-moose)
1429 ("perl-moosex-emulate-class-accessor-fast"
1430 ,perl-moosex-emulate-class-accessor-fast)
1431 ("perl-moosex-getopt" ,perl-moosex-getopt)
1432 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1433 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1434 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1435 ("perl-namespace-clean" ,perl-namespace-clean)
1436 ("perl-path-class" ,perl-path-class)
1437 ("perl-plack" ,perl-plack)
1438 ("perl-plack-middleware-fixmissingbodyinredirect"
1439 ,perl-plack-middleware-fixmissingbodyinredirect)
1440 ("perl-plack-middleware-methodoverride"
1441 ,perl-plack-middleware-methodoverride)
1442 ("perl-plack-middleware-removeredundantbody"
1443 ,perl-plack-middleware-removeredundantbody)
1444 ("perl-plack-middleware-reverseproxy"
1445 ,perl-plack-middleware-reverseproxy)
1446 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1447 ("perl-safe-isa" ,perl-safe-isa)
1448 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1449 ("perl-text-simpletable" ,perl-text-simpletable)
1450 ("perl-tree-simple" ,perl-tree-simple)
1451 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1452 ("perl-try-tiny" ,perl-try-tiny)
1453 ("perl-uri" ,perl-uri)
1454 ("perl-uri-ws" ,perl-uri-ws)))
1455 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1456 (synopsis "The Catalyst Framework Runtime")
1457 (description "Catalyst is a modern framework for making web applications.
1458 It is designed to make it easy to manage the various tasks you need to do to
1459 run an application on the web, either by doing them itself, or by letting you
1460 \"plug in\" existing Perl modules that do what you need.")
1461 (license (package-license perl))))
1463 (define-public perl-catalyst-traitfor-request-proxybase
1465 (name "perl-catalyst-traitfor-request-proxybase")
1466 (version "0.000005")
1470 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1471 "Catalyst-TraitFor-Request-ProxyBase-"
1475 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1476 (build-system perl-build-system)
1478 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1479 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1480 ("perl-http-message" ,perl-http-message)))
1482 `(("perl-moose" ,perl-moose)
1483 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1484 ("perl-uri" ,perl-uri)))
1486 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1487 (synopsis "Replace request base with value passed by HTTP proxy")
1488 (description "This module is a Moose::Role which allows you more
1489 flexibility in your application's deployment configurations when deployed
1490 behind a proxy. Using this module, the request base ($c->req->base) is
1491 replaced with the contents of the X-Request-Base header.")
1492 (license (package-license perl))))
1494 (define-public perl-catalyst-view-download
1496 (name "perl-catalyst-view-download")
1501 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1502 "Catalyst-View-Download-" version ".tar.gz"))
1505 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1506 (build-system perl-build-system)
1508 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1509 ("perl-test-simple" ,perl-test-simple)
1510 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1511 ("perl-text-csv" ,perl-text-csv)
1512 ("perl-xml-simple" ,perl-xml-simple)))
1513 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1514 (synopsis "Download data in many formats")
1515 (description "The purpose of this module is to provide a method for
1516 downloading data into many supportable formats. For example, downloading a
1517 table based report in a variety of formats (CSV, HTML, etc.).")
1518 (license (package-license perl))))
1520 (define-public perl-catalyst-view-json
1522 (name "perl-catalyst-view-json")
1527 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1528 "Catalyst-View-JSON-" version ".tar.gz"))
1531 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
1532 (build-system perl-build-system)
1534 `(("perl-yaml" ,perl-yaml)))
1536 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1537 ("perl-json-maybexs" ,perl-json-maybexs)
1538 ("perl-mro-compat" ,perl-mro-compat)))
1539 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1540 (synopsis "Catalyst JSON view")
1541 (description "Catalyst::View::JSON is a Catalyst View handler that returns
1542 stash data in JSON format.")
1543 (license (package-license perl))))
1545 (define-public perl-catalyst-view-tt
1547 (name "perl-catalyst-view-tt")
1552 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1553 "Catalyst-View-TT-" version ".tar.gz"))
1556 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
1557 (build-system perl-build-system)
1559 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1560 ("perl-class-accessor" ,perl-class-accessor)
1561 ("perl-data-dump" ,perl-data-dump)
1562 ("perl-mro-compat" ,perl-mro-compat)
1563 ("perl-path-class" ,perl-path-class)
1564 ("perl-template-timer" ,perl-template-timer)
1565 ("perl-template-toolkit" ,perl-template-toolkit)))
1566 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
1567 (synopsis "Template View Class")
1568 (description "This module is a Catalyst view class for the Template
1570 (license (package-license perl))))
1572 (define-public perl-catalystx-component-traits
1574 (name "perl-catalystx-component-traits")
1579 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
1580 "CatalystX-Component-Traits-" version ".tar.gz"))
1583 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
1584 (build-system perl-build-system)
1586 `(("perl-moose" ,perl-moose)
1587 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1588 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
1590 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1591 ("perl-class-load" ,perl-class-load)
1592 ("perl-moose" ,perl-moose)
1593 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
1594 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1595 ("perl-list-moreutils" ,perl-list-moreutils)))
1596 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
1597 (synopsis "Trait Loading and Resolution for Catalyst Components")
1598 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
1599 Catalyst component base class that reads the optional \"traits\" parameter
1600 from app and component config and instantiates the component subclass with
1601 those traits using \"new_with_traits\" in MooseX::Traits from
1602 MooseX::Traits::Pluggable.")
1603 (license (package-license perl))))
1605 (define-public perl-catalystx-roleapplicator
1607 (name "perl-catalystx-roleapplicator")
1612 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
1613 "CatalystX-RoleApplicator-" version ".tar.gz"))
1616 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
1617 (build-system perl-build-system)
1619 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1620 ("perl-moose" ,perl-moose)
1621 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
1622 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
1623 (synopsis "Apply roles to Catalyst classes")
1624 (description "CatalystX::RoleApplicator applies roles to Catalyst
1625 application classes.")
1626 (license (package-license perl))))
1628 (define-public perl-catalystx-script-server-starman
1630 (name "perl-catalystx-script-server-starman")
1635 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
1636 "CatalystX-Script-Server-Starman-"
1640 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
1641 (build-system perl-build-system)
1643 `(("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1645 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1646 ("perl-moose" ,perl-moose)
1647 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1648 ("starman" ,starman)))
1649 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
1650 (synopsis "Catalyst development server with Starman")
1651 (description "This module provides a Catalyst extension to replace the
1652 development server with Starman.")
1653 (license (package-license perl))))
1655 (define-public perl-cgi
1662 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
1663 "CGI-" version ".tar.gz"))
1666 "07gwnlc7vq58fjwmfsrv0hfyirqqdrpjhf89caq34rjrkz2wsd0b"))))
1667 (build-system perl-build-system)
1669 `(("perl-test-deep" ,perl-test-deep)
1670 ("perl-test-nowarnings" ,perl-test-nowarnings)
1671 ("perl-test-warn" ,perl-test-warn)))
1673 `(("perl-html-parser" ,perl-html-parser)))
1674 (home-page "http://search.cpan.org/dist/CGI")
1675 (synopsis "Handle Common Gateway Interface requests and responses")
1676 (description "CGI.pm is a stable, complete and mature solution for
1677 processing and preparing HTTP requests and responses. Major features include
1678 processing form submissions, file uploads, reading and writing cookies, query
1679 string generation and manipulation, and processing and preparing HTTP
1681 (license (package-license perl))))
1683 (define-public perl-cgi-simple
1685 (name "perl-cgi-simple")
1690 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
1691 "CGI-Simple-" version ".tar.gz"))
1694 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
1695 (build-system perl-build-system)
1697 `(("perl-module-build" ,perl-module-build)
1698 ("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
1699 (home-page "http://search.cpan.org/dist/CGI-Simple")
1700 (synopsis "CGI interface that is CGI.pm compliant")
1701 (description "CGI::Simple provides a relatively lightweight drop in
1702 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
1703 parameter parsing, file upload, cookie handling and header generation.")
1704 (license (package-license perl))))
1706 (define-public perl-cgi-struct
1708 (name "perl-cgi-struct")
1713 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
1714 "CGI-Struct-" version ".tar.gz"))
1717 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
1718 (build-system perl-build-system)
1720 `(("perl-test-deep" ,perl-test-deep)))
1721 (home-page "http://search.cpan.org/dist/CGI-Struct")
1722 (synopsis "Build structures from CGI data")
1723 (description "This is a module for building structured data from CGI
1724 inputs, in a manner reminiscent of how PHP does.")
1727 (define-public perl-datetime-format-http
1729 (name "perl-datetime-format-http")
1734 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
1735 "DateTime-Format-HTTP-" version ".tar.gz"))
1738 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
1739 (build-system perl-build-system)
1741 `(("perl-module-build" ,perl-module-build)))
1743 `(("perl-datetime" ,perl-datetime)
1744 ("perl-http-date" ,perl-http-date)))
1745 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
1746 (synopsis "Date conversion routines")
1747 (description "This module provides functions that deal with the date
1748 formats used by the HTTP protocol.")
1749 (license (package-license perl))))
1751 (define-public perl-digest-md5-file
1753 (name "perl-digest-md5-file")
1758 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
1759 "Digest-MD5-File-" version ".tar.gz"))
1762 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
1763 (build-system perl-build-system)
1765 `(("perl-libwww" ,perl-libwww)))
1766 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
1767 (synopsis "MD5 sums for files and urls")
1768 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
1769 for files and urls.")
1770 (license (package-license perl))))
1772 (define-public perl-encode-locale
1774 (name "perl-encode-locale")
1779 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
1783 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
1784 (build-system perl-build-system)
1785 (license (package-license perl))
1786 (synopsis "Perl locale encoding determination")
1788 "The POSIX locale system is used to specify both the language
1789 conventions requested by the user and the preferred character set to
1790 consume and output. The Encode::Locale module looks up the charset and
1791 encoding (called a CODESET in the locale jargon) and arranges for the
1792 Encode module to know this encoding under the name \"locale\". It means
1793 bytes obtained from the environment can be converted to Unicode strings
1794 by calling Encode::encode(locale => $bytes) and converted back again
1795 with Encode::decode(locale => $string).")
1796 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
1798 (define-public perl-feed-find
1800 (name "perl-feed-find")
1804 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
1805 "Feed-Find-" version ".tar.gz"))
1808 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
1809 (build-system perl-build-system)
1811 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
1814 `(("perl-class-errorhandler" ,perl-class-errorhandler)
1815 ("perl-html-parser" ,perl-html-parser)
1816 ("perl-libwww" ,perl-libwww)
1817 ("perl-uri" ,perl-uri)))
1818 (home-page "http://search.cpan.org/dist/Feed-Find")
1819 (synopsis "Syndication feed auto-discovery")
1820 (description "@code{Feed::Find} implements feed auto-discovery for finding
1821 syndication feeds, given a URI. It will discover the following feed formats:
1822 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
1823 (license (package-license perl))))
1825 (define-public perl-file-listing
1827 (name "perl-file-listing")
1832 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
1836 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
1837 (build-system perl-build-system)
1839 `(("perl-http-date" ,perl-http-date)))
1840 (license (package-license perl))
1841 (synopsis "Perl directory listing parser")
1843 "The File::Listing module exports a single function called parse_dir(),
1844 which can be used to parse directory listings.")
1845 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
1847 (define-public perl-finance-quote
1849 (name "perl-finance-quote")
1854 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
1855 "Finance-Quote-" version ".tar.gz"))
1858 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
1859 (patches (search-patches
1860 "perl-finance-quote-unuse-mozilla-ca.patch"))))
1861 (build-system perl-build-system)
1863 `(("perl-cgi" ,perl-cgi)
1864 ("perl-datetime" ,perl-datetime)
1865 ("perl-html-parser" ,perl-html-parser)
1866 ("perl-html-tableextract" ,perl-html-tableextract)
1867 ("perl-html-tree" ,perl-html-tree)
1868 ("perl-http-cookies" ,perl-http-cookies)
1869 ("perl-http-message" ,perl-http-message)
1870 ("perl-json" ,perl-json)
1871 ("perl-libwww" ,perl-libwww)
1872 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
1873 ("perl-uri" ,perl-uri)))
1874 (home-page "http://search.cpan.org/dist/Finance-Quote")
1875 (synopsis "Stock and mutual fund quotes")
1877 "Finance::Quote gets stock quotes from various internet sources, including
1878 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
1881 (define-public perl-gssapi
1883 (name "perl-gssapi")
1888 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
1889 "GSSAPI-" version ".tar.gz"))
1892 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
1893 (build-system perl-build-system)
1894 (inputs `(("gssapi" ,mit-krb5)))
1896 `(#:make-maker-flags
1897 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
1898 (home-page "http://search.cpan.org/dist/GSSAPI")
1899 (synopsis "Perl extension providing access to the GSSAPIv2 library")
1900 (description "This is a Perl extension for using GSSAPI C bindings as
1901 described in RFC 2744.")
1902 (license (package-license perl))))
1904 (define-public perl-html-element-extended
1906 (name "perl-html-element-extended")
1911 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
1912 "HTML-Element-Extended-" version ".tar.gz"))
1915 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
1916 (build-system perl-build-system)
1918 `(("perl-html-tree" ,perl-html-tree)))
1919 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
1920 (synopsis "Manipulate tables of HTML::Element")
1922 "HTML::Element::Extended is a Perl extension for manipulating a table
1923 composed of HTML::Element style components.")
1924 (license (package-license perl))))
1926 (define-public perl-html-form
1928 (name "perl-html-form")
1933 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
1934 "HTML-Form-" version ".tar.gz"))
1937 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
1938 (build-system perl-build-system)
1940 `(("perl-html-parser" ,perl-html-parser)
1941 ("perl-html-tagset" ,perl-html-tagset)
1942 ("perl-http-message" ,perl-http-message)
1943 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
1944 ("perl-uri" ,perl-uri)))
1945 (home-page "http://search.cpan.org/dist/HTML-Form")
1946 (synopsis "Perl class representing an HTML form element")
1947 (description "Objects of the HTML::Form class represents a single HTML
1948 <form> ... </form> instance.")
1949 (license (package-license perl))))
1951 (define-public perl-html-lint
1953 (name "perl-html-lint")
1958 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
1959 "HTML-Lint-" version ".tar.gz"))
1962 "15vrqjnlb0f8rib1kqdf4islqy6i33h08wy7b1bkgd550p7lfjwk"))))
1963 (build-system perl-build-system)
1965 `(("perl-html-parser" ,perl-html-parser)
1966 ("perl-html-tagset" ,perl-html-tagset)
1967 ("perl-libwww" ,perl-libwww)))
1968 (home-page "http://search.cpan.org/dist/HTML-Lint")
1969 (synopsis "Check for HTML errors in a string or file")
1970 (description "HTML::Lint is a pure-Perl HTML parser and checker for
1971 syntactic legitmacy.")
1972 (license l:artistic2.0)))
1974 (define-public perl-html-tableextract
1976 (name "perl-html-tableextract")
1981 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
1982 "HTML-TableExtract-" version ".tar.gz"))
1985 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
1986 (build-system perl-build-system)
1988 `(("perl-html-element-extended" ,perl-html-element-extended)
1989 ("perl-html-parser" ,perl-html-parser)))
1990 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
1991 (synopsis "Extract contents from HTML tables")
1993 "HTML::TableExtract is a Perl module for extracting the content contained
1994 in tables within an HTML document, either as text or encoded element trees.")
1995 (license (package-license perl))))
1997 (define-public perl-html-tree
1999 (name "perl-html-tree")
2004 (uri (string-append "mirror://cpan/authors/id/C/CJ/CJM/"
2005 "HTML-Tree-" version ".tar.gz"))
2008 "13qlqbpixw470gnck0xgny8hyjj576m8y24bba2p9ai2lvy76vbx"))))
2009 (build-system perl-build-system)
2011 `(("perl-module-build" ,perl-module-build)
2012 ("perl-test-fatal" ,perl-test-fatal)))
2014 `(("perl-html-parser" ,perl-html-parser)
2015 ("perl-html-tagset" ,perl-html-tagset)
2016 ("perl-libwww" ,perl-libwww)))
2017 (home-page "http://search.cpan.org/dist/HTML-Tree")
2018 (synopsis "Work with HTML in a DOM-like tree structure")
2019 (description "This distribution contains a suite of modules for
2020 representing, creating, and extracting information from HTML syntax trees.")
2021 (license (package-license perl))))
2023 (define-public perl-html-parser
2025 (name "perl-html-parser")
2030 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2034 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2035 (build-system perl-build-system)
2037 `(("perl-html-tagset" ,perl-html-tagset)
2038 ("perl-http-message" ,perl-http-message)))
2039 (license (package-license perl))
2040 (synopsis "Perl HTML parser class")
2042 "Objects of the HTML::Parser class will recognize markup and separate
2043 it from plain text (alias data content) in HTML documents. As different
2044 kinds of markup and text are recognized, the corresponding event handlers
2046 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2048 (define-public perl-html-tagset
2050 (name "perl-html-tagset")
2055 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2059 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2060 (build-system perl-build-system)
2061 (license (package-license perl))
2062 (synopsis "Perl data tables useful in parsing HTML")
2064 "The HTML::Tagset module contains several data tables useful in various
2065 kinds of HTML parsing operations.")
2066 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
2068 (define-public perl-html-template
2070 (name "perl-html-template")
2074 (uri (string-append "mirror://cpan/authors/id/W/WO/WONKO/"
2075 "HTML-Template-" version ".tar.gz"))
2078 "07ahpfgidxsw2yb7y8i7bbr8s64aq6qgq832h9jswmksxbd0l43q"))))
2079 (build-system perl-build-system)
2081 `(("perl-cgi" ,perl-cgi)))
2082 (home-page "http://search.cpan.org/dist/HTML-Template")
2083 (synopsis "HTML-like templates")
2085 "This module attempts to make using HTML templates simple and natural.
2086 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2087 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2088 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2089 these new tags is called a template. Using this module you fill in the values
2090 for the variables, loops and branches declared in the template. This allows
2091 you to separate design from the data.")
2092 (license (package-license perl))))
2094 (define-public perl-http-body
2096 (name "perl-http-body")
2101 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2102 "HTTP-Body-" version ".tar.gz"))
2105 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2106 (build-system perl-build-system)
2108 `(("perl-test-deep" ,perl-test-deep)))
2110 `(("perl-file-temp" ,perl-file-temp)
2111 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2112 (home-page "http://search.cpan.org/dist/HTTP-Body")
2113 (synopsis "HTTP Body Parser")
2114 (description "HTTP::Body parses chunks of HTTP POST data and supports
2115 application/octet-stream, application/json, application/x-www-form-urlencoded,
2116 and multipart/form-data.")
2117 (license (package-license perl))))
2119 (define-public perl-http-cookiejar
2121 (name "perl-http-cookiejar")
2126 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2127 "HTTP-CookieJar-" version ".tar.gz"))
2130 "0c7l29ak6ba2j006ca00vnkxpyc1fvpikydjvsb24s50zf1mv7b2"))))
2131 (build-system perl-build-system)
2133 `(("perl-test-deep" ,perl-test-deep)
2134 ("perl-test-requires" ,perl-test-requires)
2135 ("perl-time-mock" ,perl-time-mock)))
2137 `(("perl-time-local" ,perl-time-local)
2138 ("perl-http-date" ,perl-http-date)))
2139 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2140 (synopsis "Minimalist HTTP user agent cookie jar")
2141 (description "This module implements a minimalist HTTP user agent cookie
2142 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2143 (license l:asl2.0)))
2145 (define-public perl-http-cookies
2147 (name "perl-http-cookies")
2152 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-"
2156 "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm"))))
2157 (build-system perl-build-system)
2159 `(("perl-http-message" ,perl-http-message)))
2160 (license (package-license perl))
2161 (synopsis "Perl HTTP cookie jars")
2163 "The HTTP::Cookies class is for objects that represent a cookie jar,
2164 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2165 object knows about.")
2166 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2168 (define-public perl-http-daemon
2170 (name "perl-http-daemon")
2175 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2179 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2180 (build-system perl-build-system)
2182 `(("perl-http-message" ,perl-http-message)
2183 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2184 (license (package-license perl))
2185 (synopsis "Perl simple http server class")
2187 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2188 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2189 IO::Socket::INET, so you can perform socket operations directly on it too.")
2190 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2192 (define-public perl-http-date
2194 (name "perl-http-date")
2199 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2203 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2204 (build-system perl-build-system)
2205 (license (package-license perl))
2206 (synopsis "Perl date conversion routines")
2208 "The HTTP::Date module provides functions that deal with date formats
2209 used by the HTTP protocol (and then some more).")
2210 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2212 (define-public perl-http-message
2214 (name "perl-http-message")
2219 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Message-"
2223 "0qxdrcak97azjvqyx1anpb2ky6vp6vc37x0wcfjdqfajkh09fzh8"))))
2224 (build-system perl-build-system)
2226 `(("perl-http-date" ,perl-http-date)
2227 ("perl-io-html" ,perl-io-html)
2228 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2229 ("perl-uri" ,perl-uri)))
2230 (license (package-license perl))
2231 (synopsis "Perl HTTP style message")
2233 "An HTTP::Message object contains some headers and a content body.")
2234 (home-page "http://search.cpan.org/~gaas/HTTP-Message/")))
2236 (define-public perl-http-negotiate
2238 (name "perl-http-negotiate")
2243 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2247 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2248 (build-system perl-build-system)
2250 `(("perl-http-message" ,perl-http-message)))
2251 (license (package-license perl))
2252 (synopsis "Perl http content negotiation")
2254 "The HTTP::Negotiate module provides a complete implementation of the
2255 HTTP content negotiation algorithm specified in
2256 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2257 the selection of a preferred content representation based upon attributes
2258 of the negotiable variants and the value of the various Accept* header
2259 fields in the request.")
2260 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2262 (define-public perl-http-parser
2264 (name "perl-http-parser")
2269 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2270 "HTTP-Parser-" version ".tar.gz"))
2273 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2274 (build-system perl-build-system)
2276 `(("perl-http-message" ,perl-http-message)
2277 ("perl-uri" ,perl-uri)))
2278 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2279 (synopsis "Parse HTTP/1.1 requests")
2280 (description "This is an HTTP request parser. It takes chunks of text as
2281 received and returns a 'hint' as to what is required, or returns the
2282 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2284 (license (package-license perl))))
2286 (define-public perl-http-parser-xs
2288 (name "perl-http-parser-xs")
2293 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2294 "HTTP-Parser-XS-" version ".tar.gz"))
2297 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2298 (build-system perl-build-system)
2299 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2300 (synopsis "Fast HTTP request parser")
2301 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2303 (license (package-license perl))))
2305 (define-public perl-http-request-ascgi
2307 (name "perl-http-request-ascgi")
2312 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2313 "HTTP-Request-AsCGI-" version ".tar.gz"))
2316 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2317 (build-system perl-build-system)
2319 `(("perl-class-accessor" ,perl-class-accessor)
2320 ("perl-http-message" ,perl-http-message)))
2321 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2322 (synopsis "Set up a CGI environment from an HTTP::Request")
2323 (description "This module provides a convenient way to set up a CGI
2324 environment from an HTTP::Request.")
2325 (license (package-license perl))))
2327 (define-public perl-http-server-simple
2329 (name "perl-http-server-simple")
2334 (uri (string-append "mirror://cpan/authors/id/J/JE/JESSE/"
2335 "HTTP-Server-Simple-" version ".tar.gz"))
2338 "05klpfkss2a6i5ihmvcm27fyar0f2v4ispg2f49agab3va1gix6g"))))
2339 (build-system perl-build-system)
2341 `(("perl-cgi" ,perl-cgi)))
2343 ;; See the discussion of a related tests issue at
2344 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2346 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2347 (synopsis "Lightweight HTTP server")
2348 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2349 no non-core module dependencies. It can be used for building a standalone
2350 http-based UI to your existing tools.")
2351 (license (package-license perl))))
2353 (define-public perl-http-tiny
2355 (name "perl-http-tiny")
2360 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2361 "HTTP-Tiny-" version ".tar.gz"))
2364 "1bwy31xrcz5zfx1n3vc50vj1aqvzn5ccr7lgacl8wmi03a6w2af2"))))
2365 (build-system perl-build-system)
2367 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2368 ("perl-io-socket-ip" ,perl-io-socket-ip)
2369 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2370 ("perl-net-ssleay" ,perl-net-ssleay)))
2371 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2372 (synopsis "HTTP/1.1 client")
2373 (description "This is a very simple HTTP/1.1 client, designed for doing
2374 simple requests without the overhead of a large framework like LWP::UserAgent.
2375 It supports proxies and redirection. It also correctly resumes after EINTR.")
2376 (license (package-license perl))))
2378 (define-public perl-io-html
2380 (name "perl-io-html")
2385 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2389 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2390 (build-system perl-build-system)
2391 (license (package-license perl))
2392 (synopsis "Perl module to open an HTML file with automatic charset detection")
2394 "IO::HTML provides an easy way to open a file containing HTML while
2395 automatically determining its encoding. It uses the HTML5 encoding sniffing
2396 algorithm specified in section 8.2.2.1 of the draft standard.")
2397 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2399 (define-public perl-io-socket-ip
2401 (name "perl-io-socket-ip")
2406 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2407 "IO-Socket-IP-" version ".tar.gz"))
2410 "0ky20hmln6waipzqikizyw04vpszf70fgpshz7ib8zv8480ri456"))))
2411 (build-system perl-build-system)
2412 (native-inputs `(("perl-module-build" ,perl-module-build)))
2413 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2414 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2415 (description "This module provides a protocol-independent way to use IPv4
2416 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2417 (license (package-license perl))))
2419 (define-public perl-io-socket-ssl
2421 (name "perl-io-socket-ssl")
2425 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2426 "IO-Socket-SSL-" version ".tar.gz"))
2429 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2430 (patches (search-patches
2431 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2432 (build-system perl-build-system)
2434 `(("perl-net-ssleay" ,perl-net-ssleay)
2436 ("perl-uri" ,perl-uri)))
2437 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2439 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2440 necessary functionality into the familiar IO::Socket interface and providing
2441 secure defaults whenever possible. This way existing applications can be made
2442 SSL-aware without much effort, at least if you do blocking I/O and don't use
2444 (license (package-license perl))
2445 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2447 (define-public perl-libwww
2449 (name "perl-libwww")
2454 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
2458 "1cpqjl59viw50bnbdyn8xzrwzg7g54b2rszw0fifacqrppp17gaz"))))
2459 (build-system perl-build-system)
2461 `(("perl-encode-locale" ,perl-encode-locale)
2462 ("perl-file-listing" ,perl-file-listing)
2463 ("perl-html-parser" ,perl-html-parser)
2464 ("perl-http-cookies" ,perl-http-cookies)
2465 ("perl-http-daemon" ,perl-http-daemon)
2466 ("perl-http-negotiate" ,perl-http-negotiate)
2467 ("perl-net-http" ,perl-net-http)
2468 ("perl-www-robotrules" ,perl-www-robotrules)))
2469 (license (package-license perl))
2470 (synopsis "Perl modules for the WWW")
2472 "The libwww-perl collection is a set of Perl modules which provides a
2473 simple and consistent application programming interface to the
2474 World-Wide Web. The main focus of the library is to provide classes
2475 and functions that allow you to write WWW clients. The library also
2476 contains modules that are of more general use and even classes that
2477 help you implement simple HTTP servers.")
2478 (home-page "http://search.cpan.org/dist/libwww-perl/")))
2480 (define-public perl-lwp-mediatypes
2482 (name "perl-lwp-mediatypes")
2487 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
2491 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
2492 (build-system perl-build-system)
2493 (license (package-license perl))
2494 (synopsis "Perl module to guess the media type for a file or a URL")
2496 "The LWP::MediaTypes module provides functions for handling media (also
2497 known as MIME) types and encodings. The mapping from file extensions to
2498 media types is defined by the media.types file. If the ~/.media.types file
2499 exists it is used instead.")
2500 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
2502 (define-public perl-lwp-protocol-https
2504 (name "perl-lwp-protocol-https")
2509 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
2510 "LWP-Protocol-https-" version ".tar.gz"))
2513 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
2514 (build-system perl-build-system)
2516 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2517 ("perl-libwww" ,perl-libwww)
2518 ;; Users should instead make sure SSL_ca_path is set properly.
2519 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
2520 ("perl-net-http" ,perl-net-http)))
2521 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
2522 (synopsis "HTTPS support for LWP::UserAgent")
2523 (description "The LWP::Protocol::https module provides support for using
2524 https schemed URLs with LWP.")
2525 (license (package-license perl))))
2527 (define-public perl-lwp-useragent-determined
2529 (name "perl-lwp-useragent-determined")
2534 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
2535 "LWP-UserAgent-Determined-" version ".tar.gz"))
2538 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
2539 (build-system perl-build-system)
2541 `(("perl-libwww" ,perl-libwww)))
2542 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
2543 (synopsis "Virtual browser that retries errors")
2544 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
2545 except that when you use it to get a web page but run into a
2546 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
2547 and retry a few times.")
2548 (license (package-license perl))))
2550 (define-public perl-net-amazon-s3
2552 (name "perl-net-amazon-s3")
2557 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
2558 "Net-Amazon-S3-" version ".tar.gz"))
2561 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
2562 (patches (search-patches
2563 "perl-net-amazon-s3-moose-warning.patch"))))
2564 (build-system perl-build-system)
2566 `(("perl-libwww" ,perl-libwww)
2567 ("perl-test-exception" ,perl-test-exception)))
2569 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
2570 ("perl-datetime-format-http" ,perl-datetime-format-http)
2571 ("perl-digest-hmac" ,perl-digest-hmac)
2572 ("perl-digest-md5-file" ,perl-digest-md5-file)
2573 ("perl-file-find-rule" ,perl-file-find-rule)
2574 ("perl-http-date" ,perl-http-date)
2575 ("perl-http-message" ,perl-http-message)
2576 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
2577 ("perl-mime-types" ,perl-mime-types)
2578 ("perl-moose" ,perl-moose)
2579 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
2580 ("perl-moosex-types-datetime-morecoercions"
2581 ,perl-moosex-types-datetime-morecoercions)
2582 ("perl-path-class" ,perl-path-class)
2583 ("perl-regexp-common" ,perl-regexp-common)
2584 ("perl-term-encoding" ,perl-term-encoding)
2585 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
2586 ("perl-uri" ,perl-uri)
2587 ("perl-xml-libxml" ,perl-xml-libxml)))
2588 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
2589 (synopsis "Perl interface to Amazon S3")
2590 (description "This module provides a Perlish interface to Amazon S3.")
2591 (license (package-license perl))))
2593 (define-public perl-net-http
2595 (name "perl-net-http")
2600 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
2604 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
2605 (build-system perl-build-system)
2607 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2608 ("perl-uri" ,perl-uri)))
2609 (license (package-license perl))
2610 (synopsis "Perl low-level HTTP connection (client)")
2612 "The Net::HTTP class is a low-level HTTP client. An instance of the
2613 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
2614 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
2616 (home-page "http://search.cpan.org/dist/Net-HTTP")))
2618 (define-public perl-net-server
2620 (name "perl-net-server")
2625 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
2626 "Net-Server-" version ".tar.gz"))
2629 "182gfikn7r40kmm3d35m2qc6r8g0y1j8gxbn9ffaawf8xmm0a889"))))
2630 (build-system perl-build-system)
2631 (home-page "http://search.cpan.org/dist/Net-Server")
2632 (synopsis "Extensible Perl server engine")
2633 (description "Net::Server is an extensible, generic Perl server engine.
2634 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
2635 It includes with it the ability to run as an inetd
2636 process (Net::Server::INET), a single connection server (Net::Server or
2637 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
2638 server which maintains a constant number of preforked
2639 children (Net::Server::PreForkSimple), or as a managed preforking server which
2640 maintains the number of children based on server load (Net::Server::PreFork).
2641 In all but the inetd type, the server provides the ability to connect to one
2642 or to multiple server ports.")
2643 (license (package-license perl))))
2645 (define-public perl-net-smtp-ssl
2647 (name "perl-net-smtp-ssl")
2652 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
2653 "Net-SMTP-SSL-" version ".tar.gz"))
2656 "05y94mb1vdw32mvwb0cp2h4ggh32f8j8nwwfjb8kjwxvfkfhyp9h"))))
2657 (build-system perl-build-system)
2659 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
2660 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
2661 (synopsis "SSL support for Net::SMTP")
2662 (description "SSL support for Net::SMTP.")
2663 (license (package-license perl))))
2665 (define-public perl-plack
2672 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2673 "Plack-" version ".tar.gz"))
2676 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
2677 (build-system perl-build-system)
2679 `(("perl-test-requires" ,perl-test-requires)
2680 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
2682 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
2683 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2684 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
2685 ("perl-file-sharedir" ,perl-file-sharedir)
2686 ("perl-hash-multivalue" ,perl-hash-multivalue)
2687 ("perl-http-body" ,perl-http-body)
2688 ("perl-http-message" ,perl-http-message)
2689 ("perl-http-tiny" ,perl-http-tiny)
2690 ("perl-libwww" ,perl-libwww)
2691 ("perl-stream-buffered" ,perl-stream-buffered)
2692 ("perl-test-tcp" ,perl-test-tcp)
2693 ("perl-try-tiny" ,perl-try-tiny)
2694 ("perl-uri" ,perl-uri)))
2695 (home-page "http://search.cpan.org/dist/Plack")
2696 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
2697 (description "Plack is a set of tools for using the PSGI stack. It
2698 contains middleware components, a reference server, and utilities for Web
2699 application frameworks. Plack is like Ruby's Rack or Python's Paste for
2701 (license (package-license perl))))
2703 (define-public perl-plack-middleware-fixmissingbodyinredirect
2705 (name "perl-plack-middleware-fixmissingbodyinredirect")
2710 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2711 "Plack-Middleware-FixMissingBodyInRedirect-"
2715 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
2716 (build-system perl-build-system)
2718 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
2719 ("perl-http-message" ,perl-http-message)
2720 ("perl-plack" ,perl-plack))) ;for Plack::Test
2722 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
2723 (synopsis "Plack::Middleware which sets body for redirect response")
2724 (description "This module sets the body in redirect response, if it's not
2726 (license (package-license perl))))
2728 (define-public perl-plack-middleware-methodoverride
2730 (name "perl-plack-middleware-methodoverride")
2735 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
2736 "Plack-Middleware-MethodOverride-"
2740 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
2741 (build-system perl-build-system)
2743 `(("perl-module-build" ,perl-module-build)))
2745 `(("perl-plack" ,perl-plack)))
2746 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
2747 (synopsis "Override REST methods to Plack apps via POST")
2748 (description "This middleware allows for POST requests that pretend to be
2749 something else: by adding either a header named X-HTTP-Method-Override to the
2750 request, or a query parameter named x-tunneled-method to the URI, the client
2751 can say what method it actually meant.")
2752 (license (package-license perl))))
2754 (define-public perl-plack-middleware-removeredundantbody
2756 (name "perl-plack-middleware-removeredundantbody")
2761 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2762 "Plack-Middleware-RemoveRedundantBody-"
2766 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
2767 (build-system perl-build-system)
2769 `(("perl-plack" ,perl-plack)))
2771 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
2772 (synopsis "Plack::Middleware which removes body for HTTP response")
2773 (description "This module removes the body in an HTTP response if it's not
2775 (license (package-license perl))))
2777 (define-public perl-plack-middleware-reverseproxy
2779 (name "perl-plack-middleware-reverseproxy")
2784 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2785 "Plack-Middleware-ReverseProxy-"
2789 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
2790 (build-system perl-build-system)
2792 `(("perl-plack" ,perl-plack)))
2793 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
2794 (synopsis "Supports app to run as a reverse proxy backend")
2795 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
2796 which are changed by reverse-proxy. You can specify the reverse proxy address
2797 and stop fake requests using 'enable_if' directive in your app.psgi.")
2798 (license (package-license perl))))
2800 (define-public perl-plack-test-externalserver
2802 (name "perl-plack-test-externalserver")
2807 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2808 "Plack-Test-ExternalServer-" version ".tar.gz"))
2811 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
2812 (build-system perl-build-system)
2814 `(("perl-plack" ,perl-plack)))
2815 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
2816 (synopsis "Run HTTP tests on external live servers")
2817 (description "This module allows your to run your Plack::Test tests
2818 against an external server instead of just against a local application through
2819 either mocked HTTP or a locally spawned server.")
2820 (license (package-license perl))))
2822 (define-public perl-test-tcp
2824 (name "perl-test-tcp")
2829 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
2830 "Test-TCP-" version ".tar.gz"))
2833 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
2834 (build-system perl-build-system)
2836 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
2837 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
2838 (home-page "http://search.cpan.org/dist/Test-TCP")
2839 (synopsis "Testing TCP programs")
2840 (description "Test::TCP is test utilities for TCP/IP programs.")
2841 (license (package-license perl))))
2843 (define-public perl-test-www-mechanize
2845 (name "perl-test-www-mechanize")
2850 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2851 "Test-WWW-Mechanize-" version ".tar.gz"))
2854 "062pj242vsc73bw11jqpap92ax9wzc9f2m4xhyp1wzrwkfchpl2q"))))
2855 (build-system perl-build-system)
2857 `(("perl-test-exception" ,perl-test-exception)))
2859 `(("perl-carp-assert-more" ,perl-carp-assert-more)
2860 ("perl-html-form" ,perl-html-form)
2861 ("perl-html-lint" ,perl-html-lint)
2862 ("perl-html-tree" ,perl-html-tree)
2863 ("perl-http-server-simple" ,perl-http-server-simple)
2864 ("perl-libwww" ,perl-libwww)
2865 ("perl-test-longstring" ,perl-test-longstring)
2866 ("perl-www-mechanize" ,perl-www-mechanize)))
2867 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
2868 (synopsis "Testing-specific WWW::Mechanize subclass")
2869 (description "Test::WWW::Mechanize is a subclass of the Perl module
2870 WWW::Mechanize that incorporates features for web application testing.")
2871 (license l:artistic2.0)))
2873 (define-public perl-test-www-mechanize-catalyst
2875 (name "perl-test-www-mechanize-catalyst")
2880 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2881 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
2884 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
2885 (build-system perl-build-system)
2887 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2888 ("perl-catalyst-plugin-session-state-cookie"
2889 ,perl-catalyst-plugin-session-state-cookie)
2890 ("perl-test-exception" ,perl-test-exception)
2891 ("perl-test-pod" ,perl-test-pod)
2892 ("perl-test-utf8" ,perl-test-utf8)))
2894 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2895 ("perl-class-load" ,perl-class-load)
2896 ("perl-libwww" ,perl-libwww)
2897 ("perl-moose" ,perl-moose)
2898 ("perl-namespace-clean" ,perl-namespace-clean)
2899 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
2900 ("perl-www-mechanize" ,perl-www-mechanize)))
2901 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
2902 (synopsis "Test::WWW::Mechanize for Catalyst")
2903 (description "The Test::WWW::Mechanize::Catalyst module meshes the
2904 Test::WWW:Mechanize module and the Catalyst web application framework to allow
2905 testing of Catalyst applications without needing to start up a web server.")
2906 (license (package-license perl))))
2908 (define-public perl-test-www-mechanize-psgi
2910 (name "perl-test-www-mechanize-psgi")
2915 (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
2916 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
2919 "1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
2920 (build-system perl-build-system)
2922 `(("perl-test-pod" ,perl-test-pod)))
2924 `(("perl-plack" ,perl-plack)
2925 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
2926 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
2927 (synopsis "Test PSGI programs using WWW::Mechanize")
2928 (description "PSGI is a specification to decouple web server environments
2929 from web application framework code. Test::WWW::Mechanize is a subclass of
2930 WWW::Mechanize that incorporates features for web application testing. The
2931 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
2933 (license (package-license perl))))
2935 (define-public perl-uri
2941 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2942 "URI-" version ".tar.gz"))
2945 "05a1ck1bhvqkkk690xhsxf7276dnagk96qkh2jy4prrrgw6wm3lw"))))
2946 (build-system perl-build-system)
2947 (license (package-license perl))
2948 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
2950 "The URI module implements the URI class. Objects of this class
2951 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
2952 and updated by RFC 2732.")
2953 (home-page "http://search.cpan.org/dist/URI/")))
2955 (define-public perl-uri-fetch
2957 (name "perl-uri-fetch")
2961 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
2962 "URI-Fetch-" version ".tar.gz"))
2965 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
2966 (build-system perl-build-system)
2968 `(#:tests? #f)) ; Tests require internet connection to succeed
2970 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2971 ("perl-libwww" ,perl-libwww)
2972 ("perl-uri" ,perl-uri)))
2973 (home-page "http://search.cpan.org/dist/URI-Fetch")
2974 (synopsis "Smart URI fetching/caching")
2975 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
2976 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
2977 and time-saving way.")
2978 (license (package-license perl))))
2980 (define-public perl-uri-find
2982 (name "perl-uri-find")
2983 (version "20140709")
2987 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
2988 "URI-Find-" version ".tar.gz"))
2991 "0czc4h182s7sx3k123m7qlg7yybnwxgh369hap3c3b6xgrglrhy0"))))
2992 (build-system perl-build-system)
2994 `(("perl-module-build" ,perl-module-build)))
2996 `(("perl-uri" ,perl-uri)))
2997 (home-page "http://search.cpan.org/dist/URI-Find")
2998 (synopsis "Find URIs in arbitrary text")
2999 (description "This module finds URIs and URLs (according to what URI.pm
3000 considers a URI) in plain text. It only finds URIs which include a
3001 scheme (http:// or the like), for something a bit less strict, consider
3002 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3003 (license (package-license perl))))
3005 (define-public perl-uri-ws
3007 (name "perl-uri-ws")
3012 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3013 "URI-ws-" version ".tar.gz"))
3016 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3017 (build-system perl-build-system)
3019 `(("perl-uri" ,perl-uri)))
3020 (home-page "http://search.cpan.org/dist/URI-ws")
3021 (synopsis "WebSocket support for URI package")
3022 (description "With this module, the URI package provides the same set of
3023 methods for WebSocket URIs as it does for HTTP URIs.")
3024 (license (package-license perl))))
3026 (define-public perl-uri-template
3028 (name "perl-uri-template")
3032 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3036 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3037 (build-system perl-build-system)
3039 `(("perl-uri" ,perl-uri)))
3041 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3042 ("perl-test-pod" ,perl-test-pod)
3043 ("perl-json" ,perl-json)))
3044 (home-page "http://search.cpan.org/dist/URI-Template")
3045 (synopsis "Object for handling URI templates")
3046 (description "This perl module provides a wrapper around URI templates as described in
3048 (license (package-license perl))))
3050 (define-public perl-www-curl
3052 (name "perl-www-curl")
3057 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3059 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3062 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3063 (build-system perl-build-system)
3065 '(#:tests? #f)) ;XXX: tests require network access
3066 (inputs `(("curl" ,curl)))
3067 (synopsis "Perl extension interface for libcurl")
3069 "This is a Perl extension interface for the libcurl file downloading
3071 (license (package-license perl))
3072 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3074 (define-public perl-www-mechanize
3076 (name "perl-www-mechanize")
3081 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3082 "WWW-Mechanize-" version ".tar.gz"))
3085 "1zrw8aadhwy48q51x2z2rqlkwf17bya4j4h3hy89mw783j96rmg9"))))
3086 (build-system perl-build-system)
3087 (native-inputs ;only for tests
3088 `(("perl-cgi" ,perl-cgi)))
3090 `(("perl-html-form" ,perl-html-form)
3091 ("perl-html-parser" ,perl-html-parser)
3092 ("perl-http-message" ,perl-http-message)
3093 ("perl-http-server-simple" ,perl-http-server-simple)
3094 ("perl-libwww" ,perl-libwww)
3095 ("perl-test-warn" ,perl-test-warn)
3096 ("perl-uri" ,perl-uri)))
3097 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3098 (synopsis "Web browsing in a Perl object")
3099 (description "WWW::Mechanize is a Perl module for stateful programmatic
3100 web browsing, used for automating interaction with websites.")
3101 (license (package-license perl))))
3103 (define-public perl-www-opensearch
3105 (name "perl-www-opensearch")
3109 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3110 "WWW-OpenSearch-" version ".tar.gz"))
3113 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3114 (build-system perl-build-system)
3116 `(#:tests? #f)) ; Tests require further modules to be packaged
3118 `(("perl-data-page" ,perl-data-page)
3119 ("perl-libwww" ,perl-libwww)
3120 ("perl-uri" ,perl-uri)
3121 ("perl-uri-template" ,perl-uri-template)
3122 ("perl-xml-feed" ,perl-xml-feed)
3123 ("perl-xml-libxml" ,perl-xml-libxml)))
3124 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3125 (synopsis "Search A9 OpenSearch compatible engines")
3127 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3128 http://opensearch.a9.com} compatible search engines.")
3129 (license (package-license perl))))
3131 (define-public perl-www-robotrules
3133 (name "perl-www-robotrules")
3138 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3142 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3143 (build-system perl-build-system)
3145 `(("perl-uri" ,perl-uri)))
3146 (license (package-license perl))
3147 (synopsis "Perl database of robots.txt-derived permissions")
3149 "The WWW::RobotRules module parses /robots.txt files as specified in
3150 \"A Standard for Robot Exclusion\", at
3151 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3152 /robots.txt file to forbid conforming robots from accessing parts of
3154 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3156 (define-public python-feedparser
3158 (name "python-feedparser")
3163 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3166 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3167 (build-system python-build-system)
3171 "https://github.com/kurtmckee/feedparser")
3172 (synopsis "Parse feeds in Python")
3174 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3175 CDF, Atom 0.3, and Atom 1.0 feeds.")
3176 (license (list l:bsd-2 ; source code
3177 l:freebsd-doc)))) ; documentation
3179 (define-public python2-feedparser
3180 (package-with-python2 python-feedparser))
3182 (define-public r-httpuv
3188 (uri (cran-uri "httpuv" version))
3191 "0aibs0hf38n8f6xxx4g2i2lzd6l5h92m5pscx2z834sdvhnladxv"))))
3192 (build-system r-build-system)
3193 (native-inputs `(("r-rcpp" ,r-rcpp)))
3194 (home-page "https://github.com/rstudio/httpuv")
3195 (synopsis "HTTP and WebSocket server library for R")
3197 "The httpuv package provides low-level socket and protocol support for
3198 handling HTTP and WebSocket requests directly from within R. It is primarily
3199 intended as a building block for other packages, rather than making it
3200 particularly easy to create complete web applications using httpuv alone.")
3201 ;; This package includes third-party code that was originally released
3202 ;; under various non-copyleft licenses. Full licensing information can be
3203 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3206 (define-public r-jsonlite
3212 (uri (cran-uri "jsonlite" version))
3215 "0mrfzh0mxxrhqdmxai434wvyd7skkw28vxr7pyls19yrg941g6r3"))))
3216 (build-system r-build-system)
3217 (home-page "http://arxiv.org/abs/1403.2805")
3218 (synopsis "Robust, high performance JSON parser and generator for R")
3220 "The jsonlite package provides a fast JSON parser and generator optimized
3221 for statistical data and the web. It offers flexible, robust, high
3222 performance tools for working with JSON in R and is particularly powerful for
3223 building pipelines and interacting with a web API. In addition to converting
3224 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3225 and prettify JSON data. The unit tests included with the package verify that
3226 all edge cases are encoded and decoded consistently for use with dynamic data
3227 in systems and applications.")
3230 (define-public r-servr
3236 (uri (cran-uri "servr" version))
3239 "1fkqf5ynd1g0932qwv5nr70bw42m8vxpc9rhi0qxmdamwqcw8qjn"))))
3240 (build-system r-build-system)
3242 `(("r-httpuv" ,r-httpuv)
3243 ("r-jsonlite" ,r-jsonlite)
3244 ("r-mime" ,r-mime)))
3246 `(("r-rcpp" ,r-rcpp)))
3247 (home-page "https://github.com/yihui/servr")
3248 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3250 "Servr provides an HTTP server in R to serve static files, or dynamic
3251 documents that can be converted to HTML files (e.g., R Markdown) under a given
3255 (define-public r-htmltools
3257 (name "r-htmltools")
3261 (uri (cran-uri "htmltools" version))
3264 "0j9bf80grd6gwh7116m575pycv87c0wcwkxsz3gzzfs4aw3pxyr9"))))
3265 (build-system r-build-system)
3268 (modify-phases %standard-phases
3269 ;; See https://github.com/rstudio/htmltools/pull/68
3270 ;; The resource files are in the store and have mode 444. After
3271 ;; copying the files R fails to remove them again because it doesn't
3272 ;; have write access to them.
3273 (add-after 'unpack 'copy-files-without-mode
3275 (substitute* "R/html_dependency.R"
3276 (("file.copy\\(from, to, " prefix)
3277 (string-append prefix
3278 "copy.mode = FALSE, ")))
3281 `(("r-digest" ,r-digest)
3282 ("r-rcpp" ,r-rcpp)))
3283 (home-page "http://cran.r-project.org/web/packages/htmltools")
3284 (synopsis "R tools for HTML")
3286 "This package provides tools for HTML generation and output in R.")
3289 (define-public r-htmlwidgets
3291 (name "r-htmlwidgets")
3295 (uri (cran-uri "htmlwidgets" version))
3298 "1xh8aiaci5hi3r67ym7r37hm89m9vzywk292avnmaj125kq7w1d0"))))
3299 (build-system r-build-system)
3301 `(("r-htmltools" ,r-htmltools)
3302 ("r-jsonlite" ,r-jsonlite)
3303 ("r-yaml" ,r-yaml)))
3304 (home-page "https://github.com/ramnathv/htmlwidgets")
3305 (synopsis "HTML Widgets for R")
3307 "HTML widgets is a framework for creating HTML widgets that render in
3308 various contexts including the R console, R Markdown documents, and Shiny web
3312 (define-public r-htmltable
3314 (name "r-htmltable")
3319 (uri (cran-uri "htmlTable" version))
3322 "0x2f2hrbhvm53zqwn0ny9wxbk34nwf6zww8cx4bjy5ax15asdllm"))))
3323 (properties `((upstream-name . "htmlTable")))
3324 (build-system r-build-system)
3326 `(("r-knitr" ,r-knitr)
3327 ("r-magrittr" ,r-magrittr)
3328 ("r-stringr" ,r-stringr)))
3329 (home-page "http://gforge.se/packages/")
3330 (synopsis "Advanced tables for Markdown/HTML")
3332 "This package provides functions to build tables with advanced layout
3333 elements such as row spanners, column spanners, table spanners, zebra
3334 striping, and more. While allowing advanced layout, the underlying
3335 CSS-structure is simple in order to maximize compatibility with word
3336 processors such as LibreOffice. The package also contains a few text
3337 formatting functions that help outputting text compatible with HTML or
3341 (define-public r-curl
3347 (uri (cran-uri "curl" version))
3350 "0hyvyjzf5ja7kfhzmlfgp86hg1lxrriiwbnr6pxabwwslswj3cmj"))))
3351 (build-system r-build-system)
3354 (modify-phases %standard-phases
3355 ;; The environment variable CURL_CA_BUNDLE is only respected when
3356 ;; running Windows, so we disable the platform checks.
3357 ;; This can be removed once the libcurl has been patched.
3358 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3360 (substitute* "R/onload.R"
3361 (("if \\(!grepl\\(\"mingw\".*")
3363 (substitute* "src/handle.c"
3364 (("#ifdef _WIN32") "#if 1"))
3367 `(("libcurl" ,curl)))
3368 (home-page "https://github.com/jeroenooms/curl")
3369 (synopsis "HTTP client for R")
3371 "The @code{curl()} and @code{curl_download()} functions provide highly
3372 configurable drop-in replacements for base @code{url()} and
3373 @code{download.file()} with better performance, support for encryption, gzip
3374 compression, authentication, and other @code{libcurl} goodies. The core of
3375 the package implements a framework for performing fully customized requests
3376 where data can be processed either in memory, on disk, or streaming via the
3377 callback or connection interfaces.")
3380 (define-public r-hwriter
3387 (uri (cran-uri "hwriter" version))
3390 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
3391 (build-system r-build-system)
3392 (home-page "http://cran.r-project.org/web/packages/hwriter")
3393 (synopsis "Output R objects in HTML format")
3395 "This package provides easy-to-use and versatile functions to output R
3396 objects in HTML format.")
3397 (license l:lgpl2.1+)))
3399 (define-public r-rjson
3406 (uri (cran-uri "rjson" version))
3409 "1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
3410 (build-system r-build-system)
3411 (home-page "http://cran.r-project.org/web/packages/rjson")
3412 (synopsis "JSON library for R")
3414 "This package provides functions to convert R objects into JSON objects
3418 (define-public gumbo-parser
3420 (name "gumbo-parser")
3424 (uri (string-append "https://github.com/google/"
3425 "gumbo-parser/archive/v" version ".tar.gz"))
3426 (file-name (string-append name "-" version ".tar.gz"))
3429 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
3430 (build-system gnu-build-system)
3432 `(#:tests? #f ; tests require bundling googletest sources
3434 (modify-phases %standard-phases
3435 (add-after 'unpack 'bootstrap
3436 (lambda _ (zero? (system* "sh" "autogen.sh")))))))
3437 ;; The release tarball lacks the generated files.
3439 `(("autoconf" ,autoconf)
3440 ("automake" ,automake)
3441 ("libtool" ,libtool)))
3442 (home-page "https://github.com/google/gumbo-parser")
3443 (synopsis "HTML5 parsing library")
3445 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
3446 a pure C99 library.")
3447 (license l:asl2.0)))
3449 (define-public uwsgi
3455 (uri (string-append "http://projects.unbit.it/downloads/uwsgi-"
3459 "02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh"))))
3460 (build-system gnu-build-system)
3461 (outputs '("out" "python"))
3463 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
3464 ;; But there is no obvious way to run the real tests.
3467 (modify-phases %standard-phases
3469 ;; Configuration is done by writing an ini file.
3470 (lambda* (#:key outputs #:allow-other-keys)
3471 (let* ((out (assoc-ref outputs "out"))
3472 (bindir (string-append out "/bin"))
3473 (plugindir (string-append out "/lib/uwsgi")))
3474 ;; The build phase outputs files to these directories directly.
3477 ;; XXX: Enable other plugins.
3478 (call-with-output-file "buildconf/guix.ini"
3480 (format port "[uwsgi]
3486 plugins = cgi,python
3488 " bindir plugindir))))
3489 (setenv "PROFILE" "guix")
3492 ;; Move plugins into their own output.
3493 (lambda* (#:key outputs #:allow-other-keys)
3494 (let* ((out (assoc-ref outputs "out"))
3495 (plugindir (string-append out "/lib/uwsgi"))
3496 (python-plugin (string-append
3497 plugindir "/python_plugin.so")))
3498 (install-file python-plugin
3500 (assoc-ref outputs "python") "/lib/uwsgi"))
3501 (delete-file python-plugin)
3504 `(("pkg-config" ,pkg-config)
3505 ("python" ,python-wrapper)))
3507 `(("jansson" ,jansson)
3508 ("libxml2" ,libxml2)
3509 ("libyaml" ,libyaml)
3510 ("openssl" ,openssl)
3514 ("python" ,python)))
3515 (home-page "https://uwsgi-docs.readthedocs.org/")
3516 (synopsis "Application container server")
3518 "uWSGI presents a complete stack for networked/clustered web applications,
3519 implementing message/object passing, caching, RPC and process management.
3520 It uses the uwsgi protocol for all the networking/interprocess communications.")
3521 (license l:gpl2+))) ; with linking exception
3529 (uri (string-append "https://github.com/stedolan/" name
3530 "/releases/download/" name "-" version
3531 "/" name "-" version ".tar.gz"))
3534 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
3535 ;; This patch has been pushed and the vulnerability will be
3536 ;; fixed in the next release after 1.5.
3537 ;; https://github.com/stedolan/jq/issues/995
3538 (patches (search-patches "jq-CVE-2015-8863.patch"))))
3540 `(("oniguruma" ,oniguruma)))
3542 `(;; TODO fix gems to generate documentation
3544 ;;("bundler" ,bundler)
3545 ("valgrind" ,valgrind)))
3546 (build-system gnu-build-system)
3547 (home-page "http://stedolan.github.io/jq/")
3548 (synopsis "Command-line JSON processor")
3549 (description "jq is like sed for JSON data – you can use it to slice and
3550 filter and map and transform structured data with the same ease that sed, awk,
3551 grep and friends let you play with text. It is written in portable C. jq can
3552 mangle the data format that you have into the one that you want with very
3553 little effort, and the program to do so is often shorter and simpler than
3555 (license (list l:expat l:cc-by3.0))))
3557 (define-public uhttpmock
3564 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
3565 name "-" version ".tar.xz"))
3568 "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"))))
3569 (build-system glib-or-gtk-build-system)
3572 (modify-phases %standard-phases
3573 (add-before 'check 'use-empty-ssl-cert-file
3575 ;; Search for ca-certificates.crt files
3576 ;; during the check phase.
3577 (setenv "SSL_CERT_FILE" "/dev/null")
3580 `(("gobject-introspection" ,gobject-introspection)
3582 ("glib-networking" ,glib-networking)
3583 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3584 ("pkg-config" ,pkg-config)))
3586 `(("libsoup" ,libsoup)))
3587 (home-page "https://gitlab.com/groups/uhttpmock")
3588 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
3590 "Uhttpmock is a project for mocking web service APIs which use HTTP or
3591 HTTPS. It provides a library, libuhttpmock, which implements recording and
3592 playback of HTTP request/response traces.")
3593 (license l:lgpl2.1+)))
3598 (version "2012-05-31")
3602 "http://www.home.unix-ag.org/simon/woof-"
3606 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
3607 (build-system trivial-build-system)
3609 '(#:modules ((guix build utils))
3612 (use-modules (guix build utils))
3613 (let* ((source (assoc-ref %build-inputs "source"))
3614 (out (assoc-ref %outputs "out"))
3615 (bin (string-append out "/bin"))
3616 (python (assoc-ref %build-inputs "python")))
3618 (with-directory-excursion bin
3619 (copy-file source "woof")
3620 (patch-shebang "woof" (list (string-append python "/bin")))
3621 (chmod "woof" #o555))
3623 (inputs `(("python" ,python-2)))
3624 (home-page "http://www.home.unix-ag.org/simon/woof.html")
3625 (synopsis "Single file web server")
3626 (description "Woof (Web Offer One File) is a small simple web server that
3627 can easily be invoked on a single file. Your partner can access the file with
3628 tools they trust (e.g. wget).")
3631 (define-public netsurf
3638 (uri (string-append "https://download.netsurf-browser.org/"
3639 "netsurf/releases/source-full/netsurf-all-"
3643 "1vdldzcv42wykajmw8vbql0f1yd44gbx30kywfrrh2x3064ly609"))
3644 (modules '((guix build utils)))
3647 (substitute* "Makefile"
3648 ;; Do not clobber PKG_CONFIG_PATH from the environment
3649 (("PKG_CONFIG_PATH = \\$")
3650 "PKG_CONFIG_PATH := $(PKG_CONFIG_PATH):$")
3651 ;; Honor make variables
3652 (("shell cc") "shell $(CC)"))))
3653 (patches (search-patches "netsurf-about.patch"))))
3654 (build-system glib-or-gtk-build-system)
3656 `(("pkg-config" ,pkg-config)
3658 ("perl-html-parser" ,perl-html-parser)
3665 ("openssl" ,openssl)
3667 ("libjpeg" ,libjpeg)
3670 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
3671 ,(string-append "PREFIX=" %output))
3672 #:parallel-build? #f ;parallel builds not supported
3673 #:tests? #f ;no way to easily run from release tarball
3674 #:modules ((ice-9 rdelim)
3678 ,@%glib-or-gtk-build-system-modules)
3680 (modify-phases %standard-phases
3683 (call-with-output-file "netsurf/Makefile.config"
3686 NETSURF_GTK_RESOURCES := $(PREFIX)/share/netsurf/~@
3689 (add-after 'build 'adjust-welcome
3691 ;; First, fix some unended tags and simple substitutions
3692 (substitute* "netsurf/gtk/res/welcome.html"
3693 (("<(img|input)([^>]*)>" _ tag contents)
3694 (string-append "<" tag contents " />"))
3695 (("Licence") "License") ;prefer GNU spelling
3696 ((" open source") ", free software")
3697 (("web site") "website")
3698 ;; Prefer privacy-respecting default search engine
3699 (("www.google.co.uk") "www.duckduckgo.com/html")
3700 (("Google Search") "DuckDuckGo Search")
3701 (("name=\"btnG\"") ""))
3702 ;; Remove default links so it doesn't seem we're endorsing them
3703 (with-atomic-file-replacement "netsurf/gtk/res/welcome.html"
3705 ;; Leave the DOCTYPE header as is
3706 (display (read-line in 'concat) out)
3708 (let rec ((sxml (xml->sxml in)))
3709 ;; We'd like to use sxml-match here, but it can't
3710 ;; match against generic tag symbols...
3712 (`(div (@ (class "links")) . ,rest)
3719 (add-after 'install 'install-more
3720 (lambda* (#:key outputs #:allow-other-keys)
3721 (let* ((out (assoc-ref outputs "out"))
3722 (desktop (string-append out "/share/applications/"
3723 "netsurf.desktop")))
3724 (mkdir-p (dirname desktop))
3725 (copy-file "netsurf/gtk/res/netsurf-gtk.desktop"
3727 (substitute* desktop
3728 (("netsurf-gtk") (string-append out "/bin/netsurf"))
3729 (("netsurf.png") (string-append out "/share/netsurf/"
3731 (install-file "netsurf/Docs/netsurf-gtk.1"
3732 (string-append out "/share/man/man1/"))
3734 (home-page "https://www.netsurf-browser.org")
3735 (synopsis "Web browser")
3737 "NetSurf is a lightweight web browser that has its own layout and
3738 rendering engine entirely written from scratch. It is small and capable of
3739 handling many of the web standards in use today.")
3742 (define-public surfraw
3748 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
3749 name "-" version ".tar.gz"))
3752 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
3753 (build-system gnu-build-system)
3756 ("perl-www-opensearch" ,perl-www-opensearch)
3757 ("perl-html-parser" ,perl-html-parser)
3758 ("perl-libwww" ,perl-libwww)))
3759 (synopsis "Unix command line interface to the www")
3760 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
3761 provides a unix command line interface to a variety of popular www search engines
3762 and similar services.")
3763 (home-page "https://surfraw.alioth.debian.org/")
3764 (license l:public-domain)))
3766 (define-public darkhttpd
3772 ;; The darkhttpd release tarball URL fails to download with a
3773 ;; 'TLS warning alert'. Download from the darkhttpd git repo
3774 ;; until the problem has been fixed upstream.
3777 (url (string-append "https://unix4lyfe.org/git/darkhttpd"))
3778 (commit "41b68476c35270f47dcd2ddebe27cbcd87e43d41")))
3781 "0wi8dfgj4ic0fsy4dszl69xgxdxlwxz4c30vsw2i2dpnczgjm04k"))
3782 (file-name (string-append name "-" version "-checkout"))))
3783 (build-system gnu-build-system)
3785 `(#:make-flags '("CC=gcc")
3786 #:tests? #f ; No test suite
3788 (modify-phases %standard-phases
3791 (lambda* (#:key outputs #:allow-other-keys)
3792 (install-file "darkhttpd"
3793 (string-append (assoc-ref outputs "out")
3796 (synopsis "Simple static web server")
3797 (description "darkhttpd is a simple static web server. It is
3798 standalone and does not need inetd or ucspi-tcp. It does not need any
3799 config files---you only have to specify the www root.")
3800 (home-page "https://unix4lyfe.org/darkhttpd/")
3803 (define-public goaccess
3809 (uri (string-append "http://tar.goaccess.io/goaccess-"
3813 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
3814 (modules '((guix build utils)))
3816 '(substitute* "src/error.h"
3817 (("__DATE__") "\"1970-01-01\"")
3818 (("__TIME__") "\"00:00:00\"")))))
3819 (build-system gnu-build-system)
3821 ;; TODO: Add dependency on geoip-tools.
3823 ("ncurses" ,ncurses)))
3825 `(("pkg-config" ,pkg-config)))
3826 (home-page "https://goaccess.io")
3827 (synopsis "Analyze Web server logs in real time")
3829 "GoAccess is a real-time web log analyzer and interactive viewer that
3830 runs in a terminal or through your browser. It provides fast and valuable
3831 HTTP statistics for system administrators that require a visual server report
3835 (define-public httptunnel
3842 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
3843 name "-" version ".tar.gz"))
3846 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
3847 (modules '((guix build utils)))
3849 ;; Remove non-free IETF RFC documentation.
3850 '(delete-file-recursively "doc"))))
3851 (build-system gnu-build-system)
3854 (modify-phases %standard-phases
3855 ;; The default configure phase tries to pass environment variables as
3856 ;; command-line arguments, which confuses the ./configure script.
3858 (lambda* (#:key outputs #:allow-other-keys)
3859 (let* ((out (assoc-ref outputs "out")))
3860 (setenv "CONFIG_SHELL" (which "bash"))
3861 (zero? (system* "./configure"
3862 (string-append "--prefix=" out)))))))))
3863 (home-page "http://www.nocrew.org/software/httptunnel.html")
3864 (synopsis "Tunnel data connections through HTTP requests")
3865 (description "httptunnel creates a bidirectional virtual data connection
3866 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
3867 useful for users behind restrictive firewalls. As long as Web traffic is
3868 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
3869 tools like SSH (Secure Shell) to reach the outside world.")