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 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
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)
2136 ("perl-uri" ,perl-uri)))
2138 `(("perl-time-local" ,perl-time-local)
2139 ("perl-http-date" ,perl-http-date)))
2140 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2141 (synopsis "Minimalist HTTP user agent cookie jar")
2142 (description "This module implements a minimalist HTTP user agent cookie
2143 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2144 (license l:asl2.0)))
2146 (define-public perl-http-cookies
2148 (name "perl-http-cookies")
2153 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-"
2157 "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm"))))
2158 (build-system perl-build-system)
2160 `(("perl-http-message" ,perl-http-message)))
2161 (license (package-license perl))
2162 (synopsis "Perl HTTP cookie jars")
2164 "The HTTP::Cookies class is for objects that represent a cookie jar,
2165 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2166 object knows about.")
2167 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2169 (define-public perl-http-daemon
2171 (name "perl-http-daemon")
2176 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2180 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2181 (build-system perl-build-system)
2183 `(("perl-http-message" ,perl-http-message)
2184 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2185 (license (package-license perl))
2186 (synopsis "Perl simple http server class")
2188 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2189 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2190 IO::Socket::INET, so you can perform socket operations directly on it too.")
2191 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2193 (define-public perl-http-date
2195 (name "perl-http-date")
2200 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2204 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2205 (build-system perl-build-system)
2206 (license (package-license perl))
2207 (synopsis "Perl date conversion routines")
2209 "The HTTP::Date module provides functions that deal with date formats
2210 used by the HTTP protocol (and then some more).")
2211 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2213 (define-public perl-http-message
2215 (name "perl-http-message")
2220 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Message-"
2224 "06yq6cjx4vzl4if4ykap77xsrrd8aa7ish90k7cqi8g6g83nicz7"))))
2225 (build-system perl-build-system)
2227 `(("perl-encode-locale" ,perl-encode-locale)
2228 ("perl-http-date" ,perl-http-date)
2229 ("perl-io-html" ,perl-io-html)
2230 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2231 ("perl-uri" ,perl-uri)))
2232 (license (package-license perl))
2233 (synopsis "Perl HTTP style message")
2235 "An HTTP::Message object contains some headers and a content body.")
2236 (home-page "http://search.cpan.org/~gaas/HTTP-Message/")))
2238 (define-public perl-http-negotiate
2240 (name "perl-http-negotiate")
2245 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2249 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2250 (build-system perl-build-system)
2252 `(("perl-http-message" ,perl-http-message)))
2253 (license (package-license perl))
2254 (synopsis "Perl http content negotiation")
2256 "The HTTP::Negotiate module provides a complete implementation of the
2257 HTTP content negotiation algorithm specified in
2258 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2259 the selection of a preferred content representation based upon attributes
2260 of the negotiable variants and the value of the various Accept* header
2261 fields in the request.")
2262 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2264 (define-public perl-http-parser
2266 (name "perl-http-parser")
2271 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2272 "HTTP-Parser-" version ".tar.gz"))
2275 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2276 (build-system perl-build-system)
2278 `(("perl-http-message" ,perl-http-message)
2279 ("perl-uri" ,perl-uri)))
2280 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2281 (synopsis "Parse HTTP/1.1 requests")
2282 (description "This is an HTTP request parser. It takes chunks of text as
2283 received and returns a 'hint' as to what is required, or returns the
2284 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2286 (license (package-license perl))))
2288 (define-public perl-http-parser-xs
2290 (name "perl-http-parser-xs")
2295 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2296 "HTTP-Parser-XS-" version ".tar.gz"))
2299 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2300 (build-system perl-build-system)
2301 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2302 (synopsis "Fast HTTP request parser")
2303 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2305 (license (package-license perl))))
2307 (define-public perl-http-request-ascgi
2309 (name "perl-http-request-ascgi")
2314 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2315 "HTTP-Request-AsCGI-" version ".tar.gz"))
2318 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2319 (build-system perl-build-system)
2321 `(("perl-class-accessor" ,perl-class-accessor)
2322 ("perl-http-message" ,perl-http-message)))
2323 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2324 (synopsis "Set up a CGI environment from an HTTP::Request")
2325 (description "This module provides a convenient way to set up a CGI
2326 environment from an HTTP::Request.")
2327 (license (package-license perl))))
2329 (define-public perl-http-server-simple
2331 (name "perl-http-server-simple")
2336 (uri (string-append "mirror://cpan/authors/id/J/JE/JESSE/"
2337 "HTTP-Server-Simple-" version ".tar.gz"))
2340 "1yvd2g57z2kq00q5i3zzfi15k98qgbif3vghjsda6v612agmrp5r"))))
2341 (build-system perl-build-system)
2343 `(("perl-cgi" ,perl-cgi)))
2345 ;; See the discussion of a related tests issue at
2346 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2348 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2349 (synopsis "Lightweight HTTP server")
2350 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2351 no non-core module dependencies. It can be used for building a standalone
2352 http-based UI to your existing tools.")
2353 (license (package-license perl))))
2355 (define-public perl-http-tiny
2357 (name "perl-http-tiny")
2362 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2363 "HTTP-Tiny-" version ".tar.gz"))
2366 "1bwy31xrcz5zfx1n3vc50vj1aqvzn5ccr7lgacl8wmi03a6w2af2"))))
2367 (build-system perl-build-system)
2369 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2370 ("perl-io-socket-ip" ,perl-io-socket-ip)
2371 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2372 ("perl-net-ssleay" ,perl-net-ssleay)))
2373 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2374 (synopsis "HTTP/1.1 client")
2375 (description "This is a very simple HTTP/1.1 client, designed for doing
2376 simple requests without the overhead of a large framework like LWP::UserAgent.
2377 It supports proxies and redirection. It also correctly resumes after EINTR.")
2378 (license (package-license perl))))
2380 (define-public perl-io-html
2382 (name "perl-io-html")
2387 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2391 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2392 (build-system perl-build-system)
2393 (license (package-license perl))
2394 (synopsis "Perl module to open an HTML file with automatic charset detection")
2396 "IO::HTML provides an easy way to open a file containing HTML while
2397 automatically determining its encoding. It uses the HTML5 encoding sniffing
2398 algorithm specified in section 8.2.2.1 of the draft standard.")
2399 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2401 (define-public perl-io-socket-ip
2403 (name "perl-io-socket-ip")
2408 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2409 "IO-Socket-IP-" version ".tar.gz"))
2412 "0ky20hmln6waipzqikizyw04vpszf70fgpshz7ib8zv8480ri456"))))
2413 (build-system perl-build-system)
2414 (native-inputs `(("perl-module-build" ,perl-module-build)))
2415 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2416 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2417 (description "This module provides a protocol-independent way to use IPv4
2418 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2419 (license (package-license perl))))
2421 (define-public perl-io-socket-ssl
2423 (name "perl-io-socket-ssl")
2427 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2428 "IO-Socket-SSL-" version ".tar.gz"))
2431 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2432 (patches (search-patches
2433 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2434 (build-system perl-build-system)
2436 `(("perl-net-ssleay" ,perl-net-ssleay)
2438 ("perl-uri" ,perl-uri)))
2439 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2441 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2442 necessary functionality into the familiar IO::Socket interface and providing
2443 secure defaults whenever possible. This way existing applications can be made
2444 SSL-aware without much effort, at least if you do blocking I/O and don't use
2446 (license (package-license perl))
2447 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2449 (define-public perl-libwww
2451 (name "perl-libwww")
2456 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
2460 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
2461 (build-system perl-build-system)
2463 `(("perl-encode-locale" ,perl-encode-locale)
2464 ("perl-file-listing" ,perl-file-listing)
2465 ("perl-html-parser" ,perl-html-parser)
2466 ("perl-http-cookies" ,perl-http-cookies)
2467 ("perl-http-daemon" ,perl-http-daemon)
2468 ("perl-http-date" ,perl-http-date)
2469 ("perl-http-message" ,perl-http-message)
2470 ("perl-http-negotiate" ,perl-http-negotiate)
2471 ("perl-net-http" ,perl-net-http)
2472 ("perl-uri" ,perl-uri)
2473 ("perl-www-robotrules" ,perl-www-robotrules)))
2474 (license (package-license perl))
2475 (synopsis "Perl modules for the WWW")
2477 "The libwww-perl collection is a set of Perl modules which provides a
2478 simple and consistent application programming interface to the
2479 World-Wide Web. The main focus of the library is to provide classes
2480 and functions that allow you to write WWW clients. The library also
2481 contains modules that are of more general use and even classes that
2482 help you implement simple HTTP servers.")
2483 (home-page "http://search.cpan.org/dist/libwww-perl/")))
2485 (define-public perl-lwp-mediatypes
2487 (name "perl-lwp-mediatypes")
2492 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
2496 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
2497 (build-system perl-build-system)
2498 (license (package-license perl))
2499 (synopsis "Perl module to guess the media type for a file or a URL")
2501 "The LWP::MediaTypes module provides functions for handling media (also
2502 known as MIME) types and encodings. The mapping from file extensions to
2503 media types is defined by the media.types file. If the ~/.media.types file
2504 exists it is used instead.")
2505 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
2507 (define-public perl-lwp-protocol-https
2509 (name "perl-lwp-protocol-https")
2514 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
2515 "LWP-Protocol-https-" version ".tar.gz"))
2518 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
2519 (build-system perl-build-system)
2521 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2522 ("perl-libwww" ,perl-libwww)
2523 ;; Users should instead make sure SSL_ca_path is set properly.
2524 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
2525 ("perl-net-http" ,perl-net-http)))
2526 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
2527 (synopsis "HTTPS support for LWP::UserAgent")
2528 (description "The LWP::Protocol::https module provides support for using
2529 https schemed URLs with LWP.")
2530 (license (package-license perl))))
2532 (define-public perl-lwp-useragent-determined
2534 (name "perl-lwp-useragent-determined")
2539 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
2540 "LWP-UserAgent-Determined-" version ".tar.gz"))
2543 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
2544 (build-system perl-build-system)
2546 `(("perl-libwww" ,perl-libwww)))
2547 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
2548 (synopsis "Virtual browser that retries errors")
2549 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
2550 except that when you use it to get a web page but run into a
2551 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
2552 and retry a few times.")
2553 (license (package-license perl))))
2555 (define-public perl-net-amazon-s3
2557 (name "perl-net-amazon-s3")
2562 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
2563 "Net-Amazon-S3-" version ".tar.gz"))
2566 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
2567 (patches (search-patches
2568 "perl-net-amazon-s3-moose-warning.patch"))))
2569 (build-system perl-build-system)
2571 `(("perl-libwww" ,perl-libwww)
2572 ("perl-test-exception" ,perl-test-exception)))
2574 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
2575 ("perl-datetime-format-http" ,perl-datetime-format-http)
2576 ("perl-digest-hmac" ,perl-digest-hmac)
2577 ("perl-digest-md5-file" ,perl-digest-md5-file)
2578 ("perl-file-find-rule" ,perl-file-find-rule)
2579 ("perl-http-date" ,perl-http-date)
2580 ("perl-http-message" ,perl-http-message)
2581 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
2582 ("perl-mime-types" ,perl-mime-types)
2583 ("perl-moose" ,perl-moose)
2584 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
2585 ("perl-moosex-types-datetime-morecoercions"
2586 ,perl-moosex-types-datetime-morecoercions)
2587 ("perl-path-class" ,perl-path-class)
2588 ("perl-regexp-common" ,perl-regexp-common)
2589 ("perl-term-encoding" ,perl-term-encoding)
2590 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
2591 ("perl-uri" ,perl-uri)
2592 ("perl-xml-libxml" ,perl-xml-libxml)))
2593 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
2594 (synopsis "Perl interface to Amazon S3")
2595 (description "This module provides a Perlish interface to Amazon S3.")
2596 (license (package-license perl))))
2598 (define-public perl-net-http
2600 (name "perl-net-http")
2605 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
2609 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
2610 (build-system perl-build-system)
2612 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2613 ("perl-uri" ,perl-uri)))
2614 (license (package-license perl))
2615 (synopsis "Perl low-level HTTP connection (client)")
2617 "The Net::HTTP class is a low-level HTTP client. An instance of the
2618 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
2619 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
2621 (home-page "http://search.cpan.org/dist/Net-HTTP")))
2623 (define-public perl-net-server
2625 (name "perl-net-server")
2630 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
2631 "Net-Server-" version ".tar.gz"))
2634 "182gfikn7r40kmm3d35m2qc6r8g0y1j8gxbn9ffaawf8xmm0a889"))))
2635 (build-system perl-build-system)
2636 (home-page "http://search.cpan.org/dist/Net-Server")
2637 (synopsis "Extensible Perl server engine")
2638 (description "Net::Server is an extensible, generic Perl server engine.
2639 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
2640 It includes with it the ability to run as an inetd
2641 process (Net::Server::INET), a single connection server (Net::Server or
2642 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
2643 server which maintains a constant number of preforked
2644 children (Net::Server::PreForkSimple), or as a managed preforking server which
2645 maintains the number of children based on server load (Net::Server::PreFork).
2646 In all but the inetd type, the server provides the ability to connect to one
2647 or to multiple server ports.")
2648 (license (package-license perl))))
2650 (define-public perl-net-smtp-ssl
2652 (name "perl-net-smtp-ssl")
2657 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
2658 "Net-SMTP-SSL-" version ".tar.gz"))
2661 "05y94mb1vdw32mvwb0cp2h4ggh32f8j8nwwfjb8kjwxvfkfhyp9h"))))
2662 (build-system perl-build-system)
2664 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
2665 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
2666 (synopsis "SSL support for Net::SMTP")
2667 (description "SSL support for Net::SMTP.")
2668 (license (package-license perl))))
2670 (define-public perl-plack
2677 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2678 "Plack-" version ".tar.gz"))
2681 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
2682 (build-system perl-build-system)
2684 `(("perl-test-requires" ,perl-test-requires)
2685 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
2687 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
2688 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
2689 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
2690 ("perl-file-sharedir" ,perl-file-sharedir)
2691 ("perl-hash-multivalue" ,perl-hash-multivalue)
2692 ("perl-http-body" ,perl-http-body)
2693 ("perl-http-message" ,perl-http-message)
2694 ("perl-http-tiny" ,perl-http-tiny)
2695 ("perl-libwww" ,perl-libwww)
2696 ("perl-stream-buffered" ,perl-stream-buffered)
2697 ("perl-test-tcp" ,perl-test-tcp)
2698 ("perl-try-tiny" ,perl-try-tiny)
2699 ("perl-uri" ,perl-uri)))
2700 (home-page "http://search.cpan.org/dist/Plack")
2701 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
2702 (description "Plack is a set of tools for using the PSGI stack. It
2703 contains middleware components, a reference server, and utilities for Web
2704 application frameworks. Plack is like Ruby's Rack or Python's Paste for
2706 (license (package-license perl))))
2708 (define-public perl-plack-middleware-fixmissingbodyinredirect
2710 (name "perl-plack-middleware-fixmissingbodyinredirect")
2715 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2716 "Plack-Middleware-FixMissingBodyInRedirect-"
2720 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
2721 (build-system perl-build-system)
2723 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
2724 ("perl-http-message" ,perl-http-message)
2725 ("perl-plack" ,perl-plack))) ;for Plack::Test
2727 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
2728 (synopsis "Plack::Middleware which sets body for redirect response")
2729 (description "This module sets the body in redirect response, if it's not
2731 (license (package-license perl))))
2733 (define-public perl-plack-middleware-methodoverride
2735 (name "perl-plack-middleware-methodoverride")
2740 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
2741 "Plack-Middleware-MethodOverride-"
2745 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
2746 (build-system perl-build-system)
2748 `(("perl-module-build" ,perl-module-build)))
2750 `(("perl-plack" ,perl-plack)))
2751 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
2752 (synopsis "Override REST methods to Plack apps via POST")
2753 (description "This middleware allows for POST requests that pretend to be
2754 something else: by adding either a header named X-HTTP-Method-Override to the
2755 request, or a query parameter named x-tunneled-method to the URI, the client
2756 can say what method it actually meant.")
2757 (license (package-license perl))))
2759 (define-public perl-plack-middleware-removeredundantbody
2761 (name "perl-plack-middleware-removeredundantbody")
2766 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
2767 "Plack-Middleware-RemoveRedundantBody-"
2771 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
2772 (build-system perl-build-system)
2774 `(("perl-plack" ,perl-plack)))
2776 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
2777 (synopsis "Plack::Middleware which removes body for HTTP response")
2778 (description "This module removes the body in an HTTP response if it's not
2780 (license (package-license perl))))
2782 (define-public perl-plack-middleware-reverseproxy
2784 (name "perl-plack-middleware-reverseproxy")
2789 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2790 "Plack-Middleware-ReverseProxy-"
2794 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
2795 (build-system perl-build-system)
2797 `(("perl-plack" ,perl-plack)))
2798 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
2799 (synopsis "Supports app to run as a reverse proxy backend")
2800 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
2801 which are changed by reverse-proxy. You can specify the reverse proxy address
2802 and stop fake requests using 'enable_if' directive in your app.psgi.")
2803 (license (package-license perl))))
2805 (define-public perl-plack-test-externalserver
2807 (name "perl-plack-test-externalserver")
2812 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2813 "Plack-Test-ExternalServer-" version ".tar.gz"))
2816 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
2817 (build-system perl-build-system)
2819 `(("perl-plack" ,perl-plack)))
2820 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
2821 (synopsis "Run HTTP tests on external live servers")
2822 (description "This module allows your to run your Plack::Test tests
2823 against an external server instead of just against a local application through
2824 either mocked HTTP or a locally spawned server.")
2825 (license (package-license perl))))
2827 (define-public perl-test-tcp
2829 (name "perl-test-tcp")
2834 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
2835 "Test-TCP-" version ".tar.gz"))
2838 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
2839 (build-system perl-build-system)
2841 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
2842 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
2843 (home-page "http://search.cpan.org/dist/Test-TCP")
2844 (synopsis "Testing TCP programs")
2845 (description "Test::TCP is test utilities for TCP/IP programs.")
2846 (license (package-license perl))))
2848 (define-public perl-test-www-mechanize
2850 (name "perl-test-www-mechanize")
2855 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2856 "Test-WWW-Mechanize-" version ".tar.gz"))
2859 "062pj242vsc73bw11jqpap92ax9wzc9f2m4xhyp1wzrwkfchpl2q"))))
2860 (build-system perl-build-system)
2862 `(("perl-test-exception" ,perl-test-exception)))
2864 `(("perl-carp-assert-more" ,perl-carp-assert-more)
2865 ("perl-html-form" ,perl-html-form)
2866 ("perl-html-lint" ,perl-html-lint)
2867 ("perl-html-tree" ,perl-html-tree)
2868 ("perl-http-server-simple" ,perl-http-server-simple)
2869 ("perl-libwww" ,perl-libwww)
2870 ("perl-test-longstring" ,perl-test-longstring)
2871 ("perl-www-mechanize" ,perl-www-mechanize)))
2872 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
2873 (synopsis "Testing-specific WWW::Mechanize subclass")
2874 (description "Test::WWW::Mechanize is a subclass of the Perl module
2875 WWW::Mechanize that incorporates features for web application testing.")
2876 (license l:artistic2.0)))
2878 (define-public perl-test-www-mechanize-catalyst
2880 (name "perl-test-www-mechanize-catalyst")
2885 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
2886 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
2889 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
2890 (build-system perl-build-system)
2892 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
2893 ("perl-catalyst-plugin-session-state-cookie"
2894 ,perl-catalyst-plugin-session-state-cookie)
2895 ("perl-test-exception" ,perl-test-exception)
2896 ("perl-test-pod" ,perl-test-pod)
2897 ("perl-test-utf8" ,perl-test-utf8)))
2899 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
2900 ("perl-class-load" ,perl-class-load)
2901 ("perl-libwww" ,perl-libwww)
2902 ("perl-moose" ,perl-moose)
2903 ("perl-namespace-clean" ,perl-namespace-clean)
2904 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
2905 ("perl-www-mechanize" ,perl-www-mechanize)))
2906 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
2907 (synopsis "Test::WWW::Mechanize for Catalyst")
2908 (description "The Test::WWW::Mechanize::Catalyst module meshes the
2909 Test::WWW:Mechanize module and the Catalyst web application framework to allow
2910 testing of Catalyst applications without needing to start up a web server.")
2911 (license (package-license perl))))
2913 (define-public perl-test-www-mechanize-psgi
2915 (name "perl-test-www-mechanize-psgi")
2920 (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
2921 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
2924 "1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
2925 (build-system perl-build-system)
2927 `(("perl-test-pod" ,perl-test-pod)))
2929 `(("perl-plack" ,perl-plack)
2930 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
2931 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
2932 (synopsis "Test PSGI programs using WWW::Mechanize")
2933 (description "PSGI is a specification to decouple web server environments
2934 from web application framework code. Test::WWW::Mechanize is a subclass of
2935 WWW::Mechanize that incorporates features for web application testing. The
2936 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
2938 (license (package-license perl))))
2940 (define-public perl-uri
2946 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
2947 "URI-" version ".tar.gz"))
2950 "05a1ck1bhvqkkk690xhsxf7276dnagk96qkh2jy4prrrgw6wm3lw"))))
2951 (build-system perl-build-system)
2952 (license (package-license perl))
2953 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
2955 "The URI module implements the URI class. Objects of this class
2956 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
2957 and updated by RFC 2732.")
2958 (home-page "http://search.cpan.org/dist/URI/")))
2960 (define-public perl-uri-fetch
2962 (name "perl-uri-fetch")
2966 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
2967 "URI-Fetch-" version ".tar.gz"))
2970 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
2971 (build-system perl-build-system)
2973 `(#:tests? #f)) ; Tests require internet connection to succeed
2975 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2976 ("perl-libwww" ,perl-libwww)
2977 ("perl-uri" ,perl-uri)))
2978 (home-page "http://search.cpan.org/dist/URI-Fetch")
2979 (synopsis "Smart URI fetching/caching")
2980 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
2981 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
2982 and time-saving way.")
2983 (license (package-license perl))))
2985 (define-public perl-uri-find
2987 (name "perl-uri-find")
2988 (version "20140709")
2992 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
2993 "URI-Find-" version ".tar.gz"))
2996 "0czc4h182s7sx3k123m7qlg7yybnwxgh369hap3c3b6xgrglrhy0"))))
2997 (build-system perl-build-system)
2999 `(("perl-module-build" ,perl-module-build)))
3001 `(("perl-uri" ,perl-uri)))
3002 (home-page "http://search.cpan.org/dist/URI-Find")
3003 (synopsis "Find URIs in arbitrary text")
3004 (description "This module finds URIs and URLs (according to what URI.pm
3005 considers a URI) in plain text. It only finds URIs which include a
3006 scheme (http:// or the like), for something a bit less strict, consider
3007 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3008 (license (package-license perl))))
3010 (define-public perl-uri-ws
3012 (name "perl-uri-ws")
3017 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3018 "URI-ws-" version ".tar.gz"))
3021 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3022 (build-system perl-build-system)
3024 `(("perl-uri" ,perl-uri)))
3025 (home-page "http://search.cpan.org/dist/URI-ws")
3026 (synopsis "WebSocket support for URI package")
3027 (description "With this module, the URI package provides the same set of
3028 methods for WebSocket URIs as it does for HTTP URIs.")
3029 (license (package-license perl))))
3031 (define-public perl-uri-template
3033 (name "perl-uri-template")
3037 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3041 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3042 (build-system perl-build-system)
3044 `(("perl-uri" ,perl-uri)))
3046 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3047 ("perl-test-pod" ,perl-test-pod)
3048 ("perl-json" ,perl-json)))
3049 (home-page "http://search.cpan.org/dist/URI-Template")
3050 (synopsis "Object for handling URI templates")
3051 (description "This perl module provides a wrapper around URI templates as described in
3053 (license (package-license perl))))
3055 (define-public perl-www-curl
3057 (name "perl-www-curl")
3062 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3064 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3067 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3068 (build-system perl-build-system)
3070 '(#:tests? #f)) ;XXX: tests require network access
3071 (inputs `(("curl" ,curl)))
3072 (synopsis "Perl extension interface for libcurl")
3074 "This is a Perl extension interface for the libcurl file downloading
3076 (license (package-license perl))
3077 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3079 (define-public perl-www-mechanize
3081 (name "perl-www-mechanize")
3086 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3087 "WWW-Mechanize-" version ".tar.gz"))
3090 "1zrw8aadhwy48q51x2z2rqlkwf17bya4j4h3hy89mw783j96rmg9"))))
3091 (build-system perl-build-system)
3092 (native-inputs ;only for tests
3093 `(("perl-cgi" ,perl-cgi)))
3095 `(("perl-html-form" ,perl-html-form)
3096 ("perl-html-parser" ,perl-html-parser)
3097 ("perl-http-message" ,perl-http-message)
3098 ("perl-http-server-simple" ,perl-http-server-simple)
3099 ("perl-libwww" ,perl-libwww)
3100 ("perl-test-warn" ,perl-test-warn)
3101 ("perl-uri" ,perl-uri)))
3102 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3103 (synopsis "Web browsing in a Perl object")
3104 (description "WWW::Mechanize is a Perl module for stateful programmatic
3105 web browsing, used for automating interaction with websites.")
3106 (license (package-license perl))))
3108 (define-public perl-www-opensearch
3110 (name "perl-www-opensearch")
3114 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3115 "WWW-OpenSearch-" version ".tar.gz"))
3118 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3119 (build-system perl-build-system)
3121 `(#:tests? #f)) ; Tests require further modules to be packaged
3123 `(("perl-data-page" ,perl-data-page)
3124 ("perl-libwww" ,perl-libwww)
3125 ("perl-uri" ,perl-uri)
3126 ("perl-uri-template" ,perl-uri-template)
3127 ("perl-xml-feed" ,perl-xml-feed)
3128 ("perl-xml-libxml" ,perl-xml-libxml)))
3129 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3130 (synopsis "Search A9 OpenSearch compatible engines")
3132 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3133 http://opensearch.a9.com} compatible search engines.")
3134 (license (package-license perl))))
3136 (define-public perl-www-robotrules
3138 (name "perl-www-robotrules")
3143 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3147 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3148 (build-system perl-build-system)
3150 `(("perl-uri" ,perl-uri)))
3151 (license (package-license perl))
3152 (synopsis "Perl database of robots.txt-derived permissions")
3154 "The WWW::RobotRules module parses /robots.txt files as specified in
3155 \"A Standard for Robot Exclusion\", at
3156 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3157 /robots.txt file to forbid conforming robots from accessing parts of
3159 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3161 (define-public python-feedparser
3163 (name "python-feedparser")
3168 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3171 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3172 (build-system python-build-system)
3176 "https://github.com/kurtmckee/feedparser")
3177 (synopsis "Parse feeds in Python")
3179 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3180 CDF, Atom 0.3, and Atom 1.0 feeds.")
3181 (license (list l:bsd-2 ; source code
3182 l:freebsd-doc)))) ; documentation
3184 (define-public python2-feedparser
3185 (package-with-python2 python-feedparser))
3187 (define-public r-httpuv
3193 (uri (cran-uri "httpuv" version))
3196 "0aibs0hf38n8f6xxx4g2i2lzd6l5h92m5pscx2z834sdvhnladxv"))))
3197 (build-system r-build-system)
3198 (native-inputs `(("r-rcpp" ,r-rcpp)))
3199 (home-page "https://github.com/rstudio/httpuv")
3200 (synopsis "HTTP and WebSocket server library for R")
3202 "The httpuv package provides low-level socket and protocol support for
3203 handling HTTP and WebSocket requests directly from within R. It is primarily
3204 intended as a building block for other packages, rather than making it
3205 particularly easy to create complete web applications using httpuv alone.")
3206 ;; This package includes third-party code that was originally released
3207 ;; under various non-copyleft licenses. Full licensing information can be
3208 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3211 (define-public r-jsonlite
3217 (uri (cran-uri "jsonlite" version))
3220 "0mrfzh0mxxrhqdmxai434wvyd7skkw28vxr7pyls19yrg941g6r3"))))
3221 (build-system r-build-system)
3222 (home-page "http://arxiv.org/abs/1403.2805")
3223 (synopsis "Robust, high performance JSON parser and generator for R")
3225 "The jsonlite package provides a fast JSON parser and generator optimized
3226 for statistical data and the web. It offers flexible, robust, high
3227 performance tools for working with JSON in R and is particularly powerful for
3228 building pipelines and interacting with a web API. In addition to converting
3229 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3230 and prettify JSON data. The unit tests included with the package verify that
3231 all edge cases are encoded and decoded consistently for use with dynamic data
3232 in systems and applications.")
3235 (define-public r-servr
3241 (uri (cran-uri "servr" version))
3244 "1fkqf5ynd1g0932qwv5nr70bw42m8vxpc9rhi0qxmdamwqcw8qjn"))))
3245 (build-system r-build-system)
3247 `(("r-httpuv" ,r-httpuv)
3248 ("r-jsonlite" ,r-jsonlite)
3249 ("r-mime" ,r-mime)))
3251 `(("r-rcpp" ,r-rcpp)))
3252 (home-page "https://github.com/yihui/servr")
3253 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3255 "Servr provides an HTTP server in R to serve static files, or dynamic
3256 documents that can be converted to HTML files (e.g., R Markdown) under a given
3260 (define-public r-htmltools
3262 (name "r-htmltools")
3266 (uri (cran-uri "htmltools" version))
3269 "0j9bf80grd6gwh7116m575pycv87c0wcwkxsz3gzzfs4aw3pxyr9"))))
3270 (build-system r-build-system)
3273 (modify-phases %standard-phases
3274 ;; See https://github.com/rstudio/htmltools/pull/68
3275 ;; The resource files are in the store and have mode 444. After
3276 ;; copying the files R fails to remove them again because it doesn't
3277 ;; have write access to them.
3278 (add-after 'unpack 'copy-files-without-mode
3280 (substitute* "R/html_dependency.R"
3281 (("file.copy\\(from, to, " prefix)
3282 (string-append prefix
3283 "copy.mode = FALSE, ")))
3286 `(("r-digest" ,r-digest)
3287 ("r-rcpp" ,r-rcpp)))
3288 (home-page "http://cran.r-project.org/web/packages/htmltools")
3289 (synopsis "R tools for HTML")
3291 "This package provides tools for HTML generation and output in R.")
3294 (define-public r-htmlwidgets
3296 (name "r-htmlwidgets")
3300 (uri (cran-uri "htmlwidgets" version))
3303 "1xh8aiaci5hi3r67ym7r37hm89m9vzywk292avnmaj125kq7w1d0"))))
3304 (build-system r-build-system)
3306 `(("r-htmltools" ,r-htmltools)
3307 ("r-jsonlite" ,r-jsonlite)
3308 ("r-yaml" ,r-yaml)))
3309 (home-page "https://github.com/ramnathv/htmlwidgets")
3310 (synopsis "HTML Widgets for R")
3312 "HTML widgets is a framework for creating HTML widgets that render in
3313 various contexts including the R console, R Markdown documents, and Shiny web
3317 (define-public r-htmltable
3319 (name "r-htmltable")
3324 (uri (cran-uri "htmlTable" version))
3327 "0x2f2hrbhvm53zqwn0ny9wxbk34nwf6zww8cx4bjy5ax15asdllm"))))
3328 (properties `((upstream-name . "htmlTable")))
3329 (build-system r-build-system)
3331 `(("r-knitr" ,r-knitr)
3332 ("r-magrittr" ,r-magrittr)
3333 ("r-stringr" ,r-stringr)))
3334 (home-page "http://gforge.se/packages/")
3335 (synopsis "Advanced tables for Markdown/HTML")
3337 "This package provides functions to build tables with advanced layout
3338 elements such as row spanners, column spanners, table spanners, zebra
3339 striping, and more. While allowing advanced layout, the underlying
3340 CSS-structure is simple in order to maximize compatibility with word
3341 processors such as LibreOffice. The package also contains a few text
3342 formatting functions that help outputting text compatible with HTML or
3346 (define-public r-curl
3352 (uri (cran-uri "curl" version))
3355 "0hyvyjzf5ja7kfhzmlfgp86hg1lxrriiwbnr6pxabwwslswj3cmj"))))
3356 (build-system r-build-system)
3359 (modify-phases %standard-phases
3360 ;; The environment variable CURL_CA_BUNDLE is only respected when
3361 ;; running Windows, so we disable the platform checks.
3362 ;; This can be removed once the libcurl has been patched.
3363 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3365 (substitute* "R/onload.R"
3366 (("if \\(!grepl\\(\"mingw\".*")
3368 (substitute* "src/handle.c"
3369 (("#ifdef _WIN32") "#if 1"))
3372 `(("libcurl" ,curl)))
3373 (home-page "https://github.com/jeroenooms/curl")
3374 (synopsis "HTTP client for R")
3376 "The @code{curl()} and @code{curl_download()} functions provide highly
3377 configurable drop-in replacements for base @code{url()} and
3378 @code{download.file()} with better performance, support for encryption, gzip
3379 compression, authentication, and other @code{libcurl} goodies. The core of
3380 the package implements a framework for performing fully customized requests
3381 where data can be processed either in memory, on disk, or streaming via the
3382 callback or connection interfaces.")
3385 (define-public r-hwriter
3392 (uri (cran-uri "hwriter" version))
3395 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
3396 (build-system r-build-system)
3397 (home-page "http://cran.r-project.org/web/packages/hwriter")
3398 (synopsis "Output R objects in HTML format")
3400 "This package provides easy-to-use and versatile functions to output R
3401 objects in HTML format.")
3402 (license l:lgpl2.1+)))
3404 (define-public r-rjson
3411 (uri (cran-uri "rjson" version))
3414 "1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
3415 (build-system r-build-system)
3416 (home-page "http://cran.r-project.org/web/packages/rjson")
3417 (synopsis "JSON library for R")
3419 "This package provides functions to convert R objects into JSON objects
3423 (define-public gumbo-parser
3425 (name "gumbo-parser")
3429 (uri (string-append "https://github.com/google/"
3430 "gumbo-parser/archive/v" version ".tar.gz"))
3431 (file-name (string-append name "-" version ".tar.gz"))
3434 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
3435 (build-system gnu-build-system)
3437 `(#:tests? #f ; tests require bundling googletest sources
3439 (modify-phases %standard-phases
3440 (add-after 'unpack 'bootstrap
3441 (lambda _ (zero? (system* "sh" "autogen.sh")))))))
3442 ;; The release tarball lacks the generated files.
3444 `(("autoconf" ,autoconf)
3445 ("automake" ,automake)
3446 ("libtool" ,libtool)))
3447 (home-page "https://github.com/google/gumbo-parser")
3448 (synopsis "HTML5 parsing library")
3450 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
3451 a pure C99 library.")
3452 (license l:asl2.0)))
3454 (define-public uwsgi
3460 (uri (string-append "http://projects.unbit.it/downloads/uwsgi-"
3464 "02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh"))))
3465 (build-system gnu-build-system)
3466 (outputs '("out" "python"))
3468 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
3469 ;; But there is no obvious way to run the real tests.
3472 (modify-phases %standard-phases
3474 ;; Configuration is done by writing an ini file.
3475 (lambda* (#:key outputs #:allow-other-keys)
3476 (let* ((out (assoc-ref outputs "out"))
3477 (bindir (string-append out "/bin"))
3478 (plugindir (string-append out "/lib/uwsgi")))
3479 ;; The build phase outputs files to these directories directly.
3482 ;; XXX: Enable other plugins.
3483 (call-with-output-file "buildconf/guix.ini"
3485 (format port "[uwsgi]
3491 plugins = cgi,python
3493 " bindir plugindir))))
3494 (setenv "PROFILE" "guix")
3497 ;; Move plugins into their own output.
3498 (lambda* (#:key outputs #:allow-other-keys)
3499 (let* ((out (assoc-ref outputs "out"))
3500 (plugindir (string-append out "/lib/uwsgi"))
3501 (python-plugin (string-append
3502 plugindir "/python_plugin.so")))
3503 (install-file python-plugin
3505 (assoc-ref outputs "python") "/lib/uwsgi"))
3506 (delete-file python-plugin)
3509 `(("pkg-config" ,pkg-config)
3510 ("python" ,python-wrapper)))
3512 `(("jansson" ,jansson)
3513 ("libxml2" ,libxml2)
3514 ("libyaml" ,libyaml)
3515 ("openssl" ,openssl)
3519 ("python" ,python)))
3520 (home-page "https://uwsgi-docs.readthedocs.org/")
3521 (synopsis "Application container server")
3523 "uWSGI presents a complete stack for networked/clustered web applications,
3524 implementing message/object passing, caching, RPC and process management.
3525 It uses the uwsgi protocol for all the networking/interprocess communications.")
3526 (license l:gpl2+))) ; with linking exception
3534 (uri (string-append "https://github.com/stedolan/" name
3535 "/releases/download/" name "-" version
3536 "/" name "-" version ".tar.gz"))
3539 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
3540 ;; This patch has been pushed and the vulnerability will be
3541 ;; fixed in the next release after 1.5.
3542 ;; https://github.com/stedolan/jq/issues/995
3543 (patches (search-patches "jq-CVE-2015-8863.patch"))))
3545 `(("oniguruma" ,oniguruma)))
3547 `(;; TODO fix gems to generate documentation
3549 ;;("bundler" ,bundler)
3550 ("valgrind" ,valgrind)))
3551 (build-system gnu-build-system)
3552 (home-page "http://stedolan.github.io/jq/")
3553 (synopsis "Command-line JSON processor")
3554 (description "jq is like sed for JSON data – you can use it to slice and
3555 filter and map and transform structured data with the same ease that sed, awk,
3556 grep and friends let you play with text. It is written in portable C. jq can
3557 mangle the data format that you have into the one that you want with very
3558 little effort, and the program to do so is often shorter and simpler than
3560 (license (list l:expat l:cc-by3.0))))
3562 (define-public uhttpmock
3569 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
3570 name "-" version ".tar.xz"))
3573 "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"))))
3574 (build-system glib-or-gtk-build-system)
3577 (modify-phases %standard-phases
3578 (add-before 'check 'use-empty-ssl-cert-file
3580 ;; Search for ca-certificates.crt files
3581 ;; during the check phase.
3582 (setenv "SSL_CERT_FILE" "/dev/null")
3585 `(("gobject-introspection" ,gobject-introspection)
3587 ("glib-networking" ,glib-networking)
3588 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3589 ("pkg-config" ,pkg-config)))
3591 `(("libsoup" ,libsoup)))
3592 (home-page "https://gitlab.com/groups/uhttpmock")
3593 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
3595 "Uhttpmock is a project for mocking web service APIs which use HTTP or
3596 HTTPS. It provides a library, libuhttpmock, which implements recording and
3597 playback of HTTP request/response traces.")
3598 (license l:lgpl2.1+)))
3603 (version "2012-05-31")
3607 "http://www.home.unix-ag.org/simon/woof-"
3611 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
3612 (build-system trivial-build-system)
3614 '(#:modules ((guix build utils))
3617 (use-modules (guix build utils))
3618 (let* ((source (assoc-ref %build-inputs "source"))
3619 (out (assoc-ref %outputs "out"))
3620 (bin (string-append out "/bin"))
3621 (python (assoc-ref %build-inputs "python")))
3623 (with-directory-excursion bin
3624 (copy-file source "woof")
3625 (patch-shebang "woof" (list (string-append python "/bin")))
3626 (chmod "woof" #o555))
3628 (inputs `(("python" ,python-2)))
3629 (home-page "http://www.home.unix-ag.org/simon/woof.html")
3630 (synopsis "Single file web server")
3631 (description "Woof (Web Offer One File) is a small simple web server that
3632 can easily be invoked on a single file. Your partner can access the file with
3633 tools they trust (e.g. wget).")
3636 (define-public netsurf
3643 (uri (string-append "https://download.netsurf-browser.org/"
3644 "netsurf/releases/source-full/netsurf-all-"
3648 "1vdldzcv42wykajmw8vbql0f1yd44gbx30kywfrrh2x3064ly609"))
3649 (modules '((guix build utils)))
3652 (substitute* "Makefile"
3653 ;; Do not clobber PKG_CONFIG_PATH from the environment
3654 (("PKG_CONFIG_PATH = \\$")
3655 "PKG_CONFIG_PATH := $(PKG_CONFIG_PATH):$")
3656 ;; Honor make variables
3657 (("shell cc") "shell $(CC)"))))
3658 (patches (search-patches "netsurf-about.patch"))))
3659 (build-system glib-or-gtk-build-system)
3661 `(("pkg-config" ,pkg-config)
3663 ("perl-html-parser" ,perl-html-parser)
3670 ("openssl" ,openssl)
3672 ("libjpeg" ,libjpeg)
3675 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
3676 ,(string-append "PREFIX=" %output))
3677 #:parallel-build? #f ;parallel builds not supported
3678 #:tests? #f ;no way to easily run from release tarball
3679 #:modules ((ice-9 rdelim)
3683 ,@%glib-or-gtk-build-system-modules)
3685 (modify-phases %standard-phases
3688 (call-with-output-file "netsurf/Makefile.config"
3691 NETSURF_GTK_RESOURCES := $(PREFIX)/share/netsurf/~@
3694 (add-after 'build 'adjust-welcome
3696 ;; First, fix some unended tags and simple substitutions
3697 (substitute* "netsurf/gtk/res/welcome.html"
3698 (("<(img|input)([^>]*)>" _ tag contents)
3699 (string-append "<" tag contents " />"))
3700 (("Licence") "License") ;prefer GNU spelling
3701 ((" open source") ", free software")
3702 (("web site") "website")
3703 ;; Prefer privacy-respecting default search engine
3704 (("www.google.co.uk") "www.duckduckgo.com/html")
3705 (("Google Search") "DuckDuckGo Search")
3706 (("name=\"btnG\"") ""))
3707 ;; Remove default links so it doesn't seem we're endorsing them
3708 (with-atomic-file-replacement "netsurf/gtk/res/welcome.html"
3710 ;; Leave the DOCTYPE header as is
3711 (display (read-line in 'concat) out)
3713 (let rec ((sxml (xml->sxml in)))
3714 ;; We'd like to use sxml-match here, but it can't
3715 ;; match against generic tag symbols...
3717 (`(div (@ (class "links")) . ,rest)
3724 (add-after 'install 'install-more
3725 (lambda* (#:key outputs #:allow-other-keys)
3726 (let* ((out (assoc-ref outputs "out"))
3727 (desktop (string-append out "/share/applications/"
3728 "netsurf.desktop")))
3729 (mkdir-p (dirname desktop))
3730 (copy-file "netsurf/gtk/res/netsurf-gtk.desktop"
3732 (substitute* desktop
3733 (("netsurf-gtk") (string-append out "/bin/netsurf"))
3734 (("netsurf.png") (string-append out "/share/netsurf/"
3736 (install-file "netsurf/Docs/netsurf-gtk.1"
3737 (string-append out "/share/man/man1/"))
3739 (home-page "https://www.netsurf-browser.org")
3740 (synopsis "Web browser")
3742 "NetSurf is a lightweight web browser that has its own layout and
3743 rendering engine entirely written from scratch. It is small and capable of
3744 handling many of the web standards in use today.")
3747 (define-public surfraw
3753 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
3754 name "-" version ".tar.gz"))
3757 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
3758 (build-system gnu-build-system)
3761 ("perl-www-opensearch" ,perl-www-opensearch)
3762 ("perl-html-parser" ,perl-html-parser)
3763 ("perl-libwww" ,perl-libwww)))
3764 (synopsis "Unix command line interface to the www")
3765 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
3766 provides a unix command line interface to a variety of popular www search engines
3767 and similar services.")
3768 (home-page "https://surfraw.alioth.debian.org/")
3769 (license l:public-domain)))
3771 (define-public darkhttpd
3777 ;; The darkhttpd release tarball URL fails to download with a
3778 ;; 'TLS warning alert'. Download from the darkhttpd git repo
3779 ;; until the problem has been fixed upstream.
3782 (url (string-append "https://unix4lyfe.org/git/darkhttpd"))
3783 (commit "41b68476c35270f47dcd2ddebe27cbcd87e43d41")))
3786 "0wi8dfgj4ic0fsy4dszl69xgxdxlwxz4c30vsw2i2dpnczgjm04k"))
3787 (file-name (string-append name "-" version "-checkout"))))
3788 (build-system gnu-build-system)
3790 `(#:make-flags '("CC=gcc")
3791 #:tests? #f ; No test suite
3793 (modify-phases %standard-phases
3796 (lambda* (#:key outputs #:allow-other-keys)
3797 (install-file "darkhttpd"
3798 (string-append (assoc-ref outputs "out")
3801 (synopsis "Simple static web server")
3802 (description "darkhttpd is a simple static web server. It is
3803 standalone and does not need inetd or ucspi-tcp. It does not need any
3804 config files---you only have to specify the www root.")
3805 (home-page "https://unix4lyfe.org/darkhttpd/")
3808 (define-public goaccess
3814 (uri (string-append "http://tar.goaccess.io/goaccess-"
3818 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
3819 (modules '((guix build utils)))
3821 '(substitute* "src/error.h"
3822 (("__DATE__") "\"1970-01-01\"")
3823 (("__TIME__") "\"00:00:00\"")))))
3824 (build-system gnu-build-system)
3826 ;; TODO: Add dependency on geoip-tools.
3828 ("ncurses" ,ncurses)))
3830 `(("pkg-config" ,pkg-config)))
3831 (home-page "https://goaccess.io")
3832 (synopsis "Analyze Web server logs in real time")
3834 "GoAccess is a real-time web log analyzer and interactive viewer that
3835 runs in a terminal or through your browser. It provides fast and valuable
3836 HTTP statistics for system administrators that require a visual server report
3840 (define-public httptunnel
3847 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
3848 name "-" version ".tar.gz"))
3851 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
3852 (modules '((guix build utils)))
3854 ;; Remove non-free IETF RFC documentation.
3855 '(delete-file-recursively "doc"))))
3856 (build-system gnu-build-system)
3859 (modify-phases %standard-phases
3860 ;; The default configure phase tries to pass environment variables as
3861 ;; command-line arguments, which confuses the ./configure script.
3863 (lambda* (#:key outputs #:allow-other-keys)
3864 (let* ((out (assoc-ref outputs "out")))
3865 (setenv "CONFIG_SHELL" (which "bash"))
3866 (zero? (system* "./configure"
3867 (string-append "--prefix=" out)))))))))
3868 (home-page "http://www.nocrew.org/software/httptunnel.html")
3869 (synopsis "Tunnel data connections through HTTP requests")
3870 (description "httptunnel creates a bidirectional virtual data connection
3871 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
3872 useful for users behind restrictive firewalls. As long as Web traffic is
3873 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
3874 tools like SSH (Secure Shell) to reach the outside world.")