1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2013 Aljosha Papsch <misc@rpapsch.de>
4 ;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
7 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
8 ;;; Copyright © 2015, 2016, 2017 Eric Bavier <bavier@member.fsf.org>
9 ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
10 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
11 ;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
12 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
13 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
14 ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
15 ;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
16 ;;; Copyright © 2016, 2017 ng0 <ng0@no-reply.pragmatique.xyz>
17 ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
18 ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
19 ;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
20 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
21 ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
22 ;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
24 ;;; This file is part of GNU Guix.
26 ;;; GNU Guix is free software; you can redistribute it and/or modify it
27 ;;; under the terms of the GNU General Public License as published by
28 ;;; the Free Software Foundation; either version 3 of the License, or (at
29 ;;; your option) any later version.
31 ;;; GNU Guix is distributed in the hope that it will be useful, but
32 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
33 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34 ;;; GNU General Public License for more details.
36 ;;; You should have received a copy of the GNU General Public License
37 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
39 (define-module (gnu packages web)
40 #:use-module (ice-9 match)
41 #:use-module ((guix licenses) #:prefix l:)
42 #:use-module (guix packages)
43 #:use-module (guix download)
44 #:use-module (guix git-download)
45 #:use-module (guix cvs-download)
46 #:use-module (guix utils)
47 #:use-module (guix build-system gnu)
48 #:use-module (guix build-system glib-or-gtk)
49 #:use-module (guix build-system perl)
50 #:use-module (guix build-system cmake)
51 #:use-module (guix build-system r)
52 #:use-module (guix build-system trivial)
53 #:use-module (guix build-system python)
54 #:use-module (gnu packages)
55 #:use-module (gnu packages apr)
56 #:use-module (gnu packages check)
57 #:use-module (gnu packages cran)
58 #:use-module (gnu packages documentation)
59 #:use-module (gnu packages docbook)
60 #:use-module (gnu packages autotools)
61 #:use-module (gnu packages compression)
62 #:use-module (gnu packages cyrus-sasl)
63 #:use-module (gnu packages databases)
64 #:use-module (gnu packages bison)
65 #:use-module (gnu packages flex)
66 #:use-module (gnu packages kerberos)
67 #:use-module (gnu packages gd)
68 #:use-module (gnu packages gettext)
69 #:use-module (gnu packages glib)
70 #:use-module (gnu packages gnome)
71 #:use-module (gnu packages gnu-doc)
72 #:use-module (gnu packages gnupg)
73 #:use-module (gnu packages gnuzilla)
74 #:use-module (gnu packages gperf)
75 #:use-module (gnu packages gtk)
76 #:use-module (gnu packages java)
77 #:use-module (gnu packages javascript)
78 #:use-module (gnu packages image)
79 #:use-module (gnu packages imagemagick)
80 #:use-module (gnu packages libidn)
81 #:use-module (gnu packages libunistring)
82 #:use-module (gnu packages lua)
83 #:use-module (gnu packages markup)
84 #:use-module (gnu packages ncurses)
85 #:use-module (gnu packages base)
86 #:use-module (gnu packages perl)
87 #:use-module (gnu packages python)
88 #:use-module (gnu packages pcre)
89 #:use-module (gnu packages pkg-config)
90 #:use-module (gnu packages valgrind)
91 #:use-module (gnu packages xml)
92 #:use-module (gnu packages curl)
93 #:use-module (gnu packages perl)
94 #:use-module (gnu packages texinfo)
95 #:use-module (gnu packages textutils)
96 #:use-module (gnu packages tls)
97 #:use-module (gnu packages statistics)
98 #:use-module (gnu packages version-control))
106 (uri (string-append "mirror://apache/httpd/httpd-"
110 "0fn1778mxhf78np2d8qlycg1c2ak18rxax41plahasca4clc3z3i"))
111 (patches (search-patches "httpd-CVE-2017-9798.patch"))))
112 (build-system gnu-build-system)
113 (native-inputs `(("pcre" ,pcre "bin"))) ;for 'pcre-config'
114 (inputs `(("apr" ,apr)
115 ("apr-util" ,apr-util)
117 ("perl" ,perl))) ; needed to run bin/apxs
119 `(#:test-target "test"
120 #:configure-flags (list "--enable-rewrite"
122 "--enable-vhost-alias"
124 "--enable-mime-magic"
125 (string-append "--sysconfdir="
126 (assoc-ref %outputs "out")
128 (synopsis "Featureful HTTP server")
130 "The Apache HTTP Server Project is a collaborative software development
131 effort aimed at creating a robust, commercial-grade, featureful, and
132 freely-available source code implementation of an HTTP (Web) server. The
133 project is jointly managed by a group of volunteers located around the world,
134 using the Internet and the Web to communicate, plan, and develop the server
135 and its related documentation.")
137 (home-page "https://httpd.apache.org/")))
145 (uri (string-append "https://nginx.org/download/nginx-"
149 "1yvnmj7vlykrqdi6amkvs63lva6qkxd98sqv0a8hz8w5ci1bz4w7"))))
150 (build-system gnu-build-system)
151 (inputs `(("pcre" ,pcre)
155 `(#:tests? #f ; no test target
157 (modify-phases %standard-phases
158 (add-before 'configure 'patch-/bin/sh
160 (substitute* "auto/feature"
161 (("/bin/sh") (which "sh")))
164 ;; The configure script is hand-written, not from GNU autotools.
165 (lambda* (#:key outputs #:allow-other-keys)
167 (list (string-append "--prefix=" (assoc-ref outputs "out"))
168 "--with-http_ssl_module"
169 "--with-http_v2_module"
172 ;; Even when not cross-building, we pass the
173 ;; --crossbuild option to avoid customizing for the
174 ;; kernel version on the build machine.
175 ,(let ((system "Linux") ; uname -s
176 (release "2.6.32") ; uname -r
178 (machine (match (or (%current-target-system)
180 ("x86_64-linux" "x86_64")
181 ("i686-linux" "i686")
182 ("mips64el-linux" "mips64")
183 ;; Prevent errors when querying
184 ;; this package on unsupported
185 ;; platforms, e.g. when running
186 ;; "guix package --search="
188 (string-append "--crossbuild="
189 system ":" release ":" machine)))))
191 (format #t "environment variable `CC' set to `gcc'~%")
192 (format #t "configure flags: ~s~%" flags)
193 (zero? (apply system* "./configure" flags)))))
194 (add-after 'install 'install-man-page
195 (lambda* (#:key outputs #:allow-other-keys)
196 (let* ((out (assoc-ref outputs "out"))
197 (man (string-append out "/share/man")))
198 (install-file "objs/nginx.8" (string-append man "/man8"))
200 (add-after 'install 'fix-root-dirs
201 (lambda* (#:key outputs #:allow-other-keys)
202 ;; 'make install' puts things in strange places, so we need to
203 ;; clean it up ourselves.
204 (let* ((out (assoc-ref outputs "out"))
205 (share (string-append out "/share/nginx")))
206 ;; This directory is empty, so get rid of it.
207 (rmdir (string-append out "/logs"))
208 ;; Example configuration and HTML files belong in
211 (rename-file (string-append out "/conf")
212 (string-append share "/conf"))
213 (rename-file (string-append out "/html")
214 (string-append share "/html"))))))))
215 (home-page "https://nginx.org")
216 (synopsis "HTTP and reverse proxy server")
218 "Nginx (\"engine X\") is a high-performance web and reverse proxy server
219 created by Igor Sysoev. It can be used both as a standalone web server
220 and as a proxy to reduce the load on back-end HTTP or mail servers.")
221 ;; Almost all of nginx is distributed under the bsd-2 license.
222 ;; The exceptions are:
223 ;; * The 'nginx-http-push' module is covered by the expat license.
224 ;; * The 'nginx-development-kit' module is mostly covered by bsd-3,
225 ;; except for two source files which are bsd-4 licensed.
226 (license (list l:bsd-2 l:expat l:bsd-3 l:bsd-4))))
235 ;; Upstream has disappeared
236 (uri (string-append "https://sources.archlinux.org/other/packages/fcgi/"
237 "fcgi-" version ".tar.gz"))
240 "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36"))
241 (patches (search-patches "fcgi-2.4.0-poll.patch"
242 "fcgi-2.4.0-gcc44-fixes.patch"))))
243 (build-system gnu-build-system)
244 ;; Parallel building is not supported.
245 (arguments `(#:parallel-build? #f))
246 (home-page "http://www.fastcgi.com")
247 (synopsis "Language-independent, high-performant extension to CGI")
248 (description "FastCGI is a language independent, scalable extension to CGI
249 that provides high performance without the limitations of server specific
251 ;; This package is released under the Open Market License, a variant of
252 ;; the Expat license, incompatible with the GPL.
253 (license (l:non-copyleft "file://LICENSE.TERMS"))))
255 (define-public fcgiwrap
262 (uri (string-append "https://github.com/gnosek/fcgiwrap/"
263 "archive/" version ".tar.gz"))
264 (file-name (string-append name "-" version ".tar.gz"))
267 "07y6s4mm86cv7p1ljz94sxnqa89y9amn3vzwsnbq5hrl4vdy0zac"))))
268 (build-system gnu-build-system)
270 `(#:tests? #f ; no tests included
271 #:make-flags (list "CC=gcc")
273 (modify-phases %standard-phases
274 (add-after 'unpack 'bootstrap
276 (zero? (system* "autoreconf" "-vif")))))))
278 `(("autoconf" ,autoconf)
279 ("automake" ,automake)
280 ("pkg-config" ,pkg-config)))
283 (home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
284 (synopsis "Simple server for running CGI applications over FastCGI")
285 (description "Fcgiwrap is a simple server for running CGI applications
286 over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
287 servers that may need it).")
290 (define-public starman
297 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
298 "Starman-" version ".tar.gz"))
301 "1sbb5rb3vs82rlh1fjkgkcmj5pj62b4y9si4ihh45sl9m8c2qxx5"))))
302 (build-system perl-build-system)
304 `(("perl-libwww" ,perl-libwww)
305 ("perl-module-build-tiny" ,perl-module-build-tiny)
306 ("perl-test-requires" ,perl-test-requires)))
308 `(("perl-data-dump" ,perl-data-dump)
309 ("perl-http-date" ,perl-http-date)
310 ("perl-http-message" ,perl-http-message)
311 ("perl-http-parser-xs" ,perl-http-parser-xs)
312 ("perl-net-server" ,perl-net-server)
313 ("perl-plack" ,perl-plack)
314 ("perl-test-tcp" ,perl-test-tcp)))
315 (home-page "http://search.cpan.org/dist/Starman")
316 (synopsis "PSGI/Plack web server")
317 (description "Starman is a PSGI perl web server that has unique features
318 such as high performance, preforking, signal support, superdaemon awareness,
319 and UNIX socket support.")
320 (license l:perl-license)))
322 (define-public icedtea-web
329 "http://icedtea.wildebeest.org/download/source/"
330 name "-" version ".tar.gz"))
333 "004kwrngyxxlrlzby4vzxjr0xcyngcdc9dfgnvi61ffnjr006ryf"))))
334 (build-system gnu-build-system)
337 (list "--disable-plugin" ;NPAPI plugins are obsolete nowadays.
338 (string-append "BIN_BASH=" (assoc-ref %build-inputs "bash")
340 (string-append "--with-jdk-home=" (assoc-ref %build-inputs "jdk")))))
341 (outputs '("out" "doc"))
343 `(("pkg-config" ,pkg-config)
347 ("jdk" ,icedtea "jdk")))
348 (home-page "http://icedtea.classpath.org/wiki/IcedTea-Web")
349 (synopsis "Java Web Start")
351 "IcedTea-Web is an implementation of the @dfn{Java Network Launching
352 Protocol}, also known as Java Web Start. This package provides tools and
353 libraries for working with JNLP applets.")
354 ;; The program is mainly GPL2+, with some individual files under LGPL2.1+
358 (define-public jansson
365 (string-append "http://www.digip.org/jansson/releases/jansson-"
369 "19fjgfwjfj99rqa3kf96x5rssj88siazggksgrikd6h4r9sd1l0a"))))
370 (build-system gnu-build-system)
371 (home-page "http://www.digip.org/jansson/")
372 (synopsis "JSON C library")
374 "Jansson is a C library for encoding, decoding and manipulating JSON
378 (define-public json-c
385 "https://s3.amazonaws.com/json-c_releases/releases/json-c-"
389 "08qibrq29a5v7g23wi5icy6l4fbfw90h9ccps6vq0bcklx8n84ra"))
390 (modules '((guix build utils)))
393 ;; Somehow 'config.h.in' is older than
394 ;; 'aclocal.m4', which would trigger a rule to
396 (set-file-time "config.h.in"
399 ;; Don't try to build with -Werror.
400 (substitute* (find-files "." "Makefile\\.in")
401 (("-Werror") ""))))))
402 (build-system gnu-build-system)
403 (arguments '(#:parallel-build? #f
404 #:parallel-tests? #f))
405 (home-page "https://github.com/json-c/json-c/wiki")
406 (synopsis "JSON implementation in C")
408 "JSON-C implements a reference counting object model that allows you to
409 easily construct JSON objects in C, output them as JSON formatted strings and
410 parse JSON formatted strings back into the C representation of JSON objects.")
413 (define-public krona-tools
420 "https://github.com/marbl/Krona/releases/download/v"
421 version "/KronaTools-" version ".tar"))
424 "0wvgllcqscsfb4xc09y3fqhx8i38pmr4w55vjs5y79wx56n710iq"))))
425 (build-system perl-build-system)
428 (modify-phases %standard-phases
429 ;; There is no configure or build steps.
432 ;; Install script "install.pl" expects the build directory to remain
433 ;; after installation, creating symlinks etc., so re-implement it
436 (lambda* (#:key outputs #:allow-other-keys)
437 (let ((bin (string-append (assoc-ref outputs "out") "/bin"))
438 (perl (string-append (assoc-ref outputs "out")
439 "/lib/perl5/site_perl/krona-tools/lib")))
443 (let* ((executable (string-append "scripts/" script ".pl")))
444 ;; Prefix executables with 'kt' as install script does.
445 (copy-file executable (string-append bin "/kt" script))))
447 "GetContigMagnitudes"
457 "ImportMETAREP-BLAST"
462 "ImportRDPComparison"
468 (copy-recursively directory
469 (string-append perl "/../" directory)))
470 (list "data" "img" "taxonomy" "src"))
471 (install-file "lib/KronaTools.pm" perl))))
472 (add-after 'install 'wrap-program
473 (lambda* (#:key inputs outputs #:allow-other-keys)
474 (let* ((out (assoc-ref outputs "out"))
475 (path (getenv "PERL5LIB")))
478 (wrap-program executable
479 `("PERL5LIB" ":" prefix
480 (,(string-append out "/lib/perl5/site_perl/krona-tools/lib")))))
481 (find-files (string-append out "/bin/") ".*")))))
483 (add-after 'wrap-program 'check
484 (lambda* (#:key inputs outputs #:allow-other-keys)
485 (with-directory-excursion "data"
486 (zero? (system* (string-append (assoc-ref outputs "out") "/bin/ktImportText")
490 (home-page "https://github.com/marbl/Krona/wiki")
491 (synopsis "Hierarchical data exploration with zoomable HTML5 pie charts")
493 "Krona is a flexible tool for exploring the relative proportions of
494 hierarchical data, such as metagenomic classifications, using a radial,
495 space-filling display. It is implemented using HTML5 and JavaScript, allowing
496 charts to be explored locally or served over the Internet, requiring only a
497 current version of any major web browser.")
500 (define-public rapidjson
507 "https://github.com/miloyip/rapidjson/archive/v"
509 (file-name (string-append name "-" version ".tar.gz"))
512 "13nrpvw8f1wx0ga7svbzld7pgrv8l172nangpipnj7jaf0lysz5z"))))
513 (build-system cmake-build-system)
515 `(,@(if (string-prefix? "aarch64" (or (%current-target-system)
518 (modify-phases %standard-phases
519 (add-after 'unpack 'patch-aarch-march-detection
521 (substitute* (find-files "." "^CMakeLists\\.txt$")
522 (("native") "armv8-a"))
525 (home-page "https://github.com/miloyip/rapidjson")
526 (synopsis "JSON parser/generator for C++ with both SAX/DOM style API")
528 "RapidJSON is a fast JSON parser/generator for C++ with both SAX/DOM
532 (define-public libyajl
538 (uri (string-append "https://github.com/lloyd/yajl/"
539 "archive/" version ".tar.gz"))
540 (file-name (string-append name "-" version ".tar.gz"))
543 "0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
544 (build-system cmake-build-system)
545 (home-page "https://lloyd.github.io/yajl/")
546 (synopsis "C library for parsing JSON")
548 "Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON
549 parser written in ANSI C and a small validating JSON generator.")
552 (define-public libwebsockets
554 (name "libwebsockets")
557 ;; The project does not publish tarballs, so we have to take
561 (url "https://github.com/warmcat/libwebsockets.git")
562 (commit (string-append "v" version
563 "-chrome37-firefox30"))))
566 "12fqh2d2098mgf0ls19p9lzibpsqhv7mc5rn1yvrbfnazmcr40g4"))
567 (file-name (string-append name "-" version))))
569 (build-system cmake-build-system)
571 ;; XXX: The thing lacks a 'make test' target, because CMakeLists.txt
572 ;; doesn't use 'add_test', and it's unclear how to run the test suite.
575 (native-inputs `(("perl" ,perl))) ; to build the HTML doc
576 (inputs `(("zlib" ,zlib)
577 ("openssl" ,openssl)))
578 (synopsis "WebSockets library written in C")
580 "Libwebsockets is a library that allows C programs to establish client
581 and server WebSockets connections---a protocol layered above HTTP that allows
582 for efficient socket-like bidirectional reliable communication channels.")
583 (home-page "http://libwebsockets.org/")
585 ;; This is LGPLv2.1-only with extra exceptions specified in 'LICENSE'.
586 (license l:lgpl2.1)))
588 (define-public libpsl
594 (uri (string-append "https://github.com/rockdaboot/libpsl/"
595 "releases/download/libpsl-" version
596 "/libpsl-" version ".tar.gz"))
599 "00iids8ldsqnnndmcfjp6kc00lv7fawf5l24mpbdbkh98yazgc4i"))))
600 (build-system gnu-build-system)
602 `(("pkg-config" ,pkg-config)))
604 `(("libidn2" ,libidn2)
605 ("libunistring" ,libunistring)
606 ("python-2" ,python-2)))
607 (home-page "https://github.com/rockdaboot/libpsl")
608 (synopsis "C library for the Publix Suffix List")
610 "A \"public suffix\" is a domain name under which Internet users can
611 directly register own names.
613 Browsers and other web clients can use it to avoid privacy-leaking
614 \"supercookies\", avoid privacy-leaking \"super domain\" certificates, domain
615 highlighting parts of the domain in a user interface, and sorting domain lists
618 Libpsl has built-in PSL data for fast access, allows to load PSL data from
619 files, checks if a given domain is a public suffix, provides immediate cookie
620 domain verification, finds the longest public part of a given domain, finds
621 the shortest private part of a given domain, works with international
622 domains (UTF-8 and IDNA2008 Punycode), is thread-safe, and handles IDNA2008
634 ":pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy")
636 (revision "2009-12-23")))
639 "14dsnmirjcrvwsffqp3as70qr6bbfaig2fv3zvs5g7005jrsbvpb"))
640 (patches (search-patches "tidy-CVE-2015-5522+5523.patch"))))
641 (build-system gnu-build-system)
643 '(#:phases (modify-phases %standard-phases
644 (add-after 'unpack 'bootstrap
645 (lambda* (#:key inputs #:allow-other-keys)
646 ;; configure.in and Makefile.am aren't in the root of the
648 (copy-recursively "build/gnuauto" ".")
649 (setenv "AUTOMAKE" "automake --foreign")
650 (zero? (system* "autoreconf" "-vfi")))))))
652 `(("automake" ,automake)
653 ("autoconf" ,autoconf)
654 ("libtool" ,libtool)))
655 (synopsis "HTML validator and tidier")
656 (description "HTML Tidy is a command-line tool and C library that can be
657 used to validate and fix HTML data.")
658 (home-page "http://tidy.sourceforge.net/")
659 (license (l:x11-style "file:///include/tidy.h"))))
661 (define-public tinyproxy
667 (uri (string-append "https://github.com/tinyproxy/tinyproxy/"
668 "releases/download/" version "/tinyproxy-"
672 "002hi97687czhfkwsjkr174yvlp10224qi6gd5s53z230bgls7x4"))))
673 (build-system gnu-build-system)
677 ;; For the log file, etc.
678 "--localstatedir=/var")
682 (lambda* (#:key inputs #:allow-other-keys #:rest args)
683 ;; Uncommenting the next two lines may assist in debugging
684 ;; (substitute* "docs/man5/Makefile" (("a2x") "a2x -v"))
685 ;; (setenv "XML_DEBUG_CATALOG" "1")
688 ;; All of the below are used to generate the documentation
689 ;; (Should they be propagated inputs of asciidoc ??)
690 (native-inputs `(("asciidoc" ,asciidoc)))
691 (home-page "https://tinyproxy.github.io/")
692 (synopsis "Light-weight HTTP/HTTPS proxy daemon")
693 (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
694 daemon. Designed from the ground up to be fast and yet small, it is an ideal
695 solution for use cases such as embedded deployments where a full featured HTTP
696 proxy is required, but the system resources for a larger proxy are
700 (define-public polipo
708 "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-"
712 "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2"))))
713 (native-inputs `(("texinfo" ,texinfo)))
714 (build-system gnu-build-system)
716 `(#:phases (modify-phases %standard-phases
718 #:make-flags (let ((out (assoc-ref %outputs "out")))
719 (list (string-append "PREFIX=" out)
720 (string-append "LOCAL_ROOT="
721 out "/share/polipo/www")
723 ;; No 'check' target.
725 (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/")
726 (synopsis "Small caching web proxy")
728 "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy
729 server). It was primarily designed to be used by one person or a small group
733 (define-public wwwoffle
739 (uri (string-append "https://www.gedanken.org.uk/software/"
740 "wwwoffle/download/wwwoffle-"
744 "1ihil1xq9dp21hf108khxbw6f3baq0w5c0j3af038y6lkmad4vdi"))))
745 (build-system gnu-build-system)
747 `(#:configure-flags '("--with-gnutls")
748 #:tests? #f)) ; no test target
749 (native-inputs `(("flex" ,flex)))
750 (inputs `(("gnutls" ,gnutls)
751 ("libcrypt", libgcrypt)))
752 (home-page "https://www.gedanken.org.uk/software/wwwoffle/")
753 (synopsis "Caching web proxy optimized for intermittent internet links")
754 (description "WWWOFFLE is a proxy web server that is especially good for
755 intermittent internet links. It can cache HTTP, HTTPS, FTP, and finger
756 protocols, and supports browsing and requesting pages while offline, indexing,
757 modifying pages and incoming and outgoing headers, monitoring pages for
758 changes, and much more.")
761 (define-public liboauth
767 (uri (string-append "mirror://sourceforge/liboauth/liboauth-"
771 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
772 (build-system gnu-build-system)
773 (arguments '(#:configure-flags '("--enable-nss")))
774 (native-inputs `(("pkg-config" ,pkg-config)))
778 (home-page "https://sourceforge.net/projects/liboauth")
779 (synopsis "C library implementing the OAuth API")
781 "liboauth is a collection of C functions implementing the OAuth API.
782 liboauth provides functions to escape and encode strings according to OAuth
783 specifications and offers high-level functionality built on top to sign
784 requests or verify signatures using either NSS or OpenSSL for calculating the
786 ;; Source code may be distributed under either license.
787 (license (list l:expat l:gpl2+))))
789 (define-public libyaml
797 "http://pyyaml.org/download/libyaml/yaml-"
799 (patches (search-patches "libyaml-CVE-2014-9130.patch"))
802 "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx"))))
803 (build-system gnu-build-system)
804 (home-page "http://pyyaml.org/wiki/LibYAML")
805 (synopsis "YAML 1.1 parser and emitter written in C")
807 "LibYAML is a YAML 1.1 parser and emitter written in C.")
810 (define-public libquvi-scripts
812 (name "libquvi-scripts")
818 "mirror://sourceforge/quvi/" (version-major+minor version) "/"
819 name "/" name "-" version ".tar.xz"))
821 (base32 "0d0giry6bb57pnidymvdl7i5x9bq3ljk3g4bs294hcr5mj3cq0kw"))))
822 (build-system gnu-build-system)
823 (home-page "http://quvi.sourceforge.net/")
824 (synopsis "Media stream URL parser")
825 (description "This package contains support scripts called by libquvi to
826 parse media stream properties.")
827 (license l:lgpl2.1+)))
829 (define-public libquvi
837 "mirror://sourceforge/quvi/" (version-major+minor version) "/" name "/"
838 name "-" version ".tar.xz"))
840 (base32 "00x9gbmzc5cns0gnfag0hsphcr3cb33vbbb9s7ppvvd6bxz2z1mm"))))
841 (build-system gnu-build-system)
842 (native-inputs `(("pkg-config" ,pkg-config)))
845 ("cyrus-sasl" ,cyrus-sasl)
846 ("libquvi-scripts" ,libquvi-scripts)
851 ;; Lua provides no .pc file, so add CFLAGS/LIBS manually.
853 (let ((lua (assoc-ref %build-inputs "lua")))
855 (string-append "liblua_CFLAGS=-I" lua "/include")
856 (string-append "liblua_LIBS=-L" lua "/libs -llua")))))
857 (home-page "http://quvi.sourceforge.net/")
858 (synopsis "Media stream URL parser")
859 (description "libquvi is a library with a C API for parsing media stream
860 URLs and extracting their actual media files.")
861 (license l:lgpl2.1+)))
871 "mirror://sourceforge/" name "/" (version-major+minor version)
872 "/" name "/" name "-" version ".tar.xz"))
874 (base32 "09lhl6dv5zpryasx7yjslfrcdcqlsbwapvd5lg7w6sm5x5n3k8ci"))))
875 (build-system gnu-build-system)
876 (native-inputs `(("pkg-config" ,pkg-config)))
879 ("libquvi" ,libquvi)))
880 (home-page "http://quvi.sourceforge.net/")
881 (synopsis "Media stream URL parser")
882 (description "quvi is a command-line-tool suite to extract media files
883 from streaming URLs. It is a command-line wrapper for the libquvi library.")
884 (license l:lgpl2.1+)))
893 (uri (string-append "https://archive.apache.org/dist/serf/serf-"
896 (base32 "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l"))))
897 (build-system gnu-build-system)
900 ("python" ,python-2)))
903 ("apr-util" ,apr-util)
904 ("openssl" ,openssl)))
906 `(;; TODO: Fix build with gss.
910 `(#:modules ((guix build gnu-build-system)
914 ;; TODO: Add scons-build-system and use it here.
915 (modify-phases %standard-phases
917 (add-after 'unpack 'scons-propagate-environment
919 ;; By design, SCons does not, by default, propagate
920 ;; environment variables to subprocesses. See:
921 ;; <http://comments.gmane.org/gmane.linux.distributions.nixos/4969>
922 ;; Here, we modify the SConstruct file to arrange for
923 ;; environment variables to be propagated.
924 (substitute* "SConstruct"
925 (("^env = Environment\\(")
926 "env = Environment(ENV=os.environ, "))))
928 (lambda* (#:key inputs outputs #:allow-other-keys)
929 (let ((out (assoc-ref outputs "out"))
930 (apr (assoc-ref inputs "apr"))
931 (apr-util (assoc-ref inputs "apr-util"))
932 (openssl (assoc-ref inputs "openssl"))
933 ;;(gss (assoc-ref inputs "gss"))
934 (zlib (assoc-ref inputs "zlib")))
935 (zero? (system* "scons"
936 (string-append "APR=" apr)
937 (string-append "APU=" apr-util)
938 (string-append "OPENSSL=" openssl)
939 ;;(string-append "GSSAPI=" gss)
940 (string-append "ZLIB=" zlib)
941 (string-append "PREFIX=" out))))))
942 (add-before 'check 'disable-broken-tests
944 ;; These tests rely on SSL certificates that expired 2017-04-18.
945 ;; While there are newer certs available upstream, we don't want
946 ;; this package to suddenly "expire" some time in the future.
947 ;; https://bugs.gnu.org/26671
949 '("test_ssl_trust_rootca"
950 "test_ssl_certificate_chain_with_anchor"
951 "test_ssl_certificate_chain_all_from_server"
952 "test_ssl_no_servercert_callback_allok"
953 "test_ssl_large_response"
954 "test_ssl_large_request"
955 "test_ssl_client_certificate"
956 "test_ssl_future_server_cert"
957 "test_setup_ssltunnel"
958 "test_ssltunnel_basic_auth"
959 "test_ssltunnel_basic_auth_server_has_keepalive_off"
960 "test_ssltunnel_basic_auth_proxy_has_keepalive_off"
961 "test_ssltunnel_basic_auth_proxy_close_conn_on_200resp"
962 "test_ssltunnel_digest_auth")))
965 (substitute* "test/test_context.c"
966 (((string-append "SUITE_ADD_TEST\\(suite, " test "\\);")) "")))
969 (replace 'check (lambda _ (zero? (system* "scons" "check"))))
970 (replace 'install (lambda _ (zero? (system* "scons" "install")))))))
971 (home-page "https://serf.apache.org/")
972 (synopsis "High-performance asynchronous HTTP client library")
974 "serf is a C-based HTTP client library built upon the Apache Portable
975 Runtime (APR) library. It multiplexes connections, running the read/write
976 communication asynchronously. Memory copies and transformations are kept to a
977 minimum to provide high performance operation.")
978 ;; Most of the code is covered by the Apache License, Version 2.0, but the
979 ;; bundled CuTest framework uses a different non-copyleft license.
980 (license (list l:asl2.0 (l:non-copyleft "file://test/CuTest-README.txt")))))
983 ;; libsass must be statically linked and it isn't included in the sassc
984 ;; release tarballs, hence this odd package recipe.
985 (let* ((version "3.4.5")
990 "https://github.com/sass/libsass/archive/"
992 (file-name (string-append "libsass-" version ".tar.gz"))
995 "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x")))))
1001 (uri (string-append "https://github.com/sass/sassc/archive/"
1003 (file-name (string-append "sassc-" version ".tar.gz"))
1006 "1xk4kmmvziz9sal3swpqa10q0s289xjpcz8aggmly8mvxvmngsi9"))))
1007 (build-system gnu-build-system)
1011 (string-append "PREFIX=" (assoc-ref %outputs "out")))
1012 #:test-target "test"
1013 ;; FIXME: "make test" rebuilds the application and gets lost in a
1014 ;; non-existing directory.
1017 (modify-phases %standard-phases
1019 (add-after 'unpack 'unpack-libsass-and-set-path
1020 (lambda* (#:key inputs #:allow-other-keys)
1021 (and (zero? (system* "tar" "xvf" (assoc-ref inputs "libsass")))
1023 (setenv "SASS_LIBSASS_PATH"
1024 (string-append (getcwd) "/libsass-" ,version))
1027 `(("libsass" ,libsass)))
1028 (synopsis "CSS pre-processor")
1029 (description "SassC is a compiler written in C for the CSS pre-processor
1030 language known as SASS.")
1031 (home-page "http://sass-lang.com/libsass")
1032 (license l:expat))))
1035 (define-public perl-apache-logformat-compiler
1037 (name "perl-apache-logformat-compiler")
1042 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
1043 "Apache-LogFormat-Compiler-" version ".tar.gz"))
1046 "17blk3zhp05azgypn25ydxf3d7fyfgr9bxyiv7xkchhqma96vwqv"))))
1047 (build-system perl-build-system)
1049 `(("perl-http-message" ,perl-http-message)
1050 ("perl-module-build" ,perl-module-build)
1051 ("perl-test-mocktime" ,perl-test-mocktime)
1052 ("perl-try-tiny" ,perl-try-tiny)
1053 ("perl-uri" ,perl-uri)))
1055 `(("perl-posix-strftime-compiler" ,perl-posix-strftime-compiler)))
1056 (arguments `(#:tests? #f)) ;TODO: Timezone test failures
1057 (home-page "http://search.cpan.org/dist/Apache-LogFormat-Compiler")
1058 (synopsis "Compile a log format string to perl-code")
1059 (description "This module provides methods to compile a log format string
1060 to perl-code, for faster generation of access_log lines.")
1061 (license l:perl-license)))
1063 (define-public perl-authen-sasl
1065 (name "perl-authen-sasl")
1070 (uri (string-append "mirror://cpan/authors/id/G/GB/GBARR/"
1071 "Authen-SASL-" version ".tar.gz"))
1074 "02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
1075 (build-system perl-build-system)
1078 (modify-phases %standard-phases
1079 (add-after 'unpack 'set-env
1080 ;; Fix the build with Perl 5.26.0. Try removing this phase for later
1081 ;; versions of perl-authen-sasl.
1082 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
1084 `(("perl-digest-hmac" ,perl-digest-hmac)
1085 ("perl-gssapi" ,perl-gssapi)))
1086 (home-page "http://search.cpan.org/dist/Authen-SASL")
1087 (synopsis "SASL authentication framework")
1088 (description "Authen::SASL provides an SASL authentication framework.")
1089 (license l:perl-license)))
1091 (define-public perl-catalyst-action-renderview
1093 (name "perl-catalyst-action-renderview")
1098 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1099 "Catalyst-Action-RenderView-"
1103 "0j1rrld13cjk7ks92b5hv3xw4rfm2lvmksb4rlzd8mx0a0wj0rc5"))))
1104 (build-system perl-build-system)
1106 `(("perl-http-request-ascgi" ,perl-http-request-ascgi)
1107 ("perl-module-install" ,perl-module-install)))
1109 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1110 ("perl-data-visitor" ,perl-data-visitor)
1111 ("perl-mro-compat" ,perl-mro-compat)))
1112 (home-page "http://search.cpan.org/dist/Catalyst-Action-RenderView")
1113 (synopsis "Sensible default Catalyst action")
1114 (description "This Catalyst action implements a sensible default end
1115 action, which will forward to the first available view.")
1116 (license l:perl-license)))
1118 (define-public perl-catalyst-action-rest
1120 (name "perl-catalyst-action-rest")
1124 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1125 "Catalyst-Action-REST-" version ".tar.gz"))
1128 "1mpa64p61f3dp24xnhdraswch4sqj5vyv1iivcvvh5h0xi0haiy0"))))
1129 (build-system perl-build-system)
1131 `(("perl-test-requires" ,perl-test-requires)
1132 ("perl-module-install" ,perl-module-install)))
1134 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1135 ("perl-class-inspector" ,perl-class-inspector)
1136 ("perl-config-general" ,perl-config-general)
1137 ("perl-cpanel-json-xs" ,perl-cpanel-json-xs)
1138 ("perl-libwww" ,perl-libwww)
1139 ("perl-moose" ,perl-moose)
1140 ("perl-mro-compat" ,perl-mro-compat)
1141 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1142 ("perl-params-validate" ,perl-params-validate)
1143 ("perl-uri-find" ,perl-uri-find)
1144 ("perl-xml-simple" ,perl-xml-simple)))
1145 (home-page "http://search.cpan.org/dist/Catalyst-Action-REST")
1146 (synopsis "Automated REST Method Dispatching")
1147 (description "This Action handles doing automatic method dispatching for
1148 REST requests. It takes a normal Catalyst action, and changes the dispatch to
1149 append an underscore and method name. First it will try dispatching to an
1150 action with the generated name, and failing that it will try to dispatch to a
1152 (license l:perl-license)))
1154 (define-public perl-catalyst-authentication-store-dbix-class
1156 (name "perl-catalyst-authentication-store-dbix-class")
1161 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1162 "Catalyst-Authentication-Store-DBIx-Class-"
1166 "0i5ja7690fs9nhxcij6lw51j804sm8s06m5mvk1n8pi8jljrymvw"))))
1167 (build-system perl-build-system)
1169 `(("perl-catalyst-plugin-authorization-roles"
1170 ,perl-catalyst-plugin-authorization-roles)
1171 ("perl-catalyst-plugin-session-state-cookie"
1172 ,perl-catalyst-plugin-session-state-cookie)
1173 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
1174 ("perl-module-install" ,perl-module-install)
1175 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1177 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1178 ("perl-catalyst-plugin-authentication"
1179 ,perl-catalyst-plugin-authentication)
1180 ("perl-dbix-class" ,perl-dbix-class)
1181 ("perl-catalyst-model-dbic-schema" ,perl-catalyst-model-dbic-schema)))
1183 "http://search.cpan.org/dist/Catalyst-Authentication-Store-DBIx-Class")
1184 (synopsis "Storage class for Catalyst authentication using DBIx::Class")
1185 (description "The Catalyst::Authentication::Store::DBIx::Class class
1186 provides access to authentication information stored in a database via
1188 (license l:perl-license)))
1190 (define-public perl-catalyst-component-instancepercontext
1192 (name "perl-catalyst-component-instancepercontext")
1193 (version "0.001001")
1197 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
1198 "Catalyst-Component-InstancePerContext-"
1202 "0wfj4vnn2cvk6jh62amwlg050p37fcwdgrn9amcz24z6w4qgjqvz"))))
1203 (build-system perl-build-system)
1205 `(("perl-module-install" ,perl-module-install)))
1207 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1208 ("perl-moose" ,perl-moose)))
1210 "http://search.cpan.org/dist/Catalyst-Component-InstancePerContext")
1211 (synopsis "Create only one instance of Moose component per context")
1212 (description "Catalyst::Component::InstancePerContext returns a new
1213 instance of a component on each request.")
1214 (license l:perl-license)))
1216 (define-public perl-catalyst-devel
1218 (name "perl-catalyst-devel")
1223 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
1224 "Catalyst-Devel-" version ".tar.gz"))
1227 "12m50bbkggjmpxihv3wnvr0g2qng0zwhlzi5ygppjz8wh2x73qxw"))))
1228 (build-system perl-build-system)
1230 `(("perl-test-fatal" ,perl-test-fatal)))
1232 `(("perl-catalyst-action-renderview" ,perl-catalyst-action-renderview)
1233 ("perl-catalyst-plugin-configloader" ,perl-catalyst-plugin-configloader)
1234 ("perl-catalyst-plugin-static-simple" ,perl-catalyst-plugin-static-simple)
1235 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1236 ("perl-config-general" ,perl-config-general)
1237 ("perl-file-changenotify" ,perl-file-changenotify)
1238 ("perl-file-copy-recursive" ,perl-file-copy-recursive)
1239 ("perl-file-sharedir" ,perl-file-sharedir)
1240 ("perl-module-install" ,perl-module-install)
1241 ("perl-moose" ,perl-moose)
1242 ("perl-moosex-emulate-class-accessor-fast"
1243 ,perl-moosex-emulate-class-accessor-fast)
1244 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1245 ("perl-namespace-clean" ,perl-namespace-clean)
1246 ("perl-path-class" ,perl-path-class)
1247 ("perl-template-toolkit" ,perl-template-toolkit)))
1248 (home-page "http://search.cpan.org/dist/Catalyst-Devel")
1249 (synopsis "Catalyst Development Tools")
1250 (description "The Catalyst-Devel distribution includes a variety of
1251 modules useful for the development of Catalyst applications, but not required
1252 to run them. Catalyst-Devel includes the Catalyst::Helper system, which
1253 autogenerates scripts and tests; Module::Install::Catalyst, a Module::Install
1254 extension for Catalyst; and requirements for a variety of development-related
1256 (license l:perl-license)))
1258 (define-public perl-catalyst-dispatchtype-regex
1260 (name "perl-catalyst-dispatchtype-regex")
1265 (uri (string-append "mirror://cpan/authors/id/M/MG/MGRIMES/"
1266 "Catalyst-DispatchType-Regex-" version ".tar.gz"))
1269 "06jq1lmpq88rmp9zik5gqczg234xac0hiyc3l698iif7zsgcyb80"))))
1270 (build-system perl-build-system)
1272 `(("perl-module-build" ,perl-module-build) ;needs Module::Build >= 0.4004
1273 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1274 ("perl-catalyst-runtime" ,perl-catalyst-runtime)))
1276 `(("perl-moose" ,perl-moose)
1277 ("perl-text-simpletable" ,perl-text-simpletable)))
1278 (home-page "http://search.cpan.org/dist/Catalyst-DispatchType-Regex")
1279 (synopsis "Regex DispatchType for Catalyst")
1280 (description "Dispatch type managing path-matching behaviour using
1281 regexes. Regex dispatch types have been deprecated and removed from Catalyst
1282 core. It is recommend that you use Chained methods or other techniques
1283 instead. As part of the refactoring, the dispatch priority of Regex vs Regexp
1284 vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by
1285 when the dispatch type is first seen in your application.")
1286 (license l:perl-license)))
1288 (define-public perl-catalyst-model-dbic-schema
1290 (name "perl-catalyst-model-dbic-schema")
1295 (uri (string-append "mirror://cpan/authors/id/G/GB/GBJK/"
1296 "Catalyst-Model-DBIC-Schema-"
1300 "1spfjcjc0b9dv3k2gbanqj1m1cqzyxb32p76dhdwizzpbvpi3a96"))))
1301 (build-system perl-build-system)
1303 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
1304 ("perl-module-install" ,perl-module-install)
1305 ("perl-test-exception" ,perl-test-exception)
1306 ("perl-test-requires" ,perl-test-requires)))
1308 `(("perl-carp-clan" ,perl-carp-clan)
1309 ("perl-catalyst-component-instancepercontext"
1310 ,perl-catalyst-component-instancepercontext)
1311 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1312 ("perl-catalystx-component-traits" ,perl-catalystx-component-traits)
1313 ("perl-dbix-class" ,perl-dbix-class)
1314 ("perl-dbix-class-cursor-cached" ,perl-dbix-class-cursor-cached)
1315 ("perl-dbix-class-schema-loader" ,perl-dbix-class-schema-loader)
1316 ("perl-hash-merge" ,perl-hash-merge)
1317 ("perl-list-moreutils" ,perl-list-moreutils)
1318 ("perl-module-runtime" ,perl-module-runtime)
1319 ("perl-moose" ,perl-moose)
1320 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
1321 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
1322 ("perl-moosex-types" ,perl-moosex-types)
1323 ("perl-moosex-types-loadableclass" ,perl-moosex-types-loadableclass)
1324 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1325 ("perl-namespace-clean" ,perl-namespace-clean)
1326 ("perl-tie-ixhash" ,perl-tie-ixhash)
1327 ("perl-try-tiny" ,perl-try-tiny)))
1328 (home-page "http://search.cpan.org/dist/Catalyst-Model-DBIC-Schema")
1329 (synopsis "DBIx::Class::Schema Model Class")
1330 (description "This is a Catalyst Model for DBIx::Class::Schema-based
1332 (license l:perl-license)))
1334 (define-public perl-catalyst-plugin-accesslog
1336 (name "perl-catalyst-plugin-accesslog")
1341 (uri (string-append "mirror://cpan/authors/id/A/AR/ARODLAND/"
1342 "Catalyst-Plugin-AccessLog-" version ".tar.gz"))
1345 "0811rj45q4v2y8wka3wb9d5m4vbyhcmkvddf2wz4x69awzjbhgc7"))))
1346 (build-system perl-build-system)
1348 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1349 ("perl-datetime" ,perl-datetime)
1350 ("perl-moose" ,perl-moose)
1351 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1352 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-AccessLog")
1353 (synopsis "Request logging from within Catalyst")
1354 (description "This Catalyst plugin enables you to create \"access logs\"
1355 from within a Catalyst application instead of requiring a webserver to do it
1356 for you. It will work even with Catalyst debug logging turned off.")
1357 (license l:perl-license)))
1359 (define-public perl-catalyst-plugin-authentication
1361 (name "perl-catalyst-plugin-authentication")
1366 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1367 "Catalyst-Plugin-Authentication-"
1371 "0v6hb4r1wv3djrnqvnjcn3xx1scgqzx8nyjdg9lfc1ybvamrl0rn"))))
1372 (build-system perl-build-system)
1374 `(("perl-module-install" ,perl-module-install)))
1376 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1377 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1378 ("perl-class-inspector" ,perl-class-inspector)
1379 ("perl-moose" ,perl-moose)
1380 ("perl-moosex-emulate-class-accessor-fast"
1381 ,perl-moosex-emulate-class-accessor-fast)
1382 ("perl-mro-compat" ,perl-mro-compat)
1383 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1384 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1385 ("perl-test-exception" ,perl-test-exception)
1386 ("perl-try-tiny" ,perl-try-tiny)))
1387 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Authentication")
1388 (synopsis "Infrastructure plugin for the Catalyst authentication framework")
1389 (description "The authentication plugin provides generic user support for
1390 Catalyst apps. It is the basis for both authentication (checking the user is
1391 who they claim to be), and authorization (allowing the user to do what the
1392 system authorises them to do).")
1393 (license l:perl-license)))
1395 (define-public perl-catalyst-plugin-authorization-roles
1397 (name "perl-catalyst-plugin-authorization-roles")
1402 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1403 "Catalyst-Plugin-Authorization-Roles-"
1407 "0l83lkwmq0lngwh8b1rv3r719pn8w1gdbyhjqm74rnd0wbjl8h7f"))))
1408 (build-system perl-build-system)
1410 `(("perl-module-install" ,perl-module-install)
1411 ("perl-test-exception" ,perl-test-exception)))
1413 `(("perl-catalyst-plugin-authentication"
1414 ,perl-catalyst-plugin-authentication)
1415 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1416 ("perl-set-object" ,perl-set-object)
1417 ("perl-universal-isa" ,perl-universal-isa)))
1419 "http://search.cpan.org/dist/Catalyst-Plugin-Authorization-Roles")
1420 (synopsis "Role-based authorization for Catalyst")
1421 (description "Catalyst::Plugin::Authorization::Roles provides role-based
1422 authorization for Catalyst based on Catalyst::Plugin::Authentication.")
1423 (license l:perl-license)))
1425 (define-public perl-catalyst-plugin-captcha
1427 (name "perl-catalyst-plugin-captcha")
1432 (uri (string-append "mirror://cpan/authors/id/D/DI/DIEGOK/"
1433 "Catalyst-Plugin-Captcha-" version ".tar.gz"))
1436 "0llyj3v5nx9cx46jdbbvxf1lc9s9cxq5ml22xmx3wkb201r5qgaa"))))
1437 (build-system perl-build-system)
1439 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1440 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1441 ("perl-gd-securityimage" ,perl-gd-securityimage)
1442 ("perl-http-date" ,perl-http-date)))
1443 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Captcha")
1444 (synopsis "Captchas for Catalyst")
1445 (description "This plugin creates and validates Captcha images for
1447 (license l:perl-license)))
1449 (define-public perl-catalyst-plugin-configloader
1451 (name "perl-catalyst-plugin-configloader")
1456 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1457 "Catalyst-Plugin-ConfigLoader-"
1461 "19j7p4v7mbx6wrmpvmrnd974apx7hdl2s095ga3b9zcbdrl77h5q"))))
1462 (build-system perl-build-system)
1464 `(("perl-path-class" ,perl-path-class)
1465 ("perl-module-install" ,perl-module-install)))
1467 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1468 ("perl-config-any" ,perl-config-any)
1469 ("perl-data-visitor" ,perl-data-visitor)
1470 ("perl-mro-compat" ,perl-mro-compat)))
1471 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-ConfigLoader")
1472 (synopsis "Load config files of various types")
1473 (description "This module will attempt to load find and load configuration
1474 files of various types. Currently it supports YAML, JSON, XML, INI and Perl
1476 (license l:perl-license)))
1478 (define-public perl-catalyst-plugin-session
1480 (name "perl-catalyst-plugin-session")
1485 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1486 "Catalyst-Plugin-Session-" version ".tar.gz"))
1489 "171vi9xcl775scjaw4fcfdmqvz0rb1nr0xxg2gb3ng6bjzpslhgv"))))
1490 (build-system perl-build-system)
1492 `(("perl-module-install" ,perl-module-install)
1493 ("perl-test-deep" ,perl-test-deep)
1494 ("perl-test-exception" ,perl-test-exception)))
1496 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1497 ("perl-moose" ,perl-moose)
1498 ("perl-moosex-emulate-class-accessor-fast"
1499 ,perl-moosex-emulate-class-accessor-fast)
1500 ("perl-mro-compat" ,perl-mro-compat)
1501 ("perl-namespace-clean" ,perl-namespace-clean)
1502 ("perl-object-signature" ,perl-object-signature)
1503 ("perl-test-www-mechanize-psgi" ,perl-test-www-mechanize-psgi)))
1504 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Session")
1505 (synopsis "Catalyst generic session plugin")
1506 (description "This plugin links the two pieces required for session
1507 management in web applications together: the state, and the store.")
1508 (license l:perl-license)))
1510 (define-public perl-catalyst-plugin-session-state-cookie
1512 (name "perl-catalyst-plugin-session-state-cookie")
1517 (uri (string-append "mirror://cpan/authors/id/M/MS/MSTROUT/"
1518 "Catalyst-Plugin-Session-State-Cookie-"
1522 "1rvxbfnpf9x2pc2zgpazlcgdlr2dijmxgmcs0m5nazs0w6xikssb"))))
1523 (build-system perl-build-system)
1525 `(("perl-module-install" ,perl-module-install)))
1527 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1528 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1529 ("perl-moose" ,perl-moose)
1530 ("perl-mro-compat" ,perl-mro-compat)
1531 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1533 "http://search.cpan.org/dist/Catalyst-Plugin-Session-State-Cookie")
1534 (synopsis "Maintain session IDs using cookies")
1535 (description "In order for Catalyst::Plugin::Session to work, the session
1536 ID needs to be stored on the client, and the session data needs to be stored
1537 on the server. This plugin stores the session ID on the client using the
1539 (license l:perl-license)))
1541 (define-public perl-catalyst-plugin-session-store-fastmmap
1543 (name "perl-catalyst-plugin-session-store-fastmmap")
1548 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1549 "Catalyst-Plugin-Session-Store-FastMmap-"
1553 "0x3j6zv3wr41jlwr6yb2jpmcx019ibyn11y8653ffnwhpzbpzsxs"))))
1554 (build-system perl-build-system)
1556 `(("perl-cache-fastmmap" ,perl-cache-fastmmap)
1557 ("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
1558 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1559 ("perl-moosex-emulate-class-accessor-fast"
1560 ,perl-moosex-emulate-class-accessor-fast)
1561 ("perl-mro-compat" ,perl-mro-compat)
1562 ("perl-path-class" ,perl-path-class)))
1564 "http://search.cpan.org/dist/Catalyst-Plugin-Session-Store-FastMmap")
1565 (synopsis "FastMmap session storage backend")
1566 (description "Catalyst::Plugin::Session::Store::FastMmap is a fast session
1567 storage plugin for Catalyst that uses an mmap'ed file to act as a shared
1568 memory interprocess cache. It is based on Cache::FastMmap.")
1569 (license l:perl-license)))
1571 (define-public perl-catalyst-plugin-stacktrace
1573 (name "perl-catalyst-plugin-stacktrace")
1578 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1579 "Catalyst-Plugin-StackTrace-" version ".tar.gz"))
1582 "1b2ksz74cpigxqzf63rddar3vfmnbpwpdcbs11v0ml89pb8ar79j"))))
1583 (build-system perl-build-system)
1585 `(("perl-module-install" ,perl-module-install)))
1587 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1588 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
1589 ("perl-mro-compat" ,perl-mro-compat)))
1590 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-StackTrace")
1591 (synopsis "Stack trace on the Catalyst debug screen")
1592 (description "This plugin enhances the standard Catalyst debug screen by
1593 including a stack trace of your application up to the point where the error
1594 occurred. Each stack frame is displayed along with the package name, line
1595 number, file name, and code context surrounding the line number.")
1596 (license l:perl-license)))
1598 (define-public perl-catalyst-plugin-static-simple
1600 (name "perl-catalyst-plugin-static-simple")
1605 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1606 "Catalyst-Plugin-Static-Simple-" version ".tar.gz"))
1609 "1h8f12bhzh0ssq9gs8r9g3hqn8zn2k0q944vc1vm8j81bns16msy"))))
1610 (build-system perl-build-system)
1612 `(("perl-module-install" ,perl-module-install)))
1614 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1615 ("perl-mime-types" ,perl-mime-types)
1616 ("perl-moose" ,perl-moose)
1617 ("perl-moosex-types" ,perl-moosex-types)
1618 ("perl-namespace-autoclean" ,perl-namespace-autoclean)))
1619 (home-page "http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple")
1620 (synopsis "Simple serving of static pages")
1621 (description "The Static::Simple plugin is designed to make serving static
1622 content in your application during development quick and easy, without
1623 requiring a single line of code from you. This plugin detects static files by
1624 looking at the file extension in the URL (such as .css or .png or .js). The
1625 plugin uses the lightweight MIME::Types module to map file extensions to
1626 IANA-registered MIME types, and will serve your static files with the correct
1627 MIME type directly to the browser, without being processed through Catalyst.")
1628 (license l:perl-license)))
1630 (define-public perl-catalyst-runtime
1632 (name "perl-catalyst-runtime")
1637 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1638 "Catalyst-Runtime-" version ".tar.gz"))
1641 "0kh3ng6pjpxmndq9vrn515f70x7h44ish5bsgjwj4pjvchcyivzm"))))
1642 (build-system perl-build-system)
1644 `(("perl-module-install" ,perl-module-install)
1645 ("perl-test-fatal" ,perl-test-fatal)))
1647 `(("perl-cgi-simple" ,perl-cgi-simple)
1648 ("perl-cgi-struct" ,perl-cgi-struct)
1649 ("perl-class-c3-adopt-next" ,perl-class-c3-adopt-next)
1650 ("perl-class-data-inheritable" ,perl-class-data-inheritable)
1651 ("perl-class-date" ,perl-class-date)
1652 ("perl-class-load" ,perl-class-load)
1653 ("perl-data-dump" ,perl-data-dump)
1654 ("perl-http-body" ,perl-http-body)
1655 ("perl-http-message" ,perl-http-message)
1656 ("perl-http-request-ascgi" ,perl-http-request-ascgi)
1657 ("perl-io-stringy" ,perl-io-stringy)
1658 ("perl-json-maybexs" ,perl-json-maybexs)
1659 ("perl-libwww" ,perl-libwww)
1660 ("perl-module-pluggable" ,perl-module-pluggable)
1661 ("perl-moose" ,perl-moose)
1662 ("perl-moosex-emulate-class-accessor-fast"
1663 ,perl-moosex-emulate-class-accessor-fast)
1664 ("perl-moosex-getopt" ,perl-moosex-getopt)
1665 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)
1666 ("perl-moosex-role-withoverloading" ,perl-moosex-role-withoverloading)
1667 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1668 ("perl-namespace-clean" ,perl-namespace-clean)
1669 ("perl-path-class" ,perl-path-class)
1670 ("perl-plack" ,perl-plack)
1671 ("perl-plack-middleware-fixmissingbodyinredirect"
1672 ,perl-plack-middleware-fixmissingbodyinredirect)
1673 ("perl-plack-middleware-methodoverride"
1674 ,perl-plack-middleware-methodoverride)
1675 ("perl-plack-middleware-removeredundantbody"
1676 ,perl-plack-middleware-removeredundantbody)
1677 ("perl-plack-middleware-reverseproxy"
1678 ,perl-plack-middleware-reverseproxy)
1679 ("perl-plack-test-externalserver" ,perl-plack-test-externalserver)
1680 ("perl-safe-isa" ,perl-safe-isa)
1681 ("perl-string-rewriteprefix" ,perl-string-rewriteprefix)
1682 ("perl-text-simpletable" ,perl-text-simpletable)
1683 ("perl-tree-simple" ,perl-tree-simple)
1684 ("perl-tree-simple-visitorfactory" ,perl-tree-simple-visitorfactory)
1685 ("perl-try-tiny" ,perl-try-tiny)
1686 ("perl-uri" ,perl-uri)
1687 ("perl-uri-ws" ,perl-uri-ws)))
1688 (home-page "http://search.cpan.org/dist/Catalyst-Runtime")
1689 (synopsis "The Catalyst Framework Runtime")
1690 (description "Catalyst is a modern framework for making web applications.
1691 It is designed to make it easy to manage the various tasks you need to do to
1692 run an application on the web, either by doing them itself, or by letting you
1693 \"plug in\" existing Perl modules that do what you need.")
1694 (license l:perl-license)))
1696 (define-public perl-catalyst-traitfor-request-proxybase
1698 (name "perl-catalyst-traitfor-request-proxybase")
1699 (version "0.000005")
1703 (uri (string-append "mirror://cpan/authors/id/B/BO/BOBTFISH/"
1704 "Catalyst-TraitFor-Request-ProxyBase-"
1708 "02kir63d5cs2ipj3fn1qlmmx3gqi1xqzrxfr4pv5vjhjgsm0zgx7"))))
1709 (build-system perl-build-system)
1711 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1712 ("perl-catalystx-roleapplicator" ,perl-catalystx-roleapplicator)
1713 ("perl-http-message" ,perl-http-message)
1714 ("perl-module-install" ,perl-module-install)))
1716 `(("perl-moose" ,perl-moose)
1717 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1718 ("perl-uri" ,perl-uri)))
1720 "http://search.cpan.org/dist/Catalyst-TraitFor-Request-ProxyBase")
1721 (synopsis "Replace request base with value passed by HTTP proxy")
1722 (description "This module is a Moose::Role which allows you more
1723 flexibility in your application's deployment configurations when deployed
1724 behind a proxy. Using this module, the request base ($c->req->base) is
1725 replaced with the contents of the X-Request-Base header.")
1726 (license l:perl-license)))
1728 (define-public perl-catalyst-view-download
1730 (name "perl-catalyst-view-download")
1735 (uri (string-append "mirror://cpan/authors/id/G/GA/GAUDEON/"
1736 "Catalyst-View-Download-" version ".tar.gz"))
1739 "1qgq6y9iwfbhbkbgpw9czang2ami6z8jk1zlagrzdisy4igqzkvs"))))
1740 (build-system perl-build-system)
1742 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1743 ("perl-module-install" ,perl-module-install)
1744 ("perl-test-simple" ,perl-test-simple)
1745 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)
1746 ("perl-text-csv" ,perl-text-csv)
1747 ("perl-xml-simple" ,perl-xml-simple)))
1748 (home-page "http://search.cpan.org/dist/Catalyst-View-Download")
1749 (synopsis "Download data in many formats")
1750 (description "The purpose of this module is to provide a method for
1751 downloading data into many supportable formats. For example, downloading a
1752 table based report in a variety of formats (CSV, HTML, etc.).")
1753 (license l:perl-license)))
1755 (define-public perl-catalyst-view-json
1757 (name "perl-catalyst-view-json")
1762 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
1763 "Catalyst-View-JSON-" version ".tar.gz"))
1766 "0x943j1n2r0zqanyzdrs1xsnn8ayn2wqskn7h144xcqa6v6gcisl"))))
1767 (build-system perl-build-system)
1769 `(("perl-module-install" ,perl-module-install)
1770 ("perl-yaml" ,perl-yaml)))
1772 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1773 ("perl-json-maybexs" ,perl-json-maybexs)
1774 ("perl-mro-compat" ,perl-mro-compat)))
1775 (home-page "http://search.cpan.org/dist/Catalyst-View-JSON")
1776 (synopsis "Catalyst JSON view")
1777 (description "Catalyst::View::JSON is a Catalyst View handler that returns
1778 stash data in JSON format.")
1779 (license l:perl-license)))
1781 (define-public perl-catalyst-view-tt
1783 (name "perl-catalyst-view-tt")
1788 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
1789 "Catalyst-View-TT-" version ".tar.gz"))
1792 "06d1zg4nbb6kcyjbnyxrkf8z4zlscxr8650d94f7187jygfl8rvh"))))
1793 (build-system perl-build-system)
1795 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1796 ("perl-class-accessor" ,perl-class-accessor)
1797 ("perl-data-dump" ,perl-data-dump)
1798 ("perl-mro-compat" ,perl-mro-compat)
1799 ("perl-path-class" ,perl-path-class)
1800 ("perl-template-timer" ,perl-template-timer)
1801 ("perl-template-toolkit" ,perl-template-toolkit)))
1802 (home-page "http://search.cpan.org/dist/Catalyst-View-TT")
1803 (synopsis "Template View Class")
1804 (description "This module is a Catalyst view class for the Template
1806 (license l:perl-license)))
1808 (define-public perl-catalystx-component-traits
1810 (name "perl-catalystx-component-traits")
1815 (uri (string-append "mirror://cpan/authors/id/R/RK/RKITOVER/"
1816 "CatalystX-Component-Traits-" version ".tar.gz"))
1819 "0iq4ci8m6g2c4g01fvdl568y7pjz28f3widk986v3pyhr7ll8j88"))))
1820 (build-system perl-build-system)
1822 `(("perl-moose" ,perl-moose)
1823 ("perl-catalyst-runtime" ,perl-catalyst-runtime)
1824 ("perl-moosex-methodattributes" ,perl-moosex-methodattributes)))
1826 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1827 ("perl-class-load" ,perl-class-load)
1828 ("perl-moose" ,perl-moose)
1829 ("perl-moosex-traits-pluggable" ,perl-moosex-traits-pluggable)
1830 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1831 ("perl-list-moreutils" ,perl-list-moreutils)))
1832 (home-page "http://search.cpan.org/dist/CatalystX-Component-Traits")
1833 (synopsis "Trait Loading and Resolution for Catalyst Components")
1834 (description "Adds a \"COMPONENT\" in Catalyst::Component method to your
1835 Catalyst component base class that reads the optional \"traits\" parameter
1836 from app and component config and instantiates the component subclass with
1837 those traits using \"new_with_traits\" in MooseX::Traits from
1838 MooseX::Traits::Pluggable.")
1839 (license l:perl-license)))
1841 (define-public perl-catalystx-roleapplicator
1843 (name "perl-catalystx-roleapplicator")
1848 (uri (string-append "mirror://cpan/authors/id/H/HD/HDP/"
1849 "CatalystX-RoleApplicator-" version ".tar.gz"))
1852 "0vwaapxn8g5hs2xp63c4dwv9jmapmji4272fakssvgc9frklg3p2"))))
1853 (build-system perl-build-system)
1855 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1856 ("perl-moose" ,perl-moose)
1857 ("perl-moosex-relatedclassroles" ,perl-moosex-relatedclassroles)))
1858 (home-page "http://search.cpan.org/dist/CatalystX-RoleApplicator")
1859 (synopsis "Apply roles to Catalyst classes")
1860 (description "CatalystX::RoleApplicator applies roles to Catalyst
1861 application classes.")
1862 (license l:perl-license)))
1864 (define-public perl-catalystx-script-server-starman
1866 (name "perl-catalystx-script-server-starman")
1871 (uri (string-append "mirror://cpan/authors/id/A/AB/ABRAXXA/"
1872 "CatalystX-Script-Server-Starman-"
1876 "0h02mpkc4cmi3jpvcd7iw7xyzx55bqvvl1qkf967gqkvpklm0qx5"))))
1877 (build-system perl-build-system)
1879 `(("perl-module-install" ,perl-module-install)
1880 ("perl-test-www-mechanize-catalyst" ,perl-test-www-mechanize-catalyst)))
1882 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
1883 ("perl-moose" ,perl-moose)
1884 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
1885 ("starman" ,starman)))
1886 (home-page "http://search.cpan.org/dist/CatalystX-Script-Server-Starman")
1887 (synopsis "Catalyst development server with Starman")
1888 (description "This module provides a Catalyst extension to replace the
1889 development server with Starman.")
1890 (license l:perl-license)))
1892 (define-public perl-cgi
1899 (uri (string-append "mirror://cpan/authors/id/L/LE/LEEJO/"
1900 "CGI-" version ".tar.gz"))
1903 "07gwnlc7vq58fjwmfsrv0hfyirqqdrpjhf89caq34rjrkz2wsd0b"))))
1904 (build-system perl-build-system)
1906 `(("perl-test-deep" ,perl-test-deep)
1907 ("perl-test-nowarnings" ,perl-test-nowarnings)
1908 ("perl-test-warn" ,perl-test-warn)))
1910 `(("perl-html-parser" ,perl-html-parser)))
1911 (home-page "http://search.cpan.org/dist/CGI")
1912 (synopsis "Handle Common Gateway Interface requests and responses")
1913 (description "CGI.pm is a stable, complete and mature solution for
1914 processing and preparing HTTP requests and responses. Major features include
1915 processing form submissions, file uploads, reading and writing cookies, query
1916 string generation and manipulation, and processing and preparing HTTP
1918 (license l:perl-license)))
1920 (define-public perl-cgi-session
1922 (name "perl-cgi-session")
1928 "mirror://cpan/authors/id/M/MA/MARKSTOS/CGI-Session-"
1933 "1xsl2pz1jrh127pq0b01yffnj4mnp9nvkp88h5mndrscq9hn8xa6"))))
1934 (build-system perl-build-system)
1936 `(("perl-module-build" ,perl-module-build)))
1937 (inputs `(("perl-cgi" ,perl-cgi)))
1939 "http://search.cpan.org/dist/CGI-Session")
1941 "Persistent session data in CGI applications")
1943 "@code{CGI::Session} provides modular session management system across
1945 (license l:perl-license)))
1947 (define-public perl-cgi-simple
1949 (name "perl-cgi-simple")
1954 (uri (string-append "mirror://cpan/authors/id/S/SZ/SZABGAB/"
1955 "CGI-Simple-" version ".tar.gz"))
1958 "1nkyb1m1g5r47xykflf68dplanih5p15njv82frbgbsms34kp1sg"))))
1959 (build-system perl-build-system)
1961 `(("perl-module-build" ,perl-module-build)
1962 ("perl-io-stringy" ,perl-io-stringy))) ;for IO::Scalar
1963 (home-page "http://search.cpan.org/dist/CGI-Simple")
1964 (synopsis "CGI interface that is CGI.pm compliant")
1965 (description "CGI::Simple provides a relatively lightweight drop in
1966 replacement for CGI.pm. It shares an identical OO interface to CGI.pm for
1967 parameter parsing, file upload, cookie handling and header generation.")
1968 (license l:perl-license)))
1970 (define-public perl-cgi-struct
1972 (name "perl-cgi-struct")
1977 (uri (string-append "mirror://cpan/authors/id/F/FU/FULLERMD/"
1978 "CGI-Struct-" version ".tar.gz"))
1981 "0v4xq2qpryr7i6jngw1wpn8yr2kiib10yxp4aih90vfdznkqsgfi"))))
1982 (build-system perl-build-system)
1984 `(("perl-test-deep" ,perl-test-deep)))
1985 (home-page "http://search.cpan.org/dist/CGI-Struct")
1986 (synopsis "Build structures from CGI data")
1987 (description "This is a module for building structured data from CGI
1988 inputs, in a manner reminiscent of how PHP does.")
1991 (define-public perl-datetime-format-http
1993 (name "perl-datetime-format-http")
1998 (uri (string-append "mirror://cpan/authors/id/C/CK/CKRAS/"
1999 "DateTime-Format-HTTP-" version ".tar.gz"))
2002 "0h6qqdg1yzqkdxp7hqlp0qa7d1y64nilgimxs79dys2ryjfpcknh"))))
2003 (build-system perl-build-system)
2005 `(("perl-module-build" ,perl-module-build)))
2007 `(("perl-datetime" ,perl-datetime)
2008 ("perl-http-date" ,perl-http-date)))
2009 (home-page "http://search.cpan.org/dist/DateTime-Format-HTTP")
2010 (synopsis "Date conversion routines")
2011 (description "This module provides functions that deal with the date
2012 formats used by the HTTP protocol.")
2013 (license l:perl-license)))
2015 (define-public perl-digest-md5-file
2017 (name "perl-digest-md5-file")
2022 (uri (string-append "mirror://cpan/authors/id/D/DM/DMUEY/"
2023 "Digest-MD5-File-" version ".tar.gz"))
2026 "060jzf45dlwysw5wsm7av1wvpl06xgk415kwwpvv89r6wda3md5d"))))
2027 (build-system perl-build-system)
2029 `(("perl-libwww" ,perl-libwww)))
2030 (home-page "http://search.cpan.org/dist/Digest-MD5-File")
2031 (synopsis "MD5 sums for files and urls")
2032 (description "Digest::MD5::File is a Perl extension for getting MD5 sums
2033 for files and urls.")
2034 (license l:perl-license)))
2036 (define-public perl-encode-locale
2038 (name "perl-encode-locale")
2043 "mirror://cpan/authors/id/G/GA/GAAS/Encode-Locale-"
2047 "1h8fvcdg3n20c2yp7107yhdkkx78534s9hnvn7ps8hpmf4ks0vqp"))))
2048 (build-system perl-build-system)
2049 (license l:perl-license)
2050 (synopsis "Perl locale encoding determination")
2052 "The POSIX locale system is used to specify both the language
2053 conventions requested by the user and the preferred character set to
2054 consume and output. The Encode::Locale module looks up the charset and
2055 encoding (called a CODESET in the locale jargon) and arranges for the
2056 Encode module to know this encoding under the name \"locale\". It means
2057 bytes obtained from the environment can be converted to Unicode strings
2058 by calling Encode::encode(locale => $bytes) and converted back again
2059 with Encode::decode(locale => $string).")
2060 (home-page "http://search.cpan.org/~gaas/Encode-Locale/")))
2062 (define-public perl-feed-find
2064 (name "perl-feed-find")
2068 (uri (string-append "mirror://cpan/authors/id/B/BT/BTROTT/"
2069 "Feed-Find-" version ".tar.gz"))
2072 "0sa33cm8ww55cymnl8j7b5yspi2y5xkkkgqqa4h6fs3wdqylz600"))))
2073 (build-system perl-build-system)
2075 ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
2078 (modify-phases %standard-phases
2079 (add-after 'unpack 'set-env
2080 (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
2082 `(("perl-class-errorhandler" ,perl-class-errorhandler)
2083 ("perl-html-parser" ,perl-html-parser)
2084 ("perl-libwww" ,perl-libwww)
2085 ("perl-uri" ,perl-uri)))
2086 (home-page "http://search.cpan.org/dist/Feed-Find")
2087 (synopsis "Syndication feed auto-discovery")
2088 (description "@code{Feed::Find} implements feed auto-discovery for finding
2089 syndication feeds, given a URI. It will discover the following feed formats:
2090 RSS 0.91, RSS 1.0, RSS 2.0, Atom.")
2091 (license l:perl-license)))
2093 (define-public perl-file-listing
2095 (name "perl-file-listing")
2100 "mirror://cpan/authors/id/G/GA/GAAS/File-Listing-"
2104 "1xcwjlnxaiwwpn41a5yi6nz95ywh3szq5chdxiwj36kqsvy5000y"))))
2105 (build-system perl-build-system)
2107 `(("perl-http-date" ,perl-http-date)))
2108 (license l:perl-license)
2109 (synopsis "Perl directory listing parser")
2111 "The File::Listing module exports a single function called parse_dir(),
2112 which can be used to parse directory listings.")
2113 (home-page "http://search.cpan.org/~gaas/File-Listing/")))
2115 (define-public perl-finance-quote
2117 (name "perl-finance-quote")
2122 (uri (string-append "https://cpan.metacpan.org/authors/id/E/EC/ECOCODE/"
2123 "Finance-Quote-" version ".tar.gz"))
2126 "0zhqb27y4vdxn476s2kwm9zl2f970yjcyyybnjm9b406krr2fm59"))
2127 (patches (search-patches
2128 "perl-finance-quote-unuse-mozilla-ca.patch"))))
2129 (build-system perl-build-system)
2131 `(("perl-cgi" ,perl-cgi)
2132 ("perl-datetime" ,perl-datetime)
2133 ("perl-html-parser" ,perl-html-parser)
2134 ("perl-html-tableextract" ,perl-html-tableextract)
2135 ("perl-html-tree" ,perl-html-tree)
2136 ("perl-http-cookies" ,perl-http-cookies)
2137 ("perl-http-message" ,perl-http-message)
2138 ("perl-json" ,perl-json)
2139 ("perl-libwww" ,perl-libwww)
2140 ("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
2141 ("perl-uri" ,perl-uri)))
2142 (home-page "http://search.cpan.org/dist/Finance-Quote")
2143 (synopsis "Stock and mutual fund quotes")
2145 "Finance::Quote gets stock quotes from various internet sources, including
2146 Yahoo! Finance, Fidelity Investments, and the Australian Stock Exchange.")
2149 (define-public perl-gssapi
2151 (name "perl-gssapi")
2156 (uri (string-append "mirror://cpan/authors/id/A/AG/AGROLMS/"
2157 "GSSAPI-" version ".tar.gz"))
2160 "1mkhwxjjlhr58pd770i9gnf7zy7jj092iv6jfbnb8bvnc5xjr3vx"))))
2161 (build-system perl-build-system)
2162 (inputs `(("gssapi" ,mit-krb5)))
2164 `(#:make-maker-flags
2165 `(,(string-append "--gssapiimpl=" (assoc-ref %build-inputs "gssapi")))))
2166 (home-page "http://search.cpan.org/dist/GSSAPI")
2167 (synopsis "Perl extension providing access to the GSSAPIv2 library")
2168 (description "This is a Perl extension for using GSSAPI C bindings as
2169 described in RFC 2744.")
2170 (license l:perl-license)))
2172 (define-public perl-html-element-extended
2174 (name "perl-html-element-extended")
2179 (uri (string-append "mirror://cpan/authors/id/M/MS/MSISK/"
2180 "HTML-Element-Extended-" version ".tar.gz"))
2183 "0axknss8c368r5i082yhkfj8mq0w4nglfrpcxcayyzzj13qimvzk"))))
2184 (build-system perl-build-system)
2186 `(("perl-html-tree" ,perl-html-tree)))
2187 (home-page "http://search.cpan.org/dist/HTML-Element-Extended")
2188 (synopsis "Manipulate tables of HTML::Element")
2190 "HTML::Element::Extended is a Perl extension for manipulating a table
2191 composed of HTML::Element style components.")
2192 (license l:perl-license)))
2194 (define-public perl-html-form
2196 (name "perl-html-form")
2201 (uri (string-append "mirror://cpan/authors/id/G/GA/GAAS/"
2202 "HTML-Form-" version ".tar.gz"))
2205 "0dpwr7yz6hjc3bcqgcbdzjjk9l58ycdjmbam9nfcmm85y2a1vh38"))))
2206 (build-system perl-build-system)
2208 `(("perl-html-parser" ,perl-html-parser)
2209 ("perl-html-tagset" ,perl-html-tagset)
2210 ("perl-http-message" ,perl-http-message)
2211 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2212 ("perl-uri" ,perl-uri)))
2213 (home-page "http://search.cpan.org/dist/HTML-Form")
2214 (synopsis "Perl class representing an HTML form element")
2215 (description "Objects of the HTML::Form class represents a single HTML
2216 <form> ... </form> instance.")
2217 (license l:perl-license)))
2219 (define-public perl-html-scrubber
2221 (name "perl-html-scrubber")
2227 "mirror://cpan/authors/id/N/NI/NIGELM/HTML-Scrubber-"
2232 "1m1f8gm2jry42zxja05dxp2ck7y66m7i8vc38nj6hccnwlby6cvi"))))
2233 (build-system perl-build-system)
2235 `(("perl-module-build" ,perl-module-build)
2236 ("perl-test-cpan-meta" ,perl-test-cpan-meta)
2237 ("perl-test-eol" ,perl-test-eol)
2238 ("perl-test-memory-cycle" ,perl-test-memory-cycle)
2239 ("perl-test-notabs" ,perl-test-notabs)))
2241 `(("perl-html-parser" ,perl-html-parser)))
2243 "http://search.cpan.org/dist/HTML-Scrubber")
2245 "Perl extension for scrubbing/sanitizing html")
2247 "@code{HTML::Scrubber} Perl extension for scrubbing/sanitizing HTML.")
2248 (license l:perl-license)))
2250 (define-public perl-html-lint
2252 (name "perl-html-lint")
2257 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
2258 "HTML-Lint-" version ".tar.gz"))
2261 "15vrqjnlb0f8rib1kqdf4islqy6i33h08wy7b1bkgd550p7lfjwk"))))
2262 (build-system perl-build-system)
2264 `(("perl-html-parser" ,perl-html-parser)
2265 ("perl-html-tagset" ,perl-html-tagset)
2266 ("perl-libwww" ,perl-libwww)))
2267 (home-page "http://search.cpan.org/dist/HTML-Lint")
2268 (synopsis "Check for HTML errors in a string or file")
2269 (description "HTML::Lint is a pure-Perl HTML parser and checker for
2270 syntactic legitmacy.")
2271 (license l:artistic2.0)))
2273 (define-public perl-html-tableextract
2275 (name "perl-html-tableextract")
2280 (uri (string-append "https://cpan.metacpan.org/authors/id/M/MS/MSISK/"
2281 "HTML-TableExtract-" version ".tar.gz"))
2284 "01jimmss3q68a89696wmclvqwb2ybz6xgabpnbp6mm6jcni82z8a"))))
2285 (build-system perl-build-system)
2287 `(("perl-html-element-extended" ,perl-html-element-extended)
2288 ("perl-html-parser" ,perl-html-parser)))
2289 (home-page "http://search.cpan.org/dist/HTML-TableExtract")
2290 (synopsis "Extract contents from HTML tables")
2292 "HTML::TableExtract is a Perl module for extracting the content contained
2293 in tables within an HTML document, either as text or encoded element trees.")
2294 (license l:perl-license)))
2296 (define-public perl-html-tree
2298 (name "perl-html-tree")
2303 (uri (string-append "mirror://cpan/authors/id/K/KE/KENTNL/"
2304 "HTML-Tree-" version ".tar.gz"))
2307 "1gyvm4qlwm9y6hczkpnrdfl303ggbybr0nqxdjw09hii8yw4sdzh"))))
2308 (build-system perl-build-system)
2310 `(("perl-module-build" ,perl-module-build)
2311 ("perl-test-fatal" ,perl-test-fatal)))
2313 `(("perl-html-parser" ,perl-html-parser)
2314 ("perl-html-tagset" ,perl-html-tagset)
2315 ("perl-libwww" ,perl-libwww)))
2316 (home-page "http://search.cpan.org/dist/HTML-Tree")
2317 (synopsis "Work with HTML in a DOM-like tree structure")
2318 (description "This distribution contains a suite of modules for
2319 representing, creating, and extracting information from HTML syntax trees.")
2320 (license l:perl-license)))
2322 (define-public perl-html-parser
2324 (name "perl-html-parser")
2329 "mirror://cpan/authors/id/G/GA/GAAS/HTML-Parser-"
2333 "12v05ywlnsi9lc17z32k9jxx3sj1viy7y1wpl7n4az76v7hwfa7c"))))
2334 (build-system perl-build-system)
2336 `(("perl-html-tagset" ,perl-html-tagset)
2337 ("perl-http-message" ,perl-http-message)))
2338 (license l:perl-license)
2339 (synopsis "Perl HTML parser class")
2341 "Objects of the HTML::Parser class will recognize markup and separate
2342 it from plain text (alias data content) in HTML documents. As different
2343 kinds of markup and text are recognized, the corresponding event handlers
2345 (home-page "http://search.cpan.org/~gaas/HTML-Parser/")))
2347 (define-public perl-html-tagset
2349 (name "perl-html-tagset")
2354 "mirror://cpan/authors/id/P/PE/PETDANCE/HTML-Tagset-"
2358 "1qh8249wgr4v9vgghq77zh1d2zs176bir223a8gh3k9nksn7vcdd"))))
2359 (build-system perl-build-system)
2360 (license l:perl-license)
2361 (synopsis "Perl data tables useful in parsing HTML")
2363 "The HTML::Tagset module contains several data tables useful in various
2364 kinds of HTML parsing operations.")
2365 (home-page "http://search.cpan.org/dist/HTML-Tagset/")))
2367 (define-public perl-html-template
2369 (name "perl-html-template")
2373 (uri (string-append "mirror://cpan/authors/id/S/SA/SAMTREGAR/"
2374 "HTML-Template-" version ".tar.gz"))
2377 "17qjw8swj2q4b1ic285pndgrkmvpsqw0j68nhqzpk1daydhsyiv5"))))
2378 (build-system perl-build-system)
2380 `(("perl-cgi" ,perl-cgi)))
2381 (home-page "http://search.cpan.org/dist/HTML-Template")
2382 (synopsis "HTML-like templates")
2384 "This module attempts to make using HTML templates simple and natural.
2385 It extends standard HTML with a few new HTML-esque tags: @code{<TMPL_VAR>},
2386 @code{<TMPL_LOOP>}, @code{<TMPL_INCLUDE>}, @code{<TMPL_IF>},
2387 @code{<TMPL_ELSE>} and @code{<TMPL_UNLESS>}. The file written with HTML and
2388 these new tags is called a template. Using this module you fill in the values
2389 for the variables, loops and branches declared in the template. This allows
2390 you to separate design from the data.")
2391 (license l:perl-license)))
2393 (define-public perl-http-body
2395 (name "perl-http-body")
2400 (uri (string-append "mirror://cpan/authors/id/G/GE/GETTY/"
2401 "HTTP-Body-" version ".tar.gz"))
2404 "15vj488i62mdp4ps9k77h39prj70i7anb6b0j8nm7l9vbdc2q3gw"))))
2405 (build-system perl-build-system)
2407 `(("perl-test-deep" ,perl-test-deep)))
2409 `(("perl-file-temp" ,perl-file-temp)
2410 ("perl-http-message" ,perl-http-message))) ;For HTTP::Headers
2411 (home-page "http://search.cpan.org/dist/HTTP-Body")
2412 (synopsis "HTTP Body Parser")
2413 (description "HTTP::Body parses chunks of HTTP POST data and supports
2414 application/octet-stream, application/json, application/x-www-form-urlencoded,
2415 and multipart/form-data.")
2416 (license l:perl-license)))
2418 (define-public perl-http-cookiejar
2420 (name "perl-http-cookiejar")
2425 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2426 "HTTP-CookieJar-" version ".tar.gz"))
2429 "0rfw6avcralggs7bf7n86flvhaahxjnqzvpwszp0sk4z4wwy01wm"))))
2430 (build-system perl-build-system)
2432 `(("perl-test-deep" ,perl-test-deep)
2433 ("perl-test-requires" ,perl-test-requires)
2434 ("perl-time-mock" ,perl-time-mock)
2435 ("perl-uri" ,perl-uri)))
2437 `(("perl-time-local" ,perl-time-local)
2438 ("perl-http-date" ,perl-http-date)))
2439 (home-page "http://search.cpan.org/dist/HTTP-CookieJar")
2440 (synopsis "Minimalist HTTP user agent cookie jar")
2441 (description "This module implements a minimalist HTTP user agent cookie
2442 jar in conformance with RFC 6265 <http://tools.ietf.org/html/rfc6265>.")
2443 (license l:asl2.0)))
2445 (define-public perl-http-cookies
2447 (name "perl-http-cookies")
2452 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Cookies-"
2456 "087bqmg22dg3vj7gssh3pcsh9y1scimkbl5h1kc8jqyfhgisvlzm"))))
2457 (build-system perl-build-system)
2459 `(("perl-http-message" ,perl-http-message)))
2460 (license l:perl-license)
2461 (synopsis "Perl HTTP cookie jars")
2463 "The HTTP::Cookies class is for objects that represent a cookie jar,
2464 that is, a database of all the HTTP cookies that a given LWP::UserAgent
2465 object knows about.")
2466 (home-page "http://search.cpan.org/~gaas/HTTP-Cookies/")))
2468 (define-public perl-http-daemon
2470 (name "perl-http-daemon")
2475 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Daemon-"
2479 "1hmd2isrkilf0q0nkxms1q64kikjmcw9imbvrjgky6kh89vqdza3"))))
2480 (build-system perl-build-system)
2482 `(("perl-http-message" ,perl-http-message)
2483 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)))
2484 (license l:perl-license)
2485 (synopsis "Perl simple http server class")
2487 "Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen
2488 on a socket for incoming requests. The HTTP::Daemon is a subclass of
2489 IO::Socket::INET, so you can perform socket operations directly on it too.")
2490 (home-page "http://search.cpan.org/~gaas/HTTP-Daemon/")))
2492 (define-public perl-http-date
2494 (name "perl-http-date")
2499 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Date-"
2503 "0cz357kafhhzw7w59iyi0wvhw7rlh5g1lh38230ckw7rl0fr9fg8"))))
2504 (build-system perl-build-system)
2505 (license l:perl-license)
2506 (synopsis "Perl date conversion routines")
2508 "The HTTP::Date module provides functions that deal with date formats
2509 used by the HTTP protocol (and then some more).")
2510 (home-page "http://search.cpan.org/~gaas/HTTP-Date/")))
2512 (define-public perl-http-message
2514 (name "perl-http-message")
2519 "mirror://cpan/authors/id/E/ET/ETHER/HTTP-Message-"
2523 "06yq6cjx4vzl4if4ykap77xsrrd8aa7ish90k7cqi8g6g83nicz7"))))
2524 (build-system perl-build-system)
2526 `(("perl-encode-locale" ,perl-encode-locale)
2527 ("perl-http-date" ,perl-http-date)
2528 ("perl-io-html" ,perl-io-html)
2529 ("perl-lwp-mediatypes" ,perl-lwp-mediatypes)
2530 ("perl-uri" ,perl-uri)))
2531 (license l:perl-license)
2532 (synopsis "Perl HTTP style message")
2534 "An HTTP::Message object contains some headers and a content body.")
2535 (home-page "http://search.cpan.org/~ether/HTTP-Message/")))
2537 (define-public perl-http-negotiate
2539 (name "perl-http-negotiate")
2544 "mirror://cpan/authors/id/G/GA/GAAS/HTTP-Negotiate-"
2548 "05p053vjs5g91v5cmjnny7a3xzddz5k7vnjw81wfh01ilqg9qwhw"))))
2549 (build-system perl-build-system)
2551 `(("perl-http-message" ,perl-http-message)))
2552 (license l:perl-license)
2553 (synopsis "Perl http content negotiation")
2555 "The HTTP::Negotiate module provides a complete implementation of the
2556 HTTP content negotiation algorithm specified in
2557 draft-ietf-http-v11-spec-00.ps chapter 12. Content negotiation allows for
2558 the selection of a preferred content representation based upon attributes
2559 of the negotiable variants and the value of the various Accept* header
2560 fields in the request.")
2561 (home-page "http://search.cpan.org/~gaas/HTTP-Negotiate/")))
2563 (define-public perl-http-parser
2565 (name "perl-http-parser")
2570 (uri (string-append "mirror://cpan/authors/id/E/ED/EDECA/"
2571 "HTTP-Parser-" version ".tar.gz"))
2574 "0idwq3jk595xil65lmxz128ha7s3r2n5zknisddpgwnqrghs3igq"))))
2575 (build-system perl-build-system)
2577 `(("perl-http-message" ,perl-http-message)
2578 ("perl-uri" ,perl-uri)))
2579 (home-page "http://search.cpan.org/dist/HTTP-Parser")
2580 (synopsis "Parse HTTP/1.1 requests")
2581 (description "This is an HTTP request parser. It takes chunks of text as
2582 received and returns a 'hint' as to what is required, or returns the
2583 HTTP::Request when a complete request has been read. HTTP/1.1 chunking is
2585 (license l:perl-license)))
2587 (define-public perl-http-parser-xs
2589 (name "perl-http-parser-xs")
2594 (uri (string-append "mirror://cpan/authors/id/K/KA/KAZUHO/"
2595 "HTTP-Parser-XS-" version ".tar.gz"))
2598 "02d84xq1mm53c7jl33qyb7v5w4372vydp74z6qj0vc96wcrnhkkr"))))
2599 (build-system perl-build-system)
2601 `(("perl-module-install" ,perl-module-install)))
2602 (home-page "http://search.cpan.org/dist/HTTP-Parser-XS")
2603 (synopsis "Fast HTTP request parser")
2604 (description "HTTP::Parser::XS is a fast, primitive HTTP request/response
2606 (license l:perl-license)))
2608 (define-public perl-http-request-ascgi
2610 (name "perl-http-request-ascgi")
2615 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
2616 "HTTP-Request-AsCGI-" version ".tar.gz"))
2619 "1smwmiarwcgq7vjdblnb6ldi2x1s5sk5p15p7xvm5byiqq3znnwl"))))
2620 (build-system perl-build-system)
2622 `(("perl-class-accessor" ,perl-class-accessor)
2623 ("perl-http-message" ,perl-http-message)))
2624 (home-page "http://search.cpan.org/dist/HTTP-Request-AsCGI")
2625 (synopsis "Set up a CGI environment from an HTTP::Request")
2626 (description "This module provides a convenient way to set up a CGI
2627 environment from an HTTP::Request.")
2628 (license l:perl-license)))
2630 (define-public perl-http-server-simple
2632 (name "perl-http-server-simple")
2637 (uri (string-append "mirror://cpan/authors/id/B/BP/BPS/"
2638 "HTTP-Server-Simple-" version ".tar.gz"))
2641 "1yvd2g57z2kq00q5i3zzfi15k98qgbif3vghjsda6v612agmrp5r"))))
2642 (build-system perl-build-system)
2644 `(("perl-cgi" ,perl-cgi)))
2646 ;; See the discussion of a related tests issue at
2647 ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00346.html
2650 #:phases (modify-phases %standard-phases
2651 (add-before 'configure 'set-search-path
2653 ;; Work around "dotless @INC" build failure.
2655 (string-append (getcwd) ":"
2656 (getenv "PERL5LIB")))
2658 (home-page "http://search.cpan.org/dist/HTTP-Server-Simple")
2659 (synopsis "Lightweight HTTP server")
2660 (description "HTTP::Server::Simple is a simple standalone HTTP daemon with
2661 no non-core module dependencies. It can be used for building a standalone
2662 http-based UI to your existing tools.")
2663 (license l:perl-license)))
2665 (define-public perl-http-tiny
2667 (name "perl-http-tiny")
2672 (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
2673 "HTTP-Tiny-" version ".tar.gz"))
2676 "0cvp5yqrni6qydpsa8fpkbm82zfwmy9js8jsvyj8gs3dx78qbwvl"))))
2677 (build-system perl-build-system)
2679 `(("perl-http-cookiejar" ,perl-http-cookiejar)
2680 ("perl-io-socket-ip" ,perl-io-socket-ip)
2681 ("perl-io-socket-ssl" ,perl-io-socket-ssl)
2682 ("perl-mozilla-ca" ,perl-mozilla-ca)
2683 ("perl-net-ssleay" ,perl-net-ssleay)))
2684 (home-page "http://search.cpan.org/dist/HTTP-Tiny")
2685 (synopsis "HTTP/1.1 client")
2686 (description "This is a very simple HTTP/1.1 client, designed for doing
2687 simple requests without the overhead of a large framework like LWP::UserAgent.
2688 It supports proxies and redirection. It also correctly resumes after EINTR.")
2689 (license l:perl-license)))
2691 (define-public perl-io-html
2693 (name "perl-io-html")
2698 "mirror://cpan/authors/id/C/CJ/CJM/IO-HTML-"
2702 "06nj3a0xgp5jxwxx6ayglfk2v7npf5a7gwkqsjlkapjkybarzqh4"))))
2703 (build-system perl-build-system)
2704 (license l:perl-license)
2705 (synopsis "Perl module to open an HTML file with automatic charset detection")
2707 "IO::HTML provides an easy way to open a file containing HTML while
2708 automatically determining its encoding. It uses the HTML5 encoding sniffing
2709 algorithm specified in section 8.2.2.1 of the draft standard.")
2710 (home-page "http://search.cpan.org/~cjm/IO-HTML/")))
2712 (define-public perl-io-socket-ip
2714 (name "perl-io-socket-ip")
2719 (uri (string-append "mirror://cpan/authors/id/P/PE/PEVANS/"
2720 "IO-Socket-IP-" version ".tar.gz"))
2723 "0ky20hmln6waipzqikizyw04vpszf70fgpshz7ib8zv8480ri456"))))
2724 (build-system perl-build-system)
2725 (native-inputs `(("perl-module-build" ,perl-module-build)))
2726 (home-page "http://search.cpan.org/dist/IO-Socket-IP")
2727 (synopsis "Family-neutral IP socket supporting both IPv4 and IPv6")
2728 (description "This module provides a protocol-independent way to use IPv4
2729 and IPv6 sockets, intended as a replacement for IO::Socket::INET.")
2730 (license l:perl-license)))
2732 (define-public perl-io-socket-ssl
2734 (name "perl-io-socket-ssl")
2738 (uri (string-append "mirror://cpan/authors/id/S/SU/SULLR/"
2739 "IO-Socket-SSL-" version ".tar.gz"))
2742 "11fiifxyvn7njc9p52wgygyw24jz7rh7gnz2ikjphr4l4x9f03rx"))
2743 (patches (search-patches
2744 "perl-io-socket-ssl-openssl-1.0.2f-fix.patch"))))
2745 (build-system perl-build-system)
2747 `(("perl-net-ssleay" ,perl-net-ssleay)
2749 ("perl-uri" ,perl-uri)))
2750 (synopsis "Nearly transparent SSL encapsulation for IO::Socket::INET")
2752 "IO::Socket::SSL makes using SSL/TLS much easier by wrapping the
2753 necessary functionality into the familiar IO::Socket interface and providing
2754 secure defaults whenever possible. This way existing applications can be made
2755 SSL-aware without much effort, at least if you do blocking I/O and don't use
2757 (license l:perl-license)
2758 (home-page "https://github.com/noxxi/p5-io-socket-ssl")))
2760 (define-public perl-libwww
2762 (name "perl-libwww")
2767 "mirror://cpan/authors/id/E/ET/ETHER/libwww-perl-"
2771 "08l3mpgcvm4ipn1zggymqgk402apf35xyds43i8c07hvq92rsd3g"))))
2772 (build-system perl-build-system)
2774 `(("perl-encode-locale" ,perl-encode-locale)
2775 ("perl-file-listing" ,perl-file-listing)
2776 ("perl-html-parser" ,perl-html-parser)
2777 ("perl-http-cookies" ,perl-http-cookies)
2778 ("perl-http-daemon" ,perl-http-daemon)
2779 ("perl-http-date" ,perl-http-date)
2780 ("perl-http-message" ,perl-http-message)
2781 ("perl-http-negotiate" ,perl-http-negotiate)
2782 ("perl-net-http" ,perl-net-http)
2783 ("perl-uri" ,perl-uri)
2784 ("perl-www-robotrules" ,perl-www-robotrules)))
2785 (license l:perl-license)
2786 (synopsis "Perl modules for the WWW")
2788 "The libwww-perl collection is a set of Perl modules which provides a
2789 simple and consistent application programming interface to the
2790 World-Wide Web. The main focus of the library is to provide classes
2791 and functions that allow you to write WWW clients. The library also
2792 contains modules that are of more general use and even classes that
2793 help you implement simple HTTP servers.")
2794 (home-page "http://search.cpan.org/dist/libwww-perl/")))
2796 (define-public perl-lwp-mediatypes
2798 (name "perl-lwp-mediatypes")
2803 "mirror://cpan/authors/id/G/GA/GAAS/LWP-MediaTypes-"
2807 "0xmnblp962qy02akah30sji8bxrqcyqlff2w95l199ghql60ny8q"))))
2808 (build-system perl-build-system)
2809 (license l:perl-license)
2810 (synopsis "Perl module to guess the media type for a file or a URL")
2812 "The LWP::MediaTypes module provides functions for handling media (also
2813 known as MIME) types and encodings. The mapping from file extensions to
2814 media types is defined by the media.types file. If the ~/.media.types file
2815 exists it is used instead.")
2816 (home-page "http://search.cpan.org/~gaas/LWP-MediaTypes/")))
2818 (define-public perl-lwp-protocol-https
2820 (name "perl-lwp-protocol-https")
2825 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHILLI/"
2826 "LWP-Protocol-https-" version ".tar.gz"))
2829 "1vxdjqj4bwq56m9h1bqqwkk3c6jr76f2zqzvwa26yjng3p686v5q"))))
2830 (build-system perl-build-system)
2832 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2833 ("perl-libwww" ,perl-libwww)
2834 ;; Users should instead make sure SSL_ca_path is set properly.
2835 ;; ("perl-mozilla-ca" ,perl-mozilla-ca)
2836 ("perl-net-http" ,perl-net-http)))
2837 (home-page "http://search.cpan.org/dist/LWP-Protocol-https")
2838 (synopsis "HTTPS support for LWP::UserAgent")
2839 (description "The LWP::Protocol::https module provides support for using
2840 https schemed URLs with LWP.")
2841 (license l:perl-license)))
2843 (define-public perl-lwp-useragent-determined
2845 (name "perl-lwp-useragent-determined")
2850 (uri (string-append "mirror://cpan/authors/id/A/AL/ALEXMV/"
2851 "LWP-UserAgent-Determined-" version ".tar.gz"))
2854 "0lyvbpjng7yfvyha9rp2y2c6liz5hhplmd2grc8jlsfkih7dbn06"))))
2855 (build-system perl-build-system)
2857 `(("perl-libwww" ,perl-libwww)))
2858 (home-page "http://search.cpan.org/dist/LWP-UserAgent-Determined")
2859 (synopsis "Virtual browser that retries errors")
2860 (description "LWP::UserAgent::Determined works just like LWP::UserAgent,
2861 except that when you use it to get a web page but run into a
2862 possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds
2863 and retry a few times.")
2864 (license l:perl-license)))
2866 (define-public perl-net-amazon-s3
2868 (name "perl-net-amazon-s3")
2873 (uri (string-append "mirror://cpan/authors/id/P/PF/PFIG/"
2874 "Net-Amazon-S3-" version ".tar.gz"))
2877 "10dcsq4s2kc9cb1vccx17r187c81drirc3s1hbxh3rb8489kg2b2"))
2878 (patches (search-patches
2879 "perl-net-amazon-s3-moose-warning.patch"))))
2880 (build-system perl-build-system)
2882 `(("perl-libwww" ,perl-libwww)
2883 ("perl-test-exception" ,perl-test-exception)))
2885 `(("perl-data-stream-bulk" ,perl-data-stream-bulk)
2886 ("perl-datetime-format-http" ,perl-datetime-format-http)
2887 ("perl-digest-hmac" ,perl-digest-hmac)
2888 ("perl-digest-md5-file" ,perl-digest-md5-file)
2889 ("perl-file-find-rule" ,perl-file-find-rule)
2890 ("perl-http-date" ,perl-http-date)
2891 ("perl-http-message" ,perl-http-message)
2892 ("perl-lwp-useragent-determined" ,perl-lwp-useragent-determined)
2893 ("perl-mime-types" ,perl-mime-types)
2894 ("perl-moose" ,perl-moose)
2895 ("perl-moosex-strictconstructor" ,perl-moosex-strictconstructor)
2896 ("perl-moosex-types-datetime-morecoercions"
2897 ,perl-moosex-types-datetime-morecoercions)
2898 ("perl-path-class" ,perl-path-class)
2899 ("perl-regexp-common" ,perl-regexp-common)
2900 ("perl-term-encoding" ,perl-term-encoding)
2901 ("perl-term-progressbar-simple" ,perl-term-progressbar-simple)
2902 ("perl-uri" ,perl-uri)
2903 ("perl-xml-libxml" ,perl-xml-libxml)))
2904 (home-page "http://search.cpan.org/dist/Net-Amazon-S3")
2905 (synopsis "Perl interface to Amazon S3")
2906 (description "This module provides a Perlish interface to Amazon S3.")
2907 (license l:perl-license)))
2909 (define-public perl-net-http
2911 (name "perl-net-http")
2916 "mirror://cpan/authors/id/M/MS/MSCHILLI/Net-HTTP-"
2920 "0r034hhci0yqbrkrh1gv6vi5g3i0kpd1k84z62nk02asb8rf0ccz"))))
2921 (build-system perl-build-system)
2923 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)
2924 ("perl-uri" ,perl-uri)))
2925 (license l:perl-license)
2926 (synopsis "Perl low-level HTTP connection (client)")
2928 "The Net::HTTP class is a low-level HTTP client. An instance of the
2929 Net::HTTP class represents a connection to an HTTP server. The HTTP protocol
2930 is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
2932 (home-page "http://search.cpan.org/dist/Net-HTTP")))
2934 (define-public perl-net-server
2936 (name "perl-net-server")
2941 (uri (string-append "mirror://cpan/authors/id/R/RH/RHANDOM/"
2942 "Net-Server-" version ".tar.gz"))
2945 "0gw1k9gcw7habbkxvsfa2gz34brlbwcidk6khgsf1qjm0dbccrw2"))))
2946 (build-system perl-build-system)
2947 (home-page "http://search.cpan.org/dist/Net-Server")
2948 (synopsis "Extensible Perl server engine")
2949 (description "Net::Server is an extensible, generic Perl server engine.
2950 It attempts to be a generic server as in Net::Daemon and NetServer::Generic.
2951 It includes with it the ability to run as an inetd
2952 process (Net::Server::INET), a single connection server (Net::Server or
2953 Net::Server::Single), a forking server (Net::Server::Fork), a preforking
2954 server which maintains a constant number of preforked
2955 children (Net::Server::PreForkSimple), or as a managed preforking server which
2956 maintains the number of children based on server load (Net::Server::PreFork).
2957 In all but the inetd type, the server provides the ability to connect to one
2958 or to multiple server ports.")
2959 (license l:perl-license)))
2961 (define-public perl-net-smtp-ssl
2963 (name "perl-net-smtp-ssl")
2968 (uri (string-append "mirror://cpan/authors/id/R/RJ/RJBS/"
2969 "Net-SMTP-SSL-" version ".tar.gz"))
2972 "05y94mb1vdw32mvwb0cp2h4ggh32f8j8nwwfjb8kjwxvfkfhyp9h"))))
2973 (build-system perl-build-system)
2975 `(("perl-io-socket-ssl" ,perl-io-socket-ssl)))
2976 (home-page "http://search.cpan.org/dist/Net-SMTP-SSL")
2977 (synopsis "SSL support for Net::SMTP")
2978 (description "SSL support for Net::SMTP.")
2979 (license l:perl-license)))
2981 (define-public perl-plack
2988 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
2989 "Plack-" version ".tar.gz"))
2992 "081jg0xddzpg2anmqi9i6d7vs6c8z7k557bf8xl6vgb3h95pin5w"))))
2993 (build-system perl-build-system)
2995 `(("perl-test-requires" ,perl-test-requires)
2996 ("perl-file-sharedir-install" ,perl-file-sharedir-install)))
2998 `(("perl-apache-logformat-compiler" ,perl-apache-logformat-compiler)
2999 ("perl-devel-stacktrace" ,perl-devel-stacktrace)
3000 ("perl-devel-stacktrace-ashtml" ,perl-devel-stacktrace-ashtml)
3001 ("perl-file-sharedir" ,perl-file-sharedir)
3002 ("perl-hash-multivalue" ,perl-hash-multivalue)
3003 ("perl-http-body" ,perl-http-body)
3004 ("perl-http-message" ,perl-http-message)
3005 ("perl-http-tiny" ,perl-http-tiny)
3006 ("perl-libwww" ,perl-libwww)
3007 ("perl-stream-buffered" ,perl-stream-buffered)
3008 ("perl-test-tcp" ,perl-test-tcp)
3009 ("perl-try-tiny" ,perl-try-tiny)
3010 ("perl-uri" ,perl-uri)))
3011 (home-page "http://search.cpan.org/dist/Plack")
3012 (synopsis "Perl Superglue for Web frameworks and servers (PSGI toolkit)")
3013 (description "Plack is a set of tools for using the PSGI stack. It
3014 contains middleware components, a reference server, and utilities for Web
3015 application frameworks. Plack is like Ruby's Rack or Python's Paste for
3017 (license l:perl-license)))
3019 (define-public perl-plack-middleware-fixmissingbodyinredirect
3021 (name "perl-plack-middleware-fixmissingbodyinredirect")
3026 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3027 "Plack-Middleware-FixMissingBodyInRedirect-"
3031 "14dkrmccq7a5vpymx5dv8032gfcvhsw2i6v5sh3c4ym5ymlx08kc"))))
3032 (build-system perl-build-system)
3034 `(("perl-html-parser" ,perl-html-parser) ;for HTML::Entities
3035 ("perl-http-message" ,perl-http-message)
3036 ("perl-plack" ,perl-plack))) ;for Plack::Test
3038 "http://search.cpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect")
3039 (synopsis "Plack::Middleware which sets body for redirect response")
3040 (description "This module sets the body in redirect response, if it's not
3042 (license l:perl-license)))
3044 (define-public perl-plack-middleware-methodoverride
3046 (name "perl-plack-middleware-methodoverride")
3051 (uri (string-append "mirror://cpan/authors/id/D/DW/DWHEELER/"
3052 "Plack-Middleware-MethodOverride-"
3056 "1hb8dx7i4vs74n0p737wrvpdnnw6argxrjpr6kj6432zabp8325z"))))
3057 (build-system perl-build-system)
3059 `(("perl-module-build" ,perl-module-build)))
3061 `(("perl-plack" ,perl-plack)))
3062 (home-page "http://search.cpan.org/dist/Plack-Middleware-MethodOverride")
3063 (synopsis "Override REST methods to Plack apps via POST")
3064 (description "This middleware allows for POST requests that pretend to be
3065 something else: by adding either a header named X-HTTP-Method-Override to the
3066 request, or a query parameter named x-tunneled-method to the URI, the client
3067 can say what method it actually meant.")
3068 (license l:perl-license)))
3070 (define-public perl-plack-middleware-removeredundantbody
3072 (name "perl-plack-middleware-removeredundantbody")
3077 (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
3078 "Plack-Middleware-RemoveRedundantBody-"
3082 "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
3083 (build-system perl-build-system)
3085 `(("perl-plack" ,perl-plack)))
3087 "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody")
3088 (synopsis "Plack::Middleware which removes body for HTTP response")
3089 (description "This module removes the body in an HTTP response if it's not
3091 (license l:perl-license)))
3093 (define-public perl-plack-middleware-reverseproxy
3095 (name "perl-plack-middleware-reverseproxy")
3100 (uri (string-append "mirror://cpan/authors/id/M/MI/MIYAGAWA/"
3101 "Plack-Middleware-ReverseProxy-"
3105 "1zmsccdy6wr5hxzj07r1nsmaymyibk87p95z0wzknjw10lwmqs9f"))))
3106 (build-system perl-build-system)
3108 `(("perl-module-install" ,perl-module-install)))
3110 `(("perl-plack" ,perl-plack)))
3111 (home-page "http://search.cpan.org/dist/Plack-Middleware-ReverseProxy")
3112 (synopsis "Supports app to run as a reverse proxy backend")
3113 (description "Plack::Middleware::ReverseProxy resets some HTTP headers,
3114 which are changed by reverse-proxy. You can specify the reverse proxy address
3115 and stop fake requests using 'enable_if' directive in your app.psgi.")
3116 (license l:perl-license)))
3118 (define-public perl-plack-test-externalserver
3120 (name "perl-plack-test-externalserver")
3125 (uri (string-append "mirror://cpan/authors/id/F/FL/FLORA/"
3126 "Plack-Test-ExternalServer-" version ".tar.gz"))
3129 "1dbg1p3rgvvbkkpvca5jlc2mzx8iqyiybk88al93pvbca65h1g7h"))))
3130 (build-system perl-build-system)
3132 `(("perl-plack" ,perl-plack)))
3133 (home-page "http://search.cpan.org/dist/Plack-Test-ExternalServer")
3134 (synopsis "Run HTTP tests on external live servers")
3135 (description "This module allows your to run your Plack::Test tests
3136 against an external server instead of just against a local application through
3137 either mocked HTTP or a locally spawned server.")
3138 (license l:perl-license)))
3140 (define-public perl-test-tcp
3142 (name "perl-test-tcp")
3147 (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
3148 "Test-TCP-" version ".tar.gz"))
3151 "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
3152 (build-system perl-build-system)
3154 `(("perl-test-sharedfork" ,perl-test-sharedfork)))
3155 (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
3156 (home-page "http://search.cpan.org/dist/Test-TCP")
3157 (synopsis "Testing TCP programs")
3158 (description "Test::TCP is test utilities for TCP/IP programs.")
3159 (license l:perl-license)))
3161 (define-public perl-test-www-mechanize
3163 (name "perl-test-www-mechanize")
3168 (uri (string-append "mirror://cpan/authors/id/P/PE/PETDANCE/"
3169 "Test-WWW-Mechanize-" version ".tar.gz"))
3172 "062pj242vsc73bw11jqpap92ax9wzc9f2m4xhyp1wzrwkfchpl2q"))))
3173 (build-system perl-build-system)
3175 `(("perl-test-exception" ,perl-test-exception)))
3177 `(("perl-module-install" ,perl-module-install)))
3179 `(("perl-carp-assert-more" ,perl-carp-assert-more)
3180 ("perl-html-form" ,perl-html-form)
3181 ("perl-html-lint" ,perl-html-lint)
3182 ("perl-html-tree" ,perl-html-tree)
3183 ("perl-http-server-simple" ,perl-http-server-simple)
3184 ("perl-libwww" ,perl-libwww)
3185 ("perl-test-longstring" ,perl-test-longstring)
3186 ("perl-www-mechanize" ,perl-www-mechanize)))
3187 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize")
3188 (synopsis "Testing-specific WWW::Mechanize subclass")
3189 (description "Test::WWW::Mechanize is a subclass of the Perl module
3190 WWW::Mechanize that incorporates features for web application testing.")
3191 (license l:artistic2.0)))
3193 (define-public perl-test-www-mechanize-catalyst
3195 (name "perl-test-www-mechanize-catalyst")
3200 (uri (string-append "mirror://cpan/authors/id/J/JJ/JJNAPIORK/"
3201 "Test-WWW-Mechanize-Catalyst-" version ".tar.gz"))
3204 "0nhhfrrai3ndziz873vpa1j0vljjnib4wqafd6yyvkf58ad7v0lv"))))
3205 (build-system perl-build-system)
3207 `(("perl-catalyst-plugin-session" ,perl-catalyst-plugin-session)
3208 ("perl-catalyst-plugin-session-state-cookie"
3209 ,perl-catalyst-plugin-session-state-cookie)
3210 ("perl-module-install" ,perl-module-install)
3211 ("perl-test-exception" ,perl-test-exception)
3212 ("perl-test-pod" ,perl-test-pod)
3213 ("perl-test-utf8" ,perl-test-utf8)))
3215 `(("perl-catalyst-runtime" ,perl-catalyst-runtime)
3216 ("perl-class-load" ,perl-class-load)
3217 ("perl-libwww" ,perl-libwww)
3218 ("perl-moose" ,perl-moose)
3219 ("perl-namespace-clean" ,perl-namespace-clean)
3220 ("perl-test-www-mechanize" ,perl-test-www-mechanize)
3221 ("perl-www-mechanize" ,perl-www-mechanize)))
3222 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-Catalyst")
3223 (synopsis "Test::WWW::Mechanize for Catalyst")
3224 (description "The Test::WWW::Mechanize::Catalyst module meshes the
3225 Test::WWW:Mechanize module and the Catalyst web application framework to allow
3226 testing of Catalyst applications without needing to start up a web server.")
3227 (license l:perl-license)))
3229 (define-public perl-test-www-mechanize-psgi
3231 (name "perl-test-www-mechanize-psgi")
3236 (uri (string-append "mirror://cpan/authors/id/L/LB/LBROCARD/"
3237 "Test-WWW-Mechanize-PSGI-" version ".tar.gz"))
3240 "1hih8s49zf38bisvhnhzrrj0zwyiivkrbs7nmmdqm1qqy27wv7pc"))))
3241 (build-system perl-build-system)
3243 `(("perl-test-pod" ,perl-test-pod)))
3245 `(("perl-plack" ,perl-plack)
3246 ("perl-test-www-mechanize" ,perl-test-www-mechanize)))
3247 (home-page "http://search.cpan.org/dist/Test-WWW-Mechanize-PSGI")
3248 (synopsis "Test PSGI programs using WWW::Mechanize")
3249 (description "PSGI is a specification to decouple web server environments
3250 from web application framework code. Test::WWW::Mechanize is a subclass of
3251 WWW::Mechanize that incorporates features for web application testing. The
3252 Test::WWW::Mechanize::PSGI module meshes the two to allow easy testing of PSGI
3254 (license l:perl-license)))
3256 (define-public perl-uri
3262 (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
3263 "URI-" version ".tar.gz"))
3266 "05a1ck1bhvqkkk690xhsxf7276dnagk96qkh2jy4prrrgw6wm3lw"))))
3267 (build-system perl-build-system)
3268 (license l:perl-license)
3269 (synopsis "Perl Uniform Resource Identifiers (absolute and relative)")
3271 "The URI module implements the URI class. Objects of this class
3272 represent \"Uniform Resource Identifier references\" as specified in RFC 2396
3273 and updated by RFC 2732.")
3274 (home-page "http://search.cpan.org/dist/URI/")))
3276 (define-public perl-uri-fetch
3278 (name "perl-uri-fetch")
3282 (uri (string-append "mirror://cpan/authors/id/N/NE/NEILB/"
3283 "URI-Fetch-" version ".tar.gz"))
3286 "0rw6xiqm70s218aii9id3hf8j3pz6n22xnwd8v9m1ff2bnh63c0d"))))
3287 (build-system perl-build-system)
3289 `(#:tests? #f)) ; Tests require internet connection to succeed
3291 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3292 ("perl-libwww" ,perl-libwww)
3293 ("perl-uri" ,perl-uri)))
3294 (home-page "http://search.cpan.org/dist/URI-Fetch")
3295 (synopsis "Smart URI fetching/caching")
3296 (description "@code{URI::Fetch} is a smart client for fetching HTTP pages,
3297 notably syndication feeds (RSS, Atom, and others), in an intelligent, bandwidth-
3298 and time-saving way.")
3299 (license l:perl-license)))
3301 (define-public perl-uri-find
3303 (name "perl-uri-find")
3304 (version "20140709")
3308 (uri (string-append "mirror://cpan/authors/id/M/MS/MSCHWERN/"
3309 "URI-Find-" version ".tar.gz"))
3312 "0czc4h182s7sx3k123m7qlg7yybnwxgh369hap3c3b6xgrglrhy0"))))
3313 (build-system perl-build-system)
3315 `(("perl-module-build" ,perl-module-build)))
3317 `(("perl-uri" ,perl-uri)))
3318 (home-page "http://search.cpan.org/dist/URI-Find")
3319 (synopsis "Find URIs in arbitrary text")
3320 (description "This module finds URIs and URLs (according to what URI.pm
3321 considers a URI) in plain text. It only finds URIs which include a
3322 scheme (http:// or the like), for something a bit less strict, consider
3323 URI::Find::Schemeless. For a command-line interface, urifind is provided.")
3324 (license l:perl-license)))
3326 (define-public perl-uri-ws
3328 (name "perl-uri-ws")
3333 (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
3334 "URI-ws-" version ".tar.gz"))
3337 "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
3338 (build-system perl-build-system)
3340 `(("perl-uri" ,perl-uri)))
3341 (home-page "http://search.cpan.org/dist/URI-ws")
3342 (synopsis "WebSocket support for URI package")
3343 (description "With this module, the URI package provides the same set of
3344 methods for WebSocket URIs as it does for HTTP URIs.")
3345 (license l:perl-license)))
3347 (define-public perl-uri-template
3349 (name "perl-uri-template")
3353 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/URI-Template-"
3357 "08kjjb4c0v9gqfrfnj1wkivylxl05finn11ra64dj136fhmnyrbg"))))
3358 (build-system perl-build-system)
3360 `(("perl-uri" ,perl-uri)))
3362 `(("perl-test-pod-coverage" ,perl-test-pod-coverage)
3363 ("perl-test-pod" ,perl-test-pod)
3364 ("perl-module-install" ,perl-module-install)
3365 ("perl-json" ,perl-json)))
3366 (home-page "http://search.cpan.org/dist/URI-Template")
3367 (synopsis "Object for handling URI templates")
3368 (description "This perl module provides a wrapper around URI templates as described in
3370 (license l:perl-license)))
3372 (define-public perl-www-curl
3374 (name "perl-www-curl")
3379 "mirror://cpan/authors/id/S/SZ/SZBALINT/WWW-Curl-"
3381 (patches (search-patches "perl-www-curl-remove-symbol.patch"))
3384 "1fmp9aib1kaps9vhs4dwxn7b15kgnlz9f714bxvqsd1j1q8spzsj"))))
3385 (build-system perl-build-system)
3387 '(#:tests? #f ;XXX: tests require network access
3389 #:phases (modify-phases %standard-phases
3390 (add-before 'configure 'set-search-path
3392 ;; Work around "dotless @INC" build failure.
3394 (string-append (getcwd) ":"
3395 (getenv "PERL5LIB")))
3398 `(("perl-module-install" ,perl-module-install)))
3399 (inputs `(("curl" ,curl)))
3400 (synopsis "Perl extension interface for libcurl")
3402 "This is a Perl extension interface for the libcurl file downloading
3404 (license l:perl-license)
3405 (home-page "http://search.cpan.org/~szbalint/WWW-Curl-4.17/lib/WWW/Curl.pm")))
3407 (define-public perl-www-mechanize
3409 (name "perl-www-mechanize")
3414 (uri (string-append "mirror://cpan/authors/id/O/OA/OALDERS/"
3415 "WWW-Mechanize-" version ".tar.gz"))
3418 "0sfl6b7mx8nannnh3ys5jk44d1s1b2d1mffrnrphkzzykaw6hm0f"))))
3419 (build-system perl-build-system)
3420 (native-inputs ;only for tests
3421 `(("perl-cgi" ,perl-cgi)
3422 ("perl-test-deep" ,perl-test-deep)
3423 ("perl-test-fatal" ,perl-test-fatal)
3424 ("perl-test-output" ,perl-test-output)
3425 ("perl-test-warnings" ,perl-test-warnings)))
3427 `(("perl-html-form" ,perl-html-form)
3428 ("perl-html-parser" ,perl-html-parser)
3429 ("perl-html-tree" ,perl-html-tree)
3430 ("perl-http-message" ,perl-http-message)
3431 ("perl-http-server-simple" ,perl-http-server-simple)
3432 ("perl-libwww" ,perl-libwww)
3433 ("perl-test-warn" ,perl-test-warn)
3434 ("perl-uri" ,perl-uri)))
3435 (home-page "http://search.cpan.org/dist/WWW-Mechanize")
3436 (synopsis "Web browsing in a Perl object")
3437 (description "WWW::Mechanize is a Perl module for stateful programmatic
3438 web browsing, used for automating interaction with websites.")
3439 (license l:perl-license)))
3441 (define-public perl-www-opensearch
3443 (name "perl-www-opensearch")
3447 (uri (string-append "mirror://cpan/authors/id/B/BR/BRICAS/"
3448 "WWW-OpenSearch-" version ".tar.gz"))
3451 "1yxplx1q1qk2fvnzqrbk01lz26fy1lyhay51a3ky7q3jgh9p01rb"))))
3452 (build-system perl-build-system)
3454 `(("perl-class-errorhandler" ,perl-class-errorhandler)
3455 ("perl-datetime" ,perl-datetime)
3456 ("perl-datetime-format-mail" ,perl-datetime-format-mail)
3457 ("perl-datetime-format-w3cdtf" ,perl-datetime-format-w3cdtf)
3458 ("perl-feed-find" ,perl-feed-find)
3459 ("perl-module-install" ,perl-module-install)
3460 ("perl-module-pluggable" ,perl-module-pluggable)
3461 ("perl-uri-fetch" ,perl-uri-fetch)
3462 ("perl-test-simple" ,perl-test-simple)
3463 ("perl-xml-atom" ,perl-xml-atom)
3464 ("perl-xml-rss" ,perl-xml-rss)))
3466 `(("perl-data-page" ,perl-data-page)
3467 ("perl-libwww" ,perl-libwww)
3468 ("perl-uri" ,perl-uri)
3469 ("perl-uri-template" ,perl-uri-template)
3470 ("perl-xml-feed" ,perl-xml-feed)
3471 ("perl-xml-libxml" ,perl-xml-libxml)))
3472 (home-page "http://search.cpan.org/dist/WWW-OpenSearch")
3473 (synopsis "Search A9 OpenSearch compatible engines")
3475 "@code{WWW::OpenSearch} is a module to search @url{A9's OpenSearch,
3476 http://opensearch.a9.com} compatible search engines.")
3477 (license l:perl-license)))
3479 (define-public perl-www-robotrules
3481 (name "perl-www-robotrules")
3486 "mirror://cpan/authors/id/G/GA/GAAS/WWW-RobotRules-"
3490 "07m50dp5n5jxv3m93i55qvnd67a6g7cvbvlik115kmc8lbkh5da6"))))
3491 (build-system perl-build-system)
3493 `(("perl-uri" ,perl-uri)))
3494 (license l:perl-license)
3495 (synopsis "Perl database of robots.txt-derived permissions")
3497 "The WWW::RobotRules module parses /robots.txt files as specified in
3498 \"A Standard for Robot Exclusion\", at
3499 <http://www.robotstxt.org/wc/norobots.html>. Webmasters can use the
3500 /robots.txt file to forbid conforming robots from accessing parts of
3502 (home-page "http://search.cpan.org/~gaas/WWW-RobotRules/")))
3504 (define-public python-feedparser
3506 (name "python-feedparser")
3511 (uri (pypi-uri "feedparser" version ".tar.bz2"))
3514 "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
3515 (build-system python-build-system)
3519 "https://github.com/kurtmckee/feedparser")
3520 (synopsis "Parse feeds in Python")
3522 "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
3523 CDF, Atom 0.3, and Atom 1.0 feeds.")
3524 (license (list l:bsd-2 ; source code
3525 l:freebsd-doc)))) ; documentation
3527 (define-public python2-feedparser
3528 (package-with-python2 python-feedparser))
3530 (define-public r-httpuv
3536 (uri (cran-uri "httpuv" version))
3539 "1sg4f223zfyd265b28rlhsn3b6mqflcpnmya98cjmjncmy9vjdj3"))))
3540 (build-system r-build-system)
3541 (native-inputs `(("r-rcpp" ,r-rcpp)))
3542 (home-page "https://github.com/rstudio/httpuv")
3543 (synopsis "HTTP and WebSocket server library for R")
3545 "The httpuv package provides low-level socket and protocol support for
3546 handling HTTP and WebSocket requests directly from within R. It is primarily
3547 intended as a building block for other packages, rather than making it
3548 particularly easy to create complete web applications using httpuv alone.")
3549 ;; This package includes third-party code that was originally released
3550 ;; under various non-copyleft licenses. Full licensing information can be
3551 ;; obtained here: https://github.com/rstudio/httpuv/blob/master/LICENSE
3554 (define-public r-jsonlite
3560 (uri (cran-uri "jsonlite" version))
3563 "00lfg464jhf7k01bal9pcjvbdf5cxk6xi2h46hccp1x3h883g434"))))
3564 (build-system r-build-system)
3565 (home-page "http://arxiv.org/abs/1403.2805")
3566 (synopsis "Robust, high performance JSON parser and generator for R")
3568 "The jsonlite package provides a fast JSON parser and generator optimized
3569 for statistical data and the web. It offers flexible, robust, high
3570 performance tools for working with JSON in R and is particularly powerful for
3571 building pipelines and interacting with a web API. In addition to converting
3572 JSON data from/to R objects, jsonlite contains functions to stream, validate,
3573 and prettify JSON data. The unit tests included with the package verify that
3574 all edge cases are encoded and decoded consistently for use with dynamic data
3575 in systems and applications.")
3578 (define-public r-servr
3584 (uri (cran-uri "servr" version))
3587 "0rxh89csqlpyf9wv5wlymya9kbddj79mlmxz2x0xmls12gbrxaaa"))))
3588 (build-system r-build-system)
3590 `(("r-httpuv" ,r-httpuv)
3591 ("r-jsonlite" ,r-jsonlite)
3592 ("r-mime" ,r-mime)))
3594 `(("r-rcpp" ,r-rcpp)))
3595 (home-page "https://github.com/yihui/servr")
3596 (synopsis "Simple HTTP server to serve static files or dynamic documents")
3598 "Servr provides an HTTP server in R to serve static files, or dynamic
3599 documents that can be converted to HTML files (e.g., R Markdown) under a given
3603 (define-public r-htmltools
3605 (name "r-htmltools")
3609 (uri (cran-uri "htmltools" version))
3612 "18k8r1s8sz1jy7dkz35n69wj20xhmllr53xmwb4pdzf2z61gpbs4"))))
3613 (build-system r-build-system)
3616 (modify-phases %standard-phases
3617 ;; See https://github.com/rstudio/htmltools/pull/68
3618 ;; The resource files are in the store and have mode 444. After
3619 ;; copying the files R fails to remove them again because it doesn't
3620 ;; have write access to them.
3621 (add-after 'unpack 'copy-files-without-mode
3623 (substitute* "R/html_dependency.R"
3624 (("file.copy\\(from, to, " prefix)
3625 (string-append prefix
3626 "copy.mode = FALSE, ")))
3629 `(("r-digest" ,r-digest)
3630 ("r-rcpp" ,r-rcpp)))
3631 (home-page "http://cran.r-project.org/web/packages/htmltools")
3632 (synopsis "R tools for HTML")
3634 "This package provides tools for HTML generation and output in R.")
3637 (define-public r-htmlwidgets
3639 (name "r-htmlwidgets")
3643 (uri (cran-uri "htmlwidgets" version))
3646 "0plqkfqys1ca3ki7sb7yc6gwjpi7yy4g3mzh7hfy8s6qri0vam0i"))))
3647 (build-system r-build-system)
3649 `(("r-htmltools" ,r-htmltools)
3650 ("r-jsonlite" ,r-jsonlite)
3651 ("r-yaml" ,r-yaml)))
3652 (home-page "https://github.com/ramnathv/htmlwidgets")
3653 (synopsis "HTML Widgets for R")
3655 "HTML widgets is a framework for creating HTML widgets that render in
3656 various contexts including the R console, R Markdown documents, and Shiny web
3660 (define-public r-htmltable
3662 (name "r-htmltable")
3667 (uri (cran-uri "htmlTable" version))
3670 "0ciic1f4iczq14j81fg7kxibn65sy8z1zxkvk1yxnxxg6dzplj2v"))))
3671 (properties `((upstream-name . "htmlTable")))
3672 (build-system r-build-system)
3674 `(("r-checkmate" ,r-checkmate)
3675 ("r-htmlwidgets" ,r-htmlwidgets)
3676 ("r-knitr" ,r-knitr)
3677 ("r-magrittr" ,r-magrittr)
3678 ("r-stringr" ,r-stringr)))
3679 (home-page "http://gforge.se/packages/")
3680 (synopsis "Advanced tables for Markdown/HTML")
3682 "This package provides functions to build tables with advanced layout
3683 elements such as row spanners, column spanners, table spanners, zebra
3684 striping, and more. While allowing advanced layout, the underlying
3685 CSS-structure is simple in order to maximize compatibility with word
3686 processors such as LibreOffice. The package also contains a few text
3687 formatting functions that help outputting text compatible with HTML or
3691 (define-public r-curl
3697 (uri (cran-uri "curl" version))
3700 "0dgfl7wn4r8inv55xnk4ybf1y2x4qmi4cbr6phr3lfi1dnjm4hsm"))))
3701 (build-system r-build-system)
3704 (modify-phases %standard-phases
3705 ;; The environment variable CURL_CA_BUNDLE is only respected when
3706 ;; running Windows, so we disable the platform checks.
3707 ;; This can be removed once the libcurl has been patched.
3708 (add-after 'unpack 'allow-CURL_CA_BUNDLE
3710 (substitute* "R/onload.R"
3711 (("if \\(!grepl\\(\"mingw\".*")
3713 (substitute* "src/handle.c"
3714 (("#ifdef _WIN32") "#if 1"))
3717 `(("libcurl" ,curl)))
3718 (home-page "https://github.com/jeroenooms/curl")
3719 (synopsis "HTTP client for R")
3721 "The @code{curl()} and @code{curl_download()} functions provide highly
3722 configurable drop-in replacements for base @code{url()} and
3723 @code{download.file()} with better performance, support for encryption, gzip
3724 compression, authentication, and other @code{libcurl} goodies. The core of
3725 the package implements a framework for performing fully customized requests
3726 where data can be processed either in memory, on disk, or streaming via the
3727 callback or connection interfaces.")
3730 (define-public r-hwriter
3737 (uri (cran-uri "hwriter" version))
3740 "0arjsz854rfkfqhgvpqbm9lfni97dcjs66isdsfvwfd2wz932dbb"))))
3741 (build-system r-build-system)
3742 (home-page "http://cran.r-project.org/web/packages/hwriter")
3743 (synopsis "Output R objects in HTML format")
3745 "This package provides easy-to-use and versatile functions to output R
3746 objects in HTML format.")
3747 (license l:lgpl2.1+)))
3749 (define-public r-rjson
3756 (uri (cran-uri "rjson" version))
3759 "1vzjyvf57k1fjizlk28rby65y5lsww5qnfvgnhln74qwda7hvl3p"))))
3760 (build-system r-build-system)
3761 (home-page "http://cran.r-project.org/web/packages/rjson")
3762 (synopsis "JSON library for R")
3764 "This package provides functions to convert R objects into JSON objects
3768 (define-public gumbo-parser
3770 (name "gumbo-parser")
3774 (uri (string-append "https://github.com/google/"
3775 "gumbo-parser/archive/v" version ".tar.gz"))
3776 (file-name (string-append name "-" version ".tar.gz"))
3779 "1bgg2kbj311pqdzw2v33za7k66g1rv44kkvvnz2gnpaasi9k0ii8"))))
3780 (build-system gnu-build-system)
3782 `(#:tests? #f ; tests require bundling googletest sources
3784 (modify-phases %standard-phases
3785 (add-after 'unpack 'bootstrap
3786 (lambda _ (zero? (system* "sh" "autogen.sh")))))))
3787 ;; The release tarball lacks the generated files.
3789 `(("autoconf" ,autoconf)
3790 ("automake" ,automake)
3791 ("libtool" ,libtool)))
3792 (home-page "https://github.com/google/gumbo-parser")
3793 (synopsis "HTML5 parsing library")
3795 "Gumbo is an implementation of the HTML5 parsing algorithm implemented as
3796 a pure C99 library.")
3797 (license l:asl2.0)))
3799 (define-public uwsgi
3805 (uri (string-append "http://projects.unbit.it/downloads/uwsgi-"
3809 "02g46dnw5j1iw8fsq392bxbk8d21b9pdgb3ypcinv3b4jzdm2srh"))))
3810 (build-system gnu-build-system)
3811 (outputs '("out" "python"))
3813 '(;; XXX: The 'check' target runs cppcheck to do static code analysis.
3814 ;; But there is no obvious way to run the real tests.
3817 (modify-phases %standard-phases
3819 ;; Configuration is done by writing an ini file.
3820 (lambda* (#:key outputs #:allow-other-keys)
3821 (let* ((out (assoc-ref outputs "out"))
3822 (bindir (string-append out "/bin"))
3823 (plugindir (string-append out "/lib/uwsgi")))
3824 ;; The build phase outputs files to these directories directly.
3827 ;; XXX: Enable other plugins.
3828 (call-with-output-file "buildconf/guix.ini"
3830 (format port "[uwsgi]
3836 plugins = cgi,python
3838 " bindir plugindir))))
3839 (setenv "PROFILE" "guix")
3842 ;; Move plugins into their own output.
3843 (lambda* (#:key outputs #:allow-other-keys)
3844 (let* ((out (assoc-ref outputs "out"))
3845 (plugindir (string-append out "/lib/uwsgi"))
3846 (python-plugin (string-append
3847 plugindir "/python_plugin.so")))
3848 (install-file python-plugin
3850 (assoc-ref outputs "python") "/lib/uwsgi"))
3851 (delete-file python-plugin)
3854 `(("pkg-config" ,pkg-config)
3855 ("python" ,python-wrapper)))
3857 `(("jansson" ,jansson)
3858 ("libxml2" ,libxml2)
3859 ("libyaml" ,libyaml)
3860 ("openssl" ,openssl)
3864 ("python" ,python)))
3865 (home-page "https://uwsgi-docs.readthedocs.org/")
3866 (synopsis "Application container server")
3868 "uWSGI presents a complete stack for networked/clustered web applications,
3869 implementing message/object passing, caching, RPC and process management.
3870 It uses the uwsgi protocol for all the networking/interprocess communications.")
3871 (license l:gpl2+))) ; with linking exception
3879 (uri (string-append "https://github.com/stedolan/" name
3880 "/releases/download/" name "-" version
3881 "/" name "-" version ".tar.gz"))
3884 "0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"))
3885 ;; This patch has been pushed and the vulnerability will be
3886 ;; fixed in the next release after 1.5.
3887 ;; https://github.com/stedolan/jq/issues/995
3888 (patches (search-patches "jq-CVE-2015-8863.patch"))))
3890 `(("oniguruma" ,oniguruma)))
3892 `(;; TODO fix gems to generate documentation
3894 ;;("bundler" ,bundler)
3895 ("valgrind" ,valgrind)))
3896 (build-system gnu-build-system)
3897 (home-page "http://stedolan.github.io/jq/")
3898 (synopsis "Command-line JSON processor")
3899 (description "jq is like sed for JSON data – you can use it to slice and
3900 filter and map and transform structured data with the same ease that sed, awk,
3901 grep and friends let you play with text. It is written in portable C. jq can
3902 mangle the data format that you have into the one that you want with very
3903 little effort, and the program to do so is often shorter and simpler than
3905 (license (list l:expat l:cc-by3.0))))
3907 (define-public uhttpmock
3914 (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/"
3915 name "-" version ".tar.xz"))
3918 "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6"))))
3919 (build-system glib-or-gtk-build-system)
3922 (modify-phases %standard-phases
3923 (add-before 'check 'use-empty-ssl-cert-file
3925 ;; Search for ca-certificates.crt files
3926 ;; during the check phase.
3927 (setenv "SSL_CERT_FILE" "/dev/null")
3930 `(("gobject-introspection" ,gobject-introspection)
3932 ("glib-networking" ,glib-networking)
3933 ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
3934 ("pkg-config" ,pkg-config)))
3936 `(("libsoup" ,libsoup)))
3937 (home-page "https://gitlab.com/groups/uhttpmock")
3938 (synopsis "Library for mocking web service APIs which use HTTP or HTTPS")
3940 "Uhttpmock is a project for mocking web service APIs which use HTTP or
3941 HTTPS. It provides a library, libuhttpmock, which implements recording and
3942 playback of HTTP request/response traces.")
3943 (license l:lgpl2.1+)))
3948 (version "2012-05-31")
3952 "http://www.home.unix-ag.org/simon/woof-"
3956 "0wjmjhpg6xlid33yi59j47q2qadz20sijrqsjahj30vngz856hyq"))))
3957 (build-system trivial-build-system)
3959 '(#:modules ((guix build utils))
3962 (use-modules (guix build utils))
3963 (let* ((source (assoc-ref %build-inputs "source"))
3964 (out (assoc-ref %outputs "out"))
3965 (bin (string-append out "/bin"))
3966 (python (assoc-ref %build-inputs "python")))
3968 (with-directory-excursion bin
3969 (copy-file source "woof")
3970 (patch-shebang "woof" (list (string-append python "/bin")))
3971 (chmod "woof" #o555))
3973 (inputs `(("python" ,python-2)))
3974 (home-page "http://www.home.unix-ag.org/simon/woof.html")
3975 (synopsis "Single file web server")
3976 (description "Woof (Web Offer One File) is a small simple web server that
3977 can easily be invoked on a single file. Your partner can access the file with
3978 tools they trust (e.g. wget).")
3981 (define netsurf-buildsystem
3983 (name "netsurf-buildsystem")
3988 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
3989 "buildsystem-" version ".tar.gz"))
3992 "0wdgvasrjik1dgvvpqbppbpyfzkqd1v45x3g9rq7p67n773azinv"))))
3993 (build-system gnu-build-system)
3994 (inputs `(("perl" ,perl)))
3996 '(#:make-flags (list (string-append "PREFIX=" %output))
3997 #:tests? #f ;no tests
3998 #:phases (modify-phases %standard-phases
4001 (home-page "http://www.netsurf-browser.org")
4002 (synopsis "Build system for the Netsurf project")
4004 "This package provides the shared build system for Netsurf project
4008 (define netsurf-buildsystem-arguments
4009 `(#:make-flags `("COMPONENT_TYPE=lib-shared"
4010 "CC=gcc" "BUILD_CC=gcc"
4011 ,(string-append "PREFIX=" %output)
4012 ,(string-append "NSSHARED="
4013 (assoc-ref %build-inputs
4014 "netsurf-buildsystem")
4015 "/share/netsurf-buildsystem"))
4016 #:test-target "test"
4017 #:phases (modify-phases %standard-phases
4018 (delete 'configure))))
4020 (define-public libparserutils
4022 (name "libparserutils")
4027 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4028 name "-" version "-src.tar.gz"))
4031 "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5"))))
4032 (build-system gnu-build-system)
4034 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4035 ("pkg-config" ,pkg-config)
4036 ("perl" ,perl))) ;for test harness
4037 (arguments netsurf-buildsystem-arguments)
4038 (home-page "http://www.netsurf-browser.org/projects/libparserutils/")
4039 (synopsis "Parser building library")
4041 "LibParserUtils is a library for building efficient parsers, written in
4042 C. It is developed as part of the NetSurf project.")
4045 (define-public hubbub
4052 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4053 "lib" name "-" version "-src.tar.gz"))
4056 "101781iw32p47386fxqr01nrkywi12w17ajh02k2vlga4z8zyv86"))
4057 (patches (search-patches "hubbub-sort-entities.patch"))))
4058 (build-system gnu-build-system)
4060 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4061 ("pkg-config" ,pkg-config)
4062 ("doxygen" ,doxygen)
4066 `(("libparserutils" ,libparserutils))) ;for libhubbub.pc
4067 (arguments netsurf-buildsystem-arguments)
4068 (home-page "http://www.netsurf-browser.org/projects/hubbub/")
4069 (synopsis "HTML5 compliant parsing library")
4071 "Hubbub is an HTML5 compliant parsing library, written in C, which can
4072 parse both valid and invalid web content. It is developed as part of the
4076 (define-public ikiwiki
4079 (version "3.20170111")
4083 (uri (string-append "http://snapshot.debian.org/archive/debian/"
4084 "20170111T215449Z/pool/main/i/ikiwiki/ikiwiki_"
4088 "00d7yzv426fvqbhvzyafddv7fa6b4j2647b0wi371wd5yjj9j3sz"))))
4089 (build-system perl-build-system)
4091 `(;; Image tests fail
4093 ;; Test Summary Report
4094 ;; -------------------
4095 ;; t/img.t (Wstat: 2304 Tests: 62 Failed: 9)
4096 ;; Failed tests: 21, 27-28, 30-35
4097 ;; Non-zero exit status: 9
4100 (modify-phases %standard-phases
4101 (add-after 'install 'wrap-programs
4102 (lambda* (#:key outputs #:allow-other-keys)
4103 (let* ((out (assoc-ref outputs "out"))
4104 (bin (string-append out "/bin/"))
4105 (path (getenv "PERL5LIB")))
4106 (for-each (lambda (file)
4108 `("PERL5LIB" ":" prefix (,path))))
4113 ("perl-html-tagset" ,perl-html-tagset)
4114 ("perl-timedate" ,perl-timedate)
4115 ("perl-xml-sax" ,perl-xml-sax)
4116 ("perl-xml-simple" ,perl-xml-simple)
4117 ("gettext" ,gettext-minimal)
4118 ("subversion" ,subversion)
4122 ("mercurial" ,mercurial)))
4124 `(("python" ,python-wrapper)
4125 ("perl-cgi-session" ,perl-cgi-session)
4126 ("perl-cgi-simple" ,perl-cgi-simple)
4127 ("perl-json" ,perl-json)
4128 ("perl-image-magick" ,perl-image-magick)
4129 ("perl-uri" ,perl-uri)
4130 ("perl-html-parser" ,perl-html-parser)
4131 ("perl-uri" ,perl-uri)
4132 ("perl-text-markdown-discount" ,perl-text-markdown-discount)
4133 ("perl-html-scrubber" ,perl-html-scrubber)
4134 ("perl-html-template" ,perl-html-template)
4135 ("perl-yaml-libyaml" ,perl-yaml-libyaml)))
4136 (home-page "https://ikiwiki.info/")
4137 (synopsis "Wiki compiler, capable of generating HTML")
4139 "Ikiwiki is a wiki compiler, capable of generating a static set of web
4140 pages, but also incorporating dynamic features like a web based editor and
4144 (define-public libwapcaplet
4146 (name "libwapcaplet")
4151 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4152 name "-" version "-src.tar.gz"))
4155 "0cs1dd2afjgc3wf5gqg434hv6jdabrp9qvlpl4dp53nhkyfywna3"))))
4156 (build-system gnu-build-system)
4158 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4159 ("pkg-config" ,pkg-config)
4160 ("check" ,check))) ;for tests
4161 (arguments netsurf-buildsystem-arguments)
4162 (home-page "http://www.netsurf-browser.org/projects/libwapcaplet/")
4163 (synopsis "String internment library")
4165 "LibWapcaplet provides a reference counted string internment system
4166 designed to store small strings and allow rapid comparison of them. It is
4167 developed as part of the Netsurf project.")
4170 (define-public libcss
4177 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4178 name "-" version "-src.tar.gz"))
4181 "0qp4p1q1dwgdra4pkrzd081zjzisxkgwx650ijx323j8bj725daf"))))
4182 (build-system gnu-build-system)
4184 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4185 ("pkg-config" ,pkg-config)
4187 (propagated-inputs ;needed for libcss.pc
4188 `(("libparserutils" ,libparserutils)
4189 ("libwapcaplet" ,libwapcaplet)))
4190 (arguments netsurf-buildsystem-arguments)
4191 (home-page "http://www.netsurf-browser.org/projects/libcss/")
4192 (synopsis "CSS parser and selection library")
4194 "LibCSS is a CSS (Cascading Style Sheet) parser and selection engine,
4195 written in C. It is developed as part of the NetSurf project.")
4198 (define-public libdom
4205 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4206 name "-" version "-src.tar.gz"))
4209 "0qy7c8b229aiamyqqjgp6m1jlzc3fpl8s9dk33kxzkj70na8l7hv"))))
4210 (build-system gnu-build-system)
4212 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4213 ("pkg-config" ,pkg-config)
4214 ("perl" ,perl) ;for test harness
4215 ("perl-libxml" ,perl-libxml)
4216 ("perl-switch" ,perl-switch)
4217 ("perl-xml-xpath" ,perl-xml-xpath)))
4219 `(("libparserutils" ,libparserutils)
4220 ("libwapcaplet" ,libwapcaplet)))
4222 `(("expat" ,expat) ;needed for headers and linking
4223 ("hubbub" ,hubbub))) ;for libdom.pc
4225 `(#:tests? #f ;TODO: re-enable. tests take a looong time.
4226 ,@netsurf-buildsystem-arguments))
4227 (home-page "http://www.netsurf-browser.org/projects/libdom/")
4228 (synopsis "Implementation of the W3C DOM")
4230 "LibDOM is an implementation of the W3C DOM, written in C. It is
4231 developed as part of the NetSurf project.")
4234 (define-public libsvgtiny
4241 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4242 name "-" version "-src.tar.gz"))
4245 "0w5hab9x1saz4lq2s9w47x1r64fbzcsl5bvdjph9c9dq68qv3f8a"))))
4246 (build-system gnu-build-system)
4248 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4249 ("pkg-config" ,pkg-config)
4250 ("gperf" ,gperf-3.0)))
4252 `(("libwapcaplet" ,libwapcaplet)))
4254 `(("libdom" ,libdom))) ;for libsvgtiny.pc
4255 (arguments netsurf-buildsystem-arguments)
4256 (home-page "http://www.netsurf-browser.org/projects/libsvgtiny/")
4257 (synopsis "Library for parsing SVG files")
4259 "Libsvgtiny takes some SVG as input and returns a list of paths and texts
4260 which can be rendered easily, as defined in
4261 @url{http://www.w3.org/TR/SVGMobile/}. It is developed as part of the NetSurf
4265 (define-public libnsbmp
4272 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4273 name "-" version "-src.tar.gz"))
4276 "0y4a0gn4l6lq4z9183wix0mdsgalqyw24k19k8jr8sz4h3lb7jrb"))))
4277 (build-system gnu-build-system)
4279 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4280 (arguments netsurf-buildsystem-arguments)
4281 (home-page "http://www.netsurf-browser.org/projects/libnsbmp/")
4282 (synopsis "Decoding library for BMP and ICO files")
4284 "Libnsbmp is a decoding library for BMP and ICO image file formats,
4285 written in C. It is developed as part of the NetSurf project.")
4288 (define-public libnsgif
4295 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4296 name "-" version "-src.tar.gz"))
4299 "1ldsyscsgqwc8g5481h9nqmwirpp1pp57hmss450hr0mqra26g0k"))))
4300 (build-system gnu-build-system)
4302 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4303 (arguments netsurf-buildsystem-arguments)
4304 (home-page "http://www.netsurf-browser.org/projects/libnsgif/")
4305 (synopsis "Decoding library for GIF files")
4307 "Libnsgif is a decoding library for the GIF image file format, written in
4308 C. It is developed as part of the NetSurf project.")
4311 (define-public libnsutils
4318 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4319 name "-" version "-src.tar.gz"))
4322 "0wrxn4rcn7xrfnkmf60jafqn3n1kicgsdpnakd821q56bmqvzf0m"))))
4323 (build-system gnu-build-system)
4325 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4326 (arguments netsurf-buildsystem-arguments)
4327 (home-page "http://www.netsurf-browser.org/")
4328 (synopsis "Utility library for NetSurf")
4330 "Libnsutils provides a small number of useful utility routines. It is
4331 developed as part of the NetSurf project.")
4334 (define-public libnspsl
4341 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4342 name "-" version "-src.tar.gz"))
4345 "0x3frscrp9bzxlm9ama5laxjr3zi8cg20r8lhsamw4x4zyyk145y"))))
4346 (build-system gnu-build-system)
4348 `(("netsurf-buildsystem" ,netsurf-buildsystem)))
4349 (arguments netsurf-buildsystem-arguments)
4350 (home-page "http://www.netsurf-browser.org/")
4351 (synopsis "Library to generate a static Public Suffix List")
4353 "Libnspsl is a library to generate a static code representation of the
4354 Public Suffix List. It is developed as part of the NetSurf project.")
4357 (define-public nsgenbind
4364 (uri (string-append "http://download.netsurf-browser.org/libs/releases/"
4365 name "-" version "-src.tar.gz"))
4368 "078gpbfcs96bgcba0ygha0ph9jzqr6ry5s3a8p6sl61px2908s66"))))
4369 (build-system gnu-build-system)
4371 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4375 (substitute-keyword-arguments netsurf-buildsystem-arguments
4376 ((#:make-flags flags)
4377 `(delete "COMPONENT_TYPE=lib-shared" ,flags))))
4378 (home-page "http://www.netsurf-browser.org/")
4379 (synopsis "Generate JavaScript to DOM bindings")
4381 "@code{nsgenbind} is a tool to generate JavaScript to DOM bindings from
4382 w3c webidl files and a binding configuration file.")
4385 (define-public netsurf
4392 (uri (string-append "http://download.netsurf-browser.org/netsurf/"
4393 "releases/source/netsurf-" version "-src.tar.gz"))
4396 "174sjx0566agckwmlj4w2cip5qbxdiafyhlp185a1qprxx84pbjr"))
4397 (patches (search-patches "netsurf-system-utf8proc.patch"
4398 "netsurf-y2038-tests.patch"
4399 "netsurf-longer-test-timeout.patch"))))
4400 (build-system glib-or-gtk-build-system)
4402 `(("netsurf-buildsystem" ,netsurf-buildsystem)
4403 ("nsgenbind" ,nsgenbind)
4404 ("libidn" ,libidn) ;only for tests
4407 ("perl-html-parser" ,perl-html-parser)
4408 ("pkg-config" ,pkg-config)))
4412 ("openssl" ,openssl)
4413 ("utf8proc" ,utf8proc)
4415 ("libjpeg" ,libjpeg)
4418 ("libnsbmp" ,libnsbmp)
4419 ("libnsgif" ,libnsgif)
4420 ("libnspsl" ,libnspsl)
4421 ("libnsutils" ,libnsutils)
4422 ("libsvgtiny" ,libsvgtiny)
4423 ("miscfiles" ,miscfiles)))
4425 `(#:make-flags `("CC=gcc" "BUILD_CC=gcc"
4426 ,(string-append "PREFIX=" %output)
4427 ,(string-append "NSSHARED="
4428 (assoc-ref %build-inputs
4429 "netsurf-buildsystem")
4430 "/share/netsurf-buildsystem"))
4431 #:test-target "test"
4432 #:modules ((ice-9 rdelim)
4436 ,@%glib-or-gtk-build-system-modules)
4438 (modify-phases %standard-phases
4440 (add-after 'build 'adjust-welcome
4442 ;; First, fix some unended tags and simple substitutions
4443 (substitute* "frontends/gtk/res/welcome.html"
4444 (("<(img|input)([^>]*)>" _ tag contents)
4445 (string-append "<" tag contents " />"))
4446 (("Licence") "License") ;prefer GNU spelling
4447 ((" open source") ", free software")
4448 (("web site") "website")
4449 ;; Prefer privacy-respecting default search engine
4450 (("www.google.co.uk") "www.duckduckgo.com/html")
4451 (("Google Search") "DuckDuckGo Search")
4452 (("name=\"btnG\"") ""))
4453 ;; Remove default links so it doesn't seem we're endorsing them
4454 (with-atomic-file-replacement "frontends/gtk/res/welcome.html"
4456 ;; Leave the DOCTYPE header as is
4457 (display (read-line in 'concat) out)
4459 (let rec ((sxml (xml->sxml in)))
4460 ;; We'd like to use sxml-match here, but it can't
4461 ;; match against generic tag symbols...
4463 (`(div (@ (class "links")) . ,rest)
4470 (add-before 'check 'patch-check
4471 (lambda* (#:key inputs #:allow-other-keys)
4472 (substitute* '("test/bloom.c" "test/hashtable.c")
4473 (("/usr/share/dict/words")
4474 (string-append (assoc-ref inputs "miscfiles") "/share/web2")))
4476 (add-after 'install 'install-more
4477 (lambda* (#:key outputs #:allow-other-keys)
4478 (let* ((out (assoc-ref outputs "out"))
4479 (desktop (string-append out "/share/applications/"
4480 "netsurf.desktop")))
4481 (mkdir-p (dirname desktop))
4482 (copy-file "frontends/gtk/res/netsurf-gtk.desktop"
4484 (substitute* desktop
4485 (("netsurf-gtk") (string-append out "/bin/netsurf"))
4486 (("netsurf.png") (string-append out "/share/netsurf/"
4488 (install-file "Docs/netsurf-gtk.1"
4489 (string-append out "/share/man/man1/"))
4491 (home-page "http://www.netsurf-browser.org")
4492 (synopsis "Web browser")
4494 "NetSurf is a lightweight web browser that has its own layout and
4495 rendering engine entirely written from scratch. It is small and capable of
4496 handling many of the web standards in use today.")
4499 (define-public surfraw
4505 (uri (string-append "https://surfraw.alioth.debian.org/dist/"
4506 name "-" version ".tar.gz"))
4509 "1fy4ph5h9kp0jzj1m6pfylxnnmgdk0mmdppw76z9jhna4jndk5xa"))))
4510 (build-system gnu-build-system)
4513 (modify-phases %standard-phases
4514 (add-after 'install 'compress-elvi.1sr
4515 (lambda* (#:key outputs #:allow-other-keys)
4516 ;; The manpages of the elvis are symlinks to elvi.1sr.gz
4517 ;; but elvi.1sr does not get compressed by our manpage phase.
4518 (let* ((out (assoc-ref %outputs "out"))
4519 (man (string-append out "/share/man/man1")))
4520 (with-directory-excursion man
4521 (zero? (system* "gzip" "elvi.1sr")))))))))
4524 ("perl-www-opensearch" ,perl-www-opensearch)
4525 ("perl-html-parser" ,perl-html-parser)
4526 ("perl-libwww" ,perl-libwww)))
4527 (synopsis "Unix command line interface to the www")
4528 (description "Surfraw (Shell Users' Revolutionary Front Rage Against the Web)
4529 provides a unix command line interface to a variety of popular www search engines
4530 and similar services.")
4531 (home-page "https://surfraw.alioth.debian.org/")
4532 (license l:public-domain)))
4534 (define-public darkhttpd
4541 (uri (string-append "https://unix4lyfe.org/darkhttpd/darkhttpd-"
4542 version ".tar.bz2"))
4545 "0185wlyx4iqiwfigp1zvql14zw7gxfacncii3d15yaxk4av1f155"))))
4546 (build-system gnu-build-system)
4548 `(#:make-flags '("CC=gcc")
4549 #:tests? #f ; No test suite
4551 (modify-phases %standard-phases
4554 (lambda* (#:key outputs #:allow-other-keys)
4555 (install-file "darkhttpd"
4556 (string-append (assoc-ref outputs "out")
4559 (synopsis "Simple static web server")
4560 (description "darkhttpd is a simple static web server. It is
4561 standalone and does not need inetd or ucspi-tcp. It does not need any
4562 config files---you only have to specify the www root.")
4563 (home-page "https://unix4lyfe.org/darkhttpd/")
4566 (define-public goaccess
4572 (uri (string-append "http://tar.goaccess.io/goaccess-"
4576 "1w84y61f3ldg2f28q6qlyr1scn3mcx0bsbq3i5xi5w193wh3xa2q"))
4577 (modules '((guix build utils)))
4579 '(substitute* "src/error.h"
4580 (("__DATE__") "\"1970-01-01\"")
4581 (("__TIME__") "\"00:00:00\"")))))
4582 (build-system gnu-build-system)
4584 ;; TODO: Add dependency on geoip-tools.
4586 ("ncurses" ,ncurses)))
4588 `(("pkg-config" ,pkg-config)))
4589 (home-page "https://goaccess.io")
4590 (synopsis "Analyze Web server logs in real time")
4592 "GoAccess is a real-time web log analyzer and interactive viewer that
4593 runs in a terminal or through your browser. It provides fast and valuable
4594 HTTP statistics for system administrators that require a visual server report
4598 (define-public httptunnel
4605 (uri (string-append "http://www.nocrew.org/software/httptunnel/"
4606 name "-" version ".tar.gz"))
4609 "0mn5s6p68n32xzadz6ds5i6bp44dyxzkq68r1yljlv470jr84bql"))
4610 (modules '((guix build utils)))
4612 ;; Remove non-free IETF RFC documentation.
4613 '(delete-file-recursively "doc"))))
4614 (build-system gnu-build-system)
4617 (modify-phases %standard-phases
4618 ;; The default configure phase tries to pass environment variables as
4619 ;; command-line arguments, which confuses the ./configure script.
4621 (lambda* (#:key outputs #:allow-other-keys)
4622 (let* ((out (assoc-ref outputs "out")))
4623 (setenv "CONFIG_SHELL" (which "bash"))
4624 (zero? (system* "./configure"
4625 (string-append "--prefix=" out)))))))))
4626 (home-page "http://www.nocrew.org/software/httptunnel.html")
4627 (synopsis "Tunnel data connections through HTTP requests")
4628 (description "httptunnel creates a bidirectional virtual data connection
4629 tunnelled through HTTP (HyperText Transfer Protocol) requests. This can be
4630 useful for users behind restrictive firewalls. As long as Web traffic is
4631 allowed, even through a HTTP-only proxy, httptunnel can be combined with other
4632 tools like SSH (Secure Shell) to reach the outside world.")
4635 (define-public stunnel
4642 (uri (string-append "https://www.stunnel.org/downloads/stunnel-"
4646 "1vjdn32iw11zqsygwxbjmqgs4644dk3ql1h8ap890ls6a1x0i318"))))
4647 (build-system gnu-build-system)
4648 (inputs `(("openssl" ,openssl)))
4651 (list (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")))))
4652 (home-page "https://www.stunnel.org")
4653 (synopsis "TLS proxy for clients or servers")
4654 (description "Stunnel is a proxy designed to add TLS encryption
4655 functionality to existing clients and servers without any changes in the
4656 programs' code. Its architecture is optimized for security, portability, and
4657 scalability (including load-balancing), making it suitable for large
4661 (define-public xinetd
4668 (uri "https://github.com/xinetd-org/xinetd/archive/xinetd-2-3-15.tar.gz")
4669 (patches (search-patches "xinetd-CVE-2013-4342.patch" "xinetd-fix-fd-leak.patch"))
4672 "0k59x52cbzp5fw0n8zn0y54j1ps0x9b72y8k5grzswjdmgs2a2v2"))))
4673 (build-system gnu-build-system)
4675 `(#:configure-flags '("--with-loadavg")
4676 #:tests? #f )) ; no tests
4677 (home-page "https://github.com/xinetd-org/xinetd")
4678 (synopsis "Internet services daemon")
4679 (description "@code{xinetd}, a more secure replacement for @code{inetd},
4680 listens for incoming requests over a network and launches the appropriate
4681 service for that request. Requests are made using port numbers as identifiers
4682 and xinetd usually launches another daemon to handle the request. It can be
4683 used to start services with both privileged and non-privileged port numbers.")
4684 (license (l:fsf-free "file://COPYRIGHT"))))
4686 (define-public tidy-html
4693 (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
4695 (file-name (string-append name "-" version ".tar.gz"))
4698 "0yhbgbjl45b4sjxwc394cjra6iy02q1pi66p28zy70lr6jvm9mx2"))))
4699 (build-system cmake-build-system)
4701 "static")) ; 1.0MiB of .a files
4703 `(#:tests? #f ; No tests available
4704 #:configure-flags (list "-DCMAKE_BUILD_TYPE=Release")
4706 (modify-phases %standard-phases
4707 (add-after 'install 'move-static-libraries
4708 (lambda* (#:key outputs #:allow-other-keys)
4709 ;; Move static libraries to the "static" output.
4710 (let* ((out (assoc-ref outputs "out"))
4711 (lib (string-append out "/lib"))
4712 (static (assoc-ref outputs "static"))
4713 (slib (string-append static "/lib")))
4715 (for-each (lambda (file)
4716 (install-file file slib)
4718 (find-files lib "\\.a$"))
4721 `(("libxslt" ,libxslt)))
4722 (home-page "http://www.html-tidy.org/")
4723 (synopsis "HTML Tidy with HTML5 support")
4725 "Tidy is a console application which corrects and cleans up
4726 HTML and XML documents by fixing markup errors and upgrading
4727 legacy code to modern standards.
4729 Tidy also provides @code{libtidy}, a C static and dynamic library that
4730 developers can integrate into their applications to make use of the
4731 functions of Tidy.")
4734 (define-public hiawatha
4741 (uri (string-append "https://www.hiawatha-webserver.org/files/"
4742 "hiawatha-" version ".tar.gz"))
4743 (modules '((guix build utils)))
4745 ;; We use our packaged mbedtls, so delete the included copy.
4746 '(delete-file-recursively "mbedtls"))
4749 "0m2llzm72s29c32abnj03532m85fawvi8ybjpx6s3mgvx2yvq3p4"))))
4750 (build-system cmake-build-system)
4752 `(#:tests? #f ; No tests included
4753 #:configure-flags (list (string-append "-DUSE_SYSTEM_MBEDTLS=on")
4754 (string-append "-DENABLE_TOMAHAWK=on")
4755 (string-append "-DWEBROOT_DIR="
4756 (assoc-ref %outputs "out")
4757 "/share/hiawatha/html"))
4759 (modify-phases %standard-phases
4760 (add-after 'install 'remove-empty-dirs
4761 (lambda* (#:key outputs #:allow-other-keys)
4762 (let* ((out (assoc-ref outputs "out")))
4763 ;; The directories in "var" are empty, remove them.
4764 (delete-file-recursively (string-append out "/var"))
4766 (add-after 'install 'wrap
4767 (lambda* (#:key inputs outputs #:allow-other-keys)
4768 ;; Make sure 'hiawatha' finds 'mbedtls'.
4769 (let* ((out (assoc-ref outputs "out"))
4770 (sbin (string-append out "/sbin"))
4771 (mbed (assoc-ref inputs "mbedtls-apache")))
4772 (wrap-program (string-append sbin "/hiawatha")
4773 `("PATH" ":" prefix (,mbed)))))))))
4775 ;; TODO: package "hiawatha-monitor", an optional dependency of "hiawatha"
4776 `(("mbedtls-apache" ,mbedtls-apache) ;Hiawatha includes this version.
4778 ("libxslt" ,libxslt)
4779 ("libxml2" ,libxml2)))
4780 (home-page "https://www.hiawatha-webserver.org")
4781 (synopsis "Webserver with focus on security")
4783 "Hiawatha has been written with security in mind.
4784 Features include the ability to stop SQL injections, XSS and CSRF attacks and
4788 (define-public python-httpbin
4790 (name "python-httpbin")
4795 (uri (pypi-uri "httpbin" version))
4798 "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
4799 (build-system python-build-system)
4801 `(("python-decorator" ,python-decorator)
4802 ("python-flask" ,python-flask)
4803 ("python-itsdangerous" ,python-itsdangerous)
4804 ("python-markupsafe" ,python-markupsafe)
4805 ("python-six" ,python-six)))
4806 (home-page "https://github.com/Runscope/httpbin")
4807 (synopsis "HTTP request and response service")
4808 (description "Testing an HTTP Library can become difficult sometimes.
4809 @code{RequestBin} is fantastic for testing POST requests, but doesn't let you control the
4810 response. This exists to cover all kinds of HTTP scenarios. All endpoint responses are
4814 (define-public python2-httpbin
4815 (package-with-python2 python-httpbin))
4817 (define-public python-pytest-httpbin
4819 (name "python-pytest-httpbin")
4824 (uri (pypi-uri "pytest-httpbin" version))
4827 "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"))))
4828 (build-system python-build-system)
4830 `(("python-six" ,python-six)
4831 ("python-httpbin" ,python-httpbin)
4832 ("python-pytest" ,python-pytest)))
4834 "https://github.com/kevin1024/pytest-httpbin")
4836 "Test your HTTP library against a local copy of httpbin")
4838 "@code{Pytest-httpbin} creates a @code{pytest} fixture that is dependency-injected
4839 into your tests. It automatically starts up a HTTP server in a separate thread running
4840 @code{httpbin} and provides your test with the URL in the fixture.")
4843 (define-public python2-pytest-httpbin
4844 (package-with-python2 python-pytest-httpbin))
4846 (define-public http-parser
4848 (name "http-parser")
4852 (uri (string-append "https://github.com/nodejs/http-parser/"
4853 "archive/v" version ".tar.gz"))
4854 (file-name (string-append name "-" version ".tar.gz"))
4857 "1cw6nf8xy4jhib1w0jd2y0gpqjbdasg8b7pkl2k2vpp54k9rlh3h"))))
4858 (build-system gnu-build-system)
4860 `(#:test-target "test"
4862 (list (string-append "PREFIX="
4863 (assoc-ref %outputs "out"))
4866 (modify-phases %standard-phases
4867 (delete 'configure))))
4868 (home-page "https://github.com/nodejs/http-parser")
4869 (synopsis "HTTP request/response parser for C")
4870 (description "This is a parser for HTTP messages written in C. It parses
4871 both requests and responses. The parser is designed to be used in
4872 high-performance HTTP applications. It does not make any syscalls nor
4873 allocations, it does not buffer data, it can be interrupted at anytime.
4874 Depending on your architecture, it only requires about 40 bytes of data per
4875 message stream (in a web server that is per connection).")
4878 (define-public python2-httpretty
4880 (name "python2-httpretty")
4885 (uri (pypi-uri "httpretty" version))
4888 "0vlp5qkyw3pxwwsg7xmdcfh1csvypvaz4m6abida8s4xmjxpdhc3"))))
4889 (build-system python-build-system)
4891 `(("python-sphinx-rtd-theme" ,python2-sphinx-rtd-theme)
4892 ("python-sphinx" ,python2-sphinx)
4893 ("python-coverage" ,python2-coverage)
4894 ("python-tornado" ,python2-tornado)
4895 ("python-urllib3" ,python2-urllib3)
4896 ("python-sure" ,python2-sure)
4897 ("python-steadymark" ,python2-steadymark)
4898 ("python-requests" ,python2-requests)
4899 ("python-rednose" ,python2-rednose)
4900 ("python-nose-randomly" ,python2-nose-randomly)
4901 ("python-misaka" ,python2-misaka)
4902 ("python-pytest-httpbin" ,python2-pytest-httpbin)
4903 ("python-nose" ,python2-nose)))
4906 ;; Requires mock>=1.3.0 which requires a more up-to-date
4907 ;; python-pbr. After updating these trying to build the
4908 ;; package leads to failures in python-flake8 and other
4909 ;; packages. The cascade of updates and failures this
4910 ;; leads to, seems to not be worth having the test run.
4913 (modify-phases %standard-phases
4914 (add-before 'build 'patch-test-requirements
4915 (lambda* (#:key inputs #:allow-other-keys)
4916 ;; Update requirements from dependecy==version
4917 ;; to dependency>=version
4918 (substitute* "development.txt"
4921 (home-page "http://github.com/gabrielfalcao/httpretty")
4922 (synopsis "HTTP client mock for Python")
4923 (description "@code{httpretty} is a helper for faking web requests,
4924 inspired by Ruby's @code{fakeweb}.")
4934 (uri (string-append "https://github.com/jpmens/jo/releases/download/v"
4935 version "/jo-" version ".tar.gz"))
4938 "0pysickpxrbl53c122h6swvz8sck68q3j0ql38wvbz70q9k4gvb3"))))
4939 (build-system gnu-build-system)
4940 (home-page "https://github.com/jpmens/jo")
4941 (synopsis "Output JSON from a shell")
4942 (description "jo is a command-line utility to create JSON objects or
4943 arrays. It creates a JSON string on stdout from words provided as
4944 command-line arguments or read from stdin.")
4945 (license (list l:gpl2+
4946 l:expat)))) ; json.c, json.h
4948 (define-public python-internetarchive
4950 (name "python-internetarchive")
4955 (uri (string-append "https://github.com/jjjake/internetarchive/archive/"
4956 "v" version ".tar.gz"))
4957 (file-name (string-append name "-" version ".tar.gz"))
4960 "1lj4r0y67mwjns2gcjvw0y7m5x0vqir2iv7s4q2y93492azli1qh"))))
4961 (build-system python-build-system)
4963 `(#:tests? #f ; 11 tests of 105 fail to mock "requests".
4965 (modify-phases %standard-phases
4967 (add-after 'install 'check
4968 (lambda* (#:key inputs outputs target (tests? (not target)) #:allow-other-keys)
4971 (add-installed-pythonpath inputs outputs)
4972 (setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
4973 ":" (getenv "PATH")))
4974 (zero? (system* "py.test")))
4976 (format #t "test suite not run~%")
4979 `(("python-requests" ,python-requests)
4980 ("python-jsonpatch" ,python-jsonpatch-0.4)
4981 ("python-docopt" ,python-docopt)
4982 ("python-clint" ,python-clint)
4983 ("python-six" ,python-six)
4984 ("python-schema" ,python-schema-0.5)
4985 ("python-backports-csv" ,python-backports-csv)))
4987 `(("python-pytest-3.0" ,python-pytest-3.0)
4988 ("python-pytest-capturelog" ,python-pytest-capturelog)
4989 ("python-responses" ,python-responses)))
4990 (home-page "https://github.com/jjjake/internetarchive")
4991 (synopsis "Command-line interface to archive.org")
4992 (description "@code{ia} is a command-line tool for using
4993 @url{archive.org} from the command-line. It also emplements the
4994 internetarchive python module for programatic access to archive.org.")
4996 `((python2-variant . ,(delay python2-internetarchive))))
4997 (license l:agpl3+)))
4999 (define-public python2-internetarchive
5000 (package-with-python2
5001 (strip-python2-variant python-internetarchive)))
5003 (define-public r-shiny
5010 (uri (string-append "https://github.com/rstudio/shiny/"
5011 "archive/v" version ".tar.gz"))
5012 (file-name (string-append name "-" version ".tar.gz"))
5015 "0z2v2s4hd44mvzjn7r70549kdzkrrch9nxhp27r6x2cy6micizm3"))))
5016 (build-system r-build-system)
5018 `(#:modules ((guix build r-build-system)
5019 (guix build minify-build-system)
5022 #:imported-modules (,@%r-build-system-modules
5023 (guix build minify-build-system))
5025 (modify-phases (@ (guix build r-build-system) %standard-phases)
5026 (add-after 'unpack 'replace-bundled-minified-JavaScript
5027 (lambda* (#:key inputs #:allow-other-keys)
5028 (let ((replace-file (lambda (old new)
5029 (format #t "replacing ~a with ~a\n" old new)
5031 (symlink new old))))
5032 ;; NOTE: Files in ./inst/www/shared/datepicker/js/locales/
5033 ;; contain just data. They are not minified code, so we don't
5035 (with-directory-excursion "inst/www/shared"
5036 (replace-file "bootstrap/shim/respond.min.js"
5037 (string-append (assoc-ref inputs "js-respond")
5038 "/share/javascript/respond.min.js"))
5039 (replace-file "bootstrap/shim/html5shiv.min.js"
5040 (string-append (assoc-ref inputs "js-html5shiv")
5041 "/share/javascript/html5shiv.min.js"))
5042 (replace-file "json2-min.js"
5043 (string-append (assoc-ref inputs "js-json2")
5044 "/share/javascript/json2.min.js"))
5045 (replace-file "strftime/strftime-min.js"
5046 (string-append (assoc-ref inputs "js-strftime")
5047 "/share/javascript/strftime.min.js"))
5048 (replace-file "highlight/highlight.pack.js"
5049 (string-append (assoc-ref inputs "js-highlight")
5050 "/share/javascript/highlight.min.js"))
5051 (replace-file "datatables/js/jquery.dataTables.min.js"
5052 (string-append (assoc-ref inputs "js-datatables")
5053 "/share/javascript/jquery.dataTables.min.js"))
5054 (replace-file "selectize/js/selectize.min.js"
5055 (string-append (assoc-ref inputs "js-selectize")
5056 "/share/javascript/selectize.min.js"))
5057 (replace-file "selectize/js/es5-shim.min.js"
5058 (string-append (assoc-ref inputs "js-es5-shim")
5059 "/share/javascript/es5-shim.min.js"))
5060 (for-each (match-lambda
5062 (delete-file target)
5063 (minify source #:target target)))
5064 '(("jqueryui/jquery-ui.js" .
5065 "jqueryui/jquery-ui.min.js")
5066 ("showdown/src/showdown.js" .
5067 "showdown/compressed/showdown.js")
5068 ("datepicker/js/bootstrap-datepicker.js" .
5069 "datepicker/js/bootstrap-datepicker.min.js")
5070 ("ionrangeslider/js/ion.rangeSlider.js" .
5071 "ionrangeslider/js/ion.rangeSlider.min.js")
5072 ("bootstrap/js/bootstrap.js" .
5073 "bootstrap/js/bootstrap.min.js")
5077 "jquery.min.js")))))
5080 `(("r-httpuv" ,r-httpuv)
5082 ("r-jsonlite" ,r-jsonlite)
5083 ("r-xtable" ,r-xtable)
5084 ("r-digest" ,r-digest)
5085 ("r-htmltools" ,r-htmltools)
5087 ("r-sourcetools" ,r-sourcetools)))
5089 `(("js-datatables" ,js-datatables)
5090 ("js-html5shiv" ,js-html5shiv)
5091 ("js-json2" ,js-json2)
5092 ("js-respond" ,js-respond)
5093 ("js-selectize" ,js-selectize)
5094 ("js-strftime" ,js-strftime)
5095 ("js-highlight" ,js-highlight)
5096 ("js-es5-shim" ,js-es5-shim)))
5097 (home-page "http://shiny.rstudio.com")
5098 (synopsis "Easy interactive web applications with R")
5100 "Makes it incredibly easy to build interactive web applications
5101 with R. Automatic \"reactive\" binding between inputs and outputs and
5102 extensive prebuilt widgets make it possible to build beautiful,
5103 responsive, and powerful applications with minimal effort.")
5104 (license l:artistic2.0)))
5106 (define-public r-crosstalk
5108 (name "r-crosstalk")
5113 (uri (cran-uri "crosstalk" version))
5116 "0lfa89vhrzi7a1rghmygcjr8gzddw35sinb3jx6g49mc9jias7mk"))))
5117 (build-system r-build-system)
5119 `(("r-ggplot2" ,r-ggplot2)
5120 ("r-htmltools" ,r-htmltools)
5121 ("r-jsonlite" ,r-jsonlite)
5122 ("r-lazyeval" ,r-lazyeval)
5124 ("r-shiny" ,r-shiny)))
5125 (home-page "https://rstudio.github.io/crosstalk/")
5126 (synopsis "Inter-widget interactivity for HTML widgets")
5128 "This package provides building blocks for allowing HTML widgets to
5129 communicate with each other, with Shiny or without (i.e. static @code{.html}
5130 files). It currently supports linked brushing and filtering.")
5133 (define-public r-rook
5140 (uri (cran-uri "Rook" version))
5143 "00s9a0kr9rwxvlq433daxjk4ji8m0w60hjdprf502msw9kxfrx00"))))
5144 (properties `((upstream-name . "Rook")))
5145 (build-system r-build-system)
5146 (propagated-inputs `(("r-brew" ,r-brew)))
5147 (home-page "http://cran.r-project.org/web/packages/Rook")
5148 (synopsis "Web server interface for R")
5150 "This package contains the Rook specification and convenience software
5151 for building and running Rook applications. A Rook application is an R
5152 reference class object that implements a @code{call} method or an R closure
5153 that takes exactly one argument, an environment, and returns a list with three
5154 named elements: the @code{status}, the @code{headers}, and the @code{body}.")
5157 (define-public rss-bridge
5160 (version "2017-08-03")
5164 (uri (string-append "https://github.com/RSS-Bridge/rss-bridge/archive/"
5166 (file-name (string-append name "-" version ".tar.gz"))
5169 "05s16y552hbyj91s7bnlkx1bi64s6aw0fjy29az8via3i3b21yhl"))))
5170 (build-system trivial-build-system)
5175 '(#:modules ((guix build utils))
5178 (use-modules (guix build utils)
5180 (let* ((out (assoc-ref %outputs "out"))
5181 (share-rss-bridge (string-append out "/share/rss-bridge")))
5182 (set-path-environment-variable
5183 "PATH" '("bin") (map (match-lambda ((_ . input) input))
5185 (mkdir-p share-rss-bridge)
5186 (system* "tar" "xvf" (assoc-ref %build-inputs "source")
5187 "--strip-components" "1" "-C" share-rss-bridge)
5189 (home-page "https://github.com/RSS-Bridge/rss-bridge")
5190 (synopsis "Generate Atom feeds for social networking websites")
5191 (description "rss-bridge generates Atom feeds for social networking
5192 websites lacking feeds. Supported websites include Facebook, Twitter,
5193 Instagram and YouTube.")
5194 (license (list l:public-domain
5195 l:expat)))) ;; vendor/simplehtmldom/simple_html_dom.php
5197 (define-public linkchecker
5199 (name "linkchecker")
5204 (uri (pypi-uri "LinkChecker" version))
5207 "0v8pavf0bx33xnz1kwflv0r7lxxwj7vg3syxhy2wzza0wh6sc2pf"))))
5208 (build-system python-build-system)
5210 `(("python2-requests" ,python2-requests)))
5212 `(#:python ,python-2
5214 (modify-phases %standard-phases
5215 ;; Remove faulty python-requests version check. This has been fixed
5216 ;; upstream, and can be removed in version 9.4.
5217 (add-after 'unpack 'remove-python-requests-version
5219 (substitute* "linkcheck/__init__.py"
5220 (("requests.__version__ <= '2.2.0'") "False"))
5222 (home-page "https://linkcheck.github.io/linkchecker")
5223 (synopsis "Check websites for broken links")
5224 (description "LinkChecker is a website validator. It checks for broken
5225 links in websites. It is recursive and multithreaded providing output in
5226 colored or normal text, HTML, SQL, CSV, XML or as a sitemap graph. It
5227 supports checking HTTP/1.1, HTTPS, FTP, mailto, news, nntp, telnet and local
5229 (license (list l:gpl2+
5230 l:bsd-2 ; linkcheck/better_exchook2.py
5231 l:bsd-3 ; linkcheck/colorama.py
5232 l:psfl ; linkcheck/gzip2.py
5233 l:expat ; linkcheck/mem.py
5234 ;; FIXME: Unbundle dnspython and miniboa
5235 ;; This issue has been raised upstream
5236 ;; https://github.com/wummel/linkchecker/issues/729
5237 l:isc ; third_party/dnspython
5238 l:asl2.0)))) ; third_party/miniboa